Dan Stillman
89672ed0a4
Fix "c1 is undefined" sync CR error
2019-10-09 18:29:04 -04:00
Dan Stillman
4e63cfd40e
Update submodules
2019-10-08 01:10:34 -04:00
Dan Stillman
220c9e7cbb
Update locales from Transifex
2019-10-08 00:54:04 -04:00
Dan Stillman
a9c10309f7
Detect TimeoutException during ZFS S3 upload
...
We're not currently setting a timeout, so this shouldn't happen, but
someone [1] is getting a timeout error with undefined ms and
NS_BINDING_ABORTED from the channel. It also happened during a /fulltext
upload, so it's not limited to S3, but this fix should give a more
helpful error message for such errors during file syncing.
[1] https://forums.zotero.org/discussion/79286/
2019-09-29 04:18:03 -04:00
Dan Stillman
96caed8453
More concise version of f827f1e04
2019-09-28 06:12:26 -04:00
Dan Stillman
f827f1e049
Fix error if no colored tags (regression from b310ccb04
)
2019-09-27 13:48:28 -04:00
Dan Stillman
b310ccb04e
Fix broken tag selector due to leading/trailing whitespace in colored tags
...
And sanitize colored tags in DB at startup
2019-09-25 17:33:36 -04:00
Dan Stillman
ac255634c5
Fix tag selection in read-only libraries
...
Reactification mistakenly disabled tag selection instead of just
disabling the context menu options.
2019-09-23 20:09:26 -04:00
Dan Stillman
86d924df9e
Force Lucida Grande in Quick Format on non-Retina Macs for Catalina
2019-09-23 03:39:06 -04:00
Dan Stillman
5723683b3b
Fix "attachmentSyncedModificationTime must be a number" sync error
...
https://forums.zotero.org/discussion/79011/zotero-error-report
2019-09-21 01:59:09 -04:00
Dan Stillman
4b7cdddb4a
Change apply-to-all checkbox text for some conflicts
...
Say "Use the [local|remote] version for all remaining conflicts" for
everything instead of saying "Use [local|remote] fields for all
remaining conflicts" for some conflicts.
This also fixes a test failure after 54343c49fb
.
2019-09-21 01:35:36 -04:00
Dan Stillman
72234e0cb2
Additional debugging for file sync error
...
"attachmentSyncedModificationTime must be a number"
2019-09-17 17:54:13 -04:00
Dan Stillman
d394db61e5
Change 'dontCache' option to 'noCache' in HTTP.request()
2019-09-16 01:28:57 -04:00
Dan Stillman
20d7ef6c0b
Add separate .eslintrc for tests
2019-09-16 01:28:52 -04:00
Dan Stillman
ddf2a6a116
Don't mock HTTP requests for resource:// or chrome:// URLs
2019-09-16 01:28:35 -04:00
Dan Stillman
cb11e5a3e0
Fix HTTP.request() status of 0 on connection interruption
...
`status` was being set to undefined instead of 0, likely in a regression
from b78212084
.
2019-09-16 01:27:47 -04:00
Dan Stillman
50b65b3010
Set default HTTP.request() timeout to 30 seconds
2019-09-16 01:27:42 -04:00
Dan Stillman
7aa68a0f75
Update MIME.getMIMETypeFromURL() for non-Bluebird HTTP.request()
2019-09-16 01:27:36 -04:00
Dan Stillman
e8dd1f7824
Test updates for newer Sinon
2019-09-16 01:27:30 -04:00
Dan Stillman
ca7217cff7
Add HTTP cancellation support to sync runner
2019-09-16 01:27:26 -04:00
Dan Stillman
25e34b7b99
Update WebDAV request timeouts for HTTP.request() auto 5xx retry
2019-09-16 01:27:18 -04:00
Dan Stillman
dc60e5f840
HTTP.request() improvements
...
- Move 5xx retries and connection checking out of the sync API client
and into HTTP.request() so that they apply to all requests. 429 handling
remains in the API client, since not all callers necessarily want to
handle that the same way. Callers can still handle 5xx themselves by
including the relevant 5xx status codes in `successCodes` or by passing
`errorDelayMax: 0`.
- Add `cancellerReceiver` option, which is a callback that receives a
function that will cancel the request, whether it's an active request
or an automatic delay before a 5xx retry.
This also updates Sinon to 7.3.2.
2019-09-16 01:26:34 -04:00
Dan Stillman
e25786e74c
Update locales from Transifex and merge new English strings
2019-09-16 01:20:56 -04:00
Dan Stillman
25f29d92f2
Fix error reporting within fake XHR server handlers in tests
...
And fix removal of Bluebird lines from stack traces
2019-09-16 00:52:53 -04:00
Dan Stillman
38d031ecbe
Log stack trace from Zotero.warn()
2019-09-16 00:52:32 -04:00
Dan Stillman
f292d9c030
Clarify translator/style repository update modes
2019-09-16 00:51:33 -04:00
Dan Stillman
82b7cae69a
Remove code to prompt for Firefox extension updates on startup error
...
And change button from "Check for Update" to "Check for Updates"
2019-09-16 00:48:34 -04:00
Dan Stillman
f04f186396
Add missing yield in sync code
2019-09-16 00:47:45 -04:00
Dan Stillman
7ed0d8a408
Fix recognizePDF test after DOI translator change
2019-09-16 00:46:49 -04:00
Dan Stillman
54343c49fb
Fix "getNote() can only be called on notes and attachments" CR error
...
This bug may be as old as the sync system itself. It could occur if
there were conflicts for both a note and a regular item in the same
batch.
2019-09-16 00:39:06 -04:00
Dan Stillman
3f3b6501ce
Update whitelist for TinyMCE
2019-09-16 00:38:47 -04:00
Adomas Venčkauskas
c3c7f0a8ae
Allow /connector/document/respond to take non-double JSON encoded data
2019-09-11 14:05:46 +03:00
Dan Stillman
3666da5b22
Additional debugging for file sync error
...
"attachmentSyncedModificationTime must be a number"
2019-09-11 00:13:52 -04:00
Dan Stillman
0bd04877bf
Don't run detectWeb/doWeb in Scaffold if target doesn't match
...
Closes #1728
2019-08-30 01:02:12 -04:00
Dan Stillman
8f00fa2603
Fix missing checkboxes in View menu on Windows (and maybe Linux)
2019-08-22 00:29:29 -04:00
Dan Stillman
17cf605020
Fix empty row in item context menu (regression from bb59429664
)
2019-08-22 00:29:29 -04:00
Dan Stillman
8670718ffa
Update node-sass for Node 12
2019-08-22 00:29:29 -04:00
Dan Stillman
4e679f513c
Update version
2019-08-22 00:29:28 -04:00
Dan Stillman
d63f7c9925
xvfb change for Travis
2019-08-19 05:19:16 -04:00
Dan Stillman
26ee0e294b
Update locales from Transifex and merge new English strings
2019-08-19 05:00:50 -04:00
Dan Stillman
bb59429664
Add "Convert Linked Files to Stored Files…" menu option
...
In new File → Manage Attachments submenu
Closes #1637
2019-08-19 05:00:32 -04:00
Dan Stillman
eca2822651
Update locales from Transifex and merge new English strings
2019-08-12 16:41:29 -04:00
Dan Stillman
3aeef69ad3
Add View menu
...
The menu includes all user interface options from the General
preferences (now removed from the preferences), toggles for the
collections pane, item pane, and tag selector, and, at long last, a
toggle for recursive collections ("Display Items from Subcollections").
The collections pane and item pane no longer reopen automatically when
restarting Zotero. People might still close them by mistake and not find
this menu, but we'll see how it goes.
Closes #1372
2019-08-12 16:31:31 -04:00
Dan Stillman
6f721098f8
Use Symbol for pref observer deregistration
...
Zotero.Prefs.registerObserver() now returns a Symbol that can be passed
to Zotero.Prefs.unregisterObserver().
2019-08-12 13:21:18 -04:00
Dan Stillman
eb50067a41
Just use new Date()
to parse ISO 8601 dates
...
This should fix a weird bug where ISO dates were being parsed as a year
earlier.
2019-08-10 08:58:44 -04:00
Adomas Venčkauskas
5216f11885
Replace the XPCOM sandbox with an unsafe eval sandbox
2019-08-10 08:58:44 -04:00
Dan Stillman
1c6840f9a5
Scaffold: Load translator on double-click
2019-08-10 08:40:24 -04:00
Adomas Venčkauskas
1199059612
Fix imported citations with modified text not resetting the text
2019-08-08 11:25:36 +03:00
Dan Stillman
e1adbafeb0
Support Cmd-= for zooming in Scaffold code editor
...
In addition to Cmd-+
2019-08-07 01:03:45 -04:00
Dan Stillman
d898022ada
Update Scaffold UI based on font size pref
2019-08-06 21:00:08 -04:00