Commit graph

246 commits

Author SHA1 Message Date
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
Miodec 3891ddbe14 moved dependencies to frontend 2022-02-19 22:30:41 +01:00
Miodec cfe7f9bd3e added tinycolor types 2022-02-19 22:17:37 +01:00
Miodec 0a9140ac09 added howler type 2022-02-19 21:56:49 +01:00
Ferotiq 71cdce20e3
TypeScript FrontEnd: Add Account Files (#2494)
* add account files, config, and db, fix other files, and make lint script work on cmd

* fuck operating systems

* remove project from eslint

* Merging and fixing some bugs

* fixed result ordering

* fixed quote filter stopping all results

* fixed words filter not working

* corrected type

* Update commandline-lists.ts

* Update types.d.ts

* removing explicit tag types

* mfing prettier

* small changes

* stuff

* fixes

* fix cannot read properties of undefined

* another check just to be safe

* okay that works

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-19 17:44:27 +01:00
Jack 432fedb3c0
Pr-check 2022-02-18 19:25:33 +01:00
Miodec c9b9e2705a added tasks for pr check that only run certain tasks
part of #2527
2022-02-18 18:14:39 +01:00
Miodec c85b644b88 added json schema validation. part of #2516 2022-02-17 23:36:40 +01:00
Miodec 78944f69b2 moved dev dependencies 2022-02-13 00:30:35 +01:00
Bruce Berrios eb2350bb1f
Move dependencies (#2483)
* Move dependencies

* Fixes

* Add stale pr action

* Update

* Fix cron schedule
2022-02-12 15:02:29 -05:00
Miodec 912ec63644 added select2 types 2022-02-12 19:14:27 +01:00
Miodec 17a0822ab6 added webpack to pr check 2022-02-12 19:07:58 +01:00
Ferotiq dcbdca0990
Some fixes (#2478)
* Some fixes

* Add dep-graph script, fix keyboard icon not restarting test

* remove my keyboard icon fix, force ===

* Revert "remove my keyboard icon fix, force ==="

This reverts commit 481316a7da.

* revert page fix

* fix mio's smooth brain
2022-02-12 16:53:00 +01:00
Miodec 202868269e renamed js folder to scripts
renamed sass folder to styles
moved types folder inside scripts
2022-02-12 16:25:53 +01:00
Rizwan Mustafa 1877cc31e7
(Draft) Replace Browserify with Webpack (Draft) (#2461) by rizwanmustafa
* Replaced browserify with webpack

* Modified gulpfile and webpack config

* Removed attempts of using undefined variables and functions

* fixed some incorrect changes

* setfunbox fix

* Added fallback for crypto-browserify and stream-browserify

* added circular dependency detection

* Created production tasks for gulp and updated webpack config

* fixed circular dependency in misc

* not failing on circular dependency

* Removed unused imports

* Added babel loader and plugins to webpack

* Removed unused dependencies and removed babel's plugins

* Workaround for test logic import in random quote

* Created a separate webpack config file for production

* Changed relative paths to absolute ones in webpack

* Added colored output for circular import number

* Removed comment from .eslintrc.json

* Added eslint plugin to webpack

* Moved 'buffer' and 'stream-browserify' to devDependencies

* Started using promises in webpack tasks

* Removed unused dependencies

* Updated package-lock.json

* Removed eslint plugin from webpack and added circular dependency detection in dev config as well

* Removed unrelated changes

* Updated production build command

* Added ability for webpack to be run with typescript conversion of project in process

* added gulp typscript dev dependency

* using const

* modified console logs on circular imports

* missing dev dependency

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-12 14:47:36 +01:00
Miodec f66e872d68 installed jquery types 2022-02-11 19:06:12 +01:00
Sondre Kjempekjenn 26c57d2ad3
Compile both JS and TS (#2464) by sondrekje
* Compile both JS and TS

Builds upon Ferotiq's PR

* Compile both JS and TS

Builds upon Ferotiq's PR

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-11 19:02:21 +01:00
Rizwan Mustafa 759ff88de7
Created webpack config file for detecting circular imports (#2463)
* Created webpack config file for detecting circular imports

* missing packages, added script to run webpack to find circular dependencies

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-10 17:21:24 +01:00
Bruce Berrios 16855219f8
Cache dependencies (#2454)
* Cache dependencies

* Add linting to pre-commit hook
2022-02-09 11:45:27 -05:00
Bruce Berrios c8af14baab
Fix PR check action (#2447)
* fix

* Install all dependencies

* Fix PR check action

* Fix lint

* Update install.sh and remove pretty check
2022-02-08 22:17:26 +01:00
Bruce Berrios ccafcee72d
Oops (#2446)
* fix

* Install all dependencies
2022-02-08 21:41:59 +01:00
Bruce Berrios f4a9147308
Setup PR check action (#2445) by Bruception 2022-02-08 21:27:14 +01:00
Bruce Berrios 345740db5f
Separate backend and frontend dependencies (#2441) by Bruception
* Add request validation to user endpoints

* Remove tag id log

* Remove verbs from endpoints

* Remove old code

* Remove uid

* Fix

* Remove name from URI

* Rename utils

* Fix

* Move prettier

* Update gulp file

* Add additional scripts

* Update package-lock

* Update contributing.md

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-08 20:33:41 +01:00
Cameron e0ca6cec43
chore: updated node/npm versions (#2440) 2022-02-08 00:28:56 +01:00
Miodec 79c5b432fc moved eslint to root directory
using file eslint config
keeping folder structure when moving to dist/gen
updated some imports
2022-02-07 18:47:24 +01:00
Miodec 6c31faab0c added package to update a files modified date
this fixes issues where firebase deploy would not upload the file (because gulp doesnt update the modified date)
2022-02-01 13:34:05 +01:00
Miodec 0cc74791fb switched hashing package
now using node-object-hash
added a configuratoin property to enable/disable hashing
part of #2389 and #2250
2022-02-01 13:13:59 +01:00
Bruce Berrios 101c227599
Add Dynamic Server Configuration (#2385) by Bruception
* Add no frontend script

* Define context middleware

* Define base configuration schema

* Define configuration DAO

* Setup context middleware and live configuration fetch

* Remove patch configuration method

* Rename files for consistency

* Use plain object check

* Use plain object

* modified base configuration

* renamed config property

* brought back 2 properties

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-01-31 22:47:58 +01:00
Miodec 68de7cfb89 exact package version 2022-01-31 16:08:15 +01:00
Miodec 28b59945ee Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-01-29 22:03:37 +01:00
Bruce Berrios 7ce9146c7d
Add initial report quote endpoint (#2367) by Bruception
* Add initial report quote endpoint

* Tune rate limiter for report quote

* Tune rate limiter

* Increase max comment size

* Add supported languages to schema validation

* Fix naming
2022-01-29 22:03:02 +01:00
Miodec d9b9fd64b5 minifying js 2022-01-29 21:00:08 +01:00
Miodec bc96330ae9 moved node fetch to 2.6.7 2022-01-26 23:38:48 +01:00
dependabot[bot] 566b44df28
Bump node-fetch from 2.6.1 to 3.1.1 (#2338)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 11:26:19 +01:00
Miodec f64660174d added dynamic sw cache name that changes on compile 2022-01-15 20:34:42 +01:00
Miodec ecaff47af9 Revert "added word definition fetching on click"
This reverts commit 80ed5f3d63.
2022-01-04 12:44:22 +01:00
Miodec adf358e1b3 added word definition fetching on click 2022-01-04 12:43:43 +01:00
Miodec b8ef24485e Revert "added word definition fetching on click"
This reverts commit 80ed5f3d63.
2022-01-04 12:30:08 +01:00
Miodec 80ed5f3d63 added word definition fetching on click 2022-01-04 12:28:19 +01:00
Jack c17969e15a updated versions 2021-10-13 20:25:10 +01:00
Jack cf8d258400
Quote submission (#1984)
* added new-quotes get and add routes

* added new-quotes/approve route to api

* Added front-end for quote submission

* fix language typo, force lowercase language

* Check for duplicate quote

* added unknown language handling to quote-submit

* npm i

* npm i

* language dropdown instead of input field

* mouse down instead click

* styling changes

* moved quotemod check to the controller,
added refuse endpoint,
added ability to approve and edit

* limiting quotes

* added log to quote approve

* added approve quotes button

* typo

* using the correct function, lowered limit

* added quote approve popup

* getting quotes and showing them

* error checking

* error checking

* removed console log

* stylng changes,
added refresh list button

* added disabled class

* styling changes

* handling button clicks
showing langauge and timestamp

* check if user is a quote mod

* approve button handling

* handling quote edit

* showing short quotes in red

* post, not get

* not parsing quote id to int

* parsing to objectid

* updated styling

* fixed lint warnings

* fixed up new quotes dao

* showing loader

* calling function correctly

* typo fix

* fixed wrong path,
fix broken newid,
saving file when file exists,
searching for the quote correctly when attempting to delete

* showing message

* blocking buttons and inputs when waiting for response,
unlocking after response

* deleted workflow

Co-authored-by: lukew3 <lukew25073@gmail.com>
2021-10-10 22:46:35 +01:00
Jack 747abee4aa added eslint github formatter 2021-10-10 16:22:34 +01:00
Jack 147602e927 added eslint json plugin 2021-09-30 23:15:50 +01:00
Jack 860de29955 better agent log 2021-09-25 13:49:46 +01:00
Jack fb7e5cae3a removed mongoose dependency 2021-09-15 12:08:44 +01:00
Jack 2e8d09af1a added cron 2021-09-09 23:38:42 +01:00
dependabot[bot] 0b4c9138bb
Bump axios from 0.21.1 to 0.21.2 (#1824)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 22:48:58 +01:00
Jack b10085e0c7 updated dev db script to only watch for changes in the backend directory 2021-08-28 00:07:03 +01:00
Jack 423990ab3b added api rate limiting 2021-08-27 21:40:38 +01:00
Jack 166b6c10e7 added object hash 2021-08-27 19:10:39 +01:00
Miodec 71123d4e55 added domtoimage 2021-08-26 14:27:45 +01:00
Jack a38213de0e updated nodb script 2021-08-22 00:37:19 +01:00
Jack f1ccc3d9ac added a nodb dev server script 2021-08-22 00:30:04 +01:00
Miodec afb262bc26 updated dev and deploy scripts 2021-08-21 12:44:01 +01:00
Miodec 997a96ee1b started migration convertion 2021-08-03 14:19:55 +01:00
Miodec bec7f380ca converted discord linking to mongo 2021-07-09 22:17:19 +01:00
Miodec a7aa36c3fa updated packages 2021-07-07 14:32:07 +01:00
Miodec 7689086503 merged master into mongo 2021-07-07 14:24:44 +01:00
Miodec 56e7b47647 fixed up package locks 2021-07-06 13:55:41 +01:00
Alvin Zhao 87073a3700
Added min burst (#1579) started by yzAlvin
* Added min burst

* no need to calculate burst on a timer

* added a burst history and current burst trackers, added set and push functions, removed burst calculating in stats (should be done on word completion)

* burst will not be calculated on every keypress

* calculating burst and pushing to history on space
setting start time on first keypress

* verifying that burst history and input history are the same length

* bursthistory typo
added function to calculate burst speed and updated the pushing function to consider if the word was already completed once before

* removed fail condition from timer

* removed debug notification

* added fail condition

* rounding burst

* making sure to load burst config

* styling burst display

* including burst in the result

* renamed variable

* removed burst from result screen, changed wording in settings page

* reran npm i to regenerate package lock in version 2

* audit fix

* gulp update

* added two burst modes: flex and fixed

* standardized some code

* swapped classes

* updated settings page min burst input
updated min burst description

* updated the setting sections with inputs to a new, better design

Co-authored-by: Jack <bartnikjack@gmail.com>
2021-06-29 18:55:59 +01:00
Dharmaraj 74685cb52b Removed postinstall script 2021-06-12 23:02:48 +05:30
Miodec a692e44038 added eslint 2021-06-12 17:51:15 +01:00
Dharmaraj 216c0637c1 Added MonkeyError class 2021-06-06 22:56:12 +05:30
Dharmaraj 4c560a437f Added Auth Router and DAO 2021-06-06 22:02:37 +05:30
lukew3 11caa57eeb replaced /api/ with api subdomain in production, added helmet middleware 2021-06-03 11:19:27 -04:00
lukew3 fd30b5aa36 brought back firebase analytics and authentication 2021-05-31 23:47:58 -04:00
lukew3 d7c3f53e73 Merge branch 'master' of https://github.com/Miodec/monkeytype into Miodec-master 2021-05-27 11:28:04 -04:00
lukew3 e2920fbec2 email verification 2021-05-27 11:08:40 -04:00
lukew3 12f3b45529 changed displayName to name, moved from cookies to localstorage 2021-05-26 19:06:03 -04:00
lukew3 61ae1084da removed unecessary createBlankLb function, removed mongob package 2021-05-26 15:07:21 -04:00
lukew3 68ba85f11e Moved backend to backend folder, removed moved functions 2021-05-20 14:38:58 -04:00
Miodec d890307f99 switched sounds to howler, should fix safari problems 2021-05-16 00:29:21 +01:00
lukew3 3978b7a106 firebase completely disconnected, working at restoring all functionality 2021-05-14 13:56:08 -04:00
Rustom Ichhaporia e71079e044 Install tinycolor2 2021-05-08 16:23:36 -05:00
Miodec 3cdec2da46 using actual project name 2020-12-19 04:22:19 +00:00
Jack eeaa708cfc
Revert "Convert external dependencies to npm packages" 2020-12-05 14:50:33 +00:00
Marco Pagani dd8b01ff52 replaced jquery and html2canvas with external deps
fixed import statement for jquery
2020-11-26 01:08:47 -05:00
Marco Pagani f3274c22b3 converted moment to external dependency 2020-11-26 01:07:57 -05:00
typer adc097ffc2 converted chart.js to an npm dependency 2020-11-12 23:54:38 -08:00
typer b879a5967d added browserify and made db.js an ES6 module 2020-11-12 23:12:53 -08:00
Jack c5762d229a
Merge branch 'master' into lint 2020-11-08 23:26:59 +00:00
Jack 079bd61e7f renamed script to start:dev 2020-11-05 19:52:38 +00:00
typer c4b1407770 Merge branch 'master' into lint 2020-11-03 19:01:08 -08:00
Jack 3090ef1702 updated version 2020-11-04 00:48:33 +00:00
Jack 57d7192795 renamed start script, added deploy scripts 2020-11-04 00:48:01 +00:00
typer 153efd9a6a Merge branch 'use-gulp' into lint 2020-11-02 17:52:58 -08:00
typer c8273e9875 renamed gulp build to gulp compile, and gulp rebuild to gulp build 2020-11-02 17:43:42 -08:00
typer e70d38f541 fixed most lint errors 2020-11-02 17:32:27 -08:00
typer 56e2910a4d added eslint@6.0.0, gulp-eslint, babel-eslint dev dependencies. added linting to the concatenated source. removed a duplicate function to allow it to build. 2020-11-02 17:13:09 -08:00
typer 92214e7b45 add private to package.json 2020-11-02 03:35:22 -08:00
typer 11b1f1dc35 added 'npm run build' script 2020-11-01 22:54:24 -08:00
typer ceb798ad6f added sass compilation in gulp build 2020-11-01 22:53:20 -08:00
typer ffe8554c89 added gulp build and a few dev dependencies. can now run with 'npm run start:dev' 2020-11-01 22:25:25 -08:00
typerqeo 6ba54326e5 added license in package.json 2020-10-27 19:23:12 -07:00
typerqeo e6d1ad79dc added prettier as a git pre-commit hook 2020-10-27 19:23:11 -07:00
typerqeo aae1f34a82 added new package.json. install with npm install, and run with npm start. 2020-10-27 19:23:10 -07:00