Commit graph

395 commits

Author SHA1 Message Date
Dan Stillman
a12a6bc875 Fix zotero.org translator URL and update timestamp 2009-05-14 20:53:27 +00:00
Matt Burton
120f850045 #zotero.org.js
adding 2.0 site changes to translator.
2009-05-14 20:23:49 +00:00
Dan Stillman
91459f95f7 2.0b3 megacommit
- Support for group libraries
- General support for multiple libraries of different types
- Streamlined sync support
  - Using solely libraryID and key rather than itemID, and removed all itemID-changing code
  - Combined two requests for increased performance and decreased server load
  - Added warning on user account change
  - Provide explicit error message on SSL failure
- Removed snapshot and link toolbar buttons and changed browser context menu options and drags to create parent items + snapshots
- Closes #786, Add numPages field
- Fixes #1063, Duplicate item with tags broken in Sync Preview
- Added better purging of deleted tags
- Added local user key before first sync
- Add clientDateModified to all objects for more flexibility in syncing
- Added new triples-based Relation object type, currently used to store links between items copied between local and group libraries
- Updated zotero.org translator for groups
- Additional trigger-based consistency checks
- Fixed broken URL drag in Firefox 3.5
- Disabled zeroconf menu option (no longer functional)

Developer-specific changes:

- Overhauled data layer
  - Data object constructors no longer take arguments (return to 1.0-like API)
  - Existing objects can be retrieved by setting id or library/key properties
  - id/library/key must be set for new objects before other fields
- New methods:
  - ZoteroPane.getSelectedLibraryID()
  - ZoteroPane.getSelectedGroup(asID)
  - ZoteroPane.addItemFromDocument(doc, itemType, saveSnapshot)
  - ZoteroPane.addItemFromURL(url, itemType)
  - ZoteroPane.canEdit()
  - Zotero.CollectionTreeView.selectLibrary(libraryID)
  - New Zotero.URI methods
- Changed methods
  - Many data object methods now take a libraryID
  - ZoteroPane.addAttachmentFromPage(link, itemID)
