Dan Stillman
cebf2a3125
Throw an error from queryAsync() if onRow throws an error
...
If onRow throws StopIteration, the query will stop gracefully.
2016-03-28 17:47:25 -04:00
Dan Stillman
35530af1fb
Gzip-compress API uploads larger than 1000 characters
2016-03-28 02:38:28 -04:00
Dan Stillman
144d02e36c
Upgrade Sinon to 1.17.3
2016-03-27 23:10:17 -04:00
Dan Stillman
b7b246e741
Saved search fixes
...
- Fix saved search editing
- Refresh items list on search change
- Generate correct conditions array for search JSON
2016-03-26 04:14:56 -04:00
Dan Stillman
15a9fd5494
Make various collection methods synchronous
...
- Collection::getDescendents()
- Collections.getByLibrary()
- Collections.getByParent()
And various things that depend on those. (View with -w.)
2016-03-25 18:44:24 -04:00
Dan Stillman
7dfb62b8fc
Remove delay() in test
2016-03-25 16:53:28 -04:00
Dan Stillman
234127e65a
Update toolbar icons on group editability change
...
And trigger 'group' 'modify' notifier event for inherited Zotero.Library
properties
2016-03-25 16:49:26 -04:00
Dan Stillman
bc31a29e5a
Fix test breakage from db33163a9
2016-03-25 02:31:54 -04:00
Dan Stillman
afee1d16ad
Fix saving an item with a child note into a collection
2016-03-25 02:24:22 -04:00
Dan Stillman
c5702abb7b
Don't include 'filename' in linked_file attachment JSON
2016-03-24 22:26:50 -04:00
Dan Stillman
fc6c113f25
Show intro text for My Publications in middle pane when no items
...
ZoteroPane.setItemsPaneMessage() and setItemPaneMessage() can now
optionally take a DOM node instead of a string.
Closes #705
2016-03-24 09:03:59 -04:00
Dan Stillman
db33163a99
Fix Advanced Search window
2016-03-23 20:45:02 -04:00
Dan Stillman
d826e6b0e8
Disable Firefox Health Check in tests
2016-03-23 04:29:38 -04:00
Dan Stillman
a1ce85decb
Overhaul object downloading/processing during data syncs
...
Previously, objects were first downloaded and saved to the sync cache,
which was then processed separately to create/update local objects. This
meant that a server bug could result in invalid data in the sync cache
that would never be processed. Now, objects are saved as they're
downloaded and only added to the sync cache after being successfully
saved. The keys of objects that fail are added to a queue, and those
objects are refetched and retried on a backoff schedule or when a new
client version is installed (in case of a client bug or a client with
outdated data model support).
An alternative would be to save to the sync cache first and evict
objects that fail and add them to the queue, but that requires more
complicated logic, and it probably makes more sense just to buffer a few
downloads ahead so that processing is never waiting for downloads to
finish.
2016-03-23 04:29:04 -04:00
Dan Stillman
6ac35c75c1
Fix display of sync error icon on error
2016-03-22 22:44:02 -04:00
Dan Stillman
af8865f3f3
Fix behavior of Zotero.Utilities.Internal.delayGenerator and add tests
...
Also convert to an ES6 generator
2016-03-22 22:44:02 -04:00
Dan Stillman
c099bd432a
Handle multi-collection/search add in collectionTreeView::notify()
2016-03-22 22:44:00 -04:00
Dan Stillman
6c43e75d26
Merge pull request #902 from adomasven/feature/feed-reader-UI
...
Feed Reader UI
(I squashed a bunch of commits from the PR.)
2016-03-22 07:31:03 -04:00
Adomas Venčkauskas
12fc6cfbe8
Various feeds changes
...
- Hide notes, tags and related for feed items in itembox
- Add feed support for <enclosure> elements
- Add feed syncing methods for synced settings (additional work is
needed on the sync architecture to download synced settings from the
server)
- Change feed item clear policy to be less aggressive
- Adjust for deasyncification
- Disable translate-on-select
- Close adomasven/zotero#7 , Remove context menu items from feeds
2016-03-22 06:56:36 -04:00
Adomas Venčkauskas
9e88969f3d
Refactor ProgressWindow translation messages show for feed items
2016-03-22 06:56:35 -04:00
Adomas Venčkauskas
e206b0af5e
Various feeds changes
...
- Change sort order for feed items to natural order
- Remove display of dates in itembox
- Trim html tags from creators in FeedReader parser
2016-03-22 06:56:33 -04:00
Adomas Venčkauskas
5e706c31ad
Translate and add items to library on drag
2016-03-22 06:56:33 -04:00
Adomas Venčkauskas
e6ede4b36f
Various feeds changes
...
And move Z.Attachments.cleanAttachmentURI() to Z.Utilities.cleanURL()
2016-03-22 06:56:30 -04:00
Adomas Venčkauskas
8a2dc6e7f2
Adds Zotero.FeedReader tests
2016-03-22 06:56:29 -04:00
Dan Stillman
74cf2a3c22
Fix hang on import that includes an HTML attachment
...
Closes #734 , for the moment
2016-03-22 01:31:20 -04:00
Dan Stillman
42968949b6
Fix collection export
...
Closes #734 , maybe?
2016-03-21 18:11:30 -04:00
Dan Stillman
e70f2164c1
Fix broken support test after 220cf2c29
2016-03-21 01:33:37 -04:00
Dan Stillman
20ece48a57
Fix saving of single files to library root via save button
2016-03-21 01:30:16 -04:00
Dan Stillman
51b286528c
Fix export translation
...
This reverts Zotero.Translate.ItemGetter.prototype.nextItem() to being
synchronous post-deasyncification. This will need to be made to work
asynchronously in the future if _attachmentToArray(), which is called by
nextItem, is changed to use async file access (which might be required
at some point).
Addresses #734 , [Async DB] Import/export fails
2016-03-20 23:39:12 -04:00
Dan Stillman
da45df06cc
Load reverse relations mappings at startup
...
This allows Zotero.Relations.getByPredicateAndObject()/getByObject() and
Zotero.Item::getLinkedItem()/Zotero.Collection::getLinkedCollection() to
be synchronous, which is necessary for word processor integration.
2016-03-18 04:31:37 -04:00
Dan Stillman
5d3e7f555c
Update test submodules (accidentally downgraded in daf4a8fe4
)
2016-03-17 16:28:02 -04:00
Dan Stillman
a949d6bf8d
Merge branch 'deasyncification'
2016-03-16 02:02:41 -04:00
Dan Stillman
28dc7d17e2
Fix setting of local mtime when remote file change matches local file
2016-03-16 02:01:51 -04:00
Dan Stillman
b9444892a0
Ring bell on test error if interactive shell
2016-03-15 01:18:55 -04:00
Dan Stillman
5cd3ab22ba
Make sure "Unfiled Items" is showing before test
2016-03-15 01:18:55 -04:00
Dan Stillman
be04f3d33c
Restore colored tags at top of tag selector when not linked to item
2016-03-15 01:18:55 -04:00
Dan Stillman
8e5016ae4d
Load synced settings (incl. tag colors) at startup
2016-03-15 01:18:55 -04:00
Dan Stillman
60830c27ee
Remove items from open Unfiled Items view when added to collection
2016-03-13 22:59:19 -04:00
Dan Stillman
6b509820b3
Fixes #918 , Enabling "Show Unfiled Items" or "Show Duplicates" breaks UI
2016-03-13 20:31:15 -04:00
Dan Stillman
75bf69526c
Daylight saving time: it's a thing!
2016-03-13 20:28:12 -04:00
Dan Stillman
0fc91a4ef2
Tests for showing/hiding virtual folders
2016-03-12 05:03:47 -05:00
Dan Stillman
c4ca22ca62
Fix duplicate merging
...
Fixes #919
2016-03-11 09:27:03 -05:00
Dan Stillman
1982938bc7
Store userLibraryID in test
2016-03-11 09:26:32 -05:00
Dan Stillman
f795240bbf
Fix display of Duplicate/Unfiled Items rows
2016-03-11 09:25:33 -05:00
Dan Stillman
394aa8dded
Update display title after item edit
2016-03-11 09:25:33 -05:00
Dan Stillman
ae6d560a66
Fix Item::multiDiff()
2016-03-11 07:48:24 -05:00
Dan Stillman
7a03b1e527
Accept ISO dates in Item::setField()
2016-03-11 07:48:24 -05:00
Dan Stillman
28eaaaf2bf
Don't try to parse non-SQL dates in Date.sqlToDate()
2016-03-11 07:48:24 -05:00
Dan Stillman
de897d2878
Add "new" to File constructor for Firefox 45
2016-03-07 20:12:48 -05:00
Dan Stillman
208d470531
Fix test failures
2016-03-07 17:13:30 -05:00