Commit graph

83 commits

Author SHA1 Message Date
Malted
ffb1d8cdc2
♻️ Change loose equality to strict equality 2023-03-01 23:57:35 +00:00
Max Wofford
07ac6c121b Fix flipped boolean 2023-02-23 14:08:58 -05:00
Max Wofford
003fe32569 Don't waitlist adults– just flash a warning 2023-02-17 14:02:09 -05:00
Max Wofford
4beb64fc9b Start waitlisting applications based on age 2023-02-17 13:38:23 -05:00
Ella
47f2d0bea6 Run prettier (#633) 2022-12-17 20:51:20 -05:00
Sam Poder
4828beffd4 Revert "Reduce time to join Slack (#416)"
This reverts commit 39997a7ea9.
2022-04-11 14:10:42 +08:00
Sam Poder
39997a7ea9 Reduce time to join Slack (#416)
* Reduce time to join Slack

* Update join.js

* Update join.js

* Update join.js
2022-04-11 14:06:05 +08:00
Max Wofford
9a990eff66 Fix casing on user-agent 2022-04-07 11:50:38 -04:00
Max Wofford
03211c7e9d Add user agent to join request 2022-04-07 11:50:38 -04:00
Max Wofford
213fc4203c Fix typo in toriel invite endpoint 2022-04-07 11:50:38 -04:00
Sam Poder
e209c29027 Update join.js 2022-04-07 11:50:38 -04:00
Sam Poder
f3477e1c37 Just a test 2022-04-07 11:50:38 -04:00
Sam Poder
12e7d4b466 Update Slack Form For Toriel 2022-04-07 11:50:38 -04:00
Cedric Hutchings
effe3c5626 add CORS to api/join 2022-02-24 13:24:41 -05:00
Cedric Hutchings
d68912050e support specifying first channel in requests to slack joining api 2022-02-23 11:23:57 -05:00
Sam Poder
d2f8ae557c Implement A Waitlist (#353)
* Update join.js

* Update join-form.js
2022-02-14 10:26:48 +08:00
Max Wofford
7244fbf72f Revert "Temporary Slack lockdown for Vitalik AMA"
This reverts commit 6b86c59f81.
2022-02-07 09:58:50 -05:00
Max Wofford
6b86c59f81 Temporary Slack lockdown for Vitalik AMA 2022-02-03 21:05:28 -05:00
Caleb Denio
790d74d3e7 Enable ESLint (#292)
* Use ESLint

* oops

* Ignore ESLint during builds

* Disable <Image> rule

* Restore quotes and apostrophes
2022-01-14 11:28:59 +11:00
Sam Poder
ed34fff97f clubs channel slacks (#160)
* Update join-form.js

* Update join-form.js

* Update use-form.js

* Update join.js

* Update use-form.js
2021-08-01 15:30:33 +08:00
Sam Poder
2145f5eb4e Revert "break form"
This reverts commit 59c4a5fed6.
2021-06-07 18:31:40 +08:00
Matthew Stanciu
59c4a5fed6 break form 2021-06-03 15:42:14 -04:00
Caleb Denio
0ad7927eac Add IP logging (#80) 2021-02-02 16:10:33 -05:00
Matthew Stanciu
5795d3f78d unbreak join form 2021-01-18 14:44:36 -05:00
Matthew Stanciu
216a10aa9d break join form 2020-12-23 17:04:46 -05:00
Matthew Stanciu
5da92cc003 Change default channel to #lobby (#45) 2020-09-01 14:43:16 -04:00
Matthew Stanciu
4f9f854438 Fix join api names (#44)
* Fix join api names

* Rename som-join.js to join.js

* fetch new join api route
2020-08-31 16:07:35 -04:00
Lachlan Campbell
74f71bf617 Iterate join form config 2020-08-19 19:36:34 +00:00
Lachlan Campbell
8867b73ba9 Log Join info 2020-08-18 23:31:02 +00:00
Lachlan Campbell
a97ec4c4cd Fix Slack form 2020-08-18 21:37:47 +00:00
Lachlan Campbell
0b1e0598d6 Merge pull request #43 from hackclub/hc-119-unsom
Switch to pre-SOM Slack flow
2020-08-18 17:22:28 -04:00
Max Wofford
65e9ad5751 Invites on the slack form create multi-channel guests (#23)
* Invites on the slack form create multi-channel guests

* Use CORS only in production

* Open this boi UP

* Remove cors-anywhere

* Remove JSON parse

* Attempt boolean logic for teens

* Attempt to fix som form

* Attempt to fix form routing error

* Don't include post URL in form html

* Remove method from HTML

* Try persisting event

* Remove fetch imports

* Edit submitted button copy

* Add logging

* Fix teen field

Co-authored-by: Lachlan Campbell <lachlan@hackclub.com>
2020-06-18 08:01:21 -04:00
Matthew Stanciu
041dbf8299 Remove empty check 2020-05-14 23:03:10 -04:00
Matthew Stanciu
bd4afbb7fd Revert :thinkspin: 2020-05-14 22:35:28 -04:00
Matthew Stanciu
6b91791189 Attempt 2 2020-05-14 22:31:13 -04:00
Matthew Stanciu
f848f97e15 Possibly fix form taking 30 secs 2020-05-14 22:29:12 -04:00
Lachlan Campbell
ac9f049498 Remove CORS middleware 2020-05-14 05:08:31 +00:00
Lachlan Campbell
176a686ee0 Disable CORS on join endpoint 2020-05-14 05:03:01 +00:00
Matthew Stanciu
864cfeeda9 asdgherg 2020-05-13 17:04:22 -04:00
Matthew Stanciu
0f6d4bc7c7 debug 2020-05-13 16:34:46 -04:00
Matthew Stanciu
962c38b83b Annoying 2020-05-13 16:32:59 -04:00
Matthew Stanciu
68dcae8fdf remove comma ??? ? 2020-05-13 16:23:56 -04:00
Matthew Stanciu
8083b79ac3 Post to real invite-screener 2020-05-13 16:21:03 -04:00
Matthew Stanciu
92e62da9b4 co r o cors 2020-05-13 12:55:26 -04:00
Matthew Stanciu
5804adbeae crocros 2020-05-13 12:51:11 -04:00
Matthew Stanciu
53de8bee0e ccrorrs 2020-05-13 12:44:42 -04:00
Matthew Stanciu
2b810e59f9 !!!!! cors !!!!! 2020-05-13 12:43:21 -04:00
Matthew Stanciu
f21cb3e698 corrrrsssss 2020-05-13 12:39:15 -04:00
Matthew Stanciu
4d4cf9dcab Remove axios yay 2020-05-13 12:32:47 -04:00
Matthew Stanciu
3417a33954 nvm 2020-05-13 12:30:13 -04:00