Dan Stillman
7ae79bbb98
egh's translator framework no longer needs to be unminified
...
Translators haven't been bundled with a Firefox extension since 2017, so
no need to unminify for review.
2023-04-26 04:40:22 -04:00
Dan Stillman
f5fcc9ee7b
"Zotero wiki" → "Zotero documentation" in app build README
2023-04-26 04:40:22 -04:00
Dan Stillman
fb2b874614
Add zotero-build repo as scripts
folder
...
Minus obsolete 4.0 files
2023-04-26 04:40:22 -04:00
Dan Stillman
a3d7b58b83
Add zotero-standalone-build repo as app
folder
...
Minus obsolete 4.0 files
2023-04-26 04:40:22 -04:00
Dan Stillman
ae0091fbae
Rename scripts
folder to js-build
2023-04-26 04:40:22 -04:00
Abe Jellinek
c07eccb468
Scaffold: Improve perceived translation speed
...
When translators do a lot of logging.
https://github.com/zotero/translators/pull/3022#issuecomment-1517291971
2023-04-21 13:38:42 -04:00
Dan Stillman
fb2d35c765
Better logging for changes to deleted
property
2023-04-21 06:51:41 -04:00
Dan Stillman
4a30dd2e4f
Fix potential sync error after Replace Online Library in group
...
https://forums.zotero.org/discussion/104431/syncing-problem
Replace Online Library can upload annotations created by others in a
group library, so if the upload resulted in a local write, "Cannot edit
item in library" was thrown, since annotations by others aren't
writable. This should've only been a problem if the uploaded data was
actually modified by the server, but we were also checking whether
objects were editable before checking if they had actually changed, so
it would happen for any upload of another person's annotation.
This fixes the order of checks when saving objects and makes an
edit-check exception for saving uploaded data for group annotations.
2023-04-21 06:51:25 -04:00
Abe Jellinek
c7d30ebde4
Allow disabling JavaScript in basic viewer ( #3089 )
...
And:
- Prevent JavaScript inside notes from executing in reports
- Update calls to openInViewer() to pass an options object
2023-04-20 15:50:57 -04:00
Dan Stillman
78a81f321a
Update utilities and translate submodules
2023-04-20 05:48:10 -04:00
Dan Stillman
6217cc9e89
Update connectorTypeSchemaData and test data for Dataset Number removal
2023-04-20 05:47:22 -04:00
Dan Stillman
1ec37ebcbf
Fix redundant Number on Dataset item type
2023-04-20 03:21:33 -04:00
Dan Stillman
f57c462b85
fx-compat: Don't use number as OS.Path.join()
argument
...
It's dropped silently from the path in Fx102.
2023-04-19 17:41:11 -04:00
Dan Stillman
8e46e2a4c1
Remove obsolete install.rdf from zotero-unit
2023-04-19 17:27:06 -04:00
Dan Stillman
7774cb7ffb
Update citeproc-js to 1.4.63
...
73bc1b44bc
2023-04-19 17:27:06 -04:00
Adomas Venčkauskas
a9937740c5
Fix classic citation dialog collection tree not working (regression b213b8f1
)
...
Report https://forums.zotero.org/discussion/104460/zotero-6-0-24-classic-add-citation-dialog-doesnt-show-collections-content
2023-04-19 15:26:24 +03:00
Abe Jellinek
83527d27fb
Preferences: Fix site settings delete button being disabled after click
2023-04-18 14:10:24 -04:00
Adomas Venčkauskas
50e780ad57
Fix broken citation dialog (regression 01b9a3c2
)
2023-04-18 14:51:16 +03:00
Abe Jellinek
a47a17852e
Fix feed item drag test's after() callback
2023-04-17 16:28:10 -04:00
Abe Jellinek
b222bbcccb
fx-compat: RemoteTranslate improvements
...
- Support removeHandler()
- Return DB items from translate() when called with libraryID
- Don't invoke done until attachments are done
Fixes #3084 ("after all" hook still times out, but that happens even if the test
is disabled)
2023-04-17 16:20:54 -04:00
Adomas Venčkauskas
096a3c5f2f
Add a test for feed update scroll issues. See fd744fb52
2023-04-17 12:30:31 +03:00
Dan Stillman
348083d287
Refresh Feeds row when feed unread count is updated
...
Regression from fd744fb526
2023-04-15 05:51:38 -04:00
Dan Stillman
2397940292
Use httpd.js instead of resource:// URL for feed item drag test
...
Since HiddenBrowser doesn't work on resource:// URLs (at least without
modifications, and it wouldn't be representative)
2023-04-15 05:07:47 -04:00
Dan Stillman
44f283c4a2
Update translate module
...
Missing from #2784
2023-04-15 03:38:08 -04:00
Dan Stillman
40fd9e8759
Fix test for opening the Cite prefpane when clicking Manage Styles…
2023-04-15 03:35:17 -04:00
Dan Stillman
085a271b6c
Update test prefs
...
Remove Firefox prefs and skip word processor integration installation,
which no longer depends on extensions being bundled.
2023-04-15 01:21:45 -04:00
Dan Stillman
2796e6c80a
Fix attachment tests that depend on HTML indexing
...
HTML files are now indexed instead of read directly, and indexing was
previous skipped in tests and otherwise performed on a delay, so set a
flag in the affected tests that triggers inline indexing.
2023-04-15 00:24:35 -04:00
Dan Stillman
d1ae009f57
Fix HTML indexing when using linkFromDocument()
2023-04-15 00:24:13 -04:00
Dan Stillman
b99e581929
Fix advanced-search tests
2023-04-15 00:24:02 -04:00
Dan Stillman
c81391b5b6
Fix Collection condition in Advanced Search (regression from 6b819e259c
)
...
The shadow root here is from xul:menulist, not one of our CEs.
2023-04-14 16:00:26 -04:00
Dan Stillman
033733122a
Merge pull request #2784 from AbeJellinek/fx-compat-loadDocument
...
fx-compat: Implement Scaffold functions, SingleFile, PDF redirects, and style installation
2023-04-14 15:07:26 -04:00
Abe Jellinek
893ad2bf62
fx-compat: Fix PDF and style interception
2023-04-14 11:44:52 -04:00
Abe Jellinek
0612a9e6f5
fx-compat: Run translation and SingleFile in [hidden] browser
...
And replace loadDocuments().
2023-04-14 11:44:44 -04:00
Abe Jellinek
b2947aede0
fx-compat: Fix attaching CookieSandbox to a browser
2023-04-14 11:44:02 -04:00
Abe Jellinek
667058204d
fx-compat: HiddenBrowser: Fix destroy() and URI/path check
2023-04-14 11:44:02 -04:00
Abe Jellinek
4b99b2715d
fx-compat: HiddenBrowser: Add more options
...
- Make docShell properties configurable
- Allow requiring a successful HTTP status code
2023-04-14 11:43:48 -04:00
Adomas Venčkauskas
fd744fb526
Fix feed update refreshing, scrolling item and collection trees
...
Closes #2950
2023-04-14 15:23:01 +03:00
Dan Stillman
49b7e43c81
Zotero
→ { -app-name }
for some localized strings
2023-04-14 07:03:31 -04:00
Dan Stillman
d701b8db11
CI: Stop using --legacy-peer-deps
...
No longer necessary after react-virtualized update (#3055 )
2023-04-13 00:56:58 -04:00
Dan Stillman
9a68867d42
Update react-virtualized to 9.22.4
...
Fixes #3055 for now
2023-04-13 00:54:23 -04:00
Abe Jellinek
01b9a3c268
fx-compat: Fix <tab> keyboard nav, move CE imports to single file ( #2756 )
...
Having a single customElements.js file that we import everywhere we need it
helps with organization, and it gives us a single place to put things like the
<tab> fix.
We could switch to using setElementCreationCallback() like Firefox if the number
of imports gets out of hand, but the overhead right now should be small.
2023-04-12 23:09:40 -04:00
Dan Stillman
33ef7b1641
Prevent setting search .name
to empty value
...
Prevents bug in zotero-citation plugin (at least on macOS) from creating
a search that breaks syncing
We were already checking for a missing name in `saveTx()`, but the
plugin is saving the same search twice in rapid succession, the second
time without a name, and the second attempt clears the search object's
name value after the first save's `_initSave()` check and before its SQL
write. The second save fails, but the first save goes through without a
name, resulting in a sync error.
https://forums.zotero.org/discussion/104274/id-1702002152-cannot-sync
https://github.com/MuiseDestiny/zotero-citation/issues/31
2023-04-12 22:23:13 -04:00
Dan Stillman
cadfca7475
Set a default annotation color if not assigned
...
https://forums.zotero.org/discussion/104249/sync-issue-on-ipados
2023-04-12 22:23:13 -04:00
Abe Jellinek
b33d3ec799
Basic viewer: Open separate windows per URI ( #3081 )
2023-04-12 16:53:28 -04:00
Dan Stillman
8e6f33f045
Re-enable hardware acceleration
...
For all the people who turned it off to fix rendering problems in the
PDF reader due to Fx60
2023-04-12 06:14:50 -04:00
Martynas Bagdonas
6440a23f96
Fix PDF.js build script in pdf-reader
2023-04-12 11:51:27 +03:00
Martynas Bagdonas
e6e424836d
Update PDF.js in PDF reader
2023-04-12 11:15:46 +03:00
Martynas Bagdonas
5880d62000
Fix citation dialog opening from note editor
2023-04-12 11:14:56 +03:00
Abe Jellinek
e747c089fc
fx-compat: Basic viewer: Fix menus
...
- Add strings and items to previously empty and untitled Edit and Window menus
- Add basic context menu to the browser
2023-04-10 16:47:08 -04:00
Abe Jellinek
72ec5c64d9
fx-compat: Fix printing from basic viewer
...
Fixes #3071
2023-04-10 16:09:06 -04:00