Fletcher Hazlehurst
9b9bafe48e
Update SingleFileZ submodule
2020-10-12 17:28:04 -06:00
Dan Stillman
6588f6612d
Update version
2020-10-12 17:26:54 -04:00
Dan Stillman
1307fdfae7
Merge pull request #1899 from fletcherhaz/snapshot
...
Fix server not handling empty body in multi-part request. Fixes #1897
2020-10-12 17:25:22 -04:00
Fletcher Hazlehurst
bb0ddbd872
Fix server not handling empty body in multi-part request
...
An empty body is still valid. Was causing an issue for empty favicons.
https://forums.zotero.org/discussion/85600/bug-report-no-snapshot-in-zotero-beta
2020-10-12 15:06:11 -06:00
Dan Stillman
1ac79c0974
Merge pull request #1896 from fletcherhaz/snapshot
...
Fix CORS issues in SingleFile
2020-10-11 23:18:11 -04:00
Fletcher Hazlehurst
ed304b56e0
Remove crossorigin attributes in snapshots.
...
When loading a snapshot locally, same-origin of null will not load them
2020-10-11 18:19:41 -06:00
Fletcher Hazlehurst
dadc64e0d5
Extract SingleFile config so we can share with connector
2020-10-11 17:25:18 -06:00
Dan Stillman
479f01fa9c
Fix in-client SingleFile saving on Windows
...
https://forums.zotero.org/discussion/85538/zotero-5-0-91-beta-not-saving-snapshots-d672469174
2020-10-08 18:44:50 -04:00
Dan Stillman
71550deb98
Fix URL resolving during translation in Zotero client
...
Regression in c0b6712923
The URL constructor isn't available in XPCOM.
2020-10-05 23:38:28 -04:00
Dan Stillman
d3c481fcf6
Fix bundled attr() when attribute doesn't exist
...
Regression from 4efc0af119
2020-10-05 23:36:06 -04:00
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