Commit graph

1317 commits

Author SHA1 Message Date
Dan Stillman
cb38ee8b02 Merge locales 2008-09-23 02:34:57 +00:00
Dan Stillman
4f87dd1323 Merged r3351-3450 from 1.0 branch 2008-09-23 02:11:56 +00:00
Dan Stillman
b4ac8b949e More explicit error when responseXML is null 2008-09-22 21:55:14 +00:00
Dan Stillman
9b9a450527 Disable EndNote® style support 2008-09-22 21:45:50 +00:00
Simon Kornblith
ac75376d51 use fewer xmlns attributes when serializing integration XML 2008-09-19 19:08:45 +00:00
Dan Stillman
a9dc3301af Move debug line in sync error handler to a more helpful place in the output 2008-09-18 09:37:25 +00:00
Dan Stillman
44c2783c76 Don't display session id in debug output 2008-09-18 09:32:36 +00:00
nobody
7cb0492ccb 2008-09-17 21:24:28 +00:00
Dan Stillman
ac5071e94e - Handle URL encoding of 'href' value in PROPFIND response when purging files
- Fix a scoping issue that could prevent some property files from being purged
- Properly handle systems with millisecond-level file mod time granularity (clearing of storage sync history is required)
- Fix issue that might have erroneously removed property files
2008-09-17 19:35:37 +00:00
Dan Stillman
083bdd4753 - Switch to using separate property files for storage sync rather than WebDAV properties, which aren't supported on all servers
- Fix potential security issues with symlinks in ZIP files due to Firefox brokenness
- Zotero.Utilities.HTTP.doGet() can now take a URI instead (and doesn't display the password that way for authenticated requests)
- For now, delete orphaned files immediately when using "Purge Orphaned Storage Files" instead of waiting a day
- Properly remove deleted files from delete log
- Better debugging of various things
2008-09-17 11:27:36 +00:00
Dan Stillman
be47357e48 Fix restore of Quick Copy pref in preferences 2008-09-17 04:51:07 +00:00
Simon Kornblith
3ae7cc308f don't install text/x-csl files as hidden 2008-09-17 04:25:18 +00:00
Dan Stillman
854842c003 Localize version header pref 2008-09-17 03:13:05 +00:00
Simon Kornblith
cccdbdb8e5 Zotero.Style.delete -> Zotero.Style.remove 2008-09-17 00:45:14 +00:00
Dan Stillman
e5bdfbb019 Full comment 2008-09-16 21:44:23 +00:00
Dan Stillman
21e7fe1fbc Handle URL-encoded 'href' values in PROPFIND request 2008-09-16 21:43:11 +00:00
Dan Stillman
d0e4852be6 Don't fail if SVN style symlink points to missing file 2008-09-16 21:39:02 +00:00
Dan Stillman
340f54c8b0 Add X-Zotero-Version header to HTTP requests to zotero.org 2008-09-16 20:11:27 +00:00
Simon Kornblith
bf8e4eae28 - 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
0769e0e1f8 Accept 200 for PROPPATCH (and now compatible with Air Sharing iPhone app) 2008-09-16 06:25:44 +00:00
Dan Stillman
edad44c2db Allow 200 status code on DELETE in one other place 2008-09-16 04:34:48 +00:00
Dan Stillman
c9a3d49a5e - 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
7f1f251493 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
1ab118c9af Don't throw error if there's no Zotero.Styles.lastCSL 2008-09-15 19:54:09 +00:00
Dan Stillman
b7fc5e66f2 Adds support for Microsoft IIS (5.1) WebDAV 2008-09-15 10:40:10 +00:00
Dan Stillman
eac0c1a94d - 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
1619491157 Don't log XML error to console if OPTIONS response isn't XML 2008-09-15 08:57:23 +00:00
Dan Stillman
7d877ebc91 Update manifests on trunk 2008-09-15 06:31:58 +00:00
Dan Stillman
14c8ce10cb Remove bc dependency in translators.zip build script 2008-09-15 06:25:44 +00:00
Dan Stillman
9c999bff05 scrapers.sql is no more 2008-09-12 22:13:32 +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
Dan Stillman
ee9aff0a0f Fix conflicting style URIs 2008-09-12 02:12:41 +00:00
Simon Kornblith
85290b6c95 add hidden property to styles 2008-09-11 23:38:34 +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
Dan Stillman
79ef2eac4d Better startup error debugging 2008-09-11 23:19:23 +00:00
Simon Kornblith
ca1cf1c8a3 use more consistent function names 2008-09-11 22:58:18 +00:00
Simon Kornblith
a4032fe817 remove debug code 2008-09-11 22:07:57 +00:00
Simon Kornblith
d2c3f0fa12 add support for parent/child relationships 2008-09-11 22:06:31 +00:00
Simon Kornblith
f06ce2705c implements Zotero.Styles and Zotero.Style using flat files 2008-09-11 21:29:05 +00:00
Simon Kornblith
f6b1d6e56e better handling of invalid JSON objects 2008-09-11 20:53:15 +00:00
Simon Kornblith
7d9493827e fix bug in translator caching 2008-09-11 20:45:01 +00:00
Simon Kornblith
89e7d6a1ef don't run translators on about: URIs 2008-09-11 19:40:38 +00:00
Simon Kornblith
492d3a8cb2 shuffle around initialization code 2008-09-11 19:35:53 +00:00
Simon Kornblith
d6f0dc28ef use Zotero.log instead of calling consoleService.logMessage() directly 2008-09-11 18:04:56 +00:00
Simon Kornblith
643ada4905 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
f85f21db32 Merge r3371 to trunk 2008-09-11 17:30:40 +00:00
Dan Stillman
4648ae0f3b Zotero.getStylesDirectory(), Zotero.getTranslatorsDirectory(), and Zotero.File.createDirectoryIfMissing(dir) 2008-09-11 17:20: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