Commit graph

10766 commits

Author SHA1 Message Date
Dan Stillman
8fe33dc91c Fix loading of compressed global schema from DB on downgrade 2019-12-21 05:09:01 -05:00
Dan Stillman
f5d544bc15 Generate label if type/field name isn't available in global schema
E.g., show "Foo Bar" for field fooBar if not available

This could happen after downgrading if the global schema couldn't be
read from the DB for some reason.
2019-12-21 05:09:01 -05:00
Dan Stillman
fda5df9a82 Fix display of editors in Creator column in new databases
Regression in 5.0.78
2019-12-21 05:09:01 -05:00
Dan Stillman
85a3f03002 Fix display of pre-1000 dates in Year column and Quick Format
And avoid "0000" in Year column if date value but unparsed year
2019-12-19 03:23:51 -05:00
Dan Stillman
b7dc0d8b0a Fix parsing of pre-1000 years
If a leading zero (e.g., '068'), parse as actual year instead of
19xx/20xx.
2019-12-19 02:15:36 -05:00
Dan Stillman
360f034b51 Fix a report of broken autocomplete
I can't reproduce this, but the report has "Services is not defined"
from autocomplete.xml, triggered by zotero-autocomplete.js.

https://forums.zotero.org/discussion/comment/345190/#Comment_345190
2019-12-19 01:41:10 -05:00
Dan Stillman
6963016c91 Fixes #1761, Repeating of autocompleted tags
Regression in 5.0.78
2019-12-19 01:36:20 -05:00
Dan Stillman
df40ee7216 Adjust URL launching behavior
- Support launching plausible HTTP URLs without schemes from
  Zotero.loadURI(), and use that when launching from URL field
- Show correct cursor feedback on URL label -- only show pointer if the
  URL is launchable
- Don't launch non-HTTP URLs (e.g., zotero://) from URL field
- Don't open HTTP URLs in viewer when using ZoteroPane.launchURI()
2019-12-16 14:56:06 -05:00
Dan Stillman
537aa15842 Fix "Report Errors…" button in Utilities.Internal.errorPrompt() prompt
E.g., the button in an unknown WebDAV error dialog
2019-12-16 14:56:06 -05:00
Adomas Venčkauskas
88c4cd1a09 Doc integration: fix a rtf wrapper being added to html output 2019-12-11 10:44:24 +02:00
Dan Stillman
d2e14cfff4 Fix autocomplete in Advanced Search
Since 5.0.78
2019-12-10 23:34:16 -07:00
Dan Stillman
d2b3ca0cca Remove ellipsis from "RTF Scan" menu item
For consistency with new separate "ODF Scan" menu item from plugin
2019-12-10 14:25:17 -07:00
Dan Stillman
bbbd02444b Restore 'yesterday'/'today'/'tomorrow' parsing for dates in searches
Follow-up to a549a64de9, which removed it from strToDate()
2019-12-06 03:12:48 -07:00
Dan Stillman
c67e29adc7 Fx60: Fix text links in About pane and preferences 2019-12-05 17:58:47 -07:00
Dan Stillman
6b7b57da3c Remove accidentally committed files from 4077428b4 2019-12-04 02:56:42 -07:00
Dan Stillman
87c3ef6aca Fx60: Fix CSL 0.8 style import 2019-12-04 01:27:12 -07:00
Dan Stillman
504063379a Update version 2019-12-03 20:02:28 -07:00
Dan Stillman
22a1b5b2ac Update locales from Transifex 2019-12-03 20:01:00 -07:00
Dan Stillman
53ff8eecd2 Limit autocomplete to 25 results
I'm not totally sure why we didn't do this years ago, but this fixes
performances problems in the new React tags box, and should improve
autocomplete performance generally in large libraries.
2019-12-03 16:05:04 -07:00
Dan Stillman
381c5fc8d8 Adjust spacing of libraries-to-sync checkmark on Linux
Follow-up to 6af5732fca
2019-12-03 15:55:41 -07:00
Dan Stillman
6af5732fca Fix checkmark in libraries-to-sync window on Windows
And switch to Unicode green checkmark and red prohibited characters on
all platforms, which fixes #1675.

