Commit Graph

398 Commits

Author SHA1 Message Date
Brian Picciano
1f3ae665ed Introduce EDIT and MANAGE methods
All admin "index" pages are moved under MANAGE, so that we can have (for
example) and normal "GET /posts" page later which would replace the
current index page, and potentially corresponding pages for the other
categories.

The EDIT method replaces the old `?edit` pattern, which normalizes how
we differentiate page functionality generally.
2022-11-29 20:59:31 +01:00
Brian Picciano
31f8f37c5a Modify base header some more 2022-11-29 12:45:30 +01:00
Brian Picciano
f8cc9f6aa7 Update header, remove 'Updated at' times on posts 2022-11-27 23:03:11 +01:00
Brian Picciano
7f79413102 Add the ghost to every page 2022-11-27 22:46:07 +01:00
Brian Picciano
b3d3fa7c62 Bold post titles in index 2022-11-27 22:04:31 +01:00
Brian Picciano
52d4fdac55 Remove all 'old nix' stuff, plus configs and unused dev environment 2022-11-27 22:02:20 +01:00
Brian Picciano
175ddfdbe9 Got it working with nix flake 2022-11-27 21:25:25 +01:00
Brian Picciano
03493f9d61 Fix font sizes for small devices 2022-11-23 19:21:25 +01:00
Brian Picciano
58086a3fda Accidentally removed 'Next Page' link 2022-11-23 19:03:01 +01:00
Brian Picciano
9a14e93524 Inrease font size for small devices 2022-11-23 18:57:43 +01:00
Brian Picciano
cbaaad38c9 Use unordered list instead of table on post index 2022-11-23 18:53:40 +01:00
Brian Picciano
14bf8033b2 Add favicon 2022-11-22 22:49:55 +01:00
Brian Picciano
954e76fe1f Reduce font size generally 2022-11-22 22:36:15 +01:00
Brian Picciano
59c8c30fb5 Introduce dark mode, clean up colors generally 2022-11-22 22:28:28 +01:00
Brian Picciano
0ad27f430d Fix width of index table 2022-11-07 22:34:42 +01:00
Brian Picciano
d957041113 Make description an optional field 2022-10-12 23:43:31 +02:00
Brian Picciano
d959985ed0 Remove --no-out-link from install-systemd 2022-10-11 18:17:21 +02:00
Brian Picciano
cef74151d2 fix bug in asset upload id checker 2022-09-13 13:25:04 +02:00
Brian Picciano
4f01edb923 move src out of srv, clean up default.nix and Makefile 2022-09-13 12:56:08 +02:00
Brian Picciano
5485984e05 remove redis and circus 2022-09-13 12:25:45 +02:00
Brian Picciano
b1641d1af9 remove chat functionality completely 2022-09-13 12:12:28 +02:00
Brian Picciano
1b3ca1af4b small change on admin 2022-08-19 21:58:18 -06:00
Brian Picciano
61d4e959b5 improve navigation around admin pages 2022-08-19 21:57:05 -06:00
Brian Picciano
f365b09757 implemented draft publishing and removed New Posts link/capability 2022-08-19 21:47:38 -06:00
Brian Picciano
33a81f73e1 load published posts test data in reverse order 2022-08-19 21:15:39 -06:00
Brian Picciano
c3135306b3 drafts functionality added, needs a publish button still 2022-08-18 23:07:09 -06:00
Brian Picciano
dfa9bcb9e2 WIP 2022-08-18 22:34:38 -06:00
Brian Picciano
7ac2f5ebb3 implement DraftStore 2022-08-18 22:25:17 -06:00
Brian Picciano
76ff79f470 add admin page, and spruce up posts and assets 2022-08-18 21:11:42 -06:00
Brian Picciano
98e0c3e89c fix CSRF checking so that localhost always works 2022-08-18 20:59:53 -06:00
Brian Picciano
f7b4fd644b improve how index table looks 2022-08-18 20:52:09 -06:00
Brian Picciano
062e5bbd10 delete some old script that aren't needed anymore 2022-08-18 20:28:04 -06:00
Brian Picciano
60018dd9f5 load some test data when starting the dev shell 2022-08-18 20:27:40 -06:00
Brian Picciano
d0a604b0ba update welcome message a bit 2022-08-16 22:37:11 -06:00
Brian Picciano
a125226825 move published date to bottom of post 2022-08-16 22:29:04 -06:00
Brian Picciano
bb6c715a0e more polish, use table on index page 2022-08-16 22:26:31 -06:00
Brian Picciano
c06dd5c587 make button vs link usage consistent 2022-08-16 22:04:57 -06:00
Brian Picciano
7bd7af44a9 remove target:_blanks 2022-08-16 22:01:25 -06:00
Brian Picciano
2144e9f2f1 make license link less obnoxious 2022-08-16 21:58:48 -06:00
Brian Picciano
cbc5816586 fix color of warning on follow page 2022-08-16 21:57:45 -06:00
Brian Picciano
36d79896e7 add a welcome paragraph 2022-08-16 21:55:32 -06:00
Brian Picciano
960e33d649 inline css into pages 2022-08-16 21:46:02 -06:00
Brian Picciano
bf8412969a finish switching to classless, got a color scheme worked out too 2022-08-16 21:32:50 -06:00
Brian Picciano
5bc4c2fe4e began using new.css, got rid of the old css almost entirely 2022-08-15 15:26:03 -06:00
Brian Picciano
cd1d97bebf don't allow gmail addresses to subscribe 2022-08-09 20:56:34 -06:00
Brian Picciano
7f6d7366e3 improve logging of ips, to account for xff and x-real-ip 2022-08-09 15:23:03 -06:00
Brian Picciano
fa47baffb6 Get rid of CSRF code in api.js 2022-06-03 13:42:59 -06:00
Brian Picciano
08811a6da7 Replace CSRF token checking with Referer checking 2022-05-24 17:42:00 -06:00
Brian Picciano
159638084e Fix CSRF loading on static GET pages 2022-05-24 17:27:03 -06:00
Brian Picciano
88ebaeda8f Don't set updated at field on feed, it's wonky 2022-05-22 09:33:24 -06:00