Commit graph

243 commits

Author SHA1 Message Date
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
Dan Stillman
18c1287dd5 Fix WorldCat to use the proper method to save multiple items (and to have a Zotero.done() call) 2009-03-06 20:40:04 +00:00
Matt Burton
c781705793 Fixes #1400 RHS has updated their XML format, also added support for bookSections 2009-03-04 01:57:09 +00:00
Matt Burton
4ac98e19a3 Addresses #1202, First cut at the Primo translator, probably needs some wider testing on different primo installations (currently tested with NYU, Emory and UMN). Also probably some further data cleaning required. 2009-03-02 15:59:57 +00:00
Matt Burton
cc31544f6e Fixing lastUpdated 2009-02-26 19:47:27 +00:00
Matt Burton
1211a0fcd0 adding more checks for Dutch language fields from Hicham's code 2009-02-26 19:46:00 +00:00
Matt Burton
a01a582634 removing a noisy debug 2009-02-26 19:08:15 +00:00
Matt Burton
6003e146b8 Adding preliminary support for Dutch, fixing some field cleanup 2009-02-26 19:07:39 +00:00
Matt Burton
40e02e0ea8 Fixes failure on some search pages. jstor ids (JID) sometimes contain the letter "c" at the beginning causing a regex to fail. I added some more robust JID handling to the regex 2009-02-26 04:03:11 +00:00
Dan Stillman
eaf45ed7c7 Pushed YouTube, University of Chicago, Dynix, ISI Web of Knowledge 2009-02-25 07:15:36 +00:00
Matt Burton
40ce69590e Addresses #1305, fixes fail on single items, fail on search is result of funky URL handling, needs some thorough investigation 2009-02-22 19:05:15 +00:00
Matt Burton
1e2a6f5473 Fixes #1345 Commented out the techcrunch .flv download since it no longer functions, fixed the multiple results xpaths 2009-02-21 23:37:33 +00:00
Dan Stillman
03826c4254 Pushed Google Scholar 2009-02-21 09:29:11 +00:00
Sean Takats
443cf77233 Interim fix for Google Scholar. Needs a complete overhaul. 2009-02-21 07:27:40 +00:00
Matt Burton
351a820d34 Fixes #1329 Added a DOI to zotero item 2009-02-11 01:41:45 +00:00
Matt Burton
3254b13a4e Fixes #1330 duplicated the toc logic and tweaked xpath to work with search results page. 2009-02-11 01:30:54 +00:00
Matt Burton
c1bff6e244 Fixes #968, removing the HeinOnline translator they have included COinS spans 2009-02-10 16:35:46 +00:00
Dan Stillman
99bef356ca Updated ARTstor and National Library of Australia (new catalog) to use JSON.parse() instead of eval() -- this will only work in Firefox 3.1, but JSON parsing isn't otherwise available in the sandbox in 1.0.9
Pushed to clients
2009-02-08 22:11:12 +00:00
Dan Stillman
22a5dac26d Pushed Google Books 2009-02-03 05:46:23 +00:00
Sean Takats
2ede93516e Fixes Google Books for www.google.com/books as well as books.google.com/books 2009-02-03 03:56:01 +00:00
Dan Stillman
6709555dd9 Pushed BibTeX (Fx3 clients only) 2009-01-28 18:59:54 +00:00
Sean Takats
702b747303 BibTeX author delimiter ("and") is now case insensitive on import. 2009-01-28 18:42:20 +00:00
Dan Stillman
c0b8f38620 Pushed Flickr, ACM, ACS Pubs, JSTOR, Sage Journals, arXiv.org, SSRN 2009-01-28 18:11:33 +00:00
Matt Burton
86aac3ca23 Fixes #1310, fixed a bunch of structural changes to the flickr html, included handling for situations where there is no photo title 2009-01-28 17:35:31 +00:00
Matt Burton
d5989a3d1e Addresses #1242, incorporated santaworts code, still some issues with PDF download 2009-01-15 03:34:39 +00:00
Matt Burton
9568bf6b6f cleaning up whitespace 2009-01-14 17:33:14 +00:00
Matt Burton
2bcf3f2c98 Fixes #1288, cleans PDF urls, also found another bug in grabbing links from search results 2009-01-14 16:39:53 +00:00
Dan Stillman
5eecc5d32f Pushed updated The Economist translator that fixes single-page saves, while we figure out what's wrong with the processDocuments() call 2009-01-12 23:40:06 +00:00
Dan Stillman
cf7f7d82d4 Fixed (what appeared to be) two obvious typos in the DRA translator -- still doesn't work for search results on http://umanitoba.ca, at least, but now works for single pages
Pushed updated BibTeX with 1.0.9 Unicode fix
2009-01-12 18:25:36 +00:00
Matt Burton
70beccfc30 Updated with Eli's patch 2009-01-12 03:55:55 +00:00
Dan Stillman
3c00572990 Updated version from dev list 2009-01-11 02:17:36 +00:00
Dan Stillman
edfc196e2e Frank Bennett's Nagoya University OPAC translator -- won't really work until the frame handling patch is checked in
Not yet pushed
2009-01-11 02:09:34 +00:00
Matt Burton
dcca4a9f65 Addresses #1280 Updating LastUpdated for the push 2009-01-10 18:22:10 +00:00
Matt Burton
79ad1d80ad Fixes #1282 doc.location.href was null in the doGet callback, using the previously set variable snapshot. Also changed cleanString() to trimInternal() 2009-01-10 18:15:04 +00:00
Dan Stillman
7307fcdd22 Pushed updated Wiley 2009-01-10 04:40:35 +00:00
Dan Stillman
bd171203cc Fixes #1243, Wiley InterScience search results pages fail with XPath error
Thanks to santawort for regexp tweak.

