* Implement streaks
* Improve code
* Update package.json
* Store streak on the user
* Pretty-fix
* Ensure that streak is up to date
* Fix issue in streak calculation
* Revert prettier changes
* Update polish.json
* Update db.ts
* Remove initial calculation
* Write mandatory test
* using strict equality
* moved functions to the utils file
* importing utils
* adding streak to breakdown,
rounding and parsing streak modifier
* renamed variable
* renamed fields
* using correct field name
* added streaks to configuration
* showing streak during xp breakdown
* incrementing streak earlier
checking configuration before applying modifier
* returning streak to the client
* setting local streak with the number returned from the backedn
* only reading streak when updating profile instead of updating
* sending streak information in profile
* only showing streak if greater than 0
* setting to empty if no streak
* renamed config property
* updated streak calculation
* refactored isYesterday
* refactored streak update
* only displaying if streak larger than 1
* merged configuration properties into 1
* added configuration for max streak bonus
* added isToday check back (derp)
* reverted streaks back to multiplier approach
* using better maprange functin
* removed import
* moved test to dal spec
* clamping
* removed imports
* fixed test
* increased coverage
* removed angry console log
* typo
* using date now instead of dates
* mocking date now
awaiting expect
* not using date
Co-authored-by: Anonymous <110769200+fasttyperdog@users.noreply.github.com>
Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
* Fix missing step in contributing advanced
* Removed condition that will never be hit
* Replace version banner with newVersionIndicator
* Update CONTRIBUTING_ADVANCED.md
* Changed newVersionIndicator to text
* Add negative margin to indicator to fix alignment
* close newVersionIndicator on click
* Removed show x on hover
* style touch ups
Co-authored-by: Miodec <bartnikjack@gmail.com>
* added config for displaying the keymaps top row
* fixed keysplit for top row
* prettier
* lined up top row properly
Co-authored-by: Miodec <bartnikjack@gmail.com>
* adds reset button
* moves it up above the delete button
* i am blind
* i cant move stuff
* adds reset for the profile
* Adds reseting for ape keys, and presets, also adds more resets in the user settings
* Delets all ape keys not just one
* Prevents conflicts for delete endpoints
* changes from reset to deleteAll in ape keys
* Refactors the code to use Promise.all
* adds reloading
* unit tests ape key deletion
* fixes some bugs
* Fixes type o
* More typeo fixes
* Returns nothing for reset user
* Simplifies code
* changes from reset to deleteAll for all but users
* Checks db not the memory
* fixes typo
* fixes the tests
* fixes
* fixes bugs and refactors some code
* adds requireFreshToken to the authentication
* migrates all reseting to the user endpoint
* removes the delete all for ape unit test
* to lazy to make commit message
* parallelize the calls to the db (I think)
* also resetting config
* also resetting discordid and avatar
* using unset
* updated wording
* level 1 message
Co-authored-by: Miodec <bartnikjack@gmail.com>
* 🚸Call `screenshot` after `Enter` is pressed
`screenshot` is only called on click which does not support tab usage.
* 🐛 Make `Contact` and `Donate` fields tabbable
* ♿️ Open leaderboard popup on `Enter` keypress
* ♿️ Open support popup on `Enter` keypress
* ♿️ Open contact popup on `Enter` keypress
* ✏️ Rename `Donate` field to `Support`
* ♿️ Hide `contact` and `support` popups on `Escape`
* 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 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>