Commit Graph

1327 Commits

Author SHA1 Message Date
Dan Stillman
4782c725e7 Reworked and standarized data object caching -- this should fix problems of long-term references containing stale, orphaned versions of data objects 2008-10-10 01:48:19 +00:00
Dan Stillman
806d6823f2 Better handling of missing attachments and empty attachment paths 2008-10-08 18:49:48 +00:00
Dan Stillman
1f84890a4a Firefox 3.1 compatibility fix (from Simon) 2008-10-07 02:56:06 +00:00
Dan Stillman
f508ec2e84 Fix csledit and cslpreview with new styles architecture -- dependent styles will not be displayed 2008-10-06 21:43:16 +00:00
Dan Stillman
5e2602b1dc All creator types defaulted to author on import 2008-10-06 21:07:59 +00:00
Dan Stillman
f76f387c5f Fix "constraint failed" error when trying to delete attachment with annotations/highlights 2008-10-03 19:33:59 +00:00
Dan Stillman
fc06a51592 Fix excessive updating of translators and styles in XPI builds 2008-10-02 22:11:23 +00:00
Simon Kornblith
039f7bb615 use TinyMCE for styled-textbox.xml 2008-09-24 23:44:34 +00:00
Simon Kornblith
26670f7988 - closes #921: Revise handling of deleted citations. Upon encountering a deleted citation, the plug-in now highlights the citation and allows the user to reselect the item (which applies to all places the item is cited), to delete all citations of the item from the document, or to cancel the update
- adds syntax checking to build script
- only display the last 5 lines of the python error/traceback
2008-09-23 23:11:27 +00:00
Dan Stillman
50242b84a2 Missing locale line 2008-09-23 03:57:19 +00:00
Dan Stillman
44e44e08d2 Merge locales 2008-09-23 02:34:57 +00:00
Dan Stillman
f0321ad325 Merged r3351-3450 from 1.0 branch 2008-09-23 02:11:56 +00:00
Dan Stillman
082edcccca More explicit error when responseXML is null 2008-09-22 21:55:14 +00:00
Dan Stillman
9bc2ea832d Disable EndNote® style support 2008-09-22 21:45:50 +00:00
Simon Kornblith
15f6c6fc83 use fewer xmlns attributes when serializing integration XML 2008-09-19 19:08:45 +00:00
Dan Stillman
a2d99fa351 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
3a7854d5d6 Don't display session id in debug output 2008-09-18 09:32:36 +00:00
d74719f0cd 2008-09-17 21:24:28 +00:00
Dan Stillman
73a955a8e7 - 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
3426d74081 - 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
20133fc8e8 Fix restore of Quick Copy pref in preferences 2008-09-17 04:51:07 +00:00
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