Dan Stillman
1e459287de
Convert non-standard octal escape sequences to hex in test runner
2017-05-24 01:59:56 -04:00
Dan Stillman
c0f7f6070a
Avoid a warning from a storageRequest test from the item not existing
2017-05-23 02:12:00 -04:00
Dan Stillman
e1fb28faa9
Convert some object ids from strings to integers after 4e1937680
2017-05-23 02:10:26 -04:00
Dan Stillman
265df6d48c
Skip edit check if skipAll is passed to object save
2017-05-22 17:29:56 -04:00
Dan Stillman
1b8704f133
Firefox 54 compatibility: File.createFromFileName() returns a promise
2017-05-22 06:04:27 -04:00
Dan Stillman
a3eea03a38
Firefox 54 compatibility: rename "new" and "delete" XBL methods
2017-05-22 06:03:14 -04:00
Dan Stillman
fc4eb5308f
Remove related-item relations when deleting item
2017-05-19 12:11:51 -04:00
Dan Stillman
90a27f8d4b
Add Zotero.URI.getURIItemLibraryKeyFromDB()
...
Allows getting libraryID and key without relying on library data being
loaded (e.g., at startup)
2017-05-19 12:11:21 -04:00
Dan Stillman
f12ae67c47
Test for e1986b460e
(export with empty attachment path)
2017-05-14 05:26:39 -04:00
Dan Stillman
20121b9b97
Fix tag selector tests (broken in 5963c02db
)
2017-05-12 06:13:02 -04:00
Dan Stillman
5963c02dbb
Fix "Display All Tags in This Library" (broken in fe186333b
)
2017-05-12 05:37:46 -04:00
Dan Stillman
60810ea0a0
Fix access date without time coming from sync
2017-05-11 00:44:37 -04:00
Dan Stillman
12e70460dc
Load polyfill in tests for Object.values() support in Fx45
2017-05-08 18:48:11 -04:00
Adomas Venčkauskas
dbeecb9b0a
Make itemFromCSLJSON independent of Zotero.Item existance.
...
Addresses !zotero/zotero-connectors#121"
2017-05-08 09:24:34 +03:00
Dan Stillman
e0e22225bc
Fix entering date without time into Accessed
...
https://forums.zotero.org/discussion/65560/5-0-beta-accessed-field-changes-dates
2017-05-05 17:59:53 -04:00
Dan Stillman
40da5f61a0
Still process downloads if uploads fail for a library
2017-05-05 03:26:29 -04:00
Dan Stillman
a1bd2bace5
Remove objects from sync queue if missing from response
...
While objects in the sync queue that fail to save should remain in the
queue, objects that just don't exist remotely need to be removed, or
else they'll be retried forever.
2017-05-05 01:04:16 -04:00
Dan Stillman
7a839e19a6
Fix background/stopOnError options for sync engine tests
2017-05-05 00:26:43 -04:00
Dan Stillman
2eef1702e0
Prevent items in group libraries from being added to My Publications
...
And remove existing group items that have been added
2017-05-04 21:18:44 -04:00
Adomas Venčkauskas
37fa0c203f
Write sessionID into the doc on new session creation
2017-05-03 14:34:00 +03:00
Adomas Ven
7d79865023
Merge pull request #1222 from adomasven/feature/document-preferences-cleanup
...
Document preferences cleanup
2017-05-03 13:09:49 +03:00
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
Adomas Venčkauskas
3c19bbffe4
Remove store references in document option. Closes #1216
2017-05-02 16:29:19 +03:00
Adomas Venčkauskas
5e3c7bf63d
Fix test breakage from a76493f60
2017-05-02 15:09:12 +03:00
Dan Stillman
32b1769f2f
integrationTests.js -> integrationTest.js
2017-04-28 04:12:19 -04:00
Dan Stillman
fe88530120
Recover from a remotely missing parent collection
2017-04-28 03:18:50 -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
Dan Stillman
d527c340c6
Fix "text is not defined" error during full-text content sync
2017-04-26 02:44:01 -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
de7b56b8a1
Don't include items in My Publications in Unfiled Items
2017-04-17 21:34:08 -04:00
Dan Stillman
b3277de5ae
Update tests after citeproc-js upgrade to match output
2017-04-15 04:35:16 -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
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
9c91018964
Reduce indentation in waitForWindow() support function
2017-04-13 05:51:52 -04:00
Dan Stillman
6d18b46165
Fix test breakage after 5ff2a59f87
...
And remove all instances of `publicationsLibraryID`
2017-04-13 00:15:05 -04:00
Dan Stillman
5ff2a59f87
Move My Publications into My Library
...
Instead of My Publications being a separate library, have it be a
special collection inside My Library. Top-level items can be dragged
into it as before, and child items can be toggled off and on with a
button in the item pane. Newly added child items won't be shown by
default.
For upgraders, items in the My Publications library will be moved into
My Library, which might result in their being duplicated if the items
weren't removed from My Library. The client will then upload those new
items into My Library.
The API endpoint will continue to show items in the separate My
Publications library until My Publications items are added to My
Library, so the profile page will continue to show them.
2017-04-12 19:26:58 -04:00
Dan Stillman
4da0c4c1fc
Remove unused laststoragesync response from test
2017-04-12 05:37:15 -04:00
Adomas Venčkauskas
7657c9044d
Add Document.addEditBibliography to integration.js
...
See zotero/zotero-word-for-windows-integration#28 for background
2017-04-12 11:59:38 +03:00
Adomas Ven
2a5dbaa204
Merge pull request #1202 from adomasven/fix/doc-pref-window-unloaded-styles
...
Fix document preferences dialog failing when styles unloaded.
2017-04-12 11:52:58 +03:00
Adomas Venčkauskas
ea535bceb0
Add tests for style from untrusted source prompt
2017-04-12 11:48:06 +03:00
Adomas Venčkauskas
02c43c3643
Add integrationTests.js
...
Contains a dummy doc plugin, which is useful for:
- Testing integration.js functionality
- Serving as succint documentation for development of new integration
plugins
2017-04-12 11:45:10 +03:00
Dan Stillman
5d6478e507
429 and Retry-After support for API requests
2017-04-11 04:17:16 -04:00
Adomas Venčkauskas
269a250b4f
Fetch a style if it is not installed on document preferences load
2017-04-10 11:24:22 +03:00
Dan Stillman
d8fed09578
Mark local collection as unsynced if missing remotely in item request
...
We should figure out when this happens, but in the meantime, recover
from it if it does.
2017-04-07 00:57:50 -04:00
Dan Stillman
c43823ad60
Maybe fix noteeditor test failures for real
2017-04-01 14:29:45 -04:00
Dan Stillman
7609ef35bc
Allow setting note text with createDataObject('item') test function
2017-04-01 14:28:32 -04:00