Dan Stillman
d81e2a5cf0
Fix sync errors from remote item referencing deleted local collection
2017-09-20 05:33:44 -04:00
Dan Stillman
85d7c01c85
Fix getAsync() integer warning when clicking on related item
2017-09-20 03:36:16 -04:00
Dan Stillman
c7639f328f
Fix editing in classic citation window (broken by 2901174ba3
)
...
This is (hopefully) a better fix for selection issues than 2901174ba3
. A
reference to the collectionTreeView is stored in a `view` property on
the collectionTreeRow, and when an itemTreeView is initialized and
passed a collectionTreeRow it assigns itself to an `itemTreeView`
property on the row's view.
2017-09-20 03:36:16 -04:00
Dan Stillman
365e58249d
Check for invalid certificate in Zotero.HTTP.request()
...
We were checking for this in the sync API client, but that didn't apply
to Amazon S3 for ZFS.
2017-09-20 00:49:10 -04:00
Dan Stillman
a858368642
Revert "Use eraseTx() instead of erase() when deleting saved search"
...
eraseTx() isn't actually valid in this context.
This reverts commit 103c16a563
.
2017-09-19 23:47:03 -04:00
Dan Stillman
8efbfb7c74
Close import progress window on error
...
Fixes https://github.com/retorquere/zotero-better-bibtex/issues/719
2017-09-19 02:35:04 -04:00
Dan Stillman
afc7afeb9c
Fix error deleting collection after emptying trash
...
Follow-up to c442daedce
Fixes #1317
2017-09-18 17:03:12 -04:00
Dan Stillman
49506b6d94
Fix non-integer warning when purging ids from sourceList.persist
2017-09-18 17:02:25 -04:00
Dan Stillman
d83d70eb5c
Update locate engine download code
...
Asyncify, make JSON load failures not fatal, and simplify icon download
code (which also fixes download of CrossRef icon, which was failing for
some reason).
2017-09-18 02:31:13 -04:00
Dan Stillman
6d53839fbc
Add sniffer entry for .ico files
2017-09-18 02:26:31 -04:00
Dan Stillman
d2a33f2613
Update submodules
2017-09-18 01:37:26 -04:00
Dan Stillman
fb61819f6b
Update automatic trash emptying after 3872e646ac
...
And restore 'limit' parameter used for auto-empty
2017-09-16 00:51:51 -04:00
Dan Stillman
e25af42ef3
Fix sync event listener after 3872e646ac
2017-09-15 21:02:38 -04:00
Dan Stillman
cc04ddbe4d
Fix test failure after 8215ba7a1d
2017-09-15 20:42:17 -04:00
Dan Stillman
3872e646ac
Speed up emptying trash
...
Shows a progress meter, which allows for larger chunks and fewer
refreshes, avoids unnecessary updating of parent items that are
being deleted anyway, and skip re-sorting of modified items in the
trash.
Closes #1292 , Emptying trash is slow
2017-09-15 20:23:01 -04:00
Dan Stillman
8215ba7a1d
Crash Zotero on note-saving error
...
Closes #1277 , Crash note if not saving properly
2017-09-15 00:46:29 -04:00
Dan Stillman
18c62be6a4
Fix display of data dir in migration error message
...
When migrating prefs from Zotero for Firefox, the prefs specified a
custom data dir, and that directory was missing, the "Previous
directory:" line was blank.
2017-09-14 18:49:01 -04:00
Dan Stillman
9395af86f7
Fix "SyntaxError: unterminated string literal" on first run
...
This could happen when migrating prefs from Firefox when the prefs.js
file included a corrupted line.
2017-09-14 18:48:00 -04:00
Dan Stillman
103c16a563
Use eraseTx() instead of erase() when deleting saved search
2017-09-13 01:02:07 -04:00
Dan Stillman
c442daedce
Update collection cache after "Delete collection and items…"
...
Fixes #1314
2017-09-13 01:01:36 -04:00
Dan Stillman
5ec7c97f30
Add debugging for userID change
2017-09-12 16:22:46 -04:00
Dan Stillman
a47c332895
Show better error message if data dir can't be created
2017-09-12 02:35:06 -04:00
Dan Stillman
e9439c978b
Allow setting data directory via -datadir command-line flag
...
Can be an absolute path or 'profile' to use 'zotero' subdirectory of
profile directory as in earlier versions (but which won't be treated as
a legacy location eligible for migration)
Closes #1305
2017-09-11 03:52:51 -04:00
Dan Stillman
33128d1f59
Filter 'XPCOMUtils.jsm' lines from stack traces
2017-09-11 03:52:50 -04:00
Dan Stillman
64e840e418
Continue after failure in Add Item by Identifier
...
This should give better feedback when some identifiers fail, but for now
restore 4.0 behavior.
Also add items by identifier in order, not reverse order
2017-09-10 03:54:26 -04:00
Dan Stillman
2901174ba3
Fix intermittent item selection failure
2017-09-10 03:18:59 -04:00
Dan Stillman
d271683968
Bypass cache by default in Zotero.Utilities.Internal.saveURI()
2017-09-07 23:55:45 -04:00
Dan Stillman
5248b08de0
Remove debug lines
2017-09-02 01:39:09 -04:00
Dan Stillman
1100015d2c
Don't purge data tables until after schema update
...
It's no longer necessary to do this before syncing, since tags and
creators aren't first-class objects.
2017-09-02 01:13:34 -04:00
Dan Stillman
69c27cd8a7
Fix potential failure with full-text phrase search
...
Phrase searches weren't scoped to the current library, so they could
return unloaded items in other libraries and cause the search to fail.
2017-09-02 01:13:33 -04:00
Dan Stillman
fd5c48ac51
Simplify Zotero.ItemTreeView.prototype.getSortedItems()
2017-09-01 13:22:46 -04:00
Dan Stillman
ed6d628f4e
Fix Create Bib for saved searches
2017-09-01 13:22:46 -04:00
Dan Stillman
01ecff8e2b
Fix regression in 05d74c4cac
2017-08-30 18:47:21 -04:00
Dan Stillman
05d74c4cac
Don't load note/attachments counts as primary data
...
Zotero.Item::numNotes()/numAttachments() now require 'childItems' to
have been loaded.
Fixes #1301 , Slow startup with many items in trash
2017-08-30 18:08:25 -04:00
Dan Stillman
94c4445475
Fix restart error moving away from note that hadn't finished loading
2017-08-30 18:08:24 -04:00
Frank Bennett
b0c0cd6e0c
Expose styleEngine in csledit.js, for Abbreviation Filter
2017-08-24 23:26:03 +09:00
Dan Stillman
a15b23e353
Update citeproc-js to 1.1.177
2017-08-23 11:02:19 +02:00
Dan Stillman
f4b73d22b8
Fix error relocating to filename with different Unicode normalization
2017-08-23 11:02:05 +02:00
Dan Stillman
1d19811bd2
Disable strict mode in citeproc-js for now
2017-08-22 12:18:48 +02:00
Dan Stillman
879ed11b69
Update citeproc-js to 1.1.175
2017-08-22 12:18:29 +02:00
Dan Stillman
2919486818
Don't keep checking for lost Z4Fx data directory
2017-08-19 23:47:54 +02:00
Dan Stillman
f45d56113a
Remove unnecessary log line
2017-08-19 23:36:39 +02:00
Dan Stillman
0391569f4d
Only prompt for recently updated Z4Fx data directories
2017-08-19 23:31:39 +02:00
Dan Stillman
267e3165a2
Add prompt to revert to Zotero for Firefox data directory
...
For people affected by migration bugs prior to 5.0.15
2017-08-19 23:22:07 +02:00
Dan Stillman
d368c4019a
Fix data directory migration if only Firefox profile directory
2017-08-19 15:58:42 +02:00
Dan Stillman
6673c64ac6
Fix accessDate when translators set CURRENT_TIMESTAMP
...
(But it also seems like we always do that automatically for web
translators, so I'm not sure why so many translators set that.)
2017-08-19 15:21:57 +02:00
Dan Stillman
de36a6e833
Make sure rootDocument is set in Zotero.Translate.Web.setDocument()
...
For non-browser documents that we wrap, defaultView.top.document can be
undefined without being inaccessible.
Fixes regression from dae0986b9b
2017-08-19 05:23:38 +02:00
Dan Stillman
871cbae499
Update citeproc-js to 1.1.174
2017-08-19 05:23:38 +02:00
Dan Stillman
7386b376f3
Fix linked attachment base directory handling at drive root
...
The first letter of the relative path was being removed on save if the
base directory was set to the drive root (e.g. D:\ instead of D:\foo).
2017-08-18 16:06:56 +02:00
Dan Stillman
1efe54e896
Fix #1286 , Show proper error messages for OS.File errors
2017-08-17 15:43:54 +02:00