Commit graph

209 commits

Author SHA1 Message Date
Sean Takats
73b2e03763 Fixes https regex problems. 2009-05-28 15:52:34 +00:00
Dan Stillman
47be01a6ae Handle missing rel attribute on matching <link> in DC prefix search 2009-05-27 08:12:20 +00:00
Dan Stillman
3f9e9d0cf4 Look for explicit Dublin Core prefix, in the unlikely event that any pages don't use "DC." 2009-05-27 08:07:16 +00:00
Dan Stillman
d21494ad2d Pushed updated RDF and Embedded RDF 2009-05-27 05:27:36 +00:00
Dan Stillman
3fa10bc0fc Embedded RDF improvements
- Don't skip save if title and type not set via META tags (just use doc title)
- Include access date
- Save abstract from DC.Description.Abstract
- Save date from DC.Date.Issued
- Save dcterms.issued to date field in all item types (and not just in patents)
2009-05-27 05:01:24 +00:00
Matt Burton
c4f59b07a6 Fixes #1452, generic translator for Highwire 2.0 sites. 2009-05-26 19:06:48 +00:00
Matt Burton
8113589fcc Adding Rintze's patch 2009-05-26 14:08:24 +00:00
Matt Burton
85876c36a6 Added logic to check if DOI exists before adding to JSTOR item. 2009-05-21 18:33:07 +00:00
Dan Stillman
a150c134bc Pushed updated zotero.org (temporarily hide icon on private groups) 2009-05-20 21:08:07 +00:00
Matt Burton
859b1df6c9 Fixes #1451, fixed bug where detect web triggered on private groups 2009-05-20 21:04:39 +00:00
Dan Stillman
b3f9386164 Pushed EBSCOhost 2009-05-19 16:01:20 +00:00
Matt Burton
d0675e7a5e comment debug, fixed lastUpdated and temp stop gap on item.attachments, RIS tries to grab the UR and attaches a login page 2009-05-19 02:54:43 +00:00
Matt Burton
0f2ad9bed9 Adding Rintze's changes. Fixes #1299, #818, #963 2009-05-19 01:49:58 +00:00
Matt Burton
6006b597b1 quick fix for EBSCOhost, no PDF support and there are async issues...but it works 2009-05-19 01:49:48 +00:00
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
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