Adomas Venčkauskas
72fb67d15b
Restore "Delete All Automatic Tags" menu option for tag selector. Closes #1660
2019-03-06 16:22:05 +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
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
04779d8d1c
Add import option for storing or linking files
...
This allows files in Mendeley imports to be stored and files in
RIS/BibTeX/etc. to be linked.
Closes #329
2019-03-02 06:24:33 -05:00
Dan Stillman
d0f7fd6df7
Add separate "Rename linked files" pref for auto-renaming
...
Defaulting to false
People who've been relying on auto-renaming of linked files for the last
year will have to turn this back on.
2019-02-26 22:23:43 -05:00
Dan Stillman
945c413c42
Closes #1644 , Allow selecting multiple items with zotero://select
...
This adds selectItems() to ZoteroPane and collectionTreeView and removes
the ancient, unused 'expand' argument to selectItem(), which didn't
really make sense there. It also includes a new
itemTreeView::ensureRowsAreVisible() that tries to scroll to an
appropriate place (or, better yet, not scroll at all) given the
specified rows and page size.
2019-02-23 17:35:09 -05:00
Dan Stillman
4d3625f101
Fix tests after removing RECOGNIZE_URL
2019-02-19 04:37:22 -05:00
Dan Stillman
1061893998
"Attachment Content" search improvements
...
- Fix incorrect results for ANY search with multiple "Attachment
Content" conditions and no other conditions
- Dramatically speed up single-word searches by avoiding unnecessary
text scans (which probably addresses #1595 )
- Clean up code
2019-02-19 04:10:25 -05:00
Frank Bennett
2c136ffbb0
Add test of multiple new insertions with implicit update on the first
2019-02-13 10:18:05 +02:00
Frank Bennett
bffbe00399
Test of implicit citation update
2019-02-13 10:17:58 +02:00
Frank Bennett
0e18c5f1de
Test for bibliography sort update on change to item
2019-02-10 11:07:10 +09:00
Dan Stillman
3942b0e0d5
Fix a tag selector test after b1fad505d7
2019-01-30 04:44:16 -05:00
Dan Stillman
b1fad505d7
Fix sorting of colored tags after Reactification
...
Regressed to alphabetic sorting instead of number-key sorting
2019-01-29 22:18:49 -05:00
Dan Stillman
2d71b13ce0
Fix some spurious failures in PDF retrieval test
2019-01-29 07:35:39 -05:00
Dan Stillman
c2a637472e
Fix foreign key constraint error for collections with all-numeric keys
...
This was like a lottery where instead of winning something your library
stopped syncing.
2019-01-29 05:09:00 -05:00
Dan Stillman
8b4bb62efc
Don't load linked URLs during import
...
Regression from 5a6a772ca2
, I think
2019-01-26 00:20:26 -05:00
Adomas Venčkauskas
f59f3c5f7e
Fix a failing /connector/updateSession test (regr 90a70f7
)
2019-01-22 12:25:15 +02:00
Dan Stillman
eb5d28b626
Merge pull request #1606 from adomasven/feature/reactify
...
Reactified Tag Selector
2019-01-21 04:07:28 -05:00
Adomas Venčkauskas
a24cada451
React Tag Selector polish, i18n and tests
...
- Added icon-button UI code for the menubutton
- Upgrade to React 16 to allow non-standard attrs, such as `tooltiptext`
to support XUL tooltips
- Add i18n support for React UI elements
- Update tests for reactified tag selector
2019-01-21 11:01:27 +02:00
Philipp Zumstein
97e53c5230
Fix some typos found by codespell ( #1570 )
...
$ codespell --skip="./.git,./styles,./translators,./chrome/locale,./resource,./chrome/content/zotero/xpcom/xregexp,./chrome/content/zotero/xpcom/rdf,./chrome/content/zotero/xpcom/citeproc.js,./test/resource,./node_modules" -q 2 -i 3 -w
2019-01-20 20:39:27 -05:00
Dan Stillman
9c2d0d7272
Add skipped test for importing related items from Zotero RDF
...
This is hard to do currently because the natural place to do it (and
where the previous seeAlso stuff was done) is translate_item.js, but
with async import translators that now only gets one item at a time,
whereas saving item relations requires all items to be saved. So this
would probably need to be done in the import code in translate.js.
It might also require undoing
https://github.com/zotero/zotero/pull/453 so that getResourceURI() works
on notes and figuring out another solution for the problem that was
trying to solve.
2019-01-14 02:36:59 -05:00
Dan Stillman
c8fb2ecd1f
Add test for exporting related items in Zotero RDF
...
These aren't currently imported, but better to at least include them.
2019-01-14 02:29:09 -05:00
Dan Stillman
0d5abb018a
Ignore invalid paths during export
...
Invalid paths, including Windows UNC paths on other OSes, caused exports
to fail. Now they're ignored, which is what we do for other missing
attachment files.
Fixes #1622
2019-01-12 02:34:31 -05:00
Dan Stillman
9c0f5998a3
Use correct time-zone offset for access dates in bibliographies
...
Fixes #1069
2019-01-10 03:14:28 -05:00
Dan Stillman
5a6a772ca2
Fix linked-URL attachments not being saved to groups without files
...
It looks like this may have been broken for years.
2019-01-08 03:45:26 -05:00
Dan Stillman
506ed313da
Fix moving item via connector to library with files from one without
...
Broken in ce5be0bc75
for non-webpage items
2019-01-07 05:16:17 -05:00
Dan Stillman
7575cd8b29
Don't accept keyboard input before new-collection prompt appears
...
Fixes #1613
2018-12-27 07:11:15 -05:00
Adomas Venčkauskas
4072d444e7
Ensure Test Import Translator.js #doImport() does not rely on #detectImport()
2018-12-21 15:16:27 +02:00
Dan Stillman
37c51242d2
Add test for copying collection to another library
2018-12-16 02:24:21 -05:00
Dan Stillman
80f6b857f6
Add Utilities.Internal.getNextName(name, existingNames)
...
Function to get the next available name when duplicating something
2018-12-16 02:24:21 -05:00
Dan Stillman
223f582aa7
Fix search error on nonexistent collection in recursive mode
...
And don't return results for a nonexistent parent search
2018-11-28 15:31:57 -07:00
Dan Stillman
6137aeddb8
Follow meta redirects for Find Available PDF
...
This fixes direct and VPN-based retrieval of PDFs for Elsevier (e.g.,
ScienceDirect) items that have a DOI but no URL, since Elsevier resolves
DOIs through an intermediate page.
2018-11-26 00:57:48 -07:00
Dan Stillman
4b81e03f28
Improve reliability of PDF retrieval delay tests
2018-10-09 19:14:59 -04:00
Dan Stillman
477c28b1e3
Fix another PDF retrieval test after be8db4fc50
2018-10-09 19:03:06 -04:00
Dan Stillman
f3aef41c90
Update tests for auto-recognizing dragged PDFs after be8db4fc50
2018-10-09 18:25:30 -04:00
Dan Stillman
1b9811c31d
Fix test failures after 18f79f9796
2018-10-06 01:38:32 -04:00
Martynas Bagdonas
ae7ef109b7
Add universal progress queues ( #1573 )
2018-10-05 01:56:46 -04:00
Martynas Bagdonas
ec5424d5ae
Follow meta redirects and use the final URL when processing documents ( #1568 )
2018-10-03 22:24:39 -04:00
Dan Stillman
d899134e7c
Automatically delay between PDF retrieval requests to the same domain
...
Delay requests to the same domain by 1 second, respect a Retry-After
header if present for 429 and 503, and delay for 10 seconds on 429 or
5xx otherwise.
2018-09-22 04:03:25 -04:00
Dan Stillman
b782120840
Add followRedirects: false option to Zotero.HTTP.request()
...
Currently only .status and .getResponseHeader() (for getting 'Location')
are available in the returned object, but we could make the body
available if necessary.
2018-09-22 04:03:25 -04:00
Dan Stillman
7cf466a0b6
Save OA PDFs when the DOI resolves directly to the file
2018-09-06 16:44:11 -04:00
Dan Stillman
18821984e0
Accept a Blob as input in Zotero.File.putContentsAsync()
2018-09-06 16:44:11 -04:00
Dan Stillman
05d8e7a8a3
Check Extra field for DOIs for PDF retrieval
...
E.g., a book with a DOI in Extra
Closes #1551
2018-08-30 16:52:24 -04:00
Dan Stillman
6cb4057fee
Disable updates of bundled files in tests
2018-08-25 16:55:13 -04:00
Dan Stillman
e7e681c113
Set retrieved OA PDF title to reflect version
...
"Full Text", "Accepted Version", or "Submitted Version"
2018-08-25 16:48:17 -04:00
Dan Stillman
d5e7bae254
Fix broken test after ec76575645
2018-08-19 04:31:40 -04:00
Dan Stillman
e48a1a2abb
Remove lots of old Zotero for Firefox code
...
We still run tests in Firefox, so not everything can be removed.
2018-08-17 03:17:08 -04:00
Dan Stillman
c2ca70055c
Merge branch 'electron'
2018-08-16 19:16:46 -04:00