Dan Stillman
f44a56848e
Fix "Open Documentation" button in WebDAV verification cert error dialog
2013-10-19 05:56:03 -04:00
Dan Stillman
52b95bfc03
Read 200 bytes instead of 128 in Zotero.File.getSample()
...
This allows Zotero to detect PDFs with more gibberish at the beginning.
https://forums.zotero.org/discussion/32550
2013-10-18 16:41:04 -04:00
Dan Stillman
1089856622
Closes #397 , Support authenticated PAC setups in Standalone
...
Trigger a proxy authentication prompt at startup if a PAC file is
installed and one of a few randomly chosen big sites requires a proxy.
This also improves general proxy detection by not making a request
to S3 unless it would actually be proxied.
2013-10-17 20:03:06 -04:00
aurimasv
3ad2b4924d
Fix cleanISSN
2013-10-14 23:51:08 -05:00
Dan Stillman
db43af33ac
Fix "req is not defined" error message (which indicates a WebDAV error)
2013-10-12 02:54:28 -04:00
Dan Stillman
e457e5bdfe
Show patents by issue date in timeline view
2013-10-06 23:57:40 -04:00
Dan Stillman
df9439f9a2
Don't fail during file upload if file doesn't yet exist
2013-10-06 23:48:49 -04:00
Simon Kornblith
94b50ca697
Abbreviate word pairs (e.g. New York -> N. Y.)
2013-09-19 23:33:07 -04:00
Aurimas Vinckevicius
84b6d8c5ee
If abbreviation is same as key, it's still valid
...
See http://forums.zotero.org/discussion/32000/overriding-automatic-abbreviations/
2013-09-19 14:06:44 -05:00
Aurimas Vinckevicius
b680bcf375
Abbreviate plural forms of words same as singular
2013-09-18 00:47:28 -05:00
Aurimas Vinckevicius
7f7d78603a
Use the longest abbreviation possible.
...
E.g. Fictional journal "Journal of Annunc Materials" (obviously annunc is not a real word)
Use "annunc-":"annunc." substitution instead of "annu-":"annu." resulting in "J. Annunc Mater." instead of "J. Annu. Mater."
2013-09-17 22:57:28 -05:00
Aurimas Vinckevicius
a55f9b624e
Don't drop last word when abbreviating journal names
2013-09-17 21:52:10 -05:00
Aurimas Vinckevicius
6393c3bfe2
Look for abbreviations for longest possible match first
2013-09-17 21:41:34 -05:00
Dan Stillman
f510bd9d64
Debugging for failed file downloads
2013-09-09 16:47:15 -04:00
Dan Stillman
6c0be3426b
Use async storage mtime checking in Fx24 on Windows
...
https://bugzilla.mozilla.org/show_bug.cgi?id=899436 was backported to 24
2013-09-05 16:36:15 -04:00
Dan Stillman
840790926b
Fix merging of tags during sync conflict
...
If an item was added to a tag on one computer and another item was added
to the tag on a different computer, and then they both synced one of the
tags could be removed on the second computer to sync.
2013-09-04 17:53:11 -04:00
Dan Stillman
6eb354bf36
Fix cursor feedback for file drag-in on Linux, where we can set it
2013-09-03 04:49:02 -04:00
Dan Stillman
82769f0b9c
Allow moving (instead of copying) files into Zotero
...
Cmd-drag on OS X, Shift on Windows and Linux
As requested in
https://forums.zotero.org/discussion/31717/delete-source-file-on-import/
Unfortunately due to https://bugzilla.mozilla.org/show_bug.cgi?id=911918
(and another issue on Windows) we can't show proper cursor feedback for
external file drags.
2013-09-03 04:25:35 -04:00
Dan Stillman
4d4d074ad9
Fix saving advanced search with no name
...
Addresses #379
2013-08-31 04:58:16 -04:00
Dan Stillman
94233108ae
Fix saving advanced search
...
Fixes #379
2013-08-31 04:47:39 -04:00
Simon Kornblith
2f275a187c
Fix path for translators/styles directories in symlinked dev Standalone build
2013-08-29 11:46:30 -04:00
Simon Kornblith
a5bc68bc17
Fix updating translators and styles from unpacked build
2013-08-28 22:06:28 -04:00
Dan Stillman
5a6e8cb65b
Fix secondary function name
2013-08-27 17:13:50 -04:00
Simon Kornblith
ba32544c87
Don't call done handler multiple times on import
...
Broken by ff0f649a4d
2013-08-27 16:01:40 -04:00
Dan Stillman
ce62e7f29b
Fix "Invalid sync state '4'" error
2013-08-27 14:26:29 -04:00
Dan Stillman
1be8cf743e
Merge pull request #375 from gracile-fr/4.0
...
4.0 - Localization
2013-08-18 00:54:52 -07:00
Simon Kornblith
0c431e07ef
Fix unnecessary reloading of session data
...
See https://forums.zotero.org/discussion/30740?page=1#Item_16
2013-08-17 17:43:39 -04:00
Simon Kornblith
ba0c33545f
More typos
2013-08-16 17:56:10 -04:00
Simon Kornblith
70f04c3d8b
Fix typos (thanks @aurimasv)
2013-08-16 17:53:36 -04:00
Dan Stillman
8e2de92ca8
Fix the Quick Copy site editor window
2013-08-16 16:28:23 -04:00
gracile-fr
f3137099bc
Localize et al. in the middle pane
...
(Heromyth's PR #358 , #360 , #361 )
2013-08-15 23:15:02 +02:00
gracile-fr
723e8a4e30
Localize Ctrl/Cmd-Shift in Prefs
2013-08-15 22:53:56 +02:00
gracile-fr
355b1fbc57
Localize Ctrl/Cmd-Shift in Prefs
2013-08-15 22:45:04 +02:00
Simon Kornblith
ff0f649a4d
Call done handler after saving
...
Broken by dde09c54a2
2013-08-15 15:50:44 -04:00
Simon Kornblith
e35f254fa1
Use API v2 in connector, part 1
2013-08-15 15:43:24 -04:00
Simon Kornblith
71e7fde327
Return multiple items from Zotero.Utilities.itemToServerJSON()
2013-08-15 15:43:22 -04:00
Simon Kornblith
52a544850a
Rename Zotero.ID.getKey() to Zotero.Utilites.generateObjectKey()
...
(To make it accessible to the connector)
2013-08-15 14:32:15 -04:00
Simon Kornblith
2e4f75a9f0
Rename Zotero.ID.getKey() to Zotero.Utilites.generateObjectKey()
...
(To make it accessible to the connector)
2013-08-15 14:31:03 -04:00
Simon Kornblith
14192059ce
Fix innocuous "itemProgress is not defined" error
2013-08-15 13:59:43 -04:00
Simon Kornblith
dde09c54a2
Fix handling of errors when saving items to data store asynchronously
2013-08-15 13:47:03 -04:00
Dan Stillman
318e5b2dd6
Enable debug line for file sync
2013-08-14 10:51:05 -04:00
Dan Stillman
2dc8fc6912
Update versions
2013-08-09 11:50:10 -04:00
Simon Kornblith
a723c85999
Return a promise from Zotero.shutdown()
2013-08-09 11:11:01 -04:00
Simon Kornblith
8a8093028d
Check if callback exists before calling
2013-08-09 11:00:55 -04:00
Simon Kornblith
2069b5b396
Fix switching in and out of connector mode
...
Broken by 9d3f55be51
2013-08-09 10:55:56 -04:00
Dan Stillman
8f0dac0eb4
Update version and styles
2013-08-08 15:24:47 -04:00
Dan Stillman
a954d94027
Add missing semicolon
2013-08-08 15:21:11 -04:00
Dan Stillman
d5fcde0612
Disable OS.File for file syncs on Windows <Fx25
...
stat.lastModificationDate returns the last access date
instead of the modification date due to bug
https://bugzilla.mozilla.org/show_bug.cgi?id=899436
2013-08-08 15:19:37 -04:00
Dan Stillman
84c5a1bffa
Tweak error message for OS.File errors during file sync
2013-08-08 14:32:54 -04:00
Dan Stillman
c29720743a
Fix file sync error in Gecko 23+ if local file path is too long
2013-08-08 14:31:53 -04:00
Dan Stillman
610017e4df
Fix file sync error on Windows
2013-08-08 14:15:41 -04:00
Dan Stillman
4af73f4a52
Fix file sync error in Fx23+ for empty attachment paths
...
And fix reporting of non-OS.File file sync errors
2013-08-08 13:41:34 -04:00
Dan Stillman
8bdac7015b
Focus title on shortcut key new item even if item type isn't changed
2013-08-07 20:28:17 -04:00
Simon Kornblith
e132787774
Move root check to before DB initialization
2013-08-07 18:32:40 -04:00
Simon Kornblith
0957f8de02
Merge branch 'zap-cache' into 4.0
2013-08-07 18:00:40 -04:00
Simon Kornblith
517ca6f342
Force quit after zapping cache files to prevent destroying prefs
2013-08-07 18:00:25 -04:00
Dan Stillman
2bd0019261
'let' is valid in XBL, just not in event attributes, I guess
2013-08-07 17:09:41 -04:00
Dan Stillman
a3375d540b
Fix comment that broke 7572eebcd
2013-08-07 17:06:48 -04:00
Dan Stillman
7572eebcd1
Offer autocomplete of same creator for different creator types
...
If a creator exists on an item but is a different creator type than the
one being entered, show creator in autocomplete list.
2013-08-07 15:25:15 -04:00
Dan Stillman
39e92bacb3
Focus title field when creating new item via menu or shortcut key
2013-08-07 13:17:25 -04:00
Dan Stillman
9d3f55be51
Use async DB for autocomplete
...
This was probably hanging previously because I was passing a JS function for
onProgress, which apparently isn't allowed.
2013-08-07 11:01:12 -04:00
Dan Stillman
08296b06a5
Include libraryID in file sync debug message
2013-08-06 16:03:03 -04:00
Dan Stillman
b20a7a572c
Disable some debug logging for file syncing
2013-08-06 16:02:49 -04:00
Dan Stillman
8b918b21ad
Capitalize Q library in About pane
2013-08-06 15:49:45 -04:00
Dan Stillman
795211fb40
Focus Close button by default in About pane
2013-08-06 15:49:26 -04:00
Dan Stillman
5b09b1e2be
Update submodules, repotime, and versions
2013-08-06 15:23:04 -04:00
Dan Stillman
97f662fe67
Fix note resetting in external note window during file syncing
...
https://forums.zotero.org/discussion/29008
2013-08-05 20:47:50 -04:00
Dan Stillman
675fde2f1a
Use async I/O for attachment (blue dot) column file check in Fx23+
2013-08-05 16:31:23 -04:00
Dan Stillman
f341bb1ae0
Fix error exporting linked HTML file
...
https://forums.zotero.org/discussion/29392/#Item_14
2013-08-04 23:30:28 -04:00
Dan Stillman
1267c4d659
Closes #77 , Create linked files with drag and drop
...
The cursor effect doesn't work reliably anywhere other than on Linux,
but external files can now be linked instead of stored with
Cmd-Option-drag on OS X and Ctrl-Shift-drag on Win/Linux.
2013-08-03 18:08:09 -04:00
Dan Stillman
84d9963e14
File sync optimizations
2013-08-02 01:13:27 -04:00
Dan Stillman
e177e3e718
Optimize local file modification checks during file syncs
...
- On manual sync or the first auto-sync of a session, check all files
- During other auto-syncs, check only files previously modified or
opened externally via Zotero (including Show File) within the last 3
hours
- Every 3 hours, do a full check of all files even if it's an auto-sync
- Spin event loop during synchronous file checks to avoid hanging the UI
- Zotero.Sync.Runner.sync() now takes an options object (e.g.,
options.background)
Todo:
- Provide feedback on last full check in sync icon tooltip?
- Auto-sync on app focus, if this speeds up syncs enough?
2013-08-02 00:45:26 -04:00
Dan Stillman
dc8998c5bc
Add Firefox-wide shortcut (Ctrl/Cmd-Shift-S) for "Save to Zotero"
...
Also: Don't show Firefox-specific shortcut keys in Standalone prefs
2013-07-31 23:19:19 -04:00
Dan Stillman
f0c5c50bd4
Blacklist Firefox HealthReport errors
2013-07-30 15:48:53 -04:00
Dan Stillman
ec47a31000
Fix warning in Nightly about yield without a value
2013-07-29 02:26:09 -04:00
Dan Stillman
2736e7e6d1
Use Ctrl-Shift for all shortcuts on Windows/Linux instead of Ctrl-Alt
...
https://forums.zotero.org/discussion/25927/#Item_5
2013-07-28 20:18:24 -04:00
Simon Kornblith
670f272b32
Alter message on auto-update
...
Avoid ambiguously implying that Linux users should be running Zotero as
root, and tell them to fix the permissions on the Zotero executable instead.
See https://forums.zotero.org/discussion/31020/
2013-07-27 01:46:13 -04:00
Dan Stillman
b059b2abde
Fix shortcut keys on Windows and Linux
2013-07-26 15:35:06 -04:00
Simon Kornblith
1055187c8b
If Zotero is run as root, clobber the cache directory and show a warning
2013-07-25 00:47:38 -04:00
Dan Stillman
185c5a3a4d
Perform sync file modification checks off the main thread in Firefox 23+
...
OS.File doesn't seem to work reliably before Firefox 23, so older
versions will continue to do mod time checking on the main thread.
Zotero.Sync.Storage.checkForUpdatedFiles() now returns a promise.
2013-07-22 20:41:37 -04:00
Dan Stillman
b9c2ea507d
Add mode name to credentials-cached debug message
2013-07-22 20:39:20 -04:00
Dan Stillman
f85d25d1d1
Remove unused argument in Z.Sync.Storage.Mode.prototype.cacheCredentials
2013-07-22 20:37:39 -04:00
Dan Stillman
40f0de75d8
Separate out Zotero.Item._updateAttachmentStates()
2013-07-22 20:35:21 -04:00
Dan Stillman
4b280090fc
Better debugging info for library errors
2013-07-22 20:31:52 -04:00
Dan Stillman
5806c53825
Evaluate test.js as JS 1.8 in Firefox 17
2013-07-22 20:30:45 -04:00
Dan Stillman
73b0bc67c5
Add Zotero.Item.libraryKey, to return libraryID and key ("0/ABCD2345")
2013-07-22 20:29:32 -04:00
Dan Stillman
828a2917c4
Add Zotero.platformVersion and Zotero.platformMajorVersion
...
platformVersion is a string that needs to be checked with
nsIVersionComparator. platformMajorVersion is an integer that can be
checked with > and < when the major Gecko version is enough.
2013-07-22 20:27:53 -04:00
Dan Stillman
e459020b66
Add asynchronous Zotero.Utilities.Internal.md5Async()
...
Also switch ZU.Internal.md5() to use the same binary->hex conversion
code, since I can no longer reproduce the problem I was having with it
before.
2013-07-22 20:27:40 -04:00
Dan Stillman
b075d91f9c
Revert "Remove debug line"
...
This reverts commit a2249b9bee
.
2013-07-22 03:16:40 -04:00
Dan Stillman
500c55bdd3
Revert "Revert "Extra debugging for file sync hangs on slow connections""
...
This reverts commit 4907489707
.
2013-07-22 03:16:19 -04:00
Dan Stillman
a2249b9bee
Remove debug line
2013-07-22 02:36:46 -04:00
Dan Stillman
4907489707
Revert "Extra debugging for file sync hangs on slow connections"
...
This reverts commit 46cce5a2bd
.
Conflicts:
chrome/content/zotero/xpcom/storage/streamListener.js
2013-07-22 02:35:53 -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
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