Commit graph

6181 commits

Author SHA1 Message Date
Dan Stillman
0c3529170f Order by clientDateModified DESC when getting content to upload
This way content from newly added/modified items will get uploaded
before content from older items.
2013-11-04 04:36:39 -05:00
Dan Stillman
a89388e77a Better handling of maxLength and HTML
- Don't truncate before HTML conversion
- Correctly calculate indexed chars and total chars
- Move HTML conversion code into one function
2013-11-04 04:34:51 -05:00
Dan Stillman
0abd903917 Fix index rebuild 2013-11-04 01:53:29 -05:00
Dan Stillman
ccf2a05c49 Don't truncate HTML file content in full-text sync
Also write a cache file for HTML files at index time
2013-11-04 01:44:16 -05:00
Dan Stillman
62840f3b93 Full-text content syncing
Full-text content is now synced to the server and other clients. Up to
~500K of content is transferred with each sync, so multiple syncs may be
necessary. Downloaded content is written to temporary files and
processed on idle (currently 5 seconds), so synced content may not be
immediately available.

Performance will improve with API syncing and async DB in 4.1.

This also includes some other full-text tweaks, such as storing
text converted from HTML in cache files, which may speed up phrase
searching.
2013-11-03 19:14:10 -05:00
Dan Stillman
afd14ae4b9 Fix PDF tools prompt on pref window open if Search pane not yet loaded 2013-11-03 16:21:10 -05:00
Dan Stillman
6ea0ac2345 Don't try to index non-text files when importing from document
Also call the callback when importing PDFs from the document. I'm not
sure why this wasn't called before, but it seems like it should be.
2013-11-03 14:05:51 -05:00
Dan Stillman
05fef08a63 Store inter-group linked-item relations with target, not source, library
User may not have write access to source library
2013-10-28 23:35:28 -04:00
Simon Kornblith
d76a395a38 Merge pull request #396 from aurimasv/cleanISSN
Fix cleanISSN
2013-10-21 22:37:55 -07:00
Simon Kornblith
645ce6d623 Tweaks to #384
- Prefer btitle to title for OpenURL 1.0
- Remove unnecessary institution mapping (base-field mapped to publisher)
- Formatting fixes
2013-10-22 01:36:26 -04:00
adam3smith
9a39f6a203 add report to COinS export and add some import support 2013-10-22 01:34:44 -04:00
Dan Stillman
f44a56848e Fix "Open Documentation" button in WebDAV verification cert error dialog 2013-10-19 05:56:03 -04:00
Dan Stillman
52b95bfc03 Read 200 bytes instead of 128 in Zotero.File.getSample()
This allows Zotero to detect PDFs with more gibberish at the beginning.

https://forums.zotero.org/discussion/32550
2013-10-18 16:41:04 -04:00
Dan Stillman
1089856622 Closes #397, Support authenticated PAC setups in Standalone
Trigger a proxy authentication prompt at startup if a PAC file is
installed and one of a few randomly chosen big sites requires a proxy.

