Commit graph

1864 commits

Author SHA1 Message Date
Miodec 026f6667f0 renamed image to purge cache 2022-11-08 12:45:48 +01:00
Miodec e180627daa fixed banner not showing up on pages other than root 2022-11-08 12:45:48 +01:00
Micha 192cd999ca
Open prevent redirect to /profile/undefined when going to the page of a non-existing profile(#3725) FurriousFox
fix it automatically changing the url in the url bar (which gets requested if someone reloads the page) to https://monkeytype.com/profile/undefined (which apparently is already the username of an existing user) when going to the profile of a non-existent user (for ex. https://monkeytype.com/profile/dfjksahjkadfsjhkasfhjkadhjksf )
2022-11-08 12:27:16 +01:00
Miodec d8b5f818c7 fixed alerts not escaping html 2022-11-07 18:47:18 +01:00
Miodec 589d705f1e escaping website 2022-11-07 18:33:37 +01:00
Miodec 1e22daea1c escaping html 2022-11-07 18:31:54 +01:00
Miodec c2cbc8752d optimised images 2022-11-06 18:50:49 +01:00
Miodec 2c82ce65c0 removed unused image 2022-11-06 18:29:12 +01:00
Miodec 40ed27ebdb chaged color 2022-11-06 18:28:56 +01:00
Miodec bfa431f271 generic merch banner 2022-11-06 17:44:42 +01:00
pyxan b308b7a561
Add polish 5k, 10k, 20k, 40k (#3717) pyxan 2022-11-04 13:51:20 +01:00
Miodec 3667e7630b not precaching so aggressively
using runtime caching instead using a stale while revalidate strategy
caching webfonts with cache first since they will very rarely change
2022-11-03 15:31:37 +01:00
Miodec de1009fc07 added link onerror handler 2022-11-03 15:29:48 +01:00
Miodec a5668c1820 removed old sw file 2022-11-03 13:55:30 +01:00
Miodec 3bf3aacce4 optimised images 2022-11-03 12:41:47 +01:00
Miodec 238a23718e removed unused image 2022-11-03 12:41:47 +01:00
Miodec a3456334d7 removed unused image 2022-11-03 12:41:47 +01:00
Miodec ab95a125dd optimised 404 meme image
using jpg
smaller size
2022-11-03 12:41:47 +01:00
carnivoroustoad c83bec9adb
Adding kazakh_1k (#3714) carniovoroustoad
* Adding kazakh_1k

* Adding kazakh_1k to groups

* adding kazakh_1k to list

* Removing duplicates from kazakh_1k
2022-11-03 11:59:02 +01:00
Miodec 53e8902724 fixed a bug where emulator sync, layout default and opposite shift keymap would cause errors 2022-10-31 19:10:47 +01:00
Miodec 43a6625fba fixed active theme check not showing on the commandline 2022-10-31 17:16:14 +01:00
Miodec 54264da201 fixed read ahead forcing highlight mode letter 2022-10-31 17:10:02 +01:00
Prajwal Raj Basnet a8b4fa348b
Hide favourite quote button for unauthenticated user (#3709) Prajwalrajbasnet
* Hide favourite quote button for unauthenticated user

* pretty fix

* hiding favorite button a bit later

* hiding favorite button by default
removed unnecessary auth import

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-31 14:49:25 +01:00
Miodec a6990f6ce0 moved german into its own language group
requesting german quotes when swiss german is the active language
replacing ß with ss
closes #3699
2022-10-31 14:09:46 +01:00
Miodec c7c5100df4 added supporter 2022-10-31 12:59:12 +01:00
Sokrates 8da9807605
Kratesv nynorsk words (#3705) kratesv
* Create norwegian_nynorsk.json

* Update norwegian_nynorsk.json

typo

* Update norwegian_nynorsk.json

* Update _groups.json

* Update _list.json

* Update norwegian_nynorsk.json

* Update norwegian_nynorsk.json

* Update _list.json

* Update _groups.json

* Rename norwegian_nynorsk.json to norwegian-nynorsk.json

* Rename norwegian-nynorsk.json to norwegian_nynorsk.json

* Update _groups.json

* Update _list.json

* Update norwegian_nynorsk.json

* Update norwegian_nynorsk.json

* Update norwegian_nynorsk.json
2022-10-31 12:58:34 +01:00
Prajwal Raj Basnet dbfb143b57
Add missing nepali quote of thicc quote length (#3706) Prajwalrajbasnet 2022-10-31 12:30:08 +01:00
carnivoroustoad 156d8a37e4
Adding Romanized Persian (written in English characters) support (#3700) carnivoroustoad
* Adding romanized persian support

* Adding romanized persian

* Adding romanized persian
2022-10-31 12:18:48 +01:00
Miodec a84aa8deb6 added supporter 2022-10-31 02:15:35 +01:00
Miodec d4edd433cf removed unused code 2022-10-31 01:10:35 +01:00
Miodec eddad02ca5 save exact 2022-10-31 01:00:04 +01:00
Miodec 593fdb5f92 code. nothing to see here, move on 2022-10-31 00:45:46 +01:00
akp b6d17d64ee
Fixed #2361 (#3695) aungKhantPaing
* fixed #2361

Fixed command line input bug on android

* Update frontend/src/ts/commandline/index.ts

* Update frontend/src/ts/commandline/index.ts

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
2022-10-30 23:02:22 +01:00
Miodec 5cef5d0cbc allowing the user to close the unexpected server down time banner 2022-10-30 22:59:19 +01:00
Bruce Berrios 1eb71dc517
Add memoize async util (rewrite get json lists in misc) (#3596) Bruception Miodec
* Add memoize async util

* Stricter types

* type cast

* added getjson function

* removed unnecessary code
removed comments

* ignoring cache if value is undefined

* checking if layouts list exists

* messed up merge

* checking if layouts exist

* throwing if layouts list or layout is undefined

* catching in case layouts or layout is undefined

* catching in case layouts list or layout is undefined

* breaking in case layouts list is undefined

* showing a message if layout list is undefined

* removed console log

* themes list can return undefined

* removed catch from fetch json

* getlayoutslist no longer can return undefined

* console logging then throwing again

* rethrowing with a different message

* try catch

* catch

* try catching

* try catching

* typo

* url fix

* moved definition up

* moved functions up

* moved functions up

* removed unnecessary update

* catching errors

* updated return type
not returning

* try catching

* updated return type
throwing if list ends up undefined

* removed return

* moved functions up

* try catching

* checking if not undefined

* removed unused file

* try catching

* try catching

* rewrote language getting

* rewrote funbox

* try catching

* notification instead of console error

* notification instead of console error

* rewrote fonts

* rewrote challenges

* try catch

* typo

* rewrote contributors and supporters

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-30 22:53:24 +01:00
Miodec cbdfb732a1 showing decimal places on the pb table if they are enabled
closes #3696
2022-10-30 00:37:53 +02:00
Miodec 4f791f2060 updated contributors list 2022-10-29 16:45:46 +02:00
Miodec 8389970963 fixed moonlight sub alt color being the same as background 2022-10-27 19:22:43 +02:00
Miodec b1e2fd57d0 limited merch banner 2022-10-27 18:30:03 +02:00
EMRD95 73d0d88aeb
French 630k (#3687) EMRD95 2022-10-26 23:35:47 +02:00
Miodec 67dc086b5a found a good value 2022-10-26 19:18:59 +02:00
Miodec 820ef70ed9 removed todo 2022-10-26 19:15:44 +02:00
Miodec 5ebd050e9c fixed accouracy being rounded in some places instead of floored
closes #3683
2022-10-26 19:12:41 +02:00
Miodec 9b678eb1b9 unly updating keymap when needed
also calling refresh when updating keymap mode
2022-10-26 15:41:02 +02:00
Miodec dc02c21c79 refreshing keymap before showing test page 2022-10-26 14:58:39 +02:00
Miodec 964ce3379f removed console log 2022-10-26 14:55:50 +02:00
Miodec 3d2057e177 pushing actual bucket before filling the empty ones 2022-10-26 14:02:20 +02:00
Miodec ea63e73b61 using correct variable 2022-10-26 14:01:56 +02:00
QuackerDeezles ab008110bb
New Language: "lorem ipsum" by me (#3681) QuackerDeezies
* New language: english doubleletter -> A 200-word list only including words that have the same letter used consecutively.

* english doubleletter error, comma syntax fixed!

* english doubleletter -> english_doubleletter

* A list of roughly 200 lorem-ipsum type words generated by AI bots!

* renamed file

* removed duplicates

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-25 14:03:52 +02:00
CoolerFred d9ee92770e
Added some cool deep quotes... (#3676) CoolerFred
* Added some cool deep quotes...

* Fixed a SMALL typo

* Fixed TWO small typos

* fixed length

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-25 14:01:14 +02:00