Commit graph

2462 commits

Author SHA1 Message Date
Dan Stillman
b1c3a10f61 Revert translator JSON length limit, since some are at least 2.5K 2010-04-28 22:00:48 +00:00
Dan Stillman
c558111269 - Add a Zotero.wait() to translator caching, which I may or may not have tried before and which may or may not improve Firefox responsiveness during translator caching
- Only check first 1024 chars of translator file for JSON

Not going on the 2.0 branch
2010-04-28 20:43:06 +00:00
Dan Stillman
14b62e27e2 Missed file from previous commit 2010-04-27 08:04:15 +00:00
Dan Stillman
453fed88bd Zotero Commons updates:
- Store one item per IA bucket, with attachments stored as objects
- Use proper mediatype field based on Zotero item type
- Commons list is now pulled dynamically based on RDF stored at IA, without need for corresponding local item (which may have been deleted, etc.)
- Once available, OCRed PDFs can be pulled down by right-clicking on Commons and selecting Refresh
- Downloaded OCRed PDFs are now named the same as the existing attachment, with "(OCR)" appended
- The relations table is used to link downloaded OCRed PDFs to the IA file, so the downloaded file can be renamed without triggering another download
- The Commons view is marked for automatic refresh after an item is uploaded
- Added some progress notifications, though more are probably needed
- Other things

Also:

- Added Zotero.File.getBinaryContents(file)
- Erase an item's relations when the item is deleted, and purge orphaned ones
- Zotero.URI.eraseByPathPrefix(prefix) no longer prepends 'http://zotero.org' (which has been moved to Zotero.URI.defaultPrefix)
- New function Zotero.URI.eraseByURI(prefix)

Known Issues:

