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
A1lo
c9c373854c
correct the value of the private field in package.json ( #4870 )
2024-11-28 00:00:58 -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
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
Pomelo Orange
ad676adbbb
fix: symlink has no referent: "xxx/zotero/build/resource/pako.js" ( #3397 )
2023-09-06 03:21:11 -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
b80b19d3da
Update version in package.json
...
(Makes no difference, but echoed in test output)
2023-04-29 17:39:08 -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
ae0091fbae
Rename scripts folder to js-build
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
Tom Najdek
2820add3d1
Add bulk folder import #2252
2023-03-21 20:38:39 +01: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
afac621611
Update ESLint config
2022-09-22 00:20:56 -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
Dan Stillman
dc60e5f840
HTTP.request() improvements
...
- Move 5xx retries and connection checking out of the sync API client
and into HTTP.request() so that they apply to all requests. 429 handling
remains in the API client, since not all callers necessarily want to
handle that the same way. Callers can still handle 5xx themselves by
including the relevant 5xx status codes in `successCodes` or by passing
`errorDelayMax: 0`.
- Add `cancellerReceiver` option, which is a callback that receives a
function that will cancel the request, whether it's an active request
or an automatic delay before a 5xx retry.
This also updates Sinon to 7.3.2.
2019-09-16 01:26:34 -04:00
Dan Stillman
8c59df435f
Fx60: Fix snapshot filenames
...
nsIURL doesn't seem to work anymore, so add Zotero.Utilities.parseURL(),
which uses the `url` package from NPM and adds fileName, fileExtension,
and fileBaseName.
2019-08-27 00:47:39 -04:00
Dan Stillman
8670718ffa
Update node-sass for Node 12
2019-08-22 00:29:29 -04:00
Dan Stillman
2b57bd8206
Update ReactDOM to support hooks
2019-07-17 03:06:15 -04:00
Dan Stillman
5b9b39dfb7
Update eslint config to 1.0.3
2019-06-12 00:31:47 -04:00
Dan Stillman
2dce15c35c
Update eslint config version
2019-06-11 04:44:57 -04:00