Commit graph

3164 commits

Author SHA1 Message Date
Simon Kornblith
44ac61c33e Fix setDocPrefs 2012-01-12 18:54:12 -05:00
Simon Kornblith
91ffdff4dd Update to citeproc-js 1.0.258 2012-01-12 18:53:50 -05:00
Simon Kornblith
f873948740 Revert "Update to citeproc-js 1.0.258"
This reverts commit 5af1ef045c.
2012-01-12 18:53:17 -05:00
Simon Kornblith
9e1bd4a858 Revert "Fix setDocPrefs"
This reverts commit caa7bca2ab.
2012-01-12 18:52:58 -05:00
Dan Stillman
add924cdce Properly clear sync-in-progress flag 2012-01-12 18:48:30 -05:00
Simon Kornblith
caa7bca2ab Fix setDocPrefs 2012-01-12 15:35:42 -05:00
Simon Kornblith
5af1ef045c Update to citeproc-js 1.0.258 2012-01-12 12:13:31 -05:00
Dan Stillman
2bf4c81a62 Make creator-based report sorting slightly less broken 2012-01-11 19:02:57 -05:00
Dan Stillman
da09a8dfcd Fix debug output of thrown errors
At some point this switched to showing just the line on which the error
occurred.
2012-01-11 18:45:22 -05:00
Dan Stillman
662be5e198 Add integrity check query for empty creators 2012-01-11 18:23:59 -05:00
Dan Stillman
4966a55a1b Disable "New Saved Search" menu option in read-only libraries 2012-01-11 18:23:36 -05:00
Dan Stillman
d63d24c636 Show access error for translator save attempt to read-only library
Not sure how this works for connector saves
2012-01-11 18:12:21 -05:00
Dan Stillman
de696d32e8 Don't show access error removing Duplicates view from read-only library 2012-01-11 18:08:11 -05:00
Dan Stillman
f425850764 Fix sync error if duplicates are merged before first sync
Replace local user key in relations with libraryID on sync user changes
and invalid upload sync errors. The latter will be unnecessary after a
DB upgrade step.

