Commit graph

2390 commits

Author SHA1 Message Date
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
Simon Kornblith
0876e689c8 remove the option to disable proxy detection from the proxy dialog, since it makes less sense now 2010-06-29 05:28:13 +00:00
Simon Kornblith
79f5204050 remove some debug code from the last patch 2010-06-29 05:27:32 +00:00
Simon Kornblith
9914eee1f1 closes #1685, notificationbox warnings for proxy 2010-06-29 05:25:41 +00:00
Simon Kornblith
8f1298f45b closes #1683, Fix small typo that blocks style install
thanks Frank!
2010-06-28 19:42:48 +00:00
Simon Kornblith
ee8c60939a open a transaction for translatorCache updates 2010-06-28 16:54:06 +00:00
Simon Kornblith
b87b46aa95 Update to citeproc-js 1.0.38
From Frank's announcement:

 Fix appendCitationCluster() to work with the API revision
 made to processCitationCluster() in point release 1.0.28.

 When user provides a cite suffix that ends with a full stop,
 suppress the normal inter-cite join.
2010-06-28 09:31:35 +00:00
Simon Kornblith
bddb583e43 - cache translators in DB to reduce startup times on Windows
- fix some error handling in translate.js
2010-06-28 09:07:44 +00:00
Simon Kornblith
903d37c434 update to citeproc-js 1.0.37
From Frank's announcement:

 Quash duplicate terminal punctuation at the end of citations.
 This can happen where an abbreviated term such as id. or
 ibid. is rendered at the end of a citation in a note style,
 in which the note is terminated with a period.

 Eliminate implicit for loops in array constructs, which is
 sadly not available in Chromium JS engine.
2010-06-28 02:47:46 +00:00
Simon Kornblith
05583b1992 closes #1099, Add cancel button to Edit Bibliography
closes #744, Select multiple items/entire collection in edit bibliography dialog

