Commit graph

4753 commits

Author SHA1 Message Date
Dan Stillman
f008843fc5 Automatically retry intermittent Amazon S3 upload timeouts
"Your socket connection to the server was not read from or written to
within the timeout period."

I can't reproduce these reliably, so this is fairly untested, but it
seems to work. It backs off exponentially when the error occurs, and
halves the delay on successful requests.

Eventually all 50x file sync errors should also be retried
automatically, but that can't really happen in 4.0.
2014-04-24 17:54:24 -04:00
Dan Stillman
499ab28539 Merge pull request #471 from aurimasv/sync-cred
Clear cached file sync credentials/URLs when changing settings
2014-04-24 01:30:15 -04:00
Simon Kornblith
b758af7b08 Add Australis-style Z icons 2014-04-24 01:13:35 -04:00
aurimasv
9b63ca5f4d Clear cached file sync credentials/URLs when changing settings 2014-04-23 17:18:33 -05:00
Dan Stillman
f70d0c0b29 Fix "invalid 'instanceof' operand Zotero.Exception" error
This was hiding the actual error when there was an error installing the
parent style of a dependent style.
2014-03-26 16:12:36 -04:00
Dan Stillman
62fb1024b2 Update versions 2014-03-24 16:50:58 -04:00
Dan Stillman
fe1bedcb8d Fix hang navigating by keyboard in Add Citation after switching views
https://forums.zotero.org/discussion/35658/
2014-03-24 16:31:53 -04:00
Dan Stillman
af5e7abb31 Update versions, submodules, and repotime 2014-03-21 04:10:38 -04:00
Dan Stillman
47c4661635 Fix WebDAV syncing (broken in 62e779bee) 2014-03-21 03:22:56 -04:00
Dan Stillman
8444a4d8b4 Allow Unicode characters in string prefs, including sync username 2014-03-20 17:01:42 -04:00
Dan Stillman
e7710660ef Don't change attachment item mod time when downloading unchanged data
From attachmentCharset change
2014-03-20 16:26:06 -04:00
Dan Stillman
7091431c21 Update locales from Transifex
Includes new Lithuanian locale
2014-03-19 15:06:19 -04:00
Dan Stillman
d137850075 Update versions 2014-03-19 06:23:30 -04:00
Dan Stillman
3ff56a7d55 Fix harmless "Not well-formed" console message from renamed-styles.json 2014-03-19 06:00:05 -04:00
Dan Stillman
d7b75aaa80 Fix startup with debug log pref enabled on Windows
I don't know how I possibly ended up with sendConsoleAPIMessage()
here...
2014-03-19 05:42:28 -04:00
Dan Stillman
f22e8ef4fb Ignore 404 on S3 file download 2014-03-18 16:57:56 -04:00
Dan Stillman
fbf2764ef8 Fail rather than hang sync on S3 upload error 2014-03-18 16:57:12 -04:00
Dan Stillman
4b772d4382 Update submodules, renamed styles, and repo time 2014-03-16 00:22:21 -04:00
Dan Stillman
b6b005f66f Update locales from Transifex 2014-03-16 00:19:52 -04:00
Dan Stillman
a208f8ad78 Blacklist more OpenGL messages 2014-03-14 17:11:26 -04:00
Simon Kornblith
5bbd5f0f70 Don't use browser console for logging in Zotero Standalone
This is probably what caused zotero/provo#5
2014-03-10 12:34:46 -04:00
Dan Stillman
b486366fdf Log debug output to the Browser Console on Windows
At least for me (in a VM), the text console has always been unusable on
Windows. Logging to the Browser Console is slower than dump() on OS X
and Linux, but on Windows it's much faster.
2014-03-06 16:23:21 -05:00
Dan Stillman
5ddfdec584 Fix first item drag of session
https://forums.zotero.org/discussion/35206/
2014-03-02 05:22:58 -05:00
Simon Kornblith
015b37a85e Merge pull request #453 from aurimasv/rdflib-rdf-value
Correctly handle literals with attributes in RDF
2014-02-24 11:03:53 -05:00
Dan Stillman
7a83a5762a Fix error recovering from DB corruption maker if main DB doesn't exist
Also add better logging
2014-02-22 03:53:27 -05:00
Dan Stillman
62e779beec Show redirect URL in the sync stream listener (for file downloads)
Also consolidate the display-URL-password-hiding logic in http.js
2014-02-21 19:07:08 -05:00
Dan Stillman
79cd7197ff Fix a rare cause of sync conflicts
Sometime in the past SQL datetimes saved to the server could be
interpreted as multipart dates, causing the date portion to be stripped
from the visible field. I fixed this previously on the server, but a
full sync could result in conflicts for any such values that synced
down. Instead, overwrite the local version (keeping Date Modified the
same) if there are no other changes.
2014-02-21 19:02:02 -05:00
Dan Stillman
1d4a6b0848 Fix [Attachment Content] [does not contain] searches in "all" mode 2014-02-19 00:52:27 -05:00
Dan Stillman
62bc5830eb Fix some harmless errors in the console editing autocomplete fields
"comment.split is not a function"
2014-02-18 18:43:58 -05:00
Dan Stillman
04fa4a0943 Fix Zotero crash pasting in creator with certain leading whitespace 2014-02-18 18:42:06 -05:00
Dan Stillman
5d54dd9fbf Tweaks to csledit
- Show "Citation Style Language" in Format drop-down
- Reverse positions of Refresh and Save

