Commit graph

7481 commits

Author SHA1 Message Date
Miodec
b813dd5aa0 running tests sequentially 2022-06-30 01:33:23 +02:00
Miodec
8ec307c837 added authentication tests 2022-06-30 01:15:06 +02:00
Miodec
8d17f699df removed log 2022-06-30 00:59:14 +02:00
Miodec
4b423a5484 removed condition (iat is guaranteed to be there) 2022-06-30 00:12:23 +02:00
Miodec
2aa251fc46 moved logic to another function 2022-06-30 00:11:09 +02:00
Miodec
9085b5af9d added fresh token requirement 2022-06-30 00:03:58 +02:00
aria
88b282b3c6
Added 20 more English quotes (#3250)
* Added 5 quotes

* fixed lengths and added MORE quotes

* merged current with prior stream

* Fetching upstream (#1)

* extended: language 'code rust' (#3104)

Added all derives and some very common traits as well as `pub(crate)`.

* added one english quote (#3094)

* added one english quote

* added one english quote

* updated the quote id 6095

* 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

* Added one english quote (#3109)

* added one english quote

* added one english quote

* updated the quote id 6095

* Added english quote id 6096

* 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

* Added Haskell programming language (#3108)

* added: code_haskell language;

* fixed: missing comma;

* 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>

* Fix yesterday toggle button (#3107)

Co-authored-by: Cody Bloemhard <cblmhrd@live.nl>
Co-authored-by: Jitesh Kumar Sahoo <77315098+Jitesh117@users.noreply.github.com>
Co-authored-by: Malo Hamon <hamon.malo@gmail.com>
Co-authored-by: aNOOBis <69043738+aNOOBisTheGod@users.noreply.github.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>

* fixed ids and added more quotes

* i sincerely hope this is the LAST TIME I DO THIS

* more quotes!

* removed inappropriate quote

* added more long english quotes

* added more whitespace between dashes

* fixed lengths for 5999, 6116 & 6117

* fixed lengths

* i don't have eyes

* merge

* i hate codespaces so much

* so so so much

* added 20 more quotes

* added 20 more quotes

* added 20 more english quotes + fixed lengths

* added authors + fixed one quote

* 20 quotes + fixed artist names

Co-authored-by: Cody Bloemhard <cblmhrd@live.nl>
Co-authored-by: Jitesh Kumar Sahoo <77315098+Jitesh117@users.noreply.github.com>
Co-authored-by: Malo Hamon <hamon.malo@gmail.com>
Co-authored-by: aNOOBis <69043738+aNOOBisTheGod@users.noreply.github.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>
2022-06-29 14:30:38 +02:00
Miodec
0ea464339c removed ads.txt from project 2022-06-29 12:06:59 +02:00
Miodec
b7d5c7709a removed adtest from config 2022-06-29 12:05:10 +02:00
Miodec
e60b2ae093 updated lazy mode description 2022-06-29 11:33:14 +02:00
Miodec
b3064c2700 added ads.txt
modified config to add adtest page
2022-06-28 23:06:39 +02:00
Miodec
5bbb6a62a4 improved quick restart esc
pressing tab now opens the command line
you can still insert tab as character (shift tab to open the commandline if text has tab)
closes #3233
2022-06-28 17:57:43 +02:00
Bruce Berrios
9da5e441be
Add new rate limiting flow (#3230) Bruception
* Add new rate limiting flow

* Oops

* Fix nit

* Fix some bugs

* Split key generation functions

* Remove 429

* Change message for root limiter

* Flag 429 and add config

* Add status code config

* Check enabled flag

* Add custom status for ape keys

* Bump coverage

* swapped conditions around
whats the point of checking if the status code is in the array if the whole thing is turned off anyway

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-28 13:45:57 +02:00
Miodec
bda7788bb2 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-28 13:26:19 +02:00
Miodec
8192e13deb moved psa to ready instead of account controller
fixes #3257
2022-06-28 13:25:41 +02:00
aNOOBis
8ec8bc7231
custom themes command line fix (#3255)
Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
2022-06-28 13:16:29 +02:00
Miodec
ed5501e5e4 removed dupes 2022-06-28 13:08:39 +02:00
Miodec
c4bd171f1a replaced manual background filters save with automatic
closes #3253
2022-06-28 13:02:44 +02:00
Abdulbasit
131b6c7c1f
Adding kurdish_central_2k and fixing some things (#3237) Abdulbasit0123
* Adding Kurdish Central 1.5k

I added kurdish_central_1.5k

* Adding kurdish central 1.5k 

Adding kurdish_central_1.5k.json

* Adding kurdish central 1.5k

I added kurdish central 1.5k.

* updated name

While the file name was "kurdish_central_1.5k.json" but in 'name' line it was "kurdish_central.json" so I corrected.

* adding "kurdish_central_45k" to the group

Despite "kurdish_central_45k" json file has been added, but it wasn't in the group, so I added.

* added "kurdish_central_45k" to the list

"kurdish_central_45k" was not in the list so I added.

* Update and rename kurdish_central_1.5k.json to kurdish_central_2k.json

* Updated kurdish_central_1.5k to kurdish_central_2k

* Updated kurdish_central_1.5k to kurdish_central_2k
2022-06-28 12:58:00 +02:00
Cloyd Van
2f2e6b14e5
Filipino quotes update (#3180) Ciezo
* Filipino quotes update

Additional quotes from a popular Filipino song
Filipinos will immediately recognize upon hearing this

* Fixes

Fixed length
Proper spacing

* Groups

* Fix wrong length

Co-authored-by: cloydsecuya <cloydvansecuya@gmail.com>
2022-06-28 12:57:31 +02:00
Miodec
35e25b5a64 removing trailing slashes 2022-06-27 15:24:09 +02:00
Miodec
05c03936fe clicking mail on the about page opens contact popup 2022-06-27 15:12:15 +02:00
Miodec
1855578925 updated more links 2022-06-27 15:09:27 +02:00
Miodec
47bae76e1c updated hrefs for consistency 2022-06-27 15:07:46 +02:00
Çağatay Yiğit Şahin
a744a03073
fix the links in the footer for profile pages (#3249) 2022-06-27 15:06:24 +02:00
Miodec
c2fa14a3ea removed unnecessary const
fixed #3247
2022-06-27 12:57:01 +02:00
Miodec
99ff416cba fixed paths causing issues when test restarted while on a different page
closes #3241
2022-06-27 12:40:16 +02:00
Miodec
fb539ddd19 checking if snapshot exists
updating random theme list if its empty
closes #3248
2022-06-27 12:30:10 +02:00
Miodec
f2d9d37b3e added alias to 58008
closes #3242
2022-06-27 12:15:36 +02:00
verbxtim
1230faeeb8
Update code_luau.json (#3246) verbxtim
Added roblox globals
excluding duplicates.
2022-06-27 12:05:36 +02:00
smunky
ffa1f6f7de
remove fullstops from alerts (#3245) devkennyy
* test

* Revert "test"

This reverts commit c1d05d50b1.

* remove fullstops

* remove fullstops

* more punctuation
2022-06-27 12:00:04 +02:00
R0merol
da26618f58
Add 30 more C++ quotes (id: 3-32) (#3244) R0merol 2022-06-27 11:59:00 +02:00
Evan
104786363f
use camelCase instead of dash separation (#3239) Ferotiq 2022-06-27 11:57:35 +02:00
aNOOBis
b74215a683
custom theme edit fix (#3236) 2022-06-26 07:55:26 -05:00
smunky
4092d45887
fix random characters showing on screenshot (#3238) devkennyy
* hide nocss and noscript elements when taking screenshot

* remove hidden class from elements
2022-06-26 14:24:13 +02:00
smunky
94bfd02e49
fix basic typos (#3235)
* fixed typo in THEMES.md

* fix spelling mistake

* fixed noun usage
2022-06-26 12:41:55 +02:00
R0merol
ad76cc83b8
Add 20 more Python quotes (id: 9-28) (#3232) R0merol
* Add 20 more Python quotes (id: 9-28)

* Fixhed quote length (id: 28)

* Removed an extra space (id: 7)
2022-06-26 12:26:12 +02:00
aNOOBis
9a12e3c674
View account page fix (#3234) 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 &&

* some typos fixed

* view account page fix

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-06-26 12:25:36 +02:00
Miodec
4173298f5f not splicing keydata
also splicing burst and raw history
2022-06-26 12:13:37 +02:00
Miodec
c540ac2def Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-26 00:38:13 +02:00
Miodec
50ca65a135 fixed "go to page" commands not working 2022-06-26 00:38:07 +02:00
smunky
8a6aecb127
rework captcha (#3224) devkennyy rizwanmustafa miodec
* rework captcha

* resolve conversations

* load captcha when needed

* Fix errors

* Create captchacontroller

* Fix errors

* using captcha controller in quote submit

* removed prettier ignore

* updated report quote popup

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-25 21:06:10 +02:00
smunky
872460eade
replaced theme generation method (#3195) rizwanmustafa devkennyy miodec
* replaced theme generation method

* Relocate variable declaration

* storing theme list when changing rando themes setting

* resetting index to 0 when changing list

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-25 20:45:29 +02:00
Miodec
6fe1a31eb1 added param to disable theme applying when previewing 2022-06-25 20:10:44 +02:00
Bruce Berrios
349a032e54
Add content creator badge (#3225)
* Add content creator badge

* Change check -> video
2022-06-25 11:51:21 -04:00
Bruce Berrios
a552c127f8
Refactor Users DAL (#3223)
* Refactor two calls

* Return void

* Remove update result

* Remove delete result
2022-06-25 16:56:43 +02:00
Miodec
1575595d0d fixed missing loading icon
closes #3228
2022-06-25 16:48:48 +02:00
Miodec
3349181dd7 forcing update 2022-06-25 16:42:33 +02:00
Miodec
63bf85ac1c fixed first tab on results page focusing sign in instead of the restart button 2022-06-25 16:39:16 +02:00
smunky
60247ff15e
fix popup style inconsistencies (#3227) devkennyy miodec
* fix popup style inconsistencies

* missing style for preset edit popup

* reduced gap in contact popup

* updated style for support popup

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-25 15:37:18 +02:00