Commit graph

3671 commits

Author SHA1 Message Date
Frank
bd389398a7 Refresh citeproc-js version 1.0.328 2012-05-01 00:48:53 -04:00
Frank
53b6312a7f Refresh citeproc-js version 1.0.328 2012-05-01 00:48:52 -04:00
Frank
ca02bec4df Upgrade citeproc-js to version 1.0.328 2012-05-01 00:48:52 -04:00
Frank
3869eda57c Upgrade citeproc-js to version 1.0.327 2012-05-01 00:48:52 -04:00
Frank
525b7dcfa5 Upgrade citeproc-js to version 1.0.327 2012-05-01 00:48:52 -04:00
Dan Stillman
1e87bb9d21 Update versions, maxVersion, submodules, and repotime 2012-04-30 14:43:56 -04:00
Dan Stillman
5804516600 Update version 2012-04-29 23:43:28 -04:00
Dan Stillman
ef370b96a1 Update submodules 2012-04-29 23:38:25 -04:00
aurimasv
1942fb6762 Remove compatibility hack from rdf.js. Fix Zotero code instead. Move all setup to init.js 2012-04-29 20:30:37 -05:00
Simon Kornblith
effffd621b Allow attachment.path to be one of the following:
- An absolute path
- A relative path
- A file:/// URI
- A mangled absolute path that's missing a leading /
2012-04-27 23:15:12 -04:00
Simon Kornblith
24f7b9fe48 Expose path to PDF in Zotero storage folder to export translators as attachment.localPath 2012-04-27 22:25:40 -04:00
aurimasv
805d3ed6a6 Passed through jsbeutifier 2012-04-27 01:53:00 -05:00
aurimasv
87e77593c3 Remove some left-over unnecessary code from previous commits 2012-04-27 00:55:00 -05:00
aurimasv
cecb00cb9b Remove unused code from the unused n3 parser 2012-04-27 00:52:41 -05:00
aurimasv
23fa1241ab Simon: fix invalid XML on export due to quotation marks in URI 2012-04-27 00:52:41 -05:00
aurimasv
a381062621 Simon: closes #1732, Creator sequence breaks in RDF export with > 10 creators (thanks Frank) 2012-04-27 00:52:40 -05:00
aurimasv
eaa50ca9fc Simon: patches to RDF support 2012-04-27 00:52:40 -05:00
aurimasv
b0923f64a3 Simon: use objects instead of arrays in serialize.js 2012-04-27 00:52:40 -05:00
aurimasv
3742736363 Use shorthand notation for rdf:type and some other constructs. 2012-04-26 23:56:08 -05:00
Frank
524033abc9 Upgrade citeproc-js to version 1.0.326 2012-04-27 00:02:12 -04:00
Frank
6b1396d979 Upgrade citeproc-js to version 1.0.325 2012-04-27 00:02:12 -04:00
Frank
437b1f1c80 Upgrade citeproc-js to version 1.0.324
This fixes an anomaly in the application of text escapes to
output identified by Rintze Zelle.
2012-04-27 00:02:12 -04:00
Frank
051cd3ad30 Upgrade citeproc-js to version 1.0.323 2012-04-27 00:02:12 -04:00
Frank
4df9472bd3 Upgrade citeproc-js to version 1.0.322 2012-04-27 00:02:11 -04:00
Frank
f40a97911a Upgrade citeproc-js to version 1.0.321 2012-04-27 00:02:11 -04:00
aurimasv
113a3d8ef2 Eliminate unintentional globals 2012-04-26 20:55:14 -05:00
Dan Stillman
8e5c82a718 Latest translations from Transifex and merged English strings 2012-04-26 19:48:54 -04:00
aurimasv
ea767e5647 Set up environment for RDF parser 2012-04-26 17:36:35 -05:00
aurimasv
53d336681b Tabulator v0.8 RDF parser initial commit 2012-04-25 20:14:58 -05:00
Dan Stillman
b9d7992ba8 Respect modifier keys for new tab/window when generating report 2012-04-25 20:43:58 -04:00
Dan Stillman
04b0d26b97 Fix auto-import of application/x-inst-for-scientific-info 2012-04-25 04:36:46 -04:00
Simon Kornblith
01813f57cf Allow translators to get the translatorID of their parent translator as Zotero.parentTranslator. Among other things, this permits import translators to exhibit different behavior depending on when they are called from web translators. 2012-04-24 02:11:58 -04:00
Simon Kornblith
8faf011b2d Fix removing codes by pressing "No" in reselect item dialog with Word for Mac 2012-04-20 21:58:57 -04:00
aurimasv
339413e5a6 tabulator.log fix 2012-04-19 21:48:01 -05:00
Simon Kornblith
57ebfcd55e Fix typo 2012-04-19 00:38:14 -04:00
Simon Kornblith
00f11f4f06 Fix typo 2012-04-19 00:13:55 -04:00
Simon Kornblith
18d9c6be8c Add print and save options to reports, part 1 2012-04-19 00:12:43 -04:00
Simon Kornblith
e009f56109 Don't try to validate fields whose values are false 2012-04-19 00:12:43 -04:00
Dan Stillman
ef71d544c1 Fixes #62, Show sync progress bar only for longer syncs
Shows the progress bar only if sync takes longer than 100ms
2012-04-18 23:17:28 -04:00
Dan Stillman
5275dafbc9 Clear undo history when switching notes
This prevents notes from being overwritten with each other's contents.
This used to work right, but it was broken with the switch to rich-text
notes.
2012-04-17 15:42:15 -04:00
Simon Kornblith
512ae575fa Don't try to register attachment callback listener in Firefox 2012-04-16 20:20:12 -04:00
Dan Stillman
fa3910f436 Fixes #32, Focus new notes automatically
This broke between Fx 3.6 and 11. Focusing the iframe first fixes it.
2012-04-16 05:05:31 -04:00
Dan Stillman
1c7ac1a9a0 Make "New Note" shortcut key context sensitive
- If a regular item is selected, use that as the parent.
- If a child item is selected, use its parent as the parent.
- Otherwise create a standalone note.
2012-04-16 04:22:42 -04:00
Simon Kornblith
2327c5cc98 Not all translators are supported 2012-04-16 01:31:22 -04:00
Simon Kornblith
cfc5bc33e8 Override runMode when running tests 2012-04-16 01:05:31 -04:00
Simon Kornblith
9eb75e3439 Fix IE and Safari support 2012-04-16 00:49:04 -04:00
Simon Kornblith
96bb436b20 Make it possible to override TEST_RUN_TIMEOUT 2012-04-16 00:12:58 -04:00
Frank
1d5e23a33e Upgrade citeproc-js to version 1.0.320 2012-04-14 20:41:39 -04:00
Nicolas Chachereau
ffd12cb02e Fixed Integration Preferences dialog, which was giant with French locale. 2012-04-14 19:53:12 -04:00
Simon Kornblith
62d08bdbbb Properly report upload errors and properly splice off HTML attachments 2012-04-10 20:06:53 -04:00
Simon Kornblith
3f165a4dc3 Fix stringToUTF8Array 2012-04-10 20:06:46 -04:00
Simon Kornblith
1c4eebff0b Deal with spaces in ISBNs 2012-04-09 16:47:12 -04:00
Simon Kornblith
14ac5a7d2d Use onreadystatechange instead of onloadend, because the latter is not supported by MobileSafari, and add debug messages 2012-04-09 12:47:02 -04:00
Simon Kornblith
129805c62b Minor tweak to avoid calling done too early 2012-04-09 11:21:52 -04:00
Simon Kornblith
d3bc2b4046 Merge pull request #93 from aurimasv/recognizePDF
[PDF Metadata Retrieval] Call detectWeb before trying to call doWeb for Google Scholar
2012-04-08 21:51:29 -07:00
aurimasv
17f6d4fd3a Moving setHandler "translator" next to other setHandler calls. 2012-04-08 23:48:49 -05:00
aurimasv
e412580598 this.translator may contain Zotero.Translate objects or translatorID's 2012-04-08 23:48:10 -05:00
Simon Kornblith
6fa4f8d02b Server-side translation and attachment upload, part 1 2012-04-09 00:46:50 -04:00
aurimasv
f3bae4b000 Allow running detect with multiple translators set. 2012-04-06 20:31:28 -05:00
Simon Kornblith
7452e14090 Fix a document update error. Explanation is given in the code. 2012-04-06 13:20:23 -04:00
aurimasv
99a2ac7967 Use getTranslators to perform detectWeb with a set translator. 2012-04-06 04:41:25 -05:00
Simon Kornblith
1f3e6a3645 Remove unimplemented and unnecessary callback argument from safeTranslator.getTranslators(). Translators calling getTranslators() can/should use setHandler("translators", ...). 2012-04-05 16:46:34 -04:00
aurimasv
0f684fee6e Move _detectWeb to Zotero.Translate.Web.prototype 2012-04-05 02:44:33 -05:00
aurimasv
662ab87d7e Require at least 4 digits for the prefix 2012-04-05 01:57:22 -05:00
aurimasv
cb6ae9cec7 Perform detect web before calling Google Scholar translator 2012-04-04 23:08:36 -05:00
aurimasv
1477893a84 Don't allow periods and commas at the end of DOIs 2012-04-04 23:00:24 -05:00
Frank
a9d32d0701 Upgrade citeproc-js to version 1.0.319
We recently introduced hard-wired code to apply hyphen as page
range delimiter in the French and Portuguese locales, with a view
to introducing a page-range-delimiter term in CSL 1.0.1. The new
term has been agreed within CSL, but official deployment must
await the CSL 1.0.1 schema release.

