Commit graph

2966 commits

Author SHA1 Message Date
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
Simon Kornblith
3349acc747 Fix description of how to add a locate engine 2011-12-04 14:17:51 -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
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
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
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
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