Commit Graph

1288 Commits

Author SHA1 Message Date
Dan Stillman
93c65ebabd scrapers.sql is no more 2008-09-12 22:13:32 +00:00
Dan Stillman
9dd11a7d1b 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
Dan Stillman
ab21ee880b Fix conflicting style URIs 2008-09-12 02:12:41 +00:00
Simon Kornblith
83b2e97b31 add hidden property to styles 2008-09-11 23:38:34 +00:00
Simon Kornblith
63d8b2d415 update lastUpdated 2008-09-11 23:34:30 +00:00
Simon Kornblith
0e6c25370d support science-direct.com and sciencedirect.com without a www 2008-09-11 23:34:09 +00:00
Dan Stillman
7b39b866aa Better startup error debugging 2008-09-11 23:19:23 +00:00
Simon Kornblith
439b45f948 use more consistent function names 2008-09-11 22:58:18 +00:00
Simon Kornblith
bbbb3c52b9 remove debug code 2008-09-11 22:07:57 +00:00
Simon Kornblith
c7111981d1 add support for parent/child relationships 2008-09-11 22:06:31 +00:00
Simon Kornblith
b6dcd201f5 implements Zotero.Styles and Zotero.Style using flat files 2008-09-11 21:29:05 +00:00
Simon Kornblith
5603b4856b better handling of invalid JSON objects 2008-09-11 20:53:15 +00:00
Simon Kornblith
416b69cc75 fix bug in translator caching 2008-09-11 20:45:01 +00:00
Simon Kornblith
2c8cc9a89c don't run translators on about: URIs 2008-09-11 19:40:38 +00:00
Simon Kornblith
81ba59111e shuffle around initialization code 2008-09-11 19:35:53 +00:00
Simon Kornblith
9185738118 use Zotero.log instead of calling consoleService.logMessage() directly 2008-09-11 18:04:56 +00:00
Simon Kornblith
6015178353 Convert translator architecture to use files
This will break translation for the dev XPI and on the trunk until Dan commits his part of this (or you copy the translators dir in SVN to the zotero dir in your profile dir)
2008-09-11 17:35:56 +00:00
Dan Stillman
7fb14b11c2 Merge r3371 to trunk 2008-09-11 17:30:40 +00:00
Dan Stillman
0b3d01a187 Zotero.getStylesDirectory(), Zotero.getTranslatorsDirectory(), and Zotero.File.createDirectoryIfMissing(dir) 2008-09-11 17:20:09 +00:00
Simon Kornblith
5baddfa66e Fix issues in converted translators 2008-09-11 17:13:24 +00:00
Simon Kornblith
51bfbbc42a commit translators as separate files, combine CiteBase translators, and modify SPIE translator 2008-09-11 04:40:07 +00:00
Dan Stillman
b32ed05971 Tweak to previous commit -- use 'this' instead of full chain 2008-09-10 16:55:45 +00:00
Dan Stillman
81bb13abd0 Clear last sync error when starting sync 2008-09-10 16:53:11 +00:00
Dan Stillman
921835b0d4 Additional debugging for unexpected status code storage error 2008-09-10 15:50:25 +00:00
Simon Kornblith
bbffc9cf29 don't show option to retrieve metadata if PDF indexer is not installed 2008-09-09 21:01:47 +00:00
Peter Baumgartner
dbb6b38fa4 typo in comment 2008-09-09 20:04:48 +00:00
Simon Kornblith
ac1e9c9353 remove cache file even when it is < 20 lines long 2008-09-09 16:03:37 +00:00
Simon Kornblith
0a52b27b1b close input stream in recognizePDF 2008-09-09 16:00:40 +00:00
Dan Stillman
b4654aa19e Closes #1166, Add http access to WebDAV 2008-09-09 15:19:22 +00:00
Dan Stillman
9bff5576de Fixes storage upload with subfolders 2008-09-09 14:15:53 +00:00
96f2e67071 Minor edit to how titles are handled. 2008-09-08 05:28:07 +00:00
042a9d7981 Adding more contributors. 2008-09-08 04:52:51 +00:00
Dan Stillman
d2b5471450 Fix error and blank CR window when an item with tags is in conflict 2008-09-05 06:03:45 +00:00
Dan Stillman
153090eb27 Additional output for debugging tag problem 2008-09-05 06:00:03 +00:00
Dan Stillman
b76ce704a3 Generate conflict if number of item creators changed 2008-09-05 05:42:59 +00:00
Dan Stillman
634d0a50c9 Merged revisions 3318-3322,3331-3332,3334 from 1.0 branch via svnmerge 2008-09-05 04:35:46 +00:00
Dan Stillman
2cdfa8f0f6 Include response text from server in error log on Invalid Response sync error 2008-09-05 04:29:34 +00:00
Dan Stillman
14a5f34bf5 Remove referrer in recognizePDF requests 2008-09-05 04:08:56 +00:00
Dan Stillman
87398c29fa Fix ACCESS_DENIED storage sync error on Windows 2008-09-05 02:42:54 +00:00
Dan Stillman
38530de475 Fix regression from r3335 that caused some creator changes not to sync 2008-09-04 22:27:51 +00:00
Dan Stillman
5cfb050e15 - Fix "Creator must be a Zotero.Creator object in Zotero.Item.setCreator()" problem -- now looks for creator data within item block when it doesn't exist locally
- Fix a couple other problems with creators that could cause changes not to be synced or to cause unnecessary conflicts
2008-09-04 20:27:41 +00:00
Rintze Zelle
70145d7a70 IEEE style:
* eliminated entry spacing (see http://forums.zotero.org/discussion/3897/?Focus=16700#Comment_16700)
* included link to online style guide
2008-09-04 06:02:19 +00:00
Dan Stillman
76e5cc8189 Better cleanup of cached data after sync error
Clearer error message for "Creator must be a Zotero.Creator object in Zotero.Item.setCreator()" problem (which isn't yet fixed)
2008-09-03 18:04:50 +00:00
Dan Stillman
9ea4f8a619 Reverting to recognizePDFcache.txt filename -- I requested the hidden filename when I thought that the cache file was stored in storage directories 2008-09-03 06:23:41 +00:00
Simon Kornblith
302de8f189 - better interface for PDF recognizer
- slightly improved PDF recognizer performance
2008-09-03 06:20:19 +00:00
Simon Kornblith
08f7156d16 fix strict mode error and add JSDoc to selectitems.js 2008-09-02 19:30:14 +00:00
Simon Kornblith
a540cd56ae Use Zotero.Items.get() instead of using new items directly after saving 2008-09-02 19:28:57 +00:00
Dan Stillman
8c798b50a9 Fixes #1157, Adding an existing tag to an item with no tags breaks Zotero 2008-09-01 17:59:25 +00:00
Dan Stillman
4d9e018ca5 Fix sync icon error handling (trunk and SP2 tag) 2008-09-01 08:09:37 +00:00
Dan Stillman
9c3c7ebbb7 Fix sync button breakage after error (trunk and SP2 tag) 2008-09-01 08:00:46 +00:00