Dan Stillman
f596a203f7
Update React to 16.8.4 and chokidar to 2.1.2
2019-03-21 05:08:04 -04:00
Dan Stillman
6c86121120
Use onChange instead of onInput for Search component
...
React uses onChange for form elements (and complains if it's absent)
even when the underlying event is oninput.
2019-03-21 04:51:32 -04:00
Dan Stillman
49226edd07
Temporarily ignore collection-title for podcast in itemFromCSLJSON test
...
See #1667
2019-03-21 02:22:07 -04:00
Dan Stillman
8f1f1f1fba
Update itemFromCSLJSON test for podcast broadcast mapping
...
Follow up to bf4deeff8f
2019-03-21 02:20:38 -04:00
Dan Stillman
09b7fa8a6d
Fix time zone handling of CSL JSON export of date-only access date
...
Since 9c0f5998a3
, depending on your timezone the day could be off by
one if the access date didn't have a timestamp (so only for manual
entries or imports).
2019-03-20 21:52:57 -04:00
Dan Stillman
03941dafe0
Fix tests after 42667e7090
...
It seems like the Zotero.Utilities.debounce() on handleSearch() in
tagSelector.jsx was somehow causing the function to be run without being
triggered from the onSearch events, resulting in an extra render. I'm
not sure why that was happening, but it's fixed now that there's no
longer a debounce() there.
2019-03-20 08:54:48 -04:00
Dan Stillman
62ea7e970a
Don't use RegExp for tag filter (Reactification regression)
...
Using a regexp meant that an invalid regexp pattern would crash the tag
selector, and even if we caught that it would produce unexpected results
for some searches (e.g., anything with a period).
2019-03-20 07:15:55 -04:00
Dan Stillman
42667e7090
Switch to Search component in tag selector and support X/Esc to clear
...
This moves debouncing into the search component and adds cancel behavior
from the XUL search textbox. For now, this uses the X button from
Firefox.
2019-03-20 07:15:55 -04:00
Dan Stillman
14d25d273a
Symlink everything in resource/ and chrome/content/zotero/xpcom/rdf/
2019-03-20 04:39:33 -04:00
Dan Stillman
bf4deeff8f
Map podcast to CSL broadcast
...
Closes citation-style-language/zotero-bits#83
2019-03-19 20:08:17 -04:00
Dan Stillman
77220799d0
Update version
2019-03-18 18:53:17 -04:00
Dan Stillman
c26c85a262
Add babel-eslint for class field syntax in JSX
2019-03-18 18:22:28 -04:00
Dan Stillman
a92b29cebf
Fix race conditions in tag selector tests
...
And take an optional second parameter in waitForTagSelector() to
indicate how many updates to wait for, since certain operations trigger
two updates, one from notify() and the other from onItemViewChanged().
2019-03-18 04:58:50 -04:00
Dan Stillman
67febb2f45
Clarify debug lines for tag selector updating
2019-03-18 04:52:48 -04:00
Dan Stillman
b2d5b9a2f3
Fix incorrect call in 3463e3b5ab
2019-03-17 19:15:34 -04:00
Dan Stillman
3463e3b5ab
Don't initialize tag selector if closed at startup (React regression)
...
Even after cdf9d7ff32
, the tag selector was still being initialized if
it was closed at startup, which meant that keeping it closed didn't fix
performance problems in large libraries. This hopefully finally brings
the tag selector in line with pre-Reactification behavior.
This also moves initIntlStrings() logic to Zotero.Intl so that strings
are accessible from React components in separate windows, and it moves
container initialization to ZoteroPane since most of what it does will
need to interact with ZoteroPane anyway.
2019-03-17 05:11:07 -04:00
Dan Stillman
c44b864923
Fix error switching creator field mode if a creator is open
2019-03-16 03:21:10 -04:00
Dan Stillman
9d564f022d
Fix creator overwrite using move option on open field
...
https://forums.zotero.org/discussion/76423/bug-when-moving-authors-to-top-in-beta
2019-03-16 01:53:35 -04:00
Dan Stillman
a11adb737e
Update version
2019-03-15 22:24:49 -04:00
Dan Stillman
b30d31c4ee
Fix tag selector test
2019-03-15 21:57:38 -04:00
Dan Stillman
7717df637e
Fix hang in server_connector test after 94ccba45b
...
The test incorrectly contained an item wait for an attachment that
doesn't get saved to the group library, but the test was passing because
the main item was being moved to the group twice. 94ccba45b
somehow
fixed that, and since the behavior during the test is now correct, I'm
not going to worry about this unless we notice a problem.
2019-03-15 21:01:12 -04:00
Dan Stillman
cdf9d7ff32
Unregister tag selector when closed
...
This restores the pre-Reactification behavior.
2019-03-15 15:42:22 -04:00
Dan Stillman
94ccba45b9
Avoid unnecessary tag queries (regression from React tag selector)
2019-03-15 12:46:27 -04:00
Dan Stillman
48953f7176
Update version
2019-03-13 06:35:45 -04:00
Dan Stillman
cd55aebbc0
Fix detection of WebDAV settings on Windows and Linux
...
Fixes #1291 , hopefully for real this time
2019-03-13 02:45:31 -04:00
Dan Stillman
435e628973
Fix high CPU during file syncing (regression from React tag selector)
2019-03-12 06:45:25 -04:00
Dan Stillman
0cf1624b7e
ESLint: Remove no-implicit-globals
2019-03-11 05:22:55 -04:00
Dan Stillman
d264b00dcd
Update version
2019-03-09 17:59:29 -05:00
Dan Stillman
99cfddaf18
Add separator above "Delete All Automatic Tags in This Library…"
2019-03-09 16:28:20 -05:00
Dan Stillman
6abf64943b
Update submodules
2019-03-09 16:25:30 -05:00
Dan Stillman
c735423996
Don't show PDF icon for linked-URL PDFs (regression from 8cd5b09053
)
2019-03-08 20:23:00 -05:00
Dan Stillman
c7698a2324
Restore disabling of automatic tag deletion option when no such tags
2019-03-07 04:08:45 -05:00
Dan Stillman
85c6ec0ca4
Actually change code that deletes automatic tags
...
Follow-up to d7dc5670d5
2019-03-07 03:35:37 -05:00
Dan Stillman
a4613e6d12
Fix .eslintrc whitespace, but properly this time
2019-03-06 19:52:44 -05:00
Adomas Venčkauskas
72fb67d15b
Restore "Delete All Automatic Tags" menu option for tag selector. Closes #1660
2019-03-06 16:22:05 +02:00
Adomas Venčkauskas
d01038b13b
Fix missing react localization in tests. Closes #1661
2019-03-06 14:35:38 +02:00
Dan Stillman
b20bf345e6
Address race condition in tag selector tests ( #1659 )
2019-03-06 07:27:11 -05:00
Adomas Venčkauskas
e8f186479f
Address tag selector tests race conditions. Addresses #1659
2019-03-06 13:13:40 +02:00
Dan Stillman
ce1fc66351
Update submodules
2019-03-06 00:30:23 -05:00
Dan Stillman
ef4866f97b
Update renamed-styles.json
2019-03-05 21:17:45 -05:00
Dan Stillman
9cdfe8e01c
Update submodules
2019-03-05 21:17:14 -05:00
Dan Stillman
123f82571e
Update locales from Transifex
2019-03-05 21:15:27 -05:00
Dan Stillman
ae9c54b76d
Fix "Move to Top" logic for creators
2019-03-05 19:15:50 -05:00
Dan Stillman
d7dc5670d5
When clearing automatic tags, don't delete manual tags with same name
2019-03-05 07:55:00 -05:00
Dan Stillman
fc43514ff0
Deselect tags when deleted (regression from Reactification)
2019-03-05 07:55:00 -05:00
Dan Stillman
3a777dcf40
ESLint: Use ignoreChainWithDepth: 3 for newline-per-chained-call
2019-03-05 07:34:05 -05:00
Dan Stillman
e44dc23f55
Convert spaces to tabs in .eslintrc
2019-03-05 07:34:05 -05:00
Dan Stillman
3c6ab77e44
Update locales from Transifex
2019-03-04 07:31:36 -05:00
Dan Stillman
8cd5b09053
Add icon for linked PDF files
2019-03-04 03:20:37 -05:00
Dan Stillman
e2c4e3e86a
Use "PDF" attachment title for all individual PDFs from Mendeley import
...
https://forums.zotero.org/discussion/comment/327390/#Comment_327390
2019-03-03 04:52:39 -05:00