Commit graph

8762 commits

Author SHA1 Message Date
Miodec aa4f0a41f3 returning false if response was not ok 2023-02-13 15:10:15 +01:00
Jack 1ca0fd1b23
Custom email (#3964)
* added nodemailer and mjml

* added email template

* basic email util file

* added email queue

* email worker

* renamed folder

* showing which queues and workers were initialized

* initializing email on server boot
added some test code

* renamed to email worker

* type fix

* renamed queue

* added queue to list

* added worker to list

* logging when config was verified

* handling send mail result

* not minifying (not supported anymore)
using .html property
returning correct value

* dont send me emails

* added port to .env

* updated example

* updated test email

* using env email

* parseint base

* message

* refactor

* message

* rename

* moved email templates

* using async file read

* typo

* using mustache

* moved file
renamed to email client

* logging with prometheus

* added social links

* line

* using stronger types (object instead of array of any[])
moved prometheus logging into email client
added function to send mail using a template

* fixed templates not working

* removed console log

* name change

* rename

* moved templates

* rename

* string interpolation

* string interpolation

* moved to dev dependencies, exact versions

* moved types

* removed function, remove unnecessary if

* update template params

* updated name

* fixed button not clickable

* throwing

* moved template metadata to one place

* rename

* sending email on account creation

* removed test code
removed await

* fixed button

* not stopping the server if email client validation failed

* added metric for queue lengths

* exposing getjobcounts

* added job to log queue lengths

* added endpoint to request verification email

* using send verification email that calls api instead of firebase built in

* updated route

* renamed function

* recording time to complete

* returning 400 if email already verified

* setting transport initialized to true earlier, setting it to false if caught error

* moved forgot password flow to a simple popup, added new endpoint to ape

* added forgotpasswordemail route

* added email tempalte

* setting transport to false if caught error

* added email queue function

* moved try higher

* fixed log
2023-02-13 13:24:43 +01:00
Piyush Sahu 8d965a7cf1
quote - NaD (#3988) sahupr 2023-02-13 13:09:24 +01:00
Bianco Da Costa Oliveira cd31a5c9cd
Update portuguese.json (#3987) Ocnaibill
frases adicionadas.
2023-02-13 13:01:20 +01:00
github-actions[bot] 23cd7f44a8
Prettier fix (#3986)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-02-13 13:00:35 +01:00
Pratham Purohit a1c26c96aa
Adding a light color theme "slambook". (#3982) prathammpurohit
* Create pale_page.css

* Update pale_page.css

Added a pale yellow page-like interface. Added newer error colours as well.

* Update _list.json

Added theme "pale_page".

* Update pale_page.css

Added a new colour theme.

* Update _list.json

Added a new theme "pale_page".

* Delete pale_page.css

* Create slambook.css

Added a new theme "slambook".

* Update _list.json

Added a new theme "slambook".

* Update slambook.css

fixed color scheme

* Update _list.json

* Update slambook.css

Updated theme
2023-02-13 13:00:14 +01:00
Miodec 9f8ff40a36 fix quote lengths 2023-02-13 12:55:41 +01:00
Miodec 06bd540d61 quote reports 2023-02-13 12:54:42 +01:00
Miodec af38c4ee2d removed words 2023-02-12 22:20:58 +01:00
Miodec 68474368e1 longer notification time 2023-02-12 00:02:50 +01:00
Miodec 89a6e9ff02 updated message 2023-02-12 00:02:50 +01:00
Jerry Zhou da9b691bb1
New Sound on Click - Pentatonic Scale (#3970)
* added scale function

* cleaned up merge

* cleaned up scale implementation and created closure for previewing scales

* finalized changes

* fixed ci/de

* switched to upper camel case

* undid accidental changes

* updates

* fixed indexing bug and audioCtxt being intialized

* removed mapping

* updated schema with non-inclusive range for two new sound-on-clicks

---------

Co-authored-by: Bruce Berrios <bberr022@fiu.edu>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>
2023-02-10 18:11:52 -05:00
Miodec 47c581c5f8 recording time to complete job
closes #3965
2023-02-09 15:27:55 +01:00
Dainternetdude dba84c3253
add sturdy ortho keyboard layout (#3979) Dainternetdude
* add sturdy ortho keyboard layout

* remove random extra double quote

oops lmao

* move sturdy ortho to be with the rest of the sturdy family
2023-02-09 12:46:01 +01:00
Miodec 9a9699b445 fixed buttons not appearing
closes #3980
2023-02-09 12:43:22 +01:00
Miodec 87b4114532 checking if there is still input to be pushed
moved the check into one place
fixes #3981
2023-02-09 12:32:19 +01:00
Vladislav Dietrich 8f26f5f60a
Add nord light theme (#3978) ithelor
Co-authored-by: Vladislav Dietrich <v.ditrih@taptima.ru>
2023-02-07 11:29:14 +01:00
hanabo-mk f92c63fd64
Added 10 new quotes to the German pool (#3975) hanabo-mk
* quotes added

* lenghts fixed
2023-02-07 11:27:59 +01:00
Joonas acb4d666b5
added estonian quotes (#3974) KlopZzz
* added estonian quotes

* Fixed quote length

---------

Co-authored-by: KlopZ <none>
2023-02-06 14:14:12 +01:00
Ziyodulla Muydinjanov e625b37d6c
fixed typos in uzbek 1k (#3977) zieu
* fixed typos in uzbek 1k

Some words were missing the last character and few words didn't make sense so I altered them to the closest similar word.

* fixed typos and removed duplicates

* Update uzbek_1k.json

* Update uzbek_1k.json
2023-02-06 12:32:11 +01:00
Liewe Gutter 51ebf96fcb
improve password length check (#3973) lgutter
integratie check for too long passwords into isPasswordStrong, and
consistently check for it wherever passwords can be created / changed.

Co-authored-by: Liewe Gutter <liewegutter@gmail.com>
2023-02-06 12:30:33 +01:00
Jerry Zhou 801be2fc55
Fixed issue #3971 - active theme selection is properly removed (#3972)
* fixed issue #3971

* removed debug statement
2023-02-06 12:19:22 +01:00
Rephael Congmon d9120b47c2
Update all-time-stats.ts (#3976)
These 2 if statements can be combined
2023-02-05 19:30:33 -05:00
Miodec 9c58ec2808 fixed more issues with cookie popup blocking extensions 2023-02-05 22:32:06 +01:00
Miodec 41834d9c5e logging every 5 minutes 2023-02-01 12:09:08 +01:00
Miodec 198111d7f3 quote report 2023-02-01 12:07:08 +01:00
Miodec 666522c0b3 added job to log queue lengths 2023-02-01 02:05:19 +01:00
Miodec bb39afa753 exposing getjobcounts 2023-02-01 02:05:15 +01:00
Miodec 06a2c91eee added metric for queue lengths 2023-02-01 02:05:08 +01:00
Miodec ed56dff53e removed bad words 2023-01-31 16:07:04 +01:00
Miodec 23ba234c16 added fulllogo 2023-01-31 01:59:40 +01:00
Miodec b177232710 refactor 2023-01-31 01:04:04 +01:00
Miodec 888cf9f34e added command to copy result stats to clipboard 2023-01-31 01:02:40 +01:00
Miodec 921aa94dc7 added cron job to log collection sizes 2023-01-30 16:53:12 +01:00
Miodec 2b0ccbe44c added islocalhost function to misc 2023-01-30 16:34:36 +01:00
Miodec e1c23538a7 quote reports,
quote lengths
2023-01-30 13:10:34 +01:00
Miodec 9cdfa9c191 fixed filter preset buttons not showing up 2023-01-30 12:56:41 +01:00
Miodec 6c9e3baf5b quote reports 2023-01-30 12:40:16 +01:00
Miodec 14ad135483 updated messages 2023-01-29 15:20:04 +01:00
Miodec 2dd1baac95 added another custom error handler
changed returned code
2023-01-29 15:14:46 +01:00
Miodec 2aa95b4526 added custom error handling 2023-01-29 14:43:04 +01:00
github-actions[bot] 85835334d1
Prettier fix (#3960)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-01-29 01:34:29 +01:00
Miodec 0d2af80a80 fixed tags not showing up in the account page filters 2023-01-29 01:01:08 +01:00
Miodec 26a19a87b0 fixed error if 8008 is the active theme
should fix #3957
2023-01-28 19:50:35 +01:00
Miodec 4cc8ed5e91 fixed theme buttons not showing up if user has favorites 2023-01-28 19:50:03 +01:00
Miodec bc4651d2b7 fixed active entry icon color not changing 2023-01-28 19:46:06 +01:00
Bruce Berrios dcb505e507
Fix on failure action (#3959)
* Fix on failure action

* Bad commit

* Use API token

* Another bad commit

* Fix bad commits
2023-01-27 21:07:08 -05:00
Miodec c90ccf05be removed console logs 2023-01-27 23:33:15 +01:00
Miodec c0cb29c80f added a resetState parameter
not resetting textarea state if user is about to save the custom text
should help with #3958 and #3955
2023-01-27 23:32:39 +01:00
Miodec 79659a6e42 removed duplicate click handler 2023-01-27 23:31:15 +01:00