Commit Graph

9520 Commits

Author SHA1 Message Date
Dan Stillman
cc84a24995 Remove fail() override in Mocha
I'm not sure what this was for, but at least with an async test function
it seems to be causing spurious "the string 'x' was thrown, throw an
Error :)" messages that hide the real error.

(cherry picked from commit 4731b8f905)
2018-02-11 14:15:07 -05:00
Dan Stillman
4290ebcc16 Use rowid to clean invalid entries from translatorCache
Since in truly weird cases [1] fileName might not exist

https://forums.zotero.org/discussion/comment/300558/#Comment_300558
(cherry picked from commit 06fb74aafd)
2018-02-11 14:14:28 -05:00
Dan Stillman
6ae0c6055e Allow dragging parent items to collection if children are selected
This is a simplified version of the fix from #872. Unlike the proposal
in #36, this doesn't require all child items to be selected, since in a
search some children might be grayed out. If the child of an unselected
parent item is included, the drag isn't allowed.

Closes #36

(cherry picked from commit 38411fb56c)
2018-02-11 14:14:13 -05:00
Dan Stillman
410976f991 Allow parentItemID as a createDataObject() parameter in tests
Not just `parentID`

(cherry picked from commit ad216bcf97)
2018-02-11 14:14:09 -05:00
Dan Stillman
5dbae77c98 Reduce minimum width of Zotero pane to 670px
We could potentially do more, but this is the narrowest the pane can be
with the left pane collapsed without starting to hide toolbar icons, so
let's try this. (This will still hide the sync icon if the left pane
isn't collapsed.)

Closes #675
Closes #1183

(cherry picked from commit 2d43518ef2)
2018-02-11 14:13:50 -05:00
Dan Stillman
f38cd21195 Don't show Title in column picker, because hiding it doesn't make sense
(cherry picked from commit e4a399671a)
2018-02-11 14:13:44 -05:00
Dan Stillman
42095b0b42 Update citeproc-js to 1.1.183
(cherry picked from commit 4a41f219d8)
2018-02-11 14:13:06 -05:00
Dan Stillman
83ae42e5a0 Fix test breakage from d67c654245
(cherry picked from commit 5b46735204)
2018-02-11 14:12:50 -05:00
Dan Stillman
575866005a Prompt to reset local group files on 403 for file attachment upload
And reset modified file attachments when resetting files

(cherry picked from commit c5fa1303e3)
2018-02-11 14:12:43 -05:00
Dan Stillman
3eae1a59fe Add version option to toResponseJSON()
(cherry picked from commit d67c654245)
2018-02-11 14:12:38 -05:00
Dan Stillman
0b951785f4 Warn about version 0 when saving to sync cache
This should be an error, because the API will never return 0, but most
tests don't currently set the version properly in the response JSON.

(cherry picked from commit 3390f2405b)
2018-02-11 14:12:35 -05:00
Dan Stillman
df3956fbed Enable 2x PDF icon
(cherry picked from commit 0bb0912a7b)
2018-02-11 14:11:34 -05:00
Dan Stillman
be300ec62b Fix startup hang if note is null in database
(cherry picked from commit 2194dff7a4)
2018-02-11 14:10:26 -05:00
Dan Stillman
1bdb329bc8 Add missing spinners from 87cf336e2
(cherry picked from commit 48757f08ff)
2018-02-11 14:09:36 -05:00
Dan Stillman
50862501f6 Fix translator architecture hangs on bad JSON in translatorCache
(cherry picked from commit cc9efde843)
2018-02-11 14:09:20 -05:00
Dan Stillman
250a19ec03 Start sync icon spinning before purging data
(cherry picked from commit 2b8311d3d7)
2018-02-11 14:08:09 -05:00
Dan Stillman
ea29c5cb10 Update version 2018-02-03 02:46:10 -05:00
Dan Stillman
12c9e55472 Update version and submodules 2018-02-03 00:52:15 -05:00
Dan Stillman
380ee9c0ed Update version 2018-01-22 15:39:17 -05:00
Dan Stillman
4ed33b4da9 Run deploys from Travis on *-hotfix branches 2018-01-22 05:32:50 -05:00
Dan Stillman
ff9ee48e0f Update version 2018-01-22 05:30:18 -05:00
Dan Stillman
e577009154 Update version 2018-01-19 19:23:45 -05:00
Dan Stillman
246d7af3eb Force ZIP build on Travis 2018-01-19 13:45:25 -05:00
Dan Stillman
2edf2641a2 Update version 2018-01-19 13:34:23 -05:00
Dan Stillman
fec3fa2a72 Update locales from Transifex 2018-01-11 20:23:13 -05:00
Dan Stillman
09fc3c2b1c Update submodules 2018-01-11 20:20:32 -05:00
Dan Stillman
7cb95f4129 Automatically rename dragged file attachments from parent metadata
Rename happens if only one file is dragged and the parent item has no
existing file attachments.

