Commit graph

512 commits

Author SHA1 Message Date
Simon Kornblith
c351486ed2 remove debug statement 2009-04-09 05:55:27 +00:00
Simon Kornblith
7f8fe0ce78 restore toolbars properly when Zotero pane is closed 2009-04-09 05:54:05 +00:00
Simon Kornblith
f5b2f77a3a hide toolbars when Zotero is in fullscreen mode. this doesn't look quite right on OS X, but I can't figure out how to fix it. 2009-04-09 05:28:41 +00:00
Simon Kornblith
593d2958f0 actually pass nonblocking parameter as a flag 2009-04-04 23:05:45 +00:00
Dan Stillman
f9f6e5340c Add lastName search condition (API only, not in the search UI) 2009-04-04 20:52:44 +00:00
Simon Kornblith
24654a8bce shouldn't actually need bibliography-Integration at all 2009-04-04 07:10:29 +00:00
Simon Kornblith
41d8b7b341 -addresses #1213, Bibliography customization broken (change to plug-in also needed)
-uses blocking IO to send integration responses to fix problems with very large documents on slow machines
2009-04-04 07:07:55 +00:00
Dan Stillman
ff5631d9ec Addresses #1239, Add options to Locate button
When an item has a URL, turn Locate button into a menu and allow lookup via Wayback Machine

Support for additional user-configurable providers is forthcoming
2009-03-31 09:12:24 +00:00
Dan Stillman
96f836f58d Fix "attachmentSyncState can only be set for snapshots and imported files" error 2009-03-26 20:40:23 +00:00
Dan Stillman
240637e044 Fix "attachmentPath cannot be set for link attachments" CR error 2009-03-26 19:31:37 +00:00
Dan Stillman
d78c31eb2b Fix URL-linking regexp a bit 2009-03-24 03:55:56 +00:00
Simon Kornblith
1f0d24ceef - use DOIs for PDF metadata lookup when available (needs testing)
- fix accessibility of createContextObject in Zotero.Utilities
- improved CrossRef translator
2009-03-24 02:08:08 +00:00
Simon Kornblith
9ca461c59b Proxy system overhaul
- Only one preference for recognizing proxies for transparent redirection
- Blacklists sites and http://%h/%p
- Fixes to EZProxy

This will clear all existing proxies from Zotero
2009-03-23 19:55:57 +00:00
Dan Stillman
5aae6bc9ce Hack to wrap URLs and DOIs in HTML bibliography output in <a href=""> links -- regexps might need to be improved 2009-03-21 20:08:57 +00:00
Elena Razlogova
20a42741cf Addresses #842, Mappings required
Addresses #1408, Incorect format for legal case citations in CMS note without biblography style
On the trunk, maps court in case item type to authority, a new CSL variable
2009-03-20 12:40:37 +00:00
Dan Stillman
78365a095f Add Zotero.Utilities.processAsync(sets, callbacks, onDone) -- this can be used from translators to make it easier to correctly chain sets of asynchronous callbacks, since most translators that require multiple callbacks currently do it incorrectly.
This function definition will be automatically prepended to translators sent to older clients from the repo.
2009-03-19 22:25:00 +00:00
Dan Stillman
d5a092da42 Don't exec pdfinfo if pdfMaxPages is 0 2009-03-17 20:36:47 +00:00
Dan Stillman
551c8a36a7 Fix upgrade error "counts[0] is undefined" (or "counts[1]") 2009-03-17 08:23:45 +00:00
Dan Stillman
0df7f4afd4 Always show "Reindex item", even if item is indexed, and flicker the refresh icon briefly on click to show that it's doing something 2009-03-17 07:59:41 +00:00
Dan Stillman
468cd16534 Fix error: "[QUERY: DELETE FROM creatorData WHERE creatorDataID=?] [ERROR: constraint failed]" 2009-03-16 07:09:30 +00:00
Dan Stillman
4e7dfbad42 Proper locale-based sorting of saved searches 2009-03-15 22:58:44 +00:00
Dan Stillman
e2dc73c75b Don't copy item storage folder to orphaned-files every time the file changes via storage sync 2009-03-15 17:39:09 +00:00
Dan Stillman
6dbcc678c8 Fix a possible error purging orphaned storage server files if WebDAV server strips trailing slash 2009-03-15 16:07:52 +00:00
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
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
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