Commit graph

7383 commits

Author SHA1 Message Date
Miodec fe6b74ccf0 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-16 18:29:21 +02:00
Miodec 03d90949df storing list of auto assignable roles on the server 2022-06-16 18:29:15 +02:00
kenny cc0f991d47
add hedge theme (#3137) devkennyy
* create hedge theme

* update _list.json

* fixed sub alt color issues

* update colors

* updated colors

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-16 11:37:31 +02:00
Miodec 44d996fe6c using completed events language instead of current config 2022-06-16 11:12:04 +02:00
R0merol 64047a0057
Add 20 more Indonesian quotes, 151-170 (#3136) R0merol
* Added 20 more quotes (151-170)

* Fixed quote length (id: 155, 157)
2022-06-16 11:10:05 +02:00
Bruce Berrios c8e3c2fbbc
Include language in notification (#3134) 2022-06-16 11:09:35 +02:00
Miodec ece2aa4273 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-15 19:35:11 +02:00
Miodec 3da4eb45c0 added pace caret: last closes #3113 2022-06-15 19:35:01 +02:00
Cody Bloemhard ec4e6cbc84
added: code_opencl language (#3132) codybloemhard
* added: code_opencl language;

* fixed: duplicate word in code_opencl;

* fixed: another duplicate in code_opencl;
2022-06-15 15:21:00 +02:00
Mehdi Hussain c3296929da
Add rate limits to forgot password (#3129) mehdidev
* Added New Quotes

* Add More Quotes

* Add rate limit to forgot password

* Use Prettier

* Change canCall to let so that lint doesn't flag me for the 69th time

* change forgotPassword() to async & remove console.log's

* If this doesn't fix everything idk what to do

* reduced nesting, using function to create error message

* updated notification

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-15 15:19:03 +02:00
Malo Hamon f02649ae9f
Custom Filters [FrontEnd] (#3106) nocommentcode
* Add Create and Delete functions for Filter Presets to `Users` ape endpoint
- deleteFilterPreset
- addFilterPreset

* Added name and _id fields to the `ResultFilter` interface in the front end

This matches the `ResultFilter` interface in the backend
Added the new fields for the default filter
Added checks in result-filter.ts to not update the ui based on these fields

* Added new-filter-preset-popup

This popup is displayed when creating a new filter preset
It allows the user to select a name.

* Added Filter Preset Buttons in account page html

- Added the Filter Preset button
- Added the filter preset region
- Added the new and delete buttons

* Added Filter Presets to DB Snapshot

* Implemented Custom Fileter Creation, Selection and Deletion flow

- Users can now create a custom filter based on the current settings
- Users will be prompted to select a name for the filter
- User can click on any custom filter and the current filter will be updated
- User can delete a custom filter while it is selected

* Implemented Filter Preset Creation, Selection and Deletion flow

- Users can now create a filter preset based on the current settings
- Users will be prompted to select a name for the filter
- User can click on any filter preset and the current filter will be updated
- User can delete a filter preset while it is selected

* adjusted styling

* removed margin

* removed icon

* added media query

* popup wording

* automatically replacing _ when displaying and creating preset

* using loader and notifications

* fixed bork

* fixed sometimes not being able to delete preset

* make preset popup look like tags popup

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-15 14:47:52 +02:00
Miodec 8e96570b7e Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-15 01:46:25 +02:00
Miodec b9fe94db1b removed the punctuation check for custom mode
closes #3127
2022-06-15 01:46:19 +02:00
Bruce Berrios 0f7a25422a
Add leaderboard language selection (#3124) bruception
* Adds leaderboard language selection

* Update mesage

* fixed disabled select2 styling

* changed button positioning

* fixed media queries

* Add languages

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-15 01:30:46 +02:00
Miodec 56c9c91fff z index on the configure api 2022-06-14 22:24:52 +02:00
Miodec ad207525cb removed the desaturation effect due to popular demand 2022-06-14 22:08:58 +02:00
SarkarKurdish 7ef0da92d5
New kurdish words (#3126) 2022-06-14 16:27:01 +02:00
Ayush 2780cc46d5
Added additional Nepali quotes (#3121) 2022-06-13 13:05:51 -04:00
kenny df82e6399d
wordle, wordle_1k languages. (#3111)
* Update _groups.json

Updated _groups.json to include wordle language.

* Update _list.json

Updated _list.json to include wordle and wordle_1k languages.

* Create wordle.json

Name: wordle
Words: 200 

Sourced from wordle source code.

* Add wordle_1k.json (@devkennyy)

Added wordle_1k. Words sourced from wordle source code.

* added wordle_1k contents

* replaced single quotes with double

* removed trailing comma
2022-06-13 10:36:04 -04:00
Ihor Kos d02d095f93
Made fixes to ukrainian_50k (#3120)
* Fixed mistake in a word (http://sum.in.ua/s/reghionaljnyj)

* Removed non-existent word (http://sum.in.ua/s/karochje)

* Removed vulgarism

* Removed complex word (consists of two words)

* Removed duplicate occured after fixing a mistake
2022-06-13 10:34:46 -04:00
kenny 20599bd971
add turkish quotes, 61-69 (#3112)
* added quotes 61-69

* added missing closing bracket

* removed misplaced bracket

* fixed quote lengths
2022-06-13 07:52:27 -04:00
Ihor Kos 9cca6b585b
Fixed mistake in ukrainian word (#3117) inununit 2022-06-13 12:26:23 +02:00
Bruce Berrios 141dc262e7
Rename customFilters -> resultFilterPresets (#3115)
* Rename customFilters -> resultFilterPresets

* Update messages
2022-06-12 19:34:52 -04:00
Bruce Berrios 37861447b9
Fix yesterday toggle button (#3107) 2022-06-12 18:19:37 +02:00
aNOOBis c69515e46b
Contributing typos fix (#3114)
* spacebar in presets and tags addition

* super mega spacebar remake

* style fix

* final name removal in ui

* replaceAll in ape removal

* using display above account chart

* create preset in command line addition

* testing removal

* one more testing removal

* create tag command line addition

* Update commandline-lists.ts

* moved add commands to the bottom
hiding if user is not signed in

* refactor

* hiding tags and presets when signed out

* fixed presets and tags display in alerts

* russian_25k and russian_50k addition

* russian 375k addition

* lil fix

* fixed windows auto-reload error

* Revert "fixed windows auto-reload error"

This reverts commit ea22621232.

* Revert "Revert "fixed windows auto-reload error""

This reverts commit 669cec4217.

* Revert "Revert "Revert "fixed windows auto-reload error"""

This reverts commit d90352633c.

* themes popup small fix

* using &&

* some typos fixed

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-06-12 11:56:40 -04:00
Cody Bloemhard 42d3d34bb8
Added Haskell programming language (#3108)
* added: code_haskell language;

* fixed: missing comma;
2022-06-12 10:21:52 -04:00
Malo Hamon b55419dfc0
Custom Filters [Backend] (#3105) (#3110)
* Added `ResultFilters` to types
Added customFilters field to user
This field is an optional array of `ResultFilters`
It will store a user's custom filters

* Added Add and Remove functions for `ResultFilters` in user DAL

Also added unit tests

* Added Custom Filter configuration

Can now enable/disable the custom filters feature
Can also set a cap on the number of filters per user

* Add and Remove functions for `ResultFilters` in user controller
2022-06-11 22:38:09 -04:00
Jitesh Kumar Sahoo 9e0017bd43
Added one english quote (#3109)
* added one english quote

* added one english quote

* updated the quote id 6095

* Added english quote id 6096
2022-06-11 22:11:41 -04:00
Malo Hamon ba843419a1
Custom Filters [Backend] (#3105)
* Added `ResultFilters` to types
Added customFilters field to user
This field is an optional array of `ResultFilters`
It will store a user's custom filters

* Added Add and Remove functions for `ResultFilters` in user DAL

Also added unit tests

* Added Custom Filter configuration

Can now enable/disable the custom filters feature
Can also set a cap on the number of filters per user

* Add and Remove functions for `ResultFilters` in user controller
2022-06-11 20:32:06 -04:00
Jitesh Kumar Sahoo 111bf387e3
added one english quote (#3094)
* added one english quote

* added one english quote

* updated the quote id 6095
2022-06-10 23:31:26 -04:00
Cody Bloemhard c5baa8af09
extended: language 'code rust' (#3104)
Added all derives and some very common traits as well as `pub(crate)`.
2022-06-10 18:33:51 -04:00
Dunxter c16dde6602
Fixed a spelling error in Spanish 1k (#3102)
"Barcelona" is spelled with a capital B (such is the case of "Madrid").
2022-06-10 09:56:00 -04:00
FEZfan 4866dcf2bf
Fix typos (#3098) 2022-06-09 21:17:43 -05:00
Miodec 957ea335c7 updated message 2022-06-09 21:43:00 +02:00
Miodec fc012c459b resetting scroll position when updating leaderboard. should fix Fix leaderboard scrolling #3083 2022-06-09 21:18:10 +02:00
Miodec f495fb3f36 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-09 21:09:15 +02:00
Miodec 2add689859 showing placeholder underneath incase image is not found 2022-06-09 21:09:09 +02:00
Bruce Berrios 603455d6eb
Add logic to handle fetching previous daily leaderboards (#3087)
* Add logic to handle fetching previous daily leaderboards

* Add basic select controls for time range

* Fix issue

* updated styling

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-09 21:04:10 +02:00
Bruce Berrios 071043f08e
Refactor avatar logic and badges (#3086) 2022-06-09 20:25:55 +02:00
aNOOBis df3980d745
small fix for themes popup (#3085) aNOOBisTheGod
* spacebar in presets and tags addition

* super mega spacebar remake

* style fix

* final name removal in ui

* replaceAll in ape removal

* using display above account chart

* create preset in command line addition

* testing removal

* one more testing removal

* create tag command line addition

* Update commandline-lists.ts

* moved add commands to the bottom
hiding if user is not signed in

* refactor

* hiding tags and presets when signed out

* fixed presets and tags display in alerts

* russian_25k and russian_50k addition

* russian 375k addition

* lil fix

* fixed windows auto-reload error

* Revert "fixed windows auto-reload error"

This reverts commit ea22621232.

* Revert "Revert "fixed windows auto-reload error""

This reverts commit 669cec4217.

* Revert "Revert "Revert "fixed windows auto-reload error"""

This reverts commit d90352633c.

* themes popup small fix

* using &&

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-06-09 20:25:21 +02:00
Miodec c7e33dac68 updated badge 2022-06-08 12:33:49 +02:00
Miodec 1bc720585c faking leaderboard avatar if its not yet stored in the database 2022-06-08 03:04:24 +02:00
Miodec 48e1c0febb Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-08 02:02:20 +02:00
Miodec af3e3274b0 added badge controller
added bades to leaderboards
updated media queries to accomodate badges
2022-06-08 02:02:14 +02:00
Miodec 929fb6d9fb added rgb animation 2022-06-08 01:52:26 +02:00
Bruce Berrios 270fa5dfbe
Fix lines stylinh (#3082) 2022-06-07 23:56:20 +02:00
Bruce Berrios 1260f13293
Add config for discord integration (#3081) Bruception 2022-06-07 23:41:37 +02:00
Miodec 26d359a168 added avatars to leaderboards 2022-06-07 23:38:46 +02:00
Bruce Berrios c96956c9f1
Use maximum tf norm (#3077) Bruception 2022-06-07 23:14:21 +02:00
Bruce Berrios b25ac99527
Add leaderboard avatars and badges (#3069) bruception
* Add leaderboard avatars and badges

* Add discord id

* badges -> badgeIds
2022-06-07 23:10:58 +02:00