Commit graph

8533 commits

Author SHA1 Message Date
Dan Stillman
61684d8899 Fix missing bottom border of toolbar on Windows 2020-02-10 22:24:27 -05:00
Dan Stillman
2a804d5d4a Fix zotero://open-pdf links on Windows if no handler is set in registry 2020-02-09 14:07:11 -05:00
Dan Stillman
4290f26d7c Don't search child items in "Title, Creator, Year" mode
They can't match, so there's no need to include them. This should speed
up "Title, Creator, Year" searches.
2020-02-05 09:27:06 -05:00
Adomas Venčkauskas
8fd83795e8 Remove MacWord plugin IPC pipe initialization
Moved to MacWord plugin codebase:
zotero/zotero-word-for-mac-integration#6adf8a7
2020-02-05 16:23:14 +02:00
Dan Stillman
86a5c46b1e Find Available PDF: Don't mark URLs that redirect as tried
https://forums.zotero.org/discussion/81182
2020-02-02 23:47:40 -05:00
Dan Stillman
eec0f00784 Fix sorting by editor in Creator column (since 5.0.78) 2020-01-29 13:39:59 -05:00
Dan Stillman
851af7f45b Don't save library catalog from translation if not valid for item type
Fixes #1781
2020-01-28 20:20:07 -05:00
Dan Stillman
4e11c7927d Don't skip creator lines in Extra in fromJSON
Regression in 3de54455f6
2020-01-27 22:01:25 -05:00
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
98e637d36a Update locales from Transifex 2020-01-21 19:23:41 -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
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
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
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
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