Commit graph

9998 commits

Author SHA1 Message Date
Christian Fehmer cb5f4db868
rename store endpoints, move stripe config to .env 2023-11-27 16:26:25 +01:00
Christian Fehmer 64af76859c
add finalizeCheckout 2023-11-26 16:23:43 +01:00
Christian Fehmer 2b2fedc128
Add UI skeleton 2023-11-23 12:02:31 +01:00
Christian Fehmer 542dd90404
rename payments to store 2023-11-22 12:43:03 +01:00
Christian Fehmer 67e296b7e1
add stripe to user data, add endpoint to create checkouts 2023-11-21 15:59:41 +01: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
Miodec cb6d61e1ca fix: use hebrew quotes
also making sure that these are interchangable with other quote characters
2023-11-17 16:16:32 +00:00
Miodec ba3c728a0d chore: release v23.46.1 2023-11-17 16:00:28 +00:00
Miodec 6bfcc33021 build: only linting fe when releasing fe 2023-11-17 15:57:45 +00:00
Miodec 4947633cc2 chore: remove duplicates 2023-11-17 15:57:14 +00:00
Miodec 2cb338d2cc build: add a step before releasing 2023-11-17 15:57:08 +00:00
Miodec eac100dee0 chore: remove duplicates 2023-11-17 15:53:27 +00:00
Miodec 41aa5c61e2 refactor: fix accessibility of edit profile button
done by converting the popup to a form
converting class button to a button type submit
listening to form submit
2023-11-17 15:35:44 +00:00
Miodec 9380542e96 refactor: add text button class for consistency 2023-11-17 15:12:19 +00:00
Miodec abe8383591 refactor: use a button element instead of a class 2023-11-17 15:11:59 +00:00
Miodec a4efbdd714 refactor: use button element instead of a class 2023-11-17 14:59:35 +00:00
Miodec b2377bc4d4 style: make sure checkbox cant shrink 2023-11-17 14:53:32 +00:00
Miodec d879b3af36 fix(update custom theme popup): broken checkbox 2023-11-17 14:52:12 +00:00
Miodec c1dc87918b build: add eslint-config-prettier
removed roles which conflict with prettier
2023-11-17 14:44:01 +00:00
Miodec 931f56f2b9 chore: quote lengths script 2023-11-17 14:33:57 +00:00
Miodec 7e40b31858 fix(quote): quote reports 2023-11-17 14:33:37 +00:00
toma-demagn fbe835b0a7
impr(pace caret): only update pace caret on repeated tests if wpm was higher (toma-demagn) (#4798)
* Update pace-caret.ts

Changed the logic for lastTestWpm when repeating a test

* Update pace-caret.ts

Prettier reformat of file
2023-11-17 13:18:50 +00:00
Ryan Lundqvist 572dcd54d9
impr(quotes): add one English quote (ryanlundqvist) (#4799)
* impr(quotes): add one English quote

* impr(quotes): Fixed wrong length for English quote
2023-11-17 13:06:13 +00:00
Miodec 52cf5b0c88 fix(typing): allow ellipsis character if it currently needs to be typed
closes #4792
2023-11-16 13:53:47 +00:00
Miodec 9e8ce3cdb8 docs: fix missing space
kinda ugly fix but needs to be done this way because of the minification

closes #4797
2023-11-16 13:46:19 +00:00
Miodec 2b91df5a76 impr(ukrainian): update spelling of проєкт 2023-11-16 13:36:02 +00:00
diogozarro 5b606ae727
impr(layouts): add Portuguese Portugal ISO and ANSI (diogozarro) (#4795)
* Update _list.json to add Portuguese from Portugal layouts, both ISO and ANSI

* Update _list.json moved portuguese_pt down

* Update _list.json moved portuguese_pt down
2023-11-15 14:32:36 +00:00
Dishmemah 477ec1c950
impr(quotes): add Hebrew quotes (Dishmemah) (#4787)
* 4 new Hebrew quotes

* Another Hebrew quote

* added missing commas between elements

* Fixed length fields
2023-11-15 11:50:38 +00:00
Miodec 7f3ddc62fc chore: release v23.46.0 2023-11-13 14:00:28 +00:00
Miodec 57875da831 chore: contributors script 2023-11-13 13:57:47 +00:00
Miodec f961401124 chore: quote lengths script 2023-11-13 13:45:13 +00:00
Miodec a8f85b4b16 fix(quotes): reports 2023-11-13 13:44:57 +00:00
Miodec 1f4752e228 chore: revert one part of pr 2023-11-13 13:20:01 +00:00
kjvlbu 7b6ed78481
feat(language): added Old English (kjvlbu) (#4780)
* modified:   frontend/static/languages/_groups.json
	modified:   frontend/static/languages/_list.json
	new file:   frontend/static/languages/english_old.json

* added missing lazy mode character
enabled lazy mode
prettier

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-13 12:53:59 +00:00
Miodec 9d8d8dc544 fix(custom words filter): add button overriding custom text state
also added a notification when no words were found when filtering

closes #4785
2023-11-13 12:32:53 +00:00
Sameer M 2ba23567fb
feat(language): add Romanized Sanskrit (SameeraMurthy) (#4777)
* Added romanized sanskrit

* Update sanskrit_roman.json

* add lazy mode support

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-13 12:18:08 +00:00
Waterdragen aa0a11777c
feat(layout): Add Stronk, Dhorf, Recurva, Saiga, Krai, Mir (Waterdragen) (#4781)
Oxey - [Stronk](https://oxey.dev/stronk/index.html)
Oxey - [Dhorf](https://oxey.dev/dhorf/index.html)
Brys - [Recurva](https://github.com/GalileoBlues/Recurva)
RusDoomer - [Saiga, Saiga-e, Krai, Mir](https://github.com/RusDoomer/saiga)
2023-11-13 12:12:20 +00:00
Serdar Bilici f1d4b0592e
impr(quotes): fix turkish quote typos (s3rdarb) (#4779)
* 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
2023-11-13 12:07:12 +00:00
Miodec 9ca61bdb12 docs: updated guidance on how to change ad consent settings
this needs to be done this way due to some implementation limitations

closes #4738
2023-11-13 12:01:03 +00:00
github-actions[bot] c7f736ddbc
Prettier fix (#4783)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-11-11 19:30:13 -05:00
aikoo7 46a39b8322
docs: made the the PR template more informative (aikooo7) (#4689)
* docs: added some checkboxes, a heading and a comment explaining it.

Why is this good?

- People usually don't do things unless they are asked to and also can
  happen that they just know it. Mostly the conventional commit
  messages.

* docs: added some comments about the ci checks and a bonus comment to
remove the "close #" if you are not using it.

* updated checks

* we are already talking about conventional commits in the checks section

* refactor: ensure language and theme comments are within checks also
move comment for visual changes to descriptions for screenshots

* refactor: moved "adding screenshots" to the checks section.

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-10 13:59:37 +00:00
Christian Fehmer e5e03b603f
feat: Allow more results for premium users (fehmer) (#4767)
* wip: More results and filters for premium users

* use offset+limit instead of beforeTimestamp, add configuration for max results for regular/premium users

* add isPremium to /users response

* cleanup

* review comments

* review comments

* update base config

* update premium data type

* add undefined check

* interface name

* add start timestamp

* refactor

* move function to util, rename params, use isFinite

* merge fix

* fixed tests

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-10 13:55:35 +00:00
Bruce Berrios e84f9ec5b7
refactor: add shared types (Bruception) (#4769)
* sharing is caring?

* replace 5 year old package with a more modern one

* ignore firebase config

* update import/resolver settings so that we no longer have to ignore @backend imports

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-09 14:03:56 +00:00
ibrab000 11a49d68e7
feat(quote): add one english quote (ibrab000) (#4773)
* Delete frontend/static/quotes/english.json

* Add files via upload
2023-11-09 14:01:14 +00:00
Irina d822f18d5e
docs: update quote guidelines (imtone1) (#4772)
* Create finnish.json

* Update finnish.json

* Update finnish.json

* added to Quote guidelines mention about pull request naming and and translations

* Update CONTRIBUTING.md
2023-11-09 13:58:30 +00:00
Christina Hanson 6b77f81201
feat(funbox): add mode that doubles each letter (LyricLy) (#4771)
* feat: add mode that doubles each letter to funbox

* increase difficulty

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-09 13:56:37 +00:00