Also fixes libraryID in relations not being replaced correctly when
switching sync users.
2012-01-11 01:59:12 -05:00
Dan Stillman
4767cad19e Merge branch '3.0' 2012-01-10 19:54:09 -05:00
Dan Stillman
68f3da2c10 Scroll row into view when tabbing through item/tags box
Using a hack (focusing the proceeding row) for now. Not sure what's
causing this.
2012-01-10 19:51:01 -05:00
Dan Stillman
2a102577d1 Fix FK 2012-01-10 19:48:57 -05:00
Simon Kornblith
8ddab2fbec Make displayDialog a method on Zotero.Integration 2012-01-10 18:49:00 -05:00
Simon Kornblith
80c85c7e74 Don't try to run cleanup on old documents 2012-01-10 18:45:44 -05:00
Simon Kornblith
3c61a4eae8 Only load carbon once 2012-01-10 17:49:25 -05:00
Simon Kornblith
5a7c7368b7 More rearrangement to prevent crash on error 2012-01-10 14:10:30 -05:00
Simon Kornblith
f01ab3ffa4 Call activate before complete, to avoid accessing freed objects 2012-01-10 14:06:59 -05:00
Simon Kornblith
5c324134c6 Always run detect on all frames, even if a translator has already been found, in order to ensure that we get the translator with the highest priority 2012-01-10 10:18:23 -05:00
Simon Kornblith
62b3ee14ea Fix typo 2012-01-09 23:44:30 -05:00
Simon Kornblith
7344473e45 Call complete method to activate garbage collection, if one exists 2012-01-09 23:15:10 -05:00
Simon Kornblith
0a5ec165fb Drop empty creators in ZU.itemToServerJSON() and fix debug comments 2012-01-09 13:22:59 -05:00
Simon Kornblith
d93826af1b Merge branch '3.0' of github.com:zotero/zotero into 3.0 2012-01-09 13:21:34 -05:00
Simon Kornblith
64d9c50c32 Drop empty creators 2012-01-09 13:21:21 -05:00
Dan Stillman
bbee75ecc1 Fix dragging collection from a group library 2012-01-09 11:57:45 -05:00
Frank
afd6c35406 Upgrade citeproc-js to version 1.0.255 2012-01-09 14:10:35 +08:00
Frank
e4086a0069 Upgrade citeproc-js to version 1.0.254 2012-01-08 23:30:46 +08:00
Frank
ea72301c76 Upgrade citeproc-js to version 1.0.253 2012-01-08 11:18:43 +08:00
Dan Stillman
d70a1ed7fe Don't make prefs <description> small, since it makes it tiny on Windows
Standalone will need to be fixed to use the same preferences CSS as
Firefox.
2012-01-05 19:32:45 -05:00
Dan Stillman
0ae175127b Add help button to prefs pointing to documentation 2012-01-05 19:32:20 -05:00
Dan Stillman
204f9563c6 Fix global flag on Zotero.Prefs.get() 2012-01-05 19:05:50 -05:00
Dan Stillman
7e5ec21781 Fix misspelling in Danish locale 2012-01-05 16:25:20 -05:00
Dan Stillman
9d16cb2fe6 "Use Firefox profile directory" -> "Use profile directory" 2012-01-05 14:58:11 -05:00
Dan Stillman
bcf02d575b Make <description> elements small in prefs in Standalone 2012-01-05 03:22:15 -05:00
Dan Stillman
a73a73d576 Add NS_ERROR_FILE_IS_LOCKED to file access check 2012-01-05 02:13:29 -05:00
Dan Stillman
080b3cad87 Don't break everything 2012-01-04 14:39:51 -05:00
Dan Stillman
9b133c40aa Ignore old-style Mac newlines in conflict resolution 2012-01-03 23:26:33 -05:00
Simon Kornblith
88e1eca949 Fix slow connector switching under certain circumstances 2012-01-03 17:55:52 -05:00
Simon Kornblith
1fe660143c Don't muck with focus when hiding Zotero pane, and remove obsolete fullscreen code 2012-01-03 17:44:19 -05:00
Simon Kornblith
c76531e1d4 Fix small nit 2012-01-03 15:33:33 -05:00
Simon Kornblith
814b16d345 Merge git://github.com/willsALMANJ/zotero 2012-01-03 15:27:55 -05:00
Simon Kornblith
fb14976499 Merge branch '3.0' 2012-01-03 15:26:52 -05:00
Frank
be8fb31615 Upgrade citeproc-js to version 1.0.252. 2012-01-01 09:34:45 +08:00
Frank
30373a1424 Upgrade citeproc-js to version 1.0.251 2012-01-01 09:34:44 +08:00
Simon Kornblith
3976f7afb1 Closes #5, Fix Retrieve Metadata for Google Books
It doesn't look like Google Books PDFs actually have any OCRed text, nor do they have any obvious identifying information, so we just blacklist them for now.
2011-12-31 18:49:09 +00:00
Simon Kornblith
3b42e71c77 Adapt Google Scholar code to work even if Google Scholar doesn't throw when asked to translate a page with no items 2011-12-31 18:10:57 +00:00
Simon Kornblith
764e851e11 Duplicate handler list before running handlers, in case it is modified while running. 2011-12-31 18:06:58 +00:00
Simon Kornblith
335395f05f Fix _runHandler error. This does not fix the hang in PDF metaata retrieval. 2011-12-31 17:57:34 +00:00
Simon Kornblith
aa07db50a1 (Hopefully) fix QuickFormat box sizing once and for all 2011-12-31 16:25:43 +00:00
Simon Kornblith
251da6ce50 Pump a generator when reading out citations from document to keep UI responsive 2011-12-31 16:15:20 +00:00
Simon Kornblith
49380e39ac Fix alignment 2011-12-31 15:45:08 +00:00
Simon Kornblith
be1ffbfb76 References should not have flex 2011-12-31 15:44:13 +00:00
Simon Kornblith
485dcf143b Fix some QuickFormat box resizing issues 2011-12-31 15:19:25 +00:00
Simon Kornblith
615259c1c9 Fix showing cited items when no items with matching names exist in library, and don't update item list multiple times 2011-12-31 14:46:52 +00:00
Simon Kornblith
7855c88f9e Remove debug line 2011-12-31 14:31:36 +00:00
Simon Kornblith
e73090257a Show prefix and suffix in citation preview, use appropriate locator names, update live during editing of citation properties, and handle changes in locator properly 2011-12-31 14:30:02 +00:00
Simon Kornblith
f92850abeb Merge branch '3.0' of github.com:zotero/zotero into 3.0 2011-12-31 12:36:36 +00:00
Simon Kornblith
ddac1b8417 Avoid initializing QuickFormat window multiple times 2011-12-31 12:36:08 +00:00
Dan Stillman
4161341d2d Fix error switching options in download dialog before Z pane was opened 2011-12-30 12:44:19 -05:00
Will S
139884b99e Addressed issues pointed out by simonster 2011-12-30 02:59:35 -05:00
Simon Kornblith
e643d85d2c Get rid of for each 2011-12-27 20:13:08 +00:00
Will S
3ef0b63c47 Remove lines from tagsbox.xml that are no longer used 2011-12-27 14:57:46 -05:00
Will S
520a2b061c Select appropriate tag when moving from changed tag using enter or tab (not for mouse click) 2011-12-27 09:06:50 -05:00
Will S
87c47c0615 Select next logical tag when adding multiple tags at once. 2011-12-27 09:02:06 -05:00
Simon Kornblith
da53576e0e Sort libraries by number of items cited from them 2011-12-24 00:22:40 +00:00
Simon Kornblith
a4f38cf482 Fix links in about box 2011-12-22 20:42:26 -05:00
Dan Stillman
3ac5a6db09 Merge branch '3.0' 2011-12-22 12:21:32 -05:00
Dan Stillman
4bc5406d34 Merge new English strings 2011-12-20 02:27:34 -05:00
Simon Kornblith
c7df8c879c Also fix retrieveDocument 2011-12-20 01:03:09 -05:00
Simon Kornblith
f1dc556e36 Fix retrieveSource 2011-12-20 00:59:33 -05:00
Simon Kornblith
78a79abfab Fix ISBN lookup on branch 2011-12-19 23:11:19 -05:00
Simon Kornblith
b4aa23fc0e Update to citeproc-js 1.0.250 2011-12-19 03:57:06 -05:00
Simon Kornblith
d380bb9638 Don't include links to group items 2011-12-19 03:41:30 -05:00
Simon Kornblith
09060529a1 Remove debug line 2011-12-19 03:40:57 -05:00
Simon Kornblith
f81f0d7143 Allow citing embedded items and editing citations containing embedded items 2011-12-19 03:38:58 -05:00
Simon Kornblith
878f70998f Show most recently cited items at the top of QuickFormat. Also, typing "ibid" into QuickFormat now shows a list of the most recently cited items. 2011-12-19 01:36:33 -05:00
Simon Kornblith
449eae031f Fix cancelling editing of citations 2011-12-18 16:08:48 -05:00
Dan Stillman
6ec69b0b91 Add Unicode normalization utility function, using NFC
Addresses https://www.zotero.org/trac/ticket/865

