Commit graph

1092 commits

Author SHA1 Message Date
Simon Kornblith
c9003f1f40 closes #1706, [PATCH] Item with non-ASCII characters corrupted on save when Show Editor is open
The problem here was that entities weren't properly being encoded as Unicode RTF when the editor was used, because TinyMCE was replacing high characters with HTML entities that were not properly decoded. This is now fixed.
2010-08-01 19:53:08 +00:00
Dan Stillman
c7f025519b Fixes #1696, Group item reported missing from Zotero library on next citation edit
Was breaking when libraryID!=groupID
2010-07-26 17:43:58 +00:00
Simon Kornblith
aec3c4381f closes #1699, Simplified _zoteroFieldMap for citeproc-js (thanks to Frank) 2010-07-26 01:01:18 +00:00
Simon Kornblith
e6a97b46b2 closes #1698, bookAuthor -> container-author CSL mapping (thanks to Frank) 2010-07-24 17:41:56 +00:00
Dan Stillman
d8db1cd61f Store a space in WebDAV lastsync file to work around a server issue where timestamp of an empty file isn't updated on PUT 2010-07-23 18:07:53 +00:00
Simon Kornblith
d022b966fe tweak date regexp to handle WTN8601 properly 2010-07-21 19:52:28 +00:00
Dan Stillman
0acaf22576 Fix Edit Bibliography window on trunk (related to Fx2/3 code removal) 2010-07-13 19:07:08 +00:00
Dan Stillman
ccae2e0b7c Fix error removing >1000 items from a tag (due to compiled SQLite limit) 2010-07-13 19:00:58 +00:00
Dan Stillman
0b83c8c166 Auto-empty trash items older than 30 days by default
- Warning needed on upgrade about this
- Controlled by trashAutoEmptyDays hidden pref, with 0 disabling the functionality
2010-07-13 18:33:47 +00:00
Dan Stillman
9dad2c6048 Commons:
- Use same character-stripping logic as IA when looking for RDF file
- Better handling of empty RDF files
2010-07-13 17:47:01 +00:00
Dan Stillman
2d0874dd66 Remove old Commons code 2010-07-12 17:45:22 +00:00
Dan Stillman
43c0ae9e8a Commons: Fix authentication issue involving files with semicolons or other extended chars, but more fixes are needed on IA side 2010-07-12 17:36:05 +00:00
Simon Kornblith
8068c17f8f closes #1689, When editing a citation, the reference is not selected if it does not exist in the currently selected collection within the Zotero pane 2010-07-12 11:24:29 +00:00
Simon Kornblith
3571b41d95 pick running copy of Word for Mac as AppleScript target 2010-07-12 10:46:25 +00:00
Simon Kornblith
3b0ee0285b add SID to generated openurl 0.1 URLs 2010-07-11 08:02:28 +00:00
Dan Stillman
395833b940 Restore setTimeout() call removed in previous commit 2010-07-09 20:48:10 +00:00
Dan Stillman
92383c7f20 Addresses #1037, Remove Firefox 2.0/3.0-specific code 2010-07-09 20:25:17 +00:00
Dan Stillman
84cf9d8cbe Closes #1037, Remove Firefox 2.0/3.0–specific code 2010-07-09 20:10:43 +00:00
Dan Stillman
973d2cd38c Fix version in newer DB version error message (trunk and branch) 2010-07-09 05:16:13 +00:00
Dan Stillman
00611dc288 Fix message for newer DB version error 2010-07-09 05:10:48 +00:00
Simon Kornblith
d592d3156e Fix translation in Fx4 2010-07-08 22:45:42 +00:00
Dan Stillman
f3a8cbd993 Switch back to multiple items per Zotero Commons bucket
- Creating buckets not yet supported
- Some now-unused single-item-per-bucket code still needs to be removed
- Child attachments are not displayed in Zotero Commons pane
- Manual refreshing via bucket right-click (or a Firefox restart) is currently necessary after adding items
- Double-clicking bucket takes you to bucket page; double-clicking item takes you to named anchor
2010-07-07 18:34:09 +00:00
Dan Stillman
7ce0e9ee23 Don't cache HTTP GET requests in Zotero.Utilities.HTTP.doGet() 2010-07-07 18:28:25 +00:00
Simon Kornblith
2e951139fe use contentLength parameter to determine length of updateCSL.xsl rather than hardcoding a limit 2010-07-06 18:43:15 +00:00
Simon Kornblith
ca0328729a addresses #1691, Update Zotero.QuickCopy.getContentFromItems() for new citation API
fix up problems on first drag
2010-07-06 18:39:49 +00:00
Simon Kornblith
a857cb3e5b closes #1691, Update Zotero.QuickCopy.getContentFromItems() for new citation API
caches updateCSL.xsl, since apparently doing an XHR to load it during drags was breaking things
2010-07-06 18:17:45 +00:00
Dan Stillman
77ecfce0fe Addresses #1691, Update Zotero.QuickCopy.getContentFromItems() for new citation API
Frank's latest patch, but drag-and-drop is still broken for me on OS X. Need to see if this is just my working copy.
2010-07-06 17:42:41 +00:00
Dan Stillman
970c317095 Comment out init() call for Zotero.Connector, which hasn't yet been committed 2010-07-06 17:39:13 +00:00
Simon Kornblith
43c57ec18c closes #1688, Preferences window appears in wrong screen position on Windows 2010-07-06 10:37:16 +00:00
Simon Kornblith
35c44b7470 fix race condition 2010-07-06 10:11:25 +00:00
Simon Kornblith
139036490c a better way of getting the install directory in Fx4 2010-07-06 09:25:58 +00:00
Simon Kornblith
63e08cd714 addresses #1690, Modify all XPCOM components for Firefox 4.0b2+ 2010-07-06 09:02:35 +00:00
Simon Kornblith
59817af546 references #1691, Update Zotero.QuickCopy.getContentFromItems() for new citation API
put a string in date.literal, instead of the whole date object, when passing to citeproc-js
2010-07-06 07:55:07 +00:00
Simon Kornblith
10cbc0ceeb don't stick an extra newline between all bibliography entries (changes to citeproc-js RTF formatter code) 2010-07-06 07:23:10 +00:00
Simon Kornblith
477d0effe0 call integration.cleanup() before attempting to display any dialogs 2010-07-06 06:53:45 +00:00
Simon Kornblith
13f0b1bfd2 closes #1493, Style/Font Behavior In WP Plugins
closes #1325, better integration with word-processor styles

