Commit Graph

347 Commits

Author SHA1 Message Date
Ben Visness 96ea2e0268 No thank you, we are too N U A N C E D 2023-05-29 09:41:27 -05:00
Jake Mason 64d98c424f Update image embed border colors for the Time Machine 2023-05-28 14:14:10 -04:00
Jake Mason 03a08ad392 Cleaning up 2023-05-28 14:10:36 -04:00
Ilia Demianenko 43b9f993dc Add testing fishbowl 2023-05-28 00:51:52 -07:00
Jake Mason a1c5086190 Add work on the new Time Machine page 2023-05-28 01:16:12 -04:00
Ben Visness cace7fbcb1 Update conferences page 2023-05-25 21:38:39 -05: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 faac05a3a8 Put recap section on the main page 2023-04-22 09:18:34 -05:00
Ben Visness 79c4c14631 Add jam recap (not yet shown off properly) 2023-04-21 23:11:32 -05:00
Ben Visness fe1d99b7ab Style project descriptions better 2023-04-16 16:05:04 -05:00
Ben Visness 23e67638e4 Merge remote-tracking branch 'origin/beta' 2023-04-14 15:47:32 -05:00
Ben Visness 89dd2c52c7 Link back to the main jam page from the feed 2023-04-14 15:46:06 -05:00
Ben Visness b7d4883c6c Make news posts look a little nicer 2023-04-13 17:53:36 -05:00
Ben Visness 60a9ece643 News posts are BACK 2023-04-13 17:41:10 -05:00
Ben Visness 25f33451ca New manifesto?? 2023-04-12 19:10:29 -05:00
Asaf Gartner ef16a4f3e0 Fixed style and links for vis jam 2023-04-11 17:38:32 +03:00
Ben Visness 4651e8a477 &nbsp; 2023-04-08 13:09:28 -05:00
Ben Visness 44e055155e Redo the home page banner copy 2023-04-08 13:07:40 -05:00
Ben Visness 524cf8e27b Add ability to load templates live from the filesystem
See config.go.example.
2023-04-08 11:14:44 -05:00
Jake Mason 45b5c7f4d4 Updating Feed for VJ 2023 2023-04-06 14:54:14 -04:00
Jake Mason 54c9af9c08 Hide counters until 30 days out 2023-03-24 21:22:17 -04:00
Jake Mason e616cc51fd One more mobile fix 2023-03-24 17:58:46 -04:00
Jake Mason c6cdc8a473 Some more mobile updates to the handmade cities banner 2023-03-24 17:52:42 -04:00
Jake Mason 20c4a277ff Update link for tickets, style adjustments 2023-03-24 17:46:40 -04:00
Jake Mason 0ccf3aba1a Add handmade cities banner v1 2023-03-24 17:38:24 -04:00
Ben Visness cf345ca592 Add a little more inspiration 2023-03-07 14:02:11 -06:00
Ben Visness 55f56d8ae0 Vis jam landing page 2023-03-07 11:48:13 -06:00
Ben Visness bb38d0b759 Merge remote-tracking branch 'origin/feature/2023_frontend_updates' 2023-03-07 11:40:26 -06:00
Jake Mason 7a6cdbad0e Adding days of the week back - was looking at wrong year, doh! 2023-03-05 20:46:17 -05:00
Jake Mason 395ca8e765 Discord link added 2023-03-05 20:43:53 -05: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
Ben Visness 6d24738be6 Comment out the Handmade Seattle banner 2023-02-22 00:42:08 -06:00
Asaf Gartner aa6428f3a4 Removed remaining pgxv4 stuff and fixed twitch tags 2023-01-29 08:53:57 +02:00
Jake Mason df253d0a33 Some more basic dropdown a11y considerations 2023-01-16 23:02:36 -05:00
Jake Mason ad904de16b Removing hrefs like this is breaks a11y entirely 2023-01-16 22:24:44 -05:00
Jake Mason 922d6283f8 Jump to content link for a11y 2023-01-16 22:22:23 -05:00
skytrias f3453355c4 allow #recent anchor 2023-01-12 02:42:57 +01:00
Asaf Gartner 77ac6d4200 Fixed timeline item css in jam page and showcase modal 2023-01-03 00:16:25 +02:00
Asaf Gartner 6d65785cef Changed the url for handmadedev show 2022-12-16 06:59:57 +02:00
Ben Visness cd31085c67 Nobody saw this 2022-12-14 19:23:32 -06: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
Asaf Gartner 587ac7643f Merge branch 'master' into beta 2022-12-03 18:45:58 +02:00
Asaf Gartner badb845ab1 HMS banner goes to the 2022 guide, and the link on the conferences page
is fixed.
2022-12-03 18:44:52 +02:00
Ben Visness 084b13ae34 ...including the nav and stuff 2022-11-05 16:23:12 -05: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
Asaf Gartner df194dd041 Fixed "add snippet" button text color in profile page. 2022-10-20 14:00:25 +03:00
Asaf Gartner 3abf4dd21b Probably fixed RSS issue in showcase feed. 2022-10-20 13:57:03 +03:00
Asaf Gartner 851f9e0f67 Fixed small logo css 2022-10-20 13:45:57 +03:00
Ben Visness 5aa5595115 Remove news posts 2022-10-17 20:20:50 -05:00
Ben Visness 968e859dde Show HMS banner 2022-10-17 20:13:58 -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 0feeaada1b Update HMS media link 2022-09-20 10:19:49 -05:00
Ben Visness 8121830561 Remove resources from the table of contents 2022-09-19 20:26:43 -05:00
Ben Visness bdb08dd14b Fix TOC width issue 2022-09-17 16:26:52 -05:00
Ben Visness b27ddd1e7f A few education improvements 2022-09-17 16:21:58 -05:00
Asaf Gartner c489d0ffa9 Consolidated shared editor-related params 2022-09-15 00:44:27 +03:00
Ben Visness c9ee420dbb Allow authors to hide editor notes 2022-09-12 22:55:51 -05:00
Ben Visness 045a2c2379 Add education toggle to user admin settings 2022-09-10 16:52:02 -05:00
Ben Visness 168b210c5b Restore the library since we're not actually rolling out education yet 2022-09-10 12:54:26 -05:00
Ben Visness 19d79a2a77 Fix nil user in education template 2022-09-10 12:28:32 -05:00
bvisness d2b34cb87d Initial version of education content (#90)
Co-authored-by: Ben Visness <bvisness@gmail.com>
Reviewed-on: #90
2022-09-10 16:29:57 +00:00
Asaf Gartner 42e1ed95fb Added logs for twitch 2022-08-29 01:18:55 +03:00
Ben Visness a0cc2f5c66 Update auth flows 2022-08-13 14:15:00 -05:00
giggs 9e786e132d New buttons with project colors + small bugfix (#80)
Following the discussion on [#74](#74), here are changes to the submit buttons so that they match theme/project color.

Border colors are set to match the button background.

I've also included a "bugfix" where the `editor-toolbar-button-background` parameter in the dark theme.css and variables.scss were missing the # sign.

I wasn't sure whether to remove the `form button` values from theme.css and variables.scss and left them, as I'm not sure they're used anywhere now

Reviewed-on: #80
Co-authored-by: giggs <darkgiggsxx@gmail.com>
Co-committed-by: giggs <darkgiggsxx@gmail.com>
2022-08-13 02:13:13 +00:00
Ben Visness bb48a77b9d Switch to the main Discord invite link, sigh 2022-08-12 18:15:59 -05:00
Asaf Gartner 822a489c09 Don't center file links in snippets. 2022-08-09 12:33:52 +03:00
Ben Visness 7ea11ebd51 Bam that's the rest of the todo list 2022-08-06 23:43:15 -05:00
Ben Visness 9f88ce1223 something something colors 2022-08-06 23:12:23 -05:00
Ben Visness 4289a1e27a Improvements to snippet edit 2022-08-06 22:32:29 -05:00
Ben Visness 48490d83a9 Some tweaks 2022-08-06 20:21:12 -05:00
Asaf Gartner 97ed892ce3 Added snippets to admin approval queue 2022-08-07 02:03:34 +03:00
Asaf Gartner 4c1daae5e1 Fixed pre-line issue in chrome 2022-08-07 01:04:45 +03:00
Asaf Gartner b995df4533 Added cancel button for snippet edit 2022-08-07 00:51:29 +03:00
Asaf Gartner dc94262bfb Snippets edited on a project page can't be disassociated from that
project on that page.
2022-08-07 00:45:07 +03:00
Asaf Gartner 841264de0f Fix element focus issue on project creation. 2022-08-07 00:40:05 +03:00
Asaf Gartner 89b1e48e69 Code review 2022-08-06 00:42:08 +03:00
Asaf Gartner efc7d76cb7 Snippet creation and editing 2022-08-06 00:41:37 +03:00
Ben Visness 1b79f45d71 Make the feed page nicer 2022-08-04 23:22:30 -05:00
Ben Visness 92b175c84d Make good pretty jam wow much good 2022-08-04 21:00:15 -05:00
Ben Visness 62972ae35a Merge remote-tracking branch 'origin/master' into jam-2022 2022-08-04 18:37:51 -05:00
Ben Visness 081186c8f0 Add automatic scrolling behavior to jam carousel 2022-08-02 15:14:29 -05:00
Ben Visness ba667f717e Fix overflow issues with new jam stuff 2022-08-02 15:03:48 -05:00
Ben Visness e84754eda0 Add last year's projects to the jam page 2022-08-02 14:56:47 -05:00
Ben Visness 6982503393 Fix fishbowl images 2022-08-01 22:09:23 -05:00
Ben Visness d164a58ba0 Fix issues with asset upload
It didn't work when creating a new project or editing personal projects,
due to routing issues. I also took this opportunity to make the script
support multiple form submit buttons, since in some cases we will have a
submit button on each tab, and I figured they all should respect the
fact that you have an upload in progress.
2022-08-01 21:59:42 -05:00
mark.dev a295d0ed52 Copy drag/drop from blog edit to project (#6) (#77)
I migrated the relevant parts of `editor.html` and `forums.go` (via `blogs.go`) into `project_edit.html` and `projects.go`.

Let me know if you would prefer pulling the shared javascript into a shared file. Only some variable names were changed.

I did not test the case where the upload fails.

Co-authored-by: mark.dev <mark@mark.dev>
Reviewed-on: #77
Co-authored-by: mark.dev <mark.dev@noreply.localhost>
Co-committed-by: mark.dev <mark.dev@noreply.localhost>
2022-08-02 02:01:55 +00:00
Ben Visness 1806da0389 Polish up the latest fishbowl 2022-08-01 20:29:56 -05:00
ilidemi 25e13df04d Add code reuse fishbowl (#78)
Only needs someone with creative juices to write a description and good to go!

Co-authored-by: Ilia Demianenko <ilia.demianenko@gmail.com>
Reviewed-on: #78
Co-authored-by: ilidemi <belk94@gmail.com>
Co-committed-by: ilidemi <belk94@gmail.com>
2022-08-01 04:52:34 +00:00
Ben Visness c36ae9d91b Merge remote-tracking branch 'origin/live' 2022-07-29 11:09:23 -05:00
giggs 85c8c92a0c Non square avatars no more squeeshed (#76)
Avatars don't get squeeshed anymore

[#15](#15)

Please ignore the commit history, still learning git

Reviewed-on: #76
Co-authored-by: giggs <darkgiggsxx@gmail.com>
Co-committed-by: giggs <darkgiggsxx@gmail.com>
2022-07-29 16:05:42 +00:00
Ben Visness 1f731a17c5 time to get physical
https://www.youtube.com/watch?v=3S5ukw4YOSg
2022-07-26 13:34:23 -05:00
Ben Visness 608235ee29 ok that sentence was in fact bad 2022-07-26 13:28:54 -05:00
Ben Visness f8aa839353 Update conference page design / copy 2022-07-26 11:34:05 -05:00
AllanRegush cc731d77a6 Add Conferences Page (#75)
This PR implements the conferences page.

![image](/attachments/fe7b8df7-0833-4b5b-9f61-a9558b70a98f)

![image](/attachments/10f380d6-81ed-4850-87c4-70a84d31e26b)

closes #69

Co-authored-by: Allan Regush <17693494+AllanRegush@users.noreply.github.com>
Reviewed-on: #75
Co-authored-by: AllanRegush <allan@allanregush.com>
Co-committed-by: AllanRegush <allan@allanregush.com>
2022-07-26 15:07:57 +00:00