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