Dan Stillman
8933e3b586
Item.toJSON() should output unset mtime/md5 as null, not undefined
2015-12-22 01:49:45 -05:00
Dan Stillman
84a6ea18f6
Merge pull request #887 from adomasven/fix/hide-password-in-debug-output
...
Hide password in debug output of key request
2015-12-20 11:45:36 -05:00
Adomas Venčkauskas
8e0e86e59c
Closes #882
...
Hide password in debug output of key request
2015-12-20 13:46:58 +00:00
Dan Stillman
1d3113971b
Bump versions
2015-12-17 16:40:37 -05:00
Dan Stillman
cfee7ea9d2
Merge pull request #879 from adomasven/feature/transparent-api-keygen
...
Restores the functionality of 4.0 for sync settings
2015-12-14 19:28:56 -05:00
Adomas Venčkauskas
ffd9a07164
Restores sync credential functionality of 4.0.
...
Improves UX of sync authentication.
The account is now linked and unlinked and an API key related to
the client is generated transparently in the background.
The API key is deleted on unlinking.
No sync options are allowed before linking an account.
2015-12-14 23:55:28 +00:00
Adomas Venčkauskas
3fcfba5d36
Add sinon-as-promised for mocking promises
2015-12-14 23:05:54 +00:00
Dan Stillman
faf3b94b64
Clear existing DB user values when reinitializing Users for tests
2015-12-10 20:34:41 -05:00
Dan Stillman
0673face28
Update submodules and maxVersion
2015-12-10 16:33:51 -05:00
Dan Stillman
177dac3fd2
Closes #805 , Translation shouldn't create new item in My Publications
...
And in download overlay, save and switch to My Library if My
Publications is selected.
2015-12-10 01:11:41 -05:00
Dan Stillman
e3033b056e
Fix intermittent error in FullText.getUnsyncedContent() test
2015-12-09 04:51:48 -05:00
Dan Stillman
18349b2232
Restore certificate checking for API syncing errors
...
Closes #864
This adds a 'channel' property to Zotero.HTTP.UnexpectedStatusException,
because the 'channel' property of the XHR can be garbage-collected
before handling, and the channel's 'securityInfo' property is necessary
to detect certificate errors.
2015-12-09 04:11:27 -05:00
Dan Stillman
01fddc9bb9
Tweak DataObject::save() tests
2015-12-08 16:38:58 -05:00
Dan Stillman
bad92a1d22
Quick update of recognizePDF from Q to Bluebird
...
This should be refactored further, but this is a start at swapping in
Bluebird. Unfortunately the process doesn't work correctly because of
issues in the translation framework, which will need to be addressed
separately -- right now a parent item is successfully created but the UI
still shows an error and the PDF isn't placed under the parent.
2015-12-07 17:23:10 -05:00
Dan Stillman
1d4dd9faac
Fix double filename in progress popup when saving files
...
This appears to have started in a recent Fx version.
2015-11-28 19:12:36 -05:00
Dan Stillman
fb46d6d216
Merge pull request #873 from adomasven/feature/batch-untag
...
Remove tags on shift-drag
2015-11-20 16:33:42 -05:00
Dan Stillman
73add2156d
Merge pull request #875 from adomasven/fix/open-files-without-extension
...
Recognizes and opens files even without extensions.
2015-11-20 16:28:13 -05:00
Adomas Venčkauskas
4b16210ac6
Remove tags on shift-drag
...
Closes #852
Currently shows a *+* icon for adding a tag and
a *link* icon for removing it.
There does not appear to be any way to have a custom mouse cursor,
which makes this interaction extremely unintuitive. It might be
possible to hack this in, but it does not really warrant the effort.
E.g. `window.setCursor` does not respond whilst dragging.
2015-11-20 16:51:48 +00:00
Adomas Venčkauskas
2de0ed7871
Recognizes and opens files even without extensions.
...
Closes #842
Also:
Changes AsyncChannel to be a coroutine.
2015-11-20 16:14:55 +00:00
Dan Stillman
3dab61d581
Update test config for new Firefox download URLs
2015-11-19 16:22:21 -05:00
Dan Stillman
26471fc621
Update test config for new Firefox download URLs
2015-11-19 16:16:53 -05:00
Dan Stillman
08cb63f66d
Fix various cases of saving items to selected collection
...
This changes Zotero.Translate.Base.translate() to take an options object (in
order to take a 'collections' parameter, which is passed to the
Zotero.Translate.ItemSaver constructor). The old parameters are still supported
with a deprecation warning, and there may be other places that still need to be
updated.
2015-11-15 17:49:31 -05:00
Dan Stillman
22b1fa8cf8
Don't load bundled files before each storageLocal test
2015-11-15 17:49:31 -05:00
Dan Stillman
57dfd1885d
Allowing passing window to loadZoteroPane() support function
2015-11-15 17:49:31 -05:00
Dan Stillman
6d64526648
Ignore unknown fields in Zotero.Item::fromJSON()
2015-11-12 17:24:03 -05:00
Dan Stillman
3025123cb8
Merge pull request #867 from adomasven/feature/dropbox-alert
...
Detect when data directory is in Dropbox
2015-11-12 15:45:00 -05:00
Dan Stillman
563cfb4fd4
Add test PDF file
2015-11-12 15:40:42 -05:00
Adomas Venčkauskas
b75cc8f9d0
Closes #437 , Detect when data directory is in Dropbox
...
Display a warning when choosing data directory
Or on opening Zotero Pane for existing users with data dir in dropbox
Also:
Fix a bug where it won't use custom path if "Choose..." button is
pressed instead of radio button.
Change filepicker to show current data directory on display
2015-11-12 20:24:39 +00:00
Dan Stillman
cc9d1cc41d
Merge pull request #871 from adomasven/fix/my-publications-linux
...
Fixes the finish button on my publication wizard on linux
2015-11-12 05:41:57 -05:00
Dan Stillman
62aeb1da32
Full-text syncing support via API [DB reupgrade]
2015-11-12 02:54:51 -05:00
Dan Stillman
cb81f3febd
Set 'Content-Type: application/json' on object uploads
2015-11-12 02:51:48 -05:00
Dan Stillman
69e5c5ae05
Don't accept libraryVersion in syncAPIClient::getVersions()
...
Since /settings is always called first with If-Modified-Since-Version,
it's never necessary to include that in the versions request.
2015-11-12 02:50:24 -05:00
Dan Stillman
ae277391b6
Miscellaneous tweaks
2015-11-12 02:48:41 -05:00
Dan Stillman
614232754a
Allow "Zotero.Fulltext" as "Zotero.FullText"
...
"Zotero.Fulltext" should be considered deprecated, though there's no
warning for it yet.
2015-11-12 02:42:20 -05:00
Dan Stillman
6d289797bf
Retry API requests automatically after 5xx errors
2015-11-12 02:41:40 -05:00
Dan Stillman
bad9833896
Resolve caller.start() promise when passed functions finish
...
Instead of waiting for all queued functions to finish
2015-11-11 02:14:30 -05:00
Dan Stillman
790d6d3dd6
Fix "Save to Zotero" in download overlay
2015-11-10 15:52:09 -05:00
Adomas Venčkauskas
234c94be67
Fixes my publication wizard on linux, Closes #738
...
Also:
- Removes horizontal scrollbar in linux my publications wizard, Closes
#740
2015-11-10 18:25:22 +00:00
Dan Stillman
32b7756898
Update locales from Transifex
2015-11-08 16:25:07 -05:00
Dan Stillman
ccd765ff74
Update versions and submodules
2015-11-08 16:21:20 -05:00
Philipp Zumstein
add3acbcd1
Relax condition in parseContextObject
...
Especially, allow rft.subject and rft.description in core OpenURL without Dublin Core declared as format. This fixes #851
2015-11-08 16:16:36 -05:00
Dan Stillman
8197fa4ce8
Fix LIKE binding error in Nightly loading duplicates
2015-11-08 16:16:05 -05:00
Dan Stillman
26f6f05331
Merge pull request #869 from zuphilip/patch-2
...
Relax condition in parseContextObject
2015-11-08 16:14:14 -05:00
Philipp Zumstein
89a0f8910a
Relax condition in parseContextObject
...
Especially, allow rft.subject and rft.description in core OpenURL without Dublin Core declared as format. This fixes #851
2015-11-08 11:21:45 +01:00
Dan Stillman
0dbf5b20f3
Merge pull request #870 from Juris-M/z4.0-clipboard-copy-fix
...
Prevent duplicate items when copying citations to clipboard
2015-11-08 01:05:01 -05:00
Dan Stillman
5959bbd87e
Use container-based Travis infrastructure
...
http://docs.travis-ci.com/user/migrating-from-legacy/
2015-11-08 01:02:01 -05:00
Dan Stillman
027631852e
Only download latest file in Firefox releases directory in Travis setup
2015-11-08 01:01:35 -05:00
fbennett
4a475ff3aa
Prevent duplicate items when copying citations to clipboard
2015-11-08 11:44:13 +09:00
Dan Stillman
1e6bb44e80
Show My Publications in Advanced Search and disable Save Search button
...
Closes #703 (unless I'm forgetting something)
2015-11-04 14:06:32 -05:00
Dan Stillman
3100f10396
Make Zotero.Libraries.getAll() return sorted Zotero.Library instances
...
My Library, My Publications, and then groups sorted by name
2015-11-04 14:04:21 -05:00