Follow up to #454
2014-02-14 04:13:18 -05:00
Dan Stillman
6444477580 Fix csledit breakage from 39dd3d81
Follow-up from #454
2014-02-14 04:00:41 -05:00
adam3smith
39dd3d8114 add "Save" button and "Near Note" position to CSL Preview 2014-02-14 00:59:44 -07:00
Simon Kornblith
41c19992fe Fix strict mode error from https://forums.zotero.org/discussion/34871/ 2014-02-12 01:02:54 -05:00
Aurimas Vinckevicius
89782e78bf Zotero.Translate.IO._RDFSandbox.getResourceURI should return the contents of rdf:value where available 2014-02-08 20:31:09 -06:00
Aurimas Vinckevicius
83e261930e [rdflib.js] Literals with attributes should be added as rdf:value nodes 2014-02-08 20:29:41 -06:00
Dan Stillman
a6ab904cd0 Note link tweaks
- Send modifier keys through to loadURI() when clicking Open Link in notes
- Open link in parent window from external note window
- Don't show both menus on right-click

Follow-up from #450
2014-02-04 21:02:05 -05:00
Joscha Legewie
2f9c7fd839 TinyMCE Improvements: Open links from note window with popup and auto-create links 2014-02-04 20:58:51 -05:00
Dan Stillman
d966166abc Fix indexing error with empty documents 2014-02-01 16:37:05 -05:00
Dan Stillman
fadd486dc1 API change: item.attachmentCharset now returns charset name, not ID
Since apparently half of our own code didn't know that it returned an
ID...

The item.attachmentCharset setter can still take either name or ID.
2014-02-01 03:16:21 -05:00
Dan Stillman
07b8d56401 Fix (caught) error accessing this.decoder due to private method call
Follow-up to #440
2014-02-01 03:16:05 -05:00
Dan Stillman
7a9966bbe3 Fix indexing error adding items with repeated words
Probably words that didn't make it into the same in-memory insertion
batch, since the UNION would make those distinct.

Follow up to #440
2014-02-01 03:12:02 -05:00
Dan Stillman
d7ce74f1c5 Update version and maxVersion 2014-01-31 18:23:15 -05:00
Dan Stillman
2cd0d5988f Update submodules and repotime 2014-01-31 18:12:54 -05:00
Dan Stillman
79904325ee Update locales from Transifex 2014-01-31 18:10:43 -05:00
Dan Stillman
f9f61fca86 More full-text indexing tweaks
Follow up from #440

- Convert curly single quotes to straight quotes before inserting
- Add General and Supplemental Unicode punctuation ranges to getClass()
  (so that fancy punctuation doesn't end up in words)
- Move single-quote test from getClass() to semanticSplitter(), and
  consider it a letter only if in the middle of a word
- Add comments to semanticSplitter()

This might be ever-so-slightly slower, but it's neglible. (War and Peace
seems to now take ~1570ms instead of ~1500ms for me.)
2014-01-31 17:43:29 -05:00
Dan Stillman
7036d07acc Remove unused _separateElements() 2014-01-31 17:43:29 -05:00
friflaj
c22ddd2ce6 Faster indexed word insert, faster word splitter
Uses SQL insert ... select to speed up the inserts, and ports the Firefox word splitter to JS
to prevent xpcom call overhead
2014-01-31 17:43:29 -05:00
Simon Kornblith
71a3751179 Merge pull request #433 from aurimasv/retrieve-meta
Retrieve Metadata query limit fixes
2014-01-31 00:16:09 -08:00
aurimasv
3c21e7c999 [Retrieve Metadata] Add/fix comments 2014-01-31 02:10:20 -06:00