Commit graph

2676 commits

Author SHA1 Message Date
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