Commit graph

4630 commits

Author SHA1 Message Date
aurimasv
662ab87d7e Require at least 4 digits for the prefix 2012-04-05 01:57:22 -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
8f0296baf3 Fix newlines in preferences file 2012-04-02 18:54:58 -04: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
Simon Kornblith
5c565c457f Set capitalizeTitles to false by default 2012-03-23 00:31:43 -04: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