Commit Graph

140 Commits

Author SHA1 Message Date
Ben Visness 2980d66d4b Big WIP, project settings 2024-05-31 21:25:52 -05:00
Asaf Gartner 69c1cf1011 EsBuild with on-request rebuild and hot-reloading 2024-05-30 07:19:31 +03:00
Ben Visness 2fbc1a5d5a Nearly complete design of project home page 2024-05-24 20:43:01 -05:00
Ben Visness 40e5e39acb Scaffold new project home pages 2024-05-20 22:39:58 -05:00
Ben Visness 78884cb641 Implement new header / footer (mostly) 2024-05-20 21:37:28 -05:00
Ben Visness 7e01dae78e WIP cleanup styles dunno 2024-05-13 19:00:09 -05:00
Ben Visness b1b97e760e Port _projects.scss (deleting most of it!) 2024-05-13 18:47:07 -05:00
Ben Visness 38a2979f82 Port the content styles (easier than I thought!) 2024-05-13 18:33:15 -05:00
Ben Visness 379ad520de Port education styles 2024-05-13 17:43:39 -05:00
Ben Visness f9d3fc6c6b Do all the easy stuff 2024-05-10 22:22:31 -05:00
Ben Visness 54008b0c81 Convert the header / nav styles 2024-05-10 20:22:20 -05:00
Ben Visness 9286e5701d Wahoo more WIP haha 2024-04-29 18:41:00 -05:00
Ben Visness 3181805dd4 Finish cleaning up core.css for now (still a couple old things) 2024-04-29 17:40:24 -05:00
Ben Visness b4f9d379f4 WIP I dunno why do I do this 2024-03-08 18:46:17 -06:00
Ben Visness 7215e83650 WIP 2024-02-06 19:52:41 -06:00
Ben Visness f6691cee24 Start converting styles to plain CSS
wow there is a lot of garbage in here
2024-02-04 20:55:46 -06:00
Ben Visness 25cc5ef11b Rework structure of project index. Need new copy. 2023-09-25 02:40:45 -05:00
Ben Visness 2e3cb658af Add banner image for emails 2023-09-16 16:26:07 -05:00
Ben Visness 6616e72ca6 Copy updates for WRJ2023 2023-09-01 19:33:18 -05:00
Asaf Gartner fdc7582701 Added WRJ2023 2023-09-01 17:35:40 +03:00
Ben Visness ad62793262 Add Leonard 2023-07-21 21:55:58 -05:00
Ben Visness 922690244d Add Agustin's second submission (oops) 2023-07-19 21:13:20 -05:00
Ben Visness 7b2d016fe2 Add agus_dev's submission 2023-07-12 18:06:53 -05:00
Ben Visness 8aa18901b2 Add NCommander Win98 submission 2023-06-19 14:20:44 -05:00
Ben Visness 1ea9fbefbc Merge branch 'feature/time_machine_page' 2023-06-01 21:08:54 -05:00
Ben Visness 2d61286831 Add OpenGraph assets 2023-06-01 13:56:35 -05:00
Ben Visness be888a98f1 Style updates + splash 2023-05-31 20:35:09 -05:00
Ilia Demianenko 43b9f993dc Add testing fishbowl 2023-05-28 00:51:52 -07:00
Ben Visness cdacc5b3a0 Use new thumbnails 2023-05-18 22:07:14 -05:00
bvisness 0210a0784b Add Discord login (#106)
This leverages our existing Discord OAuth implementation. Any users with a linked Discord account will be able to log in immediately. When logging in, we request the `email` scope in addition to `identity`, so existing users will be prompted one time to accept the new permissions. On subsequent logins, Discord will skip the prompt.

When linking your Discord account to an existing HMN account, we continue to only request the `identity` scope, so we do not receive the user's Discord email.

Both login and linking go through the same Discord OAuth callback. All flows through the callback try to achieve the same end goal: a logged-in HMN user with a linked Discord account.

Linking works the same as it ever has. Login, however, is different because we do not have a session ID to use as the OAuth state. To account for this, I have added a `pending_login` table that stores a secure unique ID and the eventual destination URL. These pending logins expire after 10 minutes. When we receive the OAuth callback, we look up the pending login by the OAuth `state` and immediately delete it. The destination URL will be used to redirect the user to the right place.

If we have a `discord_user` entry for the OAuth'd Discord user, we immediately log the user into the associated HMN account. This is the typical login case. If we do not have a `discord_user`, but there is exactly one HMN user with the same email address as the Discord user, we will link the two accounts and log into the HMN account.

(It is possible for multiple HMN accounts to have the same email, because we don't have a uniqueness constraint there. We fail the login in this case rather than link to the wrong account.)

Finally, if no associated HMN user exists, a new one will be created. It will use the Discord user's username, email, and avatar. This user will have no password, but they can set or reset a password through the usual flows.

Co-authored-by: Ben Visness <bvisness@gmail.com>
Reviewed-on: #106
2023-05-06 19:38:50 +00:00
Ben Visness 1b1c25da80 Fix CSS issue on jams page 2023-04-22 11:31:14 -05:00
Ben Visness e4dd15d248 Add all jams index 2023-04-22 11:26:07 -05:00
Ben Visness 79c4c14631 Add jam recap (not yet shown off properly) 2023-04-21 23:11:32 -05:00
Jake Mason 0ccf3aba1a Add handmade cities banner v1 2023-03-24 17:38:24 -04:00
Ben Visness 81b92d3aef Add special Twitter card 2023-03-07 12:09:22 -06:00
Ben Visness 55f56d8ae0 Vis jam landing page 2023-03-07 11:48:13 -06:00
Jake Mason 4bb562823e Opengraph images, and fix day-of-week references 2023-03-05 20:40:22 -05:00
Jake Mason 526a588a19 Visualization Jam 2023 template 2023-03-04 23:52:03 -05:00
Jake Mason 1825e93b04 Compile .scss assets 2023-01-16 23:02:54 -05:00
Asaf Gartner 620533784a Fixed showcase modal again 2023-01-03 00:20:43 +02:00
Asaf Gartner 77ac6d4200 Fixed timeline item css in jam page and showcase modal 2023-01-03 00:16:25 +02:00
Ben Visness 9b3a972e37 Rework about page, finally
Start foundation / about page work

Add some job descriptions

Add Advocacy role

Make things look barely tolerable

Cloin'd

Better About intro

no fundo

Link from manifesto

swanky changes
2022-12-14 17:49:08 -06:00
Ben Visness b75b59aad5 Add highlight to currently-selected education course 2022-10-31 17:39:19 -05:00
Ben Visness 48af5e650d Better edu home page 2022-10-27 00:20:59 -05:00
Ben Visness 4e44ba0b45 Make articles responsive 2022-10-26 13:26:01 -05:00
Ben Visness 8eee541ccc Scrap the "resource" tag, make figures nice 2022-10-26 12:32:39 -05:00
Asaf Gartner 851f9e0f67 Fixed small logo css 2022-10-20 13:45:57 +03:00
Ben Visness b5dac2f4d8 Add !!!figure tag to ggcode 2022-10-08 17:28:36 -05:00
ilidemi 8189151a74 Add entrepereuship fishbowl (#99)
Code notes:
*  MathJax treats text between two dollar signs as math. Escaped those cases in html (`\$`) - is there a way to not run mathjax on fishbowls instead?
* Limited embed image sizes to match Discord
* Fixed replies to a quote wrapping on a new line

Content notes:
* Moved intros to the top, untangled the discussions (hopefully without significant loss), pulled in audience comments
* Most book links are to Amazon as the promo websites are shitty or non-functioning
* Demetri had interesting points in -audience afterwards but they tie to Allen and may be hard to pull in without a lot of context
* Catchy title and description are TBD as usual

Co-authored-by: Ilia Demianenko <ilia.demianenko@gmail.com>
Reviewed-on: #99
Co-authored-by: ilidemi <belk94@gmail.com>
Co-committed-by: ilidemi <belk94@gmail.com>
2022-10-03 20:30:03 +00:00
Ben Visness 8121830561 Remove resources from the table of contents 2022-09-19 20:26:43 -05:00