Skip to content

Fix bug#3204

Merged
Miodec merged 1 commit intomasterfrom
fix-bug
Jun 22, 2022
Merged

Fix bug#3204
Miodec merged 1 commit intomasterfrom
fix-bug

Conversation

@Bruception
Copy link
Member

@Bruception Bruception commented Jun 22, 2022

Description

Closes #3190

@github-actions github-actions bot added the frontend User interface or web stuff label Jun 22, 2022
@Bruception Bruception requested a review from Miodec June 22, 2022 23:52
@Miodec Miodec merged commit 4a0db5c into master Jun 22, 2022
@Miodec Miodec deleted the fix-bug branch June 22, 2022 23:54
Miodec added a commit that referenced this pull request Jun 29, 2022
* replaced edit with save (#3191)

* Added 8 more English quotes (#3166) holyhearted

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

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

This reverts commit 669cec4.

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

This reverts commit d903526.

* 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

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>

* Webpack configs housekeeping (#3179) bruception

* disabled autorole

* Fixed punctuation and quote length (#3193) R0merol

* Fixed punctuation (id: 163)

* Fixed quote length (id: 163)

* added note about avatars to the edit profile popup

* added notext option to get badge html

* made the psa fail message less techy

* new line

* allowing html

* added bug hunter and white hat badges (#3202)

* added bug hunter and white hat badges

* corrected 'in the code' to 'on the site'

* edited descriptions

* changed white hat icon

* changed spotted to reported

* fixed closing div in the wrong spot

* Fix type in language `code_haskell` (#3203) codybloemhard

Fix `loopup` to `lookup`.

* added monkey supporter

* showing all badges on profile

* fixed name not scaling on the profile page
closes #3196

* removed users that need to change their name from the leaderboards

* showing website name instead of full url

* Fix bug (#3204)

* Refactor some code (#3205)

* Converted badges to inventory (#3209)

* added inventory type

* new badges

* fixed badges not showing on all time leaderboards

* sending the selected badge id to daily lb

* returning inventory in profiles

* updated types to support inventory and single badge id

* fixed all badges not showing on profile page

* removed await

* smol refactor

* quote reports

* updated badge colors

* remove monkeytype-js from the docs (#3213)

* Inventory badge selection (#3210) bruception miodec

* Fixed badges not showing on all time leaderboards

* updated types to support inventory and single badge id

* Add badge selection

* Fix bug

* Remove unnecessary prefill

* using new inventory system

* added no balloon option

* updated text color

* not showing balloon

* updated styling for showing badges selection

* Add badge selection

Co-authored-by: Bruception <bberr022@fiu.edu>

* quote lengths

* removed hell

* Fix leaderboard update bug (#3217)

* Fix leaderboard update bug

* Add test for sanitize string

* Tune profanity detection (#3214)

* Tune profanity detection

* Remove console log

* Remove profanity

* Add tests for profanity

* Fix test case

* Add quotes by Pierce Brown (#3218)

* Add quotes by Pierce Brown

* Remove quotes

* Fix all time lb again (#3219)

* flooring instead of rounding

* Reworked route controller (#3220) miodec

* rewrote route controller

* showing loading by default

* links which are not external need data line attribute

* need to rewrite this

* page controller takes a page as parameter
removed page type

* default export

* going through the route controller instead of changing page directly

* resolving all code paths

* using navigate

* added 404, leaderboards route

* changed leaderboards button to a link

* removed click handler

* added page about route

* removed default export,
added settings page route

* removing pointer events from everything inside links

* navigating to account when on login page

* fixed console logs, using async

* added login and account pages

* moved code to their own functions

* allowing async functions

* defaulting content visible

* async

* fixed 404 not navigating correctly

* setting public path to root

* fixed paths

* using uid passed in through url params

* added 404 page, profile routes

* removed comment

* moved discord link flow to url handler

* allowing html

* not resetting state

* removed function

* handling logo click

* removed comments

* reomoved comments

* removed comments

* removed comments

* using new router

* basic 404 page

* buttons whicha are links have no underline

* correctly handling the take me back button

* updated button

* removed comments

* fixed account page profile link button

* updated 404

* removed comments

* removed comments

* removed comments

* fixed test config animation incorrect length

* removed unnecessary click event listener

* keeping previous theme applied until new one is fully loaded
closes #3222

* removed console log

* fixed double theme change

* moving auto switch theme loading into setThemes function to fix initial page load

* showing loader if theme loading takes more than 100ms
fallback append to head if elements gets lost due to fast theme changes/previews

* Fix circular dep between `leaderboard.ts` and `route-controller.ts` (#3226)

* Fix circular dep

* Make query more specific

* fixed click event not firing

* removed leaderboards route for now

* changing public path in base config instead of just dev

* removed from dev config

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

* fixed first tab on results page focusing sign in instead of the restart button

* forcing update

* fixed missing loading icon
closes #3228

* Refactor Users DAL (#3223)

* Refactor two calls

* Return void

* Remove update result

* Remove delete result

* Add content creator badge (#3225)

* Add content creator badge

* Change check -> video

* added param to disable theme applying when previewing

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

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

* fixed "go to page" commands not working

* not splicing keydata
also splicing burst and raw history

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

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

This reverts commit 669cec4.

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

This reverts commit d903526.

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

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

* fix basic typos (#3235)

* fixed typo in THEMES.md

* fix spelling mistake

* fixed noun usage

* fix random characters showing on screenshot (#3238) devkennyy

* hide nocss and noscript elements when taking screenshot

* remove hidden class from elements

* custom theme edit fix (#3236)

* use camelCase instead of dash separation (#3239) Ferotiq

* Add 30 more C++ quotes (id: 3-32) (#3244) R0merol

* remove fullstops from alerts (#3245) devkennyy

* test

* Revert "test"

This reverts commit c1d05d5.

* remove fullstops

* remove fullstops

* more punctuation

* Update code_luau.json (#3246) verbxtim

Added roblox globals
excluding duplicates.

* added alias to 58008
closes #3242

* checking if snapshot exists
updating random theme list if its empty
closes #3248

* fixed paths causing issues when test restarted while on a different page
closes #3241

* removed unnecessary const
fixed #3247

* fix the links in the footer for profile pages (#3249)

* updated hrefs for consistency

* updated more links

* clicking mail on the about page opens contact popup

* removing trailing slashes

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

* 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

* replaced manual background filters save with automatic
closes #3253

* removed dupes

* custom themes command line fix (#3255)

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>

* moved psa to ready instead of account controller
fixes #3257

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

* 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

* added ads.txt
modified config to add adtest page

* updated lazy mode description

* removed adtest from config

* removed ads.txt from project

Co-authored-by: smunky <105208736+devkennyy@users.noreply.github.com>
Co-authored-by: aria <ch03.np@startmail.com>
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>
Co-authored-by: R0merol <farisfrontiers@gmail.com>
Co-authored-by: Jack <jack@monkeytype.com>
Co-authored-by: Evan <64989416+Ferotiq@users.noreply.github.com>
Co-authored-by: Bruception <bberr022@fiu.edu>
Co-authored-by: Joel Tony <95355656+jay-tau@users.noreply.github.com>
Co-authored-by: verbxtim <30605517+verbxtim@users.noreply.github.com>
Co-authored-by: Çağatay Yiğit Şahin <cyigitsahin@outlook.com>
Co-authored-by: Cloyd Van <74012129+Ciezo@users.noreply.github.com>
Co-authored-by: cloydsecuya <cloydvansecuya@gmail.com>
Co-authored-by: Abdulbasit <82594778+Abdulbasit0123@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show yesterday button not working when jumping to current rank

2 participants