WinWord plug-in update is still to come
2010-07-06 06:47:59 +00:00
Simon Kornblith
1b353fb2b2 Update to citeproc-js 1.0.44
From 1.0.39:
 Fix a tiny bug that could cause erroneous position values when
 previewing under some circumstances, resulting in an incorrect
 cite form in preview, and a different (although correct) cite form
 in the document.

From 1.0.40:
 Avoid update to position data of other citations during
 previewing.  On-the-fly updates of related citations upon
 citation edit or insert following preview were broken, but
 should now work correctly.

From 1.0.41:
 Reset processor's internal last_name_rendered variable,
 to prevent previous runs of the processor from affecting
 bibliography output.

From 1.0.42:
 Provisional implementation of ellipsis truncation for
 creator listings as required by APA 6th, in anticipation
 of upcoming point release of CSL schema and specification.

From 1.0.43:
 In test.py, change the -E bundled code dump option to -Z,
 and describe as a Zotero bundle option in script help messages.

 Include an assignment of CSL.error to Zotero.debug in the Zotero
 bundle, so that error messages and warnings from the processor will
 pass through correctly, without crashing the processor.

 Render literal passthrough strings on date objects only when
 the year is included among the requested date elements.

 Add temporary code to normalize the structure of some date
 input objects.

 (... and so we bid a sad farewell to the Meaning of Life
 release.)

From 1.0.44:
 According to the CSL specification, group elements implicitly
 suppress output of term= and value= text elements, if at least
 one element (text, number, names or date) with a variable=
 attribute is in the group, and no such element will produce
 output.  This provides a flexible  and concise syntax for
 attaching customized labels to rendered elements.  An earlier
 version of citeproc-js always rendered empty dates as the short
 form of the "no date" term ("n.d.").  Experience showed this was
 undesirable, and the behavior was withdrawn.  However, the
 code that reported date elements as always producing output
 lingered on, and it was the cause of incorrect output in recent
 testing.  This has been corrected in this release.

 This release also correctly reports dates with only a literal (non-
 parsed) form as non-empty to the same implicit conditional
 code in an enclosing group element.
2010-07-06 04:29:55 +00:00
Dan Stillman
34800ec810 Don't show context menu for source pane headers (e.g., "Group Libraries") 2010-07-03 20:14:30 +00:00
Dan Stillman
37e1245aaf Closes #1691, Update Zotero.QuickCopy.getContentFromItems() for new citation API
Thanks to Frank for the patch
2010-07-02 06:09:46 +00:00
Dan Stillman
953fa4a660 Closes #1687, Append reporter name to title in UI for law cases
Slightly modified verison of Frank's patch
2010-06-30 06:10:15 +00:00
Simon Kornblith
5649e26ec2 closes #1686, Set selected item titles with getDisplayTitle() (thanks to Frank) 2010-06-30 05:34:48 +00:00
Simon Kornblith
aa19d412c1 don't kill Zotero if for whatever reason deleting the integration pipe fails 2010-06-30 03:35:36 +00:00
Simon Kornblith
2d92f3776e pass "false" and not null to nsIProcess.run (not that it seems to make any difference) 2010-06-30 03:25:54 +00:00
Simon Kornblith
f11986ce04 - offer to remove Zotero integration pipe owned by root
- locale updates for this patch and r6207
2010-06-30 03:24:14 +00:00
Dan Stillman
1d08b9ec31 Remove debug output 2010-06-29 16:54:30 +00:00
Simon Kornblith
09416a5738 closes #992, COinS should have an appropriate rfr_id to identify what program was used to generate the span 2010-06-29 07:03:30 +00:00
Simon Kornblith
23f21bac56 fix formatting from previous patch 2010-06-29 06:43:39 +00:00
Simon Kornblith
78d46dc0f0 closes #1680, Allow repeat use of item in a citation (patch due entirely to Frank)
see notes at referenced ticket for information re: modifications in behavior
2010-06-29 06:34:20 +00:00
Dan Stillman
40b6ed19f8 Remove debug line 2010-06-29 06:07:06 +00:00
Dan Stillman
ae65267d5d Use DB cache and new translators.index file in XPIs to skip unnecessary translator extraction on upgrades 2010-06-29 06:04:04 +00:00