Commit graph

145 commits

Author SHA1 Message Date
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