- Slow (some IA changes should be able to speed it up)
- Identifier format is likely temporary
- Sometimes it stops during setTimeout() calls for no apparent reason whatsoever
- Didn't test items with multiple attachments
- Not sure if Commons view will auto-refresh if you switch to it before the upload is done
- IA translator not yet updated
- Deleting items not supported by IA
- Date Added/Date Modified don't show up properly in Zotero for Commons items
2010-04-27 08:03:08 +00:00
Dan Stillman
a678cfa5b9 Add |max| parameter to Zotero.ID.getBigInt() 2010-04-27 07:29:03 +00:00
Dan Stillman
a2311bd52f Turn "Zotero.DB.transactionDate retrieved with no transaction" in Zotero.DB into debug output rather than a logged error 2010-04-27 07:28:30 +00:00
Dan Stillman
80aa50276e Correct parameter order in comment for Zotero.Utilities.arrayDiff() 2010-04-27 07:24:09 +00:00
Simon Kornblith
139d39d30e - correct BIBO schema URI
- use Common Tag Ontology for tags
2010-04-20 23:03:23 +00:00
Dan Stillman
269a58eddc Pushed Frank's LexisNexis fix 2010-04-19 05:38:40 +00:00
Dan Stillman
eaff9519a7 Avoid some errors in debug output in report generation 2010-04-12 19:42:24 +00:00
Dan Stillman
512ba9c305 Pushed PubMed 2010-04-12 19:26:51 +00:00
Dan Stillman
715584dca1 Show only collections and saved searches from current library when creating a saved search 2010-04-12 15:33:14 +00:00
Dan Stillman
3014263c89 Fix a couple issues that could cause an error when emptying the trash 2010-04-10 20:22:21 +00:00
Dan Stillman
e17bdd85e9 Open support/documentation link in new tab rather than new window 2010-04-09 16:47:58 +00:00
Dan Stillman
0714867e6a Pushed updated PubMed 2010-04-08 13:07:57 +00:00
Dan Stillman
ed4546a56f Adjust minVersion on ISI WoK 2010-04-01 22:54:20 +00:00
Dan Stillman
fb9f9ba4d5 Pushed ISI WoK and removed unnecessary line 2010-04-01 22:47:06 +00:00
Sean Takats
9bd8c1b1f7 Adds support for CABI database to ISI Web of Knowledge. Translator now uses retrieveDocument and retrieveSource functions. 2010-04-01 22:04:01 +00:00
Dan Stillman
bd7ff9c2c6 Fix upgrade error for custom styles with invalid ids 2010-04-01 18:01:11 +00:00
Dan Stillman
b31e47c504 Zotero Commons updates:
- Fixed syncing buckets from IA
- Moved XMLHTTPRequest send() and sendAsBinary() into _createAuthenticatedRequest() to avoid manual req.readyState checking and provide better debug output
- Show error message if no parent items were dragged into bucket
- Better alerts and debug output for problems
- Removed '_' prefix from non-private methods and properties
- A few other small tweaks
- More coming
2010-03-31 08:59:28 +00:00
Matt Burton
6a846a6557 Adding Gracile's 11feb10 changes. 2010-03-29 15:01:57 +00:00
Matt Burton
466cf794e1 Adding Sylvain's 15mar10 changes. 2010-03-29 15:01:48 +00:00
Matt Burton
1caa7ac359 Adding Sylvain's 20feb10 changes. 2010-03-29 15:01:40 +00:00
Matt Burton
7cfa4e8e3a Adding Jonas's 03mar10 new translators. 2010-03-29 15:01:31 +00:00
Matt Burton
c63ed29574 Adding 09mar10 update. 2010-03-29 15:01:20 +00:00
Matt Burton
88d987c6ff Adding new translators from Frank. 2010-03-29 15:01:08 +00:00
Matt Burton
ba381943e1 Adding Avram's 22mar10 changes. 2010-03-29 15:00:39 +00:00
Fred Gibbs
9212fbacf3 enable refresh and remove Commons buckets 2010-03-29 03:49:28 +00:00
Fred Gibbs
a5eba7fb38 enable refresh and remove Commons buckets 2010-03-29 03:49:07 +00:00
Fred Gibbs
8488d200c7 enable item delete, uploading RDF and ZIP files, fetch OCR'd PDFs, respecify metadata 2010-03-29 03:47:04 +00:00
Fred Gibbs
b633588fe2 delete items from Zotero Commons 2010-03-29 03:44:53 +00:00
Fred Gibbs
44999580e6 refresh Zotero Commons buckets 2010-03-29 03:44:26 +00:00
Fred Gibbs
5004450791 support for scraping Zotero items 2010-03-29 03:43:06 +00:00
Simon Kornblith
99690742f9 support for standalone Zotero 2010-03-28 07:21:17 +00:00
Simon Kornblith
78a37e7dbc Fix broadcast types 2010-03-27 01:02:50 +00:00
Simon Kornblith
26d13c4a2c Support tags in Bibliontology RDF and remove debug code 2010-03-27 00:27:21 +00:00
Dan Stillman
7fde1766f2 Fix extreme edge case "constraint failed" upgrade error 2010-03-24 09:59:52 +00:00
Dan Stillman
fece9cf2ce - Hide error from progress window when saving from translators
- Don't open page twice when clicking link from progress window
2010-03-23 19:40:31 +00:00
Dan Stillman
1ddae811eb Update Ovid regexp 2010-03-23 19:11:00 +00:00
Dan Stillman
a615571caa Fix startup error from previous commit 2010-03-23 19:09:47 +00:00
Dan Stillman
30e38a1b24 Switch to what could plausibly be a more efficient translator initialization method, though it doesn't appear to make any difference -- but this is where the unresponsive script warning was appearing. I suspect the actual problem has to do with disk caching, since I've gotten the warning to appear only by deleting 'translators' to trigger translator installation, after which translator caching takes at least 10 times longer on Windows.
(Also reordered some code to reduce indents)
2010-03-22 07:01:32 +00:00
Simon Kornblith
9576887080 lower Bibliontology priority to fix import issues 2010-03-21 16:18:48 +00:00
Simon Kornblith
1d4c2715f1 draft Bibliontology translator 2010-03-21 06:13:28 +00:00
Dan Stillman
665e1ec826 Update trunk version number to 2.1a1 2010-03-21 05:58:31 +00:00
Dan Stillman
91956462e5 Fixes #1635, UI glitches during syncing
New property Zotero.suppressUIUpdates is now set while processing sync data
2010-03-18 07:06:38 +00:00
Dan Stillman
a025a2d46a - Replace "Report Error" with "Show File" in read-only file sync error dialog, and show full file path
- Fix endless sync icon spinning after read-only file sync error
- Adjust spacing of sync error icon on Windows
2010-03-17 07:59:43 +00:00
Dan Stillman
82e3cfd288 Disable Reset feedback, since it causes endless sync icon spinning if the pref window is closed 2010-03-17 07:55:36 +00:00
Dan Stillman
5e1c1bd5b3 Remove Zotero.wait() from previous commit 2010-03-16 23:57:26 +00:00
Dan Stillman
3bb221b5e3 Add Zotero.wait() to file size calculation during sync to attempt to avoid unresponsive script warning 2010-03-16 22:45:43 +00:00
Dan Stillman
65f493471f Work around an SQLite limit that can cause a 1.0->2.0 upgrade error in very rare cases (in code from July 2008) 2010-03-15 07:16:05 +00:00