Commit graph

9873 commits

Author SHA1 Message Date
Miodec f5685a6061 fix(quotes): user reports 2023-10-17 11:49:26 +01:00
Miodec 0ff3c5bada impr(british english): added "apologised" 2023-10-17 11:49:26 +01:00
Aaron 3a4d8effdb
fix(server): rework 'revoke all tokens' flow (hattorius) (#4717)
* Remove tokens from cache

* Async method not necessary

* Whoops

* Better naming

* smol name change

* uncomment settings section

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-10-16 16:57:14 +01:00
Miodec d8a4dbac94 impr: renamed timer/progress to live progress 2023-10-16 15:11:29 +01:00
Miodec 60a0ea9347 impr(language): added program and public to english 1k 2023-10-16 14:06:07 +01:00
noamvokaal ea4428c716
impr(quotes): add Swedish quotes (noamvokaal) (#4718)
* Added swedish quotes and corrected a few.

* Corrected quote length on quote 29 and 30.

* Replaced quote 99 and 114.

* Replaced quote 89, 93 and 94.

* Added Swedish quotes

* Corrected a quote

* Removed a non-Swedish word

* Corrected quote length of quote 144
2023-10-16 14:03:26 +01:00
Miodec 8f8872b522 impr(result): not automatically showing words for long tests
This should get rid of the lag that comes with loading a lot of word elements
2023-10-13 11:45:27 +01:00
Miodec d355b36cb9 fix(quote): report 2023-10-12 11:16:06 +01:00
Miodec 5a2250c3f5 fix: show average showing decimals even if decimals are disabled 2023-10-11 14:39:36 +01:00
Miodec 8852c592f7 chore: release v23.41.0 2023-10-11 13:21:36 +01:00
Miodec 1da5c5ed2d fix(quotes): user reports 2023-10-11 12:00:13 +01:00
Miodec 268e311290 build: add theme name and filename validation 2023-10-10 11:45:21 +01:00
Christian Fehmer 0f6884a5be
impr: detect development mode based on config instead of window.location (fehmer) (#4703)
* impr: detect development mode based on config instead of window.location

* Allow access to /configure on the backend using non-local ip

* Use webpack define plugin

* take BACKEND_URL from env
2023-10-09 18:46:40 +01:00
Cucumberrbob e9c25f7b15
impr: add emphasise and related words to British English (Cucumberrbob) (#4704)
* Add `emphasise` and related words to British English

* add missing comma

---------

Co-authored-by: Jack <jack@monkeytype.com>
2023-10-09 18:27:14 +01:00
Miodec 0c3b6e4d8c impr(funbox): rework backwards funbox
closes #4711
2023-10-09 18:07:07 +01:00
Miodec 2fabaddb1d fix(result): pb crown sometimes being shown when it shouldnt have
closes #4710
2023-10-09 17:41:58 +01:00
Miodec 876b882834 impr(about): showing decimal places for typing stats if the number is small
Also no longer always showing millions - order of magnitude is now dynamic.
2023-10-09 13:36:08 +01:00
github-actions[bot] cf2ff913eb
Prettier fix (#4708)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-10-07 21:02:58 -04:00
riso e9ebca6174
feat(language): add English Shakespearean (risograph) (#4680)
* Add Shakespearean English

* Update _groups.json

* Fixes

* remove duplicate

* add comma. oops.

* Add requested changes

- Renamed lang
      - `shakespearean_english` >> `english_shakespearean`

- Added lang to `english` group
- Moved land under `english` group in list
2023-10-06 12:20:10 +01:00
orionsource 8f2d61c526
impr(quotes): add 6 french quotes (oriionn) (#4699)
* impr(quotes): Add 6 Orelsan's Quotes

* Update french.json
2023-10-06 12:09:24 +01:00
Miodec 5373984ec9 fix: old safari versions not being able to load the site due to using unsupported regex 2023-10-05 10:19:17 +01:00
Sanidhya Singh 82a24e4ee7
refactor(profile): notify that fields are too long before making a request to the server (sanidhyas3s) (#4694)
* impr: check profile length before sending to server

Length checks for GitHub and Twitter are now made before
sending server requests. Notification for the same is
displayed to the user.

Closes #4653

* the tiniest of nitpicks

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-10-03 13:20:51 +01:00
Miodec 84327f9028 chore: fix quote length script 2023-10-03 13:20:10 +01:00
Miodec 18a3ca5259 build: update version format 2023-10-03 13:15:56 +01:00
Miodec deca5c587f fix(quotes): user reports 2023-10-03 13:14:47 +01:00
Miodec 64904f0c3a chore: hide section which is not working at the moment 2023-10-03 12:58:56 +01:00
Sanidhya Singh 4e9285af41
chore: add notification for automatically turning off auto switch theme (sanidhyas3s) (#4687)
extending on #4677
2023-10-03 12:27:46 +01:00
Yen Cheng 7708f624bc
chore: fix nord.css syntax error (ridemountainpig) (#4693) 2023-10-03 12:24:38 +01:00
Miodec d8a80d8218 fix(themes): custom themes not working 2023-10-02 18:10:29 +01:00
Miodec 8e2dff43be chore: add alternative config schema for the transition period 2023-10-02 17:48:37 +01:00
Miodec fc1e646a02 chore: release v23.40.1 2023-10-02 17:30:46 +01:00
Miodec c6babffe8a fix(language): remove duplicate from bangla 2023-10-02 17:27:58 +01:00
Miodec b54cac985f fix(language): remove duplicates from bangla 10k 2023-10-02 17:26:07 +01:00
Miodec e977b7c09b fix: handling of newline and tab characters in quotes and custom mode
Fixed an issue where escaped newline and tab
characters were still replaced with actual new lines.
This required changing every escaped or double escaped new line character
to be replaced with an actual new line character.
Then, escaped newlines can remain escaped, meaning they will now appear as normal text.
Also updated length params of affected quotes.

Closes #4674
2023-10-02 17:19:02 +01:00
Miodec d6d9935883 fix: normalize bangla word lists to resolve typing issues
Should close #4468
2023-10-02 16:40:15 +01:00
Miodec d56850fc24 fix(funbox): layoutfluid not working correctly in some cases or with 2 layouts 2023-10-02 16:26:30 +01:00
Miodec 73aca5b570 refactor: replace underscores 2023-10-02 16:25:51 +01:00
W0LFB0MB fa01558876
impr(sound): add support for various error sounds (W0LFB0MB) (#4679)
* Add files via upload

* Delete frontend/static/sound/error/triangle.wav

* Delete frontend/static/sound/error/damage.wav

* modified error sound code to support multiple sound options and added two error sound alternatives

* added compatability for previous users of the error sound, converts legacy true/false config values to 1 or off

* fixed opiton names and values in commandline

* fix: auto switch theme behavior & footer theme indicator (#4677)

* fix: auto switch theme behavior & footer indicator

Changing manually to a preset or custom theme now
turns auto switch theme mode off with a notification.
And now the auto switch mode does override the custom
theme as well (statement in settings also updated) if it
is the later one set.
Fixes #4659, that is the footer theme is now correctly
displayed with auto switch themes as well.

* removed unnecessary function

---------

Co-authored-by: Miodec <jack@monkeytype.com>

* fixed off config value

* moved compatibilty code to replaceLegacyValues

---------

Co-authored-by: Sanidhya Singh <sanidhyas3s@gmail.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2023-10-02 16:09:30 +01:00
Ehan 426694afa1
impr(themes): update nord and purpurite (ehanahamed) (#4668)
* Update nord theme

* Update purpurite (now "purpleish") theme

* Update theme list

* Update Purpleish theme

* Update nord theme
2023-10-02 15:42:25 +01:00
JAY TAILOR d2a6b896ee
impr(commandline): scroll active entry into view when searchbar is empty (JayTailor45) (#4663)
* fix: language selection scroll into view behaviour

* impr: improve animation logic

* impr: display selected language to center

* impr: add background hover for selected language

* impr: reuse existing keepActiveEntryInView function
2023-10-02 15:31:50 +01:00
Remilia Alucard 6096b0cde1
impr(quotes): add guilty gear quote (remalucard) (#4682)
* fixed quote?

* why

* why is this such a pain

* please just work

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-10-02 15:30:43 +01:00
aikoo7 c19db19a45
impr(quotes): add 6 quotes (aikooo7) (#4675) 2023-10-02 15:17:45 +01:00
Sanidhya Singh 5844f1da5a fix: auto switch theme behavior & footer theme indicator (sanidhyas3s, miodec) (#4677)
* fix: auto switch theme behavior & footer indicator

Changing manually to a preset or custom theme now
turns auto switch theme mode off with a notification.
And now the auto switch mode does override the custom
theme as well (statement in settings also updated) if it
is the later one set.
Fixes #4659, that is the footer theme is now correctly
displayed with auto switch themes as well.

* removed unnecessary function

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-10-02 13:48:26 +01:00
Miodec 59be910857 refactor: swap button placement 2023-10-02 12:02:12 +01:00
Miodec 47e10de46e fix(result): words history being stuck on the same words 2023-09-28 19:49:47 +01:00
Miodec fcaf0d1da4 fix: keymap disappearing after one test 2023-09-28 17:45:33 +01:00
Miodec 9f1f53aa89 fix(typing): old safari versions deleting whole word when pressing backspace once(?????) 2023-09-28 16:55:34 +01:00
Miodec 08c6b2b4da fix(quotes): quote reports 2023-09-28 13:00:12 +01:00
Miodec 6667fe53ba refactor: add error logging to analytics 2023-09-28 12:32:36 +01:00
Miodec e0bb96e008 refactor: test config
- added function which instantly loads current state and updates dom (used when showing test page)
 - focus is applied through main instead of by directly adding and removing a class
 - reworked performance by storing dom elements
 - improved animation smoothness by grabbing actual width of punc and num
 - removed unused code
 - not updating when not on the test page
2023-09-27 23:00:17 +01:00