Need to decide the best place to call this
2011-12-17 18:09:51 -05:00
Dan Stillman
ab9545688f Fix Verify Server error display 2011-12-17 16:46:21 -05:00
Dan Stillman
059460a5d2 Merge branch '3.0'
Conflicts:
	chrome/content/zotero/xpcom/storage/webdav.js
	chrome/content/zotero/zoteroPane.js
	chrome/skin/default/zotero/preferences.css
2011-12-17 16:25:58 -05:00
Dan Stillman
917d928d79 Fix spacing around text links in preferences 2011-12-17 16:14:46 -05:00
Dan Stillman
fe97d33e38 Display "Load WebDAV URL" button in Verify Server error
Allows for easier Standalone cert override (I hope -- not yet tested)
2011-12-17 16:13:37 -05:00
Will S
e10d049428 Fix minor bug that made shift+tab on a final, blank tab jump back two indices instead of one 2011-12-15 19:36:43 -05:00
Will S
86fa29bf14 Same functionality as previous commit, but newlines now parsed in tagsbox.xml instead of addTag() function, just like creator newlines are parsed in itembox.xml 2011-12-14 19:59:57 -05:00
Dan Stillman
0456e5d3be About pane updates 2011-12-14 17:52:10 -05:00
Dan Stillman
b4512ac91d Remove unused third parameter to ZoteroPane.loadURI() 2011-12-14 17:49:14 -05:00
Dan Stillman
f87bee9f7c Fix blank window/tab when file.launch() fails
Use nsIExternalProtocolService.loadUrl() as a fallback rather than window.loadURI()

