Commit graph

439 commits

Author SHA1 Message Date
Dan Stillman
d5de9c7a4a Always show PDF recognize option when appropriate, and prompt to install PDF tools first if necessary 2009-03-15 06:00:59 +00:00
Dan Stillman
7c1cc3b3d0 Update auto-sync expiry date 2009-03-14 23:21:38 +00:00
Dan Stillman
95e3bb7a3a Better debugging for Zotero.Utilities.trim() error 2009-03-14 22:17:23 +00:00
Dan Stillman
f0def44c29 Fix repeated unlock requests, probably (and remove old request limiting code, which was never finished) 2009-03-14 22:13:20 +00:00
Dan Stillman
d904470200 Fixes #1393, "Error when adding existing tag beginning with certain extended characters to an item", but not properly
SQLite's COLLATE NOCASE doesn't work for Unicode characters, so it won't find existing tag "Äbc" if "äbc" is entered and will allow a duplicate tag to be created
2009-03-14 21:48:47 +00:00
Dan Stillman
7107be3cdd Fix error opening Zotero pane after tag deletion 2009-03-14 20:19:44 +00:00
Dan Stillman
41aad110c7 Support single-field mode in translators (with .fieldMode=1) 2009-03-10 00:34:16 +00:00
Dan Stillman
0746824c0f Addresses #1146, Check for duplicate items functionality
Ben's duplicate detection code, with the integration reworked a bit

Very rough, so currently requires creation of a boolean extensions.zotero.debugShowDuplicates pref to view the Actions menu option
2009-03-06 21:44:47 +00:00
Dan Stillman
accce9f2b4 Properly scope a couple variables in Frank's patch 2009-03-06 19:49:13 +00:00
Dan Stillman
4f6491d6ad Speed up sync XML generation by a factor of a lot 2009-03-04 06:00:22 +00:00
Dan Stillman
7edfd0aa03 Modifying an attachment with a missing file and then performing a storage sync would erase the attachment path on the sync server 2009-03-04 02:38:57 +00:00
Sean Takats
17d07b37bc Checking in Frank Bennett's single-to-multiple citation dialog fix. 2009-02-28 23:11:10 +00:00
Dan Stillman
7e3d8a8319 Fix overflow problem with long attachment filenames 2009-02-23 08:31:10 +00:00
Dan Stillman
ff24aec739 Apply r3954 to trunk 2009-02-23 08:03:16 +00:00
Dan Stillman
035cdd9e5a Closes #1371, Add "Create account" and "Lost password?" links to Sync pane 2009-02-23 05:01:35 +00:00
Dan Stillman
66a92a5f43 Hide another idle message 2009-02-23 04:54:26 +00:00
Dan Stillman
664b17190a Delete one numbered backup lower on DB upgrade 2009-02-23 04:32:08 +00:00
Dan Stillman
b39054ddda Don't show debug message every 10 seconds of idle 2009-02-23 04:27:58 +00:00
Dan Stillman
df8e1f15f8 Cap numBackups at 24 2009-02-23 02:40:17 +00:00
Dan Stillman
dd230b278b Closes #972, Keep additional backups of zotero.sqlite
Closes #984, Switch database backup to use mozIStorageConnection.backupDB()
2009-02-23 02:34:40 +00:00
Dan Stillman
744d6a5a0a Fixes #1320, Last synced tool tip should tell how long ago a sync occurred 2009-02-22 10:30:01 +00:00
Dan Stillman
fb0202fef9 Add server-based auto-sync throttling to client 2009-02-22 09:56:11 +00:00
Dan Stillman
4d1081be1a Fix FK constraint error with tags, often after the tag conflict window 2009-02-21 22:13:57 +00:00
Dan Stillman
5f60f6043c - Fix problem that was causing lots of sync errors on upload, and adjust a previous attempted fix that was making it worse
- Should also keep timestamps from going too far into the future when saving many items at once (which they were after my previous fix), though this can still be improved
2009-02-21 04:23:50 +00:00
Dan Stillman
d7d4bc01d7 Fixed "getFile() can only be called on attachment items" error whent here was a conflict set with both a regular item and an attachment 2009-02-19 20:35:04 +00:00
Dan Stillman
7572703065 Auto-sync on idle every hour and when coming back from an idle of more than 15 minutes 2009-02-19 05:26:48 +00:00
Dan Stillman
26e6125450 - More efficient purging logic -- instead of purging all objects whenever an item is deleted, flag just the object type and do the necessary purge when the Zotero pane is next opened. This also fixes a sync error edge case due to purging during synced item deletions.
- Disable unresponsive script warning during items list refresh
- Zotero.UnresponsiveScriptIndicator.disable() now returns true if it disables the indicator and false if it was already disabled
2009-02-18 03:09:39 +00:00
Dan Stillman
fd1ac3104a - Fix "creator.serialize() is not a function" sync error
- Added Zotero.Utilities.isEmpty(obj)
2009-02-12 08:00:29 +00:00
Dan Stillman
e84f7f6ef8 Fix "col.lockDateModified is not a function" error 2009-02-11 20:05:45 +00:00
Dan Stillman
4e4f6f74a1 Only mark tag cache as fully loaded if it is 2009-02-11 19:28:06 +00:00
Dan Stillman
893bbc2c89 Add dateAdded to all objects 2009-02-06 06:37:13 +00:00
Dan Stillman
76e360ae2a Fix an endless spin problem 2009-02-06 06:29:01 +00:00
Dan Stillman
f307698ae3 Fix error when upgrading from a database with an older version of a style with a different URI 2009-02-06 01:27:12 +00:00
Dan Stillman
942b732455 Update auto-sync expiry date 2009-02-05 09:58:50 +00:00
Dan Stillman
3efb6e5730 Fix brokenness in advanced search due to trash (and an error when modifying an item with the search window open) 2009-01-31 06:55:06 +00:00
Dan Stillman
e36b41f6c2 Display trash can all the time, unless showTrashWhenEmpty is set to false
- Icon isn't currently reset to empty state when all trashed items are removed
- Dragging doesn't yet work

