Commit graph

2462 commits

Author SHA1 Message Date
Simon Kornblith
ef1deb3691 Fix text position 2012-01-25 03:18:17 -05:00
Simon Kornblith
bd74c29bce Fix buttons in Nightly 2012-01-25 03:10:06 -05:00
Dan Stillman
c612058577 Add csl-left-margin fix from 0ea6c6acf to client 2012-01-24 18:42:55 -05:00
Dan Stillman
1b2a8d38e6 Fix getNotes() with sortNotesChronologically 2012-01-24 04:46:44 -05:00
Dan Stillman
64fe2c3ac3 Fix item.getAttachments() when sortAttachmentsChronologically is true
Caused a duplicate merging error, and possibly others
2012-01-24 02:28:32 -05:00
Dan Stillman
6d9260934d Remove accessDate debugging 2012-01-23 14:37:11 -05:00
Dan Stillman
9b9c186b4c More accessDate debugging 2012-01-23 13:16:58 -05:00
Simon Kornblith
3079bf3e83 Fix translator error reports 2012-01-22 23:31:45 -05:00
Simon Kornblith
c00820c128 Fix IE 8 compatibility 2012-01-22 19:17:39 -05:00
Simon Kornblith
ab145f1af7 Fix translation 2012-01-22 18:02:43 -05:00
Simon Kornblith
448d68295b Be more lenient about spacing 2012-01-22 14:35:55 -05:00
Simon Kornblith
c3ad5fd6f9 Don't kill translator tester on invalid test data 2012-01-22 14:30:33 -05:00
Simon Kornblith
63724c2625 Don't break import with translators without configOptions specified 2012-01-22 14:30:11 -05:00
Simon Kornblith
a32c7b6bf9 Read configOptions out of parsed translator 2012-01-22 13:37:13 -05:00
Simon Kornblith
7202e8c2ba Fix Zotero.CreatorTypes.getTypesForItemType in connector 2012-01-22 13:29:15 -05:00
Simon Kornblith
4a86b2112d Update to citeproc-js 1.0.267 2012-01-22 12:11:26 -05:00
Simon Kornblith
35642b465f Fix for broken locale retrieval with Ubuntu Firefox Modifications 2012-01-22 11:27:16 -05:00
Dan Stillman
04fb50528c Move locales.xml retrieval into try
Fixes "Access to restricted URI denied" issue on Ubuntu
2012-01-22 11:23:35 -05:00
Dan Stillman
94bb513d92 Remove debug output 2012-01-22 10:41:35 -05:00
Dan Stillman
476e0f87d6 Locale debugging 2012-01-22 10:28:34 -05:00
Simon Kornblith
b8781bf254 Update to citeproc-js 1.0.266 2012-01-22 10:15:48 -05:00
Simon Kornblith
f04d396d73 Revert mapping from inventor to author, since we already map primary creator types to CSL author 2012-01-22 10:15:11 -05:00
Dan Stillman
0a92a584d0 More debugging info for access date issue 2012-01-21 04:05:28 -05:00
Simon Kornblith
fad4dc9969 Fix TinyMCE HTML window, part 1 2012-01-21 01:20:40 -05:00
Dan Stillman
f272fc6861 Tweak read-only save error message 2012-01-20 17:51:00 -05:00
Dan Stillman
0fd93c2711 Revove access date debug output
This reverts commit 20afa7e561.
2012-01-20 17:26:10 -05:00
Dan Stillman
c89bb04484 Add mappings for obsolete style ids 2012-01-20 17:25:02 -05:00
Dan Stillman
b342999983 Update submodule pointers 2012-01-20 17:03:38 -05:00
Dan Stillman
84e59d6601 Delete chicago-note.csl, mhra_note_with_bibliography.csl, aaa.csl
First two are redundant, third has been renamed

Mappings for existing documents forthcoming
2012-01-20 17:00:53 -05:00
Simon Kornblith
b617c508b1 Propagate errors in child translators to parents
See http://groups.google.com/group/zotero-dev/browse_thread/thread/59dbd15bf6c84133
2012-01-20 16:16:52 -05:00
Dan Stillman
79b1fe30dc Workaround for broken file/URL launching in Standalone on Linux
Falls back to /usr/bin/xdg-open by default, configurable via
extensions.zotero.fallbackLauncher.unix (or .windows, though that
should be much rarer). Also used for file revealing.