- adds "Cancel", "Revert", and "Revert All" buttons to edit bibliography dialog
- permits multiple item selections in edit bibliography dialog
- removing items in the edit bibliography dialog now leaves the citations intact, but removes them from the document
2010-06-28 02:38:48 +00:00
Simon Kornblith
68c4a47bf3 - don't automatically associate .edu sites (except Project MUSE)
- if a docShell has allowMetaRedirects turned off (as is the case in our hidden browsers), don't proxy
2010-06-25 21:29:22 +00:00
Simon Kornblith
afd758f509 support additional parameters in integration pipe
(these are not urgent, and i don't actually plan on using them at the present, but they might be a good idea)
2010-06-24 09:54:46 +00:00
Simon Kornblith
8e7d467ddf automatic smart quotes when saving from editor 2010-06-22 05:52:57 +00:00
Simon Kornblith
18025da6a3 remove debug code 2010-06-20 19:13:20 +00:00
Simon Kornblith
303f980954 Fix for "The command is not available because no document is open" error (part 2) 2010-06-20 10:48:38 +00:00
Simon Kornblith
4556ea3f10 fixes #1668, Items added in multiple mode not recognized unless visible (twice)
fix Accept button issue by using getAttribute() rather than id property, but also scroll to newly inserted citation, since it's probably the desirable behavior
2010-06-18 18:19:52 +00:00
Simon Kornblith
13ae25e445 Commit citeproc-js 1.0.36
From Frank's announcement:

 Refresh citations in which names or year suffixes have
 (potentially) changed.
2010-06-18 05:31:03 +00:00
Simon Kornblith
d73b6f1171 - commit citeproc-js 1.0.35
From Frank's announcement:
 Simplify save/restore operations for previewing.

 Tie in tainting code for disambig values registered via disambig_cites.js.
 Possibly over-aggressive about rerendering now, but it works.

In quick initial testing, at least, this release appears to be eerily stable in Zotero.
2010-06-17 17:30:06 +00:00
Simon Kornblith
112b6d22e8 closes #1598, Possible to click Insert Citation twice
When the user attempts to access Integration functionality while a request is still in progress, we now bring Firefox/Zotero to the foreground.
2010-06-17 06:38:03 +00:00
Simon Kornblith
6d4d953859 - Update to citeproc-js 1.0.34
From Frank's 1.0.31 announcement:

 Extensions to the test fixtures for previewCitationCluster(),
 which revealed shortcomings in the name state restoration
 code.

 Properly restore name state in previewCitationCluster().

 Roll back previewCitationClusterStatic() command that
 was introduced in the last (unannounced) 1.0.30 release.
 Discussion and more careful thought showed that it is not
 safe and not generally a good idea to make blind assumptions
 about document state.

From Frank's 1.0.33 announcement:

 In preview mode, avoid tampering with the registry data,
 of items in the citation to be previewed that already
 exist in the registry.  Fixes errors in subsequent
 rendering of year suffixes.

 Suppress redundant return value for current cite, when it is
 tainted by an update by processCitationCluster().

From Frank's 1.0.34 announcement:

 Include year suffix in clone of disambiguation
 configuration.  Failure to include this parameter
 appears to have been behind some intermittent
 glitches in preview handling of year suffixed
 citations.

 Avoid processor crash when unregistered citation
 objects are encountered in preview mode.  The crash
 points occur during tainting, which is irrelevant
 in preview mode, so no harm is done; but I'm not
 really sure why this would ever happen.  Possibly
 specific to the Zotero version used for testing.

 Add a couple of paranoia operations to processCitationCluster():

   Issue a bogus warning citation in the event of a processor
   crash.  This should come out for production.

   Slice citationsPre and citationsPost when they enter
   the processor.  I've been exploring some instability
   with large numbers of same-author/same-year cites in
   Zotero, and thought that mallability of list input
   might be part of the problem.  No idea whether these
   lists can or do change length or content during processing,
   but just in case.
2010-06-17 05:42:00 +00:00
Simon Kornblith
13a3524f0c closes #1665, Single cursor position in addCitation dialog (thanks Frank!) 2010-06-13 23:22:34 +00:00
Simon Kornblith
1da48cf8d2 - implement previewCitationCluster(), restoreProcessorState(), new "bibchange" flag in processCitationCluster() output, and new opt.sort_citations flag in word processor integration
- upgrade to citeproc-js 1.0.29

From Frank's 1.0.25 announcement:

 Provide new command, previewCitationCluster(), that returns
 string for hypothetical citation at specified position,
 without affecting processor state.

 Fix bug that would have cause appendCitationCluster() to
 run updateItems() unnecessarily.

 Provide for forced generation of citationID, for internal use
 in previewing.

From Frank's 1.0.26 announcement:

 Implement new command restoreProcessorState(), for use in,
 er, restoring the processor state, when position variables
 and citation sort keys are already known.

From Frank's 1.0.27 announcement:

 This fixes a couple of obvious problems in the code of the new
 restoreProcessorState() command.

From Frank's 1.0.28 announcement:

 This version introduces a significant change to the return
 value of processCitationCluster().  It is now an array with
 two elements, the first being a JS object that serves as a
 data segment, and the second the list of two-element arrays
 representing insertion indexes and strings for insertion
 (as previously documented).  An API change of this scale
 probably calls for some more visible sign in the version
 numbering, but the original statement on versioning says
 that the major and minor numbers will align with the CSL
 schema, so we stay at level 1.0.

 The data segment referred to above contains just one element
 currently, "bibchange", which is true if processing the
 citation results in any change affecting the bibliography.

 This release also introduces one change and one addition to
 style configuration flags.  The flag at citation.opt["citation-number-sort"]
 has been moved to opt.citation_number_sort, for clarity and
 consistency.  A new flag, opt.sort_citations, is true if
 citations are sorted by the style in any way.

From Frank's 1.0.29 announcement:

 Complete reimplementation of cite-level disambiguation.
 The new code is more compact and maintainable, and
 avoids thrashing behavior that afflicted the previous
 code when a large number of cites required both
 add-names and year-suffix disambiguation.

 Suppress year suffix when fresh ambig keys are generated.
 Inserts by a plugin affecting year suffixes should now be
 correctly handled.
2010-06-13 22:53:57 +00:00
Simon Kornblith
25f3b150e4 - update to citeproc-js 1.0.24
From Frank's 1.0.23 announcement:
 Cope with two disambiguation cases, involving add-names and
 add-givenname, that succeeded in crashing the processor.

From Frank's 1.0.24 announcement:
 Cope with item IDs of numeric type, and roll back
 one patch from 1.0.23 that becomes unnecessary as
 a result.

Together, these updates fix several issues with citation previewing.
2010-06-06 06:46:10 +00:00
Simon Kornblith
d0441d334e commit Rintze's changes to translate.js for Scaffold compatibility 2010-06-06 03:11:24 +00:00
Simon Kornblith
546641aa44 closes #1055, Refine tab order in Word plugin 2010-06-06 01:37:10 +00:00
Simon Kornblith
15977ba5b1 allow selecting first list item after clicking "Multiple Citations..." button (don't know why this didn't work, and don't know why this fixes it) 2010-06-06 01:25:34 +00:00
Simon Kornblith
5284da05af - return "Keep Citations Sorted" checkbox
- update to citeproc-js 1.0.22
From Frank's announcement:

- Bypass sorting of citations that have a value for "unsorted"
 in citation.properties.

This permits per-citation override of style-driven citation sorts, as
supported by Zotero and required for some common use cases.
2010-06-06 00:57:47 +00:00
Simon Kornblith
75374af5af - add Frank's citation re-ordering patch, with a few changes
- fix error when canceling citation add after editing
2010-06-06 00:01:11 +00:00
Simon Kornblith
35e097b664 unedited citations should not have a "custom" attribute 2010-06-05 17:58:20 +00:00
Simon Kornblith
f0f22009c4 - fix (most) unnecessary citation update issues
- switch Zotero.JSON to native Firefox JSON support
- update to citeproc-js 1.0.21

From Frank's announcement:
In this release:

- Tighten up internal "NUMERIC" update_mode to mean styles that render
citation-number in citations (renderings in the bibliography are now
ignored for purposes of setting this flag).

- The numeric styles fix introduced at version 1.0.17 broke with
styles that sort the bibliography on anything other than citation-
number (i.e. document first-reference order).  With this release,
arbitrary sorts of the bibliography work with numeric styles.

- Position evaluation code is now invoked only in styles that make use
of position testing (to save a few cycles).

- Numeric styles now perform targetted citation updates correctly.
2010-06-05 17:49:04 +00:00
Simon Kornblith
e44dcb1bb4 fix excessive processCitationCluster calls 2010-06-03 22:30:32 +00:00
Simon Kornblith
0726ace6e9 add CSL files to our repository, rather than using svn:externals, to fix XPI build errors on the server 2010-06-03 03:55:42 +00:00
Simon Kornblith
69a962be90 return false when a locales file cannot be found, instead of throwing an error 2010-06-03 03:09:10 +00:00
Simon Kornblith
7b062f3b15 - update to citeproc-js 1.0.20
From Frank's announcement:
This release adds some further fine-tuning to disambiguation, and now
retains all names added by disambiguate-add-names when a year-suffix
is added to a cite.  Also fixes a bug affecting cites containing lone
institutional authors.

- hopefully fix issues with loading locales from the XPI
2010-06-03 02:56:29 +00:00
Simon Kornblith
6086f4571d alphabetize about box properly 2010-06-01 18:33:07 +00:00
Simon Kornblith
3fa9305a74 - dual column about box
- add attribution for Tabulator and py-appscript
2010-06-01 18:31:53 +00:00
Simon Kornblith
1ef2c3409c -Update to citeproc-js 1.0.19
From Frank's announcement:
This release allows use of the code under either the current CPAL
license, or under the AGPLv3, at the option of the developer or
project integrating the code.

- Change link to xbiblio to CitationStyles.org and add attribution for citeproc-js
2010-06-01 18:07:03 +00:00
Simon Kornblith
0aee953bf6 Update to citeproc-js 1.0.18
From Frank's announcement:
This release fixes a small issue in disambiguation, which could cause
initials or full given names to be retained where they are not
necessary to achieve disambiguation, under certain fairly rare
conditions.

This also includes a very small change to the regexp used to identify
numeric content in numeric fields, support for RTF and plain text
output (courtesy of Simon), and a modification to the ./test.py
script, adding a -E option that dumps a version of the processor with
embedded E4X support, suitable for drop-in inclusion in current Zotero
2.1.
2010-06-01 06:47:02 +00:00
Simon Kornblith
97d5483f80 integrate citeproc-js 1.0.17; should fix IEEE issues 2010-05-31 21:25:56 +00:00
Simon Kornblith
d121f5f150 eliminate unnecessary updateItems() calls, fix changing citations in a document, and several other bug fixes
issues with IEEE remain
2010-05-30 19:06:41 +00:00
Simon Kornblith
3f934828d0 fix typo 2010-05-30 12:43:26 +00:00
Simon Kornblith
dcdef746e5 automatically apply XSLT to convert CSL 0.8 styles to CSL 1.0 styles on the fly
do we want to re-save the converted files over the old ones?
2010-05-30 12:39:48 +00:00
Simon Kornblith
4fed717f05 temporarily remove locales 2010-05-30 12:13:40 +00:00
Simon Kornblith
bd0a4a3b96 Use citeproc-js as CSL parser. There is an issue with multiple citations in numbered styles that I will probably need Frank's help to track down, but otherwise, this seems to work. Many things are completely untested, including EndNote style support. Currently requires CSL 1.0 styles. In the near future, I hope to use the XSLT stylesheet to transform CSL 0.8 to CSL 1.0.
closes #1650: suppress author does not work for multiple sources
closes #1505: Edit Biblography Button Strips Year Disambiguation
closes #1503: Editing a bibliography resets all reference numbers to 1 (new)
closes #1262: Broken pluralization with et al. + other issues
closes #1238: Localize quotation marks
closes #1191: Harmonize 'plural/pluralize' label attribute with CSL schema
closes #1154: Only one works page numbers are added to the citation are when citing multiple works by the same author
closes #1097: Disambiguation issues
closes #1083: Defect in IEEE CSL with Multiple Citations
closes #993: more sophisticated subsequent-author-substitute
closes #833: text-transform doesn't work with name
2010-05-30 11:25:25 +00:00
Dan Stillman
3adb9c8391 Fix NS_ERROR_XPC_NOT_ENOUGH_ARGS when reading blob from database (which currently can happen only in the case of bad data) 2010-05-13 07:42:28 +00:00
Dan Stillman
0821e34b20 WebDAV server SSL error wasn't being properly displayed 2010-05-11 19:49:22 +00:00
Dan Stillman
e7ba86216e Fix startup error due to incorrect integration pipe permissions 2010-05-10 21:13:52 +00:00
Dan Stillman
c83d64ad0d Fix constant syncing due to future-dated items 2010-05-05 18:07:01 +00:00
Dan Stillman
d39957fa56 Blacklist "potentially vulnerable to CVE-2009-3555" error in error reports 2010-05-05 16:07:34 +00:00
Dan Stillman
4c46d9aa23 Add auto-complete to Archive field 2010-05-04 16:28:22 +00:00
Dan Stillman
268f37194f Always show last sync time if available in sync button tooltip -- this should make it clearer when one sync has stopped and another has started 2010-05-01 05:46:01 +00:00
Dan Stillman
9ac6d090cc Allow accessDate to be set explicitly false for web translators 2010-04-29 21:53:03 +00:00
Dan Stillman
6609df1ddd Remove Zotero.wait() from r5996, because it can break Z pane opening at startup, which is presumably why this wasn't there already 2010-04-28 23:07:51 +00:00
Dan Stillman
b1c3a10f61 Revert translator JSON length limit, since some are at least 2.5K 2010-04-28 22:00:48 +00:00
Dan Stillman
c558111269 - Add a Zotero.wait() to translator caching, which I may or may not have tried before and which may or may not improve Firefox responsiveness during translator caching
- Only check first 1024 chars of translator file for JSON

Not going on the 2.0 branch
2010-04-28 20:43:06 +00:00
Dan Stillman
14b62e27e2 Missed file from previous commit 2010-04-27 08:04:15 +00:00
Dan Stillman
453fed88bd Zotero Commons updates:
- Store one item per IA bucket, with attachments stored as objects
- Use proper mediatype field based on Zotero item type
- Commons list is now pulled dynamically based on RDF stored at IA, without need for corresponding local item (which may have been deleted, etc.)
- Once available, OCRed PDFs can be pulled down by right-clicking on Commons and selecting Refresh
- Downloaded OCRed PDFs are now named the same as the existing attachment, with "(OCR)" appended
- The relations table is used to link downloaded OCRed PDFs to the IA file, so the downloaded file can be renamed without triggering another download
- The Commons view is marked for automatic refresh after an item is uploaded
- Added some progress notifications, though more are probably needed
- Other things

Also:

- Added Zotero.File.getBinaryContents(file)
- Erase an item's relations when the item is deleted, and purge orphaned ones
- Zotero.URI.eraseByPathPrefix(prefix) no longer prepends 'http://zotero.org' (which has been moved to Zotero.URI.defaultPrefix)
- New function Zotero.URI.eraseByURI(prefix)

Known Issues:

- Slow (some IA changes should be able to speed it up)
- Identifier format is likely temporary
- Sometimes it stops during setTimeout() calls for no apparent reason whatsoever
- Didn't test items with multiple attachments
- Not sure if Commons view will auto-refresh if you switch to it before the upload is done
- IA translator not yet updated
- Deleting items not supported by IA
- Date Added/Date Modified don't show up properly in Zotero for Commons items
2010-04-27 08:03:08 +00:00
Dan Stillman
a678cfa5b9 Add |max| parameter to Zotero.ID.getBigInt() 2010-04-27 07:29:03 +00:00
Dan Stillman
a2311bd52f Turn "Zotero.DB.transactionDate retrieved with no transaction" in Zotero.DB into debug output rather than a logged error 2010-04-27 07:28:30 +00:00
Dan Stillman
80aa50276e Correct parameter order in comment for Zotero.Utilities.arrayDiff() 2010-04-27 07:24:09 +00:00
Dan Stillman
eaff9519a7 Avoid some errors in debug output in report generation 2010-04-12 19:42:24 +00:00
Dan Stillman
715584dca1 Show only collections and saved searches from current library when creating a saved search 2010-04-12 15:33:14 +00:00
Dan Stillman
3014263c89 Fix a couple issues that could cause an error when emptying the trash 2010-04-10 20:22:21 +00:00
Dan Stillman
e17bdd85e9 Open support/documentation link in new tab rather than new window 2010-04-09 16:47:58 +00:00
Dan Stillman
bd7ff9c2c6 Fix upgrade error for custom styles with invalid ids 2010-04-01 18:01:11 +00:00
Dan Stillman
b31e47c504 Zotero Commons updates:
- Fixed syncing buckets from IA
- Moved XMLHTTPRequest send() and sendAsBinary() into _createAuthenticatedRequest() to avoid manual req.readyState checking and provide better debug output
- Show error message if no parent items were dragged into bucket
- Better alerts and debug output for problems
- Removed '_' prefix from non-private methods and properties
- A few other small tweaks
- More coming
2010-03-31 08:59:28 +00:00
Fred Gibbs
9212fbacf3 enable refresh and remove Commons buckets 2010-03-29 03:49:28 +00:00
Fred Gibbs
a5eba7fb38 enable refresh and remove Commons buckets 2010-03-29 03:49:07 +00:00
Fred Gibbs
8488d200c7 enable item delete, uploading RDF and ZIP files, fetch OCR'd PDFs, respecify metadata 2010-03-29 03:47:04 +00:00
Fred Gibbs
b633588fe2 delete items from Zotero Commons 2010-03-29 03:44:53 +00:00
Fred Gibbs
44999580e6 refresh Zotero Commons buckets 2010-03-29 03:44:26 +00:00
Simon Kornblith
99690742f9 support for standalone Zotero 2010-03-28 07:21:17 +00:00
Dan Stillman
7fde1766f2 Fix extreme edge case "constraint failed" upgrade error 2010-03-24 09:59:52 +00:00
Dan Stillman
fece9cf2ce - Hide error from progress window when saving from translators
- Don't open page twice when clicking link from progress window
2010-03-23 19:40:31 +00:00
Dan Stillman
a615571caa Fix startup error from previous commit 2010-03-23 19:09:47 +00:00
Dan Stillman
30e38a1b24 Switch to what could plausibly be a more efficient translator initialization method, though it doesn't appear to make any difference -- but this is where the unresponsive script warning was appearing. I suspect the actual problem has to do with disk caching, since I've gotten the warning to appear only by deleting 'translators' to trigger translator installation, after which translator caching takes at least 10 times longer on Windows.
(Also reordered some code to reduce indents)
2010-03-22 07:01:32 +00:00
Dan Stillman
91956462e5 Fixes #1635, UI glitches during syncing
New property Zotero.suppressUIUpdates is now set while processing sync data
2010-03-18 07:06:38 +00:00
Dan Stillman
a025a2d46a - Replace "Report Error" with "Show File" in read-only file sync error dialog, and show full file path
- Fix endless sync icon spinning after read-only file sync error
- Adjust spacing of sync error icon on Windows
2010-03-17 07:59:43 +00:00
Dan Stillman
82e3cfd288 Disable Reset feedback, since it causes endless sync icon spinning if the pref window is closed 2010-03-17 07:55:36 +00:00
Dan Stillman
5e1c1bd5b3 Remove Zotero.wait() from previous commit 2010-03-16 23:57:26 +00:00
Dan Stillman
3bb221b5e3 Add Zotero.wait() to file size calculation during sync to attempt to avoid unresponsive script warning 2010-03-16 22:45:43 +00:00
Dan Stillman
65f493471f Work around an SQLite limit that can cause a 1.0->2.0 upgrade error in very rare cases (in code from July 2008) 2010-03-15 07:16:05 +00:00
Dan Stillman
14aaf2aa8b Data directory changing required two restarts in Firefox 3.6 on Windows 2010-03-12 22:05:18 +00:00
Dan Stillman
2e76f0128d - Restart sync if items were changed during upload to avoid 404 file sync errors
- Show sync status in all windows
- Don't attempt to auto-sync on Zotero pane open if a sync is already in progress
- Fix some sync process callbacks
2010-03-12 08:29:31 +00:00
Dan Stillman
62a83e38ec Don't prompt for master password on every startup (since 2.0.1) 2010-03-12 05:28:11 +00:00
Dan Stillman
097d2b54c9 Rephrase conflict warning 2010-03-11 17:25:37 +00:00
Dan Stillman
c174f07517 Update localizer names 2010-03-10 20:49:26 +00:00
Dan Stillman
282655e41a Parse spaces and em dashes in page ranges 2010-03-10 05:35:49 +00:00
Dan Stillman
c60cb6f76b Fix another place where incorrect mod time could be read in 2010-03-09 16:00:08 +00:00
Dan Stillman
1279ccf9f6 Fix restoration of full-screen mode when opening Zotero pane (does not persist across Firefox restarts) 2010-03-09 06:26:08 +00:00
Dan Stillman
e1349ec308 Reindex search condition ids on search load in case they're not contiguous (fixes sync error) 2010-03-09 06:07:45 +00:00
Dan Stillman
f74760b8ad Interpret file mod times below 1 as 1 2010-03-09 05:43:23 +00:00
Dan Stillman
905c754b6b Stop sync icon spinning on reset completion 2010-03-07 08:57:40 +00:00
Dan Stillman
0e80fb29c4 Add "Please try again in a few minutes." to empty and invalid server response messages 2010-03-05 08:26:15 +00:00
Simon Kornblith
88ba3bf75b put integration pipe in /Users/Shared on OS X for users accessing their home directory over AFP 2010-03-02 21:54:53 +00:00
Dan Stillman
92f0cdd1af Restore proper feedback for Reset options and add a warning to Restore to Server that there may be a delay before data shows up online 2010-03-01 20:01:46 +00:00
Dan Stillman
ab1983ebf2 - Better sync error message for Firefox offline mode
- Better sync error message for "Sync already running in Zotero.Sync.Runner.sync()"
- Remove "Report Error..." button for manual intervention message
2010-03-01 20:00:34 +00:00
Elena Razlogova
5586eae237 Adds submitted to CSL date variables 2010-02-25 05:38:19 +00:00
Dan Stillman
0fc3252895 Closes #1637, Load "Start" page on upgrade
Show start page when first run pref is on and either the DB was just initialized or there's no username and password in the Sync pane
2010-02-24 21:07:23 +00:00
Dan Stillman
ef4a1f9cb7 - Display proper message for "(NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.lastModifiedTime]", and add additional detail to message text 2010-02-24 10:47:24 +00:00
Dan Stillman
8bff745d1b Merged non-English locales from BZ 2010-02-18 04:34:52 +00:00
Simon Kornblith
f207c7d1de add support for container-author (bookAuthor) 2010-02-17 00:41:57 +00:00
Simon Kornblith
9658387de9 add cancel button to doc prefs 2010-02-17 00:33:40 +00:00
Simon Kornblith
93c6c6ab2a more proxy looping avoidance code 2010-02-17 00:30:51 +00:00
Dan Stillman
aeb3cf5464 Fix "fileName.replace is not a function" WebDAV file sync error 2010-02-13 20:18:45 +00:00
Dan Stillman
e3df930ca5 Make "Verify Server" fail if WebDAV server won't serve extensionless file (IIS 6 (and later?) in default configuration according to http://support.microsoft.com/kb/326965 and various forum reports) 2010-02-13 10:10:24 +00:00
Dan Stillman
ca31a18159 Auto-correct most (if not all) cases of "Unexpected status 404 in Zotero.Sync.Storage.Session.ZFS._getFileUploadParameters()" 2010-02-13 09:45:29 +00:00
Dan Stillman
cabdd4977d Rephrase file sync error messages 2010-02-12 21:01:42 +00:00
Dan Stillman
b0420e347a Make errors updating translators and styles on upgrade non-fatal 2010-02-12 09:34:37 +00:00
Dan Stillman
8a5e17610c If mod time doesn't match but hash does, update file mod time to match synced time, since otherwise Zotero will compute the hash each time 2010-02-12 09:17:09 +00:00
Dan Stillman
4e9f05a183 Restore autocomplete for "Library Catalog" (formerly "Repository") 2010-02-10 20:10:45 +00:00
Dan Stillman
61e9ace79e Display a clearer error message attempting to import an unsupported file format, with a button pointing to http://zotero.org/support/kb/importing 2010-02-08 18:00:09 +00:00
Dan Stillman
50e100ec82 Stored files with '%' in filename couldn't be found on Windows -- now, on all platforms, filter imported filename (after first trying to URL decode, just to be nice) 2010-02-08 17:56:43 +00:00
Simon Kornblith
7f70af0c1f patches to RDF support 2010-02-06 23:39:28 +00:00
Dan Stillman
54c0b40870 Throw error on invalid 200 response to HEAD request, which you might argue shouldn't be possible 2010-02-06 16:36:02 +00:00
Dan Stillman
c44b7a5c14 Remove extra debug line that's getting in the way 2010-02-06 15:39:21 +00:00
Dan Stillman
78a514c29e Add a more helpful message for login errors on background syncs 2010-02-06 04:21:14 +00:00
Dan Stillman
24cc9880ae Strip quotation marks from lines sent to Google Scholar for metadata retrieval so they don't mess up query quoting 2010-02-06 01:46:52 +00:00
Dan Stillman
5494c6d0c5 Clarify logged WebDAV error messages 2010-02-05 13:05:20 +00:00
Dan Stillman
f3ba225f6f Second part of numeric-leading-zeros fix 2010-02-04 23:44:04 +00:00
Dan Stillman
9b4eb42c29 Auto-reset in case of unhandled delete conflict 2010-02-04 14:39:40 +00:00
Dan Stillman
0750f49bb0 Fixes #1402, Day-formatting doesn't respect CSL's "numeric-leading-zeros"-parameter 2010-02-04 14:23:35 +00:00
Dan Stillman
2cc2178064 Change saved search condition 'repository' to 'libraryCatalog' for people who don't update sync 2010-02-04 13:13:18 +00:00
Dan Stillman
e651d03804 Fix "Invalid field 'repository' in ItemFields.isBaseField()" error for people with Repository column selected in middle pane 2010-02-04 11:18:38 +00:00
Dan Stillman
20e5f4c53f Add missing strings in non-English locales 2010-02-04 07:55:48 +00:00
Dan Stillman
8f0bc38da3 - Use a different sync error icon for version cut-offs
- Use full sync error for icon tooltip
2010-02-04 04:45:29 +00:00
Dan Stillman
40222ebf93 Remove sync/storage debugging options from Actions menu 2010-02-04 02:54:16 +00:00
Dan Stillman
ee57f38e49 - Fix "ItemID not set for object before attempting to load data" conflict resolution error
- Probably fix "getFileName() can only be called on attachment items in Zotero.Item.getFilename()" conflict resolution error
2010-02-04 01:48:00 +00:00
Dan Stillman
ad2122a0cd Display nicer file sync error messages hiding technical details and suggesting retrying of the sync -- this should reduce unnecessary error reports for intermittent errors (e.g., network glitches) 2010-02-03 11:38:51 +00:00
Dan Stillman
4adc606c48 Add warning to citation/bibliography editor 2010-02-03 05:50:43 +00:00
Dan Stillman
b6af89309d Missed file from r5699 2010-02-03 04:53:56 +00:00
Dan Stillman
a2d9dbba83 Closes #853, repository field should contain only data on actual archives, not online databases
- Renamed 'Repository' to 'Library Catalog' and added 'Archive'
- Moved 'Repository' data to 'Archive' for item types other than books, periodicals, and theses
- Mapped 'Archive' to CSL 'archive'
2010-02-03 04:50:45 +00:00
Dan Stillman
6105b40add Missing file from earlier commit 2010-02-03 04:44:05 +00:00
Dan Stillman
4c30e6738f - Use millisecond resolution for file sync timestamps (fixes problem with slow sync initialization on some systems)
- Fix errors syncing files with filenames containing extended characters

This will not sync with the server until a server update is pushed.
2010-02-03 04:43:20 +00:00
Dan Stillman
673a22430b Locale update from BZ 2010-02-03 03:04:40 +00:00
Dan Stillman
2db41e47cf Merged locales from BZ 2010-02-03 02:56:20 +00:00
Dan Stillman
3bb9f38c8c Make "Display all tags in this library" localizable 2010-02-03 00:38:16 +00:00
Dan Stillman
1f34147550 For the moment, add CSL locale files to our repo directly, since they were removed on SourceForge 2010-02-02 21:47:14 +00:00
Dan Stillman
7d8700698b - Increase toolbar icon spacing on Windows
- Increase item pane tab padding on Windows
2010-02-02 21:31:19 +00:00
Dan Stillman
d049d8db83 Unbind Backspace from collection delete on Windows/Linux 2010-02-02 20:37:04 +00:00
Dan Stillman
c22b063d1d Display helpful error when trying to sync files with invalid characters in their filenames 2010-02-02 13:00:21 +00:00
Dan Stillman
e8e03f9e62 Remove redundant cancel icon in tag selector search box in Fx3.5+ 2010-02-02 10:31:29 +00:00
Dan Stillman
48087132d8 For inter-library drag to a collection, if a linked item already exists in the library, add the linked item to the collection rather than skipping the item 2010-02-02 10:07:30 +00:00
Dan Stillman
630d55ae71 - Prompt for PDF tools installation if necessary when attempting to reindex PDF
- Display "Reindex Item" icon even if PDF tools aren't installed (including for non-PDF attachments)
- Display file modification time rather than item modification time in attachment pane
2010-02-01 08:33:25 +00:00
Dan Stillman
8931b3050d - Fix error indexing documents containing words with invalid characters
- Increase number of words inserted per statement up to max allowed
2010-02-01 08:28:52 +00:00
Dan Stillman
149de94a0f Fix modifier key handling when clicking View Attachment 2010-01-30 21:58:10 +00:00
Dan Stillman
05088d4cfa Better logging for "entry is null" file sync error 2010-01-28 22:05:54 +00:00
Dan Stillman
efca9701d3 Remove platform-specific captions in error reporting wizard 2010-01-28 20:16:44 +00:00
Dan Stillman
a5329880d7 - Purge tags immediately on delete from tag selector
- Adds optional tagIDs parameter to Zotero.Tags.purge()
2010-01-27 10:39:35 +00:00
Dan Stillman
244c411c11 Fix comma splice 2010-01-27 10:07:27 +00:00
Dan Stillman
31cacf10d7 Fix regexp in previous commit 2010-01-27 09:51:16 +00:00
Dan Stillman
9193ab3e62 - Fix Zotero crash attempting to index an unindexable link attachment twice
- Log error on index failure, and include note about filenames with extended characters if applicable
2010-01-27 09:47:08 +00:00
Dan Stillman
49632d6110 - Change upgrade wizard title to "Zotero Upgrade Wizard" instead of just "Zotero"
- Remove default platform-specific window caption, which was "Introduction" on OS X and, apparently, "Welcome to the Zotero" on Windows
2010-01-27 08:21:33 +00:00
Dan Stillman
820a4c6759 Fix error performing a quoted quick search 2010-01-27 07:01:10 +00:00
Dan Stillman
18a7f43eb1 Error message tweak 2010-01-26 23:06:30 +00:00
Dan Stillman
4103ea5813 Fix "No fields in itemTypeFields" upgrade error 2010-01-26 20:48:57 +00:00
Dan Stillman
936142b131 Temporary fix to retain special date handling for filingDate even though it's been unmapped from Date base field 2010-01-26 09:51:53 +00:00
Dan Stillman
ac31012da7 Fix upgrade error 2010-01-26 09:41:05 +00:00
Dan Stillman
428c438528 Fix UI problem when adding a note to an item after deleting child notes from that item 2010-01-26 03:57:43 +00:00
Dan Stillman
8dcfbd43cd Merged updates locales from BZ 2010-01-26 03:24:56 +00:00
Dan Stillman
ad9451dc50 Remove in-development message from Sync pane of the preferences -- replace with "About Sync" link 2010-01-26 01:07:59 +00:00
Dan Stillman
3e79e9e684 Clarify localized strings for A/V "Format" 2010-01-25 23:21:16 +00:00
Dan Stillman
5c37be057b Schema updates:
- For "Book Section", added "Book Author" (needs to be mapped to CSL container-author) (closes #872)
- For A/V item types, "Recording Type" mapped to "Type" is now "Format" mapped to "Medium" (closes #1060)
- For "Radio Broadcast" and "TV Broadcast", replaced "Series Title" with "Program Title" mapped to "Publication Title" (CSL field container-title rather than collection-title) (closes #860)
- For "Patent", added "Country" field, removed (nonfunctional) base-map from "Place" to "Country", added "Issuing Authority", replaced "Date" with "Filing Date" (not currently mapped to CSL), and moved "Date" data to "Filing Date". Kept "Issue Date" base-mapped to "Date".  (closes #1375)
- For "Film", mapped "Distributor" to "Publisher" (closes #861) and added "Genre" mapped to "Type"
- For "Podcast", mapped "Audio File Type" to "Medium" rather than "Type"
- For "Bill", added "Cosponsor" creator type (closes #655)
- For "Case", added "Author" as primary creator type instead of "Counsel" (#655)
- For "Computer Program", added "Date" (closes #1502)
- For "Thesis" and "Newspaper Article", added "Place" (closes #1274)
- For "Thesis", replaced 'pages' with 'numPages' (closes #1618)


This can't yet sync, so upping sync API version and delaying dev XPI build.
2010-01-25 23:16:15 +00:00
Dan Stillman
831a6d0456 Missing file from previous commit 2010-01-25 20:34:42 +00:00
Dan Stillman
7816ef83c9 More helpful error message pulling sync data with an unknown item type 2010-01-25 20:33:46 +00:00
Dan Stillman
d500b50e2e Don't store literal 'today' in Date field 2010-01-25 18:39:23 +00:00
Dan Stillman
c2fea7e4da Fix "Item already exists outside of collection" error and UI weirdness dragging child items between items
(Don't bother removing an existing row for the item when creating the new one, since the old one will be removed in the fullness of time.)
2010-01-25 08:50:47 +00:00
Dan Stillman
a9233af428 Fix UI badness and "Item already exists outside of collection" error duplicating a child note 2010-01-23 08:22:46 +00:00
Dan Stillman
55c9e50d08 Fix typo in locale key 2010-01-22 19:43:14 +00:00
Dan Stillman
7ccd5ab639 Restore first-run tab -- /start currently redirects to QSG 2010-01-22 06:53:36 +00:00
Dan Stillman
f73e45a5dc Restore Quick Start Guide item for new installations 2010-01-22 06:48:31 +00:00
Dan Stillman
4dc8d2e01f Fix date fields on Windows (since recent update) 2010-01-22 05:49:49 +00:00
Dan Stillman
529799a28f Files with spaces were saved via Create New Item from Current Page with '20' in them (stripped from '%20') -- filenames now have proper spaces 2010-01-21 20:25:10 +00:00
Dan Stillman
9c58d8aedc Extra debugging info for mod time mismatches 2010-01-19 23:00:10 +00:00
Dan Stillman
f2ae8421a0 Fix item highlighting in Fx3.6 on child item drag (same as r5555, but for items pane) 2010-01-19 06:32:39 +00:00
Dan Stillman
bd5ef678f5 Fix recursion error shift-tabbing in metadata pane on item types with no creators 2010-01-18 06:51:39 +00:00
Dan Stillman
ce4327ddb6 Update (deprecated) Zotero.Item.toArray() to not substitute 'title' for base-mapped title fields, since this isn't done for other base-mapped fields
Report generation and a couple other things might need to be updated to deal with this
2010-01-17 11:25:25 +00:00
Dan Stillman
0531960e61 Fix for spacebar not working on attachment view/show buttons 2010-01-17 11:15:29 +00:00
Dan Stillman
72892dac1f Frank's patch to add support for Cyrillic characters to Zotero.Utilities.cleanAuthor() -- now splits Cyrillic capital letters into separate initials 2010-01-16 19:33:08 +00:00
Dan Stillman
7c9d03d7c3 Remove redundant line 2010-01-16 09:43:55 +00:00
Dan Stillman
d3d88b350d Fix some spacing issues in metadata pane 2010-01-16 05:19:34 +00:00
Dan Stillman
fccbff1f7f Delete invalid triggers 2010-01-16 01:37:40 +00:00
Dan Stillman
eb51439686 Merging locales from BZ (existing locales only) 2010-01-15 23:03:45 +00:00
Dan Stillman
117d7293a5 Clarify WebDAV error message 2010-01-15 21:57:13 +00:00
Dan Stillman
8870d5e514 Support for NSF Reviewer item type (for NSF use only -- not installed by default)
Also:

- Beginnings of custom item type/field support, though not intended for external use yet
- Zotero.Date.strToDate() now parses 'yesterday'/'today'/'tomorrow' and localized equivalents, allowing those strings to be used in fields such as 'Accessed'
- Cleaner display of dates without times in 'Accessed' field
- Item type menus in metadata pane, New drop-down, and advanced search window now sort by localized string

New methods:

- Zotero.CreatorTypes.itemTypeHasCreators(itemTypeID)
- Saved searches on item type should now use 'itemType' condition rather than 'itemTypeID'
2010-01-15 21:55:25 +00:00
Dan Stillman
53d2fb6fe9 Fix for note cursor being reset while editing (since r5572) 2010-01-13 21:28:10 +00:00
Dan Stillman
8560710463 - Fix autocomplete date searches (broken since autocomplete speedup)
- Fix search for January dates
- Support 'yesterday'/'today'/'tomorrow' and localized equivalents (case-insensitive) in date searches (e.g., [Date Added] [is] ['yesterday'])
2010-01-12 23:06:26 +00:00
Dan Stillman
6cefc8fb72 Add error message with filename when file creation fails during sync 2010-01-08 06:52:13 +00:00
Dan Stillman
646c35648f - Fix "script stack space quota is exhausted" error with extremely large notes
- Fix repeated text-to-HTML conversion of unedited plaintext notes (which might exist at this point only from direct DB writes)
2010-01-05 08:51:44 +00:00
Dan Stillman
7ae7cc3579 Include filename in logged error message on quota error 2010-01-04 23:20:51 +00:00
Sean Takats
d77aa89ede Fixes a locale typo. Also fixed at BabelZilla. 2009-12-31 14:28:57 +00:00
Dan Stillman
1d43d274ac Don't automatically retry sync for 400 errors (now) sent from the server 2009-12-31 00:19:31 +00:00
Dan Stillman
548b3b20ed Fix collection highlighting when dragging items in Firefox 3.6 (due to recent Fx change, I would think) 2009-12-30 23:22:08 +00:00
Dan Stillman
059efa4a67 Fix error dragging note in Fx3.0 2009-12-30 22:30:29 +00:00
Dan Stillman
bdc34103a9 Don't include deleted items in collection-based operations (export, create bib) 2009-12-30 21:08:45 +00:00
Dan Stillman
9996fd09a3 Error from localization 2009-12-30 20:58:45 +00:00
Dan Stillman
d5b4fce7d6 Export Library was exporting items in all group libraries 2009-12-30 20:21:43 +00:00
Dan Stillman
2cfd07ffc2 Addresses #1475, Localize add-on strings
Added a few more localizations (and reformatted a few)
2009-12-30 20:00:16 +00:00
Dan Stillman
7150d38cf1 Addresses #1475, Localize add-on strings
Localizes most (though not quite all) of the new unlocalized strings, hopefully without breaking anything
2009-12-30 07:22:53 +00:00
Simon Kornblith
60afa6b00d Fix DOI translator hang on error 2009-12-30 06:00:27 +00:00
Dan Stillman
f55fba3dcf Missed file in previous commit 2009-12-29 22:22:43 +00:00
Dan Stillman
3d78c2b4d8 Closes #1543, Add db integrity check for 1.0 to 2.0 upgrades
Also added different text coming from 1.0 with a link to http://zotero.org/support/upgrade, which needs content
2009-12-29 22:21:54 +00:00
Dan Stillman
028b152ff8 - Don't show various context menu options for imported attachments in group if no file editing access
- Don't show "Show in Library" in groups
2009-12-29 09:32:36 +00:00
Dan Stillman
94e279e034 ECL 1.0 -> GPLv3 2009-12-28 09:47:49 +00:00
Dan Stillman
3a2d9a50f8 Display implicit title for related items when they're letters or interviews 2009-12-27 11:42:49 +00:00
Dan Stillman
f4544bd386 Reverse Zotero.Utilities.prototype.arrayDiff operator order to be consistent with PHP's array_diff 2009-12-27 02:11:32 +00:00
Dan Stillman
6ca230379d - Include a line between notes when copying multiple notes
- Don't display "JavaScript Application" in alert when pressing Quick Copy shortcut key with no regular items selected
2009-12-26 10:38:45 +00:00
Dan Stillman
a5818604fb - When creating or adding to note from web page context menu, put text in <blockquote> with 'cite' attribute
- Zotero.Utilities.text2html(str, singleNewlineIsParagraph) -- conversion of 1.0 notes on upgrade to 2.0 uses the second parameter to treat a single newline as a paragraph, which may or may not be the desired behavior but is what was done previously
- Shortcut key for New Item wasn't properly selecting item type menu and wasn't preventing Firefox's Recently Closed Window shortcut
2009-12-26 03:40:30 +00:00
Dan Stillman
4ad2de797f Restores proper copying support for notes, with separate output for text, rich text, and HTML-code-as-text (via Copy HTML pref)
New hidden prefs:

- export.quickCopy.compatibility.indentBlockquotes (default: true)

Word and TextEdit don't indent blockquotes on their own and need this, but OO gets it right, so this results in an extra indent

- export.quickCopy.compatibility.word (default: false)

Adds Word Normal style to paragraphs and adds double-spacing, but OO inserts the conditional style code as a document comment

- quickCopy.quoteBlockquotes.plainText (default: true)
- quickCopy.quoteBlockquotes.richText (default: true)

Adds quotes around blockquote paragraphs, since loss of attribution is serious (and who knows whether all apps that accept rich text even support indenting)

Not enabled for HTML code copying, since CSS can be used to render blockquotes as desired


Fixes #1397, toggle HTML tags on and off for quick copy of notes
2009-12-25 23:39:54 +00:00
Dan Stillman
f2ac59f95c Log some extra debug output for sync error 2009-12-25 00:33:34 +00:00
Dan Stillman
764b8d3618 More helpful error for moveTo() error with orphaned files during upgrade 2009-12-24 23:20:14 +00:00
Dan Stillman
6064a230cd Include response headers in debug output for some unexpected errors 2009-12-24 09:32:53 +00:00
Dan Stillman
4e2f6f7bf9 Display proper unexpected status code 2009-12-24 09:15:17 +00:00
Dan Stillman
a39a5ca892 Remove unnecessary line 2009-12-22 08:24:38 +00:00
Dan Stillman
4ff0a51694 Clear shortTitle when moving between book and bookSection when title/bookTitle is automatically transferred 2009-12-22 08:21:18 +00:00
Dan Stillman
532ad6b30c Move title to bookTitle when changing item type from book to bookSection, and move bookTitle to title when going from bookSection to book if there's not also a title
http://forums.zotero.org/discussion/78/books-and-book-sections-avoiding-input-of-duplicate-info/#Item_21
2009-12-22 07:49:33 +00:00
Dan Stillman
f28cb22480 Fixes #607, Don't show annotations toolbar on MIME types it doesn't support 2009-12-20 09:30:26 +00:00
Dan Stillman
dd1eed6c9e Additional debugging 2009-12-19 00:49:02 +00:00
Dan Stillman
18c7e6728f Fixes #1619, Underline formatting isn't preserved in citation editor
Frank's patch
2009-12-18 21:49:36 +00:00
Dan Stillman
833ad915f5 Don't fill up error console with errors when onProgress() comes after request has finished, which seems to happen 2009-12-18 12:23:34 +00:00
Dan Stillman
7787f2f1cc More helpful message for HTTP 507 Insufficient Storage (WebDAV) 2009-12-18 12:10:51 +00:00
Dan Stillman
85914325aa Make URL in attachment pane draggable, as suggested here: http://forums.zotero.org/discussion/8369/suggestion-grab-pdfother-image-from-saved-link/#Item_3
Should probably still make it possible to copy-and-paste it with the mouse at some point
2009-12-18 12:00:59 +00:00
Dan Stillman
557a195b12 Closes #582, Ability to reorder creators
I am nothing if not a man of the people.

Uses an old suggestion from Andrew Moylan from the forums (http://forums.zotero.org/discussion/514/change-order-of-authors/): "Move Up" and "Move Down" options in the creator type menu. Dragging would be preferable but considerably more difficult, so this will have to do for now.
2009-12-18 11:29:03 +00:00
Dan Stillman
e638190ca9 Fixes #771, small caps and editor
Patch from Frank (with a few stylistic tweaks) to preserve small caps in citation editor -- since we now use TinyMCE rather than Midas, we could actually include a button for small caps, but this is probably sufficient
2009-12-18 10:21:19 +00:00
Dan Stillman
f5a9dd6812 Missing file from previous commit: Zotero.Utilities.ellipsize(str, len, countChars) 2009-12-16 00:28:24 +00:00
Dan Stillman
d1d70d3df8 Automatically delete .prop files that don't contain valid timestamps 2009-12-16 00:06:53 +00:00
Dan Stillman
37e4d8962e Better debug output for a few ZFS errors 2009-12-16 00:06:01 +00:00
Dan Stillman
0d13147704 Better debugging for data.syncModTime error, maybe 2009-12-15 09:07:07 +00:00
Dan Stillman
85826ba2f1 Better debug output for downloads in WebDAV mode 2009-12-15 08:51:47 +00:00
Dan Stillman
2edda44b12 - Better handle invalid characters in filenames when syncing
- Automatically rename downloaded file to match known filename if different
2009-12-15 08:49:18 +00:00
Dan Stillman
39092b7c82 Display "Open Sync Preferences..." button instead of "Report Errors..." on WebDAV verification failure during sync 2009-12-14 20:15:47 +00:00
Dan Stillman
c1054b57d6 "ecrypt" -> "eCryptfs" 2009-12-14 11:35:40 +00:00
Dan Stillman
1ff0105daf Throw (rather than log) ecrypt/filename length limit error on Linux 2009-12-14 11:32:50 +00:00
Dan Stillman
e5a8f94a9f Nicer message on S3 file upload failure 2009-12-14 10:07:55 +00:00
Dan Stillman
ef33984707 Fix deleting of saved searches in groups 2009-12-14 08:12:51 +00:00
Simon Kornblith
a68e91b0af Fix sorting bug 2009-12-13 22:00:44 +00:00
Dan Stillman
ecaa599bec - Renaming an attachment file with certain extended characters could cause it to be deleted
- When relinking a file, automatically rename file with cross-platform invalid characters (e.g., "/") filtered out
2009-12-13 04:14:31 +00:00
Dan Stillman
af3ef422a3 Use 'iskey' rather than 'key' for query string parameter to avoid conflict with API key 2009-12-13 03:59:15 +00:00
Dan Stillman
92c6874475 Add debugging info for weird sync error 2009-12-13 03:58:36 +00:00
Dan Stillman
04aa20b18f Enable export/bib/report context menu options for read-only items 2009-12-12 23:23:36 +00:00
Dan Stillman
771b025679 Give all three merge panes a minimum width 2009-12-11 09:31:44 +00:00
Dan Stillman
2866faac5e Change 'searchcondition' element to 'zoterosearchcondition', just in case someone else binds to searchcondition 2009-12-11 08:47:00 +00:00
Dan Stillman
890e7e9573 Fix accessibility of "Accessed" field from CSL
Thanks to Lubos for the patch
2009-12-11 04:28:20 +00:00
Dan Stillman
afbf22240a Don't keep trying to auto-sync if manual sync required 2009-12-08 21:08:20 +00:00
Dan Stillman
5b84dfe6d0 Closes #1550, add "smart folders" to groups
Create via right-click on group

- "New Subcollection" context-menu option was active in read-only groups
- Zotero.Searches.getAll() now takes an optional libraryID parameter (and defaults to personal library)
2009-12-08 00:02:28 +00:00
Dan Stillman
01e9bea66e Support library-key hashes in zotero://timeline and zotero://select URLs 2009-12-05 20:16:42 +00:00
Dan Stillman
9c5c02ef50 - In saved searches, use librayID_key hashes rather than ids for collections and saved searches (fixes inconsistent references across machines going forward, though it can't fix references that are already incorrect)
- Make "Saved Search" a separate search condition from 'Collection' in drop-down menu
- Better handle invalid search conditions
- (Dev) Saved search conditions are now 'collection' and 'savedSearch' rather than 'collectionID' and 'savedSearchID', though the latter can be used as shortcuts when adding

This could use some testing.
2009-12-05 10:26:47 +00:00
Dan Stillman
f6c8494a6b - Use keys rather than ids for report URLs
- Collection report sorting was backwards (since Fx3.5, probably)
- Return full Zotero.Search objects from Zotero.Searches.getAll()
2009-12-05 04:26:22 +00:00
Dan Stillman
b2589585db Find DOI anywhere in string in Add Item by Identifier 2009-12-04 23:52:28 +00:00
Dan Stillman
031f5548b5 Map numPages to CSL number-of-pages 2009-12-04 07:03:14 +00:00
Dan Stillman
05a097d09e Don't trigger file conflict if saved file timestamp is off exactly one hour from saved timestamp
I'd prefer to fix this properly, but I'm not sure exactly what's causing it on various platforms, and the odds of a file being edited exactly one hour to the second after the saved timestamp are fairly slim
2009-12-03 09:25:01 +00:00
Dan Stillman
7984e77524 - Fix some creator-related sync problems
- Don't flip out if server decides to include the default libraryID in an object node
2009-12-03 09:07:26 +00:00
Dan Stillman
b42b310d67 Add some debugging for a sync problem 2009-12-02 23:57:55 +00:00
Dan Stillman
0fe5389858 Remove any remaining blank tags and enforce on DB level 2009-12-02 08:11:37 +00:00
Dan Stillman
6539cace59 Add Zotero storage TOS link 2009-11-28 21:45:25 +00:00
Dan Stillman
c0b97e339a Apply modified version of Frank's OpenURL patch: Append '&' if OpenURL resolver URL already has '?' in it 2009-11-28 16:37:11 +00:00
Dan Stillman
99d19f35f7 Child items of deleted items appeared in gray (i.e., not deleted) in Trash 2009-11-28 05:04:24 +00:00
Dan Stillman
3e7f1f0608 Make key-based URLs explicit 2009-11-28 00:31:55 +00:00
Dan Stillman
020cf3ee95 Try to fix Windows file access error on syncing of modified files 2009-11-27 21:39:11 +00:00
Dan Stillman
b4dab3ce9c Use dateModified instead of clientDateModified when finding old items 2009-11-27 20:43:27 +00:00
Dan Stillman
8d09efb9b5 Using ANY mode in Advanced Search window (not saved search) caused all library items to be returned 2009-11-27 20:34:02 +00:00
Dan Stillman
6bed1231b3 Apply mguelck's patch from dev list to fix issue with sorting of multiple sources in one citation 2009-11-26 05:11:47 +00:00
Dan Stillman
f8e995409f - Support server-based sync request queuing
- Fix "Module not initialized" error
- Display sync status in sync icon tooltip
2009-11-25 06:33:10 +00:00
Dan Stillman
02f2a5b51c Auto-reset on a couple "Cannot set source to invalid item" sync errors 2009-11-25 02:27:08 +00:00
Dan Stillman
3b9f23baf3 Fix open/save window importing BibTeX files without UTF-8 BOM in auto mode -- just default to UTF-8 2009-11-25 01:31:31 +00:00
Dan Stillman
31943dfba7 - If snapshot pref is off or toggled off, save web page item for open PDF via Create New Item from Current Page rather than standalone PDF attachment
- When saving open PDF via CNIfCP, select in items list (after a currently unavoidable one-second delay)
2009-11-23 10:40:24 +00:00
Dan Stillman
6059bf0e1b Always rename attachment title when using Rename File from Parent Metadata 2009-11-23 06:58:52 +00:00
Dan Stillman
2a3b5593b7 - Add dialog when changing data directory to empty folder explaining that files need to be copied manually
- Change "Storage Location" to "Data Directory Location" in preferences
2009-11-20 20:25:09 +00:00
Dan Stillman
1746450abf - Add separate message for group quota errors
- Allow errors to suppress "Report Error..." button
2009-11-20 08:22:08 +00:00
Simon Kornblith
2b019c4427 fix tab weirdness in FF 3.6 2009-11-17 19:15:41 +00:00
Dan Stillman
7cc48426b3 Don't immediately re-upload synced relations 2009-11-15 07:12:54 +00:00
Dan Stillman
7eb2f5aad3 Uh, don't pull every single translator from the repository on every new installation kthxbye 2009-11-15 03:30:21 +00:00
Dan Stillman
3446aaf645 Fix constraint error "UPDATE itemAttachments SET syncState=?" during sync 2009-11-14 18:31:48 +00:00
Dan Stillman
7b8db1f09f Remove (unused, I believe) eval() calls in TinyMCE to avoid AMO flagging, though we'd have to do so on every update 2009-11-13 06:43:59 +00:00
Dan Stillman
d245064f87 Add a note to eval() in json.org library 2009-11-13 06:22:44 +00:00
Dan Stillman
3fd5fe06a3 Remove unused eval() calls in Timeline code to avoid AMO flagging, though we should probably integrate a newer version of Timeline anyway 2009-11-13 06:13:08 +00:00
Dan Stillman
034c2a1792 Remove (harmless) eval() calls in conditional-timed-textbox.xml (used for quicksearch on Fx3) to avoid AMO flagging 2009-11-13 06:08:28 +00:00
Dan Stillman
ba1b45b555 Add type attributes to csledit.xul and cslpreview.xul iframes to avoid AMO flagging 2009-11-13 05:44:01 +00:00
Dan Stillman
1be64e2d68 Send repo pings to API server 2009-11-09 05:13:10 +00:00
Dan Stillman
9cd0aa2182 Purge deleted values on trash empty 2009-11-06 09:26:44 +00:00
Dan Stillman
d421f25878 - Fix "itemID 'undefined' not an integer in Zotero.Item.addRelatedItem()" sync error
- Allow last remote sync times to be decimals
2009-11-04 06:25:56 +00:00
Dan Stillman
b921d5ac31 Fix some error handling in WebDAV purge/delete 2009-11-03 19:04:37 +00:00
Dan Stillman
79093b7c5c Grab HTTPS URLs in COinS 2009-11-02 22:03:52 +00:00
Dan Stillman
bb0d70a050 Add comment 2009-11-02 06:03:52 +00:00
Dan Stillman
a2f2182357 Add previous changes to non-ZIP section as well 2009-11-01 21:21:43 +00:00
Dan Stillman
ec9b1bed37 - Check for filename length of 244 instead of 254 to allow for some multibyte characters when checking storage sync error
- On Linux, if filename is over 130 characters and under 244, display filename in error message and include ecrypt suggestion
2009-11-01 21:20:34 +00:00
Dan Stillman
a4f8e45b73 Shorten filenames >=254 characters on storage sync error, since ext3/ext4/HFS+ all have ~254-character filename length limits
I don't have an OS/filesystem on which I can actually test this, but it might work.
2009-11-01 19:45:41 +00:00
Dan Stillman
3959cf7fd0 - Fix XMLHTTPRequest in Firefox 3.6
- Restore sending of cookies even if "Allow third-party cookies" is disabled (requires Firefox 3.6; not tested)
- Added Zotero.isFx36 for 1.9.2
2009-10-31 07:26:15 +00:00
Dan Stillman
e15acb3e7e Fix XML parsing error in report generation if HTTP URL has a space in it 2009-10-29 07:35:29 +00:00
Dan Stillman
455a1e65f1 - Fix item deletion behavior to be consistent between Windows (where it was prompting to erase child items) and OS X (where it wasn't for some reason) -- child items are now always removed, since unlinking them didn't make sense in the context of moving items to the trash and could cause problematic data states that would break syncing and trash emptying
- Show appropriate message when moving items to trash
- Unbind delete action from Backspace on Windows, where it's non-standard
- Fixed some inconsistencies in Cmd/Ctrl-Delete behavior -- Cmd-Delete will move item to trash without prompt in Library and move items to trash with a prompt in collection or search

API changes:

- Zotero.Items.erase(), Zotero.Item.erase(), and Zotero.ItemTreeView.deleteSelection() no longer takes eraseChildren parameter
2009-10-28 18:45:49 +00:00
Dan Stillman
9de0533ae8 Fix typo 2009-10-28 06:11:01 +00:00
Dan Stillman
7a4864caf2 Fix incorrect linking of URLs without trailing punctuation in HTML bibliographies 2009-10-27 02:31:59 +00:00
Dan Stillman
5c1018daaa Don't give false hope 2009-10-20 17:17:27 +00:00
Simon Kornblith
4ca829f45c activate Firefox on 10.4 2009-10-19 06:11:10 +00:00
Dan Stillman
0b20a62935 Fix "constraint failed" error on "REPLACE INTO itemNotes" query when a standalone note in a collection becomes a child note remotely 2009-10-18 16:03:54 +00:00
Dan Stillman
66fbf3d008 Fix nsIFile.remove() errors during sync, I imagine 2009-10-17 05:07:17 +00:00
Dan Stillman
bdd7bd9beb - Fix UI issue with search box when text is entered (probably)
- Restore Fx3.0 quick search code
2009-10-15 00:34:59 +00:00
Dan Stillman
249e8fa857 Advanced quick search mode was searching after every keypress 2009-10-14 09:53:50 +00:00
Dan Stillman
04bab1f28f Fix stupid bug that could cause an upgrade error 2009-10-14 09:25:41 +00:00
Dan Stillman
8d38122e9b Fix restart error dragging items between libraries 2009-10-13 22:29:25 +00:00
Dan Stillman
b6980b6c76 - Restore Notes tab
- "Add" button in Notes tab now uses inline notes editor by default instead of new window -- Shift toggles
- Fix overflow of tab panels in right column
- Fix error clicking on parent item title in unsaved new note window
2009-10-13 08:56:04 +00:00
Dan Stillman
daf313ad87 Add additional repair step to 1.0->2.0 DB upgrade process 2009-10-13 07:46:08 +00:00
Dan Stillman
2c81638fc7 Output debug message on restart error 2009-10-12 22:01:49 +00:00
Dan Stillman
67831bcb79 - Address "Delete reconciliation unimplemented for collections" message
- If collection items were added/removed on both sides, items from both sides were not always added
- Fix a couple other related glitches which may or may not have shown up before the above issues were fixed
2009-10-12 08:14:11 +00:00
Dan Stillman
d8bdb6c11d Restore proper display of changed creators in CR window 2009-10-10 08:29:55 +00:00
Dan Stillman
2a4c4e4780 Remove debug output 2009-10-10 07:52:32 +00:00
Dan Stillman
efba47c0df More debug output 2009-10-10 05:48:46 +00:00
Dan Stillman
193d205ca8 Temporary debug output 2009-10-10 05:04:26 +00:00
Dan Stillman
7f3ec894d2 Upgraded libraries all defaulted to WebDAV syncing, even if WebDAV URL was blank -- default to Zotero File Storage instead if no URL 2009-10-09 07:53:54 +00:00
Dan Stillman
e168071ab2 - When shortening long filenames during syncing due to Windows path length limit, preserve file extensions
- If shortened filename already exists, make unique
2009-10-09 07:40:49 +00:00
Dan Stillman
36a876021d - Fix error when dragging item with missing child attachment to another library
- Fix another cross-library problem (which may or may not have been exposed) that showed up in testing
2009-10-08 19:28:59 +00:00
Dan Stillman
83781293da - Display more helpful message for "(NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]" error when a remotely modified file is in use locally on Windows
- Fix a potential NS_ERROR_TARGET_FILE_EXISTS error from a recent commit
- Fix alignment of sync error icon
2009-10-01 20:26:31 +00:00
Simon Kornblith
4beb908dfa fix spurious "_sortCheckbox is not defined" errors 2009-09-28 22:00:48 +00:00
Simon Kornblith
c95c51907e Don't create invalid RTF when citations have brackets 2009-09-28 20:18:15 +00:00
Simon Kornblith
40b1b1da23 Fix incorrect conversion of documents with bookmarks from pre-2.0b7 format 2009-09-28 06:42:39 +00:00
Dan Stillman
4bbce8187c Missed file in previous commit 2009-09-28 06:40:38 +00:00
Dan Stillman
f482f65a46 - Fix some causes of "Source item for keyed source doesn't exist"
- If a child item is in conflict, always keep parent item if one side has one regardless of which side is chosen
- On cancelling sync from CR window, don't continue with file sync
- Clarify "Background sync resulted in conflict" message
- Display the error icon rather than the warning icon on errors (though some file sync problems should be changed to warnings instead)
2009-09-28 06:39:54 +00:00
Simon Kornblith
9665d14a18 Don't use modal dialogs in integration
Should fix http://forums.zotero.org/discussion/9078/reproducible-hang-adding-bibliographic-entry-while-openoffice-plugin-addedit-open-box-is-open/#Item_0
2009-09-27 21:44:32 +00:00
Dan Stillman
3941dd911a Fix potential cause of "Downloaded file not found in Zotero.Sync.Storage.processDownload()" 2009-09-27 07:40:39 +00:00
Dan Stillman
38459c5d0e Properly handle errors thrown by merge window, including cases of "Source item for keyed source doesn't exist in Zotero.Item.getSource()" 2009-09-27 02:00:08 +00:00
Simon Kornblith
0974d4bcf3 put "OK" button at right in editBibliographyDialog 2009-09-25 08:41:57 +00:00
Simon Kornblith
f9f59c73c6 commit missing binding 2009-09-25 08:35:04 +00:00
Simon Kornblith
f5c988f918 - add resizer to integration windows
- don't automatically resize integration windows if a button is pressed
- move integration js/xul to integration subdirectory
2009-09-25 08:30:07 +00:00
Dan Stillman
f4100739ce Merge new English strings 2009-09-23 08:12:10 +00:00
Dan Stillman
291888a498 Fix error resetting sync session 2009-09-23 07:55:49 +00:00
Dan Stillman
6d9bd979ef - Fix "Unexpected status code 404" in WebDAV downloadFile()
- Display a nicer message on a 403 upload error after verification
- Fix _deleteStorageFiles() for WebDAV
2009-09-23 07:51:01 +00:00
Dan Stillman
e239b69d76 - Restore error icon if WebDAV verification fails during sync and settings are filled in
- Display slightly more helpful message on unknown error
- Missing file from previous commit
2009-09-23 06:59:43 +00:00
Dan Stillman
b6964dc00f Display more helpful message for SSL certificate error during WebDAV server validation or sync 2009-09-23 06:22:27 +00:00
Dan Stillman
1ce795d46d Restore previous WebDAV server verification behavior when parent directory isn't a WebDAV directory 2009-09-22 21:31:06 +00:00
Dan Stillman
171d072f31 Add oscpu to error reports 2009-09-22 20:27:26 +00:00
Dan Stillman
7e6784a739 - Fix error syncing empty files
- Clarify quota message to say that metadata will continue to sync
- Fix some other problem that I don't remember
2009-09-22 09:00:09 +00:00
Dan Stillman
ce9b915de1 Debugging info for a user's problem 2009-09-21 23:46:02 +00:00
Dan Stillman
add2c629cc Clarify Windows path-too-long error message 2009-09-21 22:20:30 +00:00
Dan Stillman
e09c80e5e1 Fix collections-containing-an-item highlighting on OS X 2009-09-21 19:08:34 +00:00
Dan Stillman
4c45a25c35 Closes #1554, Add non-standard mime types to improve RIS handling 2009-09-21 08:11:42 +00:00
Dan Stillman
ad3d5faddc Fix empty single autocomplete row in item pane 2009-09-21 07:26:12 +00:00
Simon Kornblith
3b4945aa37 Missing item indices should be indexed from 1 2009-09-21 07:18:25 +00:00
Simon Kornblith
48851108ea enhanced proxy checks (should fix http://forums.zotero.org/discussion/8810/trouble-with-ezproxy-i-think) 2009-09-21 07:04:30 +00:00
Dan Stillman
9a39145a48 Clarify some WebDAV error messages 2009-09-20 03:42:55 +00:00
Simon Kornblith
4278d60710 Display bibliography placeholder when there is a bibliography in the document, but no items cited 2009-09-20 00:03:13 +00:00
Simon Kornblith
6fc6dbe4e5 Fix missing item exception on documents being upgraded from 1.0 (see http://forums.zotero.org/discussion/8859/?Focus=41140#Comment_41140) 2009-09-19 23:43:51 +00:00
Dan Stillman
7e544aecca - Fix "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.create]" error during sync due to very long filenames causing file path to go past 260 characters, which is the Windows API limit -- filenames are now automatically shortened
- Display a clearer warning when attempting to rename a missing attachment via right pane
2009-09-19 10:52:58 +00:00
Dan Stillman
ae52a05c3b Allow for XML .prop files on WebDAV in the future 2009-09-19 10:50:22 +00:00
Simon Kornblith
2e93767c81 display errors in dialog (for MacWord and maybe work for WinWord, although I have yet to test; OOo users get a separate window) 2009-09-19 04:17:40 +00:00
Simon Kornblith
49fbfb8798 commit missing strings 2009-09-18 17:12:48 +00:00
Simon Kornblith
f4de46e271 Show an error when field JSON is corrupt and allow user to re-select.
closes #1489, Show a more intelligible error for corrupted fields
2009-09-18 17:11:03 +00:00
Dan Stillman
cde028b0f2 Fix for (rare, I would think) "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.create]" file sync error 2009-09-18 05:01:42 +00:00
Dan Stillman
d864bf834e Fix forcing of certain (text) file extensions to open externally 2009-09-17 20:00:33 +00:00
Dan Stillman
706583fa4b Log but don't throw an error if a synced file is missing after extracting a ZIP file -- this can happen if a filename is changed and synced elsewhere but the renamed file wasn't synced, so the ZIP doesn't ontain a file with the known name 2009-09-16 11:29:49 +00:00
Dan Stillman
020553607d - Double-clicking an item without a URL didn't open child attachment
- Fixed various issues with adding/dragging files/links to group libraries
2009-09-16 09:23:57 +00:00
Dan Stillman
1c3a10909a Allow PDF recognition in group libraries 2009-09-16 04:35:16 +00:00
Dan Stillman
97b2aff10a Fix erroneous "You cannot add files to the currently selected library." message when trying to store a file in a group library 2009-09-16 04:12:21 +00:00
Dan Stillman
5be1b75b2b Fix for "Invalid integer value 'Not found' [QUERY: REPLACE INTO version VALUES ('storage_zfs', ?)]" 2009-09-16 03:37:14 +00:00
Dan Stillman
e4fd15c228 Fixes #1573, Tag search filter broken in 2.0b7 2009-09-15 19:08:15 +00:00
Dan Stillman
abf53e07ce - Fix sync error with empty WebDAV URL
- Fix Verify Server hang with empty WebDAV URL
2009-09-15 08:57:20 +00:00
Simon Kornblith
e828ea6fa6 fix uneven field mode toggle highlight 2009-09-14 19:20:29 +00:00
Simon Kornblith
6268887048 fix creator alignment on Linux 2009-09-14 18:47:52 +00:00
Dan Stillman
5f6952c5bc Don't update attachment item date modified when syncing 2009-09-14 18:31:49 +00:00
Simon Kornblith
1d799a0bbe tighten up spacing some more 2009-09-14 18:13:04 +00:00
Simon Kornblith
1afb607512 tighten up row spacing 2009-09-14 18:04:11 +00:00
Simon Kornblith
4f48210682 proper look for disabled "-" icon on new item 2009-09-14 09:24:21 +00:00
Simon Kornblith
cc93621678 fix Extra and Abstract field alignment 2009-09-14 09:21:13 +00:00
Simon Kornblith
04796cd4d2 fix more spacing issues 2009-09-14 08:51:41 +00:00
Simon Kornblith
4f2a7a5463 fix itembox alignment issues 2009-09-14 08:46:39 +00:00
Dan Stillman
1d1ae0768c Remove extra padding in metadata pane on Windows 2009-09-14 07:45:51 +00:00
Dan Stillman
b7907f4883 Fix some margin/padding in metadata pane 2009-09-14 07:33:02 +00:00
Dan Stillman
1e2a71666e - Restore item pane and tag selector font size to default
- Decrease space between metadata columns
- Increase metadata pane left padding
2009-09-14 06:58:59 +00:00
Dan Stillman
401f766e9a - Fix broken charset detection and full-text indexing during import on trunk
- Fix collection refresh after import
2009-09-14 06:13:04 +00:00
Dan Stillman
dd89fb6d47 Merge English strings 2009-09-14 06:11:13 +00:00
Simon Kornblith
f26f3a654d disable glow on attachment button on OS X 2009-09-14 04:28:37 +00:00
Dan Stillman
11c1277ea7 - Changed toolbar note button to context-sensitive menu for adding standalone and child notes
- Added toolbar button with context-sensitive menu for adding child attachments
2009-09-14 04:18:58 +00:00
Simon Kornblith
a60bfc1518 try to recognize PDF based on 3 pages 2009-09-14 02:58:56 +00:00
Dan Stillman
a38322ef54 Fix error dragging standalone attachment to group with filesEditable off 2009-09-14 02:15:20 +00:00
Dan Stillman
884e5474fe Zotero File Storage megacommit
- Group file sync via Zotero File Storage
- Split file syncing into separate modules for ZFS and WebDAV
- Dragging items between libraries copies child notes, snapshots/files, and links based on checkboxes for each (enabled by default) in the Zotero preferences
- Sync errors now trigger an exclamation/error icon separate from the sync icon, with a popup window displaying the error and an option to report it
- Various errors that could cause perpetual sync icon spinning now stop the sync properly
- Zotero.Utilities.md5(str) is now md5(strOrFile, base64)
- doPost(), doHead(), and retrieveSource() now takes a headers parameter instead of requestContentType
- doHead() can now accept an nsIURI (with login credentials), is a background request, and isn't cached
- When library access or file writing access is denied during sync, display a warning and then reset local group to server version
- Perform additional steps (e.g., removing local groups) when switching sync users to prevent errors
- Compare hash as well as mod time when checking for modified local files
- Don't trigger notifications when removing groups from the client
- Clear relation links to items in removed groups
- Zotero.Item.attachmentHash property to get file MD5
- importFromFile() now takes libraryID as a third parameter
- Zotero.Attachments.getNumFiles() returns the number of files in the attachment directory
- Zotero.Attachments.copyAttachmentToLibrary() copies an attachment item, including files, to another library
- Removed Zotero.File.getFileHash() in favor of updated Zotero.Utilities.md5()
- Zotero.File.copyDirectory(dir, newDir) copies all files from dir into newDir
- Preferences shuffling: OpenURL to Advanced, import/export character set options to Export, "Include URLs of paper articles in references" to Styles
- Other stuff I don't remember

Suffice it to say, this could use testing.
2009-09-13 07:23:29 +00:00
Simon Kornblith
a611706f86 fix appearance on FF3.0 for Mac 2009-09-08 22:23:37 +00:00
Simon Kornblith
24ea6dbb5c Fix buttons so that they work on FF3.0 2009-09-08 20:53:03 +00:00
Simon Kornblith
7d4432cc8a Use zotero-clicky on field mode button instead of toolbarbutton to save space and fix alignment issues on Windows 2009-09-08 20:23:49 +00:00
Dan Stillman
76b5e135b2 Function left out of previous commit 2009-09-08 19:12:23 +00:00
Dan Stillman
8864792dc1 Fix for attachment box metadata rows not showing up in second and third panes of conflict resolution windows (since r5023) 2009-09-08 00:29:44 +00:00
Dan Stillman
d3b3cf1176 Fix entire autocomplete speed problem with a single missing index... 2009-09-03 05:19:04 +00:00
Dan Stillman
5420a6de4b Add .opml to list of text file types to launch externally 2009-09-02 18:00:16 +00:00
Simon Kornblith
4f5feb98a2 UI improvements on OS X
still need to work out the appropriate opacity for the glow on each individual toolbar button, and to make some similar changes for Windows
2009-09-02 08:26:24 +00:00
Dan Stillman
46daa1db57 Fix error when duplicating child note in a collection 2009-09-01 09:07:56 +00:00
Dan Stillman
45e761449f Fix "constraint failed" error on itemCreators during sync 2009-09-01 07:54:53 +00:00
Simon Kornblith
e347b7ed91 time field loop and optimize 2009-08-31 04:50:22 +00:00
Simon Kornblith
76cab84373 - 2-3x speedup getting field codes in MacWord
- show field retrieval time in integration output
- activate Firefox before showing an error if the plug-in XPI is not installed
2009-08-26 21:24:40 +00:00
Simon Kornblith
17c082db20 Commit missing error strings for integration 2009-08-26 20:30:10 +00:00
Simon Kornblith
0741c651c0 closes #1552: Add/edit citation should not update other citations 2009-08-26 18:08:33 +00:00
Simon Kornblith
4fa9b77aae improve integration error handling 2009-08-25 07:02:24 +00:00
Simon Kornblith
bc87ddf90a Remove obsolete popup code 2009-08-25 06:24:29 +00:00
Dan Stillman
2d9ae5b87f Use real window for doc prefs window on Windows 2009-08-25 06:02:27 +00:00
Simon Kornblith
a0369ee5c2 Don't display addCitation window as a popup 2009-08-25 04:27:11 +00:00
Simon Kornblith
39ab82f9db - fix Bookmarks preference not sticking in Document Preferences
- activate document before and after showing Prefs window
2009-08-24 03:26:17 +00:00
Simon Kornblith
ffeaaa2216 addresses #1527, Better position handling with non-Zotero notes
should fix note handling in MacWord and WinWord. still need to figure out how to get the index of the note in OpenOffice without having to loop through every note
2009-08-24 02:05:18 +00:00
Simon Kornblith
76698d624d fix upgrading documents containing additional bibliography items or custom bibliography entries from 1.0 2009-08-24 01:09:47 +00:00
Dan Stillman
a1428f47ea Find DOIs without "DOI: " prefix in the PDF recognizer 2009-08-23 20:47:21 +00:00
Simon Kornblith
0684030d9b fix counter moving in the wrong direction 2009-08-22 16:52:35 +00:00
Simon Kornblith
0d53142b51 get rid of extra haveMissing calls and (hopefully) fix opening old documents in OOo 2009-08-22 01:23:25 +00:00
Simon Kornblith
5b3c1b7bb2 - fix compatibility with older documents
- add upgrade warning
2009-08-21 08:41:07 +00:00
Dan Stillman
cf5eb92799 Fix possible "Parent collection for keyed parent doesn't exist in Zotero.Collection._getParent()" sync error 2009-08-21 05:37:20 +00:00
Dan Stillman
87e2924984 I created Zotero.Item.isImportedAttachment() on opposite day 2009-08-21 05:30:51 +00:00
Dan Stillman
3db1d08bdf Fix "Invalid mode 'mergeedit' in relatedbox.xml" sync error 2009-08-20 18:12:57 +00:00
Simon Kornblith
d1fd3cde13 activate Firefox by bundle identifier 2009-08-20 08:25:01 +00:00
Simon Kornblith
136c47be5f Integration megacommit, part 2: Zotero code
Closes #884, final period missing when a citation is first added in note styles
Closes #1298, issues with footnotes and citations in OOo
Closes #1069, Use async HTTP calls for integration requests
Closes #1027, User-customizable integration port number
Closes #698, Migration away from VBA
Closes #1085, Migrate VBA plug-in to new XML-based API
Closes #792, Auto-updating of OO plugins
2009-08-20 05:02:55 +00:00
Dan Stillman
35344f5f05 Call Zotero.wait() only for import and export translators, since it causes problems with both badly asynced translators and attachment saving 2009-08-19 22:00:54 +00:00
Dan Stillman
4e48c32a0e Don't call first() twice in processAsync() 2009-08-19 21:12:57 +00:00
Dan Stillman
8455b4ce0a Reorder 2009-08-19 13:05:23 +00:00
Dan Stillman
5d78e25bbb Zotero.Item.isImportedAttachment() 2009-08-19 13:04:32 +00:00
Dan Stillman
94f53f70f9 Fix "Cannot edit [object] in library [id]" error message resulting from remote deletions being logged as local deletions 2009-08-19 07:16:19 +00:00
Dan Stillman
75ae355005 Call debug log report ids Debug IDs 2009-08-19 05:19:52 +00:00
Dan Stillman
d65da0a6b6 Incorrect local mod time in file conflict CR window fix from 2.0b6.5 2009-08-16 16:28:20 +00:00
Dan Stillman
b98eefc932 "Invalid mode 'merge' in relatedbox.xml" fix from 2.0b6.5 tag 2009-08-16 16:25:19 +00:00
Ben Parr
233b51d3e1 Fixes #1541, shows "Remove Bucket from List" option (can't actually delete a bucket in IA)
Also adds "Create Bucket", and "Sync Bucket List with IA" features, available by right clicking the "Commons" header.
2009-08-13 23:08:05 +00:00
Ben Parr
ac79b1d05f Add Zotero Commons feature (integration between Zotero and Internet Archive).
- dropping Zotero items into a bucket puts them in that IA bucket
- double clicking a bucket takes you to that IA bucket

In order to enable Zotero Commons:
1) Get an access key and secret key at http://www.archive.org/account/s3.php
2) Go to about:config
3) Search "commons" (no quotes)
4) Set "extensions.zotero.commons.enabled" to true
5) Enter your S3 access key into "extensions.zotero.commons.accessKey"
6) Enter your S3 secret key into "extensions.zotero.commons.secretKey"
7) Enter your buckets into "extensions.zotero.commons.buckets" as a comma separated list

Note: Steps 4-7 take effect in new windows
2009-08-13 10:56:47 +00:00
Dan Stillman
bb3c2ff55d Fix Related/Tags in standalone note window 2009-08-11 05:16:27 +00:00
Dan Stillman
e981f03514 Merge English locale changes 2009-08-11 04:43:50 +00:00
Dan Stillman
cdeaa2b257 Don't run detectWeb() on debug output 2009-08-11 02:26:47 +00:00
Dan Stillman
f1bda1af10 For now, at least, don't check local pre-sync user key when looking for an item from a URI -- just look for the item key in the local library 2009-08-11 01:14:07 +00:00
Simon Kornblith
dec3ed743c change item URI when a user begins synching for the first time 2009-08-11 01:11:17 +00:00
Dan Stillman
161a21b180 - Fix display of related items in reports
- Fix redundant display of case/statute/email titles in report tables
2009-08-11 00:21:33 +00:00
Dan Stillman
b336674100 - Case title displayed below creator in metadata pane
- Case titles were blank in related items pane
2009-08-10 23:21:04 +00:00
Dan Stillman
cf93417ec9 A few debug logging fixes 2009-08-10 17:37:35 +00:00
Dan Stillman
5f9e39f959 In-memory debug logging, configurable in Advanced pane of preferences, with ability to send output to zotero.org 2009-08-10 16:44:15 +00:00
Dan Stillman
75fd0b4448 Missed file from previous commit 2009-08-10 16:37:53 +00:00
Dan Stillman
872b90760c Add link to DB Repair Tool from integrity check failure message 2009-08-10 11:13:56 +00:00
Simon Kornblith
d01d66c9c6 Implement retrieveDocument() and retrieveSource(), synchronous equivalents of processDocuments() and doGet()/doPost() that do not hang the UI. These facilities should make writing translators a little easier. 2009-08-10 07:48:33 +00:00
Dan Stillman
84b87b6455 - Don't display browser content context menu submenu if empty
- Disable submenu options if in read-only mode
2009-08-10 00:58:01 +00:00
Dan Stillman
4f9d39614b Missed file in previous commit 2009-08-10 00:43:55 +00:00
Dan Stillman
19c6e59bab Add "since starting Firefox" to "The following errors have occurred" in error report window 2009-08-10 00:41:04 +00:00
Dan Stillman
c9706c9f33 - Don't show context menu or allow drag in tag selector in read-only mode
- Don't show create type context menu hover effect or dropmarker in read-only mode
2009-08-10 00:28:23 +00:00
Dan Stillman
f3f1c848cc Don't show Add and remove buttons for related items in read-only mode 2009-08-09 23:57:01 +00:00
Dan Stillman
3bd954e3da Don't show Add and remove buttons for read-only tags 2009-08-09 23:51:54 +00:00
Dan Stillman
53bd9afeac Remove option to display Zotero pane above browser content
There are times when I am right, when I demonstrate profound foresight sometimes borne out only years down the line. Then there are the other times.
2009-08-09 22:40:42 +00:00
Dan Stillman
fa23cf9036 Closes #522, Arrow on full-screen button should point the other way when in full-screen mode 2009-08-09 22:26:59 +00:00
Dan Stillman
dc2fba7b12 Item pane fixes and cleanup
- Restored save when clicking from open text field to another item
- Delay/weirdness when switching items/tabs should be gone
- Tab content updates properly when using Ctrl-arrows to navigate
- Removed some obsolete code
2009-08-09 22:15:48 +00:00
Dan Stillman
820d1cf28f Use only SQL portion of dates to sort 2009-08-09 21:02:34 +00:00
Dan Stillman
89dbc278bd New method Zotero.updateZoteroPaneProgressMeter(percentage) for updating the overlay progress meter 2009-08-09 19:39:32 +00:00
Dan Stillman
ad498143d3 Addresses #900, BCE date parsing
Don't try to save year if not 1-9999
2009-08-09 18:24:58 +00:00
Dan Stillman
8927bc9b49 Fix various issues with renaming tags 2009-08-09 15:34:52 +00:00
Dan Stillman
ebe2cb1871 - A few small tweaks to Zotero.wait()
- Main thread is now accessible from Zotero.mainThread
2009-08-09 10:51:12 +00:00
Dan Stillman
a806f09023 Don't count main browser in browser count debug output in createHiddenBrowser() 2009-08-09 08:31:21 +00:00
Dan Stillman
3f17420405 Closes #1306, Test and deploy snapshot annotation patch
Thanks to Frank for the patch
2009-08-09 07:59:33 +00:00
Dan Stillman
9feadb8f42 Remove HEAD requests to determine MIME type from Zotero.Attachments.linkFromURL(), since they triggered during imports and the UI code doesn't use that method anymore anyway 2009-08-08 18:18:49 +00:00
Dan Stillman
6650646cba - Speed up collection-item notifier triggers from r4863
- Add Zotero.wait() after every 25 collection-item inserts
2009-08-08 18:12:52 +00:00
Dan Stillman
2029d2aebd Fix items in collection not appearing immediately after an import with new system 2009-08-08 18:06:44 +00:00
Dan Stillman
a1a85911d8 Double-click on parent didn't open PDF child attachment according to hierarchy if PDF was a file attachment rather than a web attachment 2009-08-08 17:54:40 +00:00
Dan Stillman
765ee61c4c DOI field in metadata pane wasn't clickable (regression) 2009-08-08 16:06:57 +00:00
Dan Stillman
9318d2ad3e Fix some collection bugs in data layer, thanks to MozMill/Ben 2009-08-08 15:55:28 +00:00
Dan Stillman
8caecdf91a Fix some errors in the tree during add/remove operations 2009-08-08 14:30:18 +00:00
Dan Stillman
9c0ad65172 Fix "Invalid integer value 'null'" error when dragging a regular item and a top-level attachment between libraries, which shouldn't have been allowed 2009-08-08 13:21:02 +00:00
Dan Stillman
b3d5136c34 Missed file from previous commit 2009-08-08 11:33:06 +00:00
Dan Stillman
67ecb6cda9 - Fix Doc Prefs window in OpenOffice to reflect correct app
- Remove reference to Word from incompatible version message, which is also used with OpenOffice
- Add lines to Doc Prefs window to clarify the necessary file format (though enforcing this at save time would be best)
2009-08-08 11:32:16 +00:00
Dan Stillman
5c1ffd1e2f Reset storageModTime to 0 if < 0 and prevent setting < 0, though it shouldn't happen to begin with 2009-08-08 10:06:34 +00:00
Dan Stillman
3095239517 Scattering the schema upgrade process with my new favorite function, Zotero.wait()
Made 50 ms the default timeout -- this may need to be adjusted
2009-08-08 09:03:55 +00:00
Dan Stillman
96345a3aa8 Don't hang UI when importing files
- File import now uses a translucent overlay over Zotero pane with a progress meter that doesn't hang
- New method Zotero.wait(timeout) to allow synchronous code to wait for events on main thread to be processed until timeout is reached
- Wait status can be tested with Zotero.waiting property
- Zotero.showZoteroPaneProgressBar(msg, determinate) locks Zotero and creates overlay with progress meter
- Code that might trigger via timers or external UI should check Zotero.lock

Lock checks so far:

- Translator save icon and RIS/Refer import display error if triggered while locked
- Browser content context menu options are now in a Zotero submenu and are disabled when Zotero is locked
- Sync, repository, and DB backup timers check for lock and bail
- If a new window is opened, Zotero pane can't be opened and display an error message until lock is released

Probably need to check lock in word processor integration code and advanced search window

Also:

- New method Zotero.sleep(ms) (currently unused) to allow synchronous code to sleep and allow events on main thread to be processed
2009-08-08 07:38:34 +00:00
Dan Stillman
045e2b0830 Fix incessant file syncs and related file sync weirdness, I think 2009-08-07 13:32:36 +00:00
Dan Stillman
bd69d272c5 - Open alert window if sync icon is clicked with missing or incorrect sync credentials, with button to open Sync preferences pane
Alert doesn't pop up on background sync, and auto-syncs triggered by edits are now considered background syncs (like the auto-sync when opening the Zotero pane), which means they won't pop up the conflict resolution window either.
2009-08-07 13:22:26 +00:00
Dan Stillman
a19802cb9d Added file sync note and documentation link to Sync preference pane 2009-08-07 13:09:05 +00:00
Dan Stillman
49cc44c75b - Fix bug in Zotero.ID that could cause seemingly random SQLite constraint errors, particularly with large syncs and imports
- Closes #1090, Increase Zotero.ID.get() interval, which should speed up large syncs and imports
- MozMill tests
2009-08-07 13:05:56 +00:00
Dan Stillman
e1c611d1dc Fix y/m/d indicator in date fields not showing up for partial dates 2009-08-03 10:50:03 +00:00
Dan Stillman
567953e57c - Adds Zotero.Item.attachmentContent property -- works for HTML, PDF, and plaintext attachments
- For PDFs, stop deleting full-text cache file after indexing, and regenerate when getting content if necessary
- MozMill tests

Other MozMill changes:

- Added Cmd-Shift-M shortcut key to open window
- this.controller now available in Zotero.MozMill if passed in from setupModule() with Zotero.MozMill.setController(module.controller);
- Various new Zotero.MozMill methods, including for creating file attachments
2009-08-03 04:58:08 +00:00
Dan Stillman
9425a991b1 File mod time test 2009-08-03 02:02:17 +00:00
Simon Kornblith
a9f9d15703 fix importing files 2009-07-29 22:14:35 +00:00
Dan Stillman
70ebccc827 Fix for file attachment links being broken after renaming file 2009-07-27 22:45:07 +00:00
Dan Stillman
41f3c3a261 Greatly increase import speed (by ~38% in testing) by consolidating collection inserts 2009-07-27 09:17:42 +00:00
Dan Stillman
24cd01e16f Fix "url.match is not a function" error with integers in URL field 2009-07-26 10:51:12 +00:00
Dan Stillman
9160cff264 Display more helpful message on newer DB version error 2009-07-26 09:44:18 +00:00
Dan Stillman
a3250b3992 Tweak changelog URL in upgrade wizard 2009-07-26 09:24:35 +00:00
Dan Stillman
147cd45f07 Display more helpful message on upgrade errors due to open files 2009-07-26 09:23:59 +00:00
Dan Stillman
14c1e9d15e - Don't display file sync verification alerts (e.g., "Please enter a URL.") during syncs -- just skip file sync
- Clarify file sync verification messages
2009-07-26 07:25:31 +00:00
Dan Stillman
1b0ec5d3be Collection item membership conflict resulted in removal of local items from collection 2009-07-26 05:45:22 +00:00
Dan Stillman
e033665b6b - Fix potentially missing tag selector splitter (with no way to restore)
- Decrease min-height of collections tree (since it doesn't seem to want to be resized all the way down)
2009-07-24 07:13:11 +00:00
Dan Stillman
20a14919ce Remove "Collections" header, since it's no longer accurate and takes up space 2009-07-24 06:30:27 +00:00
Dan Stillman
43e47b30a3 - Add ability to collapse left column of Zotero via grippy
- Use grippy for collapsing tag selector and remove toolbar icon
- Remove redundant Attachments and Notes tabs in metadata pane
- Add all four child attachment options to submenu of item context menu
2009-07-24 06:03:51 +00:00
Dan Stillman
110800f154 Display more helpful startup error if file access is denied 2009-07-23 10:52:28 +00:00
Dan Stillman
df5ef0096c Detect corrupted login manager database 2009-07-23 09:25:28 +00:00
Dan Stillman
51f79ad627 Fix "too many SQL variables" error syncing many item removals from a collection 2009-07-22 09:07:39 +00:00
Dan Stillman
d55f874881 Cache Zotero.CreatorTypes.getPrimaryIDForType() 2009-07-21 21:51:34 +00:00
Simon Kornblith
520a89a330 fix "this._streams is undefined" in translate.js 2009-07-17 20:29:30 +00:00
Dan Stillman
0def6c109f Update some triggers and fix inconsistent database entries that could cause sync errors 2009-07-17 07:07:27 +00:00
Dan Stillman
87969d106d - Don't show Mac clipboard warning in Create Bib window in Fx3.5, which supports HTML copy
- Remove warning from preferences window, because there's not enough room anyway
2009-07-15 21:54:29 +00:00
Dan Stillman
d106fc0313 - Add "Reset File Sync History" reset option to sync preferences
- Fix erroneous uploading of all files on storage history reset
- Fix re-verification of storage server after every opening of the preferences
2009-07-15 07:27:53 +00:00
Dan Stillman
9c8738dca0 Trailing letters in DOIs weren't linked in HTML bibliographies 2009-07-14 05:36:37 +00:00
Dan Stillman
882074e847 - Fix some collection sync issues 2009-07-14 04:04:39 +00:00
Simon Kornblith
40443c6b91 - add xml/e4x and xml/dom dataMode options
- parse XML encoding declarations in translate.js
- fix errors importing MODS from clipboard
2009-07-13 22:45:10 +00:00
Simon Kornblith
e3e8881282 Fix errors auto-detecting import formats 2009-07-13 20:16:13 +00:00
Dan Stillman
81b429420b Tweak to previous commit 2009-07-11 01:20:26 +00:00
Dan Stillman
28bbce4bf5 Trigger full reset on missing collection parent 2009-07-11 01:17:01 +00:00
Dan Stillman
0ac95bfacd - Don't send sourceItemKey if empty
- Remove stack trace on sync error, since it's mostly just annoying
2009-07-09 07:18:06 +00:00
Dan Stillman
7b998c355b Remove debug line that's breaking PubMed and other translators that return a document as an attachment 2009-07-08 20:32:08 +00:00
Dan Stillman
2408069055 Fix "cleanDOI:argument must be a string" error 2009-07-08 05:50:07 +00:00
Dan Stillman
b8c0dcebc5 Remove sync expiry 2009-07-08 05:29:52 +00:00
Dan Stillman
904a764b10 Fix erroneous username mismatch message 2009-07-08 05:18:07 +00:00
Dan Stillman
f76435a9b3 Fix metadata pane refresh issues 2009-07-08 05:10:53 +00:00
Dan Stillman
fffbd6e387 Fix horizontal orientation of attachment list in metadata pane 2009-07-08 04:42:21 +00:00
Dan Stillman
fe100d800b Item hierarchy in items pushed to server was lost 2009-07-08 04:11:43 +00:00
Dan Stillman
473e3a067a Fix for sync errors not stopping sync process (from 2.0b6 change) 2009-07-07 07:53:34 +00:00
Dan Stillman
d3b5553a73 Simultaneously fix and disable first run URL 2009-07-07 01:38:40 +00:00
Dan Stillman
c0fc3aeaaf Translator type comparison fix from Simon 2009-07-07 00:20:10 +00:00
Dan Stillman
5792b46409 Fix "Rename Attachment from Parent Metadata" on Linux 2009-07-06 21:52:27 +00:00
Dan Stillman
b619b2a010 Add "Create Parent Item from Selected Item" context menu option for attachments and notes -- creates a Document item based on the attachment/note title
This might eventually supersede "Retrieve Metadata from PDF", automatically recognizing PDFs and otherwise just creating parent items
2009-07-06 13:47:46 +00:00
Dan Stillman
eabd87864f Merge locales for 2.0b6 2009-07-06 12:40:24 +00:00
Dan Stillman
5c8f1c5661 Fix relative customized sizing of table cells and headings 2009-07-06 12:30:51 +00:00
Dan Stillman
04aa0581be Date portion of SQL datetimes entered into date fields would be lost on edit 2009-07-06 11:42:03 +00:00
Dan Stillman
9e9f8db1df - Fix sync error when a file of an attachment with tags was in conflict
- Missed file from previous commit
2009-07-06 11:27:44 +00:00
Dan Stillman
7008fa41cf - Fix error in previous commit
- Log stack trace to error console on sync errors
2009-07-06 10:40:10 +00:00
Dan Stillman
3341336232 Fix "Sync delete log starts after last sync date in Zotero.Sync.Server.sync()" error 2009-07-06 10:20:04 +00:00
Dan Stillman
41437738b0 - Add triggers for full sync on various errors
- Add Zotero.Error(message, error) constructor to create a throwable error object with an error code
- Allow only one automatic client reset between manual syncs
- Fix "Source item for keyed source doesn't exist in Zotero.Item.getSource()" error
- Object produced by item.serialize() now contains .sourceItemKey instead of .sourceItemID
- Better error logging for missing XPCOM files
2009-07-06 10:13:02 +00:00
Dan Stillman
f9aa9383cb - Automatically run a full sync when triggered by server, which should allow for auto-correction of a wide range of remaining sync errors (though not all cause server to trigger full sync yet)
- Display exclamation mark on sync icon if a background sync fails due to a conflict (which requires manual intervention)
2009-07-05 10:48:19 +00:00
Dan Stillman
31bf663b03 Fix a serious but hopefully rare upgrade bug since Sync Preview 1 that could cause a handful of creators to be turned into either empty strings or other creators (the latter being much less likely)
For libraries that have already been upgraded, this renames orphaned item creators to "[Missing Name]"
2009-07-04 09:00:44 +00:00
Dan Stillman
46b3b857fa Expose all translator metadata properties (needed by Rintze for Scaffold 2.0) 2009-07-03 23:07:40 +00:00
Dan Stillman
5318b9293b Fix "Unexpected status code 300 in Zotero.Sync.Storage.getStorageModificationTime()" error (likely due to mod_speling) 2009-07-03 22:51:58 +00:00
Dan Stillman
3f911faa07 Add "Full Sync" option to Zotero prefs 2009-07-03 22:40:50 +00:00
Dan Stillman
34732fe78e Missed file in previous commit 2009-07-03 11:11:56 +00:00
Dan Stillman
4e3b79f9bb Metadata pane tab fixes
- Connect tabs to pane
- Allow switching between metadata pane tabs using standard Firefox shortcuts (Ctrl-Tab, Ctrl-Shift-Tab)
- Fixed squished look in Firefox 3.5
- Remove some unnecessary padding, providing a little bit more room in the metadata pane

Needs a little testing

Closes #711, Improve keyboard support
2009-07-03 11:11:13 +00:00
Dan Stillman
37abd1658a Fixes collection arrow persisting after subcollection delete 2009-07-03 09:59:34 +00:00
Dan Stillman
e636fe0f65 Fixes #1444, Attachment arrow/count persists after delete
This was fixed but then broken again for trashed items. Now fixed again.
2009-07-03 08:40:29 +00:00
Dan Stillman
2bfb5af205 Change "Documentation" to "Support and Documentation" and update URL 2009-07-03 07:04:13 +00:00
Dan Stillman
52dda8ae0b Don't throw error on database backup failure, which was breaking some upgrades for unknown reasons 2009-07-03 05:11:22 +00:00
Dan Stillman
2f2441bbf7 Upgrade TinyMCE to 3.2.5
- Added paste plugin to fix messy pastes from Word
- Added context menu plugin to allow copy/paste via mouse

Closes #1490, Upgrade TinyMCE to 3.2.4.1
2009-07-03 04:49:50 +00:00
Dan Stillman
48fc3fd742 Better debug and error messages for "not an error" messages (most of which should now be fixed via server) 2009-07-03 03:19:28 +00:00
Dan Stillman
e3e14a3f92 Extend expiry date 2009-07-02 07:57:38 +00:00
Simon Kornblith
7b25756416 use objects instead of arrays in serialize.js 2009-06-24 22:05:34 +00:00
Simon Kornblith
7da8c036d7 Use RDF store from Tabulator (http://www.w3.org/2005/ajar/tab) instead of Mozilla RDF support, along with a modified version of their RDF serializer. Our RDF export should now be much cleaner, but still backward compatible with 1.0. 2009-06-24 20:42:41 +00:00
Simon Kornblith
7b58475df7 - closes #1512, RTF Scan: Page Numbers
- closes #1513, RTF Scan: {Bib} Placemarker Flexibility
- switches citations from parentheses to brackets, to make it easier to distingush between what was reformatted and what wasn't
- adds a list of example citations to RTF scan dialog
2009-06-23 19:49:56 +00:00
Dan Stillman
6126ceb323 Use base-mapped title in progress window 2009-06-23 16:34:10 +00:00
Dan Stillman
ad01177eaf Clarify group attachment file syncing message 2009-06-17 21:13:09 +00:00
Dan Stillman
4ad2a4f5bf Fix broken documents after syncing for the first time with 2.0b5 2009-06-16 06:52:17 +00:00
Dan Stillman
e59bb3078f Speed up large SELECT operations a bit 2009-06-10 08:22:00 +00:00
Dan Stillman
03023e6265 Speed up initial items pane load (tested at ~20% faster with 5400 items) 2009-06-10 07:55:16 +00:00
Dan Stillman
ad965b1675 Fix possible "syncDeleteLog not empty and no timestamp in Zotero.Sync.delete()" error after upgrading 2009-06-10 07:28:30 +00:00
Dan Stillman
ebf6447351 Add Zotero.Translators.save(metadata, code) 2009-06-06 18:03:04 +00:00
Dan Stillman
cd1ac2e802 Use base-mapped date field in rename format string 2009-06-04 19:22:45 +00:00
Dan Stillman
63586518df - Add "Rename File[s] from Parent Metadata" context menu option to child file attachments, using extensions.zotero.attachmentRenameFormatString
- Only rename attachment title if it was already identical to filename

Somebody should probably test this.
2009-06-04 09:34:43 +00:00
Dan Stillman
9c28c6bb9c Fixes "this._IDMap is undefined" error from Embedded RDF translator 2009-06-04 08:32:26 +00:00
Dan Stillman
57fe6361d1 Remove valid username check from client 2009-06-04 00:58:50 +00:00
Dan Stillman
f681730e75 - Automatically check for and remove invalid characters in filenames on a sync upload error
- Add newline and characters not valid in XML (mostly control characters) to filename blacklist
- Strip invalid characters when user is renaming a file manually
2009-06-02 11:13:41 +00:00
Dan Stillman
5b7923c71d - Update file mod time when renaming so that new names sync
- Display file timestamp in conflict resolution box
2009-06-02 08:20:41 +00:00
Dan Stillman
51f6e1650d Better (and centralized) DOI parsing 2009-06-01 20:13:09 +00:00
Dan Stillman
6a28e8b040 - Make note font size configurable through preferences
- Make note font configurable through extensions.zotero.note.fontFamily hidden pref (for now)
- Additional CSS rules can be added through extensions.zotero.note.css hidden pref
- Give TinyMCE note body #zotero-tinymce-note id for more specific external customization
- Remove status bar position option from visible preferences...
2009-06-01 08:23:16 +00:00
Dan Stillman
68c6162fc8 - Don't use modifier keys to control tab/window opening behavior when double-clicking items list, because the modifier keys are already bound to behaviors
- Add viewOnDoubleClick hidden pref to disable double-click functionality
2009-06-01 02:53:03 +00:00
Dan Stillman
99ffa76e6f Better error message for a sync error (not yet fixed) 2009-05-31 20:19:49 +00:00
Dan Stillman
017713716e Fixes #1317, Sort triangle icon points in wrong direction in Firefox 3.1
Also fixes initial items pane sort, which was previously descending until a column was clicked
2009-05-31 07:15:55 +00:00
Dan Stillman
5ec339c9df Fix group collection sort 2009-05-31 05:57:43 +00:00
Dan Stillman
7ba742779e Fix "not a valid field for type" sync (conflict) errors 2009-05-31 03:26:23 +00:00
Dan Stillman
2d0a197293 - Remember last long tag delimiter
- Select delimiter field when switching to Split mode
- Escape special regexp characters
- Fix a window resize bug
2009-05-30 22:37:28 +00:00
Dan Stillman
4ea030b458 - Changed View/View Snapshot logic to following order: oldest PDF attachment matching parent URL, oldest non-PDF attachment matching parent URL, oldest PDF attachment not matching URL, old non-PDF attachment not matching URL, live URL, resolved DOI
- Double-clicking My Library takes you to online library
- Triple-clicking, rather than double-clicking, now expands/collapses parent items, which no one will notice or care about because I'm apparently the only person in the world who previously double-clicked to expand parent items. I feel so alone.

Closes #905, "ability to set primary attachment for the "view" button in the parent item" -- I think this is as close as we're gonna get.
2009-05-30 22:11:52 +00:00
Dan Stillman
a6478d7dd5 - Display snapshot first when double-clicking on an item, to make it consistent with the View button
- Check DOI field for View button
- Return false in Zotero.Item.getLocalFileURL() if file is missing rather than throwing error
2009-05-30 08:53:44 +00:00
Dan Stillman
211d5f3b62 - Double-clicking an item now takes you to its associated web page if there is a URL or DOI value
The tree expand/collapse behavior still happens concurrently, which is a little awkward.

- Double-clicking a group no longer expands/collapses the group while taking you to the group page
2009-05-30 08:13:04 +00:00
Dan Stillman
e305dff598 Allow possibly useless multi-character delimiters, so that ahoward stops bothering me 2009-05-29 21:38:31 +00:00
Dan Stillman
1c429dc33c Fix to prevent delimiters > 1 character 2009-05-29 21:19:01 +00:00
Dan Stillman
e86686aeaa Fix skipped first tag 2009-05-29 21:17:00 +00:00
Dan Stillman
18568d8153 Prevent buttons from going off bottom of window in long tag fixer, maybe 2009-05-29 21:02:52 +00:00
Dan Stillman
2eb5416620 - Run long tag fixer on first sync error, and then check locally for tags > 255 characters to avoid repeated sync attempts
- Don't run long tag fixer on background sync
2009-05-29 20:47:44 +00:00
Dan Stillman
93703c68d1 Fix PDF dragging to collections (from r4559) 2009-05-29 20:05:48 +00:00
Dan Stillman
481d847951 Long tag fixer tool -- runs automatically if server returns a long tag error, giving the option to split, edit, or delete the offending tag
Needs testing and refinement

- Also fixes server unlock after sync errors
2009-05-29 11:49:55 +00:00
Dan Stillman
921fa8c0fa - Make DOI label clickable in metadata pane
- Restore hand cursor when hovering over DOI/URL labels (which wasn't working in Fx3.5)
2009-05-29 08:43:52 +00:00
Sean Takats
388c90dfac Fixes Hungarian string according to advice in http://forums.zotero.org/discussion/310 2009-05-28 19:43:14 +00:00
Dan Stillman
017342a85e Fix Open/Save dialog and use of hidden browser when saving file types not handled natively using "Save Link as Zotero Snapshot" or drag-and-drop to create a standalone item
This need testing.
2009-05-28 09:52:52 +00:00
Dan Stillman
8712f49426 Fix "childItems.concat is not a function" sync error 2009-05-27 09:51:38 +00:00
Dan Stillman
53d798c345 - Remove unused code from Zotero.Groups
- Adjust Zotero.Items.getAll(onlyTopLevel) to take a libraryID in the second parameter and only search local library otherwise -- this has the side effect of no longer exporting group items when using Export Library, which may or may not be what we want
2009-05-27 04:18:37 +00:00
Dan Stillman
e0f1ef7646 Automatically correct missing item server errors by flagging missing items for update on next sync 2009-05-27 04:13:25 +00:00
Dan Stillman
6de3c02301 Fix problems with imported files in 2.0b4 due to incorrect NULL handling 2009-05-27 03:52:18 +00:00
Simon Kornblith
7a3a7d86bf - use URIs in word processing documents. needs testing to make sure migration of custom bibliography entries and uncited items included in bibliographies from 1.0 works.
- remove old key-based functionality from csl.js
2009-05-24 04:38:57 +00:00
Dan Stillman
305d5e18a7 Fix error clearing full-text cache files and update deprecated calls 2009-05-22 04:48:12 +00:00
Dan Stillman
4228132af2 Shift key toggles snapshot pref when clicking "Create New Item from Current Page" 2009-05-22 02:28:07 +00:00
Dan Stillman
f93f7384a6 Fix incorrectly entered MIME types and the DB bug in 2.0b4 that caused it 2009-05-22 02:07:22 +00:00
Dan Stillman
ad14b44335 Additional safeguard in Zotero.Attachments.getStorageDirectory() 2009-05-21 15:23:50 +00:00
Dan Stillman
b8599d0414 Add a safeguard into Zotero.Attachments.getStorageDirectory(itemID) to make sure it returns an actual item directory 2009-05-21 14:27:36 +00:00
Dan Stillman
6f09d392bd Fix sync error "Creator id null does not match item creator in Zotero.Sync.Server.Data.xmlToItem()" 2009-05-20 05:33:48 +00:00
Dan Stillman
1ae61a7ac4 Fix sync error after editing group item and leaving/deleting group 2009-05-20 00:58:34 +00:00
Dan Stillman
168ab9ca98 Speed up initial opening of Zotero pane with many collections -- this can be much faster, but not for Beta 4 2009-05-19 21:31:47 +00:00
Dan Stillman
f73e2ceb58 Closes #955, Don't generate bibliography when dragging many items
Default limit set to 50, configurable in the Export pane
2009-05-18 19:51:36 +00:00
Dan Stillman
3ca64f746a - Remove empty creators from the database -- they shouldn't exist and were causing sync errors for some people
- Better logging for errors in metadata pane
2009-05-18 10:15:19 +00:00
Dan Stillman
f018e7d433 - Fix an error with translate.translate(true)
- Add Zotero.Libraries.isEditable(libraryID) (currently unused)
- Addresses #1444, Attachment arrow/count persists after delete, for items (problem probably remains for collections)
- Dragging PDF favicon or link or clicking Create New Item from Current Page when viewing a PDF creates a top-level PDF -- this is a temporary solution that allows "Retrieve PDF Metadata" to be used until it can be run automatically
- Allow PDF child snapshots to be dragged out of parents
- Dragging a link to a collection now creates parent item and child snapshot
- ZoteroPane.newItem(), addItemFromDocument(), addItemFromPage(), addItemFromURL(), and canEdit() now all take an optional row parameter
2009-05-18 09:05:11 +00:00
Dan Stillman
fa348d346c Fix saved searches and trash not display on collapse/expand of My Library 2009-05-17 08:29:46 +00:00
Dan Stillman
7ab0a62e38 Fix dragging of items with old creators with NULL values into group libraries, and store (currently unused) shortName and birthYear fields as '' and NULL, respectively 2009-05-17 07:54:42 +00:00
Dan Stillman
643376769a Automatically hard-code NULL bound parameters (e.g., convert "WHERE foo=?" to "WHERE foo IS NULL" and "SET foo=?" to "SET foo=NULL") 2009-05-17 07:52:05 +00:00
Dan Stillman
2d619ff561 Fix broken snapshot pref 2009-05-17 02:55:44 +00:00
Dan Stillman
83facaeb44 Fix typo 2009-05-16 05:32:02 +00:00
Dan Stillman
add589a744 Remove missing "Enable file syncing" checkbox... 2009-05-15 20:23:05 +00:00
Dan Stillman
c867994095 Fix blank progress window when save via translator to root of library 2009-05-15 07:01:42 +00:00
Dan Stillman
c04ddc8389 Fix broken PDF metadata recognition in 2.0b3 2009-05-15 06:19:23 +00:00
Dan Stillman
3e7995fee5 Workaround for "mimeType is undefined" import error 2009-05-14 18:39:35 +00:00
Dan Stillman
91459f95f7 2.0b3 megacommit
- Support for group libraries
- General support for multiple libraries of different types
- Streamlined sync support
  - Using solely libraryID and key rather than itemID, and removed all itemID-changing code
  - Combined two requests for increased performance and decreased server load
  - Added warning on user account change
  - Provide explicit error message on SSL failure
- Removed snapshot and link toolbar buttons and changed browser context menu options and drags to create parent items + snapshots
- Closes #786, Add numPages field
- Fixes #1063, Duplicate item with tags broken in Sync Preview
- Added better purging of deleted tags
- Added local user key before first sync
- Add clientDateModified to all objects for more flexibility in syncing
- Added new triples-based Relation object type, currently used to store links between items copied between local and group libraries
- Updated zotero.org translator for groups
- Additional trigger-based consistency checks
- Fixed broken URL drag in Firefox 3.5
- Disabled zeroconf menu option (no longer functional)

Developer-specific changes:

- Overhauled data layer
  - Data object constructors no longer take arguments (return to 1.0-like API)
  - Existing objects can be retrieved by setting id or library/key properties
  - id/library/key must be set for new objects before other fields
- New methods:
  - ZoteroPane.getSelectedLibraryID()
  - ZoteroPane.getSelectedGroup(asID)
  - ZoteroPane.addItemFromDocument(doc, itemType, saveSnapshot)
  - ZoteroPane.addItemFromURL(url, itemType)
  - ZoteroPane.canEdit()
  - Zotero.CollectionTreeView.selectLibrary(libraryID)
  - New Zotero.URI methods
- Changed methods
  - Many data object methods now take a libraryID
  - ZoteroPane.addAttachmentFromPage(link, itemID)
- Removed saveItem and saveAttachments parameters from Zotero.Translate constructor
- translate() now takes a libraryID, null for local library, or false to not save items (previously on constructor)
- saveAttachments is now a translate() parameter
- Zotero.flattenArguments() better handles passed objects
- Zotero.File.getFileHash() (not currently used)
2009-05-14 18:23:40 +00:00
Dan Stillman
1db1de2257 Merged locales 2009-05-14 16:01:17 +00:00
Dan Stillman
490bd19f0d Skip WebDAV file downloads if server hasn't been updated since last local sync -- this should greatly reduce WebDAV load for people with lots of missing attachment files 2009-05-13 07:59:41 +00:00
Sean Takats
d1945d79b4 Fixes odious problem in French translation. Nous nous excusons! 2009-05-07 12:52:30 +00:00
Simon Kornblith
4c09cbb7ac - fix progress window issues with lookup and scraping
- prevent multiple lookups and fix error dialog
2009-05-06 07:58:28 +00:00
Dan Stillman
0ab3f1d2d6 Proper 3.5b4 fix for Zotero.File.getCharsetFromFile() 2009-05-06 07:07:47 +00:00
Dan Stillman
1532a1dd14 Addresses #635, In-content translator
Adds "Import from Clipboard" Actions menu option, based on original patch from en205

Also available via keyboard shortcut (Cmd-Shift-V/Ctrl-Alt-V)
2009-05-06 01:45:57 +00:00
Dan Stillman
091c3227d9 Fix "TypeError: cases[l].indexOf is not a function" upgrade error 2009-05-05 05:17:04 +00:00
Dan Stillman
b99bcff855 Add ability to translate from iframes 2009-05-05 00:02:18 +00:00
Dan Stillman
77b06e695f Create Zotero.isFx35 test and alias isFx31 to it until we get around to fixing the old references 2009-05-03 09:31:14 +00:00
Simon Kornblith
ac53f35056 Adds RTF scan feature. this could probably use some more testing. Acceptable citations are in the form
(Smith, 2006)
The database is scanned for each citation, and positioning is adjusted automatically for footnotes. Currently, this won't work with names with accents, but I'll get to that.
2009-05-01 11:46:07 +00:00
Dan Stillman
e619cab8f3 Clarify expiry message 2009-05-01 02:32:23 +00:00
Dan Stillman
a606332de5 Update expiry date 2009-05-01 02:30:31 +00:00
Simon Kornblith
65cb00e26b FF3.5 fixes for attachment and file operations 2009-04-30 00:52:48 +00:00
Simon Kornblith
9b5679fa14 Make PDF recognizer compatible with FF 3.5, and tweak regexp 2009-04-30 00:34:51 +00:00
Simon Kornblith
1cf83d1760 - fixes processDocuments() under Firefox 3.5
- makes translator progress window work a little better with translators that call Zotero.done() incorrectly, and complains when item.complete() is called after Zotero.done()
2009-04-30 00:10:03 +00:00
Matt Burton
cec3b1d31e fixed the newitem from page icon (it was too bright) and created a new lookup icon...it is a magic wand. 2009-04-29 22:56:46 +00:00
Simon Kornblith
d2a4cf7680 Fixes a bug where transparent proxies wouldn't be transparent until Zotero is restarted 2009-04-29 20:58:26 +00:00
Dan Stillman
a2ce69aee1 Fix error when a linked file appears twice in an export (e.g., in two subcollections) 2009-04-27 01:45:15 +00:00
Dan Stillman
b0e5b1763a Don't try to delete downloaded ZIP file if it doesn't exist 2009-04-24 22:13:10 +00:00
Dan Stillman
b76fdd8e43 Set tag/creator purge flag on removals from items, and run purge on sync 2009-04-24 06:16:19 +00:00
Dan Stillman
7bddca9121 Add advertising domain to blacklist 2009-04-22 00:36:29 +00:00
Dan Stillman
c9618b8a08 Fix deletion method for old DB backups on schema update 2009-04-16 10:30:55 +00:00
Dan Stillman
5cd7b3840e - Add translator/style deleting mechanism (without repo)
- Fix style saving from repo (updated styles were saved without .csl extension, so updates were ignored)
- Don't update from repository on every load of SVN build with missing symlinked style targets
- Remove deleted "Open Worldcat (Search)" and "Worldcat.org" translators
2009-04-16 10:07:48 +00:00
Simon Kornblith
34cd1103a0 - merge WorldCat translators and fix search (for ISBNs, at least)
- make lookup button
- podcast icon is now ipod_cast.png and radioBroadcast icon is now transmit.png, both from famfamfam
2009-04-15 09:15:58 +00:00
Dan Stillman
f38f5e9c7c The previous items list nsITreeView object wasn't being destroyed when changing collections. This could cause slow expand/collapse operations (since it was trying to expand each item in each collection you'd viewed since starting Zotero the number of times you'd viewed the collection) and was also causing a potentially large memory leak. 2009-04-11 07:54:17 +00:00
Simon Kornblith
14862edb2c commit missing files 2009-04-11 04:03:23 +00:00
Simon Kornblith
dad84abe97 - adds "Lookup by Identifier..." option under add item. currently works for DOIs and PMIDs, but not ISBNs, since our Open WorldCat search translator is broken. with a working ISBN search translator, ISBNs would work, too.
- fixes NCBI PubMed translator type (should be 12, since it's a search translator as well as a web translator)
- fixes a bug passing multiple translators to translate.setTranslator()
- increases priority of CrossRef translator
- makes sync animated arrow progress indicator into a general CSS class (zotero-small-progress-indicator) so that the same progress indicator can be used for lookup. if this is confusing, we could use something else instead.
2009-04-11 04:00:31 +00:00
Dan Stillman
ebeb9976d2 getByKey() doesn't take an array 2009-04-09 20:54:28 +00:00
Simon Kornblith
b1b0bd47a0 add a platform attribute to the Zotero pane and make border fix work with Firefox 3.1 2009-04-09 07:58:29 +00:00
Simon Kornblith
e8ce1d30d2 make fake window border gray when window is inactive on OS X 2009-04-09 07:16:41 +00:00
Simon Kornblith
c351486ed2 remove debug statement 2009-04-09 05:55:27 +00:00
Simon Kornblith
7f8fe0ce78 restore toolbars properly when Zotero pane is closed 2009-04-09 05:54:05 +00:00
Simon Kornblith
f5b2f77a3a hide toolbars when Zotero is in fullscreen mode. this doesn't look quite right on OS X, but I can't figure out how to fix it. 2009-04-09 05:28:41 +00:00
Simon Kornblith
593d2958f0 actually pass nonblocking parameter as a flag 2009-04-04 23:05:45 +00:00
Dan Stillman
f9f6e5340c Add lastName search condition (API only, not in the search UI) 2009-04-04 20:52:44 +00:00
Simon Kornblith
24654a8bce shouldn't actually need bibliography-Integration at all 2009-04-04 07:10:29 +00:00
Simon Kornblith
41d8b7b341 -addresses #1213, Bibliography customization broken (change to plug-in also needed)
-uses blocking IO to send integration responses to fix problems with very large documents on slow machines
2009-04-04 07:07:55 +00:00
Dan Stillman
ff5631d9ec Addresses #1239, Add options to Locate button
When an item has a URL, turn Locate button into a menu and allow lookup via Wayback Machine

Support for additional user-configurable providers is forthcoming
2009-03-31 09:12:24 +00:00
Dan Stillman
96f836f58d Fix "attachmentSyncState can only be set for snapshots and imported files" error 2009-03-26 20:40:23 +00:00
Dan Stillman
240637e044 Fix "attachmentPath cannot be set for link attachments" CR error 2009-03-26 19:31:37 +00:00
Dan Stillman
d78c31eb2b Fix URL-linking regexp a bit 2009-03-24 03:55:56 +00:00
Simon Kornblith
1f0d24ceef - use DOIs for PDF metadata lookup when available (needs testing)
- fix accessibility of createContextObject in Zotero.Utilities
- improved CrossRef translator
2009-03-24 02:08:08 +00:00
Simon Kornblith
9ca461c59b Proxy system overhaul
- Only one preference for recognizing proxies for transparent redirection
- Blacklists sites and http://%h/%p
- Fixes to EZProxy

This will clear all existing proxies from Zotero
2009-03-23 19:55:57 +00:00
Dan Stillman
5aae6bc9ce Hack to wrap URLs and DOIs in HTML bibliography output in <a href=""> links -- regexps might need to be improved 2009-03-21 20:08:57 +00:00
Elena Razlogova
20a42741cf Addresses #842, Mappings required
Addresses #1408, Incorect format for legal case citations in CMS note without biblography style
On the trunk, maps court in case item type to authority, a new CSL variable
2009-03-20 12:40:37 +00:00
Dan Stillman
78365a095f Add Zotero.Utilities.processAsync(sets, callbacks, onDone) -- this can be used from translators to make it easier to correctly chain sets of asynchronous callbacks, since most translators that require multiple callbacks currently do it incorrectly.
This function definition will be automatically prepended to translators sent to older clients from the repo.
2009-03-19 22:25:00 +00:00
Dan Stillman
d5a092da42 Don't exec pdfinfo if pdfMaxPages is 0 2009-03-17 20:36:47 +00:00
Dan Stillman
551c8a36a7 Fix upgrade error "counts[0] is undefined" (or "counts[1]") 2009-03-17 08:23:45 +00:00
Dan Stillman
505d3e6ac7 Add a couple localized strings 2009-03-17 08:11:22 +00:00
Dan Stillman
0df7f4afd4 Always show "Reindex item", even if item is indexed, and flicker the refresh icon briefly on click to show that it's doing something 2009-03-17 07:59:41 +00:00
Dan Stillman
468cd16534 Fix error: "[QUERY: DELETE FROM creatorData WHERE creatorDataID=?] [ERROR: constraint failed]" 2009-03-16 07:09:30 +00:00
Dan Stillman
4e7dfbad42 Proper locale-based sorting of saved searches 2009-03-15 22:58:44 +00:00
Dan Stillman
5920f22c52 Addresses #1408, Incorect format for legal case citations in CMS note without biblography style
Added 'docketNumber' to 'case' item type and mapped it to base field 'number'
2009-03-15 18:18:09 +00:00
Dan Stillman
e2dc73c75b Don't copy item storage folder to orphaned-files every time the file changes via storage sync 2009-03-15 17:39:09 +00:00
Dan Stillman
6dbcc678c8 Fix a possible error purging orphaned storage server files if WebDAV server strips trailing slash 2009-03-15 16:07:52 +00:00
Dan Stillman
d5de9c7a4a Always show PDF recognize option when appropriate, and prompt to install PDF tools first if necessary 2009-03-15 06:00:59 +00:00
Dan Stillman
7c1cc3b3d0 Update auto-sync expiry date 2009-03-14 23:21:38 +00:00
Dan Stillman
95e3bb7a3a Better debugging for Zotero.Utilities.trim() error 2009-03-14 22:17:23 +00:00
Dan Stillman
f0def44c29 Fix repeated unlock requests, probably (and remove old request limiting code, which was never finished) 2009-03-14 22:13:20 +00:00
Dan Stillman
d904470200 Fixes #1393, "Error when adding existing tag beginning with certain extended characters to an item", but not properly
SQLite's COLLATE NOCASE doesn't work for Unicode characters, so it won't find existing tag "Äbc" if "äbc" is entered and will allow a duplicate tag to be created
2009-03-14 21:48:47 +00:00
Dan Stillman
7107be3cdd Fix error opening Zotero pane after tag deletion 2009-03-14 20:19:44 +00:00
Dan Stillman
41aad110c7 Support single-field mode in translators (with .fieldMode=1) 2009-03-10 00:34:16 +00:00
Dan Stillman
0746824c0f Addresses #1146, Check for duplicate items functionality
Ben's duplicate detection code, with the integration reworked a bit

Very rough, so currently requires creation of a boolean extensions.zotero.debugShowDuplicates pref to view the Actions menu option
2009-03-06 21:44:47 +00:00
Dan Stillman
accce9f2b4 Properly scope a couple variables in Frank's patch 2009-03-06 19:49:13 +00:00
Dan Stillman
4f6491d6ad Speed up sync XML generation by a factor of a lot 2009-03-04 06:00:22 +00:00
Dan Stillman
7edfd0aa03 Modifying an attachment with a missing file and then performing a storage sync would erase the attachment path on the sync server 2009-03-04 02:38:57 +00:00
Sean Takats
17d07b37bc Checking in Frank Bennett's single-to-multiple citation dialog fix. 2009-02-28 23:11:10 +00:00
Dan Stillman
7e3d8a8319 Fix overflow problem with long attachment filenames 2009-02-23 08:31:10 +00:00
Dan Stillman
ff24aec739 Apply r3954 to trunk 2009-02-23 08:03:16 +00:00
Dan Stillman
5108e61ea8 Missed file 2009-02-23 05:13:14 +00:00
Dan Stillman
035cdd9e5a Closes #1371, Add "Create account" and "Lost password?" links to Sync pane 2009-02-23 05:01:35 +00:00
Dan Stillman
66a92a5f43 Hide another idle message 2009-02-23 04:54:26 +00:00
Dan Stillman
664b17190a Delete one numbered backup lower on DB upgrade 2009-02-23 04:32:08 +00:00
Dan Stillman
b39054ddda Don't show debug message every 10 seconds of idle 2009-02-23 04:27:58 +00:00
Dan Stillman
df8e1f15f8 Cap numBackups at 24 2009-02-23 02:40:17 +00:00
Dan Stillman
dd230b278b Closes #972, Keep additional backups of zotero.sqlite
Closes #984, Switch database backup to use mozIStorageConnection.backupDB()
2009-02-23 02:34:40 +00:00
Dan Stillman
744d6a5a0a Fixes #1320, Last synced tool tip should tell how long ago a sync occurred 2009-02-22 10:30:01 +00:00
Dan Stillman
fb0202fef9 Add server-based auto-sync throttling to client 2009-02-22 09:56:11 +00:00
Dan Stillman
4d1081be1a Fix FK constraint error with tags, often after the tag conflict window 2009-02-21 22:13:57 +00:00
Dan Stillman
5f60f6043c - Fix problem that was causing lots of sync errors on upload, and adjust a previous attempted fix that was making it worse
- Should also keep timestamps from going too far into the future when saving many items at once (which they were after my previous fix), though this can still be improved
2009-02-21 04:23:50 +00:00
Dan Stillman
d7d4bc01d7 Fixed "getFile() can only be called on attachment items" error whent here was a conflict set with both a regular item and an attachment 2009-02-19 20:35:04 +00:00
Dan Stillman
7572703065 Auto-sync on idle every hour and when coming back from an idle of more than 15 minutes 2009-02-19 05:26:48 +00:00
Dan Stillman
26e6125450 - More efficient purging logic -- instead of purging all objects whenever an item is deleted, flag just the object type and do the necessary purge when the Zotero pane is next opened. This also fixes a sync error edge case due to purging during synced item deletions.
- Disable unresponsive script warning during items list refresh
- Zotero.UnresponsiveScriptIndicator.disable() now returns true if it disables the indicator and false if it was already disabled
2009-02-18 03:09:39 +00:00
Dan Stillman
8233e54ea1 Fixes #1295, Info pane text spills out of column 2009-02-12 17:40:22 +00:00
Dan Stillman
bafd02759b Add non-English strings for deleted items folder 2009-02-12 16:18:28 +00:00
Dan Stillman
fd1ac3104a - Fix "creator.serialize() is not a function" sync error
- Added Zotero.Utilities.isEmpty(obj)
2009-02-12 08:00:29 +00:00
Dan Stillman
e84f7f6ef8 Fix "col.lockDateModified is not a function" error 2009-02-11 20:05:45 +00:00
Dan Stillman
4e4f6f74a1 Only mark tag cache as fully loaded if it is 2009-02-11 19:28:06 +00:00
Dan Stillman
893bbc2c89 Add dateAdded to all objects 2009-02-06 06:37:13 +00:00