Commit graph

11320 commits

Author SHA1 Message Date
Miodec 6e9e1e721d fix: thai ligature rendering 2024-08-05 17:52:50 +02:00
Jack 3568818b44
ci: run time improvements (@miodec) (#5730)
* rebuild trigger

* sparse checkout

* trigger

* triggeeeer

* fix syntax

* checkout

* revert triggers

* build fail

* revert fail

* prettier on changed files

* prettier trigger?

* missing step, missing packages checkout

* broken prettier

* prettier fix

* revert

* remove unused steps

* only install prettier for the prettier step

* trigger

* revert

* be trigger

* exact version

* v7

* revert
2024-08-05 16:24:34 +02:00
Miodec 7306cf8a9f feat: last signed out result modal
the website will now show the last signed out result
and ask the user if they want to save or discard it
(instead of always saving)
2024-08-05 14:28:31 +02:00
Miodec ddebf57454 impr: add "student" to education email regex
!nuf
2024-08-05 12:46:41 +02:00
Miodec de79d469cb impr: add email typo to the list
!nuf
2024-08-05 12:44:28 +02:00
Miodec cbd6725ad6 refactor: move pb crown aria-label text update to a function 2024-08-05 12:41:27 +02:00
Miodec f0441e2b66 chore: remove unused code 2024-08-05 12:26:45 +02:00
Miodec 7b7b1c86ea fix(pb crown): incorrect class names causing ineligible warning or pending state to not show 2024-08-05 12:13:56 +02:00
Adam Sasine b26cb887e4
feat(funbox): add hexadecimal (@asasine) (#5724)
* feat(funbox): added hexadecimal

* missing list definition

* lower max to 4

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-08-05 10:53:03 +02:00
Christian Fehmer 4a55db5284
fix: csp preventing new documentation unable to display logo (@fehmer) (#5719)
!nuf
2024-08-05 10:38:06 +02:00
Miodec fb45f05c3f chore: missing min string length causing firebase to throw errors 2024-08-05 10:34:13 +02:00
Miodec 98108dead8 chore: fix lint warnings 2024-08-02 21:56:54 +02:00
Nad Alaba 738574ed33
impr(pace caret): add tags pb mode (@NadAlaba) (#5715)
* impr(pace caret): add tags pb mode (@NadAlaba)

* update modes notice when clear tags from commandline

* remove all mode because it grabs only 1k results

* short circuit tag.active

* update setting name

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-08-02 21:50:56 +02:00
amarnathsama 8c7ece3721
impr(settings): replace sound volume with a slider (@amarnathsama) (#5702)
* replaced sound volume settings with a slider

* used SettingsGroup instead of custom class, minor css change

* use common structure, remove css

* notify if sound volume is out of range

* command input goes from 0 to 1

* fix test

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-08-02 21:15:40 +02:00
Jefferson Michael c791156848
feat(languages): add portuguese 320k and 550k (@jeffersonjpr) (#5698)
* feat(languages): add portuguese 320k and 550k (@jeffersonjpr)

* run prettier, ignore pnpm yaml files

---------

Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-08-02 14:13:31 +02:00
266-750Balloons a3661ec894
impr(quotes): add star trek quotes (@266-750Balloons) (#5705)
* Add Star Trek quotes from under-represented series

* Fix spelling mistake added by profanity filter

---------

Co-authored-by: Dexx Stexx <dchosen1uno@gmail.com>
2024-08-02 14:12:02 +02:00
Miodec 8527b33b06 impr: remove ñ from lazy mode replacements
this character is always available on the keyboard, not hidden in a layer or a dead key
2024-08-02 11:11:52 +02:00
Miodec 3b16d2fde8 chore: release v24.31.3 2024-08-02 11:03:41 +02:00
Miodec 9972e9d39f chore: fix dirname not defined in nodejs modules 2024-08-02 11:02:40 +02:00
Jack fe50fe1659
fix(frontend api adapter): use abortcontroller.abort when abortsignal.timeout is not available (@miodec) (#5714)
* setTimeout approach

* better approach

* remove console log

* better polyfill check
2024-08-02 10:57:43 +02:00
Miodec b22e0a407d fix(caret): incorrect placement in tape mode: word 2024-08-02 10:50:33 +02:00
Nad Alaba feaff239f2
build(contracts): fix output paths for windows (@NadAlaba) (#5700) 2024-08-01 13:32:16 +02:00
Christian Fehmer 482de29460
fix: not being able to make requests on very old browsers (@fehmer) (#5711) 2024-08-01 13:30:03 +02:00
Christian Fehmer 8a09acd8d5
impr: use tsrest for ape-keys endpoint (@fehmer) (#5706)
!nuf
2024-08-01 13:29:25 +02:00
Christian Fehmer a6912d20af
impr(server): store some logs forever (@miodec) (#5708)
!nuf
2024-08-01 12:48:36 +02:00
Christian Fehmer c6550eb8df
impr(ci): verify pr titles include author name (@rizwanmustafa) (#5707)
!nuf
2024-08-01 12:48:12 +02:00
Nad Alaba 8bc47960ef
build(backend): activate inspector to allow attaching debugger (@NadAlaba) (#5704) 2024-08-01 12:47:07 +02:00
Miodec 3917cc4354 chore(eslint): add 2 rules 2024-07-31 20:23:30 +02:00
Miodec 981f9668c9 fix(caret): incorrect placement in tape mode 2024-07-31 18:16:39 +02:00
Miodec 9858d93dc2 fix(config): keymap size not persisting 2024-07-31 18:16:39 +02:00
Rizwan Mustafa 7a4db1ef9c fix(funbox): sometimes generating unrealistic ip addresses (@rizwanmustafa) (#5682)
* fix: fix ipv6 compression

* chore: remove console log

* fix: remove accidental removal of last colon

* refactor: change the IPv6 compression algorithm

* fix: fix problem in compression algorithm while handling one 16 bit 0 field

* chore: move function out into utils/misc.ts

* feat: Add unit tests for compressing ipv6 and move ip-addresses.ts from test to utils

* fix: add a new test case with port and fix compression algorithm

* chore: remove console log

* test: add test case for generation of ipv4 addresses

* chore: changed generation constant from 10 to 1k

* test: add unit tests for generating ipv4, and converting ip address to cidr

* fix: fix wrong upper value

* fix: fix wrong values

* fix: really fix the ranges

* chore: fix a NaN error in test due to compressed ipv6 address being passed
2024-07-31 18:16:39 +02:00
Miodec aa51668768 chore(deps): remove release-it 2024-07-31 18:16:39 +02:00
Miodec a4b0dc0495 impr(relase script): add no-verify to git commands
safe to do because we know what we do during the script and we verify there are no uncommited changes before running

!nuf
2024-07-31 18:16:39 +02:00
Miodec f91cff2e60 chore: release v24.31.2 2024-07-31 11:49:24 +02:00
Miodec b99ca031ec impr(release script): fix missing imports, incorrect path 2024-07-31 11:48:25 +02:00
Miodec f4d3380e0e impr(release script): check if local master is in sync with origin
!nuf
2024-07-31 11:41:15 +02:00
Miodec 25c6fa8340 chore: add custom release script 2024-07-31 11:38:04 +02:00
Miodec c74068a6af chore: remove console logs of failed lines 2024-07-31 11:37:57 +02:00
Miodec 7e32c78c15 chore: release v24.31.1 2024-07-31 10:39:27 +02:00
Miodec f86d6fcf1c fix: repeated tests that use pipe delimiter would not load correctly
closes #5685
2024-07-31 10:28:59 +02:00
Miodec 594db598da chore(deps): bump firebase version 2024-07-31 00:50:21 +02:00
Jack 2720c07664
chore: switch from npm to pnpm (#5690)
* pnpm

* v4, pnpm lock

* checkout, node setup

* cache dir

* path, name

* store path

* name

* setup pnpm, get store then check cache

* unnecessary if

* missing dependencies

* fix docker

* lock file name

* remove prop

* wip

* fix

* reduce image sizes

* save exact

* correct command

* lock

---------

Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-07-30 22:36:19 +02:00
Miodec 47438fa8d1 chore(lint): enable no unsafe return 2024-07-30 22:10:30 +02:00
Miodec 20c2fbc116 impr: school email detection regex
!nuf
2024-07-30 22:04:39 +02:00
Miodec e55cd7bcb6 style(cookie modal): fix incorrect text colors 2024-07-30 21:15:56 +02:00
Jack 1110248f7b
chore: upgrade node to 20.16.0 (#5688)
* nooOoOoOOoOoode

* ci

* nvm

* env is back baby, cache

* cache name, restore keys

* remove restore keys

* package lock

* conditional node setup

* unnecessary assertion

* update rule

* lock
2024-07-30 18:44:35 +02:00
Jack fe7a67d0fb
chore: add more eslint rules (#5687)
* duplicate

* no meaningless void

* no-unnecessary-boolean-literal-compare

* prefer includes

* fixes

* type cast

* ignore rule

* backend

* duplicate

* interface > type

* no-confusing-void-expression

* no-unnecessary-type-assertion

* extend plugin

* fix

* ignore
2024-07-30 18:17:58 +02:00
Christian Fehmer 6b9f4a0f18
chore: remove config from shared-types (@fehmer) (#5681)
* chore: remove config from shared-types (@fehmer)

* fix

* remove shared-types/user

* build before test

* fix

* add madge to contracts
2024-07-30 17:37:38 +02:00
Rizwan Mustafa 1164f4a114
chore: bump throttle-debounce to 5.0.2 (#5684) 2024-07-30 14:53:04 +02:00
Christian Fehmer 6c6e1529a2
impr: use tsrest for presets endpoints (@fehmer) (#5675)
!nuf
2024-07-30 12:58:22 +02:00