If xdg-open fails, files launch via the external helper app dialog and
URLs just don't work.
2012-01-20 15:23:06 -05:00
Dan Stillman
20afa7e561 Some debugging output for access date issue 2012-01-20 13:58:35 -05:00
Dan Stillman
0b33e7d1b7 Replace various space characters in filenames that break on Windows
These are all valid Unicode characters, but PDF plugins can't files with
filenames containing them on Windows.
2012-01-19 22:36:14 -05:00
Dan Stillman
8941e610e0 Fix invalid CSS selector on Windows
I didn't check whether this affects anything. The rule was being ignored
previously.
2012-01-19 21:05:35 -05:00
Dan Stillman
1e20c8cb53 Fix saving of "@22" files in snapshots
CSS rules were being made available to WebPageDump with double-quotes in
the url() rules, despite the original rules not containing them. WPD's
regexp for parsing url() rules included the quotes in the captured
strings, which prevented relative URLs from being properly interpeted --
they were instead appended to the base URL, resulting in "@22" (") at the
end and 404s (sometimes with large HTML pages) that were then saved to
disk instead of the image.
2012-01-19 15:50:27 -05:00
Frank
f047999339 Upgrade citeproc-js to version 1.0.264 2012-01-19 18:10:11 +08:00
Dan Stillman
6b58d3e2af Fix erroneously disabled "Empty Trash" (recent regression) 2012-01-19 02:40:46 -05:00
Simon Kornblith
865b3e0b21 Add progress indicator to add item by identifier 2012-01-18 23:50:38 -05:00
Frank
376ecba496 Upgrade citeproc-js to version 1.0.263 2012-01-19 01:26:13 +08:00
Frank
0e9505a2c5 Upgrade citeproc-js to version 1.0.262. 2012-01-19 01:26:13 +08:00
Frank
8bebd77a57 Upgrade citeproc-js to version 1.0.261. Important fix to avoid a processor hang in some circumstances. 2012-01-19 01:26:13 +08:00
Dan Stillman
eddaa672ef Provide link to cert override docs in Standalone Verify Server
The button wasn't opening the WebDAV URL within Standalone, and
XULRunner doesn't provide the whitelist interface anyway.

Documentation page still needed
2012-01-18 03:37:54 -05:00
Dan Stillman
35efd798de Save real target URLs from Google search results
"Save Link as Zotero Item" previously saved Google's tracking page
instead of the real destination. This can be extended to other sites
if necessary.
2012-01-17 04:52:53 -05:00
Simon Kornblith
77a9bac691 Fix window dragging on Windows, because for some reason the jsm doesn't work properly 2012-01-17 01:50:39 -05:00
Simon Kornblith
0fcf07dd6a Teeny tiny cosmetic fix on Windows 2012-01-17 01:50:39 -05:00
Simon Kornblith
bbd686f8bb A true platform-general solution to the panel sizing problem 2012-01-17 01:50:39 -05:00
Simon Kornblith
6750535319 Fix panel sizing on OS X and Windows 2012-01-17 01:50:39 -05:00
Dan Stillman
2b2da828c0 Restore ".SOURCE" in ZOTERO_CONFIG version 2012-01-17 01:19:29 -05:00
Dan Stillman
261862cf30 Remove debugging info 2012-01-17 01:18:38 -05:00
Simon Kornblith
a17b78e222 Minor cosmetic fix 2012-01-16 23:57:19 -05:00
Simon Kornblith
7a52b65e85 Some more Linux focus fixes, and fix panel size 2012-01-16 23:57:19 -05:00
Simon Kornblith
189b3cd146 Fix refocusing of Quick Format window on Linux 2012-01-16 23:57:19 -05:00
Dan Stillman
6c6505a7ba Make "Restore to Library" button look somewhat less awful 2012-01-16 23:04:36 -05:00
Simon Kornblith
6c97fed76c Fixes for Firefox 3.6 (ugh) 2012-01-16 22:39:29 -05:00
Simon Kornblith
51b3af7bc7 Move icon over by one pixel 2012-01-16 21:33:43 -05:00
Simon Kornblith
b66c2aab89 Add preferences to menus on Windows and Linux 2012-01-16 21:29:32 -05:00
Simon Kornblith
c6a366638d Only use Zotero.version from ZOTERO_CONFIG until we can get it from the add-on manager 2012-01-16 20:39:08 -05:00
Simon Kornblith
e16a0cb47a Enable JavaScript in hidden browsers. This fixes http://forums.zotero.org/discussion/21381/ (which occurs because document.domain differs even though the origin is the same) and is consistent with the behavior of the connectors. 2012-01-16 11:15:29 -05:00
Dan Stillman
407e8ab32a Fix collection drag error if standalone file and no-files group 2012-01-16 03:28:38 -05:00
Frank
bfd1c1c91f Map Zotero inventor to CSL author, which seems unlikely to be controversial. 2012-01-16 00:18:59 +08:00
Dan Stillman
d029fca692 Additional debug output 2012-01-15 03:00:01 -05:00
Simon Kornblith
a2bb949bc0 Update to citeproc-js 1.0.260 2012-01-14 14:32:16 -05:00
Simon Kornblith
61a987303f Fix conversion between fields and bookmarks 2012-01-14 14:25:08 -05:00
Simon Kornblith
c5b4043155 Fix setDocPrefs, part 2 2012-01-14 00:34:08 -05:00
Dan Stillman
c77c7ca17d Throw error when attempting to install style that isn't XML
Also remove redundant "new XML()" call, which cleanXML() does itself.
2012-01-13 18:41:08 -05:00
Dan Stillman
063ba1de5e Undelete linked item automatically when redragging item to a library
Unlike with Restore to Library, the linked item is first removed from
any collections, so it only ends up in the library root and, if
applicable, the target collection.
2012-01-13 18:11:00 -05:00
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
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
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
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
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
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
Simon Kornblith
e643d85d2c Get rid of for each 2011-12-27 20:13:08 +00: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
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
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
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
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
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