Commit graph

10756 commits

Author SHA1 Message Date
Adomas Venčkauskas
39d7f22981 Fix some drag and drop issue in the citation dialog
See https://forums.zotero.org/discussion/81063/beta-rearranging-citations-in-quick-citation-window
2020-01-27 11:54:22 +02:00
Dan Stillman
8cac7f63f4 Update locales from Transifex, including new connector files 2020-01-26 03:29:23 -05:00
Dan Stillman
48741100a5 Don't try to pull retractions list from server at startup during tests
This causes problems with filtered test runs, since the request is
cancelled and the long response gets dumped to the console, making the
test result hard to find.
2020-01-26 03:29:23 -05:00
Dan Stillman
3de54455f6 Automatically save unknown/invalid fields to Extra in non-strict mode
This is a prerequisite for starting to use new fields in translators,
since otherwise switching from, say, storing originalDate in Extra to
using an originalDate field would cause the value to be lost in clients
without the newer schema.

Closes #1504
2020-01-26 03:29:23 -05:00
Dan Stillman
55c88dc91c Fix broken string in nb-NO locale that causes a crash in My Publications 2020-01-22 12:12:55 -05:00
Dan Stillman
dc0c80e346 Update version 2020-01-22 09:21:37 -05:00
Dan Stillman
98e637d36a Update locales from Transifex 2020-01-21 19:23:41 -05:00
Dan Stillman
e6ab5b8889 Update submodules 2020-01-21 19:23:41 -05:00
Dan Stillman
5276cef7d2 Update schema submodule and document chrome.manifest locale dependencies 2020-01-18 17:37:32 -05:00
Dan Stillman
9ff88bdf6c Enable Norwegian Bokmål 2020-01-18 11:46:05 -05:00
Dan Stillman
c342618e63 Update locales from Transifex 2020-01-17 18:08:01 -05:00
Adomas Venčkauskas
23550f2951 More citation dialog locator fixes
Both typing 123 and typing p.123 adds the locator to the most
recently added node
2020-01-16 11:51:40 +02:00
Adomas Venčkauskas
75465e9096 Some more locator input and locking improvements when citations are resorted
See #1776
2020-01-16 11:40:18 +02:00
Adomas Venčkauskas
c70c07bb2e Fix a citation dialog error when the dialog contents are cleared 2020-01-16 11:07:42 +02:00
Adomas Venčkauskas
09dead3a2a Fix more ways that citation dialog textcursor can end up inside bubbles
See 5a1e3296, 5fa97957
2020-01-16 10:58:28 +02:00
Adomas Venčkauskas
c6961b26e4 Improve citation dialog locator experience with locator locking. Closes #1776 2020-01-16 10:35:09 +02:00
Dan Stillman
d597f6a6c7 Update version 2020-01-13 13:01:45 -05:00
Adomas Venčkauskas
70d0dc8e14 Restore ability to type page numbers after search terms to set locator
Regression in 7c1845b3. Closes #1774
2020-01-13 13:22:45 +02:00
Dan Stillman
1a790c0c3f Update submodules 2020-01-06 16:04:57 -05:00
Dan Stillman
4645f76b8b Update locales from Transifex 2020-01-06 16:02:47 -05:00
Dan Stillman
857c42c40b Allow additional characters in URL scheme for attachments/launchURL()
https://forums.zotero.org/discussion/comment/345977/#Comment_345977
2020-01-06 15:47:57 -05:00
Philipp Zumstein
066ec123d0 Update newWeb.js 2020-01-06 15:12:18 -05:00
Adomas Venčkauskas
7c1845b3af Citation dialog search improvements. Closes #1770. Closes #1499
Allows "p123" in addition to ":123" and "p.123" when specifying
the locator;
Allows searches with numbers only.
2020-01-06 14:23:41 +02:00
Adomas Venčkauskas
51792ba242 Fixes citation dialog locator string not working. Closes #1771
Regression in 5a1e329
2020-01-06 14:23:41 +02:00
Dan Stillman
3d2afa9c7f Additional adjustments to URL handling
Follow-up to df40ee7216

- Restore opening of non-HTTP URL schemes in link attachments
- Remove scheme whitelist for link attachments, since it's not enforced
  via the API anyway and we prompt before an external application is
  opened. Instead, just block a few schemes (e.g., 'javascript') from
  launching.

TODO:

- Provide some way to change/reset an application association if the
  user checks the box to automatically open that scheme.
- Show an error message if a link attachment with an invalid URL is
  double-clicked
2020-01-04 02:30:12 -05:00
Dan Stillman
8172f00941 Fix loading of reports and timelines
Regression from df40ee72
2020-01-04 02:29:52 -05:00
Dan Stillman
b9d5c33993 Allow setting a cookie sandbox for Zotero.Utilities.Internal.saveURI()
This isn't used or tested.
2020-01-04 02:29:52 -05:00
Dan Stillman
6070743ff0 Fix Nextcloud WebDAV syncing
Add Zotero.HTTP.CookieBlocker mechanism to block storing and sending
of all cookies for a given URL prefix, and use that for the configured
WebDAV URL.

https://forums.zotero.org/discussion/80429/sync-error-in-5-0-80
2020-01-04 02:29:52 -05:00
Dan Stillman
8c8140e74e Fix hiding of password in WebDAV error messages and debug output 2020-01-02 05:04:02 -05:00
Dan Stillman
46b5876bbb Update locales from Transifex 2020-01-02 02:23:27 -05:00
Dan Stillman
d9be6c3ce2 Update login manager corruption error message for Fx60 files 2020-01-02 01:13:16 -05:00
Dan Stillman
bc7b2cb3d5 Fix extension installation failure message
And fix logged error when starting an extension installation

https://groups.google.com/d/topic/zotero-dev/rP42v7OF9N0/discussion
2020-01-01 23:22:12 -05:00
Adomas Venčkauskas
5fa979575e Fix quick format bubble drag-and-drop (see 5a1e3296) 2019-12-31 11:35:13 +02:00
Dan Stillman
aef198d6b5 Increase autocomplete to 50 results
Up from 25 in 53ff8eecd2 (5.0.80)
2019-12-30 02:39:10 -05:00
Dan Stillman
991e542888 Fix broken autocomplete popup when editing a saved search
https://forums.zotero.org/discussion/comment/345646/#Comment_345646

This is probably the actual fix for what I was trying to fix in
360f034b5, and I couldn't reproduce it because it was about saved
searches.
2019-12-30 02:39:10 -05:00
Adomas Venčkauskas
5a1e329618 Fix being unable to place the cursor in between bubbles in the citation dialog
Regression in Fx60
2019-12-23 13:25:02 +02:00
Dan Stillman
bfceb10e03 Update 'colors' package
On the off chance a problem in the older version caused #1763
2019-12-23 05:01:17 -05:00
Dan Stillman
12ccbf45c8 Make HTTP tests more reliable 2019-12-23 04:31:24 -05:00
Dan Stillman
0b9f463b9f Fix parsing of 'yesterday'/'today'/'tomorrow' in access date field
Regression from 5.0.78
2019-12-23 03:10:43 -05:00
Dan Stillman
9c380c362a Hopefully fix 503 from NextCloud (since 5.0.78)
https://forums.zotero.org/discussion/comment/344790/#Comment_344790
2019-12-22 16:32:36 -05:00
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