Commit graph

5843 commits

Author SHA1 Message Date
Dan Stillman
e09295ee76 Fix compatibility with authenticated proxies
It's not clear when this became an issue, but our usual background HTTP
requests (set that way to avoid triggering auth prompts when saving from
websites) weren't triggering proxy authentication dialogs, which was breaking
most network activity in Standalone. To fix this, we now make a foreground
request at startup to a file on S3 and resolve the Zotero.proxyAuthComplete
promise when we're done. Any network requests that want to wait for proxy
authentication can wait for that promise.

This behavior can be disabled via the triggerProxyAuthentication hidden pref.
2013-05-01 06:29:31 -04:00
Simon Kornblith
527e0ebf4e Update to citeproc-js 1.0.460 2013-05-01 01:49:27 -04:00
Dan Stillman
73b90eb1df Update versions 2013-05-01 01:16:41 -04:00
Dan Stillman
06007e85a8 Update locales from Transifex 2013-05-01 01:16:10 -04:00
Dan Stillman
e442279210 Update submodules and repotime 2013-05-01 01:11:34 -04:00
Dan Stillman
c78f8b8e77 Return false for group.filesEditable if group.editable is false
It's possible for filesEditable in the DB to be set to 1 even if
editable is 0. We generally check editable first anyway, but let's be
safe.

Also make editable/filesEditable return booleans instead of numbers
2013-04-30 18:13:40 -04:00
Dan Stillman
b09daebbde Don't try to upload files if no file editing access for library
This should fix https://forums.zotero.org/discussion/29149/ and probably
some other things.
2013-04-30 17:48:01 -04:00
Dan Stillman
cb7070cc4e Fix translator/style updating on startup 2013-04-30 05:33:37 -04:00
Aurimas Vinckevicius
bd395df90a Add default values for translator hidden prefs. 2013-04-27 19:23:34 -05:00
Dan Stillman
0c11af4361 Update renamed-styles.json 2013-04-27 04:52:18 -04:00
Dan Stillman
94af661a07 Update CSL locales 2013-04-27 04:46:25 -04:00
Dan Stillman
110f5bc963 Update locales from Transifex 2013-04-27 04:45:46 -04:00
Dan Stillman
882ee50f0a Update bundled styles 2013-04-27 04:44:09 -04:00
adam3smith
e68889af45 put this into the right function 2013-04-25 16:08:59 -06:00
Dan Stillman
d205aac0e1 Fix group deleting 2013-04-24 16:35:48 -04:00
adam3smith
e901cc1bf3 add Zotero protocoll 2013-04-23 18:20:45 -06:00
adam3smith
4a4490923b add protocol description 2013-04-23 14:21:43 -06:00
Dan Stillman
d128e31467 Fix "Delete reconciliation unimplemented for searches"
Just ignore the remote deletion
2013-04-23 15:52:35 -04:00
adam3smith
f47b878f7b add more item handler protocols to add by URI 2013-04-23 13:26:41 -06:00
Simon Kornblith
557140a022 Update citeproc-js to 1.0.455 2013-04-23 14:38:51 -04:00
Simon Kornblith
c112685338 Fix #312, Google Books translator fails in Fx Nightly > 4/2
Also remove remnants of old DOM bindings
2013-04-23 00:17:35 -04:00
Dan Stillman
f8515693aa Fix error when no results from regexp search 2013-04-22 20:08:01 -04:00
Dan Stillman
44ea578fd5 Fix updating of item type icon when changing types (broken by 6b7fe80) 2013-04-22 20:07:02 -04:00
Dan Stillman
e3193526fa Fix for WebDAV server returning 300 if lastsync but no lastsync.txt
https://forums.zotero.org/discussion/29040/
2013-04-22 15:53:54 -04:00
Dan Stillman
7b24dbd75c Fix "Display character encoding on export" checkbox in prefs 2013-04-22 15:03:18 -04:00
Dan Stillman
6b3c5fcc33 Update renamed-styles.json and translator submodule 2013-04-22 01:52:00 -04:00
Dan Stillman
0b6312722d Update versions 2013-04-22 01:44:02 -04:00
Dan Stillman
d17c34e093 Update submodules and repotime 2013-04-22 01:43:22 -04:00
Dan Stillman
6b7fe8053a Fix UI update when adding/removing colored tags in search modes
https://forums.zotero.org/discussion/28827/404-colored-tag-search-results/
2013-04-21 03:06:35 -04:00
Simon Kornblith
ce2828773b Fix saving PDFs open in pdf.js 2013-04-20 21:48:53 -04:00
Dan Stillman
65c7a5988b Limit autocomplete for tags and fields to current library
Not done for advanced search

