Commit graph

6059 commits

Author SHA1 Message Date
Dan Stillman
207c34b1a4 Update maxVersion 2013-12-11 15:19:03 -05:00
Simon Kornblith
1ee015317f Don't restart in connector mode on Zotero.init() failure
I broke this in a723c85999
2013-12-11 14:50:48 -05:00
Dan Stillman
ea50098d30 Debugging for not saving into collection 2013-12-10 22:21:34 -05:00
Dan Stillman
683af21691 Fix file sync errors with passwords containing % + two hex digits
Usernames and passwords going into nsIURI have to be percent-encoded.
2013-12-04 02:17:11 -05:00
Dan Stillman
5f1e582b05 Include timings in -zoterodebug output 2013-11-30 03:16:56 -05:00
Dan Stillman
6ff0ea6d18 Add -zoterodebug command-line flag to force debug output
This should make it much easier to debug startup errors, particularly in
Standalone.

This also adds a general mechanism to set Zotero initialization options via
command-line flags.
2013-11-30 01:55:48 -05:00
Dan Stillman
8e276b30d4 Merge pull request #429 from aurimasv/rename-attachment
When renaming attachment files, keep file extension if not provided
2013-11-23 22:28:06 -08:00
Aurimas Vinckevicius
04335ef418 Properly revert attachment renames if they fail. Closes #430 2013-11-23 23:36:49 -06:00
Aurimas Vinckevicius
59ef7cba04 When renaming attachment files, keep file extension if not provided 2013-11-23 23:36:49 -06:00
Dan Stillman
64fb9efa76 Fix newlines not showing up in Abstract/Extra fields 2013-11-23 03:24:57 -05:00
Dan Stillman
305edd893c Revert relations purge debugging 2013-11-21 20:41:22 -05:00
Dan Stillman
15710060be "back up and delete" -> "remove" 2013-11-21 20:25:14 -05:00
Dan Stillman
74445f11b3 "signons.*" -> "signons.sqlite" in corrupt-login-manager error message 2013-11-21 20:22:00 -05:00
Dan Stillman
1a8f264ccf Add "directory" to "[Firefox/Zotero] profile" in login manager error message 2013-11-21 20:18:22 -05:00
Dan Stillman
1e0674cf7c Fix some bugs adding items to various views
- Refresh Unfiled Items view when items are added
- Fix brief freeze ("too much recursion") adding an item to a search
  where the new item doesn't appear. Now, select the library root
  instead if a manually added item doesn't appear in the current view.
- Fix immediate closing of title field when adding an item to a
  collection rather than the library root
2013-11-21 19:52:13 -05:00
Dan Stillman
5d85bffc9c Add back pane close icon with Australis 2013-11-21 02:15:39 -05:00
Dan Stillman
3aea8bf040 Update locales from Transifex 2013-11-19 17:39:22 -05:00
Dan Stillman
860ebdb3fd Make Esc (or clicking X on Windows) cancel Rebuild/Clear Index
Previously the secondary actions were being triggered, with no way to
fix that due to https://bugzilla.mozilla.org/show_bug.cgi?id=345067
2013-11-19 15:53:19 -05:00
Dan Stillman
a75192d744 Add ellipses to Rebuild/Clear Index buttons in prefs
And add punctuation.ellipsis localized string
2013-11-19 15:52:30 -05:00
Simon Kornblith
481e00bfc8 Update citeproc-js 2013-11-19 02:13:54 -05:00
Dan Stillman
322755e745 Update repotime, submodules, and versions 2013-11-19 01:39:52 -05:00
Dan Stillman
7014b875c7 Protect all contractions in full-text content, not just first
nsISemanticUnitScanner doesn't seem to be able to deal with single
quotes, so protect those. (There might be other characters it doesn't
handle, but this is ancient code, so it stays as is for now.)
2013-11-19 01:37:55 -05:00
Dan Stillman
e2e6dc71e2 Don't try to index files longer than 250K chars in the background
This should fix the intermittent freezes people were seeing. We'll
process these large files when we replace nsISemanticUnitScanner.
2013-11-19 01:35:14 -05:00
Dan Stillman
5744161a52 Add osfile.jsm import, and remove debugging lines 2013-11-18 19:56:08 -05:00
Dan Stillman
bb03b80816 Update locales from Transifex
(ignoring some strings that were reverted due to small changes in the
English versions, which hopefully will be redone on Transifex before the
next pull)
2013-11-18 03:04:50 -05:00
Dan Stillman
98b7ab78d5 Additional debugging for putContentsAsync freeze 2013-11-17 23:34:19 -05:00
Dan Stillman
f2034eec29 Use OS.File.writeAtomic() for Zotero.File.putContentsAsync() if UTF-8
It might be possible to write non-UTF-8 data by passing another charset
to TextEncoder, but I haven't tried it.

