Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: auth #635

Merged
merged 142 commits into from
Sep 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
c398b11
Get basic auth running with errors
danieltott May 20, 2022
592b2cc
add login method
danieltott May 23, 2022
6ee044f
logging
danieltott May 23, 2022
c47b656
Merge branch 'main' into feature/auth
danieltott May 26, 2022
c548ee6
add register endpoint
danieltott May 26, 2022
7f77a66
stop using forked version of form
danieltott May 31, 2022
bfa42a5
testing error states
danieltott Jul 6, 2022
5c61106
Merge branch 'main' into feature/auth
danieltott Jul 6, 2022
ea1b45c
fix dev settings
danieltott Jul 6, 2022
32a3ba1
fix up error handling and add some new methods
danieltott Jul 6, 2022
f6d6ddc
Add additional auth utilities
danieltott Jul 6, 2022
aa36c6e
add schema to response
danieltott Jul 6, 2022
47d62ad
begin adding join route
danieltott Jul 6, 2022
ecedf3f
rename CmsAuth
danieltott Jul 6, 2022
27d726e
remove logging
danieltott Jul 7, 2022
607e32e
begin adding some cms actions
danieltott Jul 7, 2022
6cd22f6
begin adding event fetching
danieltott Jul 7, 2022
f654cc3
Add ts packages
danieltott May 24, 2022
789d23e
use tsconfig
danieltott May 24, 2022
0bf07d3
remove some comments
danieltott May 24, 2022
9d8f8da
add remix type defs
danieltott May 24, 2022
16018b3
update server.js to match remix example
danieltott May 24, 2022
2ea50cc
convert entry files to ts
danieltott May 24, 2022
ea7c26c
use ts
danieltott Jul 7, 2022
d98cc18
allow redirect on success
danieltott Jul 7, 2022
14f474e
add event forwarding
danieltott Jul 7, 2022
b5877ea
query all calendars
danieltott Jul 7, 2022
00da1c9
display message
danieltott Jul 7, 2022
f1f6675
move auth into membership route
danieltott Jul 7, 2022
26455cb
use ts
danieltott Jul 7, 2022
a3b9e8a
add route protection back in to dashboard
danieltott Jul 7, 2022
edcc4ea
return value from loader
danieltott Jul 7, 2022
bc57cdb
move files into frontend route
danieltott Jul 7, 2022
e9c3f96
update paths from rename
danieltott Jul 7, 2022
c2d1b87
Move app files into __app
danieltott Jul 7, 2022
338c109
Add tailwind
danieltott Jul 7, 2022
2ffb916
remove tailwind.css from vc
danieltott Jul 7, 2022
dc9b3f3
ignore tailwind
danieltott Jul 7, 2022
be80f04
add spread params to svgs
danieltott Jul 11, 2022
d53e6f0
move around auth routes and add styles
danieltott Jul 11, 2022
1ef8f3b
rename dashboard to membership index
danieltott Jul 11, 2022
f36415b
adjust styles
danieltott Jul 11, 2022
95c5831
move join into auth
danieltott Jul 12, 2022
249a350
remove old thing
danieltott Jul 12, 2022
30e92e1
renive extra links
danieltott Jul 12, 2022
43c3a0d
fix up auth
danieltott Jul 12, 2022
3e3aba7
add getCalendars
danieltott Jul 12, 2022
bafb76b
move auth into pathless
danieltott Jul 12, 2022
fb25675
move layouts into correct folder
danieltott Jul 12, 2022
91581c1
use new singletask layout
danieltott Jul 12, 2022
01a323a
convert to ts
danieltott Jul 12, 2022
0e33260
use updated types
danieltott Jul 12, 2022
4c6e9d8
add first pass of events
danieltott Jul 12, 2022
d343e40
add inter font
danieltott Jul 12, 2022
b2b56bc
use classNames
danieltott Jul 12, 2022
e10a94d
rename method
danieltott Jul 12, 2022
bcdb17c
add events calendar
danieltott Jul 12, 2022
5cb3f64
add events calendar views
danieltott Jul 12, 2022
089f571
description
danieltott Jul 12, 2022
0b0831b
update calendar formatting
danieltott Jul 12, 2022
18ac135
add popover for event
danieltott Jul 13, 2022
c582c5e
remove console.log
danieltott Jul 13, 2022
3de24f5
go stacked layout
danieltott Jul 13, 2022
f57b137
adjust for stacked layout
danieltott Jul 13, 2022
dcb3e6d
add meta data
danieltott Jul 13, 2022
40c9346
begin adding more components and details
danieltott Jul 14, 2022
189ef54
Merge branch 'main' into feature/auth
danieltott Aug 26, 2022
bbbe28d
Add ts versions
danieltott Aug 26, 2022
d1c92ec
move files
danieltott Aug 26, 2022
ccf9451
reset dependencies
danieltott Aug 26, 2022
d978768
check for null data
danieltott Aug 26, 2022
e1a78fe
Merge branch 'main' into feature/auth
danieltott Aug 26, 2022
7385c6e
fix some ts issues
danieltott Aug 26, 2022
de2d5dd
update dependencies
danieltott Aug 29, 2022
e9bf60e
update utility types
danieltott Aug 29, 2022
d28367c
update heroicons
danieltott Aug 29, 2022
5115116
abstract some components
danieltott Aug 29, 2022
cefe1bc
Merge branch 'main' into feature/auth
danieltott Aug 29, 2022
3a32e99
clean up styling
danieltott Aug 29, 2022
61c4866
use sky instead of indigo
danieltott Aug 29, 2022
ebf18a3
upgrade remix dependencies and scripts
danieltott Aug 29, 2022
64e522d
add tiny-invariant
danieltott Aug 29, 2022
8450e83
convert to ts
danieltott Aug 29, 2022
89c52aa
allow for netlify dev
danieltott Aug 29, 2022
d89a4b4
use globals
danieltott Aug 29, 2022
d6ccafd
open in new tab
danieltott Aug 30, 2022
5ec8c50
continue debugging
danieltott Aug 30, 2022
b85a017
auth debugging go away
danieltott Aug 30, 2022
c43c479
ignore
danieltott Aug 31, 2022
76d3dbb
convert to ts and wrap in global
danieltott Aug 31, 2022
6acd5ef
split out cms functions
danieltott Aug 31, 2022
783b513
removing logging
danieltott Aug 31, 2022
c42685b
check for user
danieltott Aug 31, 2022
ee172ca
move tls reject to env variable
danieltott Aug 31, 2022
37bf0db
read user via getUser
danieltott Aug 31, 2022
999cda1
removing
danieltott Aug 31, 2022
0511053
clean up events
danieltott Aug 31, 2022
5ca1497
authenticate
danieltott Aug 31, 2022
7c24196
use split versions
danieltott Aug 31, 2022
d215748
remove esbuild from node bundler
danieltott Aug 31, 2022
1275320
turn on defaults
danieltott Aug 31, 2022
1e4056e
turn off esnext for now
danieltott Aug 31, 2022
041ac92
update login form
danieltott Aug 31, 2022
0bb3376
add note
danieltott Aug 31, 2022
9923800
fix this thing
danieltott Aug 31, 2022
79e5e0d
remove console.log call
danieltott Aug 31, 2022
176d1cd
use custom livereload from 1.6.4 of remix
danieltott Aug 31, 2022
a4a8c4f
remove debugging help
danieltott Aug 31, 2022
1f0113a
Merge branch 'main' into feature/auth
danieltott Sep 7, 2022
cd4bc6f
move file
danieltott Sep 7, 2022
174cafe
fix faker fn
danieltott Sep 7, 2022
34b353e
tweak Button styling and add fullWidth prop
danieltott Sep 7, 2022
c905a32
Add TextInput and FieldGroup
danieltott Sep 7, 2022
6f296c4
style reset password form
danieltott Sep 7, 2022
4e5dcbd
clean up auth forms
danieltott Sep 7, 2022
0cdc2e1
convert to ts
danieltott Sep 7, 2022
a47212d
convert some ts
danieltott Sep 7, 2022
2de5fde
add wide option
danieltott Sep 7, 2022
c42798b
add FieldSet, TextArea, and addons for TextInput
danieltott Sep 7, 2022
c57bce8
clean up register
danieltott Sep 7, 2022
1c72a7d
fix up register form / hide form for now
danieltott Sep 8, 2022
1637ffd
use solid icons
danieltott Sep 8, 2022
6ec0cdd
Merge branch 'main' into feature/auth
danieltott Sep 8, 2022
804d5d9
Abstract events list and add ics link
danieltott Sep 12, 2022
90aa78e
use updated imports
danieltott Sep 12, 2022
8338ee0
add events to dashboard
danieltott Sep 12, 2022
f37ff7f
turn on esnext
danieltott Sep 12, 2022
223c855
correct link address
danieltott Sep 12, 2022
85949eb
remove comment
danieltott Sep 12, 2022
5c11962
add getCalendar
danieltott Sep 12, 2022
ad1db56
add black and white buttons
danieltott Sep 12, 2022
9aa53f8
Add passedRef prop
danieltott Sep 12, 2022
d708063
Add subscribe links
danieltott Sep 12, 2022
8ce622f
Merge branch 'main' into feature/auth
danieltott Sep 28, 2022
4d1a3cf
move join files
danieltott Sep 28, 2022
88cb114
fix links
danieltott Sep 28, 2022
82bfe9f
fix import
danieltott Sep 28, 2022
e5cc8a9
Fix path for mdx loading
danieltott Sep 28, 2022
ec8f9a3
abstract out not found content
danieltott Sep 28, 2022
b17a6c3
Add splat page to catch non-loader 404s
danieltott Sep 28, 2022
76d1549
do not default to empty string
danieltott Sep 28, 2022
69eb298
remove extra h1
danieltott Sep 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/monthly-challenge-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
## Issue Context
*Add New Challenge to the Site*