If "Remember my choice for file links" is selected, there's currently
no way to change that in Standalone short of deleting mimeTypes.rdf.
2011-12-14 17:46:21 -05:00
Dan Stillman
87c4dfb893 Remove excessive Zotero.libraryID calls syncing deleted items 2011-12-12 16:44:49 -05:00
Dan Stillman
14bb52a43f Replace a couple more nsITimer calls 2011-12-08 01:35:24 -05:00
Dan Stillman
b916935256 Replace direct nsITimer call with setTimeout() 2011-12-08 01:28:57 -05:00
Simon Kornblith
eeedc49274 Fix quotation marks 2011-12-07 02:31:40 -05:00
Simon Kornblith
fbb09565ae Fix an error adding a citation 2011-12-07 01:05:20 -05:00
Dan Stillman
b43ce3254d Year part of title/creator/year search worked only if month/day were set 2011-12-06 18:01:28 -05:00
Will S
9285b0cfb1 Allow delimited entry of multiple authors or tags 2011-12-06 16:59:11 -05:00
Simon Kornblith
3349acc747 Fix description of how to add a locate engine 2011-12-04 14:17:51 -05:00
Simon Kornblith
e57658c5e2 Merge branch '3.0' 2011-12-04 13:20:11 -05:00
Simon Kornblith
49e281d3c5 Use quicksearch-titleCreatorYear instead of quicksearch-titlesAndCreators 2011-12-04 13:14:58 -05:00
Dan Stillman
54b32ddb15 Change isSameNode() to === for Fx10 compatibility
I didn't test this (since it's in annotation code), but according to
https://bugzilla.mozilla.org/show_bug.cgi?id=687400 they're equivalent.
2011-12-02 20:17:43 -05:00
Dan Stillman
5484fdb01d Adjust some note editor ids for clarity when debugging 2011-12-02 19:31:28 -05:00
Dan Stillman
f0147cae86 Fix broken notes when the first note viewed in a session is read-only 2011-12-02 19:30:50 -05:00
Dan Stillman
2ebb9ddaf1 Merge branch '3.0' 2011-12-01 14:43:30 -05:00
Dan Stillman
9d9ab86729 Update titles/creators quicksearch mode to include year
Also:

