Commit Graph

1288 Commits

Author SHA1 Message Date
Nicolae Turcan
8ff61fbdd8 Correct macros 2008-07-10 16:34:21 +00:00
Nicolae Turcan
876d015dc5 New macro for pages 2008-07-10 16:13:03 +00:00
Dan Stillman
06e9e86201 Fix for file launch regression on trunk -- getFile() wasn't always returning an nsILocalFile 2008-07-10 16:05:58 +00:00
Nicolae Turcan
5504cbaa6c New macro for pages 2008-07-10 12:17:38 +00:00
Nicolae Turcan
e218a55af4 New macro for locators 2008-07-10 11:25:39 +00:00
Simon Kornblith
14a6daa11f 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
29ffe74eaf Replace invalid characters with a dashed square Unicode character instead of stripping 2008-07-09 18:49:43 +00:00
Dan Stillman
72bdc5772e Invalid characters after the first one in a string weren't being replaced 2008-07-09 18:05:53 +00:00
Dan Stillman
73d7e84925 Fix "str is null" sync error with empty search condition values 2008-07-09 15:57:33 +00:00
Dan Stillman
1ea58d338d Strip characters invalid in XML when sending data 2008-07-08 22:23:38 +00:00
Dan Stillman
f0856bac79 Don't trigger autosync on 'refresh' event 2008-07-08 19:12:30 +00:00
Dan Stillman
d0b02cc008 Update userdata version 2008-07-08 16:27:24 +00:00
Dan Stillman
e31ec3e956 Fix attachments with missing rows in itemAttachments 2008-07-08 16:26:50 +00:00
Dan Stillman
17a72dc0cf Fix tag migration error ("oldIDs.map is not a function") 2008-07-08 15:02:14 +00:00
Dan Stillman
b6a9917136 Fix upgrade error if no 'storage' DB 2008-07-08 14:17:46 +00:00
Dan Stillman
1982c6c15d Change zotero-tb-actions-utilities-separator to zotero-tb-actions-plugins-separator 2008-07-07 19:46:16 +00:00
Dan Stillman
d83f108c0b 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
ad90f90006 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
7918472d9f 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
b21be5b99a 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
9833df0977 Recorded merge of revisions 2977 via svnmerge from 1.0 branch 2008-07-07 15:12:42 +00:00
Dan Stillman
e934258df4 Remove debugging 2008-07-07 14:01:53 +00:00
Dan Stillman
1fa74b02de Add UNIQUE index on itemDataValues values 2008-07-07 14:00:34 +00:00
Dan Stillman
679442f444 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
4067bb2111 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
6758b7d5c7 Allow clearing of sync password 2008-07-02 10:08:11 +00:00
Dan Stillman
71e6ba6b11 Set auto-sync expiry to September 1, 2008 2008-07-01 20:44:43 +00:00
Dan Stillman
b4730b3dd4 Auto-sync on first open of Zotero pane after starting Firefox 2008-07-01 20:39:20 +00:00
Dan Stillman
68f56c48e4 Sync error icon and tooltip display 2008-07-01 00:44:52 +00:00
Dan Stillman
7c4bc05193 Adds animated sync icon -- not yet perfect 2008-06-30 15:14:35 +00:00
Dan Stillman
7e0ba527d4 Part of auto-sync support 2008-06-30 01:01:53 +00:00
Dan Stillman
0e0e4aa2b1 Basic auto-sync support -- timer reset to 15 seconds after each data operation 2008-06-30 00:56:31 +00:00
Dan Stillman
e723758346 Closes #1038, Migrate Quick Start Guide item ID 2008-06-26 18:34:16 +00:00
Dan Stillman
d4b4dbf940 Fix upgrade problem with attachment dirs beginning with numbers 2008-06-26 16:38:22 +00:00
Dan Stillman
91b2fb99f1 Fix a few potential attachment errors 2008-06-26 04:14:02 +00:00
Dan Stillman
1e42abb5e4 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
ab4c05be59 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
d6fed04add Drop fulltextWords index after checking for duplicates from corruption 2008-06-25 04:14:17 +00:00
Dan Stillman
dd78c85d73 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
5a60ccc92a Closes #1048, Convert all values to strings in serialize() 2008-06-25 01:11:22 +00:00
Dan Stillman
f4bdb1c6ad Don't put quotes around numbers in varDump() (used in debug()) 2008-06-25 01:07:35 +00:00
Dan Stillman
c29363337e 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
7196b90d08 Drop redundant index on fulltextWords 2008-06-25 00:22:25 +00:00
Dan Stillman
c9e4b7083e 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
522e9ecbba 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
a1e3f8aefd Move levenshtein() and min3() into Zotero.Utilities 2008-06-23 20:33:57 +00:00
Dan Stillman
224d51eeb9 Implements levenshtein as SQLite UDF
Function from Ben
2008-06-23 20:28:42 +00:00
Julian Onions
8693925306 Some formatting changes to neuroscience from Tilman Kispersky
Minor reformat for ou-harvard-numeric for hanging indent.
2008-06-23 19:39:25 +00:00
Dan Stillman
a28ac8cd59 Add a comment pointing to Bugzilla before first use of "with ({});" 2008-06-23 16:53:04 +00:00
Dan Stillman
63ff5c2dc2 Fix typo 2008-06-23 16:47:41 +00:00