Addresses #513
2009-01-31 06:19:14 +00:00
Dan Stillman
e5c1f5a70b Addresses #513, Deleted Items folder
Hide restore button when no items are selected
2009-01-29 23:03:13 +00:00
Dan Stillman
e200fd154c Addresses #513, Deleted Items folder
Remember selection of trash in collection pane and don't lose focus after a restore
2009-01-29 08:26:21 +00:00
Dan Stillman
5e774efc42 Addresses #513, Deleted Items folder
Adds handling for parent/child items in trash -- non-deleted context items will appear in gray, and "Restore to Library" and the delete keystrokes won't be available if any of those are selected

Like other search views, Select All will select only the deleted items
2009-01-29 01:14:46 +00:00
Dan Stillman
cb8e226ae9 Addresses #513, Deleted Items folder
Missed in previous commit
2009-01-28 21:25:55 +00:00
Dan Stillman
eb79a0f659 Addresses #513, Deleted Items folder
- Still experimental, but committing for testing
- Sync conflicts with deleted items aren't yet supported

Unrelated: deprecated ZoteroPane.deleteSelectedItem() in favor of more accurately named deleteSelectedItems()
2009-01-28 21:25:06 +00:00
Dan Stillman
0a61514349 Fix an error after resetting from server between file upload and metadata sync 2009-01-26 23:23:15 +00:00
Dan Stillman
bf39f716f6 Tweak debuggina and skip unnecessary step in Item.getFile() 2009-01-22 17:12:34 +00:00
Dan Stillman
8e07effc0d Missed change from last week -- ensures that no two successive DB transactions use the same timestamp, to avoid some sync-related problems 2009-01-21 20:20:27 +00:00
Dan Stillman
0208806a95 Better fix for invalid HEAD responses -- Wiley was returning 405 on HEAD even for GETs that succeeded, so we're not just leaving the MIME type blank if the HEAD response is rejected
Also made the 'pdf' match check a bit more flexible -- now can be the end of the last segment or the query string and not just the extension
2009-01-15 21:40:15 +00:00
Dan Stillman
bd070f7b63 - Adds file conflict resolution -- not particularly attractive at the moment, and no Apply to All button, but possibly functional
- Fixes file syncing after editing a file locally
- Fixes a few storage bugs that could result in eternal spinning, invalid percentages, and other unpleasantries
- Made the attachment display box more flexible, including a filename field that we may or may not want to keep in the main view
2009-01-15 06:58:06 +00:00
Dan Stillman
a1277ccaa9 Bail on attachment save if HEAD request returns a status code other than 200 or 204 2009-01-15 04:24:10 +00:00
Simon Kornblith
90d7f9e937 fix iframe bug introduced by r3987 2009-01-12 07:31:36 +00:00
Simon Kornblith
4f467568fb fix frame handling 2009-01-11 10:08:53 +00:00
Dan Stillman
fe1692fb16 Don't start the progress window close timer after every translated item is saved -- only call it at the end
This should fix premature closing when saving multiple items. It also means that translators must call Zotero.done() or else the window will stay open.

This change is not being made on the 1.0 branch, since we don't want to have to push dozens of fixed translators.
2009-01-08 08:38:07 +00:00