Commit graph

75 commits

Author SHA1 Message Date
Dan Stillman
2c2b6fe171 Update package-lock.json 2026-01-29 13:22:13 -05:00
Dan Stillman
5fa92f87fe Update package-lock.json 2025-12-24 13:24:38 -05:00
Tom Najdek
6bf4c371fc
Upgrade ftl-tx. Fix #5671. 2025-12-20 02:22:23 +01:00
Abe Jellinek
afc02141ce
Replace CSL validator with reproducible WASM build (#5525) 2025-08-29 00:40:41 -04:00
Dan Stillman
f81763b173 Remove Chai as Promised
A test using `assert.eventually` was failing after the Bluebird removal
but worked with just `await`, and since there hasn't really been much
point to Chai as Promised since the introduction of `async`/`await` ages
ago, just remove the library instead of figuring out why.
2025-07-30 22:31:08 -04:00
Abe Jellinek
8d0923f119 fx140: Remove Bluebird
All module code runs in strict mode, and that breaks Bluebird.

And add a partial shim for the simplest and most useful methods. Not
sure if we actually want that, or if we should just replace it entirely
with native methods.
2025-07-30 22:18:35 -04:00
Abe Jellinek
650be7d350
Scaffold code completion (#5171) 2025-04-09 00:36:22 -04:00
Dan Stillman
52c342b697 Update ESLint and Babel
Updated ESLint is necessary for flat config changes from 54db192be8
2025-01-09 03:11:01 -05:00
Dan Stillman
54db192be8 Update eslint config to new flat config format
https://eslint.org/docs/latest/use/configure/migration-guide
2025-01-02 01:31:31 -05:00
Tom Najdek
7c1eb0c3f1
Fix localize-ftl crashing in certain cases #4773 (#4775)
* Tweak the script to use `en-us` `.ftl` files as the source of truth.
* Update `ftl-tx` to a version that can handle referencing terms with arguments.
2024-10-23 01:30:58 -04:00
Tom Najdek
46bdf3805f
Localization: Fix a bug when dealing with terms with references
Updated ftl-tx to a version that includes this fix.
2024-10-18 01:29:05 +02:00
Tom Najdek
bb6085bbe0
Fix strings without literals included in ftl json. Fix #4759
Updated ftl-tx to a version that includes this fix.
2024-10-17 15:40:44 +02:00
Tom Najdek
04dbe51280
Fix localize-ftl crashing when attribute is removed. Fix #4583
Updated ftl-tx to a version that includes this fix.
2024-08-18 11:35:30 +02:00
Tom Najdek
214a668286
Trim plural/selector variants in ftl-to-json
Updated ftl-tx to a version that includes this fix.
2024-08-07 11:41:37 +02:00
Tom Najdek
4bdbc1a2fe
Trim whitespaces in JSON from Transifex
Updated ftl-tx to a version that includes this fix.
2024-08-07 09:47:09 +02:00
Bogdan Abaev
4e0c89b352 react 18.3.1 updated dependency (#4338) 2024-07-10 01:04:17 -04:00
Dan Stillman
6757c586ea Update package-lock.json with newer caniuse 2024-06-23 05:10:03 -04:00
Tom Najdek
b9f0d26cee
Improve ftl localization scripts 2024-06-21 15:40:10 +02:00
Tom Najdek
936044b01f
Skip var-only and term-only messages in ftl-to-json 2024-06-19 17:01:46 +02:00
Tom Najdek
b7244998a1
Few fixes to ftl-to-json and localize-ftl scripts (#3707)
* Omit msg-ref-only strings from Transifex JSON
* Fix msg-ref-only strings not included in translated .ftl files
* Update ftl-tx. Simplify localize-ftl script.
* Tweak FTL -> JSON conversion to produce a single file
2024-06-18 06:34:17 -04:00
Abe Jellinek
ba32c764a2 Update monaco-editor
A bit faster and smoother, plus sticky headers.
2024-04-12 13:12:30 -07:00
Dan Stillman
b443508b2f Update Mocha 2024-04-08 03:09:46 -04:00
windingwind
7da00957ef Unify tab bar on Windows/Linux 2024-01-24 04:03:12 -05:00
Abe Jellinek
40b30f2b63 Update package-lock.json
After ad676adbbb
2023-09-07 13:39:52 -04:00
Dan Stillman
9303b22661 Update eslint config to 1.0.8 2023-08-02 06:38:35 -04:00
Tom Najdek
afaf0b4968 Add scripts to convert ftl to/from Transifex JSON (#3058) 2023-05-29 22:46:24 -04:00
Dan Stillman
787002bf7d Update caniuse 2023-04-28 01:53:56 -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
9a68867d42 Update react-virtualized to 9.22.4
Fixes #3055 for now
2023-04-13 00:54:23 -04:00
Dan Stillman
94f5f7a3c4 Update package-lock.json 2023-04-01 04:47:36 -04:00
Abe Jellinek
384d4ace7e
fx-compat: Remove most Babel plugins (#2855)
We still need `babel-plugin-transform-es2015-modules-commonjs`, but everything
else is redundant in fx102 and mangles output code unnecessarily.
2022-10-06 18:53:07 -04:00
Dan Stillman
d758d41e56 Update package-lock.json 2022-10-03 06:47:17 -04:00
Dan Stillman
0655d4350e Update package-lock.json 2022-08-22 01:15:21 -04:00
Abe Jellinek
9a2e98360a fx-compat: Scaffold: Update Monaco
Now that we can. Quite a bit faster and more customizable.
2022-06-08 17:38:59 -05:00
Dan Stillman
e98a80c803 Update Bluebird 2022-05-12 05:18:47 -04:00
Abe Jellinek
5409ae3313 Overhaul Scaffold (#2293) 2022-03-02 22:36:04 -05:00
Dan Stillman
1c7973c157 Update Babel and ESLint 2021-12-23 04:58:11 -05:00
Dan Stillman
6e0bc58052 Upgrade to React 17
And update other React dependencies
2021-12-23 01:18:22 -05:00
Adomas Ven
44b6cd0525
citeproc-rs support (#2220)
Disabled under zotero.cite.useCiteprocRs by default
2021-12-15 17:28:41 -05:00
Dan Stillman
21df5d12b7 Add @babel/plugin-proposal-unicode-property-regex
Can now use Unicode property escapes in regular expressions

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Unicode_Property_Escapes
2021-08-22 04:07:33 -04:00
Dan Stillman
4021492797 Babel: Add support for optional chaining
https://babeljs.io/docs/en/babel-plugin-proposal-optional-chaining
2021-08-17 00:41:59 -04:00
Dan Stillman
dfb32fd098 Update to 1.0.6 of the ESLint config 2020-12-24 02:57:57 -05:00
Fletcher Hazlehurst
36d81e839c Use ace-builds NPM package 2020-12-18 10:45:38 -07:00
Tom Najdek
67f4b5254c
Switch to pure js sass compiler 2020-10-30 13:15:30 +01:00
Dan Stillman
e9473caa14 Update node-sass to 4.14.1 2020-08-11 03:55:54 -04:00
Dan Stillman
bfceb10e03 Update 'colors' package
On the off chance a problem in the older version caused #1763
2019-12-23 05:01:17 -05:00
Dan Stillman
bfe3f7ebf9 Update node-sass for Node 13 2019-11-21 22:38:41 -07:00
Dan Stillman
5791ffeb16 Reactify item tags box
Improvements:

- Fixes autocomplete text remaining in field after selection in Fx60
- No more text or icon shifting on select (tested on macOS)

Changes:

- Tags are now selected on mousedown with no active state, as in web
  library

Regressions:

- Tooltip with tag type doesn't appear when hovering over icon
- Pressing Tab after modifying a tag loses focus
- Right-click in textbox shows custom menu instead of default text
  editing context menu (Cut/Copy/Paste)

To-do:

- Switch to this version for note tags box
- Style colored tags in autocomplete drop-down? Sort to top?
- Only show delete button on row hover, as in web library?
2019-11-08 06:41:06 -05:00
Dan Stillman
513f7d6555 Fx60: Fix localization
Also fixes #1690 (at least on Catalina), and possibly other things

general.useragent.locale and intl.locale.matchOS are no longer used.
2019-10-23 19:08:13 -04:00
Dan Stillman
d4f682aa88 Merge branch 'fx60' 2019-10-21 21:44:01 -04:00