Commit graph

10138 commits

Author SHA1 Message Date
Miodec
a129c98323 chore: testing swapped order 2023-11-30 13:47:36 +00:00
Miodec
bc56cbc9e1 impr: blocking quick restart for long tests on result page
Quick restart is already disabled for long tests during the test.
This also disables it on the result page,
to make sure the user really wants to close
the result after a long time typing.
2023-11-30 13:29:02 +00:00
Christian Fehmer
bd2d360fc2
impr: remove unnecessary rest call to users/tags (fehmer) (#4826) 2023-11-30 13:22:12 +00:00
Miodec
6c3cfe0ff4 impr: keep a list of ips that accessed the account
part of #4490
2023-11-30 13:04:36 +00:00
Miodec
25b1ecbe15 impr: reduce number of db calls by adding a caching parameter 2023-11-30 13:04:36 +00:00
Christian Fehmer
3adbdf2cdb
impr: replace body based authorization in dev mode (fehmer) (#4821)
* impr: add authorization header Uid in favour of authorization on with body on dev (fehmer)

* refactor dev mode detection
2023-11-30 12:58:28 +00:00
Christian Fehmer
e426cb3fc2
fix: leaderboards missing raw and consistency (fehmer) (#4822) 2023-11-30 12:13:26 +00:00
Miodec
6f7900a868 refactor: remake aggregate to allow for an index to be added in the future 2023-11-29 16:07:49 +00:00
Miodec
5e350274f8 feat(layout): add japanese hiragana 2023-11-29 13:18:54 +00:00
Miodec
004977a895 style: reduce media query margin 2023-11-28 15:36:26 +00:00
Miodec
70ea09ac45 style: fix extra empty space at the bottom of the settings page 2023-11-28 15:32:20 +00:00
Miodec
afbdc96c7a style: center align tip on the settings page 2023-11-28 15:31:42 +00:00
Miodec
d6f7f77feb refactor: agent log ips can no longer be an array 2023-11-28 15:02:21 +00:00
Moon
0bbfbb48a3
docs: fix typos and grammar (LifeAdventurer) (#4818) 2023-11-28 14:13:04 +00:00
Saccadence
dc0e52a383
impr(quotes): add english quote (Saccade) (#4816) 2023-11-28 13:20:42 +00:00
Miodec
022e8d843f chore: remove more possible false positives 2023-11-27 16:49:53 +00:00
Miodec
de191141f0 fix(custom text words filter): dropdowns remaining visible after closing popup
closes #4811
2023-11-27 14:41:10 +00:00
Miodec
1d29929438 impr(custom text): not allowing empty custom text 2023-11-27 14:27:30 +00:00
Miodec
779ec58dab refactor: use button elements instead of divs
also use data- prefix for custom attributes
2023-11-27 14:19:21 +00:00
Samuel Breznjak
9a74bf692e
feat(language): add serbian latin (ekmas) (#4815)
* feat: added latin variation of serbian language

* fix: renamed serbian to serbian_cyrillic

* fix: added both variations to groups and list

* fix: added _ and fixed spelling

* fix: renamed serbian_cyrillic to serbian
2023-11-27 13:17:12 +00:00
FortPile
4fa6647b9c
fix(funbox): fix Wikipedia funbox sometimes producing double spaces (FortPile) (#4814)
* fix: prepone non-ascii characters removal

* also replacing fancy symbols

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-27 13:16:27 +00:00
Miodec
f0e26b5491 fix(quote): quote report 2023-11-27 13:06:42 +00:00
github-actions[bot]
de50b67147
Prettier fix (#4812)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-11-27 12:56:52 +00:00
Christian Fehmer
bd2058fae0
fix: crt mode not working on some buttons (fehmer) (#4810)
- apply box-shadow on buttons
- fix lavender theme hiding buttons on hover
- update crt mode specific themes not to use nested css
2023-11-27 12:56:33 +00:00
Moon
f5073385a6
impr(quotes): add English quote (LifeAdventurer) (#4809) 2023-11-24 15:51:14 +00:00
Abdulbasit
29f996d7ef
impr(language): replace kurdish central 45k with kurdish central 4k (Abdulbasit0123) (#4808)
* Delete frontend/static/languages/kurdish_central_45k.json

Most of the words in this file were not typeable at all. There were more than 100 unsupported and strange characters across them which were not even in Kurdish Sorani Keyboard/Layout. So, I Deleted it, and I am going to add another cleaner 4k words file.

* Adding kurdish 4k words

Adding kurdish_central_4k

* Update _list.json

I deleted the kurdish_central_45k file, and Added kurdish_central_4k instead, so updated this file too.

* Update _groups.json

I deleted kurdish_central_45k file, and added kurdish_central_4k instead, so I updated this file too.
2023-11-24 15:50:23 +00:00
Miodec
924472f77c impr: remove word which isnt really a profanity 2023-11-23 16:47:18 +00:00
Miodec
fa9d9ed523 fix(quotes): quote reports 2023-11-23 16:47:18 +00:00
Mario D'Andrea
c9d19047ad
impr(quotes): add Italian quotes (ormai) (#4807)
* Fix incomplete quote

* impr(quotes): add Italian quotes
2023-11-23 16:46:26 +00:00
Miodec
28b0c128b6 chore: release v23.47.0 2023-11-22 15:40:58 +00:00
Miodec
cf120260f4 chore: quote lengths script 2023-11-22 15:33:31 +00:00
Miodec
43445f4262 fix(quotes): quote reports 2023-11-22 15:32:53 +00:00
Miodec
7c8c37a989 style: fix icon spacing 2023-11-22 15:05:46 +00:00
Miodec
ff80d6eea8 refactor: use button and form elements instead of classes 2023-11-22 15:02:23 +00:00
Miodec
f2ef439dfd style: increase margin 2023-11-22 15:01:55 +00:00
Miodec
f4e5574c91 fix: button not styled correctly 2023-11-22 14:58:56 +00:00
Miodec
f5576adc9a refactor: use button element instead of class 2023-11-22 14:51:12 +00:00
Miodec
5ea9c712c5 fix: unnecessary media query 2023-11-22 14:46:18 +00:00
Serdar Bilici
f8f5271516
impr(language): update turkish 1k (s3rdarb) (#4806)
* Update turkish_5k.json

correction for misspelled words and a few additions and deletions

* Update turkish_5k.json

fixed typos and added new words for improvement

* Update turkish.json

Typo fixes

* Update turkish.json

* Update turkish.json

* Update turkish.json

* Update turkish.json

* docs: Turkish 1K changes

ln 782 was too long compared to other words and hampers the overall flow. Changed to shorter form

ln 1024 Typo corrected
2023-11-22 14:31:13 +00:00
Miodec
978d066fd9 refactor: use button instead of div 2023-11-21 14:36:32 +00:00
Miodec
b7f8c946df refactor: use button instead of div 2023-11-21 14:22:56 +00:00
Miodec
a195b959d2 refactor: use button instead of anchor
also disabling button while waiting for response
2023-11-21 14:19:58 +00:00
Miodec
1ab6c82c0c style: lower roundness of focus border on links 2023-11-21 14:14:22 +00:00
Miodec
610ed5a9d2 style: thicken up the result chart lines a little bit 2023-11-21 14:06:22 +00:00
Miodec
9779c70acd style: use theme color for chart gridlines
this makes sure that they are always visible
2023-11-21 14:05:55 +00:00
Christian Fehmer
1d4d7dab87
feat: Allow more results for premium users (fehmer, Miodec) (#4778)
* feat: Unlimited history for premium users UI

* disable button while loading, show spinner

* optional chaining

* add isPremium to /users, remove check from frontend

* add /results max batch size to configuration

* result batching ui v1

* rename variables, update button based on state, update text

* Return allowed results in /results if limit is partly overshooting the max limit

* use br instead of margin

* let result batches code handle button disabling

* hide title

* limit max width

* hide section when below batch size

* update limit color based on the % of limit used

* bring back loaded bar

* remove unused css

* fix alignemtn

* remove text for now

* add result getting log

* always hiding for non premium users for now

* Add server configuration users.premium.enabled, throw error on /results if premium user exceeds regular limit and premium is globally disabled

* Disable premium feature globally by default

* cleanup open todos

* Don't use premium user max limit on /results if premium feature is disabled on server

* fix merge issue

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-20 16:17:20 +00:00
Miodec
643451b9cc chore: quote lengths script 2023-11-20 15:17:13 +00:00
Miodec
3a38996c58 fix(quote): quote reports 2023-11-20 15:16:55 +00:00
Leo Wang
2f4eb103da
impr: add backtick in javascript language when punctuation is enabled (ascodeasice) (#4801)
* refactor: logic for adding bracket in code language

* feat: add tick-wrapped words in javascript

* feat: add tick to javascript with punc
2023-11-20 15:03:04 +00:00
Christian Fehmer
4b3059bdc7
refactor: Import shared types back into MonkeyTypes namespace (fehmer) (#4800)
* impr: Import shared types back into MonkeyTypes namespace, partially reverts #4769

* down to 6 errors

* fixes

* cleanup
2023-11-20 14:56:28 +00:00