This also improves general proxy detection by not making a request
to S3 unless it would actually be proxied.
2013-10-17 20:03:06 -04:00
aurimasv
3ad2b4924d Fix cleanISSN 2013-10-14 23:51:08 -05:00
Dan Stillman
db43af33ac Fix "req is not defined" error message (which indicates a WebDAV error) 2013-10-12 02:54:28 -04:00
Dan Stillman
e457e5bdfe Show patents by issue date in timeline view 2013-10-06 23:57:40 -04:00
Dan Stillman
df9439f9a2 Don't fail during file upload if file doesn't yet exist 2013-10-06 23:48:49 -04:00
Simon Kornblith
c4158a5339 Fix name on abbreviations list 2013-09-19 23:48:20 -04:00
Simon Kornblith
55fd7edfaf Update abbreviations.json
Remove overrides for titles we now abbreviate correctly, and don't
delete potential prepositions that are rarely used as such in journal
titles ("hyphen", "midst", "minus", "modulo", outside", "pace", "past",
"plus", "round", "save", "til", "till", "times", "vice", "worth")
2013-09-19 23:33:38 -04:00
Simon Kornblith
94b50ca697 Abbreviate word pairs (e.g. New York -> N. Y.) 2013-09-19 23:33:07 -04:00
Dan Stillman
5d1efea137 Update maxVersion 2013-09-19 21:54:44 -04:00
Simon Kornblith
28034a5ddc Merge pull request #392 from aurimasv/abbreviations
Fix abbreviation algorithm
2013-09-19 18:50:51 -07:00
Aurimas Vinckevicius
84b6d8c5ee If abbreviation is same as key, it's still valid
See http://forums.zotero.org/discussion/32000/overriding-automatic-abbreviations/
2013-09-19 14:06:44 -05:00
Aurimas Vinckevicius
b680bcf375 Abbreviate plural forms of words same as singular 2013-09-18 00:47:28 -05:00
Aurimas Vinckevicius
7f7d78603a Use the longest abbreviation possible.
E.g. Fictional journal "Journal of Annunc Materials" (obviously annunc is not a real word)
Use "annunc-":"annunc." substitution instead of "annu-":"annu." resulting in "J. Annunc Mater." instead of "J. Annu. Mater."
2013-09-17 22:57:28 -05:00
Aurimas Vinckevicius
a55f9b624e Don't drop last word when abbreviating journal names 2013-09-17 21:52:10 -05:00
Aurimas Vinckevicius
6393c3bfe2 Look for abbreviations for longest possible match first 2013-09-17 21:41:34 -05:00
Florian Martin-Bariteau
38580e2366 Update renamed-styles.json
Updates from https://github.com/citation-style-language/styles/blob/master/renamed-styles.json
2013-09-16 20:26:30 -04:00
Dan Stillman
f510bd9d64 Debugging for failed file downloads 2013-09-09 16:47:15 -04:00
Dan Stillman
6c0be3426b Use async storage mtime checking in Fx24 on Windows
https://bugzilla.mozilla.org/show_bug.cgi?id=899436 was backported to 24
2013-09-05 16:36:15 -04:00
Dan Stillman
840790926b Fix merging of tags during sync conflict
If an item was added to a tag on one computer and another item was added
to the tag on a different computer, and then they both synced one of the
tags could be removed on the second computer to sync.
2013-09-04 17:53:11 -04:00
Dan Stillman
6eb354bf36 Fix cursor feedback for file drag-in on Linux, where we can set it 2013-09-03 04:49:02 -04:00
Dan Stillman
82769f0b9c Allow moving (instead of copying) files into Zotero
Cmd-drag on OS X, Shift on Windows and Linux

As requested in
https://forums.zotero.org/discussion/31717/delete-source-file-on-import/

Unfortunately due to https://bugzilla.mozilla.org/show_bug.cgi?id=911918
(and another issue on Windows) we can't show proper cursor feedback for
external file drags.
2013-09-03 04:25:35 -04:00
Dan Stillman
4d4d074ad9 Fix saving advanced search with no name
Addresses #379
2013-08-31 04:58:16 -04:00
Dan Stillman
94233108ae Fix saving advanced search
Fixes #379
2013-08-31 04:47:39 -04:00
Simon Kornblith
2f275a187c Fix path for translators/styles directories in symlinked dev Standalone build 2013-08-29 11:46:30 -04:00
Simon Kornblith
a5bc68bc17 Fix updating translators and styles from unpacked build 2013-08-28 22:06:28 -04:00
Dan Stillman
5a6e8cb65b Fix secondary function name 2013-08-27 17:13:50 -04:00
Simon Kornblith
ba32544c87 Don't call done handler multiple times on import
Broken by ff0f649a4d
2013-08-27 16:01:40 -04:00
Dan Stillman
ce62e7f29b Fix "Invalid sync state '4'" error 2013-08-27 14:26:29 -04:00
Dan Stillman
1be8cf743e Merge pull request #375 from gracile-fr/4.0
4.0 - Localization
2013-08-18 00:54:52 -07:00
Simon Kornblith
0c431e07ef Fix unnecessary reloading of session data
See https://forums.zotero.org/discussion/30740?page=1#Item_16
2013-08-17 17:43:39 -04:00
Simon Kornblith
ba0c33545f More typos 2013-08-16 17:56:10 -04:00
Simon Kornblith
70f04c3d8b Fix typos (thanks @aurimasv) 2013-08-16 17:53:36 -04:00
Dan Stillman
8e2de92ca8 Fix the Quick Copy site editor window 2013-08-16 16:28:23 -04:00
gracile-fr
f3137099bc Localize et al. in the middle pane
(Heromyth's PR #358, #360, #361)
2013-08-15 23:15:02 +02:00
gracile-fr
723e8a4e30 Localize Ctrl/Cmd-Shift in Prefs 2013-08-15 22:53:56 +02:00
gracile-fr
355b1fbc57 Localize Ctrl/Cmd-Shift in Prefs 2013-08-15 22:45:04 +02:00
Simon Kornblith
ff0f649a4d Call done handler after saving
Broken by dde09c54a2
2013-08-15 15:50:44 -04:00