Also fixes the same PDF being saved for multiple items
2009-01-10 04:37:17 +00:00
Dan Stillman
32c04d5eb0 Pushed The Telegraph and Wiley InterScience 2009-01-09 21:11:47 +00:00
Dan Stillman
3502bac60c Fix translators with incorrect Zotero.done() calls, in preparation for change that will require it
Not being pushed to 1.0 clients
2009-01-08 08:28:59 +00:00
Dan Stillman
b2ff4ab16a Fixes #1281, Telegraph.co.uk translator binds to incorrect URL 2009-01-08 08:11:05 +00:00
Dan Stillman
f92440cc12 Fix a synchronicity issue with Wiley InterScience (in which the same item was saved multiple times instead of different items), though there's still an issue with the popup window closing early that needs to be addressed 2009-01-07 19:01:59 +00:00
Matt Burton
f589f6c3e3 Fixes #1280 Added code to strip out the version number post-pended onto the ID when present. 2009-01-07 15:48:22 +00:00
Matt Burton
adc3413d84 Addresses #1281 Adding the Telegraph translator to the repo 2009-01-07 15:16:53 +00:00
Dan Stillman
7f5b01b195 Pushed Optical Society of America 2009-01-06 21:01:52 +00:00
Sean Takats
1fb948d148 Adds billi's second patch to Optical Society of America translator and corrects name 2009-01-06 20:53:11 +00:00
Sean Takats
815877a330 Applied billi's patch from the forums to Optical Society of America translator 2009-01-06 16:31:41 +00:00
Dan Stillman
fd87d23183 Allow for 'autocomplete="off"' attribute in Export Manager in EBSCOhost translator
Pushed EBSCO, re-pushed RDF and Zotero RDF to force updates to some clients

