Dan Stillman
78b5bc6727
Update locales from Transifex
2013-07-22 02:31:30 -04:00
Simon Kornblith
67ad94c45f
Update to citeproc-js 1.0.471
2013-07-22 01:46:20 -04:00
Dan Stillman
c722ec888f
Remove hopefully unnecessary hack dating to Firefox 3.1
2013-07-17 18:56:33 -04:00
Dan Stillman
46cce5a2bd
Extra debugging for file sync hangs on slow connections
2013-07-17 18:55:43 -04:00
Dan Stillman
8c6a9bfbf0
Add some debugging for a memory usage issue during file syncing
2013-07-17 18:03:00 -04:00
Dan Stillman
375f0774c0
Merge pull request #327 from aurimasv/dup-right-click
...
Allow right-click on multiple items in duplicate view. Closes #53
2013-07-16 00:32:15 -07:00
Dan Stillman
230ec24251
Remove some unnecessary CSS
2013-07-16 03:22:24 -04:00
Dan Stillman
51cbf0c820
Fix spacing around Reindex Item icon on Windows
2013-07-16 03:19:44 -04:00
Dan Stillman
75d5d9f88d
Add Publication Title to title/creator/year search
...
As requested by Simon
2013-07-15 19:55:18 -04:00
Simon Kornblith
b55f226900
Fix handling of multiple missing/corrupt citations when "No" is clicked
2013-07-13 16:04:24 -04:00
Simon Kornblith
d2166540c6
Zip as much as possible in ZSA without repacking omni.ja, part 1
2013-07-12 01:42:09 -04:00
Dan Stillman
59550167a7
Move TinyMCE into resource://
...
This fixes CSS in popups and probably other things.
2013-07-12 00:40:03 -04:00
Dan Stillman
7ec7039a9a
Update repotime, submodules, renamed styles, and versions
2013-07-11 23:21:28 -04:00
Dan Stillman
e6756ea113
Update locales from Transifex
2013-07-11 23:16:48 -04:00
Simon Kornblith
61fba0a788
Update to citeproc-js 1.0.470
2013-07-11 23:00:14 -04:00
Dan Stillman
1d09c85822
Avoid unnecessary scrollbar in sync error panel, and remove height hack
2013-07-08 21:09:39 -04:00
Dan Stillman
10e9c5e0b7
Restore ZFS quota warning
...
Possible that this hasn't shown since 4.0?
2013-07-08 20:13:47 -04:00
Dan Stillman
16327ddad6
Don't update Date Modified when syncing related items
...
This caused all items with related items to lose their Date Modified
when synced down.
2013-07-08 18:18:16 -04:00
Simon Kornblith
0a8990947c
Update to citeproc-js 1.0.469
2013-07-03 00:40:35 -04:00
Dan Stillman
8e8bc15071
Closes #291 , Default to last-used item type when creating item via
...
keyboard
2013-07-02 16:48:53 -04:00
Dan Stillman
30a0bbcca2
Fix conflict with Cmd-Shift-A, and probably other third-party shortcuts
...
The Zotero shortcut keys, and their event.preventDefault(), were bound
to keydown, so shortcuts bound to keypress were still be called. This
moves most of the shortcut handling code into the keypress handler.
Fixes #344
2013-07-02 02:43:53 -04:00
Dan Stillman
4d9191ccd8
Fixes #343 , Add Item by Identifier textbox is truncated on second open
2013-06-30 01:46:50 -04:00
Dan Stillman
d1e2ea57a5
Maybe fix note overwriting with embedded images in notes
...
But given that I can't really reproduce it, this is more of a guess.
2013-06-28 15:26:23 -04:00
Simon Kornblith
85682dbb19
Remove field codes for empty bibliographies when refreshing
...
This happens when a user inserts a bibliography in the middle of a
paragraph and doesn't fully delete it.
Also remove unused code for deleting citations from the document.
2013-06-27 22:02:35 -04:00
Simon Kornblith
44bb1ad976
Ignore empty bibliography fields
2013-06-27 22:02:31 -04:00
Simon Kornblith
28355c5ab5
Fix error message when inserting a field in an unsupported location
2013-06-27 22:01:31 -04:00
Simon Kornblith
23fc663378
Call Preferences "Preferences" in menu on all platforms
...
Fixes #340
2013-06-19 12:52:04 -04:00
Simon Kornblith
f0c2507b89
Anchor regex
2013-06-19 02:23:26 -04:00
Simon Kornblith
6f9ffe13e3
Don't change capitalization of unabbeviated words in journal titles
...
Fixes https://forums.zotero.org/discussion/30352/
2013-06-18 23:51:46 -04:00
Simon Kornblith
9f0e5c02a6
Ignore files in translators directory not ending in .js
...
Fixes #339
2013-06-13 14:18:59 -04:00
Simon Kornblith
f02132f5a9
Merge pull request #330 from aurimasv/4.0
...
Prefer higher priority translators even if they don't target the top frame
2013-06-06 16:50:34 -07:00
Simon Kornblith
6ef9a061f3
Only use Components.utils.methodjit when supported
...
As Boris Zbarsky pointed out in
https://bugzilla.mozilla.org/show_bug.cgi?id=878679 ,
the setTimeout() hack doesn't help in Firefox 23 and later. For now we
use the useMethodjit hack when available, so that performance won't
regress for Firefox 23, and cross our fingers that
https://bugzilla.mozilla.org/show_bug.cgi?id=776798 is fixed for
Firefox 24.
2013-06-06 19:38:48 -04:00
Simon Kornblith
1cee348f51
Revert "Remove use of Components.utils.methodjit"
...
This reverts commit 53a4d987b6
.
2013-06-06 19:31:09 -04:00
Simon Kornblith
53a4d987b6
Remove use of Components.utils.methodjit
...
It appears that this flag can no longer be set in new-ish Nightlies.
This patch switches code that used nsITimers with the
Components.utils.methodjit hack to use setTimeout on the hidden DOM
window instead, so that we still get the JIT. (See
https://bugzilla.mozilla.org/show_bug.cgi?id=776798 )
This might also mean that callbacks from doGet etc. no longer get JITed.
At some point, we should test this with the JIT profiler.
2013-06-05 18:12:52 -04:00
Simon Kornblith
5bfee27ab9
Remove unused getService for VersionComparatorService
2013-06-05 17:55:49 -04:00
Simon Kornblith
5bde5a106b
Use Services.obs instead of getService for observer service
2013-06-05 17:54:53 -04:00
Aurimas Vinckevicius
7fb3c13bc2
Prefer higher priority translators even if they don't target the top frame.
...
E.g. pdf+html pages for HighWire 2.0 (http://www.plantcell.org/content/25/4/1213.full.pdf+html?with-ds=yes )
2013-05-27 18:43:42 -05:00
Simon Kornblith
a7984916ad
Protect against pasting HTML-formatted text into QuickFormat dialog
2013-05-24 00:39:19 -04:00
Simon Kornblith
c0f3e3c425
Fix box scrolling
2013-05-23 23:27:29 -04:00
Simon Kornblith
a439456f05
Don't let bubbles get highlighted
2013-05-23 23:27:29 -04:00
Simon Kornblith
3eff3605f7
Fix deletion and keyboard navigation
2013-05-23 23:27:29 -04:00
Simon Kornblith
9c63379544
Fix drag and drop in QuickFormat dialog.
...
Unfortunately, this required switching from using labels to spans,
which means there is more work to make the delete key work properly
again.
2013-05-23 23:27:29 -04:00
aurimasv
fdb35e2e92
Allow right-click on multiple items in duplicate view. Closes #53
2013-05-20 04:39:19 -05:00
Dan Stillman
311e6f2fa7
Merge pull request #326 from aurimasv/dup-click
...
Tweak duplicate view click behavior
2013-05-19 20:21:49 -07:00
Aurimas Vinckevicius
4546089672
Tweak duplicate view click behavior
...
Allow ctrl/alt/shift click actions in duplicate view. (closes #324 )
Allow right-click behavior on single item/attachment selection. (closes #325 )
2013-05-19 22:20:28 -05:00
Dan Stillman
d3ec8fcdcf
Ignore standalone-no-display class when building attachment button menu
2013-05-19 00:14:13 -04:00
Dan Stillman
c5291bdd7d
Remove unnecessary ids after bfb30eed59
2013-05-19 00:10:49 -04:00
Dan Stillman
903fc0e001
Fix incorrect id in bfb30eed59
2013-05-19 00:10:08 -04:00
aurimasv
bfb30eed59
Don't display snapshot or link from page context menus for Standalone
2013-05-18 23:01:24 -05:00
Dan Stillman
8a935c8443
Add Indonesian locale
2013-05-17 14:43:26 -04:00
Dan Stillman
bbf066f55a
Merge pull request #313 from adam3smith/adduris
...
add more item handler protocols to add by URI
2013-05-14 00:06:42 -07:00
Dan Stillman
9c82a7a661
Reset Quick Copy list when resetting translators, too
2013-05-10 14:51:41 -04:00
Dan Stillman
5fbd569fdf
Fix refreshing of Quick Copy list when resetting styles
2013-05-10 14:49:29 -04:00
Dan Stillman
6b61795d96
Fix NS_ERROR_FILE_IS_LOCKED if no files to add to upload zip
2013-05-10 01:14:22 -04:00
Simon Kornblith
4616a51874
Fix #318 , x-www-form-urlencoded, not x-www-urlencoded
2013-05-08 13:23:33 -04:00
Simon Kornblith
2a33ede284
Fix innocuous error installing a style
...
Installing a style could throw an error if the preferences were open and the
styles pane had not yet been selected, although the style would be
successfully installed.
See https://forums.zotero.org/discussion/29250/importing-a-new-style/
2013-05-02 14:48:53 -04:00
Dan Stillman
01fd28b99f
Update versions
2013-05-02 03:10:38 -04:00
Dan Stillman
59ef9c89da
Fix DB upgrade error after running <=Zotero 4.0.6 on 4.0.7 DB
2013-05-02 03:06:37 -04:00
Dan Stillman
5268907798
Add new string to other locales
2013-05-02 01:28:04 -04:00
Dan Stillman
5a2a485a79
Add a WebDAV verification step to ensure 404 on missing files
2013-05-02 01:19:26 -04:00
Dan Stillman
9b5327ecd7
Fix spacing of sync auto-change log message
2013-05-01 23:58:48 -04:00
Dan Stillman
877b8741ae
Fix some tag bugs from efda43f6e3
(and maybe also earlier?)
2013-05-01 23:58:33 -04:00
Dan Stillman
efda43f6e3
Speed up saving of tags with many items
...
Fixes #289 , RIS import gets progressively slower
2013-05-01 19:16:15 -04:00
Dan Stillman
9e8559b4be
Speed up flattenArguments()
2013-05-01 18:29:44 -04:00
Dan Stillman
35f1720b08
Add missing index to creatorData table
...
It's amazing what you can find when you actually have a profiler.
2013-05-01 18:00:28 -04:00
Dan Stillman
8bed3d44ed
Remove another extra function wrapper
2013-05-01 16:19:01 -04:00
Dan Stillman
1e47d12436
Remove extra function wrapper
2013-05-01 16:17:32 -04:00
Dan Stillman
75293a475d
Use nicer alerts for error reporting error messages
2013-05-01 15:33:15 -04:00
Dan Stillman
2a7a604f28
Use foreground requests for manual sync and error reporting
...
Adds a 'foreground' flag to Zotero.HTTP.promise() options
Also, can now pass successCodes: false to always resolve the promise and never
throw UnexpectedStatusException
2013-05-01 15:30:39 -04:00
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
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
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
0b6312722d
Update versions
2013-04-22 01:44:02 -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
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
Simon Kornblith
91b2de3ec6
Add missing string from d81e801685
2013-04-17 02:01:30 -04:00
Simon Kornblith
d81e801685
Add about:memory button to Standalone
2013-04-17 02:00:07 -04:00
Simon Kornblith
d154d7ed7f
Remove -moz-border-radius (supplanted by border-radius)
2013-04-17 01:42:11 -04:00
Simon Kornblith
f42ded42c6
Fix https://forums.zotero.org/discussion/28810/
2013-04-17 01:11:44 -04:00
Simon Kornblith
ba103721fe
Fix typo in deca49c433
2013-04-16 23:33:18 -04:00
Simon Kornblith
deca49c433
Avoid stack overflow in tests
2013-04-16 23:31:23 -04:00
Aurimas Vinckevicius
a0bc26713e
Revise translator binding rules for clarity & to favor top frame translators
2013-04-16 19:06:55 -05:00
Simon Kornblith
e893472331
Register as handler for BibTeX mime typese
2013-04-16 12:46:13 -04:00
Dan Stillman
b82a28e708
Extra file sync debugging
2013-04-16 01:10:42 -04:00
Dan Stillman
c185ffc728
Fix purgeDeletedStorageFiles() (from 5442e2e8
)
2013-04-16 00:16:51 -04:00
Simon Kornblith
ff5353fec1
Update to citeproc-js 1.0.450
2013-04-16 00:11:19 -04:00
Dan Stillman
9b1b4803dc
Update submodules and repotime
2013-04-15 22:26:36 -04:00
Dan Stillman
5442e2e8a8
Fix ZFS purging when switching to WebDAV
2013-04-15 22:21:54 -04:00
Simon Kornblith
bafad27311
IE doesn't support normalize
2013-04-15 15:15:01 -04:00
Simon Kornblith
80b10184b0
Fix race condition when running bookmarklet from Standalone server
2013-04-15 14:52:51 -04:00
Simon Kornblith
5a664ec3d9
Revert XDR timeout changes from 11316d952b
2013-04-15 14:52:27 -04:00
Simon Kornblith
771cfc9ca6
Make bookmarklet origin configurable for tests
2013-04-15 13:43:07 -04:00
Simon Kornblith
11316d952b
Don't forget to call fail() after debug messages from IE XDR
2013-04-15 13:25:40 -04:00
Simon Kornblith
210e71b8a5
Tweak timeouts and add additional debugging info for IE Standalone XDR
2013-04-15 13:19:10 -04:00
Dan Stillman
00bb7a168b
Update versions
2013-04-15 02:58:25 -04:00
Dan Stillman
4f6fbf364d
Use renamed-styles.json and flag from repo to replace renamed styles
...
Currently updating renamed-styles.json is a manual process.
2013-04-15 02:56:32 -04:00
Dan Stillman
6952f46986
Fix Attachment Content regexp search
2013-04-14 21:20:24 -04:00
Simon Kornblith
61864e903f
Fix comment
2013-04-14 19:55:30 -04:00
Dan Stillman
f7c3a29a57
Display note title even if first line is just an opening HTML tag
...
https://forums.zotero.org/discussion/28857/#Item_14
2013-04-14 19:14:46 -04:00
Simon Kornblith
d0d0f14edb
Disable context menu icons on OS X
2013-04-14 01:47:05 -04:00
Simon Kornblith
fa27e3f3de
Merge commit '915a579' into 4.0
2013-04-14 01:23:06 -04:00
Dan Stillman
82c4c90f5c
Fix spacing in sync auto-merge dialogs
2013-04-13 03:44:09 -04:00
Dan Stillman
41449871a1
Fix "Source item for keyed source doesn't exist" sync error
...
This could occur in 4.0 if a standalone attachment was modified locally
and remotely was changed into a child attachment.
2013-04-13 03:41:32 -04:00
Aurimas Vinckevicius
915a579bc4
Fix icon for "Remove Item from Collection"
2013-04-13 02:07:01 -05:00
Aurimas Vinckevicius
33fedc306c
Add icons to context menus
2013-04-13 01:53:02 -05:00
Dan Stillman
b01ae24f18
Don't deselect tags unnecessarily
...
https://forums.zotero.org/discussion/28842/
Related to 4e1fbf974
2013-04-12 15:57:02 -04:00
Dan Stillman
ef3a5755f8
Colored tags weren't shown in collections with no other tags
2013-04-12 14:40:41 -04:00
rsnape
8ea86d77d3
Update itembox.xml
...
Corrects a tiny bug where pressing minus button to remove an unsaved creator row creates incorrect behaviour in the plus button in preceding row. Done in preparation for a fix I have locally for issue #251 . Please advise if I have your preferred workflow wrong.
2013-04-11 13:16:33 -04:00
Dan Stillman
7be0680537
Update localized string manually, since Transifex is currently broken
2013-04-11 05:07:02 -04:00
Dan Stillman
9c74957bc0
Tweak alignment of sync error icon on Windows
2013-04-11 04:30:51 -04:00
Dan Stillman
2236bab130
Better handle some file sync file access errors
...
- Catch additional errors on Windows (too-long paths, maybe aliases)
- Fix "Show File" button (which didn't show in some cases, at least on
Windows)
- Clarify error message
2013-04-11 04:28:38 -04:00
Dan Stillman
e716a5367a
Some file sync errors weren't being caught and displayed
2013-04-11 04:27:18 -04:00
Simon Kornblith
d08ad1143d
Make sure translator test errors appear both in log and in console
2013-04-09 20:37:24 -04:00
Dan Stillman
cc7360dc0c
Fix for <div> appearing in some notes instead of <p>
...
https://forums.zotero.org/discussion/28781/
Not totally sure how/when this was happening. To fix existing notes,
switch the Format to Paragraph manually.
2013-04-09 04:14:48 -04:00
Simon Kornblith
f3bb679ebe
Merge branch 'resolve-url' into 4.0
2013-04-08 18:36:25 -04:00
Simon Kornblith
7f7fe90ad5
Allow attachments to be saved using relative URLs
...
See https://groups.google.com/forum/?fromgroups=#!topic/zotero-dev/bBB8lyXy9V8
and zotero/translators#569
2013-04-08 18:33:25 -04:00
Dan Stillman
10351968f9
Update versions
2013-04-08 00:51:11 -04:00
Simon Kornblith
abe266d74b
Recognize application/xhtml+xml as snapshot
2013-04-07 21:16:15 -04:00
Dan Stillman
a966c30b38
Update locales from Transifex
2013-04-07 19:44:57 -04:00
Simon Kornblith
142a48b132
Use ZOTERO_CONFIG for bookmarklet URL
2013-04-07 18:48:18 -04:00
Simon Kornblith
6778d06ae7
Don't break in IE
2013-04-07 17:47:57 -04:00
Simon Kornblith
6ba65270ce
Revert "When mimeType is not supplied, try to fetch it from server and redo checks for automatic snapshots."
...
This reverts commit 6dd94f0a3a
.
2013-04-07 17:47:57 -04:00
Simon Kornblith
0850ca94b1
Revert "Don't set unknown mimeTypes to "application/octet-stream""
...
This reverts commit f64d087926
.
2013-04-07 17:47:57 -04:00
Dan Stillman
79bfca03ae
Fix character encoding (including window title) of Timeline view
...
http://forums.zotero.org/discussion/28688/
2013-04-07 16:48:40 -04:00
Dan Stillman
5878dac132
Clarify error message for login manager access failure in Firefox
...
Fixes #288 , Inappropriate error message when master password times out
2013-04-07 16:28:40 -04:00
Simon Kornblith
0d6dc81112
Fix https://forums.zotero.org/discussion/28711
2013-04-05 10:48:58 -04:00
Simon Kornblith
5e4c464cf5
Fix lookup of <8 digit PMIDs
2013-04-04 22:24:12 -04:00
Dan Stillman
339225f2fb
Fix possible tag-related sync bug
2013-04-04 12:02:27 -04:00
Simon Kornblith
e51434416a
Fix abbreviation of single word titles
...
https://forums.zotero.org/discussion/28687/
2013-04-04 11:11:54 -04:00
Dan Stillman
193b10a1f5
Fix newline symbols
2013-04-04 01:17:32 -04:00
Dan Stillman
f1a3a4e65b
Update locales from Transifex
2013-04-04 01:16:26 -04:00
Dan Stillman
2391c99d66
Update version
2013-04-04 01:03:36 -04:00
Dan Stillman
483da7c42e
Fix never-ending auto-sync
2013-04-04 01:01:07 -04:00
Simon Kornblith
c9b73f2bd3
Fix reference test pane
2013-04-03 21:11:44 -04:00
Simon Kornblith
d332c84606
Fix automatic title abbreviation on new installs
2013-04-03 17:32:32 -04:00
Simon Kornblith
0add49e66e
Update to citeproc-js 1.0.446
2013-04-03 17:22:54 -04:00
Simon Kornblith
b63430e180
Add link to bug on document.evaluate deprecation warnings
2013-04-03 16:35:30 -04:00
Simon Kornblith
5fec7bdb1c
Avoid deprecation warning
2013-04-03 16:30:49 -04:00
Simon Kornblith
a334ac9f60
Properly install styles with BOMs from disk
2013-04-03 14:37:32 -04:00
Simon Kornblith
2b8c28ccaf
Support file:/// URIs in Zotero.HTTP.promise()
2013-04-03 14:37:02 -04:00
Simon Kornblith
5e237a2723
done(), not end()
2013-04-03 13:32:18 -04:00
Simon Kornblith
5218c132f5
Fix formatting for copy-pasted bibliographies
2013-04-03 13:28:56 -04:00
Simon Kornblith
15f26e44da
Recognize container-title-short as journal abbreviation
2013-04-03 12:58:29 -04:00
Simon Kornblith
20e94b493e
Remove remaining ENS style code
2013-04-03 12:05:13 -04:00
Simon Kornblith
67e82f0762
Add end() to end of Q chain
2013-04-03 12:05:13 -04:00
Dan Stillman
e3e94f91ea
Fix a few more potential file sync errors
2013-04-03 05:50:33 -04:00
Dan Stillman
2bdc6fd9f4
fr-FR: Redo "Champs & Marqueurs" change
2013-04-03 05:35:36 -04:00
Dan Stillman
729080db4d
Fix "this._deferred is null" WebDAV sync error
...
This occurred if an attachment had only files beginning with periods.
2013-04-03 05:22:33 -04:00
Dan Stillman
f9663dc64d
Fix ⏎ characters in es-ES, fr-FR, and ja-JP
2013-04-03 04:38:14 -04:00
Dan Stillman
b541f00e99
Update locales from Transifex
2013-04-03 04:34:59 -04:00
Dan Stillman
12ed941e76
Don't double-encode extended characters in relative paths
...
Fixes #287
2013-04-03 04:23:45 -04:00
Dan Stillman
fdb31b17bc
Ignore file.fileSize error when calculating upload file size
2013-04-02 17:59:11 -04:00
Lennart Fricke
1aae8945f6
Fix Bug not being able to set attachmentBasePath.
2013-04-02 14:27:56 -04:00
Dan Stillman
b8cdb71628
Update version
2013-04-02 14:26:37 -04:00
Dan Stillman
d6d5288e6e
First z.org release is 4.0.1. (AMO will be 4.0.)
2013-04-02 01:48:07 -04:00
Dan Stillman
80b81cc2b3
Update versions
2013-04-02 01:47:10 -04:00
Simon Kornblith
fe8fd369d7
Update citeproc-js
2013-04-02 01:30:50 -04:00
Simon Kornblith
01970830ce
Update citeproc-js
2013-04-01 18:42:14 -04:00
Dan Stillman
48aca90c80
fr-FR: "Tous champs & Marqueurs" -> "Champs & Marqueurs"
2013-04-01 15:36:19 -04:00
Simon Kornblith
0259ef9310
Exclude underscores from search strings
...
Fixes http://forums.zotero.org/discussion/28585/
2013-04-01 14:29:07 -04:00
Simon Kornblith
f008342dd8
Show a better error when citeproc-js requests an non-existent item
2013-04-01 13:19:29 -04:00
Dan Stillman
925e352143
Fix ⏎ characters in localized strings
2013-04-01 02:16:10 -04:00
Dan Stillman
d2fccbe4e9
Merge locales from Transifex
2013-04-01 02:14:41 -04:00
Dan Stillman
83dc2e0ad7
Don't fail when $NUMBER is missing in tag color chooser localized string
2013-04-01 02:10:39 -04:00
Dan Stillman
4ad8320dc0
Increase width of quicksearch bar slightly
2013-04-01 01:43:59 -04:00
Dan Stillman
2b12c68858
fr-FR: "Raccourcis clavier"->""Raccourcis" in prefs
2013-04-01 01:34:55 -04:00
Simon Kornblith
3d6cc7a630
Fix translator error reports on Fx >20
...
Additional changes needed to abide by per-window private browsing settings
2013-04-01 01:09:49 -04:00
Simon Kornblith
e2a68c747c
Don't break when add citation box is closed directly instead of cancelled
2013-03-31 22:07:30 -04:00
Simon Kornblith
c7c0c4c5dc
Fix classic view editor
2013-03-31 20:25:13 -04:00
Simon Kornblith
65d0be2db6
Update to citeproc-js 1.0.443
2013-03-31 17:43:28 -04:00
Dan Stillman
75e51ea577
Fix alignment and display of disableByDomain checkbox/textbox
2013-03-29 16:07:34 -04:00
Dan Stillman
2c134c1c25
Shrink font size of quick copy prefpane instructions
2013-03-29 04:28:44 -04:00
Dan Stillman
239247aa81
Make the prefwindow somewhat less of a disaster on fr-FR
...
And probably other locales.
(Also, there must be a better way to deal with bottom elements getting
cut off than these extra <separator/> elements that result in extra
space when they're not needed.)
2013-03-29 04:28:35 -04:00
Dan Stillman
ded84f7666
Fix bizarre newline symbols in fr-FR and ja-JP
2013-03-29 03:35:01 -04:00
Dan Stillman
6ea5afe8e3
Update locales from Transifex
2013-03-29 03:33:05 -04:00
Simon Kornblith
7ce93e66d9
Fix installing styles from the preferences
2013-03-28 16:55:14 -04:00
aurimasv
6a0351c940
Don't break when stringifying item fields. Broken by 2f8f18c957
2013-03-28 00:55:05 -05:00
Simon Kornblith
bfc4f3eb78
Update citeproc-js to 1.0.442
2013-03-28 00:37:52 -04:00
Dan Stillman
51476823d7
Merge locales from Transifex
2013-03-28 00:34:28 -04:00
Simon Kornblith
4c7d096545
Use typographic quotes
2013-03-28 00:24:38 -04:00
Simon Kornblith
6efe6c5bd6
Move "Automatically abbreviate journal titles" setting to document preferences
...
The setting is disabled by default for existing documents, but enabled by
default for new documents.
2013-03-27 23:53:38 -04:00
Simon Kornblith
a6fae941ad
Disable one window warning for annotations
2013-03-27 23:47:34 -04:00
Simon Kornblith
6d518c0cec
Clarify failed validation error message
...
See http://forums.zotero.org/discussion/28540?page=1#Item_4
2013-03-27 11:29:53 -04:00
Dan Stillman
ae87fb9848
Version update
2013-03-26 16:32:23 -04:00
Dan Stillman
014aee1485
Fix nsIRequest test for non-client environments
2013-03-26 16:15:31 -04:00
Dan Stillman
0b82266882
Don't show nsIChannel passwords in debug output
2013-03-26 16:00:55 -04:00
Dan Stillman
760c327a1b
Update locales from Transifex
2013-03-26 13:35:27 -04:00
Dan Stillman
5a005cd5ae
Fix WebDAV file sync conflict
2013-03-26 02:50:01 -04:00
Dan Stillman
48544729e7
Replace some uses of Q.allResolved() with Q.all() in storage sync
2013-03-26 02:50:01 -04:00
Dan Stillman
acb45593e7
Fix WebDAV file purging
...
Deleted files are purged at the end of every sync, without any delay.
(If there's a conflict, it will be resolved before the file is deleted.)
Orphaned files are deleted once every 10 days, since it's a potentially
expensive operation for the server.
2013-03-26 02:50:00 -04:00
Simon Kornblith
107dc081b9
Fix duplicate requests to provider sites
...
When the user follows a link from a proxy-by-port EZProxy to another
proxy-by-port EZProxy, we make an additional request to the target site
with no cookies. This yields a redirect to the EZProxy login page. We
use the query parameters to determine the true domain of the site.
Previously, we allowed the redirect to continue, and used the same code we
use to detect EZProxy logins to map the proxied domain to the true domain.
This caused duplicate requests to providers and apparently infinite loops.
We now read the query parameter directly from the redirect to the EZProxy
login page and then cancel the request so that the redirect doesn't get
followed.
The changeset also improves logging of proxy-related information.
See https://forums.zotero.org/discussion/28505/ for further discussion.
2013-03-25 21:45:40 -04:00
Dan Stillman
e61350a3b2
Fix positioning of sync error popup
2013-03-22 17:56:53 -04:00
Dan Stillman
b54b77a107
Clarify WebDAV error messages
2013-03-22 17:47:35 -04:00
Dan Stillman
ffcabcd44e
Make text in sync error panel selectable
2013-03-22 17:23:19 -04:00
Dan Stillman
4a334fa7f7
Fix file sync error continuing to show after error had cleared
2013-03-22 17:22:10 -04:00
Dan Stillman
b208097a8e
options.requestObserver callback for Zotero.HTTP.promise()
...
The callback receives the XMLHttpRequest object after the open() call.
2013-03-22 17:04:38 -04:00
Dan Stillman
059906a11e
Fix wide prefpane if PDF tools aren't installed
2013-03-22 13:45:57 -04:00
Dan Stillman
c7c8cbbeae
Mention Search pane in PDF tools message
2013-03-22 13:34:01 -04:00
Dan Stillman
f9c9253e88
Fix Proxies prefpane
2013-03-22 03:20:33 -04:00
Dan Stillman
15caec9a32
Remove hardcoded prefwindow width
2013-03-22 03:13:32 -04:00
Dan Stillman
553173f7ba
Fix cutoff of bottom of Search prefpane on Linux
2013-03-22 03:08:47 -04:00
Dan Stillman
f5d33a3a0c
Update submodules and versions
2013-03-22 02:34:12 -04:00
Dan Stillman
fcce6327ae
Merge pull request #277 from aurimasv/escape-path
...
Escape special characters in file paths when attaching files
2013-03-21 01:26:12 -07:00
aurimasv
6524e17ded
Show error message when attaching file fails.
2013-03-21 03:24:47 -05:00
aurimasv
82448c4a4d
Escape special characters in file paths when attaching files
2013-03-21 03:24:47 -05:00
Dan Stillman
cf9dd6d73f
Merge locales from Transifex
2013-03-20 22:53:59 -04:00
Dan Stillman
c227fdb3f7
Fix bottom padding of Sync->Reset pane
2013-03-20 22:41:15 -04:00
Dan Stillman
e85790541b
Remove per-library sync error indicators, at least for now
...
The hidden column caused collection names to be cut off unnecessarily,
and the extra icons were overly distracting. For now, just show the
first error that comes in in the main sync error panel, along with the
library name.
2013-03-20 22:41:15 -04:00
Simon Kornblith
0782344c41
Revert "Don't truncate text in Add Item by Identifier box at less than the full box width"
...
This reverts commit 5f2f120a98
.
This seems to be a bug in Nightly, not Zotero.
2013-03-20 16:54:52 -04:00
Dan Stillman
7cdc420304
Remove obsolete code
2013-03-20 16:45:09 -04:00
Dan Stillman
1f1c6d16ff
Quit rather than restart when changing data directory
2013-03-20 16:45:09 -04:00
Simon Kornblith
5f2f120a98
Don't truncate text in Add Item by Identifier box at less than the full box width
2013-03-20 16:33:05 -04:00
Dan Stillman
7c3d6a54e8
Adjust bottom padding of prefpanes
2013-03-20 13:06:53 -04:00
Dan Stillman
ddd7cdf431
Use nicer alert for PDF tools download error
2013-03-20 05:10:48 -04:00
Dan Stillman
49a97d104b
Fix strict mode error downloading PDF tools
2013-03-20 05:10:48 -04:00
Dan Stillman
a417c9ef59
Fix window height bug in Zotero preferences, and reorganize code
...
Prefpanes are now in separate overlays, which fixes the age-old resizing
bug when switching between panes (at least on OS X) that varied
depending on the initial pane. Code has also been moved into
pane-specific files and objects, with strict mode enabled. When calling
code from another pane (e.g., for a UI update in another pane), first
check whether the Zotero_Preferences.[Pane] object exists--if it doesn't
then nothing needs to be called.
This change breaks the word integration plugin pref overlays, which
hopefully can be rewritten to work with either overlay format.
There is a good chance that this breaks some other things in the
preferences too.
Fixes #243
2013-03-20 05:10:38 -04:00
Dan Stillman
41e2f3008e
Sort empty titles last when title isn't primary sort
...
When sorting by Title, empty titles get sorted to the top of the items
list for visibility, but when sorting by another column and using the
title as a secondary/tertiary sort, empty titles should get sorted last
so that new empty items go to the end of the list rather than the
middle.
This is a little weird, and the alternative would be to just always sort
empty titles last even when sorting by Title, but this preserves the
current behavior for Title sorting. (Before f0f6772b01
titles weren't
used for secondary sorting at all, so there's no precedent for
title-sorting behavior when sorting by another column.)
Addresses #275
2013-03-19 15:59:40 -04:00
Dan Stillman
d69dc3d5a7
If Year column is visible and not Date, don't sort by full date
...
Otherwise use full date, even if Date column is hidden
Addresses #275
2013-03-19 15:42:39 -04:00
Dan Stillman
1647f28135
Fix error selecting separator above Group Libraries
...
This is super annoying, but I can't seem to stop the separator row from
being selected in seltype="single" mode (where isSelectable() isn't
called). Until we have a better solution, at least clear the items list
and avoid an error.
2013-03-19 06:53:48 -04:00
Dan Stillman
78618ff88b
Fix collections-containing-an-item highlighting in Fx22+
2013-03-19 06:16:11 -04:00
Dan Stillman
b1f80a3615
Use dateAdded rather than dateModified for final fallback sort
...
Addresses #275
2013-03-19 06:00:11 -04:00
Dan Stillman
f0f6772b01
Sort by title after creator and date, if not primary sort
...
Addresses #275
2013-03-19 05:16:31 -04:00
Dan Stillman
8bd7536c2c
Remove reference to missing .dtd file
2013-03-19 02:25:58 -04:00
Dan Stillman
4717e3497f
Fix missing "Deleted" in CR window
...
Addresses #273
2013-03-19 02:25:25 -04:00
Dan Stillman
cf54a5da34
Fix code style
...
Refs #274
2013-03-19 02:22:33 -04:00
Aurimas Vinckevicius
cc93a0c7b8
Unbreak adding new items. Broken by dbf6bc0ee1
.
2013-03-19 01:05:53 -05:00
Simon Kornblith
67bccfc9fe
Only show annotation toolbar on pages that already have annotations
2013-03-18 20:37:27 -04:00
Dan Stillman
22f9fc04a8
Fix update marking for uploaded file versions that exist remotely
...
If a file version existed on the server, the uploaded attachment wasn't
marked as updated until the next sync.
2013-03-18 20:28:16 -04:00
Dan Stillman
47299c9e85
Remove debug line and update error message
2013-03-18 20:27:54 -04:00
Dan Stillman
8e1b8022ad
Download locally existing remotely modified files in on-demand mode
...
If a file doesn't exist locally it won't be downloaded until opened, but
if a file does exist locally and has been modified remotely the latest
version will be downloaded at sync time regardless of the file sync
mode. (If a locally existing file has been updated remotely, just
opening it won't currently download the latest version. You have to
sync. This may change in the future.)
2013-03-18 20:21:48 -04:00
Dan Stillman
0853dbc070
Fix problem with items list scrollbar size between views
...
Caused by 2cd45be191
, though not sure why it's happening.
2013-03-17 16:12:46 -04:00
Simon Kornblith
c457139573
Merge pull request #270 from aurimasv/RDFimport
...
Fix RDF import for large notes
2013-03-17 13:05:14 -07:00
Dan Stillman
9796e60617
Don't update item when tabbing through empty Date field
2013-03-17 03:49:31 -04:00
aurimasv
f3bda1643d
Normalize DOM nodes after parsing
2013-03-17 02:43:41 -05:00
aurimasv
d974c78cef
Add $rdf.log.error for rdflib.js
2013-03-17 02:43:41 -05:00
aurimasv
dbf6bc0ee1
Don't attempt to mark changes when creating new item.
2013-03-17 02:43:41 -05:00
Dan Stillman
147f325e40
Merge locales from Transifex
2013-03-17 03:34:42 -04:00
Dan Stillman
36eae6ad00
Update child attachment order when renaming attachment
...
Also show "1" next to child attachments with embedded notes
2013-03-17 03:14:29 -04:00
Dan Stillman
9bddef21b7
Fix collection row selection issue on Windows
2013-03-17 02:41:43 -04:00
Dan Stillman
5a863d97c8
Context-menu string cleanup
...
- Remove all "Selected" from "Selected Item", because that's how a context menu works
- Change "Remove Selected Item" to "Remove Item from Collection" (fixes #122 )
- Change "Delete Selected Item from Library" to "Move Item to Trash")
- Change "Remove" on Duplicate/Unfiled Items to "Hide" (fixes #122 )
- Change "Create Parent Item from Selected Item" to "Create Parent Item"
2013-03-17 01:22:47 -04:00
Simon Kornblith
3c6728e30f
Remove unnecessary version checking code
2013-03-16 23:51:34 -04:00
Dan Stillman
022ee4481b
Add "Delete Collection and Items..." context-menu option
...
Also update collection/search deletion dialogs with better button text and no more "[JavaScript Application]"
2013-03-16 22:55:50 -04:00
Dan Stillman
5f283a6b7f
Fix tag selector glitch after removing last tag, again
...
Better fix than 4e1fbf9747
2013-03-16 16:25:58 -04:00
Dan Stillman
edfdbdec1c
Keep tag selector label heights consistent
...
Use a transparent border so that the height is the same with or without
zotero-clicky being set
2013-03-16 16:25:58 -04:00
Dan Stillman
0f87772b97
Fix broken checkboxes in tag selector context menu (OS X only?)
...
On OS X, the checked state of <menuitem type="checkbox"/> still doesn't
work right if set before the menu is opened. To get around this, the
state is now set manually in onpopupshown(). There's an annoying delay
before the UI update, but this is better than nothing.
2013-03-16 16:25:58 -04:00
Dan Stillman
fec159f969
Fix error on tag change without a selected item (from 1e59c5ab7
)
2013-03-16 16:25:58 -04:00
Dan Stillman
6dbe1d1e19
Show colored tags in tag selector in all views
...
Always show colored tags at the top of the tag selector, regardless of
whether they're in the current scope. If not, they're shown with reduced
opacity (as an equivalent to the gray style for out-of-scope tags in
Display All Tags mode). As a corollary, colored tags are now shown even
if they have no associated items and will remain until they're
explicitly deleted.
Also:
- Don't show outline on out-of-scope tags in "Display All Tags" mode
2013-03-16 16:25:51 -04:00
Dan Stillman
2b7d7ebfbf
Don't rely on object property order to sort tags
...
It works, but in theory it's not guaranteed in JS.
2013-03-15 17:44:07 -04:00
Dan Stillman
2b4f2e3a0f
Merge branch '3.0' into 4.0
2013-03-15 17:01:44 -04:00
Dan Stillman
d726ce41fa
Fixes incorrect post-edit scrolling
...
Fixes #268 , broken in 2cd45be191
Post-edit scrolling can probably be smarter, but this fixes the brokenness.
2013-03-15 16:56:55 -04:00
Dan Stillman
a1197883bb
Disable key navigation on 1-6 keys if any tag colors are assigned
...
Previously any unused numbers were still available for key navigation, but I
think it's too easy hit the wrong key that way, and getting moved to another
part of the items list is annoying.
2013-03-15 14:09:31 -04:00
Dan Stillman
3faa8949ef
Fix glitch entering tag with whitespace
...
If an existing colored tag was added to an item with whitespace around it, the
tag didn't immediately show up with a color.
2013-03-15 04:39:57 -04:00
Dan Stillman
1e59c5ab7e
More tags box fixes (follow-up to f932f312eb
)
...
Use the Notifier for all tags box updates to ensure that it always updates.
Also fix the tag count and some other things.
Post-tab focus still isn't 100% correct in all situations, but it's real close.
2013-03-15 04:13:14 -04:00
Dan Stillman
4e1fbf9747
Fix clearing selected tag when removed from last item in view
...
I somehow broke this in d2f028d797
, though
I'm not sure how.
2013-03-14 20:06:34 -04:00
Dan Stillman
d60b0221db
Fix error trying to toggle colored tag with no tag
...
(This should be fixed so that the setting is always removed, though.)
2013-03-14 19:03:20 -04:00
Dan Stillman
e20bd35756
Don't clear other tag colors when rename colored tag
2013-03-14 19:00:52 -04:00
Dan Stillman
0f85b07aad
3.1 is now 4.0
2013-03-14 01:27:54 -04:00
Dan Stillman
0191601f9f
Fix items tree styling (context rows, attachment pies) in Fx22+
2013-03-13 00:00:27 -04:00
Dan Stillman
d5bfed1c96
Missed changed from 0cd3a34e14
2013-03-12 21:10:11 -04:00
Dan Stillman
487ce7183b
Make tag color chooser window wider
...
Follow-up to d2f028d79
2013-03-12 20:54:53 -04:00
Dan Stillman
0cd3a34e14
Properly handle sync errors thrown from Zotero.HTTP.promise()
2013-03-12 19:58:31 -04:00
Dan Stillman
fe3ad1883d
Use API version 2
2013-03-12 19:57:47 -04:00