Christian Fehmer
9d64a57daf
feat(leaderboard): add friends filter to all-time leaderboard (@fehmer) ( #7061 )
2025-10-31 18:57:42 +01:00
Miodec
c0191da004
chore: bump node version
2025-10-31 14:18:59 +01:00
Miodec
586a19ad3e
chore: upgrade oxlint
2025-10-31 14:18:59 +01:00
Christian Fehmer
d885e70232
feat: add friend requests and list (@fehmer) ( #6658 )
...
make some friends on monkeytype
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2025-10-28 12:36:16 +01:00
Jack
7e6a73aac2
chore: upgrade to vite 7 (@miodec) ( #7051 )
2025-10-27 17:17:21 +01:00
Christian Fehmer
cd8ebd1430
chore: update nodejs to 24.10.0 (@fehmer) ( #7035 )
2025-10-27 13:38:37 +01:00
Christian Fehmer
4268572be4
build: fix scope of dependency @monkeytype/schemas (@fehmer) ( #7033 )
2025-10-21 13:05:07 +02:00
dependabot[bot]
4e5ba24a3e
build(deps): bump nodemailer from 6.9.14 to 7.0.7 in /backend ( #7011 )
...
Bumps [nodemailer](https://github.com/nodemailer/nodemailer ) from 6.9.14
to 7.0.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/nodemailer/nodemailer/releases ">nodemailer's
releases</a>.</em></p>
<blockquote>
<h2>v7.0.7</h2>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.6...v7.0.7 ">7.0.7</a>
(2025-10-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>addressparser:</strong> Fixed addressparser handling of
quoted nested email addresses (<a
href="1150d99fba ">1150d99</a>)</li>
<li><strong>dns:</strong> add memory leak prevention for DNS cache (<a
href="0240d6795d ">0240d67</a>)</li>
<li><strong>linter:</strong> Updated eslint and created prettier
formatting task (<a
href="df13b7487e ">df13b74</a>)</li>
<li>refresh expired DNS cache on error (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1759 ">#1759</a>)
(<a
href="ea0fc5a663 ">ea0fc5a</a>)</li>
<li>resolve linter errors in DNS cache tests (<a
href="3b8982c1f2 ">3b8982c</a>)</li>
</ul>
<h2>v7.0.6</h2>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.5...v7.0.6 ">7.0.6</a>
(2025-08-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>encoder:</strong> avoid silent data loss by properly
flushing trailing base64 (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1747 ">#1747</a>)
(<a
href="01ae76f2cf ">01ae76f</a>)</li>
<li>handle multiple XOAUTH2 token requests correctly (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1754 ">#1754</a>)
(<a
href="dbe0028635 ">dbe0028</a>)</li>
<li>ReDoS vulnerability in parseDataURI and _processDataUrl (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1755 ">#1755</a>)
(<a
href="90b3e24d23 ">90b3e24</a>)</li>
</ul>
<h2>v7.0.5</h2>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.4...v7.0.5 ">7.0.5</a>
(2025-07-07)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>updated well known delivery service list (<a
href="fa2724b337 ">fa2724b</a>)</li>
</ul>
<h2>v7.0.4</h2>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.3...v7.0.4 ">7.0.4</a>
(2025-06-29)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>pools:</strong> Emit 'clear' once transporter is idle and
all connections are closed (<a
href="839e28634c ">839e286</a>)</li>
<li><strong>smtp-connection:</strong> jsdoc public annotation for socket
(<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1741 ">#1741</a>)
(<a
href="c45c84fe9b ">c45c84f</a>)</li>
<li><strong>well-known-services:</strong> Added AliyunQiye (<a
href="bb9e6daffb ">bb9e6da</a>)</li>
</ul>
<h2>v7.0.3</h2>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.2...v7.0.3 ">7.0.3</a>
(2025-05-08)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>attachments:</strong> Set the default transfer encoding for
message/rfc822 attachments as '7bit' (<a
href="007d5f3f40 ">007d5f3</a>)</li>
</ul>
<h2>v7.0.2</h2>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.1...v7.0.2 ">7.0.2</a>
(2025-05-04)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md ">nodemailer's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.6...v7.0.7 ">7.0.7</a>
(2025-10-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>addressparser:</strong> Fixed addressparser handling of
quoted nested email addresses (<a
href="1150d99fba ">1150d99</a>)</li>
<li><strong>dns:</strong> add memory leak prevention for DNS cache (<a
href="0240d6795d ">0240d67</a>)</li>
<li><strong>linter:</strong> Updated eslint and created prettier
formatting task (<a
href="df13b7487e ">df13b74</a>)</li>
<li>refresh expired DNS cache on error (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1759 ">#1759</a>)
(<a
href="ea0fc5a663 ">ea0fc5a</a>)</li>
<li>resolve linter errors in DNS cache tests (<a
href="3b8982c1f2 ">3b8982c</a>)</li>
</ul>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.5...v7.0.6 ">7.0.6</a>
(2025-08-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>encoder:</strong> avoid silent data loss by properly
flushing trailing base64 (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1747 ">#1747</a>)
(<a
href="01ae76f2cf ">01ae76f</a>)</li>
<li>handle multiple XOAUTH2 token requests correctly (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1754 ">#1754</a>)
(<a
href="dbe0028635 ">dbe0028</a>)</li>
<li>ReDoS vulnerability in parseDataURI and _processDataUrl (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1755 ">#1755</a>)
(<a
href="90b3e24d23 ">90b3e24</a>)</li>
</ul>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.4...v7.0.5 ">7.0.5</a>
(2025-07-07)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>updated well known delivery service list (<a
href="fa2724b337 ">fa2724b</a>)</li>
</ul>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.3...v7.0.4 ">7.0.4</a>
(2025-06-29)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>pools:</strong> Emit 'clear' once transporter is idle and
all connections are closed (<a
href="839e28634c ">839e286</a>)</li>
<li><strong>smtp-connection:</strong> jsdoc public annotation for socket
(<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1741 ">#1741</a>)
(<a
href="c45c84fe9b ">c45c84f</a>)</li>
<li><strong>well-known-services:</strong> Added AliyunQiye (<a
href="bb9e6daffb ">bb9e6da</a>)</li>
</ul>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.2...v7.0.3 ">7.0.3</a>
(2025-05-08)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>attachments:</strong> Set the default transfer encoding for
message/rfc822 attachments as '7bit' (<a
href="007d5f3f40 ">007d5f3</a>)</li>
</ul>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.1...v7.0.2 ">7.0.2</a>
(2025-05-04)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ses:</strong> Fixed structured from header (<a
href="faa9a5eafa ">faa9a5e</a>)</li>
</ul>
<h2><a
href="https://github.com/nodemailer/nodemailer/compare/v7.0.0...v7.0.1 ">7.0.1</a>
(2025-05-04)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ses:</strong> Use formatted FromEmailAddress for SES emails
(<a
href="821cd09002 ">821cd09</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9357a71233 "><code>9357a71</code></a>
chore(master): release 7.0.7 [skip-ci] (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1761 ">#1761</a>)</li>
<li><a
href="df13b7487e "><code>df13b74</code></a>
fix(linter): Updated eslint and created prettier formatting task</li>
<li><a
href="62629a0674 "><code>62629a0</code></a>
Updated tests for addressparser</li>
<li><a
href="1150d99fba "><code>1150d99</code></a>
fix(addressparser): Fixed addressparser handling of quoted nested email
addre...</li>
<li><a
href="3b8982c1f2 "><code>3b8982c</code></a>
fix: resolve linter errors in DNS cache tests</li>
<li><a
href="0240d6795d "><code>0240d67</code></a>
fix(dns): add memory leak prevention for DNS cache</li>
<li><a
href="ea0fc5a663 "><code>ea0fc5a</code></a>
fix: refresh expired DNS cache on error (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1759 ">#1759</a>)</li>
<li><a
href="430ca75aa8 "><code>430ca75</code></a>
chore(master): release 7.0.6 [skip-ci] (<a
href="https://redirect.github.com/nodemailer/nodemailer/issues/1753 ">#1753</a>)</li>
<li><a
href="e3e700c4c4 "><code>e3e700c</code></a>
Bumped deps</li>
<li><a
href="f322c380ae "><code>f322c38</code></a>
replaced escaped single quotes with unescaped ones</li>
<li>Additional commits viewable in <a
href="https://github.com/nodemailer/nodemailer/compare/v6.9.14...v7.0.7 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/monkeytypegame/monkeytype/network/alerts ).
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2025-10-15 10:42:46 +02:00
Christian Fehmer
85671a32b2
chore: update version of supertest (@fehmer) ( #6839 )
2025-10-15 10:34:47 +02:00
Miodec
a33b464511
chore: change oxlint config to jsonc
...
also disable one rule
2025-09-11 22:04:48 +02:00
Miodec
1fa473744a
chore: bump oxlint
2025-09-11 22:04:48 +02:00
Christian Fehmer
f9a9463534
test: fix presets test using fixed uids (@fehmer) ( #6947 )
2025-09-10 11:42:29 +02:00
Jack
8627235bef
feat(result): rename raw to burst, add raw line to result graph, add ability to hide chart data (@miodec) ( #6907 )
2025-09-02 11:06:15 +02:00
Jack
7487e53c67
refactor: result migration and tests cleanup (@miodec) ( #6929 )
...
move all legacy test value migration into a central place, update the
tests to only check if that was called, test replaceLegacyValues
2025-09-01 17:39:24 +02:00
Christian Fehmer
01f981cd0a
test: refactor controller tests (@fehmer) ( #6925 )
2025-09-01 11:53:05 +02:00
Christian Fehmer
d9887cf37c
refactor: use findOne instead of limit(1) (@fehmer) ( #6924 )
2025-09-01 11:52:16 +02:00
Miodec
c8cf1eae54
refactor: optimise fetching last result timestamp when adding a result
2025-08-28 16:19:26 +02:00
Jack
e4c0c28150
chore: bump eslint typescript plugin (@miodec) ( #6915 )
2025-08-26 22:12:27 +02:00
Miodec
b54052913c
chore: bump oxlint version
2025-08-26 17:41:51 +02:00
Miodec
2a6bfbeefb
chore: log high wpm results
2025-08-20 11:57:19 +02:00
Miodec
057fdf3fed
chore: bump oxlint version
2025-08-18 15:38:13 +02:00
Christian Fehmer
c5d43dd673
feat(profile): optionally include test activity on users public profile (@fehmer) ( #6824 )
...
Co-authored-by: Miodec <jack@monkeytype.com>
2025-08-15 14:31:58 +02:00
Christian Fehmer
119649bc9e
test: don't use globals for vitest (@fehmer) ( #6871 )
...
- **test: support to run/watch all tests in vscode (@fehmer)**
- **packages/contracts**
- **move schema tests to schema package**
- **packages/funbox**
- **packages/utils**
- **frontend**
- **backend**
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2025-08-14 11:25:44 +02:00
Christian Fehmer
7a91b4e08b
chore: update redocly to 2.0.5 (@fehmer) ( #6874 )
2025-08-14 11:14:33 +02:00
Christian Fehmer
3447907d09
test: support to run/watch all tests in vscode (@fehmer) ( #6868 )
2025-08-13 11:14:21 +02:00
Miodec
5183caf91e
chore: upgrade oxlint
2025-08-10 15:08:46 +02:00
Christian Fehmer
f9b22ade56
chore: remove unused dependencies (@fehmer) ( #6841 )
...
- **remove chokidar**
- **remove path, node-fetch, ioredis-mock**
- **remove nodemon**
2025-08-07 15:02:19 +02:00
Christian Fehmer
bec5606c7a
chore: move knip to project root (@fehmer) ( #6842 )
2025-08-07 15:00:43 +02:00
Christian Fehmer
cd99d5af16
test: add WeeklyXpLeaderboards integration tests (@fehmer) ( #6843 )
2025-08-07 14:48:14 +02:00
Christian Fehmer
c8a91ede52
test: fix flaky user tests (@fehmer) ( #6837 )
2025-08-07 14:47:35 +02:00
Christian Fehmer
01ed9322ec
test: update to vitest3 (@fehmer) ( #6811 )
...
- **test: use mongodb testcontainer (@fehmer)**
- **don't run integration tests in parallel**
- **fix premium test**
- **refactor, cleanup**
- **refactor, cleanup**
- **test: add integration tests for daily leaderboards (@fehmer)**
- **trigger**
- **trigger**
- **test: update to vitest3 (@fehmer)**
2025-08-04 15:55:10 +02:00
Christian Fehmer
9c41fd5d04
test: add unit tests for daily leaderboards (@fehmer) ( #6802 )
...
- **refactor existing test to use it.for**
- **use testcontainers**
2025-08-04 15:28:55 +02:00
Christian Fehmer
d9009e51cc
test: use mongodb testcontainer (@fehmer) ( #6808 )
2025-08-04 15:10:41 +02:00
Christian Fehmer
c1a681c17f
test: split integration tests (@fehmer) ( #6807 )
...
- **trigger**
- **test: split integration tests (@fehmer)**
2025-07-30 13:22:40 +02:00
Christian Fehmer
aa94a8afed
chore: update nodejs to 20.19.4 (@fehmer) ( #6805 )
2025-07-30 10:06:04 +02:00
Cameron
2180e3b603
chore(deps): upgrade oxlint to 1.8.0, fix errors (@camc314) ( #6776 )
...
### Description
This PR updates oxlint to 1.8.0 and fixes the resulting errors in order
to keep oxlint's ecosystem CI green.
Thanks for using oxlint
---------
Co-authored-by: Miodec <jack@monkeytype.com>
2025-07-24 14:32:12 +02:00
Jack
69cbbe4ab2
refactor(contracts / schemas): move schemas into their own package (@miodec) ( #6754 )
2025-07-21 14:55:54 +02:00
Jack
92790f3682
refactor(config): config metadata (@miodec) ( #6753 )
...
Create config metadata object
Move all the special code on config change to config listeners
Create a generic set function which will work with the metadata object
to update any config key
Update all setters to use the generic set.
(Later probably only use the generic settter and remove all the specific
ones)
Also orders config groups and config schema.
---------
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2025-07-21 13:50:33 +02:00
Miodec
41495981a8
chore: bump oxlint version
2025-07-19 15:02:14 +02:00
Miodec
255fd7f410
chore: only log daily changes 6 hours after the reset
2025-07-19 02:09:09 +02:00
Miodec
c6d9033005
chore: move result logging later, log top 10 daily
2025-07-17 09:37:06 +02:00
Miodec
c4590a2939
chore: log only up to 2 minute tests
2025-07-17 09:27:48 +02:00
Miodec
c9986bbc4c
chore: slice long messages
2025-07-17 09:19:39 +02:00
Miodec
b15520f0b3
chore: add ability to log results
2025-07-17 01:24:47 +02:00
Christian Fehmer
a4de8dfda6
impr(leaderboard): daily mode/language buttons based on backend configuration (@fehmer) ( #6713 )
...
Co-authored-by: Miodec <jack@monkeytype.com>
2025-07-14 15:32:09 +02:00
Christian Fehmer
5aec2c9a17
fix(docker): use frontend url for firebase admin (@fehmer) ( #6730 )
...
fixes #6728
---------
Co-authored-by: Jack <jack@monkeytype.com>
2025-07-14 15:30:34 +02:00
Christian Fehmer
8be3a3cc9b
fix(leaderboard): use minTimeTyping from configuration (@fehmer) ( #6710 )
...
We added `minTimeTyping` to the configuration but it was only used to
create the indicies.
2025-07-09 12:09:49 +02:00
Christian Fehmer
9b26793a6d
chore: update express to 5.1.0 (@fehmer) ( #6691 )
2025-07-03 15:43:01 +02:00
Christian Fehmer
afbff1bcf6
fix(docker): Allow to self-host without firebase config (@fehmer) ( #6685 )
...
fixes #6505
2025-07-01 13:06:06 +02:00
Seif Soliman
e4a102ac64
impr(results): allow PBs with stop on letter if accuracy is 100% (@byseif21) ( #6611 )
2025-06-26 17:11:15 +02:00