BibTeX not yet pushed
2009-01-05 22:06:08 +00:00
Matt Burton
0b2b62b996 Addresses #1145 updated translator to work with SSRN html, TODO: PDF import 2008-12-31 05:40:08 +00:00
Dan Stillman
dad0b3125f Fix UTF-8 output in BibTeX translator in 1.0.9 (not yet pushed) 2008-12-29 23:57:41 +00:00
Dan Stillman
403663664c Pushed new PNAS translator 2008-12-27 20:49:59 +00:00
Matt Burton
62dbddc044 Adding PNAS translator back into repo 2008-12-27 20:42:43 +00:00
Dan Stillman
1a927fd95a Trying to fix an SVN authentication problem due to the way this way moved 2008-12-27 18:54:39 +00:00
Matt Burton
b3cca1f60e Moved "Highwire 2.0" out of the label and into a comment 2008-12-27 06:25:16 +00:00
Matt Burton
7e73cc7b93 removing old PNAS file 2008-12-27 06:11:17 +00:00
Matt Burton
de78070b1a Modified PNAS name to indicate HighWire 2.0 2008-12-27 06:10:16 +00:00
Matt Burton
4a85179ad0 added support for the PNAS Collections 2008-12-27 06:07:14 +00:00
Matt Burton
104d39bfa6 Fixes #1170 Adding PNAS translator 2008-12-26 18:43:27 +00:00
Dan Stillman
1f18cc8275 Missed from previous commit 2008-12-22 19:47:39 +00:00
Sean Takats
2c8e8670f3 Fixes Project Muse PDF download. 2008-12-22 19:39:31 +00:00
Elena Razlogova
0127d6b9dd Forgot to change lastUpdated in Ancestry.com 2008-12-18 14:29:57 +00:00
Elena Razlogova
9a07d12cdb Fixes Chicago translator to work with proxies, Ancestry.com to download from list view 2008-12-18 14:28:21 +00:00
Dan Stillman
0f990781f1 Fixes #1219, Increase BibTeX read buffer and read only initial 1MB
A 1.5MB RIS file now goes through BibTeX detection in about 3 seconds instead of...longer. I'm not sure the limit really needs to be 1MB, either.
2008-12-16 23:43:50 +00:00
Dan Stillman
6da81257f6 Pushed ScienceDirect and ERIC 2008-12-15 05:26:25 +00:00
Matt Burton
c6491fa6a2 Fixes #1226, error in the xpath that determined if page was single or multiple 2008-12-15 02:42:40 +00:00
Matt Burton
1dd85f3808 Addresses #1256, testing the ticketing system 2008-12-15 01:28:49 +00:00
Matt Burton
16a3f38f84 Fixes #1256: ScienceDirect fails on individual items
fixed the lastUpdated
2008-12-15 01:12:39 +00:00
Matt Burton
3cb7b3d174 Fixes #1256, now using advertisements to determine guest/free vs paid access (w/ pdfs). Also fixed bug with attachment handling when there is no PDF available. 2008-12-15 01:00:27 +00:00
Dan Stillman
cca5bc3d35 Pushed NCBI PubMed and Ancestry.com US Federal Census 2008-12-15 00:22:24 +00:00
Elena Razlogova
6be11dc141 Adapts Ancestry.com translator to new urls 2008-12-13 20:43:58 +00:00
Matt Burton
1589c5be2c forgot to update lastUpdated 2008-12-12 22:49:47 +00:00
Matt Burton
7230cc24c0 Fixes #1250: Changed E4X to use an attribute match for DOI 2008-12-12 22:41:32 +00:00
Dan Stillman
fc71b589ff Re-push Bibliothèque et Archives nationales du Québec to fix character encoding problem 2008-12-12 12:32:10 +00:00
Dan Stillman
615f8969ba Extended characters were lost on import from ScienceDirect
- ScienceDirect appears to use Windows-1252 for RIS files
- This does not fix character encoding with RIS file intercept
2008-12-05 08:41:04 +00:00
Matt Burton
812b440359 potential fix? registered vs guest logic was broken...now checking based on advertisements, but I'm not fully confident that it is universal, need to verify with a registered user not just through .edu proxy 2008-12-05 03:09:31 +00:00
Dan Stillman
64d4bdeb72 Pushed Wayback Machine 2008-12-03 19:00:08 +00:00
Sean Takats
e59f3d0ecb Adds preliminary Wayback Machine support. 2008-12-03 18:55:04 +00:00
Dan Stillman
d24a87c3a4 Override response charset of MARC file in Voyager translator when known to be UTF-8 or Latin1
This fixes mangled extended characters from UPenn library's "Latin1 MARC" records, which are served without a charset and detected as UTF-8 by Firefox.
2008-12-02 10:14:03 +00:00
Dan Stillman
01748aab01 Place is exported using "CP" instead of "CY" in RIS translator 2008-12-01 18:34:09 +00:00
Dan Stillman
70e5e6f7bd Addresses #1225, Pubmed Translator Fails on Search Results Pages
Pushed PubMed to repo
2008-11-27 05:14:28 +00:00
Matt Burton
10c148135a Fixes #1225: Pubmed Translator Fails on Search Results Pages
changed the xpath for article to search for <p> instead of <div>
2008-11-27 04:59:26 +00:00
Dan Stillman
37eaefbe16 Remove horizontal ellipsis mapping from BibTeX translator 2008-11-23 21:30:36 +00:00
Dan Stillman
d69fde6731 Pushed YouTube 2008-10-29 16:58:10 +00:00
Sean Takats
1019c26b97 Fixes YouTube attachments 2008-10-29 15:33:55 +00:00
Dan Stillman
4ab54e32e1 Pushed InnoPAC 2008-10-28 02:51:58 +00:00
Sean Takats
553d419192 Fixes InnoPAC for Central Michigan University 2008-10-28 02:42:17 +00:00
Dan Stillman
692cc31ad5 Addresses #755, Support Endeca OPAC
- Removed NCSU Library translator at admin's request (http://forums.zotero.org/discussion/4219/) in favor of COinS
- Set to priority 0 in repository for deletion from clients
2008-10-25 09:05:11 +00:00
Dan Stillman
5279777eab Addresses #1192, Patch to disable escaping of the URL field in BibTeX
Update timestamp
2008-10-25 08:11:47 +00:00
Dan Stillman
021d0c0d03 Closes #1192, Patch to disable escaping of the URL field in BibTeX 2008-10-25 08:10:01 +00:00
Dan Stillman
a499edbf25 Pushed IEEE Xplore 2008-10-20 17:56:31 +00:00
Dan Stillman
fe02104c9a Closes #1183, Patch for BibTeX: Preserve case, strip url and href on import, import deprecated '@conference', improved dashes
Not pushed to existing clients due to size and Fx2 DB issues, but available via Reset Translators and Styles in a dev build or 1.0.8 when it comes out
2008-10-20 10:27:22 +00:00
Dan Stillman
4d6aef5816 Closes #1181, Patch for File Download for MODS XML Import
Won't be pushed to existing clients until 1.0.8
2008-10-20 10:16:33 +00:00
Dan Stillman
14c8ce10cb Remove bc dependency in translators.zip build script 2008-09-15 06:25:44 +00:00
Dan Stillman
86678aba27 Install/upgrade support for flat-file translators and styles
Files are copied from translators.zip and styles.zip (or, for SVN installs, 'translators' and (for now) 'csl' directories) in the installation directory to 'translators' and 'styles' directories in the data directory. A build_zip file is provided for testing translators.zip (which will take precedence over a 'translators' directory) but isn't required.

The timestamp stored in repotime.txt is stored in the database and is sent to the server for updates since that time.

Updating a file in [install-dir]/translators or [install-dir]/styles automatically copies all files in that directory to the data directory.
2008-09-12 22:09:54 +00:00
Simon Kornblith
07d620e4d8 update lastUpdated 2008-09-11 23:34:30 +00:00
Simon Kornblith
ea6688e32d support science-direct.com and sciencedirect.com without a www 2008-09-11 23:34:09 +00:00
Simon Kornblith
5c6a050fa7 Fix issues in converted translators 2008-09-11 17:13:24 +00:00
Simon Kornblith
032e0439a1 commit translators as separate files, combine CiteBase translators, and modify SPIE translator 2008-09-11 04:40:07 +00:00