The original code was purely hard-wired. This change allows an
explicit page-range-delimiter term to be set within a style
(or in a locale file), as intended by the upcoming CSL schema.
2012-04-04 12:27:10 -04:00
Dan Stillman
68073b8b32 Properly rename attachments when filenames differ only in case
This might have been limited to case-insensitive filesystems.

Also fix renaming when the previous filename didn't include an
extension. Before, a file named "test" would be renamed from parent with
".test" as the extension.
2012-04-04 04:44:04 -04:00
Frank
ca8ac7b817 Upgrade citeproc-js to version 1.0.317
Sorry for the flurry of version releases of late. They have been
largely driven by the early work on the legal style suite for MLZ,
which kept turning up small bugs and wrinkles. The requirements for
law support are now pretty well covered, and things should slow down,
at least for awhile.
2012-04-03 21:42:57 +08:00
Simon Kornblith
9862e3aa16 Merge pull request #89 from aurimasv/cleanAuthor
Clean author
2012-04-02 18:13:41 -07:00
Simon Kornblith
867760e0be pushEventQueue removed in Fx 14 (https://bugzilla.mozilla.org/show_bug.cgi?id=719154) 2012-04-02 18:09:10 -04:00
Simon Kornblith
c9354535da Allow use of relative paths for file import in non-RDF translators 2012-04-02 17:57:36 -04:00
Frank
89d3f09682 Upgrade citeproc-js to version 1.0.316 2012-04-02 23:19:37 +08:00
Frank
e8f3fe799d Upgrade citeproc-js to version 1.0.315 2012-04-02 23:19:36 +08:00
aurimasv
e5e242db99 Fix typo with nbsp. Fix dash handling 2012-04-01 23:38:50 -05:00
aurimasv
83c61374ef Properly handle Cyrillic initials and make it easier to add other languages later.
Handle hyphenated initials properly
Treat nbsp as space
2012-04-01 22:24:19 -05:00
Simon Kornblith
8b20586ccc ZU.itemToServerJSON() should ignore empty tags 2012-04-01 14:56:51 -04:00
Dan Stillman
ad4ded95bb Trim ISBNs before lookup 2012-04-01 13:44:49 -04:00
Simon Kornblith
4fcee3afa4 Fix error during ISBN lookup 2012-04-01 12:28:21 -04:00
Simon Kornblith
be89e3ad17 Don't continue translating on failure 2012-03-29 20:35:53 -04:00
Simon Kornblith
754836c428 Test fail if Z.selectItems() is called multiple times 2012-03-29 20:35:27 -04:00
Simon Kornblith
0117065a8e Fix dumb typo 2012-03-29 20:18:26 -04:00
Simon Kornblith
f77644659e rft.genre=document is a document 2012-03-29 20:12:28 -04:00
Simon Kornblith
8a7245fd74 COinS atitle should be title for proceeding, and btitle should be publicationTitle. 2012-03-29 20:12:28 -04:00
Frank
c8a87f123a Upgrade citeproc-js to version 1.0.314 2012-03-29 07:06:02 +08:00
Frank
38c7f5964e Change Zotero statute mapping from CSL bill to CSL legislation
A bill is a law that has not yet been enacted. Legislation is law
that has been enacted. The two are archived and cited differently,
and should be associated with different item types. CSL provides
a legislation type that is well suited to serve for laws that
have been enacted.

Among the existing styles in the repository, only two use
the legislation variable (american-association-of-petroleum-geologists
and irish-historical-studies). Both treat it as equivalent to bill. All
other styles use CSL bill exclusively.

It would be safe at this point to add legislation alongside bill
in all tests where it occurs (481 repository styles, apart from the
two mentioned above).

There is no particular urgency about this patch for official Zotero,
though, since statute support is likely to change considerably when
full legal support comes onstream anyway.
2012-03-29 07:06:01 +08:00
Frank
d1c9a8a148 Upgrade citeproc-js to version 1.0.313 2012-03-29 07:06:01 +08:00
Frank
f3f86406bf Upgrade citeproc-js to version 1.0.312 2012-03-26 15:06:36 +08:00
Frank
39dbdb8483 Upgrade citeproc-js to version 1.0.311 2012-03-26 15:06:36 +08:00
Frank
4aa5bef60a Upgrade citeproc-js to version 1.0.310 2012-03-26 15:06:36 +08:00
Simon Kornblith
752b4d2526 Correct recursive call for varDump 2012-03-25 14:27:04 -04:00
aurimasv
1458315cd5 Don't use deprecated arguments.callee 2012-03-25 14:27:04 -04:00
aurimasv
7b5d7bccf8 Arrays are more appropriate here than strings. 2012-03-25 14:27:04 -04:00
aurimasv
8f0ec95e73 Check for references to parent. Tweaked formatting. 2012-03-25 14:27:04 -04:00
Simon Kornblith
c9f456f2e9 Merge pull request #88 from aurimasv/capTitle
capitalizeTitle - added additional dashes into regex
2012-03-24 17:58:50 -07:00
Frank
b4fc74dc93 Upgrade citeproc-js to version 1.0.309 2012-03-25 07:37:14 +08:00
Frank
c9e6fc3f1b Upgrade citeproc-js to version 1.0.308 2012-03-25 07:37:13 +08:00
Frank
75d3202845 Upgrade citeproc-js to version 1.0.307 2012-03-25 07:37:13 +08:00
Frank
657ea7b660 Upgrade citeproc-js to version 1.0.306 2012-03-25 07:37:13 +08:00
aurimasv
6d723d7e8c This should cover more dashes. E.g. "DEANE-PETER BAKER" at http://onlinelibrary.wiley.com/doi/10.1111/j.1468-5930.2011.00548.x/abstract 2012-03-22 16:44:06 -05:00
Simon Kornblith
b3f8330498 Expose Zotero.isBookmarklet, Zotero.isConnector and Zotero.isServer to translators 2012-03-21 19:15:39 -04:00
Frank
4f3394dea6 Upgrade citeproc-js to version 1.0.305 2012-03-22 06:34:03 +08:00
Frank
ec681f0aa3 Upgrade citeproc-js to version 1.0.304 2012-03-22 06:34:03 +08:00
Simon Kornblith
d65796dfb0 Use importFromDocument when MIME types are explicitly specified, if the document can be handled internally 2012-03-20 18:09:05 -04:00
Frank
6de53ad37c Upgrade citeproc-js to version 1.0.303 2012-03-20 23:46:58 +08:00
Dan Stillman
92a7ebee4c Include "+" and "=" in ignored too-long filenames 2012-03-19 21:49:38 -04:00
Simon Kornblith
449e90f36b Session-based auth for bookmarklet, part 1 2012-03-18 17:26:40 -04:00
Frank
32ce4e04bc Upgrade citeproc-js to version 1.0.302 2012-03-18 06:37:45 +08:00
Frank
c1a35eb134 Upgrade citeproc-js to version 1.0.301 2012-03-18 06:37:45 +08:00
Dan Stillman
954c2f6de0 Fix for manual new item not going into collection
Broken by 0d34e34a (since 3.0.3)
2012-03-17 03:12:49 -04:00
Simon Kornblith
b1be39f319 Merge pull request #80 from aurimasv/varDump
Prevent infinite loops when dumping arrays/objects with recursion
2012-03-16 10:36:27 -07:00
Simon Kornblith
56cba8c709 Don't fail on null importRegexp 2012-03-13 10:13:19 -04:00
Simon Kornblith
cd7d2e9975 Don't allow _itemDone to throw 2012-03-12 23:58:30 -04:00
Dan Stillman
bb0e894c27 Remove extra debug lines when emptying trash 2012-03-12 22:19:04 -04:00
Simon Kornblith
64c8f04644 Deal with item.tags missing a sort method 2012-03-12 21:38:44 -04:00
aurimasv
5be84a5d59 add maxLevels to varDump to avoid infinite loops 2012-03-12 20:33:59 -05:00
Simon Kornblith
ba96aff194 Merge pull request #79 from aurimasv/cleanAuthor
Periods after latin letters only
2012-03-12 18:16:59 -07:00
Simon Kornblith
603e07d21a Translators should always run in browser when called by a parent translator 2012-03-12 17:30:34 -04:00
Dan Stillman
ba8bf4910f Some tweaks to auto/idle-syncing
- Don't run idle sync if manual sync is required or Zotero is locked
- Don't clear sync error icon when opening pane
- Better debug message on pane open for syncing not being enabled
2012-03-12 16:25:35 -04:00
aurimasv
19a6b08b51 Only put periods after capital latin letters 2012-03-12 06:01:50 -05:00
Dan Stillman
daf1899c72 Remove unnecessary ellipsis 2012-03-12 01:43:56 -04:00
Frank
25862e3af0 Update citeproc-js to version 1.0.298 (note that previous 1.0.295 tag update is mis-applied and anachronistic) 2012-03-12 13:25:30 +08:00
Frank
74af1fbb8c Upgrade citeproc-js to version 1.0.297 2012-03-12 13:25:29 +08:00
Frank
8b157709bd Upgrade citeproc-js to version 1.0.296 2012-03-12 13:25:29 +08:00
Simon Kornblith
90b515732b Try alternative strategy for activating windows 2012-03-11 23:01:43 -04:00
Simon Kornblith
ea7094821a Don't block when calling fallbackLauncher 2012-03-11 19:37:45 -04:00
Dan Stillman
5e19020437 Auto-empty items from trash on idle rather than at pane open
Deleting is currently very slow (which will be fixed on master), which
can cause long delays when auto-emptying items older at pane open.
Instead, empty 10 items after 5 minutes of idle, and then another 10
every 5 seconds until there are no more items to empty or the user is back.
2012-03-11 18:54:46 -04:00
Dan Stillman
9821db988d Fix "_observers.get(i).ref is undefined) errors
If a notifier observer caused another observer to be deleted, an error
would occur.
2012-03-11 18:36:54 -04:00
Dan Stillman
e1113209d5 Disable unresponsive script warning before delayed bundled files update 2012-03-11 16:25:47 -04:00
Simon Kornblith
25d48fbca7 Get first 100 tickets (TODO: get multiple pages) 2012-03-11 16:03:45 -04:00
Simon Kornblith
1050fc32b3 Fix dropping of empty creators 2012-03-11 16:03:44 -04:00
Simon Kornblith
a9bc55738a Merge pull request #73 from aurimasv/tester
Ignore order when comparing arrays in translatorTester
2012-03-10 13:10:43 -08:00
Simon Kornblith
d0a9108d92 Merge pull request #76 from aurimasv/cleanAuthor
cleanAuthor
2012-03-10 13:09:31 -08:00
aurimasv
67dac4ec0d Moved tag sorting to a later point. 2012-03-10 03:07:45 -06:00
aurimasv
828d10a396 Sort in _sanitizeItem instead of _compare 2012-03-09 20:00:21 -06:00
aurimasv
4e29a821b7 Fixed typo 2012-03-09 19:38:00 -06:00
Simon Kornblith
63c4096a6c Specify both -moz-border-radius and border-radius.
Closes #66, Quick Format is square on nightly
2012-03-09 20:24:28 -05:00
aurimasv
b23632f6c3 Revert previous fix 2012-03-08 22:26:33 -06:00
aurimasv
998d52ec6d Place periods after all initials in first name 2012-03-08 22:25:07 -06:00
Simon Kornblith
beb77864cb Don't clean periods when useComma is enabled 2012-03-08 22:45:20 -05:00
Simon Kornblith
814b15c23a Don't let translators try to load the current document a second time 2012-03-08 14:47:47 -05:00
Dan Stillman
1475a79cd1 Open csledit/cslpreview in new tab in existing window in Fx
Fixes #75
2012-03-08 14:35:06 -05:00
aurimasv
5816e586fe Sort arrays before comparing them. Tag order does not matter and authors will not be sorted. 2012-03-08 02:34:38 -06:00
Simon Kornblith
5bdb050b5f Support multiple character browsers 2012-03-08 01:27:16 -05:00
Simon Kornblith
52f47b2510 Fix bug affecting translation-server 2012-03-08 01:27:16 -05:00
aurimasv
e3ce3bf0c4 Include \s in superCleanString, so we match non-breaking space and other space characters outside of 7 bit ASCII 2012-03-07 21:27:51 -06:00
Dan Stillman
759c7bd58b Fix metadata retrieval for files with extended characters in filenames 2012-03-07 11:34:31 -05:00
Simon Kornblith
d256caf94e Make cross-site getTranslatorObject() work 2012-03-05 23:47:42 -05:00
Simon Kornblith
2facd4fcbd Fix cross-site document saving 2012-03-05 23:47:27 -05:00
Simon Kornblith
36cfad3933 Fix NS_ERROR_ILLEGAL_VALUE when passing a wrapped DOM document to a translator 2012-03-05 23:14:55 -05:00
Simon Kornblith
42cd7752af Fix irregular syntax to please IE indexOf regexp 2012-03-04 20:36:50 -05:00
Dan Stillman
86dda4e018 Ignore a file sync error on Windows with long ad junk files
For some reason on some Windows (XP, 7) systems a long path close to 255
characters long can pass destFile.create() and fail zipReader.extract().
This seems like a Mozilla bug, but until we find a better fix just
ignore the error for the only files where we've seen it, which are
advertising script artifacts with very long uninterrupted filenames
(which we should skip when saving anyway).

Also close zipReader after an extraction error
2012-03-03 06:01:39 -05:00
Simon Kornblith
f0013ef37d Fix Chrome translator testing 2012-03-01 23:26:48 -05:00
Simon Kornblith
d514f02c34 Normalize fields when creating and running translator tests 2012-03-01 20:54:05 -05:00
Simon Kornblith
fc3b2c3538 Work around Chrome's buggy localeCompare function 2012-03-01 14:19:54 -05:00
Dan Stillman
61c0f974c0 Add big-endian date countries and use different format based on order
m/d/yy, yyyy-mm-dd, and d.m.yy, based on what seem to be the most common
variants for each order.
2012-02-29 05:14:03 -05:00
Dan Stillman
d453a15066 Fix middle-pane Date Added/Modified order for non-US Mac/Linux 2012-02-29 03:31:24 -05:00
Simon Kornblith
d35c2d9a4f Be more careful about pageshow only fire with doc.readyState === "loading" 2012-02-29 02:56:55 -05:00
Dan Stillman
635cc8bd15 Linkify short links too in reports 2012-02-28 20:49:07 -05:00
Simon Kornblith
e1594ce3d6 Don't fire callback to processDocuments() if document.readyState is still "loading"
This fixes the AMS bug, but it may break other things. We'll see when the unit tests run tonight.
2012-02-28 16:30:00 -05:00
Dan Stillman
fbef301fe0 Add citation/footnote instructions to Quick Copy prefs 2012-02-28 15:28:14 -05:00
Simon Kornblith
98868146ec Fix code to get collation 2012-02-28 14:56:41 -05:00
Simon Kornblith
c245cbc867 Sort translators properly 2012-02-28 14:56:20 -05:00
Frank
8163499486 Upgrade citeproc-js to version 1.0.295 2012-02-29 00:39:21 +08:00
Frank
568bd6f426 Upgrade citeproc-js to version 1.0.293 2012-02-29 00:39:21 +08:00
Frank
2de4ab7e8e Upgrade citeproc-js to version 1.0.292 2012-02-29 00:39:21 +08:00
Frank
e35e059c03 Upgrading citeproc-js to version 1.0.291 2012-02-29 00:39:20 +08:00
Frank
17094cfb30 Upgrade citeproc-js to version 1.0.290 2012-02-29 00:39:20 +08:00
Frank
96bf57c216 Upgrade citeproc-js to version 1.0.289 2012-02-29 00:39:20 +08:00
Frank
01f3223cd3 Upgrade citeproc-js to version 1.0.288 2012-02-29 00:39:20 +08:00
Simon Kornblith
d367382f39 Fix debug output logging in the connector 2012-02-28 11:21:12 -05:00
Simon Kornblith
a19786116d Don't error if we can't delete the timer 2012-02-28 10:49:49 -05:00
Simon Kornblith
deea80c495 Cancel timer at end of test 2012-02-28 10:49:11 -05:00
Simon Kornblith
417e00a4f6 Delete hidden browser if timed out 2012-02-28 10:39:37 -05:00
Dan Stillman
cb19ac18f7 Fix rare creator constraint error during syncing after CR 2012-02-28 06:21:29 -05:00
Dan Stillman
06d29fc4da Try a shorter path length limit for long filenames in file sync
Might fix some errors on non-English Windows systems
2012-02-28 02:08:55 -05:00
Simon Kornblith
2725e43b13 Don't try to get key for null 2012-02-27 20:30:09 -05:00
Simon Kornblith
6e929bbaa0 get code for unsupported translators in connector 2012-02-27 19:41:39 -05:00
Simon Kornblith
3aaebb5802 Bring translator tester up to date with translator tester on the website, and add convenience methods to perform translator tests without loading testTranslators.html. 2012-02-27 18:51:05 -05:00
Dan Stillman
d61fdeda4c Wait 5 seconds after launch for translator updates (bundled and repo)
This isn't ideal, since it could cause an unexplained delay a few
seconds after launch on slow systems, but it's better than delaying
startup. We'll make this non-blocking post-3.0.
2012-02-27 16:34:24 -05:00
Dan Stillman
315d9ecbcb Don't allow child items to be dragged within their own parents
This caused child notes and PDFs to be moved out of their parents with
the slightest drag.
2012-02-25 18:28:33 -05:00
Dan Stillman
ae7f2d8e86 Tweak the file access denied error message
The "Read-Only" box seems to always show as a half-filled square
for a folder, as it apparently doesn't check all subfolders and files.
2012-02-25 17:17:04 -05:00
Dan Stillman
edd2f99ec9 Correct schema errors without pointing users to DB repair tool
We can't do anything about actual database corruption, but we can fix
all the other things that the repair tool fixes.
2012-02-24 12:05:06 -05:00
Dan Stillman
d359b68062 Better recover from delete error when non-attachment is in FT tables 2012-02-24 12:03:18 -05:00
Simon Kornblith
78bfbf3e4f Use non-blocking pipe read on FreeBSD 2012-02-23 15:34:10 -05:00
Simon Kornblith
3c33768116 Allow tests to be deferred by adding "defer": true to test JSON. 2012-02-23 00:18:29 -05:00
Simon Kornblith
e116f7a174 Fix dumb typo 2012-02-23 00:07:41 -05:00
Dan Stillman
3fb81ab1b9 Fix another couple "restart undefined" errors 2012-02-22 22:30:53 -05:00
Dan Stillman
438e122cc8 More file sync debugging 2012-02-22 20:13:20 -05:00
Dan Stillman
d13af7ca3e Don't show site-specific Quick Copy in Standalone 2012-02-22 04:40:34 -05:00
Simon Kornblith
71c63c6a74 Attempt to escape wrapper hell by serializing and unserializing the item 2012-02-21 22:18:43 -05:00
Simon Kornblith
e45c48a66f Fix "Function complete defined in y, not in x, or definitions differ" 2012-02-21 18:15:43 -05:00
Dan Stillman
4cf4e13a7b Add more helpful error message for file import error 2012-02-21 18:10:30 -05:00
Dan Stillman
39fc50913c Fix debug output of objects, which I broke in da09a8df 2012-02-21 18:10:30 -05:00
Simon Kornblith
226ec917a6 CSS changes 2012-02-21 17:45:00 -05:00
Simon Kornblith
74299b96b9 Show issues on GitHub that start with the translator label 2012-02-21 17:44:26 -05:00
Simon Kornblith
32ad75c680 Serialize translatorID 2012-02-21 12:42:24 -05:00
Frank
f68eb7c6f5 Upgrade citeproc-js to version 1.0.287 2012-02-21 15:44:26 +08:00
Frank
3b6c4f8c4a Upgrade citeproc-js to version 1.0.286. 2012-02-21 15:44:26 +08:00
Simon Kornblith
cb18dd6a3a Show appropriate error on missing test data 2012-02-20 23:32:14 -05:00
Simon Kornblith
21c466fcd6 Don't show "Translating undefined" for non-web translators 2012-02-20 23:30:28 -05:00
Simon Kornblith
646b84c1d0 Accept browser, version, and date arguments 2012-02-20 23:06:26 -05:00
Simon Kornblith
705672d431 Serialize all items, in case there are multiple 2012-02-20 16:26:35 -05:00
Simon Kornblith
833031dbdf Remove unchecked data before serializing 2012-02-20 16:20:50 -05:00
Simon Kornblith
2f61e417bc Include more information in translator tester output 2012-02-20 16:17:05 -05:00
Simon Kornblith
ed6a7b665a Give seconds in seconds, not ms 2012-02-20 05:14:47 -05:00
Simon Kornblith
a27f7259ec Use Zotero.setTimeout when possible 2012-02-20 04:46:34 -05:00
Simon Kornblith
b5d236fc9d Fire a DOM event when we have translators 2012-02-20 04:18:23 -05:00
Dan Stillman
0d34e34a3a Don't add 'Web Page" to new item menu by accident
And ignore it if it's there
2012-02-20 03:31:22 -05:00
Simon Kornblith
3c500b8ebf Refocus content when closing Zotero pane by any means besides opening Zotero Standalone 2012-02-20 03:11:53 -05:00
Simon Kornblith
82d3293b4c Minor refactoring 2012-02-20 03:03:32 -05:00
Simon Kornblith
5dcade91c5 Serialize browser 2012-02-20 02:38:29 -05:00
Simon Kornblith
99d65926bf Unregister mimeTypeHandler and version header on Zotero shutdown 2012-02-20 02:26:41 -05:00
Simon Kornblith
549fa4a508 Make translator tester time out after 10 minutes, add partial failure condition in tester pane, and rename "Unknown" to the more descriptive "Data Mismatch" 2012-02-20 02:06:33 -05:00
Simon Kornblith
394ad64091 Address Rintze's comments per http://forums.zotero.org/discussion/21934/ 2012-02-19 23:13:49 -05:00
Simon Kornblith
f831146ecf Don't save undesired snapshots from connector 2012-02-18 01:38:28 -05:00
Simon Kornblith
6021214b06 Further restructuring of error handling 2012-02-17 23:10:18 -05:00
Simon Kornblith
7eac0e1820 More error handling improvements 2012-02-17 21:54:05 -05:00
Simon Kornblith
90d8363b0f Make sure updateDocument throws a visible error 2012-02-17 21:40:19 -05:00
Simon Kornblith
88edc08e78 Expose XMLSerializer to translators 2012-02-17 14:43:48 -05:00
Simon Kornblith
4aa81bd39f Fix option to force charset 2012-02-17 12:16:06 -05:00
Dan Stillman
7dea22bd6e Update versions 2012-02-17 01:07:36 -05:00
Simon Kornblith
5cb830d9c6 Update submodules 2012-02-17 00:50:04 -05:00
Dan Stillman
0ce556d48c Remove extra backslashes 2012-02-16 21:09:52 -05:00
Dan Stillman
cf89e9d23f Update locales from Transifex (and add Khmer) 2012-02-16 21:04:49 -05:00
Dan Stillman
75dd27bf5b Remove setAttribute('onclick'...) with embedded id for AMO 2012-02-16 19:43:38 -05:00
Simon Kornblith
6aedc8bff5 Prevent inconsequential error 2012-02-16 16:03:07 -05:00
Simon Kornblith
d94b4683b3 Force ZSA into online mode on startup 2012-02-16 14:42:21 -05:00
Simon Kornblith
1c83646212 Avoid throwing if attempt to catch startup errors somehow fails? 2012-02-16 14:22:50 -05:00
Simon Kornblith
a402350cda Better error handling in addStatement 2012-02-16 13:29:32 -05:00
Simon Kornblith
95fa3bc554 Fix an error spotted in an error report 2012-02-16 07:59:42 -05:00
Simon Kornblith
a47174748e Update to citeproc-js 1.0.285 2012-02-16 07:56:40 -05:00
Simon Kornblith
2296d1f6ac Don't throw if the user types before the window finishes initializing 2012-02-16 07:44:02 -05:00
Simon Kornblith
eeacdc7391 Fix issues saving attachments from another translator 2012-02-16 06:34:34 -05:00
Dan Stillman
10d23e76bf Fix "Please restart undefined" in WebDAV error message
And a little other weirdness
2012-02-16 04:51:30 -05:00
Simon Kornblith
c62c229e6f Don't screw up toolbar styling 2012-02-16 04:17:51 -05:00
Simon Kornblith
54b2916f7e Don't let Firefox hide our toolbars 2012-02-16 04:13:47 -05:00
Simon Kornblith
c99a7d37f0 Zotero toolbar should always be visible 2012-02-16 04:05:12 -05:00
Simon Kornblith
6a68139591 charset is a complex value in newer Fx versions
probably fixes http://forums.zotero.org/discussion/21956/zotero-wont-accept-ris-file/#Item_2
2012-02-16 03:51:26 -05:00
Dan Stillman
bfa7b5b153 Add some storage filename debugging 2012-02-16 03:45:25 -05:00
Simon Kornblith
5d78e3cfe8 Update to citeproc-js 1.0.283 2012-02-16 02:59:02 -05:00
Simon Kornblith
1e5bde6a54 Fix an inconsequential error 2012-02-15 13:07:12 -05:00
Simon Kornblith
645bbf92b8 More hacks for pdf.js 2012-02-15 02:43:08 -05:00
Simon Kornblith
9b76f4b5b8 Hack to open PDFs in pdf.js when available 2012-02-14 23:01:44 -05:00
Simon Kornblith
ca994fd22b Prevent accept from being called twice 2012-02-14 22:55:35 -05:00
Simon Kornblith
65a024e980 Revert "Revert "Potentially fix an issue with LibreOffice when setting a field code for a citation that hasn't changed""
This reverts commit aa6a85051a.

Changed my mind...
2012-02-14 14:05:30 -05:00
Simon Kornblith
aa6a85051a Revert "Potentially fix an issue with LibreOffice when setting a field code for a citation that hasn't changed"
This reverts commit a618d75e5b.

This shouldn't actually fix anything, because the setText() call would only happen if isRich were set to begin with.
2012-02-14 13:55:26 -05:00
Simon Kornblith
a618d75e5b Potentially fix an issue with LibreOffice when setting a field code for a citation that hasn't changed 2012-02-14 13:47:04 -05:00
Simon Kornblith
25e49faa2c Don't break bibliography dialog in RTF Scan 2012-02-14 12:06:26 -05:00
Simon Kornblith
a6f253b46a Knock off beginning rather than end of errors 2012-02-14 00:41:04 -05:00