Dan Stillman
bb44841a80
Update locales from Transifex
2020-10-04 18:18:46 -04:00
Dan Stillman
987b9ce4cb
Fix zotero://open-pdf links with page for PDF Expert
...
https://forums.zotero.org/discussion/comment/365610/#Comment_365610
2020-10-04 18:05:03 -04:00
Dan Stillman
328865299b
Add SingleFileZ to about window
2020-10-03 17:57:59 -04:00
Dan Stillman
dc41e82833
Update submodules
2020-10-03 17:51:07 -04:00
Fletcher Hazlehurst
37cdba6f40
Clean up code from SingleFile error handling fix
2020-09-28 12:00:36 -07:00
Fletcher Hazlehurst
1c5cefaffd
Fix handling of network errors for SingleFile save
2020-09-28 10:43:32 -07:00
Dan Stillman
20c8cede4d
Merge pull request #1846 from fletcherhaz/snapshot
...
Use SingleFile to create snapshots of web pages
2020-09-24 18:08:34 -04:00
Dan Stillman
cae2aab70f
Reduce startup time from retraction key caching
2020-09-23 22:58:53 -04:00
Fletcher Hazlehurst
0fba08b3c9
Use SingleFile to create snapshots of web pages
2020-09-23 09:37:09 -07:00
Dan Stillman
693cd926d5
Apply subtitle capitalization to dependent styles based on parent
...
If a style specifies a style like APA that wants uppercase subtitles,
the dependent style should have them too.
https://forums.zotero.org/discussion/comment/364864/#Comment_364864
2020-09-22 17:07:40 -04:00
Dan Stillman
c5f01bc2f3
Make sure item returned from getLinkedItem() has all data loaded
...
Follow-up to 8fc316f727
2020-09-15 01:12:56 -04:00
Dan Stillman
4efc0af119
Translator sandbox: Update attr()/text() and add innerText()
...
- Remove TODO comment to add a warning if a Document is passed, since a
document will always be required when operating on something other than
the main page (e.g., for multiples).
- Always return a string instead of null. A translator can always use
querySelector() if it really needs to know if a node exists.
- Automatically trim the returned string
- Add innerText() function that uses .innerText instead of .textContent,
since there are situations where that might be helpful. Some of those we
currently address with trimInternal(), but there can be other
cases where .innerText gives cleaner, user-centric output.
Translators won't be able to rely on these changes for a while, so we'll
need to be careful to watch for problems here, or translators will need
to include a v3 polyfill.
Addresses zotero/translators#1913
2020-09-14 23:51:12 -04:00
Dan Stillman
8fc316f727
Fix potential error dragging to library that hasn't been loaded
...
https://forums.zotero.org/discussion/85136/unable-to-copy-items-between-libraries
Zotero.Relations.getByPredicateAndObject() is now async.
2020-09-14 23:49:22 -04:00
Dan Stillman
42e74fb8cc
Update version
2020-09-10 02:25:48 -04:00
Tom Najdek
eff19923ef
Parse creatorIndex string value as a number #1874
...
Sending value as a string to "removeCreator" breaks the logic in the
loop in that method which is supposed to remove target creator and shift
remaining creators in the array. This in turn triggers undesired removal
of the last creator in the array.
2020-09-10 01:31:25 -04:00
Tom Najdek
02e4bdfdb0
Blur edited creator field prior to deletion #1874
...
Resolves an issue where when trying to remove creator, while it is being
edited, next creator is removed instead.
2020-09-10 01:31:25 -04:00
Dan Stillman
e40fff6a7d
Limit corrupted-login-manager warning to once per minute
2020-09-10 01:18:58 -04:00
Dan Stillman
0e74a91f6b
Fix parsing of SQL dates without seconds
...
Previously, "2020-09-09 23:33" would be treated as a multipart date,
with "23:33" left in the visible field and "d" showing in the indicator.
2020-09-09 23:37:02 -04:00
Dan Stillman
4ac35ecda3
Fix invalid HTML in note from Quick Copy
...
A <body> was included with the note element outside of it.
2020-09-09 23:36:18 -04:00
Dan Stillman
4838726b87
Throw invalid-data error on unknown attachment link mode in fromJSON()
2020-09-09 18:01:50 -04:00
Dan Stillman
e9473caa14
Update node-sass to 4.14.1
2020-08-11 03:55:54 -04:00
Dan Stillman
c0b6712923
Utilities.Translate.resolveURL() tweaks
...
- Use `new URL()`, available in all modern environments, instead of
various other methods. In addition to being consistent and simple,
this allows setting the base URL explicitly, regardless of the
environment.
- Default protocol-relative URLs to 'https' if no document location
(though I'm not sure if that ever happens)
2020-08-11 03:55:32 -04:00
Dan Stillman
8214c85bee
Remove outdated comment after 8614e73aa8
2020-08-07 19:36:34 -04:00
Dan Stillman
8614e73aa8
Throw clearer error when 'storage' is a broken symlink
...
Instead of '(NS_ERROR_FILE_ALREADY_EXISTS) [nsIFile.create]', throw
"Broken symlink at <path>".
Closes #1834
2020-08-07 18:23:44 -04:00
Dan Stillman
83cdbd8e5c
Merge pull request #1857 from tnajdek/fix-windows-build
...
Fix babel worker file-specific fixes check on Windows
2020-07-29 09:57:20 -04:00
Tom Najdek
64234d2bb4
Fix babel worker special cases check on windows
2020-07-29 12:59:33 +02:00
Dan Stillman
7c201f5d59
Big Sur style fixes
...
- Restore active <tab> label
- Fix appearance of tabs in item pane
2020-07-28 00:15:11 -04:00
Dan Stillman
0cf27b9b7e
Merge pull request #1856 from tnajdek/fix-windows-build
...
Fix build on Windows
2020-07-27 20:01:19 -04:00
Tom Najdek
e5984b0297
Ensure symlinks are dereferenced prior to copy
...
Only applies to the build on Windows
2020-07-27 23:48:24 +02:00
Dan Stillman
aebe2b7824
Update version
2020-07-22 18:56:21 -04:00
Dan Stillman
b97413b963
Update locales from Transifex
2020-07-22 18:50:53 -04:00
Dan Stillman
fa8e25eaca
Update submodules
2020-07-22 18:40:20 -04:00
Dan Stillman
164701450c
Limit schema diagnostics to dev builds
2020-07-22 18:38:42 -04:00
Dan Stillman
7f92220ef9
Restore detection of some types of DB corruption at startup
...
1e0ad3aba
changed the test for DB corruption to look for "database disk
image is malformed", but at least Sqlite.openConnection() can throw a
"Could not open connection" error with "2152857611"
(NS_ERROR_FILE_CORRUPTED) in it.
2020-07-22 16:14:17 -04:00
Dan Stillman
785b6dd408
Update citeproc-js to 1.4.11
...
This fixes the "invalid language tag" error when there are invalid
language tags in Language (beta only).
https://forums.zotero.org/discussion/84224/zotero-error-refreshing-report-id-337976002
2020-07-18 19:21:36 -04:00
Dan Stillman
ab3a5ddbd8
Scaffold: Include mimeType: text/html
for attachments in test output
...
The connector includes this, so the new CI translator test runner in
zotero/translators was showing erroneous mismatches.
2020-07-16 17:40:48 -04:00
Dan Stillman
c1a06a5dea
Add reminder to keep CSL mappings in sync with connector
2020-07-14 18:39:55 -04:00
Dan Stillman
f923af4f31
Update citeproc-js to 1.4.7
...
Includes fixes for https://github.com/Juris-M/citeproc-js/issues/140
and https://forums.zotero.org/discussion/83567/uppercase-letter-problem-in-turkish
2020-07-14 09:39:05 -04:00
Dan Stillman
abadbb2d77
Add fileInterface test for importing into selected collection
...
And update importFile() calls in tests to use current signature
2020-07-12 04:53:29 -04:00
Dan Stillman
71af747df0
Fix unnecessary style updating at startup in timezones > UTC
...
https://forums.zotero.org/discussion/comment/360144/#Comment_360144
2020-07-12 04:53:29 -04:00
Adomas Venčkauskas
8e4ac40174
Decrease translator test timeout
2020-07-07 13:14:20 +03:00
Adomas Venčkauskas
19880e4ded
Translator tester updates for running in CI
2020-07-07 12:21:10 +03:00
Adomas Venčkauskas
419953f478
Perform integration document updates in reverse order
...
Fixes issues when integration plugin field appearance order
in the document is hard-linked and fields can be nested,
which breaks those links when updating a field with nested fields, in
the process removing the nested fields and upsetting document field
order.
Report: https://forums.zotero.org/discussion/83840/error-while-refreshing-a-large-document
2020-06-26 11:13:03 +03:00
Dan Stillman
381fad3681
Remove outdated comment in retraction code
...
We're already detecting retractions that were removed from the list, so
I don't think this applies anymore.
2020-06-25 20:53:20 -04:00
Dan Stillman
6fd0b8245b
Avoid logged error in retraction test from missing response data
2020-06-25 20:53:20 -04:00
Dan Stillman
7422c50076
Fix detection of retractions for items with DOI in Extra
...
Affected items should be detected on the next retraction updates check
2020-06-25 20:53:20 -04:00
Adomas Venčkauskas
6bbb7ddc09
Ignore leading comma in citation dialog search. Closes #1839
2020-06-22 10:00:18 +03:00
Dan Stillman
1ec2615eee
More debug info for incomplete schema upgrades
...
Include info on whether the data directory is in a cloud storage folder
and whether the DB passes a quick integrity check.
2020-06-21 05:24:42 -04:00
Dan Stillman
b4320fbc4c
Add Zotero.DB.quickCheck(), and speed up integrityCheck()
...
https://www.sqlite.org/pragma.html#pragma_quick_check
And limit both checks to 1 error (e.g., integrity_check(1))
2020-06-21 05:21:48 -04:00
Dan Stillman
eab9252550
Update version
2020-06-21 03:16:23 -04:00