Trevor Vallender
2014730610
Add BlogPost model
...
Also fleshed out Micropost tests.
2023-10-05 16:46:07 +01:00
Trevor Vallender
5e5737b132
Better width
2023-10-05 16:09:18 +01:00
Trevor Vallender
3abb884017
Add code link
2023-10-05 15:30:50 +01:00
Trevor Vallender
2d35cb3e81
Add more social links
2023-10-04 12:45:36 +01:00
Trevor Vallender
e53f500e37
Set micropost sort order
2023-09-29 16:11:52 +01:00
Trevor Vallender
a4cc6d1e3f
Make appropriate pages public
...
Going to be using this as a personal site.
2023-09-29 15:11:24 +01:00
Trevor Vallender
e4843d6626
Add basic styles
...
This fixes styling in Trix but is so standard it's in main.
2023-09-17 15:05:22 +01:00
Trevor Vallender
edef151006
Microposts set up
...
Index, new, create all working. Styling is _okay_. Some issues with
styling inside trix-editor.
2023-09-17 14:59:06 +01:00
Trevor Vallender
a257e98eb6
Add microposts
...
These will have tags etc. in the future, this is it for now.
2023-09-17 12:45:24 +01:00
Trevor Vallender
2038dd741c
Install ActionText
...
Planning on basing most of the content around this.
2023-09-17 12:37:55 +01:00
Trevor Vallender
f9802ea7ca
Name (and purpose) change
...
Using this as my own site now
2023-09-17 12:24:54 +01:00
Trevor Vallender
2a44d71478
Add home page
2023-08-20 12:49:21 +01:00
Trevor Vallender
b246c5ac70
Lock down pages
...
Add a `require_login` before_action to ApplicationController so we need
to specifically make pages public rather than the reverse.
2023-08-20 12:39:22 +01:00
Trevor Vallender
552935f5c7
Remove turbo_stream views
...
Was barking up the wrong tree introducing these. The solution to the
issue of forms not re-rendering was to return the :unprocessable_entity
status when errors are encountered.
2023-08-19 16:41:01 +01:00
Trevor Vallender
107c2e62a8
Email confirmation workflow
2023-08-19 16:18:37 +01:00
Trevor Vallender
c57fe587c2
Use helper to update flash in streams
2023-08-18 21:02:39 +01:00
Trevor Vallender
db908d4ea4
Improve login form
2023-08-18 20:55:12 +01:00
Trevor Vallender
88ccf7d958
Set up page titles
2023-08-18 19:46:38 +01:00
Trevor Vallender
9d17c1d838
Make title a link
2023-08-18 19:36:24 +01:00
Trevor Vallender
c4715b172d
Fix user edit/registration
...
- Don't require password to edit
- Fix errors on registration form
2023-08-18 19:31:00 +01:00
Trevor Vallender
ad4fa94bfa
Set up forms and error messages
...
- Assign error class to the existing tags, don't add a wrapper div. This
keeps the code cleaner and doesn't break our styling.
- Use Turbo Streams to update flash
- Style form errors
2023-08-18 19:08:49 +01:00
Trevor Vallender
7fc05d6c9c
User profile page setup
2023-08-18 17:45:38 +01:00
Trevor Vallender
2560f2e4f7
Basic flash styling
2023-08-18 17:35:16 +01:00
Trevor Vallender
4307f6182c
Initial CSS setup
2023-08-18 17:20:31 +01:00
Trevor Vallender
0c2868560b
Install Turbo
2023-08-15 14:56:41 +01:00
Trevor Vallender
0a1f918c41
Install importmap-rails
2023-08-15 14:52:22 +01:00
Trevor Vallender
5dd9a0c446
Setup user registration and session management
2023-08-15 14:50:39 +01:00
Trevor Vallender
dde5b3a5d6
Add session helpers
2023-08-08 20:29:01 +01:00
Trevor Vallender
0915c65dc8
Added user model
2023-08-08 20:25:35 +01:00
Trevor Vallender
abf311ae5c
Initial commit
...
- Added devenv (note SSL currently not working)
- Using Postgres as database
2023-08-08 17:48:09 +01:00