- Removed saveItem and saveAttachments parameters from Zotero.Translate constructor
- translate() now takes a libraryID, null for local library, or false to not save items (previously on constructor)
- saveAttachments is now a translate() parameter
- Zotero.flattenArguments() better handles passed objects
- Zotero.File.getFileHash() (not currently used)
2009-05-14 18:23:40 +00:00
Simon Kornblith
5dcdc6a0b8 remove extraneous DOI debug code 2009-05-06 07:59:25 +00:00
Dan Stillman
6802b70036 Pushed Wiley with processAsync() prepended (earlier today) 2009-05-06 02:18:43 +00:00
Dan Stillman
18101f12ae Pushed allAfrica.com, Neural Information Processing Systems, Primo, JSTOR, Wiley InterScience, MODS, Euclid, University of Chicago, ACM, Journal of Machine Learning Research, IEEE Xplore 2009-05-05 07:18:53 +00:00
Simon Kornblith
227e393922 don't let DOI translator hang some page loads 2009-05-04 20:58:58 +00:00
Matt Burton
0f649d6608 adding billi's target changes 2009-05-04 17:46:52 +00:00
Elena Razlogova
66ca8611c9 Forgot to fix proxy url in Chicago Journals translator 2009-05-02 11:50:35 +00:00
Elena Razlogova
c4dc36f9e8 Fixes #1447, chicago journals proxy pdf download is broken 2009-05-02 11:33:06 +00:00
Matt Burton
b5974570e8 Fixed DOI regex & added nicer fail message for crossref when DOI does not exist. 2009-04-29 18:08:34 +00:00
Matt Burton
8b5fbe7e96 Fixed conditional for pages with multiple DOIs 2009-04-29 18:05:48 +00:00
Dan Stillman
dc852d8ace Push Sudoc (and PubMed, for real this time) 2009-04-28 09:13:39 +00:00
Matt Burton
44d7eadeac Adding Guy's Euclid.js to the repo 2009-04-27 23:13:01 +00:00
Dan Stillman
493588aac7 Pushed PubMed with fixed pagination fix to repo 2009-04-27 19:34:07 +00:00
Sean Takats
a02301cb15 Updates Firefox maxVersion to 3.5b5pre and deletes problematic Persée translator 2009-04-24 17:28:24 +00:00
Dan Stillman
7a195b8388 Pushed updated PubMed translator with changes from Rintze 2009-04-23 17:56:48 +00:00
Sean Takats
5ed230e8c4 Tweak zotero.org regex for SSL 2009-04-20 19:20:20 +00:00
Matt Burton
2d6739470e Fixes #1174, now ignoring 955 field from marc records 2009-04-17 19:45:35 +00:00
Simon Kornblith
34cd1103a0 - merge WorldCat translators and fix search (for ISBNs, at least)
- make lookup button
- podcast icon is now ipod_cast.png and radioBroadcast icon is now transmit.png, both from famfamfam
2009-04-15 09:15:58 +00:00
Matt Burton
de67100f20 fixing date, adding support for subjects as item tags and call numbers 2009-04-12 16:58:22 +00:00
Matt Burton
a4d973b273 Merge branch 'primo' 2009-04-12 16:34:55 +00:00
Matt Burton
2cf9350204 Merge branch 'nla' 2009-04-12 14:59:11 +00:00
Matt Burton
a22fb4e3d2 fixed the hardcoded pdf url, from schwarzjr in the forums. 2009-04-12 13:32:25 +00:00
Simon Kornblith
dad84abe97 - adds "Lookup by Identifier..." option under add item. currently works for DOIs and PMIDs, but not ISBNs, since our Open WorldCat search translator is broken. with a working ISBN search translator, ISBNs would work, too.
- fixes NCBI PubMed translator type (should be 12, since it's a search translator as well as a web translator)
- fixes a bug passing multiple translators to translate.setTranslator()
- increases priority of CrossRef translator
- makes sync animated arrow progress indicator into a general CSS class (zotero-small-progress-indicator) so that the same progress indicator can be used for lookup. if this is confusing, we could use something else instead.
2009-04-11 04:00:31 +00:00
Matt Burton
0eebae010d Merge branch 'mods' 2009-04-09 20:34:58 +00:00
Matt Burton
e92b46a46c Fixes #1424, added logic to handle MODS languageTerms with @type=text. For instances with multiple languages separating them with a semicolon. 2009-04-07 18:28:23 +00:00
Matt Burton
51a019e753 Fixes #1425, ignoring dates & termsOfAddress so they don't overwrite the author name. 2009-04-07 18:28:12 +00:00
Matt Burton
d4a7e5bd37 updating Sudoc.js with sylvain's changes 2009-04-07 15:53:36 +00:00
Simon Kornblith
19ff243b92 first pass at a generic DOI translator. works on Annual Reviews article pages, which we don't currently have a translator for. needs more testing. 2009-04-07 15:50:37 +00:00
Dan Stillman
2480b04f10 Fix globally scoped variable and change match(...).join("") to match(...)[0] 2009-04-07 01:10:03 +00:00
Matt Burton
414680d7be removing unnecessary debug 2009-04-07 00:53:55 +00:00
Matt Burton
92a29a7ad5 adding pagination patch from Rintze 2009-04-07 00:53:51 +00:00
Matt Burton
5a7f3b1500 adding abbriviation patch from Rintze 2009-04-07 00:53:46 +00:00
Matt Burton
aa380262e0 Adding patch to handle multi-month dates 2009-04-07 00:53:40 +00:00
Matt Burton
12229b3509 PDF url fixes from nxmehta in the forums 2009-03-31 23:21:26 +00:00
Matt Burton
313bbd246d Adding translators from dev-list 2009-03-30 01:28:23 +00:00
Matt Burton
28281e5fe6 cleaned up broken creator parsing code. Setting creator to a single field instead 2009-03-25 16:44:12 +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
Dan Stillman
bc55af5b99 Updated Wiley InterScience translator that uses the new Zotero.Utilities.processAsync() function 2009-03-19 22:26:20 +00:00
Matt Burton
303ba34554 Addresses 1412, yet again. Full text pages don't have citation link, load abstract from processDocuments...there seems to be a bug with the dialog box when processDocuments has only one item 2009-03-19 18:15:57 +00:00
Dan Stillman
287c72c0dd Pushed Cornell LII 2009-03-19 17:36:40 +00:00
Matt Burton
d842e6e41f Some entries the AUTHOR meta tag content is empty, this makes zotero unhappy, adding a default 2009-03-19 17:32:07 +00:00
Dan Stillman
d03625c271 Pushed Journal of Vision, Royal Historical Society, SIRSI, ProMED, Primo, JSTOR 2009-03-19 17:18:02 +00:00
Matt Burton
c11d76a320 comment cleanup & date change 2009-03-19 16:36:30 +00:00
Matt Burton
51ee2b67c3 Fixes #1412, this fixes the hanging popup for single items....there is still the potential for multiple item duplication because of request ordering... 2009-03-19 16:31:43 +00:00
Matt Burton
b7abe24055 Fixes #1412, not getting errors as reported, but added the missing Zotero.wait() 2009-03-19 15:59:13 +00:00
Matt Burton
ddc028ecb2 Adding the contributed PROMED translator to the repo 2009-03-15 00:25:13 +00:00
Matt Burton
e2fb31dfc5 Adding to repo, not ready for push...having issues accessing DOM from processDocuments 2009-03-15 00:17:05 +00:00
Dan Stillman
3e6b6fdf0b zotero.org translator -- so meta 2009-03-10 05:51:13 +00:00