Commit graph

1108 commits

Author SHA1 Message Date
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
8233e54ea1 Fixes #1295, Info pane text spills out of column 2009-02-12 17:40:22 +00:00
Dan Stillman
bafd02759b Add non-English strings for deleted items folder 2009-02-12 16:18:28 +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
61e1131fc1 Temporarily removing trash icon (to avoid SVN issue with renaming) 2009-01-31 06:12:35 +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
3122339d8a Adding as new file 2008-12-29 21:03:52 +00:00
Dan Stillman
93474c1e80 This is annoying. 2008-12-29 21:02:06 +00:00
Dan Stillman
3e9437dcbd Re-copying arrow-down.gif from branch 2008-12-29 20:58:43 +00:00
Dan Stillman
72670ad446 Trying to fix another annoying SVN auth issue/bug 2008-12-29 20:57:46 +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
Simon Kornblith
f5fb1fa806 don't download snapshots when snapshot is given as a document object and automaticSnapshots preference is false 2008-12-21 18:16:31 +00:00
Dan Stillman
574e6197a2 Fixes bug in test for quoted string when value is numeric 2008-12-20 16:16:01 +00:00
Dan Stillman
9d9d4faffb Fixes #1244, duplicating changes editors into authors 2008-12-20 07:00:41 +00:00
Dan Stillman
573dea6dcd Addresses #1262, Broken pluralization with et al. + other issues
Values enclosed in double quotes now fail is-numeric test, and the double quotes are stripped on output to CSL -- if any fields actually need enclosing quotes, this could be limited to certain fields such as edition.
2008-12-20 01:18:15 +00:00
Dan Stillman
2689f92335 Fixes #1265, Year suffix disambiguation doesn't scale
Patch seems to work (tested with "2007z", "2007aa", "2007ab") -- applying to branch and trunk
2008-12-19 23:15:52 +00:00
Dan Stillman
bac79ed2ac Addresses #1262, Broken pluralization with et al. + other issues
Patch 1 from Frank -- Names using "et al." were incorrectly being considered singular
2008-12-19 22:40:09 +00:00
Dan Stillman
dbb07937f0 Fix for attachment/note tag popup not displaying in Firefox 3 if there wouldn't be enough space on screen -- now auto-adjusts, though possibly with some artifacts after closing on OS X 2008-12-17 10:14:12 +00:00
Dan Stillman
b5f3448304 Fixes #1253, Note export generates invalid RDF
In Item.toArray(), use toArray() for descendants as well
2008-12-15 05:51:35 +00:00
Dan Stillman
16f98f76e0 Disable duplication only for tagged items, not all items 2008-12-02 09:36:41 +00:00
Dan Stillman
c95ce030ba Work around createUnique() brokenness on Windows (fixed in Fx3.0.5, but that's a couple weeks off) that was causing schema upgrade errors 2008-12-02 07:50:24 +00:00
Dan Stillman
f95291af88 Fix broken doc prefs window 2008-12-01 20:51:16 +00:00
Dan Stillman
8012d08354 Not going to deal with merging locales right now 2008-12-01 08:57:46 +00:00
Dan Stillman
39fd9b55d7 Updated comments 2008-12-01 08:33:07 +00:00
Dan Stillman
727426fd4f Fix erroneous conflict after deleting an item and then deleting the collection it was in 2008-12-01 08:31:59 +00:00
Dan Stillman
faa9f2345c Update expiry date 2008-11-30 20:22:13 +00:00
Dan Stillman
337b16361a Merge [3617-3838] from branch to trunk 2008-11-30 20:18:48 +00:00
Dan Stillman
6456b6f561 Adds partial collection conflict resolution support -- items are auto-merged, and an alert is displayed. Support for collection metadata and collection hierarchy conflicts is forthcoming, and the alert will be fed to a new notifications system. 2008-11-30 19:30:15 +00:00
Dan Stillman
2a1caa7227 Missing icon from previous commit 2008-11-29 14:14:53 +00:00
Dan Stillman
49a7537fa6 Much improved storage syncing (theoretically)
Metadata sync now always runs before storage sync, and file transfers can be stopped.

Needs testing
2008-11-29 14:13:29 +00:00
Dan Stillman
e161f19272 Clarify the 990 2008-11-26 08:42:45 +00:00
Dan Stillman
5d7b37a157 Account for other bound parameters in statement when setting max 2008-11-26 07:45:55 +00:00
Dan Stillman
d387f99710 Merge r3824 to trunk 2008-11-25 21:54:08 +00:00
Dan Stillman
5cd824136e Fix translator error reporting on trunk (inRepository property was missing on Zotero.Translator objects) 2008-11-25 17:13:57 +00:00
Dan Stillman
6078eb1d59 Update schema migration comments 2008-11-24 09:12:49 +00:00
Dan Stillman
ca30ea2ff8 Register difference between tags if linked items change 2008-11-21 08:32:49 +00:00
Dan Stillman
9e8d822b90 Fix another problem with Sakai's href attribute handling 2008-11-20 21:29:54 +00:00
Dan Stillman
c942afb2b0 Until it's fixed, add a proper error message when trying to duplicate an item 2008-11-18 00:06:36 +00:00
Dan Stillman
7c081170d5 Fix error replacing non-empty export directory 2008-11-16 13:36:59 +00:00
Dan Stillman
63c90f2ae7 Display error icon and message on sync attempt if browser is offline 2008-11-15 21:01:23 +00:00
Dan Stillman
e45ee36117 Fix invalid progress values due to Firefox bug (fixed in 3.1) 2008-11-15 20:26:36 +00:00
Dan Stillman
6a9b372e66 Fixes #1204, Automatic proxy code gets stuck in a loop 2008-11-15 16:35:02 +00:00
Dan Stillman
3d615f2b9c - Fix errors when auto-saving proxies with transparent setting off (due to proxy variable not being set)
- Fixed display of proxy settings validation failure window
- Tweaked validation failure window title
2008-11-14 19:15:18 +00:00
Dan Stillman
03a0cced19 New expiry date 2008-11-14 18:39:06 +00:00
Dan Stillman
cdcb7533b2 Apply the rest of r3775 to trunk 2008-11-14 17:20:21 +00:00