Commit graph

284 commits

Author SHA1 Message Date
Dan Stillman
7a2d7594d4 Fixes #1194, RDF Export fails to export files in 1.5 2008-10-24 20:11:34 +00:00
Dan Stillman
a7f73f0d82 Fix sync regression from previous commit 2008-10-24 11:29:08 +00:00
Dan Stillman
85087c4859 Fix upgrade error from previous commit 2008-10-24 11:14:16 +00:00
Dan Stillman
108fd304ab Fixed lots of sync bugs
- All string values are now trimmed going into the DB (with a migration step for existing values) -- this fixes erroneous conflicts due to leading/trailing whitespace in sync XML being ignored
- Case disambiguation fixed on server
- Added basic diff ability to collections and tags so that identical objects won't trigger conflicts
- Fixed various other bugs that could cause erroneous conflicts
- Moved string fields in serialize() objects into a 'fields' object for consistency with Zotero.Item

Upshot of most of the above is that identical pre-upgrade libraries should now merge cleanly

Also reorganized/simplified/modularized parts of the sync code
2008-10-24 11:10:05 +00:00
Dan Stillman
3fdb212dd6 Fix for some attachment directories not being properly migrated to keys
Also migrates remaining files for past upgrades on the trunk (assuming their ids haven't been changed by syncing--if the item that has a given id already has a directory or if there is no attachment item with that id, the directory will be moved to orphaned-files)
2008-10-22 07:45:27 +00:00
Dan Stillman
25f8b8350c Fix broken note window when opened without an associated item 2008-10-21 19:19:18 +00:00
Dan Stillman
405c5114b8 Debugging for TinyMCE page load 2008-10-20 22:11:33 +00:00
Dan Stillman
7c0bc7035b Some debug lines for key upgrade process testing 2008-10-17 21:49:43 +00:00
Dan Stillman
0c01dc2d6e - Fix note saving on Windows
- Remove some extra stuff from read-only note page
2008-10-17 20:39:39 +00:00
Elena Razlogova
cda9ced2a5 Adds "sub verbo" locator to the trunk 2008-10-17 18:18:27 +00:00
Dan Stillman
df8d13df84 Revert unnecessary change from r3562 2008-10-17 17:37:33 +00:00
Dan Stillman
9373e19aa8 Fix error saving automatic tags 2008-10-17 17:31:34 +00:00
Dan Stillman
d5215618aa Additional debugging for setStorageModificationTime() error 2008-10-17 00:33:22 +00:00
Dan Stillman
994de2e65c Fix TinyMCE in XPI builds 2008-10-16 22:29:26 +00:00
Dan Stillman
4de529c03f Fixed a couple tag-related errors (from caching change) 2008-10-16 17:12:33 +00:00
Dan Stillman
1fad45da63 Fix erroneous caching of attachment path after relinking 2008-10-15 06:27:52 +00:00
Dan Stillman
5b3a3a1ad2 Fix missing space after formatted words in custom citations 2008-10-15 06:14:12 +00:00
Dan Stillman
ad5ac7ba64 - Fix error saving attachments
- Increase default separate note window height
2008-10-15 05:30:59 +00:00
Dan Stillman
1d6dea45ec Remove our plaintext timed textarea 2008-10-15 05:26:16 +00:00
Dan Stillman
2bbf3d7c80 - Restored read-only mode for notes (using a separate HTML file, for lack of a better way)
- HTML file is now loaded on-demand the first time it's required
2008-10-15 05:24:38 +00:00
Dan Stillman
5e1ca7172a - Reduced TinyMCE to two rows
- Removed font-family, font-size, full justify
- Restored outdent and indent
- Some style improvements, including quotation marks around blockquotes
2008-10-14 03:02:26 +00:00
Dan Stillman
31ef0eab13 Moved 'tiny_mce' directory to 'tinymce' 2008-10-13 23:31:53 +00:00
Dan Stillman
ea5d51b93d - Remove indent/outdent buttons
- Remove extraneous debugging
2008-10-13 23:27:57 +00:00
Dan Stillman
9dfca12594 Fix creator breakage from object caching changes 2008-10-13 22:33:28 +00:00
Dan Stillman
8f2a7524e7 Fix error during creator add (since data caching change) 2008-10-13 22:05:27 +00:00
Dan Stillman
47285a0567 Convert plaintext notes on the fly, to deal with multi-version syncing issues 2008-10-13 21:12:55 +00:00
Dan Stillman
71ca2c1b2c Fix previous commit 2008-10-13 20:12:19 +00:00
Dan Stillman
80dc7be1be Allow SVN builds without SVN root to still start 2008-10-13 20:11:43 +00:00
Dan Stillman
651bcf2380 Adds rich text support to notes
- Still a few issues
- Converts plaintext notes to HTML on upgrade
2008-10-13 19:51:53 +00:00
Dan Stillman
b46860f6a4 - Switch to uncompressed JS files for TinyMCE so we can debug and make changes if necessary
- Add utils directory containing scripts needed for various features
2008-10-12 07:51:40 +00:00
Dan Stillman
7f1677d726 Fix error on object delete 2008-10-11 22:11:15 +00:00
Dan Stillman
1434b8aa7a 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
5f0aa6aa9f Better handling of missing attachments and empty attachment paths 2008-10-08 18:49:48 +00:00
Dan Stillman
675184d160 Firefox 3.1 compatibility fix (from Simon) 2008-10-07 02:56:06 +00:00
Dan Stillman
e32e6aa2f5 Fix csledit and cslpreview with new styles architecture -- dependent styles will not be displayed 2008-10-06 21:43:16 +00:00
Dan Stillman
f8a5ddc047 All creator types defaulted to author on import 2008-10-06 21:07:59 +00:00
Dan Stillman
f4a8822ea7 Fix "constraint failed" error when trying to delete attachment with annotations/highlights 2008-10-03 19:33:59 +00:00
Dan Stillman
6256d6fee8 Fix excessive updating of translators and styles in XPI builds 2008-10-02 22:11:23 +00:00
Simon Kornblith
ac551b3a2f use TinyMCE for styled-textbox.xml 2008-09-24 23:44:34 +00:00
Simon Kornblith
de013f0c02 - 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
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
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