Commit graph

245 commits

Author SHA1 Message Date
Miodec 7089f74ecb chore: release v24.18.1 2024-05-02 17:38:58 +02:00
Miodec 65c4de13ce chore: release v24.18.0 2024-04-30 16:55:11 +02:00
Miodec 26d8699daa chore: release v24.17.5 2024-04-27 11:45:09 +02:00
Miodec 94bf02ddd4 chore: release v24.17.4 2024-04-26 20:03:51 +02:00
Miodec bc2c39cd6c chore: release v24.17.3 2024-04-26 16:59:34 +02:00
Miodec cd76224b57 chore: release v24.17.2 2024-04-24 18:54:19 +02:00
Miodec 0d57735b40 chore: release v24.17.1 2024-04-24 14:31:20 +02:00
Miodec e90207580b chore: release v24.17.0 2024-04-23 17:08:21 +02:00
Miodec 50c4e71d59 chore: release v24.15.1 2024-04-12 15:37:10 +02:00
Miodec a4b2efca16 chore: release v24.15.0 2024-04-08 14:56:59 +02:00
Miodec 6427cce004 chore: release v24.14.1 2024-04-05 13:21:21 +02:00
Miodec 14a1eaf293 chore: release v24.14.0 2024-04-02 19:13:02 +02:00
Miodec 7f5e3aa73e chore: release v24.12.1 2024-03-24 19:27:52 +01:00
Miodec 479c9d3bed chore: release v24.12.0 2024-03-23 10:23:11 +01:00
Miodec 6b1a413f4f chore: release v24.11.3 2024-03-14 21:55:02 +01:00
Miodec c3f972c733 chore: release v24.11.2 2024-03-13 12:57:38 +01:00
Miodec 705c984c6d chore: release v24.11.1 2024-03-12 15:09:41 +01:00
Miodec ff14fc74d3 chore: release v24.11.0 2024-03-11 17:40:47 +01:00
Miodec b70de604b7 chore: release v24.9.1 2024-03-03 22:05:57 +01:00
Christian Fehmer 91982e285d
chore: fix ESLint complaining about typescript version (#5153)
Co-authored-by: Jack <jack@monkeytype.com>
2024-02-29 22:44:33 +01:00
Miodec 86a94eacd8 chore: release v24.9.0 2024-02-29 14:04:09 +01:00
Christian Fehmer 47576df773
chore(dev): wait for backend to be ready before starting frontend (#5121) 2024-02-26 13:48:05 +01:00
Miodec 8ec149cbfe chore: release v24.8.0 2024-02-22 15:11:29 +01:00
Jack 8f6bfbb708
build: replace webpack with vite (#5096) 2024-02-22 02:24:20 +01:00
Christian Fehmer 6cf2e4f5f5
chore: update node version to 18.19.1 (#5060) 2024-02-15 21:23:29 +01:00
Miodec 29fce99ba3 chore: release v24.7.0 2024-02-14 19:10:17 +01:00
Miodec ae048f19cf chore: release v24.6.2 2024-02-08 14:41:41 +01:00
Miodec 46d17d4139 chore: testing frontend before release 2024-02-08 13:51:02 +01:00
Miodec f9732af192 chore: release v24.6.1 2024-02-07 09:41:05 +01:00
Miodec 8dac6aa509 chore: release v24.6.0 2024-02-05 15:27:36 +01:00
Miodec 1cfce348a1 chore: release v24.5.2 2024-02-02 12:56:10 +01:00
Miodec 74322a5237 chore: release v24.5.1 2024-02-01 11:59:55 +01:00
Miodec b8cc17a12b chore: upgrade typescript version 2024-01-31 12:36:13 +01:00
Miodec e546f7cfdc chore: release v24.5.0 2024-01-31 12:11:16 +01:00
Miodec 2c7bfea1e4 chore: release v24.4.1 2024-01-24 13:13:39 +01:00
Miodec 3a5006a605 chore: release v24.4.0 2024-01-22 15:10:02 +01:00
Miodec 32bc5f8f42 chore: release v24.3.0 2024-01-18 15:26:04 +01:00
Miodec 09c9395ec0 chore: release v24.2.0 2024-01-12 00:12:24 +01:00
Christian Fehmer 6aa7a72727
test: configure testing for frontend code (fehmer) (#4879)
* test: configure testing for frontend code

* remove test coverage thresholds, cleanup
2024-01-08 15:26:57 +01:00
Miodec 0f3565a3f6 chore: release v23.51.0 2023-12-19 15:00:22 +01:00
Miodec c7e38c2f6c chore: release v23.48.0 2023-11-30 16:55:49 +00:00
Miodec 28b0c128b6 chore: release v23.47.0 2023-11-22 15:40:58 +00:00
Miodec ba3c728a0d chore: release v23.46.1 2023-11-17 16:00:28 +00:00
Miodec c1dc87918b build: add eslint-config-prettier
removed roles which conflict with prettier
2023-11-17 14:44:01 +00:00
Miodec 7f3ddc62fc chore: release v23.46.0 2023-11-13 14:00:28 +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
Miodec f1ef1941a4 chore: release v23.45.0 2023-11-06 16:47:53 +00:00
Miodec 1b71d05a9f chore: release v23.43.1 2023-10-27 15:49:24 +01:00
Miodec 501dbe3b17 chore: release v23.43.0 2023-10-23 17:02:29 +01:00
Miodec 73953187e1 chore: release v23.42.0 2023-10-17 15:20:10 +01:00
Miodec 8852c592f7 chore: release v23.41.0 2023-10-11 13:21:36 +01:00
Miodec fc1e646a02 chore: release v23.40.1 2023-10-02 17:30:46 +01:00
Miodec 18b4e62f13 chore: release v1.17.14 2023-09-25 14:15:45 +01:00
Miodec f19063e1db chore: release v1.17.13 2023-09-19 14:37:55 +01:00
Miodec fc7a672350 chore: release v1.17.12 2023-09-13 17:31:26 +01:00
Miodec 56d46fb363 build: add release frontend script in case backend got recently deployed 2023-09-13 17:29:23 +01:00
Seth Falco 990ffc8b07
chore: use docker compose v2 (SethFalco) (#4621) 2023-09-11 18:42:56 +01:00
Miodec 1310995cae chore: release v1.17.11 2023-08-31 21:14:47 +02:00
Miodec ca230e2b4c chore: release v1.17.10 2023-08-22 14:49:23 +02:00
Miodec 87d3362560 chore: add hotfix script 2023-08-21 12:11:15 +02:00
Miodec 4e81114556 chore: release v1.17.9 2023-08-17 17:11:12 +02:00
Miodec c4df72b084 build: move changelog building to external file 2023-08-17 16:42:50 +02:00
Miodec 50884a0ace build: fix pre commit issues
Not calling eslint on style, html or json files.
Ignoring style files in es config just in case.
2023-08-17 11:13:56 +02:00
Miodec 694252f32e build: update pre-commit to use lint-staged 2023-08-11 16:50:56 +02:00
Miodec 4c65ad8b9f build: add conventional changelog plugin 2023-08-11 16:28:20 +02:00
Miodec db2386300c build: add typescript as backend dev dependency
also updated frontend typescript verison to match
2023-08-11 13:35:35 +02:00
Miodec f68b0f4c9a build: add release-it 2023-08-11 11:19:31 +02:00
Miodec 5246ef0cb3 build: add comitlint 2023-08-10 22:51:58 +02:00
Miodec 0b69b2e1e3 added knip to find unused exports 2023-08-10 18:32:33 +02:00
Miodec 38a316715b moved to node 18.17.1 lts 2023-08-10 17:38:27 +02:00
Miodec 2830b32f54 updated eslint 2023-06-16 11:06:00 +02:00
Evan 3f73db2e36
Fix ESLint Error (#4026) ferotiq
* fix eslint error

* just look for any tsconfigs down the tree
2023-02-25 22:33:09 +01:00
Bruce Berrios 46d7a78ffe
Add Monkey CI (#3799)
* Split PR checks

* Split Jobs

* Test

* Fix path check

* Use checkout

* Undo

* oh boy

* .

* .

* .

* .

* test

* .

* .

* .

* .

* .

* .

* .

* yay

* Remove jsonschema from global dep

* monkey ci

* .

* oops

* test

* .

* .

* .

* .

* .

* .

* .

* ayy

* add permissions
2022-12-05 18:52:15 +01:00
Miodec 0dcaf30721 removed lint from pre-commit
linting runs as a pr check and also runs before the deploy script, here it only slows down commits
2022-11-28 17:38:37 +01:00
Miodec 3d90c398d0 updated to husky 8 2022-10-21 14:51:44 +02:00
Miodec f9c96acb5e lint changes directory first 2022-09-22 13:55:39 +02:00
Evan b57e1cd895
Fix prettier issues and update package.json to allow windows to use the prettier scripts (#3145) 2022-06-17 06:47:11 -05:00
Bruce Berrios c15d0c1572
Fix prettier issues (#3078)
* Fix

* Pretty Workflow

* spacing fix

* oops

* Update base pretty script
2022-06-07 12:02:03 -04:00
Bruce Berrios f2998b1d28
Add server configuration panel (#3070) bruception
* Add server configuration panel

* Remove unnecessaary check

* Remove break

* styling changes
showing when configuration was saved

* changing color based on response

* Remove comment

* Changes

* Add support for arrays

* Arbitrary nesting

* Add array item controls

* added button to quickly open the configuration panel

* removed excessive padding

* text inputs same height and style as checkboxes

* monkey stylng

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-07 14:06:15 +02:00
Rizwan Mustafa 431d4117d5
Bump up concurrently version (#3072) 2022-06-05 14:41:46 +02:00
Bruce Berrios d7862750ce
Remove lua (#2996) 2022-05-19 18:45:17 +02:00
Bruce Berrios 1384e9f81d
Add pretty check (#2990) bruception
* Add pretty check

* test

* test

* Add pretty check

* Add condition check

* Enforce style on code changes

* Update scripts

* Any src
2022-05-19 11:31:18 +02:00
Miodec 9e2bd5a3fb fixed script names 2022-05-05 23:25:03 +02:00
Miodec 28f0a7a936 renamed and reordered scripts 2022-05-05 23:11:09 +02:00
Bruce Berrios 8095dd6bfc
Add test step in pr-check action (#2942) Bruception
* Add test step in pr-check action

* Add jest action

* Specify wd

* Remove action

* Remove test

* Add anti-cheat check
2022-05-05 23:06:40 +02:00
Sondre Kjempekjenn 9634b93fc3
Add docker-compose and instructions to README (#2939) sondrekje 2022-05-05 01:52:17 +02:00
Evan f584d683bb
Rename scripts to ts (#2869) ferotiq
* Rename scripts to ts

* Update config.base.js

* Delete firebase-config.ts
2022-04-24 17:20:30 +02:00
Rizwan Mustafa d65fcff79d
Add script for starting live version locally (#2855) rizwan
* Create start live version locally script

* Fix issues
2022-04-24 15:11:54 +02:00
Rizwan Mustafa fd002f1553
Save exact for all packages (#2853) 2022-04-23 19:42:20 +02:00
Rizwan Mustafa 5691643b7a
Fixed versions (#2851) 2022-04-21 12:28:30 +02:00
Bruce Berrios ad8c433e45
Save exact (#2769) 2022-03-25 16:01:45 +01:00
Rizwan Mustafa 47c7fd42c7
Improve webpack - Reduced filesize by 18% by converting from node-object-hash to object-hash (#2768) rizwanmustafa
* Refreshed the PR

* not sending stringified result anymore

* removed length check

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-03-25 15:36:04 +01:00
Jack 6b49a3c5e7
v1.14.1 (#2745)
* updated default config to fix incorrect font button being highlighted

* Convert account controller to ts (#2731)

* using modular sdk

* removing last script

* replacing more code

* unused code

* removed unused code

* removed unused code

* importing auth

* using analytics controller

* importing auth and analytics

* importing auth

* updated git ignore

* fixed path

* removed live config from gitignore

* added error message when failing to initialize firebase

* added live config
using live config when building production

* removed unused code

* fixed incorrect function use

* added example config

* added a step to the contributing guide

* optional steps

* fixed path

* using example in source code so that github actions dont cry like little babies

* using function correctly

* using function correctly

* ignoring live

* removed

* added action webpack config

* bruce said "no-no"

This reverts commit 0a1e5e1660.

* Fix

* Add ignore

* updated instructions

* using correct functions

* using correct function

* missing parameter

* using correct function

* using correct function

* removed ts ignores

* using new functions

* removed refresh

* using new functions

* merge fix

* fixed merge

* regenereated lockfile

* using correct function

* defaulting to the email thats already entered

* storing default snap in a file

* optional parameter

* made parameters non optional

* converted file to ts

* removed unused parameters

* removed unnecessary optional chaining

* destructuring array

* added a function to create error message

* removed type

* removed duplicate gitignore

* removed no check

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

* Include dev branch in CI (#2739)

* Decreased filesize and introduced chunk splitting (#2732) Rizwanmustafa

* Decreased filesize

* Introduce splitting for vendors

* Added HTML webpack plugin for dynamic change of chunkhash and minification on production

* Added bundle analyzer plugin for webpack

* Prevent analyzer from opening on its own

* updated contributors list

* Package lock update

* Created separate webpack config for analysing bundle

* Standardize paths in webpack base config

* Added devtool in dev webpack config

* Minor issues

* Based audit config off of the production config, saved exact packages and renamed some constants

* Saved exact version of packages

* Rename Config

* Added intellisense for webpack configs

* Added script for using audit config

* Simple changes

* Removed unnecessary cd and replaced webpack with npx wepback

* added npm script accessible from root dir
since audit is now a separate script, reenabled auto opening

Co-authored-by: Miodec <bartnikjack@gmail.com>

* Enable live reloading (#2738) bruception

* Enable live reloading

* Update scripts and documentation

* Fix resolve

* Use resolve

* Fix layoutfluid timer warnings (#2740) Ferotiq

* reduced date-fns import size

* using inline source map so that code is debuggable

* removed tinycolor2 dependency

* Migrate Chart.js to 3.7.1 (#2735) DanGonite57

* Migrate Chart.js to 3.7.1

* Show funbox label with StartGraphsAtZero disabled

* Fix label positioners

* Include dev branch in CI (#2739)

* Remove draw animation

* Avoid RangeError with no data

* Disable account chart initial render animation

* Add temporary type assertion for options.animation

* Test disabling animations via updateColors

* Test re-update chart after resetting animation duration

* Test dataset specific animation duration

* Disable animations for now

* Remove unused annotation

Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>

* installed dev dependency to stop audit from complaining

* removed mr mime dev dependency
regenerate package-lock

* not updating live burst when its disabled

* using vanilla js to increase performance

* updating chart once instead of 3 times

* made log async

* increased minimum wordset length to disable repeating words to 4
this stops infinite A B C sequences
closes #2742

* increased tick padding

* added some padding to stop data points from being cut off

* fixed account graphs not being responsive

* removed unnecessary style

* updated button active color

* Server version (#2746) Bruception

* Add server version

* typo

* Fix logic

* Moved to utility

* Actually save version

* Move logic order

* updated metric name

* removed unnecessary else

Co-authored-by: Bruception <bberr022@fiu.edu>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>
Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Evan <64989416+Ferotiq@users.noreply.github.com>
Co-authored-by: DanGonite57 <danzinc57@gmail.com>
2022-03-21 21:22:47 +01:00
Bruce Berrios 6d0966eea0
Compile sass using webpack (#2728) bruception
* Compile sass using webpack

* Add scss compilation
2022-03-18 15:40:40 +01:00
Bruce Berrios 3567c15ffe
Remove unused packages (#2724) 2022-03-17 21:49:34 +01:00
Bruce Berrios 1ba7a76b86
Migrate middlewares to TypeScript (#2574)
* Migrate middlewares

* Update workflow

* Fix ignore

* Fix

* Fix

* Remove babel loader from root dependencies

* Remove mongoDb
2022-02-23 10:03:38 -05:00
Ferotiq b99a979370
remove run-script-os and change the script back (#2573) 2022-02-23 01:07:48 +01:00
Bruce Berrios f9d6f52c15
Api overhaul (#2555) by Bruception
* Feat:Update response structure (#2427)

* Fix:response and error structure

* update:response message

* update:response class

* update

* Update response message

Co-authored-by: Mustafiz Kaifee Mumtaz <mustafiz.mumtaz@freecharge.com>

* Add MonkeyToken foundation (#2487) by Bruception

* Api changes (#2492)

* API changes

* Remove unused import

* Add Ape client (#2513)

* Add all endpoints (#2514)

* Merged backend typescript into api overhaul (#2515)

* Install typescript and add backend tsconfig

Cannot yet build due to a number of compilation errors in JS code

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Fix typescript compilation errors

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Migrated backend to ES modules

Switched to import export syntax

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add typescript declaration for anticheat

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Rename top level files to .ts

Fix service account json file typing

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add dev build scripts for backend typescript

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Removed empty lines and switched to using db

Cleaned up imports by removing needless empty lines and migrated to the new db.js instead of mongodb.js.

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Fixed backend commonjs syntax to ES module syntax

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Add build to backend start script

Signed-off-by: Brian Evans <ebrian101@gmail.com>

* Migrate some endpoints to Ape

* Strict equals

* Remove artifact

* ape -> Ape

* Ape migration p2 (#2522)

* Migrate leaderboard endpoints to ape

* Fixed comment

* Init backend types

* Fail

* Return

* Migrate Quotes to Ape (#2528)

* Migrate quotes to Ape

* Fix backend response

* Fix issue

* Fix rate limit (#2533)

* fix rate limit

* Fix import

* Fix issues

* Ape migration p4 (#2547)

* Migrate results endpoints to ape

* Remove unused import

* Remove unused import

* Fix loaders

* Make function async

* Hide try saving results

* Migrate some users endpoints to Ape (#2548)

* Complete Ape Migration (#2553)

* Complete ape migration

* Fix preset

* Return preset data

* Add typings

* Move captcha reset

* Read from params

* Fix result tags endpoint

* Fix stuck loader

* fixed lb memory not saving

* fixed quote rating popup not showing up for new users

Co-authored-by: Mustafiz Kaifee <49086821+Mustafiz04@users.noreply.github.com>
Co-authored-by: Mustafiz Kaifee Mumtaz <mustafiz.mumtaz@freecharge.com>
Co-authored-by: Brian Evans <53117772+mrbrianevans@users.noreply.github.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-22 20:55:48 +01:00
Ferotiq 1233d266a1
Fix (#2550)
* Update package.json

* Update CONTRIBUTING.md

* Update install.cmd

* Update pr-check.yml
2022-02-20 22:29:39 +01:00
Ferotiq 7cbd9d2722
Allow the process for setting up project and committing code on Windows to be much smoother (#2549)
* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Create install.cmd

* Update package.json

* Update CONTRIBUTING.md

* Update install.cmd

* Update install.cmd

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update package.json

* fix lint script so windows users can use it correctly

* adFd

* rename
2022-02-20 20:47:24 +00:00