Commit graph

86 commits

Author SHA1 Message Date
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
Miodec a11aef772f npm i 2021-12-30 16:04:54 +01:00
Jack 9fd6b03696 regenerated package lock 2021-10-13 20:25:01 +01:00
Jack 5cc3982a9c rerunning npm i 2021-10-10 23:30:29 +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 6178ed504f security update 2021-10-10 22:12:44 +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
Miodec bc40ff48d2 updated package 2021-09-24 17:07:41 +01:00
Jack fb7e5cae3a removed mongoose dependency 2021-09-15 12:08:44 +01:00
Miodec ef3f2295f6 lock update 2021-09-11 13:13:41 +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
Pranav Sinha 55b8d226c2
Debugged broken newline in customText - Issue#1780 (#1798) by pran01
* Added a delimiter switch

* Added delimiter to wordfilter

* Delimiter Switch to Delimiter Checkbox

* fixed random input fields styling

* regenerated lockfile to version 2

* brought back example.evn

* removed console logs

* removed garbage code

* reverted back delimiter tagline

* solved newline bug in custom

* removed garbage code

Co-authored-by: Jack <bartnikjack@gmail.com>
2021-09-01 16:15:44 +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 c1ac7b7287 Merge branch 'master' of https://github.com/Miodec/monkeytype 2021-08-26 14:28:07 +01:00
Miodec 71123d4e55 added domtoimage 2021-08-26 14:27:45 +01:00
Pranav Sinha 3df0230c70
Added a delimiter switch (#1754) by pran01
* Added a delimiter switch

* Added delimiter to wordfilter

* Delimiter Switch to Delimiter Checkbox

* fixed random input fields styling

* regenerated lockfile to version 2

* brought back example.evn

* removed console logs

Co-authored-by: Jack <bartnikjack@gmail.com>
2021-08-25 14:46:37 +01:00
Miodec c44b707280 npm i 2021-08-21 12:45:31 +01:00
Miodec ea4f3bcc5d Merge branch 'mongo' 2021-08-17 18:13:04 +01:00
Miodec 997a96ee1b started migration convertion 2021-08-03 14:19:55 +01:00
Miodec 5335ad1ad4 updated package requirement 2021-08-03 13:31:59 +01:00
DharmarajX24 e62acc923f Disabling auth observer in signIn 2021-07-21 16:48:02 +05:30
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 40b0ad4d1e npm i 2021-07-06 14:52:46 +01:00
Miodec 56e7b47647 fixed up package locks 2021-07-06 13:55:41 +01:00
Miodec afa895991d npm i 2021-07-04 16:11:39 +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
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
Dharmaraj 3df8610735 Removed functions dir 2021-06-06 19:48:10 +05:30
Miodec 697b23f1be npm i 2021-06-05 20:21:48 +01:00
lukew3 11caa57eeb replaced /api/ with api subdomain in production, added helmet middleware 2021-06-03 11:19:27 -04:00
lukew3 7845135c8a Created migrate script, updated CONTRIBUTING.md 2021-06-02 22:03:37 -04:00
lukew3 fd30b5aa36 brought back firebase analytics and authentication 2021-05-31 23:47:58 -04:00
Jack ffe92b6c98 added offline message 2021-05-31 20:14:02 +01: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
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