Commit Graph

74 Commits

Author SHA1 Message Date
Keyan 6b1f3ba8ef
Update awards.csv 2024-10-07 12:09:10 -05:00
Keyan a01590e321
Update awards.csv 2024-10-02 19:53:26 -05:00
Keyan 5f1d3dbde4
Update awards.csv 2024-10-02 18:53:18 -05:00
Keyan 0f9b6f02f6
Update awards.csv 2024-09-26 18:41:24 -05:00
Keyan beba2f4794
Update awards.csv 2024-09-18 15:45:52 -05:00
Keyan a5af2538c6
Update awards.csv 2024-09-16 12:11:15 -05:00
Keyan 3af43d74d3
Update awards.csv 2024-08-27 11:22:34 -05:00
Keyan eca7e8df0d
Update awards.csv 2024-08-20 17:06:45 -05:00
Keyan 11ddbe3983
Update awards.csv 2024-08-18 11:45:39 -05:00
Keyan 68758b3443
Update awards.csv 2024-08-12 16:58:49 -05:00
Keyan e897a2d1dc
Update awards.csv 2024-08-11 16:31:44 -05:00
Keyan ef229b378e
Update awards.csv 2024-08-10 11:17:22 -05:00
Keyan e6f6895ce0
Update awards.csv 2024-07-31 12:22:30 -05:00
Keyan 837767a323
Update awards.csv 2024-07-31 12:18:26 -05:00
h0dlr 1ef88664d4
Update awards.csv (#1267) 2024-07-21 11:47:34 -05:00
Keyan b31a8dbf2c
Update awards.csv 2024-07-11 18:23:33 -05:00
Keyan 1e3d37d6b0
Update awards.csv 2024-06-25 16:36:20 -05:00
Keyan a55e865222
Update awards.csv 2024-06-22 15:18:37 -05:00
Keyan 8329da1f56
Update awards.csv 2024-06-13 16:40:16 -05:00
Keyan b4c120ab39
Update awards.csv 2024-06-03 14:40:37 -05:00
Keyan 3d3dc52cec
Update awards.csv 2024-05-31 10:23:31 -05:00
Keyan 738333efa3
Update awards.csv 2024-05-28 19:30:30 -05:00
Keyan d2daad5b20
Update awards.csv 2024-05-28 09:06:14 -05:00
Keyan 26fe7fce33
Update awards.csv 2024-05-28 08:39:34 -05:00
Keyan 30e24bfe47
Update awards.csv 2024-05-28 08:35:54 -05:00
Keyan 61852523fc
Update awards.csv 2024-05-28 08:23:01 -05:00
Keyan 566f7726de
Update awards.csv 2024-05-23 09:42:38 -05:00
Keyan 517aff1da3
Update awards.csv 2024-05-22 16:30:28 -05:00
Keyan 3e83c51286
Update awards.csv 2024-05-19 16:01:17 -05:00
Keyan cf995d0a9f
Update awards.csv 2024-05-17 10:50:01 -05:00
keyan 9dfdfe7329 update awards.csv payouts 2024-05-17 10:20:08 -05:00
Keyan 4aa3c67527
Update awards.csv 2024-05-17 08:41:22 -05:00
keyan c83ff02a85 update awards.csv 2024-05-15 13:26:41 -05:00
keyan 85a4839538 update awards.csv absent date paid 2024-05-15 13:11:30 -05:00
Ben Allen 57fbab31b3
Force post options open when dirty or on errors (#1129)
* wip submit will open options

* fix: options show on error discussions

* lint

* feat: all types check for dirty or errors

* lint

* fix ordering

* dirty and error useEffects

* use formik context

* update dirty checks on forms

* revert dirty logic

* simplify handle error functions

* lint

* add myself to contributors and update awards

* use Formik context in adv-post-form

* move all logic into accordian item

* move logic up to adv-post-form

* lint

* errors open options every time

* refine dirty form accordians

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-05-12 16:17:41 -05:00
SatsAllDay 77c87dae80
honor mutes when sending push notifications (#1145)
* honor mutes when sending push notifications for:
* territory subscriptions
* mentions
* user subscriptions

Also, don't allow you to mute a subscribed user, or vice versa

* refactor mute detection for more code reuse

update mute/subscribe error messages for consistency

* variable rename

* move `isMuted` to shared user lib, reuse in user resolver and webpush

* update awards.csv

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-05-12 13:55:56 -05:00
keyan bc2155c7aa update awards.csv 2024-05-06 11:01:31 -05:00
keyan 1b5e513f5e update awards.csv 2024-05-06 09:07:13 -05:00
keyan 1e3042e536 update awards.csv 2024-05-04 19:17:04 -05:00
keyan 2e65bf9126 update awards.csv 2024-05-04 18:53:09 -05:00
SatsAllDay 15f9950477
Store hashed and salted email addresses (#1111)
* first pass of hashing user emails

* use salt

* add a salt to .env.development (prod salt needs to be kept a secret)
* move `hashEmail` util to a new util module

* trigger a one-time job to migrate existing emails via the worker

so we can use the salt from an env var

* move newsletter signup

move newsletter signup to prisma adapter create user with email code path
so we can still auto-enroll email accounts without having to persist the email address
in plaintext

* remove `email` from api key session lookup query

* drop user email index before dropping column

* restore email column, just null values instead

* fix function name

* fix salt and hash raw sql statement

* update auth methods email type in typedefs from str to bool

* remove todo comment

* lowercase email before hashing during migration

* check for emailHash and email to accommodate migration window

update our lookups to check for a matching emailHash, and then a matching
email, in that order, to accommodate the case that a user tries to login
via email while the migration is running, and their account has not yet been migrated

also update sndev to have a command `./sndev email` to launch the mailhog inbox in your browser

also update `./sndev login` to hash the generated email address and insert it into the db record

* update sndev help

* update awards.csv

* update the hack in next-auth to re-use the email supplied on input to `getUserByEmail`

* consolidate console.error logs

* create generic open command

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2024-05-04 18:06:15 -05:00
Keyan e9a33ae12e
Update awards.csv 2024-04-29 20:05:55 -05:00
Keyan ccc9cefb68
Update awards.csv 2024-04-28 17:21:07 -05:00
keyan 4a6e3ed735 update awards.csv 2024-04-28 17:11:09 -05:00
keyan 71f3dba891 benalleng awards catchup 2024-04-28 16:27:55 -05:00
Keyan d41b2e14f1
Update awards.csv 2024-04-22 10:08:33 -05:00
Keyan 15c6843d80
Update awards.csv 2024-04-21 17:44:45 -05:00
Keyan 7d587c7cf8
Update awards.csv 2024-04-16 19:27:58 -05:00
Keyan c19c9124ec
Update awards.csv 2024-04-16 13:43:02 -05:00
Keyan 40131da8bd
Update awards.csv 2024-04-14 18:22:08 -05:00