Closes #1405
2018-01-10 00:39:47 -05:00
Dan Stillman
ea2feadbff Add spacing between icon and search field in Quick Format window 2018-01-08 01:08:44 -05:00
Dan Stillman
87cf336e22 Cancel active Quick Format search if another one starts
This fixes inconsistent results (#1349) from async searches finishing
out of order.

Also adds spinner when search is active
2018-01-08 01:08:28 -05:00
Dan Stillman
7d41047a9d Blacklist spurious warnings about word processor plugin update manifests 2018-01-08 00:02:47 -05:00
Dan Stillman
c83de8a6ea Increase save time for Accessed test for Travis 2018-01-05 06:04:53 -05:00
Dan Stillman
3f6ef7fb01 Allow "now" in Accessed field to use current time
Closes #1340
2018-01-05 03:41:08 -05:00
Dan Stillman
5847388862 Add schema update step to remove dc:isReplacedBy relations
These should've all been replaced with dc:replaces relations in a schema
update step, so any that exist were likely synced down from the API
(since fixed) and should be obsolete/redundant.
2018-01-05 02:53:27 -05:00
Dan Stillman
4ac368e052 Add "Publication" to top level of search condition drop-down 2018-01-04 22:59:23 -05:00
Dan Stillman
fdb9e20076 Clear parentKey change marker after save
Fixes #1325, Field editor closes during auto-sync of newly created
parent item
2018-01-04 19:10:41 -05:00
Dan Stillman
2baa537542 Don't close clicked field when clicking away from changed field
Fixes #1401

The item box badly wants to be redone in React.
2018-01-03 02:33:36 -05:00
Dan Stillman
374eefada1 Additional try/catch to fix NS_ERROR_UNEXPECTED from tree select
Follow-up to 7cd1439928
2018-01-02 20:20:01 -05:00
Dan Stillman
2bc44dddd1 Add attr()/text() to translator sandbox
The current document is automatically used (but can still be provided as
the first argument to avoid accidental bugs during the transition).

Closes #1323
Addresses zotero/translators#1277
2017-12-27 18:26:51 -05:00
Dan Stillman
5350931617 Update locales from Transifex 2017-12-27 17:13:51 -05:00
Dan Stillman
c4fde7ebbf Fix undo in notes to not restore changes from another note
Fixes #1398
2017-12-27 17:13:39 -05:00
Dan Stillman
5fcac10db9 Update locales from Transifex 2017-12-20 21:48:36 -05:00
Dan Stillman
a1c96f1db1 Fix deletion of tags across libraries
https://forums.zotero.org/discussion/comment/296384/#Comment_296384
2017-12-20 21:48:36 -05:00
Dan Stillman
b1b9dcf233 Update version 2017-12-20 21:48:36 -05:00
Dan Stillman
22d3fbbc9b Update version 2017-12-19 15:59:45 -05:00
Dan Stillman
7cd1439928 Hopefully fix intermittently broken items pane
https://forums.zotero.org/discussion/69226/papers-become-invisible-in-the-middle-pane

I can't reproduce this, but it seems like if the tree disappears (due to
a collection change?) while the tree is refreshing, the toggleSelect()
in the rememberSelection() call can fail and break the tree.
2017-12-18 02:55:24 -05:00
Dan Stillman
fa33eb72b2 Fix some UI issues with storage settings
- Enable/disable download mode drop-down for groups separately from user
  library
- Fixing hiding of terms of service message when Zotero storage isn't
  selected
2017-12-18 00:34:55 -05:00
Dan Stillman
7d98f04bd8 Update version 2017-12-15 02:29:32 -05:00
Dan Stillman
545c800459 Open /start on first-run instead of /start_standalone
Closes #1389
2017-12-15 00:14:52 -05:00
Dan Stillman
6acf208a36 Disable "Check Database Integrity" button while running 2017-12-14 23:49:08 -05:00
Dan Stillman
a85ea18fd9 Update locales from Transifex 2017-12-14 23:31:50 -05:00