Change "All Fields" to "All Fields & Tags" to reflect reality
Increase width of search box slightly
2011-12-01 14:33:43 -05:00
Dan Stillman
efbb0a5c8f Still upload files, even when "as needed" downloading is enabled 2011-12-01 01:00:42 -05:00
Simon Kornblith
e5859ebada Tweak UI and don't allow selection of library headers 2011-11-28 01:26:41 -05:00
Mikko Rönkkö
dea69fac3d Added grouping of items by library and separators for libraries to QuickFormat dialog 2011-11-28 01:26:34 -05:00
Dan Stillman
309579719a Remove numChildren localization 2011-11-26 03:45:56 -05:00
Dan Stillman
758216638f On-demand download support
Can choose to download files "at sync time" or "as needed"

On-demand defaults to on, but remains off for existing users

To-do:

- Handling of local and remote file changes on on-demand download
  (currently if a file exists it isn't downloaded, which means a
  remotely modified file won't be redownloaded in on-demand mode)
- Additional control over file downloading and retention

Other changes:

- Overhauled entire file syncing architecture
- Replaced numAttachments column with Note and Attachment columns with
  dynamic icons to indicate status
- Double-clicking a parent with a missing best attachment and on-demand
  downloading off no longer loads the parent URL
- Bugs
2011-11-26 03:45:55 -05:00
Simon Kornblith
80530b9599 Tweak UI and don't allow selection of library headers 2011-11-25 12:45:06 -05:00
Simon Kornblith
cd2d374ff5 Merge branch 'master' of git://github.com/mronkko/zotero 2011-11-25 12:12:22 -05:00
Dan Stillman
75baa706cd Fix "Untitled" collection naming after "Untitled 10"
Fixes #16
2011-11-17 14:16:25 -05:00
Dan Stillman
81b6974053 Add more reasonable "Medium" font setting, and shift M/L to L/XL
Also adjust spacing of radio buttons in General pref pane
2011-11-17 02:10:10 -05:00
Dan Stillman
d5e9ca11f3 Restore Locate button on missing files (since 10/15) 2011-11-16 17:55:18 -05:00
Dan Stillman
8f742bc7ab Don't require manual sync on 40x response for invalid session errors
Server currently returns 500 but should return 403
2011-11-08 02:45:17 -05:00
Simon Kornblith
7a5b1f7e32 Merge pull request #6 from ajlyon/diacritic
Short-circuit removeDiacritics on alphanumeric and other basic input
2011-11-07 21:04:35 -08:00
Dan Stillman
83216d6125 Relations libraryID fixes
- For cross-library links, if both group libraries, store relation with
  source group. Otherwise, store with personal library.
- Send libraryID when syncing
- Update libraryID properly when syncing updated relation from server
- Increment sync API version so server can send relation libraryIDs
  safely
2011-11-07 13:32:19 -05:00
Avram Lyon
d707947450 Short-circuit removeDiacritics on alphanumeric and other basic input 2011-11-03 11:53:53 -07:00
Dan Stillman
078efc4042 Don't die if a creator is missing at an index 2011-11-03 12:46:48 -04:00
Mikko Rönkkö
3d928ce55f Added grouping of items by library and separators for libraries to QuickFormat dialog 2011-11-03 16:31:31 +02:00
Dan Stillman
ea44d9cf6f Maybe fix some broken WebDAV servers
Use "1" instead of " " for test and lastsync files
2011-11-02 23:50:05 -04:00
Dan Stillman
25ba8c7006 Prepend error info (except other add-ons info) to debug output 2011-11-02 16:46:53 -04:00
Mikko Rönkkö
6dfb6af461 Changed the required versions from SVN to SOURCE to reflect name changes 2011-11-02 18:33:49 +02:00
Simon Kornblith
acd54cd2c0 Save a little code 2011-11-02 00:28:54 -04:00
Simon Kornblith
690ceac4b3 Fix transferring documents between translator sandboxes 2011-11-02 00:25:47 -04:00
Dan Stillman
edd4fabf2e Move de-DE directory to de (already registered as 'de' in chrome.manifest) 2011-10-31 14:14:29 -04:00
Dan Stillman
e064009fe2 Add CSL locales repo as submodule 2011-10-31 02:15:47 -04:00
Dan Stillman
38757e55c0 Remove old CSL locale directory 2011-10-31 02:15:01 -04:00
Simon Kornblith
7bafb1100b Update to citeproc-js 1.0.236 2011-10-31 00:37:24 -04:00
Dan Stillman
7b4f16e233 Show the + symbol when dragging items between collections or libraries
TODO: don't show symbol when the item can't be dropped
2011-10-29 15:50:57 -04:00
Dan Stillman
7a5024df6e Change "SVN" references to "source" 2011-10-28 01:27:04 -04:00
Simon Kornblith
0a5f4946d3 Wait until 250 ms after keypress before executing search in QuickFormat
Thanks to mronkko for the patch
2011-10-23 19:09:53 +00:00
Dan Stillman
2e41266c03 Use a DOMDocument instead of E4X for uploaded XML generation -- this is almost an order of magnitude faster and hopefully fixes data corruption issues with E4X on large uploads that were causing validation errors on the server.
Individual objects are still created as E4X (e.g., in itemToXML()) and reparsed into the DOM. Generating individual objects with the DOM would produce roughly another order-of-magnitude speedup.
2011-10-21 21:31:13 +00:00
Dan Stillman
462d9ab199 Automatically trim username in sync preferences 2011-10-20 17:57:50 +00:00
Dan Stillman
4fb9c2877f Fix error when changing item types 2011-10-19 22:27:17 +00:00
Simon Kornblith
11ad20a1d8 Update to citeproc-js 1.0.227 2011-10-15 22:47:17 +00:00
Dan Stillman
40ec344218 Fix a number of problems related to newlines in filenames
- Properly strip newlines and tabs in filenames (broken since May 2011)
- If view isn't editable, don't show Locate button, since the updated path couldn't be sent back up
- Fix access error if a synced file needs to be renamed to be valid but user doesn't have group editing access
- Don't allow newlines in item titles (e.g., via copy/paste)
2011-10-15 05:50:30 +00:00
Dan Stillman
7b902f0fd4 Replace more E4X compound assignment operators with appendChild(), as in r10250 2011-10-14 02:43:12 +00:00
Dan Stillman
8ad3b513a1 - Allow twisty clicks (in collections and items panes) to work in duplicates view
- Move collection selection down if a collection above is opened (since r9950)
2011-10-12 18:41:23 +00:00
Dan Stillman
749b4ee464 Display more helpful message for "Username not set" error when clicking on the sync error icon (previously displayed a full message at sync time for foreground syncs but updated the error icon dialog only for background syncs) 2011-10-12 15:23:53 +00:00
Dan Stillman
456406fc10 Increase max length of duplicate detection field selector menu items, and display tooltip if still cut off 2011-10-12 08:48:47 +00:00
Dan Stillman
c22c87a053 Require at least one last name + first initial match for title matching in duplicate detection 2011-10-11 23:48:20 +00:00
Dan Stillman
01ea59491a - Fix error handling in syncing when using pumpGenerator()
- Take an optional error handler as the third parameter to pumpGenerator()
2011-10-11 16:18:17 +00:00
Dan Stillman
ec6d38df68 Addresses #1796, trigger() checks type rather than event for 'modify', 'delete'
Just take out check for extraData
2011-10-10 17:01:22 +00:00
Simon Kornblith
92382ca856 Update to citeproc-js 1.0.226 2011-10-10 07:23:38 +00:00
Simon Kornblith
da180d3fed Remove debug line 2011-10-10 03:02:28 +00:00
Dan Stillman
3a6977a733 Fix "no such column: groupID" sync error 2011-10-09 19:34:54 +00:00
Dan Stillman
21f1e3789e Fixes #1796, trigger() checks type rather than event for 'modify', 'delete' 2011-10-06 16:04:53 +00:00