Commit Graph

69 Commits

Author SHA1 Message Date
Trevor Vallender c4d64e40a5 Diary entry basic functionality
Entries can be created, edited and viewed.
2023-12-29 14:35:35 +00:00
Trevor Vallender 4aac6e136c Add diary entry to exercise 2023-12-29 12:18:40 +00:00
Trevor Vallender 20ff7d1764 Add diary entries 2023-12-29 12:16:30 +00:00
Trevor Vallender 16adb83240 Add exercises 2023-12-29 11:44:35 +00:00
Trevor Vallender 500f5bd02e Add exercise types 2023-12-29 11:39:20 +00:00
Trevor Vallender 7615febc5d Add food 2023-12-29 11:34:53 +00:00
Trevor Vallender e1e3ef94be Updates 2023-12-28 12:54:44 +00:00
Trevor Vallender 6f32112b2a Use new authenticate_by method 2023-10-20 11:19:09 +01:00
Trevor Vallender 5d0a1b1612 Add migrations to post-deploy hook 2023-10-20 11:19:04 +01:00
Trevor Vallender e0c12a9760 Use default Rails healthcheck 2023-10-20 10:38:55 +01:00
Trevor Vallender fe197ebe9a Gruvbox colour updates 2023-10-19 21:33:44 +01:00
Trevor Vallender 059d59e437 Set up Solid Cache 2023-10-19 20:28:18 +01:00
Trevor Vallender b7bbd85c7e Bugfix: Wasn’t splitting tags! 2023-10-19 20:15:04 +01:00
Trevor Vallender 1d9efa6cab View microposts by tag 2023-10-19 20:00:01 +01:00
Trevor Vallender d5b587499c Tag refinements
- Don’t allow duplicates
- Allow edits correctly
2023-10-19 19:36:08 +01:00
Trevor Vallender 6358e2a61e Show tags in microposts 2023-10-19 19:10:20 +01:00
Trevor Vallender ad03410a65 Method to add tags to microposts 2023-10-19 18:46:41 +01:00
Trevor Vallender b75f9277cc Add micropost/tag association 2023-10-19 18:35:48 +01:00
Trevor Vallender 3a6de86d48 Add tags
These will be used by both BlogPost and Micropost
2023-10-19 17:51:32 +01:00
Trevor Vallender 6840302469 Add bullet points! 2023-10-19 17:16:31 +01:00
Trevor Vallender 1451104b75 Add "updated at" to blog posts 2023-10-16 09:24:23 +01:00
Trevor Vallender 01bcdf3a2d Use kaminari for pagination 2023-10-13 20:28:35 +01:00
Trevor Vallender de4eb6742b Upgrades
- Upgrade to Rails 7.1 from RC
- devenv update
- Fix broken tests
2023-10-13 20:04:11 +01:00
Trevor Vallender 61140133f2 Add support for draft blog posts 2023-10-12 16:24:33 +01:00
Trevor Vallender 39e74891eb Shortcut to prod shell 2023-10-06 08:38:53 +01:00
Trevor Vallender b635f903d4 Styling improvement 2023-10-06 08:38:43 +01:00
Trevor Vallender e3a01ae633 Add summaries to blog posts 2023-10-06 08:26:16 +01:00
Trevor Vallender 69ff225b03 Added call for discussion 2023-10-05 21:21:42 +01:00
Trevor Vallender 1e6a31ae78 Basic blog post CRUD 2023-10-05 19:46:09 +01:00
Trevor Vallender 592120aeae Styling improvements 2023-10-05 19:22:31 +01:00
Trevor Vallender 8759a9062c Complete CRUD actions for microposts 2023-10-05 19:05:53 +01:00
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 bf54c278e9 Allow /μposts as a route 2023-10-05 15:24:04 +01:00
Trevor Vallender b88ec4446b Fix Postgres setup 2023-10-05 15:13:26 +01:00
Trevor Vallender 42181fa681 Fix Postgres setup 2023-10-04 13:37:16 +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 0a4bfa86f9 Rails 7.1 upgrade
Turned on assume_ssl to fix issue with HTTP headers
2023-09-29 16:09:44 +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 19319dba9c Setting up deployment with Kamal 2023-09-29 14:05:38 +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 d5b5bbdbfd Added README 2023-08-19 16:46:43 +01:00