Martynas Bagdonas
0785b3a086
Fix regression that prevents showing new notes in contextPane notes list
2022-07-21 13:27:32 +03:00
Adomas Venčkauskas
ba5cb7d5c6
Fixes some assets not being saved with SingleFile snapshots
...
Part of zotero/zotero-connectors#394
When saving an item (e.g. on arxiv) with a site translator, the
translator may add a custom snapshot attachment URL which does not match
the translation URL (the URL in the browser where translation was
initiated) in which case Zotero handles snapshot saving. Zotero loads
the page in a background browser. By default images are not loaded in
this browser. SingleFile due to CORS restrictions has to refetch all
resources that are not from the same domain or subdomain, but uses
pre-loaded resources (images) from the same domain. Before this change
any images that were from the same domain as the saved website were not
saved in the snapshot. This commit fixes that.
2022-07-20 14:28:56 +03:00
Adomas Venčkauskas
d822da4c06
Changes for updated SingleFile submodule
2022-07-20 14:28:56 +03:00
Adomas Venčkauskas
a297692487
Update SingleFile submodule
2022-07-20 14:28:56 +03:00
Dan Stillman
6921268dc0
Localize "Export PDF…" menu option
...
Fixes #2710
2022-07-20 01:04:00 -04:00
Dan Stillman
ba1906c054
Update version
2022-07-18 23:10:31 -04:00
Dan Stillman
b5be7cbd57
Update note-editor submodule
2022-07-18 19:47:23 -04:00
Dan Stillman
5c61815f36
Update translate submodule
2022-07-18 19:43:18 -04:00
Dan Stillman
b5ca5aed3a
Update submodules
2022-07-18 19:14:24 -04:00
Dan Stillman
4b6598acc4
Update locales from Transifex
2022-07-18 08:57:41 -04:00
Dan Stillman
14a6ce000e
Disable sort tests from 26a5e2900a
for now
...
Until I can figure out the race-condition breakage they trigger later in
the file
2022-07-18 08:56:57 -04:00
Dan Stillman
9d0cd005f8
Increase Mendeley API timeout to 60 seconds
...
To see if we can fix the 30-second timeout here:
https://forums.zotero.org/discussion/comment/412750/#Comment_412750
2022-07-18 08:29:45 -04:00
Dan Stillman
26db75971e
Update pdf-reader submodule
2022-07-18 03:51:09 -04:00
Dan Stillman
cc45e9019b
Apply Big Sur styling when macOS version comes through correctly
...
Follow-up to zotero/zotero-standalone-build@f7a506a32 -- now that some
people are somehow getting an accurate macOS version number, we need to
apply the Big Sur CSS to all higher versions.
https://forums.zotero.org/discussion/98406/zotero-will-not-open-mac-os-monterey
2022-07-17 05:09:05 -04:00
Dan Stillman
98d6f40e4a
Add warning in toolbar for 'dev' channel builds
2022-07-16 04:19:42 -04:00
Martynas Bagdonas
2cad5b00d1
Use Quick Copy (Markdown) for direct plain-text copying from note-editor
...
Fixes #2505
2022-07-15 15:06:19 +03:00
Abe Jellinek
95239db0fd
Prevent deleting My Publications
...
Previously showed a blank confirmation dialog and logged an error.
2022-07-13 16:23:50 -04:00
Martynas Bagdonas
4c063e7b6e
Prevent delayed context pane expansion and pdf-reader rerender/resize when switching from library tab
2022-07-12 18:00:21 +03:00
Martynas Bagdonas
07f1517712
Don't include quotes when {{highlight}} is placed in a blockquote
...
Fixes #2697
2022-07-12 12:12:21 +03:00
Martynas Bagdonas
f0e0971c69
Include quotation marks for highlights by default, but allow to disable
...
Fixes #2697
2022-07-11 15:32:02 +03:00
Dan Stillman
acba90f272
Fix test failure after 26a5e2900a
2022-07-11 05:19:18 -04:00
Dan Stillman
26a5e2900a
Better fix for errors from invalid sort fields
...
Just catch the error from `ItemTree::sort()` and clear the
secondary-sort and fallback-sort prefs so that sorting works on the next
attempt.
Replacement for a8ed30ce80
https://groups.google.com/g/zotero-dev/c/kc0-C6-SA74/m/bhHniGceAQAJ
2022-07-11 01:30:38 -04:00
Dan Stillman
34d66381d1
Revert "Validate fields in ItemTree::getSortFields()"
...
This reverts commit a8ed30ce80
and related
commits.
We'll address breakage from invalid sort fields another way, without
inconveniencing plugin authors.
https://groups.google.com/g/zotero-dev/c/kc0-C6-SA74/m/bhHniGceAQAJ
2022-07-11 00:43:15 -04:00
Dan Stillman
f7dbcdde4b
Sort empty rows last for Date/Year columns when descending
...
Date columns start in descending order, so put empty rows at end
Also remove a seemingly unnecessary exception for Title when not the
primary sort and just always sort it with empty rows first
2022-07-10 23:47:02 -04:00
Dan Stillman
c4563af381
Fix sorting of attachments and notes columns
...
Regression from a8ed30ce80
2022-07-10 23:26:36 -04:00
Dan Stillman
56e7f0a10f
Fix sorting by Item Type and feed item itemID
...
Regression from a8ed30ce80
2022-07-10 17:31:01 -04:00
Dan Stillman
3a160b2630
Increase downloadPDFViaBrowser.onLoadTimeout
to 3000
...
Apparently necessary for some people to get PDFs on ScienceDirect. We
should come up with a better way of detecting the page load if we can,
so that we can avoid this long of a timeout for people who just will
never have access to ScienceDirect PDFs.
https://forums.zotero.org/discussion/comment/411056/#Comment_411056
Addresses #2698
2022-07-10 06:40:32 -04:00
Dan Stillman
124c18d54d
CookieSandbox: Fix error setting request cookies
...
Regression from 6af3b0276a
, showing up as "trackedBy is undefined" error
https://forums.zotero.org/discussion/98322/no-snapshot-or-pdf-autosaved-using-zotero-connector-on-safari
2022-07-10 06:28:56 -04:00
Dan Stillman
57c582e171
Merge new English strings
2022-07-09 18:08:38 -04:00
Dan Stillman
cf8819cc06
Add localized string for timestamp
CSL locator
...
Not included in the CSL locales:
https://forums.zotero.org/discussion/comment/412060/#Comment_412060
2022-07-09 18:07:07 -04:00
Dan Stillman
fe74b02d28
Merge new English strings
2022-07-09 01:56:56 -04:00
Dan Stillman
1dcc2728dd
Tweak confirmation message for recursive collection-item removal
...
I guess the "its" is technically a little clearer, but it's a bit
awkward, and I think it's reasonably implied.
2022-07-09 01:54:07 -04:00
Dan Stillman
c5dbf0169f
Merge pull request #2693 from tnajdek/mendeley-import-improve-feedback
...
Multiple improvements to Mendeley importer
2022-07-09 01:43:50 -04:00
Abe Jellinek
3f282fc25f
recursiveCollections
: Remove from all subcollections on delete (#2689 )
2022-07-09 01:37:14 -04:00
Dan Stillman
7163a196f8
Update pdf-reader and pdf-worker submodules
2022-07-09 01:32:45 -04:00
Dan Stillman
8c0499468e
Update locales from Transifex
2022-07-09 01:28:18 -04:00
Dan Stillman
629892b0b8
Add CSL 1.0.2 locators and switch to CSL locales for localization
...
And move Page to middle of list, while still selecting by default
https://forums.zotero.org/discussion/comment/396602/#Comment_396602
2022-07-09 01:00:07 -04:00
Dan Stillman
2ff67c987e
Fix test failure after a8ed30ce8
...
We added a `toggleSort()` call on the title, so then when called again
it reverses the direction. To avoid, sort by creator and then title in
the second test.
2022-07-08 06:44:10 -04:00
Dan Stillman
a8ed30ce80
Validate fields in ItemTree::getSortFields()
...
To avoid startup hang if a plugin does something bad:
https://forums.zotero.org/discussion/comment/411843/#Comment_411843
Fixes #2692
2022-07-08 06:01:23 -04:00
Tom Najdek
43f15e7517
Improve log output for multiple Mendeley imports
...
Helps with debugging cases where new import is started while previous
one is still being cancelled
2022-07-07 13:40:40 +02:00
Tom Najdek
df11227e0a
Lint code related to Mendeley importer
2022-07-07 13:40:40 +02:00
Tom Najdek
d418d79e70
Fix a bug in regex extracting fields to "extra"
...
Because regex is built using a template string, \s* is actually escaped
into s*, i.e. literal "s" appearing 0 or more times. In most cases this
would mean that output can have spacing slightly off. In extreme case,
when identifier starts with letter "s", this could this could lead to
identifier being stored incorrectly.
Also adjusted tests to be more strict and mock data to cover this case.
2022-07-07 13:40:40 +02:00
Tom Najdek
42aebccbf4
Mendeley import: detect win close, better feedback
...
* Detect wizard cancel/close and interrupt import. This will still
have to wait for current fetch (file or metadata) to complete but will
then advance to the cleanup stage
* Advance progress bar during metadata fetch
* Add some extra logging
2022-07-07 13:40:33 +02:00
Tom Najdek
7b6e19435b
Don't try to remove temporary dir after import
...
Previously we had a structure that also created folders in temp dir,
that has since changed but code in cleanup phase to remove containing
dir has been accidentally left unremoved.
2022-07-07 10:09:53 +02:00
Martynas Bagdonas
f650f95081
Fix disabled "Add to Note" when a child note is open
...
Fixes #2687
2022-07-06 11:33:22 +03:00
Dan Stillman
0357026865
Update global schema and utilities for CSL 1.0.2
2022-07-05 01:34:10 -04:00
Martynas Bagdonas
92d89becc7
Adjust page rotation labels in PDF reader
...
Fixes #2669
2022-07-01 16:33:08 +03:00
Martynas Bagdonas
49f9642c0d
Show parent item title for child notes in context pane
...
Fixes #2681
2022-07-01 15:32:14 +03:00
Dan Stillman
94372111f5
Update pdf-reader submodule
2022-07-01 04:32:42 -04:00
Martynas Bagdonas
f0b896d282
Implement smart notes switching in contextPane ( #2671 )
...
Fixes #2650
2022-07-01 03:28:20 -04:00