Should be easy for saved search, but not yet done
2013-04-19 15:10:05 -04:00
Dan Stillman
8469ce821b Merge pull request #305 from rsnape/issue-251-fix
Fix issue #251
2013-04-19 03:22:05 -07:00
J Richard Snape
1e45aed753 Fix issue #251
Two changes needed to cope with shift-enter being pressed both
with and without changes to current creator row

Signed-off-by: J Richard Snape <rsnape@dmu.ac.uk>
2013-04-19 10:53:46 +01:00
Dan Stillman
5c5b9af1d7 Increase max note title length to 120
https://forums.zotero.org/discussion/28945
2013-04-19 01:40:25 -04:00
Dan Stillman
41c9a4a433 Fix relative path support to sync properly
Dual boot and VM setups worked, but only absolute paths were synced,
because syncing uses attachmentPath, which was resolving relative paths
itself (#51). attachmentPath now returns what's in the database (as it
did originally), and getFile() does the resolving instead.

This means that anything relying on attachmentPath directly needs to be
aware that it might get a placeholder-prefixed relative path.
2013-04-19 01:33:23 -04:00
Simon Kornblith
c128c53704 Merge pull request #307 from fbennett/4.0-rtfscan-fix
Use rebuildProcessorState() in RTF Scan. Fixes AGM SIG-CHI Proceedings.
2013-04-18 19:15:50 -07:00
Frank Bennett
95d8348a77 Remove updateItems() 2013-04-19 11:13:49 +09:00
Frank Bennett
855d0b7fba Use rebuildProcessorState() in RTF Scan. Fixes AGM SIG-CHI Proceedings (numeric style, bib sorted by author), and possibly others. 2013-04-19 10:55:11 +09:00
Simon Kornblith
127cb259c1 Remove old comment 2013-04-18 15:45:24 -04:00
Simon Kornblith
4486ba4495 Remove "%" from list of unencoded entities
@aurimasv's patch from https://github.com/zotero/zotero/pull/304#issuecomment-16562271
2013-04-18 15:44:40 -04:00
Simon Kornblith
dbd36a935f Merge pull request #304 from simonster/file-fixes
Try to parse paths as paths in addition to as URIs
2013-04-18 09:45:40 -07:00
Simon Kornblith
ecb8cb140d Don't fire explicit styleChanged event on load
Otherwise, the bottom of the document preferences window can be
cut off the first time it is displayed. A styleChanged event is still
fired after setting the selection.
2013-04-18 03:30:33 -04:00
Simon Kornblith
6fe1c1cbba Handle pathological case with backslashes in path 2013-04-18 02:56:50 -04:00
Simon Kornblith
61300e4dd7 Try to parse paths as paths in addition to URIs 2013-04-18 02:32:24 -04:00
Simon Kornblith
b8ce002df3 Update to citeproc-js 1.0.451 2013-04-17 18:02:14 -04:00
Dan Stillman
7677eccb9f Addresses #104, Shorten long filenames on import
This fixes the problem for attached files. I assume this is still a
problem for importSnapshotFromFile(), which uses copyTo() on a
directory. For that we'd need a copyDirectoryToUnique() function that
shortened the names of all files in the directory.
2013-04-17 16:13:23 -04:00
Dan Stillman
500076ea63 Errors on some file sync requests could hang sync progress 2013-04-17 04:12:11 -04:00
Dan Stillman
084f671b18 Fix downloads on broken WebDAV servers
cloudme.com and maybe box.com appear to have stopped sending a
Last-Modified header for files, causing Zotero to skip the file download
step. Instead of relying on that, we now save a random id to the
lastsync file and just use that as an ETag.

Also migrate lastsync to lastsync.txt, which might be supported better
on some other broken WebDAV servers.
2013-04-17 03:07:20 -04:00
Simon Kornblith
a6e79d6bd3 Merge pull request #300 from aurimasv/transBinding
Revise translator preference rules for clarity & to favor top frame translators
2013-04-16 23:45:07 -07:00
Simon Kornblith
de2dec921f Fix https://forums.zotero.org/discussion/28922/ 2013-04-17 02:35:44 -04:00