Dan Stillman
33b40829b8
Add locale switcher to Advanced prefs
...
Closes https://www.zotero.org/trac/ticket/1733 (!)
2017-07-21 07:51:57 -04:00
Dan Stillman
2addf6b27b
Get Zotero.locale from loaded locale, not from pref
...
It was previously set from general.useragent.locale, but that's not used
by default, meaning that date interpretation and some other things might
have been incorrect for everyone who didn't set a locale explicitly and
toggle matchOS...
2017-07-21 07:51:57 -04:00
Adomas Venčkauskas
40c84ecbc0
Report automaticSnapshots pref to connector.
...
Part of zotero/zotero-connectors#151
2017-07-21 11:36:36 +03:00
Dan Stillman
39a8e8fb0c
Send Content-Type: text/xml header for WebDAV PROPFIND
2017-07-21 04:05:12 -04:00
Dan Stillman
a7be5444ea
Fix tag selector search (broken in 6de7fdedf
)
2017-07-20 16:51:50 -04:00
Dan Stillman
6de7fdedf9
Take tag selector out of the tab order, for now
...
This restores the 4.0 behavior. It's not ideal, but neither is having to
tab through thousands of items to get to the items pane (unless you
toggle the tag selector closed first). Hopefully we can come up with a
better solution to make the tags accessible.
2017-07-20 03:46:56 -04:00
Dan Stillman
cbc05baf02
Fix error on connector ping before site-specific Quick Copy load
2017-07-20 03:46:56 -04:00
Adomas Venčkauskas
ece3491e21
Connector server: respond with collection editability status
2017-07-19 11:40:55 +03:00
Dan Stillman
a158e8a71b
Alter Quick Copy preferences text
...
Closes #1022
Could try to explain site-specific settings, but it's somewhat
complicated (requires the Zotero Connector, uses the last active tab
regardless of drag destination), so maybe enough to explain on the
linked documentation page.
2017-07-19 03:57:39 -04:00
Dan Stillman
b3ce918dfb
Sort export translators in Quick Copy settings drop-downs
2017-07-19 03:39:51 -04:00
Dan Stillman
6d265f448f
Restore site-specific Quick Copy settings
...
Using the last URL passed by a connector
Closes https://github.com/zotero/zotero-connectors/issues/145
2017-07-19 03:39:27 -04:00
Dan Stillman
2928752d19
Clear attachment data change marker when loading primary data
...
Fixes a regression from ef7da3486a
in which attachment data still shows
as changed after a save.
2017-07-18 18:50:28 -04:00
Dan Stillman
cff84a71ed
Simplify an array check
2017-07-18 17:32:38 -04:00
Dan Stillman
df353bdc05
Optimistic updates for item tags box
...
Add/update/remove rows immediately and save after. If there's an error
during saving, reload the pane.
2017-07-18 17:32:38 -04:00
Dan Stillman
ef7da3486a
New state-handling approach for item tag changes
...
If this works out I think we'll want to use this approach for
all data layer changes.
Previously, an unsaved change on an object would update its state
immediately, which was fine for synchronous code but breaks down if a
save involves multiple asynchronous calls, because modifying state after
the relevant data has been saved to the DB but before the `_changed`
object has been cleared would mean that new changes would be lost. Now,
changes are written to _changedData, and a get for the data first checks
_changedData before checking the state property (e.g., _tags) directly.
The changedData property is cleared as it's written, and once the object
is saved, the reload updates the state property with the new data.
2017-07-18 17:31:40 -04:00
Dan Stillman
09a859d7e3
Allow an array of strings in Zotero.Item::setTags()
...
New tags will all be of type 0 (manual)
2017-07-18 17:21:36 -04:00
Dan Stillman
3715c8da1b
Fix use of multiple search translators
...
It was stopping after the first translator, which meant that some ISBN
lookups failed if the ISBN wasn't in Library of Congress.
Regression from 6da0845f4b
, which hopefully didn't have a good reason
for this
2017-07-18 07:13:03 -04:00
Dan Stillman
5268060802
Move Tools -> Options to Edit -> Preferences on Windows
...
Closes #1167
2017-07-18 04:14:17 -04:00
Dan Stillman
76030d2c4a
Fix tag selector font on Windows
2017-07-18 04:14:17 -04:00
Adomas Venčkauskas
6d7dcc44bc
Add connector endpoint to retrieve proxies. Closes #1265
2017-07-18 10:25:54 +03:00
Dan Stillman
78dd1e132e
Fix calculation of last WebDAV orphaned-file-purge time
...
Purging was happening after every download.
2017-07-17 16:53:11 -04:00
Dan Stillman
ba514b80d9
Add "Remove All Tags…" option to item tags box context menu
2017-07-17 16:34:52 -04:00
Dan Stillman
918ae23418
Increase default window size to 1000x600
...
(Plus a little, I think)
2017-07-17 16:34:52 -04:00
Adomas Venčkauskas
f829e4d6cc
Fix an integration.js typo. Closes #1263
2017-07-14 13:40:44 +03:00
Dan Stillman
0f965b0de6
Fix collection context-menu options broken in 02774ac6f
...
E.g., selective sync
2017-07-14 01:06:57 -04:00
Dan Stillman
57881ff587
Fix restoring after closing from full-screen mode on macOS
2017-07-13 18:27:06 -04:00
Dan Stillman
ea513edf73
Prevent infinite loop if search points to itself
2017-07-13 18:07:58 -04:00
Dan Stillman
0c49350cdf
Fix startup error from empty 'collection' search condition
2017-07-13 16:10:33 -04:00
Dan Stillman
df24917c2f
Fix #1260 , Windows Application (menu) key doesn't work in items pane
2017-07-13 03:26:28 -04:00
Dan Stillman
2d8132b6c8
Log URL for snapshot save timeouts
2017-07-13 02:33:28 -04:00
Dan Stillman
1247896d70
Fix crash from tag name collision with Object properties in tag selector
2017-07-13 01:19:15 -04:00
Dan Stillman
4ffbf6fca5
Use DOM_VK_* codes in itemTreeView keypress listener
2017-07-13 01:19:15 -04:00
Dan Stillman
dd5d3a8668
Fix blank window when opening ZotFile's zotero://open-pdf links
...
Fixes https://github.com/jlegewie/zotfile/issues/272
2017-07-12 18:25:49 -04:00
Dan Stillman
752e25e282
Fix id-not-an-integer warning from Show in Library
2017-07-12 15:44:49 -04:00
Dan Stillman
02774ac6fe
Fix collection-menu selection via right-click->drag->release or keyboard
2017-07-12 15:43:20 -04:00
Dan Stillman
aad12db2ff
Fix 'too many terms in compound SELECT' sync error
2017-07-12 04:21:52 -04:00
Dan Stillman
8f2508e167
Fix alignment of "What's New" in About window
2017-07-12 03:38:14 -04:00
Dan Stillman
fd2ba1d5b7
Fix file sync error on Windows from attachment paths with invalid characters
...
We filter these now, but upgraded databases with bad paths could still
exist and cause errors.
2017-07-12 02:58:25 -04:00
Dan Stillman
a62161dfc1
Add unused Zotero.Prefs.resetBranch()
...
I wrote this for account unlinking (since nsIPrefBranch.resetBranch()
isn't implemented) but decided we didn't want to delete all prefs for
that.
2017-07-12 01:20:55 -04:00
Dan Stillman
a7021f80ca
Remove unused skipDefaultData property
2017-07-12 01:20:18 -04:00
Dan Stillman
efae7073f2
Avoid log message about json.collections being unknown after e683b2be0
2017-07-12 01:19:53 -04:00
Dan Stillman
d1d62184be
Fix potential error loading support links
...
From ZOTERO_CONFIG not being defined. I can't reproduce this, but I've
seen it in the logs.
2017-07-12 01:18:41 -04:00
Dan Stillman
62fa86af82
Fix error on account unlink, and delete more files
...
Delete everything from data directory except for PDF tools
2017-07-12 01:16:25 -04:00
Dan Stillman
d2421825c9
Fix #1256 , Report saving is broken
2017-07-11 06:14:21 -04:00
Dan Stillman
a982bd056d
Zotero.Item::_collections is always an array
2017-07-11 04:46:09 -04:00
Dan Stillman
18f3c2cfb0
Fix "destFile is not defined" file sync error
2017-07-11 04:37:23 -04:00
Dan Stillman
375b4341a6
Remove debug lines
2017-07-11 04:29:36 -04:00
Dan Stillman
701a46ba84
Batch object deletions during syncing
2017-07-11 04:28:40 -04:00
Dan Stillman
fd7c2a6f6f
Try harder to prevent sync-in-progress messages
2017-07-11 02:42:00 -04:00
Dan Stillman
c701f34aaa
Fix array length check in Item.setType()
2017-07-11 02:41:41 -04:00