Commit Graph

1306 Commits

Author SHA1 Message Date
Simon Kornblith
49a90a2ae6 don't install text/x-csl files as hidden 2008-09-17 04:25:18 +00:00
Dan Stillman
075b924879 Localize version header pref 2008-09-17 03:13:05 +00:00
Simon Kornblith
8933e9b34f Zotero.Style.delete -> Zotero.Style.remove 2008-09-17 00:45:14 +00:00
Dan Stillman
66f77d30ea Full comment 2008-09-16 21:44:23 +00:00
Dan Stillman
20029be8bd Handle URL-encoded 'href' values in PROPFIND request 2008-09-16 21:43:11 +00:00
Dan Stillman
ebef88143f Don't fail if SVN style symlink points to missing file 2008-09-16 21:39:02 +00:00
Dan Stillman
43f9680e50 Add X-Zotero-Version header to HTTP requests to zotero.org 2008-09-16 20:11:27 +00:00
Simon Kornblith
8c5c0bdfc6 - implement Zotero.Styles.install, refine Zotero.Style.delete, and restore functionality to Styles prefpane
- allow deletion of multiple styles simultaneously
- split Zotero.Styles/Zotero.Style and Zotero.CSL into style.js and csl.js respectively
- add Zotero.File.getBinaryContents for binary-safe file reading
- add Zotero.MIMETypeHandler to provide a unified interface for registering observers and capturing MIME types with Zotero
2008-09-16 19:14:52 +00:00
Dan Stillman
29f2001387 Accept 200 for PROPPATCH (and now compatible with Air Sharing iPhone app) 2008-09-16 06:25:44 +00:00
Dan Stillman
ee5e515613 Allow 200 status code on DELETE in one other place 2008-09-16 04:34:48 +00:00
Dan Stillman
bff8bf78d4 - Add 'styles' directory with symlinks to actual styles for default styles
- Change schema.js to use 'styles' directory
2008-09-15 20:13:33 +00:00
Dan Stillman
cf4224c5f7 Move csl directory to [SVN root]/csl, i.e. https://www.zotero.org/svn/csl/ 2008-09-15 20:09:42 +00:00
Dan Stillman
26ec28fe31 Don't throw error if there's no Zotero.Styles.lastCSL 2008-09-15 19:54:09 +00:00
Dan Stillman
154944d385 Adds support for Microsoft IIS (5.1) WebDAV 2008-09-15 10:40:10 +00:00
Dan Stillman
61d51eaf41 - Remove overriding OPTIONS response to text/plain -- the problem is incorrect status codes generated by IIS that result in "No element found" errors
- Replace passwords in malformed XML messages when generating error reports
2008-09-15 09:48:27 +00:00
Dan Stillman
d264af21f6 Don't log XML error to console if OPTIONS response isn't XML 2008-09-15 08:57:23 +00:00
Dan Stillman
ce2cbc86b6 Update manifests on trunk 2008-09-15 06:31:58 +00:00
Dan Stillman
880c0bcf59 Remove bc dependency in translators.zip build script 2008-09-15 06:25:44 +00:00
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