Commit graph

415 commits

Author SHA1 Message Date
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
Dan Stillman
ae10d4c5d0 Closes #1044, Don't use <toolbar> for Zotero toolbar
Fixes problem described in ticket and ugliness in Fx3.1b3pre -- hopefully with no ill effects. Not tested on Windows or Linux.
2009-01-07 08:27:37 +00:00
Dan Stillman
8d51a09eda Fix empty subcollection problem 2009-01-03 06:27:40 +00:00
Dan Stillman
1bd36605d4 Fix for items with notes not showing up in collections on import 2009-01-03 00:11:03 +00:00
Dan Stillman
3c419f9f5a Addresses #1276, RDF export loses collection info 2009-01-02 18:55:44 +00:00
Dan Stillman
a161217f3b Fixes #1276, RDF export loses collection info (broken by me in r3652) 2009-01-02 18:53:06 +00:00
Dan Stillman
d98f0ab07a Fix error when attempting a Restore from Server immediately after Restore to Server 2009-01-02 17:36:49 +00:00
Dan Stillman
fa4df719e1 Fix error exporting items with child notes with tags 2009-01-02 17:32:23 +00:00
Dan Stillman
94f004002b Hide sync debugging menu behind extensions.zotero.sync.debugMenu by default, now that there are user-friendly replacements 2009-01-02 16:51:13 +00:00
Dan Stillman
b9121177e5 Display prompt on locked session 2009-01-02 06:45:40 +00:00
Dan Stillman
3b0f20c493 Add initial implementations of "Restore to Server" and "Restore from Server" to the Sync pref pane 2009-01-02 00:35:09 +00:00
Dan Stillman
d26eed03dc Update expiry date 2008-12-31 20:22:41 +00:00
Dan Stillman
a28b54bae6 Use SQL that actually works with SQLite 2008-12-29 10:33:32 +00:00
Dan Stillman
2468ad5dfc Fix a potential upgrade error due to the initial 1.5 migration step not adding a UNIQUE index to key in syncDeleteLog 2008-12-29 10:31:29 +00:00
Dan Stillman
38be4790a1 Merged r3901 from branch 2008-12-29 09:38:58 +00:00
Dan Stillman
f2cd272786 Merged r3888 from branch 2008-12-29 09:35:11 +00:00
Dan Stillman
8512ba8d39 Merge revisions from branch 2008-12-29 07:57:20 +00:00
Dan Stillman
f2d8c72ec1 Fixes #1255, Link to parent file in note title broken 2008-12-29 07:09:21 +00:00
Dan Stillman
8ad23d7eea - Abstract attachment info pane into XBL binding
- Add attachment conflict resolution
2008-12-29 06:18:41 +00:00
Dan Stillman
1d972ae92c If a tag is deleted remotely and modified locally, keep local and display warning 2008-12-27 07:24:55 +00:00
Dan Stillman
c7b2c84869 - Add automatic merging of collection and tag metadata and associated items, with warning alerts (eventually to be converted to logged notifications)
- Switch to using only keys for deleted items
- Fix various tag-related problems
- Probably other things
2008-12-27 05:42:52 +00:00
Dan Stillman
b4c0df32cc Fix one or two tag errors resulting from an uncleared cache 2008-12-26 01:10:55 +00:00
Dan Stillman
2cfcec4d8e Fix error when renaming tag to an existing tag with no associated items 2008-12-25 21:46:21 +00:00
Dan Stillman
7e5eecae6e Add 1/4-second delay to advanced search autocomplete 2008-12-24 14:57:37 +00:00
Dan Stillman
107c1bdf4b Keep focus in creator field when using two-field autocomplete 2008-12-22 09:48:25 +00:00