Firefox 19+ only, and for now, at least, only if data is passed as
string rather than input stream
2013-11-17 19:08:09 -05:00
Dan Stillman
deffa464e3 Don't try more than 5 times to fill 500K limit
This will hopefully fix freezes during full-text syncs.
2013-11-17 14:04:26 -05:00
Dan Stillman
cb41a2ecd6 Don't use single DB transaction when rebuilding full-text index
This might slow down the rebuild, but it will hopefully also prevent
excessive memory usage and crashing.
2013-11-16 15:54:31 -05:00
Dan Stillman
fb03c87305 Disable full-text purging, for now
This isn't technically any slower than before, but if people were using
multiple computers, they might not have had their entire full-text index
on a single computer before full-text syncing.
2013-11-16 15:45:23 -05:00
Dan Stillman
4aa3e77aeb Yet more relations purging error debugging 2013-11-14 02:31:30 -05:00
Dan Stillman
a688d9ab00 Debugging for relations purging error that won't get cut off 2013-11-13 16:49:32 -05:00
Dan Stillman
8490871108 Blacklist Firefox charset warning 2013-11-13 12:57:49 -05:00
Dan Stillman
6a0c623698 Debugging and temporary fix for relations purging issue 2013-11-13 12:08:44 -05:00
Dan Stillman
2ca0d159b5 Update locales 2013-11-13 00:40:22 -05:00
Dan Stillman
f4abe14b59 Merge branch 'db-update' into 4.0 2013-11-13 00:32:48 -05:00
Dan Stillman
8e52dcca42 Tweak the text a bit in #410 2013-11-13 00:31:45 -05:00
Dan Stillman
de62d3865e Update locales from Transifex 2013-11-12 00:39:09 -05:00
Dan Stillman
0d7e14bb6b Update versions, submodules, and repotime 2013-11-12 00:33:19 -05:00
Dan Stillman
86afad9b35 Fix "columns itemID, tagID are not unique" sync error
I'm not sure what's causing this, but it will quite likely go away in
4.1 regardless.
2013-11-11 23:03:06 -05:00
Dan Stillman
55d7ac1351 Merge pull request #421 from aurimasv/import-charset-pref
Move import.charset preference element to the correct prefpane
2013-11-11 10:10:13 -08:00
aurimasv
e21fa7290d Move import.charset preference element to the correct prefpane 2013-11-11 04:37:46 -06:00
Dan Stillman
7ae36f968f Change "files" to "items" in library-access-denied message 2013-11-10 15:31:23 -05:00
Dan Stillman
6d73bd3256 Merge pull request #412 from aurimasv/webdav-sec
Check network errors against SEC error set as well
2013-11-08 00:38:31 -08:00
aurimasv
d9ab469bc8 Check network errors against SEC error set as well 2013-11-08 02:33:20 -06:00
Dan Stillman
f7fe9ab64b Better fix for merging items in unsynced libraries
Addresses a79872436
2013-11-08 03:09:34 -05:00
Dan Stillman
a798724366 Fix error merging items with relations in unsynced library 2013-11-08 03:08:03 -05:00
Dan Stillman
76da3e67fb Tweak the tree row height a bit on Windows 2013-11-08 02:57:09 -05:00
Dan Stillman
5079158772 Remove unnecessary 'return;' 2013-11-08 02:14:52 -05:00
Dan Stillman
ee37b0ff65 Merge pull request #411 from aurimasv/webdav-ssl
Do not show SSL error message for other network errors
2013-11-07 23:14:03 -08:00