You can use [June 2021](https://github.com/Virtual-Coffee/virtualcoffee.io/blob/main/app/routes/monthlychallenges/june-2021.jsx) as kind of a template
You can use [June 2021](https://github.com/Virtual-Coffee/virtualcoffee.io/blob/main/app/routes/__frontend/monthlychallenges/june-2021.jsx) as kind of a template

## Steps
- [ ] Follow the instructions for [creating monthly challenge pages](https://github.com/Virtual-Coffee/virtualcoffee.io/#monthly-challenges)
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ node_modules



/netlify/functions/server/index.js
/netlify/functions/server
/public/build

# Local Netlify folder
.netlify
/app/styles
/.tmp
/app/tailwind.css
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,26 +183,26 @@ If you'd like to work on a feature that requires an API key, please reach out to

Our [VC Resources](https://virtualcoffee.io/resources) are creating using [MDX](https://mdxjs.com/). MDX is basically a combination of Markdown and React.

Any files added to `app/routes/resources` will be automatically loaded and added to the appropriate index page.
Any files added to `app/routes/__frontend/resources` will be automatically loaded and added to the appropriate index page.

A good way to start adding a new page would be to copy one of the existing pages, then edit the details and content.

### Newsletters

The newsletters (for now) are simply `jsx` files, and can be found in `app/routes/newsletter/issues`.
The newsletters (for now) are simply `jsx` files, and can be found in `app/routes/__frontend/newsletter/issues`.

When you add a new issue, **make sure to add it to the index**. Here's how:

- Open `app/data/newsletters.js`
- `import` the new issue
- Add the new issue to the `newsletters` array.

So, if you have created `app/routes/newsletter/issues/2022-03.jsx`:
So, if you have created `app/routes/__frontend/newsletter/issues/2022-03.jsx`:

```diff
+ import { handle as issue202203 } from '~/routes/newsletter/issues/2022-03';
import { handle as issue202202 } from '~/routes/newsletter/issues/2022-02';
import { handle as issue202201 } from '~/routes/newsletter/issues/2022-01';
+ import { handle as issue202203 } from '~/routes/__frontend/newsletter/issues/2022-03';
import { handle as issue202202 } from '~/routes/__frontend/newsletter/issues/2022-02';
import { handle as issue202201 } from '~/routes/__frontend/newsletter/issues/2022-01';

const newsletters = [
+ { handleData: issue202203, slug: '2022-03' },
Expand All @@ -213,20 +213,20 @@ const newsletters = [

### Monthly Challenges

The monthly challenges (for now) are simply `jsx` files, and can be found in `app/routes/monthlychallenges`.
The monthly challenges (for now) are simply `jsx` files, and can be found in `app/routes/__frontend/monthlychallenges`.

When you add a new challenge, **make sure to add it to the index**. Here's how:

- Open `app/data/monthlyChallenges/getChallenges.js`
- `import` the new challenge
- Add the new challenge to the `challenges` array.

So, if you have created `app/routes/monthlychallenges/apr-2022.jsx`:
So, if you have created `app/routes/__frontend/monthlychallenges/apr-2022.jsx`:

```diff
+ import { handle as apr2022 } from '~/routes/monthlychallenges/apr-2022';
import { handle as mar2022 } from '~/routes/monthlychallenges/mar-2022';
import { handle as feb2022 } from '~/routes/monthlychallenges/feb-2022';
+ import { handle as apr2022 } from '~/routes/__frontend/monthlychallenges/apr-2022';
import { handle as mar2022 } from '~/routes/__frontend/monthlychallenges/mar-2022';
import { handle as feb2022 } from '~/routes/__frontend/monthlychallenges/feb-2022';

const challenges = [
+ { handleData: apr2022, slug: 'apr-2022' },
Expand Down
Loading