Dan Stillman
5b0b874435
Purge old objects in sync cache after upload
2017-05-03 03:43:59 -04:00
Dan Stillman
aa1fc01b31
Fix syncing of related item removal
2017-05-02 20:15:54 -04:00
Dan Stillman
5f819b7baa
Additional debugging for sync issue
2017-05-02 17:29:10 -04:00
Dan Stillman
4502b5e990
Debugging for sync issue
2017-05-02 16:56:55 -04:00
Adomas Venčkauskas
5e3c7bf63d
Fix test breakage from a76493f60
2017-05-02 15:09:12 +03:00
Adomas Venčkauskas
a76493f60d
Fix noteType type issues when talking to js-ctypes libs
...
Reported https://forums.zotero.org/discussion/65496/zotero-5-185-bug-cant-insert-field
2017-05-02 14:45:06 +03:00
Dan Stillman
32b1769f2f
integrationTests.js -> integrationTest.js
2017-04-28 04:12:19 -04:00
Dan Stillman
9e1533c32d
Fix error with citations not in library (since f3ceb7f66
)
2017-04-28 04:07:27 -04:00
Dan Stillman
fe88530120
Recover from a remotely missing parent collection
2017-04-28 03:18:50 -04:00
Dan Stillman
2db41b0adc
Don't update various primary fields unnecessarily during save
2017-04-27 22:41:53 -04:00
Dan Stillman
7bd8f47dac
Schema update step to remove linked files from My Publications
2017-04-27 15:33:25 -04:00
Dan Stillman
9bd01af2a5
Disallow inPublications for linked-file attachments
2017-04-27 15:33:24 -04:00
Dan Stillman
d715197b2f
Don't show Show/Hide button in My Publications for linked files
2017-04-27 04:52:50 -04:00
Adomas Venčkauskas
8dacf4455d
Revert accidental stopOnError change in 2bf53824
2017-04-27 11:46:35 +03:00
Adomas Venčkauskas
2bf5382431
Log errors from syncRunner concurrent caller
2017-04-27 11:40:30 +03:00
Dan Stillman
d527c340c6
Fix "text is not defined" error during full-text content sync
2017-04-26 02:44:01 -04:00
Dan Stillman
696e828a02
Merge pull request #1218 from adomasven/feature/JSON-pref-docs
...
Feature/json pref docs
2017-04-22 22:54:28 -04:00
Adomas Venčkauskas
7661f71d6c
Fix broken integration test in a8d0110e
2017-04-21 11:12:02 +03:00
Dan Stillman
21a3bf8aa5
Fix indexing of synced full-text content
2017-04-21 02:59:24 -04:00
Dan Stillman
b077e1cd8c
Merge pull request #1219 from adomasven:fix/htmlSpecialChars
...
Do not return empty string only for `0` arg to #htmlSpecialChars
2017-04-20 13:13:12 -04:00
Adomas Venčkauskas
a8d0110e07
Add a deprecation warning to non-string params for #htmlSpecialChars
...
Revert change from ff74e0ff
2017-04-20 13:12:36 -04:00
Adomas Venčkauskas
bbec11e3eb
Prepare 5.0 to handle JSON doc prefs
2017-04-20 18:03:15 +03:00
Adomas Venčkauskas
e272465f6c
Fix DocumentData serialization hairiness due to #htmlSpecialChars
...
Add tests
2017-04-20 13:39:19 +03:00
Dan Stillman
d472752101
Collapse My Publications when first opened
...
Child items marked as visible are technically search matches, so we have
to take extra steps to keep the parents from being auto-expanded.
2017-04-19 21:56:38 -04:00
Dan Stillman
850a9bb309
Fix width of note link toolbar
2017-04-19 19:35:59 -04:00
Dan Stillman
f3ceb7f66e
Load object data when looking up integration items
...
Item data may not have been loaded for a library when requesting an item
from a document (e.g., for Refresh), so we need to load all data for
requested items to avoid unloaded-data errors. (Data isn't loaded if
it's already been loaded, so hopefully this doesn't slow things down too
much.)
2017-04-19 04:24:34 -04:00
Dan Stillman
ab2bedc0df
Clear inPublications in PATCH JSON with false, not empty string
2017-04-19 03:18:05 -04:00
Dan Stillman
c03a0df226
Add settings table flag to auto-repair database on startup
...
This will allow the DB Repair Tool to only recreate the file and leave
schema knowledge to the client.
Addresses #895
2017-04-19 02:53:39 -04:00
Dan Stillman
698eb3358a
Retry library sync on 409 error
...
Closes #928
2017-04-19 02:53:39 -04:00
Adomas Venčkauskas
ff74e0ff00
Do not return empty string for falsy arguments in Utilities.htmlSpecialChars
2017-04-18 16:21:49 +03:00
Dan Stillman
de7b56b8a1
Don't include items in My Publications in Unfiled Items
2017-04-17 21:34:08 -04:00
Dan Stillman
2160b1cb87
Remove stray console.log() calls in citeproc-js
...
This is breaking bibliography output for some citations.
2017-04-17 13:56:59 -04:00
Dan Stillman
8a7d405e4d
Close #932 , Disable file dragging into My Publications
...
Already disabled for collections pane, now for items pane
2017-04-16 03:35:02 -04:00
Dan Stillman
d0b1a45c61
Restore ability to paste images in notes, for now
...
Allow this to continue working until we have a better solution that
keeps data URIs out of note markup and is counted against file quota.
Syncing most notes with embedded images will still result in a
note-too-long error.
Closes #1209
2017-04-16 02:40:20 -04:00
Dan Stillman
b3277de5ae
Update tests after citeproc-js upgrade to match output
2017-04-15 04:35:16 -04:00
Dan Stillman
58f4dc3bb5
Unescape HTML in API upload errors
2017-04-14 23:14:22 -04:00
Dan Stillman
0920e25393
Make 404 handling for uploaded objects permanent
...
Related to https://github.com/zotero/dataserver/commit/aafda6d835
2017-04-14 23:14:22 -04:00
Dan Stillman
e4bc715dc1
Update locales from Transifex
2017-04-14 23:14:22 -04:00
Dan Stillman
a2f11f5338
Update submodules
2017-04-14 23:14:22 -04:00
Dan Stillman
287a0b587b
Update citeproc-js to 1.1.160
2017-04-14 23:14:22 -04:00
Dan Stillman
e397d12d42
Update whitespace chars in cleanISBN/cleanISSN tests for Firefox 52+
...
Farewell, Mongolian Vowel Separator
2017-04-14 23:14:22 -04:00
Adomas Venčkauskas
de269b3021
Make sure styles are loaded before opening doc-prefs dialog
2017-04-14 14:30:26 +03:00
Adomas Venčkauskas
49001572fd
Remove dependency on zoteroIntegration.idl
2017-04-14 14:19:52 +03:00
Adomas Venčkauskas
0de22b132e
Move document plugin interface description into integrationTests
2017-04-14 14:19:52 +03:00
Dan Stillman
e1c183b597
Fix link opening in standalone note windows
2017-04-13 05:51:52 -04:00
Dan Stillman
9c91018964
Reduce indentation in waitForWindow() support function
2017-04-13 05:51:52 -04:00
Dan Stillman
18bb18ba51
Update Zotero.Styles initialization to match translators
2017-04-13 05:51:52 -04:00
Dan Stillman
9b53570968
Fix bibliographyTest breakage after d5cf33a798
...
d5cf33a798
adds a `yield` to bibliography.js, which runs in modal
windows (e.g., Create Bib), but there's a weird interaction between
Bluebird and modal dialogs that can result in hangs -- presumably
something to do with things being queued on the event loop but the modal
dialog preventing other code from running? This was breaking
bibliographyTest, but it seemed to work fine for me in normal usage,
waiting properly for a running styles initialization to finish. It's
possible this problem is limited to tests, but in the past, at least, I
apparently decided that this was a general problem with `yield` in modal
dialogs [1]. (See also: [2].) In any case, calling `yield
Zotero.Styles.init()` from the Create Bib window was hanging the test,
so for now do a synchronous check for style initialization to avoid it,
and we should make sure that `yield` actually works in other contexts.
[1] https://github.com/zotero/zotero/commit/99dd1c069776
[2] https://github.com/zotero/zotero/commit/c2dd531cec4
2017-04-13 05:20:36 -04:00
Dan Stillman
ed3b18ba8c
NodeList doesn't have forEach in Firefox 45
2017-04-13 01:21:36 -04:00
Dan Stillman
b7aab8b8d2
Don't break Zotero
2017-04-13 00:21:16 -04:00