Dan Stillman
fa4df719e1
Fix error exporting items with child notes with tags
2009-01-02 17:32:23 +00:00
Dan Stillman
94f004002b
Hide sync debugging menu behind extensions.zotero.sync.debugMenu by default, now that there are user-friendly replacements
2009-01-02 16:51:13 +00:00
Dan Stillman
b9121177e5
Display prompt on locked session
2009-01-02 06:45:40 +00:00
Dan Stillman
3b0f20c493
Add initial implementations of "Restore to Server" and "Restore from Server" to the Sync pref pane
2009-01-02 00:35:09 +00:00
Dan Stillman
d26eed03dc
Update expiry date
2008-12-31 20:22:41 +00:00
Dan Stillman
a28b54bae6
Use SQL that actually works with SQLite
2008-12-29 10:33:32 +00:00
Dan Stillman
2468ad5dfc
Fix a potential upgrade error due to the initial 1.5 migration step not adding a UNIQUE index to key
in syncDeleteLog
2008-12-29 10:31:29 +00:00
Dan Stillman
38be4790a1
Merged r3901 from branch
2008-12-29 09:38:58 +00:00
Dan Stillman
f2cd272786
Merged r3888 from branch
2008-12-29 09:35:11 +00:00
Dan Stillman
8512ba8d39
Merge revisions from branch
2008-12-29 07:57:20 +00:00
Dan Stillman
f2d8c72ec1
Fixes #1255 , Link to parent file in note title broken
2008-12-29 07:09:21 +00:00
Dan Stillman
8ad23d7eea
- Abstract attachment info pane into XBL binding
...
- Add attachment conflict resolution
2008-12-29 06:18:41 +00:00
Dan Stillman
1d972ae92c
If a tag is deleted remotely and modified locally, keep local and display warning
2008-12-27 07:24:55 +00:00
Dan Stillman
c7b2c84869
- Add automatic merging of collection and tag metadata and associated items, with warning alerts (eventually to be converted to logged notifications)
...
- Switch to using only keys for deleted items
- Fix various tag-related problems
- Probably other things
2008-12-27 05:42:52 +00:00
Dan Stillman
b4c0df32cc
Fix one or two tag errors resulting from an uncleared cache
2008-12-26 01:10:55 +00:00
Dan Stillman
2cfcec4d8e
Fix error when renaming tag to an existing tag with no associated items
2008-12-25 21:46:21 +00:00
Dan Stillman
7e5eecae6e
Add 1/4-second delay to advanced search autocomplete
2008-12-24 14:57:37 +00:00
Dan Stillman
107c1bdf4b
Keep focus in creator field when using two-field autocomplete
2008-12-22 09:48:25 +00:00
Simon Kornblith
f5fb1fa806
don't download snapshots when snapshot is given as a document object and automaticSnapshots preference is false
2008-12-21 18:16:31 +00:00
Dan Stillman
574e6197a2
Fixes bug in test for quoted string when value is numeric
2008-12-20 16:16:01 +00:00
Dan Stillman
9d9d4faffb
Fixes #1244 , duplicating changes editors into authors
2008-12-20 07:00:41 +00:00
Dan Stillman
573dea6dcd
Addresses #1262 , Broken pluralization with et al. + other issues
...
Values enclosed in double quotes now fail is-numeric test, and the double quotes are stripped on output to CSL -- if any fields actually need enclosing quotes, this could be limited to certain fields such as edition.
2008-12-20 01:18:15 +00:00
Dan Stillman
2689f92335
Fixes #1265 , Year suffix disambiguation doesn't scale
...
Patch seems to work (tested with "2007z", "2007aa", "2007ab") -- applying to branch and trunk
2008-12-19 23:15:52 +00:00
Dan Stillman
bac79ed2ac
Addresses #1262 , Broken pluralization with et al. + other issues
...
Patch 1 from Frank -- Names using "et al." were incorrectly being considered singular
2008-12-19 22:40:09 +00:00
Dan Stillman
dbb07937f0
Fix for attachment/note tag popup not displaying in Firefox 3 if there wouldn't be enough space on screen -- now auto-adjusts, though possibly with some artifacts after closing on OS X
2008-12-17 10:14:12 +00:00
Dan Stillman
b5f3448304
Fixes #1253 , Note export generates invalid RDF
...
In Item.toArray(), use toArray() for descendants as well
2008-12-15 05:51:35 +00:00
Dan Stillman
16f98f76e0
Disable duplication only for tagged items, not all items
2008-12-02 09:36:41 +00:00
Dan Stillman
c95ce030ba
Work around createUnique() brokenness on Windows (fixed in Fx3.0.5, but that's a couple weeks off) that was causing schema upgrade errors
2008-12-02 07:50:24 +00:00
Dan Stillman
f95291af88
Fix broken doc prefs window
2008-12-01 20:51:16 +00:00
Dan Stillman
8012d08354
Not going to deal with merging locales right now
2008-12-01 08:57:46 +00:00
Dan Stillman
39fd9b55d7
Updated comments
2008-12-01 08:33:07 +00:00
Dan Stillman
727426fd4f
Fix erroneous conflict after deleting an item and then deleting the collection it was in
2008-12-01 08:31:59 +00:00
Dan Stillman
faa9f2345c
Update expiry date
2008-11-30 20:22:13 +00:00
Dan Stillman
337b16361a
Merge [3617-3838] from branch to trunk
2008-11-30 20:18:48 +00:00
Dan Stillman
6456b6f561
Adds partial collection conflict resolution support -- items are auto-merged, and an alert is displayed. Support for collection metadata and collection hierarchy conflicts is forthcoming, and the alert will be fed to a new notifications system.
2008-11-30 19:30:15 +00:00
Dan Stillman
49a7537fa6
Much improved storage syncing (theoretically)
...
Metadata sync now always runs before storage sync, and file transfers can be stopped.
Needs testing
2008-11-29 14:13:29 +00:00
Dan Stillman
e161f19272
Clarify the 990
2008-11-26 08:42:45 +00:00
Dan Stillman
5d7b37a157
Account for other bound parameters in statement when setting max
2008-11-26 07:45:55 +00:00
Dan Stillman
d387f99710
Merge r3824 to trunk
2008-11-25 21:54:08 +00:00
Dan Stillman
5cd824136e
Fix translator error reporting on trunk (inRepository property was missing on Zotero.Translator objects)
2008-11-25 17:13:57 +00:00
Dan Stillman
6078eb1d59
Update schema migration comments
2008-11-24 09:12:49 +00:00
Dan Stillman
ca30ea2ff8
Register difference between tags if linked items change
2008-11-21 08:32:49 +00:00
Dan Stillman
9e8d822b90
Fix another problem with Sakai's href attribute handling
2008-11-20 21:29:54 +00:00
Dan Stillman
c942afb2b0
Until it's fixed, add a proper error message when trying to duplicate an item
2008-11-18 00:06:36 +00:00
Dan Stillman
7c081170d5
Fix error replacing non-empty export directory
2008-11-16 13:36:59 +00:00
Dan Stillman
63c90f2ae7
Display error icon and message on sync attempt if browser is offline
2008-11-15 21:01:23 +00:00
Dan Stillman
e45ee36117
Fix invalid progress values due to Firefox bug (fixed in 3.1)
2008-11-15 20:26:36 +00:00
Dan Stillman
6a9b372e66
Fixes #1204 , Automatic proxy code gets stuck in a loop
2008-11-15 16:35:02 +00:00
Dan Stillman
3d615f2b9c
- Fix errors when auto-saving proxies with transparent setting off (due to proxy variable not being set)
...
- Fixed display of proxy settings validation failure window
- Tweaked validation failure window title
2008-11-14 19:15:18 +00:00
Dan Stillman
03a0cced19
New expiry date
2008-11-14 18:39:06 +00:00
Dan Stillman
cdcb7533b2
Apply the rest of r3775 to trunk
2008-11-14 17:20:21 +00:00
Dan Stillman
4438ef9ee8
Fix display error in metadata pane if Abstract or Extra was stored as integer
2008-11-14 17:19:30 +00:00
Dan Stillman
c6ae811dde
Remove temp directory on shutdown
2008-11-14 13:43:01 +00:00
Dan Stillman
6f9033d206
Resolve some compatibility issues with Jungle Disk (though none that would've caused failures, as far as I can tell)
...
Storage username/password are no longer required, since JungleDiskMonitor doesn't require them
2008-11-14 12:55:47 +00:00
Dan Stillman
ecfc779b2d
Fix breakage in post-3.0.4 Firefox builds due to SQLite 3.6.4 upgrade (due to 'indexed' keyword from new INDEXED BY syntax)
2008-11-14 11:40:15 +00:00
Dan Stillman
a76eaef5bf
Fixes #1214 , different translator behavior on the branch and the trunk
...
Fix error when creator name field is left blank in two-field mode
2008-11-13 15:30:03 +00:00
Dan Stillman
79a89184d2
Upload objects earlier than earliest object mod time on server -- with any luck, this will fix the majority of "Invalid response" sync errors
2008-11-12 09:58:20 +00:00
Dan Stillman
11f2810586
Fix "New Zotero.Item objects shouldn't be accessed after save" warning during sync
2008-11-10 09:42:57 +00:00
Dan Stillman
fdcc02d953
Add mod time mismatch debugging
2008-11-10 06:34:47 +00:00
Dan Stillman
0cece91741
Better sync/storage error handling
2008-11-08 09:55:57 +00:00
Dan Stillman
12fdfe7dc4
Fix problem changing item types
2008-11-08 08:34:08 +00:00
Dan Stillman
81622ea56f
Fix devious id-assignment bug
2008-11-08 08:24:21 +00:00
Dan Stillman
4f2583f1df
Fix a few bugs in csl.js
2008-11-06 08:59:30 +00:00
Dan Stillman
79cedb822c
Allow periods in sync usernames
2008-11-05 17:28:28 +00:00
Simon Kornblith
2117745a63
- fix bookmarks mode in OOo plug-in
...
- disable bookmarks mode for note-based styles
- display an error when attempting to insert a bookmark into a footnote
- closes #1201 , Keyboard focus stays in Word when creating or editing a citation
2008-11-03 10:11:47 +00:00
Dan Stillman
5bb3529c0e
Closes #1200 , Keyboard focus should go to note
2008-11-01 13:24:58 +00:00
Dan Stillman
c06dd16ffa
Fix web-based installation of non-small styles
2008-10-31 19:46:10 +00:00
Dan Stillman
4d7bca4f43
Fix for some numeric directories being left behind during upgrade process, except this time maybe for real
2008-10-31 00:29:04 +00:00
Dan Stillman
b8b75dd115
Don't report any "Unrecognized command line flag" errors
2008-10-30 20:53:47 +00:00
Dan Stillman
a24200b30c
Imported snapshot path wasn't being set properly
2008-10-30 19:57:51 +00:00
Dan Stillman
d951bab1be
Remove extraneous debugging
2008-10-30 07:15:16 +00:00
Dan Stillman
6f4414ed4d
More accurate error message on server error (instead of "Empty response from server")
2008-10-29 19:01:32 +00:00
Simon Kornblith
92ea15948f
closes #1186 , ask before upgrading field codes
...
adds field code warning to Word plug-in and updates API version
2008-10-29 06:57:34 +00:00
Dan Stillman
9c02d05c33
Update About panel
2008-10-29 04:26:49 +00:00
Dan Stillman
051581cbb0
Make storage sync a bit more open-minded about 20x response codes for PUTs
2008-10-28 21:57:22 +00:00
Dan Stillman
cf644465e3
Fix a couple more potential upgrade errors with space trimming
2008-10-28 06:18:11 +00:00
Dan Stillman
fa2a8bb30e
Fix note import
2008-10-28 05:33:54 +00:00
Dan Stillman
e52ea34e2b
Fix obj.isAttachment() sync error (which really should be a "Reconciliation unimplemented" error)
2008-10-28 05:18:55 +00:00
Dan Stillman
094fe1c6a2
Fix export error (broken by r3603)
2008-10-28 05:14:06 +00:00
Dan Stillman
b9430a5fb1
Fix potential upgrade error
2008-10-27 22:45:07 +00:00
Dan Stillman
6b82ca8aa6
Fix creator glue
2008-10-27 19:08:04 +00:00
Dan Stillman
2197efc2df
Add creator XML as glue if not already included in sync session
2008-10-27 18:48:41 +00:00
Dan Stillman
41a3756102
Restore EndNote® import
2008-10-27 18:16:45 +00:00
Dan Stillman
95024e50d5
Update sync expiry
2008-10-27 18:04:54 +00:00
Dan Stillman
8070a22d08
Load TinyMCE as chrome to avoid NoScript blockage
2008-10-27 16:39:18 +00:00
Dan Stillman
11b05a5a41
Fix upgrade error with empty data values and tags
2008-10-26 22:58:44 +00:00
Dan Stillman
8660095c54
Fixes #1182 , Translator priority is ignored
2008-10-25 20:55:02 +00:00
Dan Stillman
5688acbdc9
Fix truncated default terms when using custom <terms> element ( http://forums.zotero.org/discussion/4384/ )
2008-10-25 10:51:01 +00:00
Dan Stillman
d2118dc5fc
Apparently we still use this (in csledit.xul and cslpreview.xul)
2008-10-25 10:47:01 +00:00
Dan Stillman
310e233480
Merged r3581-3616 from 1.0 branch, plus some report tweaks
2008-10-25 08:01:43 +00:00
Dan Stillman
01edde493f
Fix error toggling RIS/Refer intercept pref
2008-10-25 07:39:32 +00:00
Dan Stillman
93bbed579e
Missed file from r3450-3580 merge from 1.0 branch
2008-10-25 07:38:50 +00:00
Dan Stillman
0f0c531247
Merged r3450-3580 from 1.0 branch
2008-10-25 07:37:47 +00:00
Dan Stillman
f50a5fe603
Run storage server verification automatically when clicking sync button
...
If there's a storage error, it either needs to be resolved or file sync needs to be disabled for regular sync to proceed.
2008-10-25 04:01:36 +00:00
Dan Stillman
99f9bcb79d
More tag/space handling
2008-10-25 03:10:50 +00:00
Dan Stillman
6a20d690e0
Fix errors adding tags with leading or trailing spaces to items (since yesterday)
2008-10-25 02:47:47 +00:00
Dan Stillman
7a6656ae5c
Fix error from previous commit
2008-10-25 02:09:59 +00:00
Dan Stillman
4f2bcb15d5
Fix error when purging tags that have already been erased
2008-10-24 23:03:53 +00:00
Dan Stillman
56eb416e3e
Fix error in doc prefs window if lastStyle is set to an invalid style
2008-10-24 21:08:44 +00:00
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
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
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
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
Simon Kornblith
85290b6c95
add hidden property to styles
2008-09-11 23:38:34 +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
Dan Stillman
6a3c62c23c
Tweak to previous commit -- use 'this' instead of full chain
2008-09-10 16:55:45 +00:00
Dan Stillman
7f76b35ab4
Clear last sync error when starting sync
2008-09-10 16:53:11 +00:00
Dan Stillman
62290e0bcd
Additional debugging for unexpected status code storage error
2008-09-10 15:50:25 +00:00
Simon Kornblith
9cb95ac77c
don't show option to retrieve metadata if PDF indexer is not installed
2008-09-09 21:01:47 +00:00
Simon Kornblith
0284e5339b
remove cache file even when it is < 20 lines long
2008-09-09 16:03:37 +00:00
Simon Kornblith
3fd346ed06
close input stream in recognizePDF
2008-09-09 16:00:40 +00:00
Dan Stillman
ecfc44ee57
Closes #1166 , Add http access to WebDAV
2008-09-09 15:19:22 +00:00
Dan Stillman
1f334a2eb8
Fixes storage upload with subfolders
2008-09-09 14:15:53 +00:00
Dan Stillman
c6de353d23
Fix error and blank CR window when an item with tags is in conflict
2008-09-05 06:03:45 +00:00
Dan Stillman
5bc80d4cfe
Additional output for debugging tag problem
2008-09-05 06:00:03 +00:00
Dan Stillman
49593266e1
Generate conflict if number of item creators changed
2008-09-05 05:42:59 +00:00
Dan Stillman
4d7fc6b10c
Include response text from server in error log on Invalid Response sync error
2008-09-05 04:29:34 +00:00
Dan Stillman
e38c86cba2
Remove referrer in recognizePDF requests
2008-09-05 04:08:56 +00:00
Dan Stillman
714011d1d3
Fix ACCESS_DENIED storage sync error on Windows
2008-09-05 02:42:54 +00:00
Dan Stillman
0dbd02abe9
Fix regression from r3335 that caused some creator changes not to sync
2008-09-04 22:27:51 +00:00
Dan Stillman
c822aad2b6
- 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
Dan Stillman
e3acd9a513
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
088c057837
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
5fc9782860
- better interface for PDF recognizer
...
- slightly improved PDF recognizer performance
2008-09-03 06:20:19 +00:00
Simon Kornblith
c9f1592704
fix strict mode error and add JSDoc to selectitems.js
2008-09-02 19:30:14 +00:00
Simon Kornblith
c4c65f0a50
Use Zotero.Items.get() instead of using new items directly after saving
2008-09-02 19:28:57 +00:00
Dan Stillman
d5bf5c9120
Fixes #1157 , Adding an existing tag to an item with no tags breaks Zotero
2008-09-01 17:59:25 +00:00
Dan Stillman
f0c4eec238
Fix sync icon error handling (trunk and SP2 tag)
2008-09-01 08:09:37 +00:00
Dan Stillman
02fd1f89b6
Fix sync button breakage after error (trunk and SP2 tag)
2008-09-01 08:00:46 +00:00
Dan Stillman
d662466ff6
Merged revisions 3306,3309 from 1.0 branch via svnmerge
2008-09-01 06:09:56 +00:00
Dan Stillman
ee8229b80a
Two JS strict warnings
2008-09-01 04:34:47 +00:00
Dan Stillman
68f7f933c2
Fix properToProxy() translator error (regression from merge)
2008-09-01 04:25:40 +00:00
Dan Stillman
a1cd958cd6
Attachment directory wasn't removed when deleting attachment
2008-09-01 03:59:55 +00:00
Dan Stillman
f9c07bb8e0
Fix one other case where the sync could never end
2008-09-01 03:42:42 +00:00
Dan Stillman
a30106c887
Storage sync never stopped if file-to-download was missing
2008-09-01 03:28:04 +00:00
Dan Stillman
93a213e9e5
- Add "Debuggin" labels to Actions menu options
...
- Add extra temporary debug output
2008-09-01 03:08:30 +00:00
Dan Stillman
4da7a006c3
Fix bug displaying "Rename associated file" dialog (on trunk and branch)
2008-09-01 02:10:40 +00:00
Dan Stillman
4da36c4f19
Fix two JS strict warnings
2008-09-01 02:00:17 +00:00
Dan Stillman
f37d724a9e
Merged revisions 3080-3081,3084,3087-3088,3090,3092,3099-3103,3113-3114,3132,3134-3143,3145,3148-3151,3154-3159,3165,3174,3194,3234-3235,3239-3240,3244,3246-3254,3258-3262,3268,3270,3274,3279,3286-3288,3294-3295 from 1.0 branch via svnmerge
2008-09-01 01:54:00 +00:00
Dan Stillman
84ef07c874
Missed file from r3296 and better debugging of invalid DB parameters
2008-08-31 23:39:14 +00:00
Dan Stillman
a8bb8dae40
Adds WebDAV file sync
...
- Still experimental and incomplete, with no lock support and not much error handling
Also:
- New expiry date for sync functions
- Attachment character set was being dropped during syncing
- Possibly improves sizing issues with preferences window
- Fixes problems with attachment filenames with extended characters
- Fixes some problem with tags that I don't remember
- Makes XMLHTTPRequest calls are now background requests (no auth windows or other prompts)
- Z.U.HTTP.doOptions() now takes an nsIURI instead of a URL spec
- New methods:
- Zotero.Utilities.rand(min, max)
- Zotero.Utilities.probability(x)
- Zotero.Utilities.Base64.encode(str) and decode(str)
- Zotero.getTempDirectory()
- Zotero.Date.dateToISO(date) - convert JS Date object to ISO 8601 UTC date/time
- Zotero.Date.isoToDate(isoDate) - convert an ISO 8601 UTC date/time to a JS Date object
2008-08-31 23:36:01 +00:00
Simon Kornblith
8c91c8fc90
don't put MAX_PAGES in global namespace
2008-08-22 05:41:00 +00:00
Simon Kornblith
225c62df18
fix JS warnings
2008-08-22 05:38:36 +00:00
Simon Kornblith
4cf79691ed
Add feature to retrieve metadata for PDFs, currently accessible as a contextual menu item.
...
The feature grabs relevant fragments from the document and then searches them on Google Scholar. This will only work with OCRed PDFs, so it doesn't work with JSTOR, but it should work fairly well with everything else.
2008-08-22 05:35:44 +00:00
Simon Kornblith
f20ed8507e
Commit missing proxy components from r3266
2008-08-22 05:23:03 +00:00
Simon Kornblith
501d6c6e77
closes #1098 , Edit Citation not working in new document
2008-08-21 21:30:36 +00:00
Dan Stillman
3633b053bb
Fix "second argument to Function.prototype.apply must be an array" error in schema.js line 1636 on upgrade
2008-08-21 16:25:17 +00:00
Simon Kornblith
c77fe5462a
references #831 , transparent EZProxy support
...
changes default behavior. transparent redirection is now enabled by default, and a caution dialog appears when proxies are first accessed. when transparent redirection is turned off, no dialog appears, and proxies get saved automatically. when the user switches transparent redirection on, there is a warning that s/he should check that there are only trusted proxies in the list. i'm not sure how well i've worded the messages, so feel free to suggest better alternatives.
also, a bit of jsdoc cleanup on proxy.js
2008-08-21 05:46:54 +00:00
Dan Stillman
4c2a37e510
Fixes saved search syncing, probably
2008-08-20 14:52:24 +00:00
Dan Stillman
78731858ab
More helpful error message for compat styles in cslpreview and csledit on trunk
2008-08-20 01:41:29 +00:00
Dan Stillman
c73513576a
- Fix inability to add existing tags to item
...
- Fix error if a local tag matches a different remote tag
- Add additional triggers to enforce referential integrity
2008-08-15 05:32:18 +00:00
Dan Stillman
7637434a2a
Fix error saving imported attachments on trunk (since r3178)
2008-08-14 17:58:45 +00:00
Dan Stillman
96e88bda1e
- Change local key if remote item has different id but different key (which should mostly be with the Quick Start Guide)
...
- Moved common singleton data logic (for now, just getByKey()) into Zotero.DataObjects, and use that as template for other data objects
2008-08-13 06:38:47 +00:00
Dan Stillman
4450e12152
Proper updating of cached parent collections
2008-08-13 02:21:49 +00:00
Dan Stillman
0fb1d5866f
Fixes #1077 , Add tag to note dialog broken
...
The manual Add Tag popup isn't popping up for me when I drag a note to the tag selector. If you're still getting that, please open a new ticket.
2008-08-13 00:08:51 +00:00
Dan Stillman
4a37c5647a
Fix error with Create New Item from Current Page (after r3178)
2008-08-12 07:45:04 +00:00
Dan Stillman
2d5c89cb9d
Fix error saving new creators after r3178
2008-08-12 07:20:45 +00:00
Dan Stillman
fa82b66c9f
Fix error in Zotero.Attachments.importFromDocument()
2008-08-12 07:13:04 +00:00
Dan Stillman
595f775c39
Improved subcollection support -- fixes "Cannot set parent of collection [x] to invalid parent [x]" error, among other things
...
Removed child collections from XML -- now uses parent attribute exclusively -- and increased API version to 2
2008-08-12 07:10:50 +00:00
Dan Stillman
6c56cc9b73
r3178 may find some crazy things
2008-08-08 22:06:42 +00:00
Dan Stillman
1cb7aa6a06
Better detection of invalid parameter counts passed to Zotero.DB query methods (including inadvertently passing an undefined value)
2008-08-08 21:16:26 +00:00
Asa Kusuma
005375cc33
Adds tag cloud feature. Use about:config to turn on.
2008-08-08 19:39:06 +00:00
Dan Stillman
4588e0dfe6
Fix a few JS strict warnings
2008-07-29 17:55:44 +00:00
Dan Stillman
411b300e27
Add foreign key for proxy tables
2008-07-29 17:49:55 +00:00
Dan Stillman
fe3ff13571
Fix id changing with items with highlights or annotations
2008-07-29 17:47:07 +00:00
Simon Kornblith
a4d049fe46
Fix "Zotero.Ingester.Proxies is undefined" error
2008-07-29 09:27:54 +00:00
Simon Kornblith
79d759fd8d
Better support for proxy-by-port EZProxies (like the GMU EZProxy). When we see a link or redirect from (e.g.) mutex.gmu.edu:3793 to mutex.gmu.edu:3618, we now make a background request to the latter site with no cookies in order to get the EZProxy log-in screen. From the log-in screen, we can find the real URL of the latter site.
2008-07-29 05:08:26 +00:00
Simon Kornblith
17c3d1cc34
update proxy preferences without a restart (thanks Sean)
2008-07-28 22:12:11 +00:00
Simon Kornblith
ce210afe2d
Fix mis-recognition of GMU EZProxy under some circumstances
2008-07-28 21:24:29 +00:00
Simon Kornblith
09e8249db8
closes #743 , Support non-EZproxy proxies
...
closes #831 , transparent EZProxy support
adds a proxy pane to the preferences
asks before saving proxies to the DB (to avoid the potential phishing risk #831 would otherwise pose)
2008-07-28 11:11:12 +00:00
Dan Stillman
30e4ae859d
Fix "data mismatch" error, for real
2008-07-25 19:00:44 +00:00
Dan Stillman
d875079377
Revert part of last commit
2008-07-25 18:12:35 +00:00
Dan Stillman
4c1f8c729d
Fix "data type mismatch" error on upgrade, I think
2008-07-25 18:01:16 +00:00
Simon Kornblith
1da2221d40
closes #971 , Add support for secondary key
2008-07-24 22:25:03 +00:00
Dan Stillman
e591acb783
Fix report generation of items with tags
2008-07-24 19:52:09 +00:00
Simon Kornblith
5efeeb6089
remove support for old-style CSLs
2008-07-23 05:05:03 +00:00
Dan Stillman
0f71fdbc35
Merged revisions 2989,2994,2996-2999,3001,3003-3004,3007,3010,3012,3015-3016,3026-3029,3036-3038,3040-3041,3046,3048,3050,3052,3054-3055,3057-3058,3066,3069-3073 from 1.0 branch via svnmerge
2008-07-22 05:45:32 +00:00
Dan Stillman
5171f8c091
Save Unicode files with Zotero.File.putContents()
2008-07-22 05:38:05 +00:00
Dan Stillman
5f45009a18
Fixes #1071 , Create bibliography from collection fails
2008-07-16 01:19:05 +00:00
Dan Stillman
685294e908
Fix tags being undefined when exported in 1.5
2008-07-16 01:13:56 +00:00
Dan Stillman
ea60cb630e
Better debugging of newer DB version error
2008-07-15 19:21:23 +00:00
Dan Stillman
51edc5ad16
Removed incorrect check causing "Local [object] 1 not in update array" error
...
The remote object could legitimately not have been updated locally since the last sync if the server data was cleared and synched from a different client, potentially resulting in a different key condition on sync. The two sides should now be properly merged (at least in theory).
2008-07-13 07:31:20 +00:00
Simon Kornblith
e4f49588c0
fix blank fields when converting between footnotes/endnotes or between field types
2008-07-10 22:35:50 +00:00
Dan Stillman
b150a482aa
Fix for file launch regression on trunk -- getFile() wasn't always returning an nsILocalFile
2008-07-10 16:05:58 +00:00
Simon Kornblith
53da1ccb03
references #698 , Migration away from VBA
...
Adds a Python/py-appscript-based plug-in for Word 2008. To get this to work, you'll need to copy the Zotero directory (not its contents) to ~/Microsoft User Data/Word Script Menu Items and install py-appscript (sudo easy_install appscript)
Some caveats:
- Requires Word be installed at /Applications/Microsoft Office 2008/Microsoft Word 2008.app (this is fixable, but I'm still determining the best way to solve it)
- Still need to figure out what to do with items that have been deleted from the DB (right now, we just ignore them)
- Sometimes, Python.app launches with the script, which seems to slow execution time
2008-07-10 11:05:43 +00:00
Dan Stillman
cf93bd7042
Replace invalid characters with a dashed square Unicode character instead of stripping
2008-07-09 18:49:43 +00:00
Dan Stillman
049cead550
Invalid characters after the first one in a string weren't being replaced
2008-07-09 18:05:53 +00:00
Dan Stillman
417dc32548
Fix "str is null" sync error with empty search condition values
2008-07-09 15:57:33 +00:00
Dan Stillman
49f655726c
Strip characters invalid in XML when sending data
2008-07-08 22:23:38 +00:00
Dan Stillman
e3f251f7c7
Don't trigger autosync on 'refresh' event
2008-07-08 19:12:30 +00:00
Dan Stillman
e4fa5f10b0
Fix attachments with missing rows in itemAttachments
2008-07-08 16:26:50 +00:00
Dan Stillman
c430baa85d
Fix tag migration error ("oldIDs.map is not a function")
2008-07-08 15:02:14 +00:00
Dan Stillman
ed60df41ad
Fix upgrade error if no 'storage' DB
2008-07-08 14:17:46 +00:00
Dan Stillman
867512c883
Change zotero-tb-actions-utilities-separator to zotero-tb-actions-plugins-separator
2008-07-07 19:46:16 +00:00
Dan Stillman
70a47f843a
Only show "Search for Shared Libraries" menu option on OS X, and move it up in the menu
2008-07-07 19:44:51 +00:00
Dan Stillman
37c3d8fc25
Don't throw an error if a sync is already going on when an auto-sync fires
2008-07-07 15:56:24 +00:00
Dan Stillman
e7cea2ebc8
Allow spaces and numbers in usernames, at least while we're doing forum-based authentication
2008-07-07 15:49:12 +00:00
Dan Stillman
6e7bfe413e
Merged revisions 2890,2895-2896,2898,2900-2901,2905,2909-2911,2913,2916-2917,2919,2922,2936-2937,2953-2954,2957,2959,2962-2965,2969-2970,2973-2975,2979-2980,2983 via svnmerge from 1.0 branch
2008-07-07 15:18:49 +00:00
Dan Stillman
b152fbc9b1
Remove debugging
2008-07-07 14:01:53 +00:00
Dan Stillman
9596cece44
Add UNIQUE index on itemDataValues values
2008-07-07 14:00:34 +00:00
Dan Stillman
566a338c98
Addresses #971 , Add support for secondary key
...
Zotero.Items.getByKey(key) -- retrieve an Item object by its secondary lookup key
No caching yet -- if this becomes a bottleneck, I'll add some
2008-07-06 18:03:44 +00:00
Dan Stillman
ee589b0ed5
Addresses #1057 , Won't start on Windows
...
I suspect this will fix the problem. It will also provide better error reporting for Zotero startup errors such as this one.
2008-07-03 16:44:52 +00:00
Dan Stillman
e31ff87baa
Allow clearing of sync password
2008-07-02 10:08:11 +00:00
Dan Stillman
13de37cea7
Set auto-sync expiry to September 1, 2008
2008-07-01 20:44:43 +00:00
Dan Stillman
20d649ee42
Auto-sync on first open of Zotero pane after starting Firefox
2008-07-01 20:39:20 +00:00
Dan Stillman
d48adde7ed
Sync error icon and tooltip display
2008-07-01 00:44:52 +00:00
Dan Stillman
50941734b8
Adds animated sync icon -- not yet perfect
2008-06-30 15:14:35 +00:00
Dan Stillman
1bf13aaa1a
Part of auto-sync support
2008-06-30 01:01:53 +00:00
Dan Stillman
96a388137f
Basic auto-sync support -- timer reset to 15 seconds after each data operation
2008-06-30 00:56:31 +00:00
Dan Stillman
fd0a5a7972
Closes #1038 , Migrate Quick Start Guide item ID
2008-06-26 18:34:16 +00:00
Dan Stillman
0aa7379fb3
Fix upgrade problem with attachment dirs beginning with numbers
2008-06-26 16:38:22 +00:00
Dan Stillman
75682596df
Fix a few potential attachment errors
2008-06-26 04:14:02 +00:00
Dan Stillman
012229552e
Closes #1036 , Migrate storage directory folders to secondary keys
...
Also moves orphaned directories into orphaned-files folder in data dir
Safety first: Keeps track of moved files, moving them back if there's an error before the end of the upgrade process (since the keys are generated randomly and would be different if recreated), and creates a zotero.moved-files.36.bak file with a list of id/key pairs
2008-06-25 22:27:35 +00:00
Dan Stillman
08279f3ff2
Add REGEXP SQLite UDF
...
SQLite automatically uses this function for the "foo REGEX '/[a-z]+/'" syntax
2008-06-25 22:22:52 +00:00
Dan Stillman
9f441140f6
Drop fulltextWords index after checking for duplicates from corruption
2008-06-25 04:14:17 +00:00
Dan Stillman
8e9b5e6d36
Reverting r2903, since it's not necessary, and, unless we decide to cast automatically in all the ZU functions, we should stay consistent
2008-06-25 01:18:10 +00:00
Dan Stillman
d61914f8c7
Closes #1048 , Convert all values to strings in serialize()
2008-06-25 01:11:22 +00:00
Dan Stillman
3d725141b6
Don't put quotes around numbers in varDump() (used in debug())
2008-06-25 01:07:35 +00:00
Dan Stillman
33de40ad95
Adds sync support for related items
...
Might fix (or break) other stuff, but who remembers?
2008-06-25 00:26:55 +00:00
Dan Stillman
19b08a604a
Drop redundant index on fulltextWords
2008-06-25 00:22:25 +00:00
Dan Stillman
245954b876
Add extensions.zotero.dbLockExclusive pref to control SQLite exclusive locking (default true)
...
Set to false to allow external access while Firefox is running
2008-06-25 00:21:37 +00:00
Dan Stillman
9c0d6069f1
Speed up Ben's levenshtein() by factor of 3 by caching length properties (didn't look at algorithm itself)
2008-06-25 00:19:41 +00:00
Dan Stillman
47137121c1
Move levenshtein() and min3() into Zotero.Utilities
2008-06-23 20:33:57 +00:00
Dan Stillman
cf34397d9e
Implements levenshtein as SQLite UDF
...
Function from Ben
2008-06-23 20:28:42 +00:00
Dan Stillman
35318a070e
Add a comment pointing to Bugzilla before first use of "with ({});"
2008-06-23 16:53:04 +00:00
Dan Stillman
6f960f3e91
Fix typo
2008-06-23 16:47:41 +00:00
Simon Kornblith
0c2c8000e3
Remove globally scoped namespace declaration from cite.js (oops)
2008-06-23 16:37:08 +00:00
Simon Kornblith
ef2ff0a884
closes #1043 , store EndNote® styles as binary blobs
...
closes #1046 , Provide some indicator of whether style is originally from EndNote
will require that you re-import previously imported styles
2008-06-22 17:16:43 +00:00
Dan Stillman
4525afddc5
Addresses #1047 , Timeline items not displaying for collections
2008-06-20 18:27:30 +00:00
Dan Stillman
461225ac15
Addreses #1047 , Timeline items not displaying
...
Sean, can you verify that this fixes the problem?
2008-06-20 17:48:46 +00:00
Simon Kornblith
d8868cd9cb
fixes #1030 , CSL broken on trunk due to XML namespace change
...
closes #704 , EndNote to Zotero style converter (won't actually convert styles due to copyright concerns, but will load them into the DB)
also adds CSL style manager
2008-06-20 06:40:05 +00:00
Dan Stillman
d65e75fbc9
Keep track of manually set ids (via a Notifier observer watching for 'add' events or manual Zotero.ID.skip() calls) so that subsequent calls to Zotero.ID.get() don't return them
...
This should fix hard-to-reproduce 'constraint failed' errors during syncing.
2008-06-19 07:46:08 +00:00
Dan Stillman
a610595b84
Fix deletion of items without tags
2008-06-18 08:58:38 +00:00
Dan Stillman
2df1e34dc2
Reverting r2892 -- not necessary
2008-06-18 08:57:46 +00:00
Dan Stillman
dd776bbb70
Use SQLite text data type for integers longer than 15 characters
2008-06-18 08:49:44 +00:00
Dan Stillman
d5eacdcbc6
Fix sync URL
2008-06-18 08:47:38 +00:00
Dan Stillman
0efeb1f26c
Merged revisions 2845-2848,2850-2852,2855-2857,2860-2863,2872,2874,2879-2880 from 1.0 branch via svnmerge
2008-06-17 20:50:44 +00:00
Dan Stillman
42fa6f091f
Move sync URL to ZOTERO_CONFIG array
2008-06-17 20:41:31 +00:00
Dan Stillman
35e9f3b3b7
Fix export from saved search content menu on trunk, changing ZoteroItemPane.getSortedItems() to return Item objects unless asIDs is passed (like getSelectedItems())
2008-06-17 20:39:26 +00:00
Dan Stillman
d5756c1168
Fix tag pane refresh after adding tag to item
2008-06-17 07:08:13 +00:00
Dan Stillman
413670b09d
Restore tag rename and delete
...
Tag comparisons are now case-insensitive, and old tags with case differences are migrated to the most-used tag or the tag linked to the oldest item
2008-06-16 20:07:17 +00:00
Dan Stillman
72b53e1b3f
Don't drop all tags on DB upgrade
2008-06-16 14:55:09 +00:00
Dan Stillman
9bcdf021dd
- Fixes tag editing
...
- Adds tag syncing
- Fixes a few other things
No tag CR yet
Requires new 1.0 DB upgrade
2008-06-16 05:46:10 +00:00
Dan Stillman
f00e5501e9
Addresses #1037 , Remove Firefox 2–specific code
2008-06-11 08:57:41 +00:00
Dan Stillman
97f214c9dc
Merged revisions 2710-2712,2714-2716,2718-2728,2730-2731,2734,2736-2738,2740-2750,2752-2753,2755,2758-2768,2770-2779,2782,2789-2790,2794,2797-2802,2804,2808-2810,2812,2814-2824,2826-2832,2834-2835 via svnmerge from 1.0 branch
2008-06-11 08:55:59 +00:00
Dan Stillman
24e578dd84
Addresses #378 , Button's tooltip displayed for dropdown list menu items
2008-06-11 07:57:24 +00:00
Dan Stillman
00c2b14d6c
Adds rudimentary Zeroconf support to Zotero (a.k.a. "Z(ot)eroconf")
...
- Inspired by Dan Chudnov's Python/MODS-based Zeroconf demo at THATcamp
- Enabled by extensions.zotero.zeroconf.enabled (off by default)
- Currently supports only OS X (tested on Leopard, not sure about earlier versions)
- Uses Apple's dns-sd and mDNS command-client clients, but should be able to be extended to other clients, though a native library would be far superior
- Discovery is on-demand for now via Actions menu ("Search for Shared Libraries")
- Includes rudimentary web server (code copied from integration.js) that serves items as sync XML -- no authentication yet!
- Only supports top-level items
- Remote libraries show up in left pane (under remote computer name, for now)
- Items can be dragged into collections (but not the library yet, for some reason)
- On first run, might cause a long pause and the "This file was downloaded from the Internet" message on Leopard -- can't manage to get around the quarantine for the script file that we need to access stdout from Firefox
- Needs a lot of work, and without a real JS (or otherwise Mozilla-native) Zeroconf library we can't do proper discovery without intermittent polling
- But it works, at least for me
Also includes some data/sync-layer changes that I needed along the way (and that we'll need for shared collections of any type)
2008-06-03 05:26:30 +00:00
Dan Stillman
4d03dd8d43
Moving default XML namespace declaration inside CSL objects -- this breaks CSL generation, as far as I can tell, but having the default namespace in the global scope makes dealing with E4X elsewhere very annoying
...
Creating a follow-up ticket to fix CSL generation
2008-06-02 21:30:01 +00:00
Dan Stillman
392c968315
Point trunk build to sync.zotero.org
2008-06-02 18:01:33 +00:00
Dan Stillman
77133f465c
- Saved search syncing, with automatic latest-wins conflict resolution
...
- Last sync time displayed in sync button tooltip
- Various and sundry bug fixes
DB must be re-upgraded from 1.0
2008-06-02 09:15:43 +00:00
Simon Kornblith
6d9427981e
closes #973 , citation editor broken in FF3
...
(fixes a message asking the user if s/he wants to regenerate a citation when the editor has never been shown and a parameter is changed)
2008-05-31 02:51:08 +00:00
Dan Stillman
6408762b12
Merged revisions 2640-2647,2651,2653-2654,2656-2658,2660-2667,2670-2672,2674-2677,2680,2683-2684,2687-2704,2707 to trunk via svnmerge from 1.0 branch
2008-05-16 09:14:11 +00:00
Dan Stillman
3d889d31e1
Zotero.ID fixes -- don't give same id twice in a session (which could happen if the set of available ids was used up before a database commit)
...
This might fix some sync issues.
2008-05-07 21:48:33 +00:00
Dan Stillman
416f023384
Merged revisions 2190-2192,2194,2196-2199,2202-2205,2209,2212,2214-2215,2227-2228,2230,2232-2243,2245,2247-2256,2263-2272,2276,2278-2279,2281,2284-2286,2292,2296-2297,2299-2302,2304-2305,2309-2310,2314,2317-2323,2325-2329,2331-2337,2339,2341-2342,2344,2347-2366,2370-2371,2373-2377,2379-2391,2393-2402,2405-2410,2413,2415-2416,2418,2420-2421,2423,2427-2429,2431-2433,2437,2440-2441,2443-2450,2453,2455-2459,2461-2467,2471,2475-2480,2482-2490,2493,2495-2499,2501-2506,2511,2513-2519,2521,2525-2536,2540,2543-2553,2555-2559,2561-2576,2578,2580-2603,2606-2609,2611-2616,2618-2620,2624-2630,2632-2633 to trunk via svnmerge from 1.0 branch
2008-05-05 07:19:34 +00:00
Dan Stillman
3de1789f26
Initial Zotero 1.5 Megacommit
...
Apologies for the massive (and, due to data_access.js splitting, difficult-to-follow) commit. Please note that external code that accesses the data layer may need to be tweaked for compatibility. Here's a comprehensive-as-possible changelog:
- Added server sync functionality (incomplete)
- Overhaul of data layer
- Split data_access.js into separate files (item.js, items.js, creator.js, etc.)
- Made creators and collections first-class objects, similar to items
- Constructors now take id as first parameter, e.g. new Zotero.Item(1234, 'book'), to allow explicit id setting and id changing
- Made various data layer operations (including attachment fields) require a save() rather than making direct DB changes
- Better handling of unsaved objects
- Item.setCreator() now takes creator objects instead of creator ids, and Item.save() will auto-save unsaved creators
- clone() now works on unsaved objects
- Newly created object instances are now disabled after save() to force refetch of globally accessible instance using Zotero.(Items|Creators|etc.).get()
- Added secondary lookup key to data objects
- Deprecated getID() and getItemType() methods in favor of .id and .itemTypeID properties
- toArray() deprecated in favor of serialize(), which has a somewhat modified format
- Added support for multiple creators with identical data -- currently unimplemented in interface and most of data layer
- Added Item.diff() for comparing item metadata
- Database changes
- Added SQLite triggers to enforce foreign key constraints
- Added Zotero.DB.transactionVacuum flag to run a VACUUM after a transaction
- Added Zotero.DB.transactionDate, .transactionDateTime, and transactionTimestamp to retrieve consistent timestamps for entire transaction
- Properly store 64-bit integers
- Set PRAGMA locking_mode=EXCLUSIVE on database
- Set SQLite page size to 4096 on new databases
- Set SQLite page cache to 8MB
- Do some database cleanup and integrity checking on migration from 1.0 branch
- Removed IF NOT EXISTS from userdata.sql CREATE statements -- userdata.sql is now processed only on DB initialization
- Removed itemNoteTitles table and moved titles into itemNotes
- Abstracted metadata edit box and note box into flexible XBL bindings with various modes, including read-only states
- Massive speed-up of item tree view
- Several fixes from 1.0 branch for Fx3 compatibility
- Added Notifier observer to log delete events for syncing
- Zotero.Utilities changes
- New methods getSQLDataType() and md5()
- Removed onError from Zotero.Utilities.HTTP.doGet()
- Don't display more than 1024 characters in doPost() debug output
- Don't display passwords in doPost() debug output
- Added Zotero.Notifier.untrigger() -- currently unused
- Added Zotero.reloadDataObjects() to reset all in-memory objects
- Added |chars| parameter to Zotero.randomString(len, chars)
- Added Zotero.Date.getUnixTimestamp() and Date.toUnixTimestamp(JSDate)
- Adjusted zotero-service.js to simplify file inclusion
Various things (such as tags) are temporarily broken.
2008-05-04 08:32:48 +00:00
Simon Kornblith
28d91b1309
closes #969 , Export not working under FF3
2008-03-25 15:35:54 +00:00
Simon Kornblith
6f3fc70bb1
closes #944
2008-03-24 19:22:52 +00:00
Simon Kornblith
a137f979e9
closes #944 , WebPageDump not working in Firefox 3
2008-03-24 18:46:13 +00:00
Dan Stillman
169630c5fe
Fix progress window on Firefox 3
2008-03-02 17:20:16 +00:00
Dan Stillman
42f6ac0f9f
Fixes #283 , Autocomplete broken in Firefox 3, only 17 months later
2008-02-16 10:17:31 +00:00
Dan Stillman
d92e3661d5
- Added Zotero.ID.get(table) method for getting a primary key id -- it first tries to find the lowest unused integer in the PK column and falls back to using MAX() + 1 if it can't find one quickly
...
- Removed Zotero.getRandomID() (moved into Zotero.ID, but unused)
- Purge itemDataValues on item delete
2008-02-09 09:46:29 +00:00
Dan Stillman
25d57b8428
Revert [1615-1616] on the trunk, where they're no longer necessary
2008-02-05 11:15:53 +00:00
Dan Stillman
200cca74a6
Merged revisions 1986,1988-1990,1996,1998,2000-2004,2006,2008-2010,2013,2020-2028,2032-2034,2037,2039,2044-2049,2052-2056,2059,2065-2066,2068-2072,2075,2077-2079,2081,2083-2084,2086,2088-2094,2096,2099,2101,2103-2104,2107-2110,2115,2118,2120-2122,2126-2128,2131,2140,2142-2145,2149-2153,2155-2159,2165,2167-2168,2170-2171,2173-2176,2179-2183,2185-2186 via svnmerge from
...
https://www.zotero.org/svn/extension/branches/1.0
2008-01-30 09:53:19 +00:00
Simon Kornblith
fde19abd57
deleting on the trunk...
2008-01-03 06:46:50 +00:00
Dan Stillman
e2cb3a699a
Merge r1802-1983 from branch to trunk
2007-12-02 05:45:07 +00:00
Dan Stillman
70b10ea320
Fix error saving snapshots of files not handled natively by Firefox (except PDFs)
2007-11-03 18:42:06 +00:00
Dan Stillman
ba4caa7c86
Fix incorrect defineGetter line
2007-11-01 04:07:23 +00:00
Dan Stillman
34ea8ced85
Addresses #283 , Minefield compatibility
...
Closes #285 , Hitting Esc should close tags popup
Fixes various UI issues and problems adding tags on Minefield
Still getting autocomplete self-destruction
2007-10-31 00:03:06 +00:00
Dan Stillman
1159de39f6
Fix #803 , A few UI alignment issues in Preferences
...
And streamlined some of the layout code. Used some of the changes from BZ translator (without doing away with all styling).
2007-10-30 06:52:16 +00:00
Dan Stillman
2145431468
Fix hang saving snapshots on some pages (e.g. permanent Wikipedia URLs)
2007-10-30 00:33:38 +00:00
Dan Stillman
c0ad18ee28
Fix for Case title not showing up in items list (since letter/interview change)
2007-10-29 20:31:57 +00:00
Dan Stillman
cc497c2718
Merged r1792-1793 to trunk
2007-10-26 14:44:43 +00:00
Dan Stillman
3ce9d82b00
Addresses #527 , Add translators' names to install.rdf and about.xul
...
Up-to-date on trunk and branch
2007-10-24 09:02:23 +00:00
Dan Stillman
560ae102cb
Fix spacing of larger creator type dropmarker on Windows
2007-10-24 08:55:35 +00:00
Dan Stillman
1294682120
2007-10-23 09:44:09 +00:00
Dan Stillman
35ff52f2e8
Merged 1.0 branch back to trunk
2007-10-23 07:11:59 +00:00
Dan Stillman
4fb199457d
Updated link to Quick Start Guide in fresh installs with new URL and intro note
2006-10-05 22:55:50 +00:00
Dan Stillman
c59dcdc0a6
New item types, fields, creator types, and the glue to make them work
...
If anyone's out there, now would be the time to test this.
Missing icons for the new types -- I could try to get some of those now, or we could just launch. Maybe we'll just launch. But really, might want to test this. Just sayin'.
2006-10-05 22:27:29 +00:00
Dan Stillman
589f1a6f20
2006-10-05 18:28:50 +00:00
Dan Stillman
9a96c54118
Addresses #327 , Scrapers should either take snapshots or use URL field
...
Use automaticSnapshots pref (which defaults to on and is changeable in the prefs window) rather than downloadAssociatedFiles (which defaults to off and is only settable through about:config at the moment) for now in translate.js
downloadAssociatedFiles should eventually be used for PDFs and other large files, whereas automaticSnapshots will be for HTML and the like -- in the meantime, I think it's OK for scrapers to just follow the visible pref for both, since otherwise they'd be totally confused when the NIFP button took a snapshot and the scrapers didn't
Simon, if there's any problem I'm not aware of with switching this for now (other than people getting some large PDFs on JStor), let me know.
2006-10-05 09:44:41 +00:00
Dan Stillman
76b7adaa05
Closes #328 , View button in metadata pane should show snapshot first before using URL
2006-10-05 08:54:15 +00:00
Simon Kornblith
cbe7c086e1
closes #336 , Some metadata fields are not exported with notes and attachments
...
closes #165 , verify import/export can carry all data for all fields and item types
closes #168 , make sure MODS import works with files from external sources
2006-10-05 08:45:44 +00:00
Dan Stillman
c6ae132bd3
Return itemID from linkFromURL() when it doesn't have to do a HEAD request; true otherwise
2006-10-05 06:23:44 +00:00
Dan Stillman
3919594834
New options in context menu of regular items in the item list:
...
Attach Snapshot of Current Page
Attach Link to Current Page
I also removed "New Item" from the context menu, as it was the only option in the menu that wasn't specific to the selected item, it made the whole menu a lot more confusing, and it doesn't take all that much longer to click the (+) button and choose Book (assuming that's even the item you want).
2006-10-05 05:56:56 +00:00
Dan Stillman
83da98f208
Added zotero.org link to About panel
...
Added "About Zotero..." to cog menu
2006-10-05 04:02:21 +00:00
Dan Stillman
eff310c5c9
Closes #294 , Checkbox in search dialog to search subfolders recursively
...
Addresses #155 , Localize strings
- Added "Search subfolders"
- Localized strings in search dialog
Known issue:
#342 , "Search subfolders" checkbox should be greyed out until applicable
2006-10-05 02:33:39 +00:00
Dan Stillman
e2e5d59f61
Renamed Notifier.[un]register(Item|Column)Tree() to [un]register(Item|Collection)Observer(), which is more accurate
2006-10-05 01:25:36 +00:00
Dan Stillman
cd26267afe
Closes #340 , Change isInstitution to fieldMode everywhere
...
Including in the DB, which it turns out isn't really all that bad (thanks, among other things, to SQLite's ability to DROP tables within transactions without autocommitting (which MySQL can't do))
2006-10-05 00:59:26 +00:00
Dan Stillman
74dbdec49b
Renamed user.js to userdata.js
2006-10-04 23:37:15 +00:00
Dan Stillman
088027d640
Added automaticSnapshots pref, and changed Create New Item From Current Page button to obey pref
...
At least some scrapers (NYT and WashPo, for sure) should be updated to follow this pref
Addresses #327 , Scrapers should either take snapshots or use URL field
2006-10-04 22:59:07 +00:00
Dan Stillman
026b37169a
Closes #63 , Add ECL license info to source code
...
Added on all non-trivial files -- be sure to copy over XML or JS version as appropriate for new files
2006-10-04 17:16:56 +00:00
Dan Stillman
f9c387e09b
Fixes #211 , Creator drop-down should have a little arrow to indicate it's a menu
...
Changed creator type <label> to <toolbarbutton> -- hopefully won't have any ill effects with other platforms' default themes (I haven't checked)
Moved some metadata pane CSS from overlay.css to zotero.css
2006-10-04 08:53:24 +00:00
Dan Stillman
5c6fcf8e28
Closes #330 , Attachment title should be editable
...
Currently uses an annoying popup window, since the code used in the regular metadata pane has too much baggage to use here -- it really should be abstracted into an XBL binding, but that won't be an easy feat
Also fixes SQL error opening popup notes and JS strict warnings when saving them
2006-10-04 06:57:49 +00:00
Dan Stillman
47b765121f
Restore original value in metadata fields when hitting Esc (I think it used to do this correctly and I broke it at some point)
...
Don't try to convert accessDate if it's blank
Restore autocomplete on tags
2006-10-04 03:00:10 +00:00
Dan Stillman
7cee5b3b60
Fixes #333 , Access date needs special handling in item pane for webpage item type
...
- Currently requires user to enter dates in SQL format if they want to change the access date, but at least it doesn't mangle the dates anymore
- Uses new function ScholardammitZotero.Date.dateToSQL(Date date [, Boolean toUTC])
- Utilities.lpad() now forces _string_ to a string so that .length exists
- Unrelated: Item.save() now returns false if the item didn't change
2006-10-04 00:47:55 +00:00
Simon Kornblith
92620afa52
fix a couple of rather inconsequential small bugs
2006-10-04 00:31:29 +00:00
Simon Kornblith
ac50ab16a2
Scholar -> Zotero (thanks Dan S.)
2006-10-04 00:10:35 +00:00
Dan Stillman
c08a82e831
Use "CURRENT_TIMESTAMP" (as a string, which Item.save() turns into the SQL keyword) in Translate._itemDone() rather than toLocaleString()
2006-10-03 23:16:48 +00:00
Dan Stillman
c5adecb6e7
Update Item.toArray() to properly handle new note and attachment metadata -- it now adds 'note' for embedded notes in attachments and just calls toArray() recursively to grab URL, accessDate, etc.
...
(I don't know if the export system will handle this properly or not.)
2006-10-03 22:48:40 +00:00
Simon Kornblith
56e77619c4
closes #334 , Washington Post scraper shouldn't include " - washingtonpost.com" in title
...
closes #313 , Blacklist known ad sites from scraper detection
closes #306 , some New York Times ads prevent page from being recognized
closes #308 , attachment import bug
currently, the ad site blacklist is located at the top of ingester/browser.js. at some point, we may want to switch this to a database table.
2006-10-03 22:13:49 +00:00
Simon Kornblith
03e9dc5ae5
closes #305 , add conditionals/quotes to CSL
...
addresses #327 , Scrapers should either take snapshots or use URL field
closes #309 , Integration server prevents Zotero from loading in multiple instances of Firefox
2006-10-03 21:05:48 +00:00
Dan Stillman
5da77cf7ee
2006-10-03 20:48:41 +00:00
Dan Stillman
49a8d68e60
Fixes #310 , active focus remains with zotero pane closed
...
Plus a couple JS strict warnings
2006-10-03 19:09:21 +00:00
Dan Stillman
eb94d648d7
Closes #300 , when a webpage snapshot is selected in "related" tab, disk icon appears
2006-10-03 16:25:16 +00:00
Dan Stillman
c02755cb59
JS strict warning
2006-10-03 16:05:43 +00:00
Dan Stillman
9f959bf3e0
Display and save multiple-field selections in the creator autocomplete
...
In other words, show both "Shakespeare" and "Shakespeare, William" in the drop-down, and if the latter is chosen, save both fields
One issue is that since the autocomplete is by default limited to the width of the textbox, longer entries get truncated (though you can see them with a mouseover), and that may not be easy to fix.
2006-10-03 08:38:49 +00:00
Dan Stillman
044aea0fad
Fix for access date on links and snapshots displaying as UTC (thanks Dan C.)
2006-10-03 04:25:23 +00:00
Dan Stillman
3a107a2c7c
Bug in pref pane position change warning
2006-10-03 04:18:53 +00:00
Dan Stillman
c97b4b0bc0
OK, this might be it, assuming I got the build script right
2006-10-03 00:29:42 +00:00
Dan Stillman
b5ad390070
Not done yet
2006-10-02 23:46:36 +00:00