The treecol checkmark stopped working on Windows in Fx60.
2019-12-03 15:33:31 -07:00
Dan Stillman
75076cf875 Update version 2019-12-03 14:07:21 -07:00
Dan Stillman
f7d895ab52 Fix database after direct upgrade from Zotero 4 to 5.0.78-79 2019-12-03 14:03:22 -07:00
Dan Stillman
d9edf2965a Add IF EXISTS to DROP statements in schema update steps
https://forums.zotero.org/discussion/80291/zotero-standalone-wont-open-database-upgrade-error
2019-12-02 12:22:46 -07:00
Dan Stillman
4883104bd2 Update version 2019-12-02 04:43:30 -07:00
Dan Stillman
222870d3c7 Don't update item type menus within transaction when updating schema
This caused an error reported here, though I can't reproduce it:

https://forums.zotero.org/discussion/80287/zotero-database-upgrade-error
2019-12-02 04:39:19 -07:00
Dan Stillman
858de5e6f2 Update locales from Transifex 2019-12-01 19:00:15 -07:00
Dan Stillman
61cebbd8f7 Fix display of a couple WebDAV verification errors
"spec is undefined"

Fixes #1745
2019-12-01 03:39:54 -07:00
Dan Stillman
133b2b83d8 Update submodules 2019-12-01 01:51:55 -07:00
Dan Stillman
4077428b4e Update locales from Transifex 2019-12-01 01:42:53 -07:00
Dan Stillman
88b1e10b44 Update locales from Transifex 2019-11-30 01:56:54 -07:00
Dan Stillman
c6927643ab Update submodules 2019-11-30 01:17:11 -07:00
Dan Stillman
492d301cc9 Fix size of Add button in React tags box 2019-11-30 00:50:02 -07:00
Dan Stillman
76f1f9cae6 Use standard context menu in HTML input boxes
This fixes the context menu for text fields in the new React-based tags
box.
2019-11-30 00:43:42 -07:00
Dan Stillman
0fb9548326 Fix tags box context menu 2019-11-29 23:28:23 -07:00
Dan Stillman
fbb54a7621 Fix "string is undefined" export error
Regression from a549a64de9
2019-11-29 01:50:43 -07:00
Dan Stillman
4d7062fc43 Remove Zotero.Utilities.Internal.normalize()
It no longer works in Fx60, and String.prototype.normalize() has been
available since 2014, so that should just be used instead.
2019-11-26 23:18:17 -07:00
Dan Stillman
8c7677a009 Fix out-of-memory error syncing collections nested inside each other
It shouldn't be possible for collections to be nested this way, if it
happens, it shouldn't result in an infinite loop.

This removes one of the parent assignments at sync time.
2019-11-26 15:30:43 -07:00
Dan Stillman
47d8a54600 Fix invalid tab characters in abbreviations.json
Regression from 1389d8917

(I'm not sure why there are spaces in the middle of this entry, but this
reverts it to what it was before.)
2019-11-23 00:49:21 -07:00
Dan Stillman
8417ad7c80 Add extensions.zotero.reopenPanesOnRestart hidden pref
Closes #1752
2019-11-21 23:51:37 -07:00
Dan Stillman
bfe3f7ebf9 Update node-sass for Node 13 2019-11-21 22:38:41 -07:00
Dan Stillman
1389d89177 Pretty print abbreviations.json for easier editing and smaller diffs 2019-11-15 23:42:21 -05:00
Dan Stillman
98a0699f85 Properly disable React tags box in read-only mode 2019-11-15 04:06:21 -05:00
Dan Stillman
cc3f994207 Fix crash when clicking off an open tag to another item
Regression in React tags box
2019-11-13 05:33:16 -05:00
Dan Stillman
5ba5e70b9d Fix overflow issues in React tags box
- Properly truncate and ellipsize long tags
- Show scrollbar if tags go off the bottom of the pane

These both improve on the pre-React version, which didn't properly
truncate tags (at least in the current version, though I think it used
to) and scrolled the Add button off the top of the screen.
2019-11-13 05:31:12 -05:00
Dan Stillman
3e3e0b016d Move "Manage Attachments" to the Tools menu 2019-11-12 18:36:16 -05:00
Dan Stillman
a549a64de9 Remove 'yesterday'/'today'/'tomorrow' parsing from strToDate()
I don't think this ever should've been here. It was added in 2010 but
then added to itembox.xml a couple weeks later in d500b50e2, since
that's where the conversion should happen.

Closes #1749
2019-11-12 02:13:05 -05:00
Dan Stillman
24a3a38c51 Fix tags box editable font and alignment on Windows and Linux 2019-11-12 02:06:09 -05:00
Dan Stillman
b0eb048bce Fix New Item menu when tag pane is focused
Regression from 5791ffeb1
2019-11-12 01:37:57 -05:00
Dan Stillman
18d7e833c9 Fix open-in-library button in citation dialogs 2019-11-10 16:15:34 -05:00