Commit graph

212 commits

Author SHA1 Message Date
Gabriel Augendre 2849692fc1
Point footer to sr.ht project instead of git repo
This should give more visibility to the project
with the issue tracker and everything.
2020-11-12 16:11:27 +01:00
Gabriel Augendre 4aa4990efd
Revert "Test deploy"
This reverts commit f71f6009fa.
2020-11-12 15:50:27 +01:00
Gabriel Augendre f71f6009fa
Test deploy 2020-11-12 15:43:24 +01:00
Gabriel Augendre 1bec6742f8
Fix punctuation in footer 2020-11-11 13:30:32 +01:00
Gabriel Augendre 524c42544d
Add write link to header and reorder links 2020-11-11 12:07:19 +01:00
Gabriel Augendre 48f9a2e468
Remove unused method 2020-11-11 12:07:06 +01:00
Gabriel Augendre 4d5e42b698
Change admin -> edit 2020-11-11 12:01:16 +01:00
Gabriel Augendre 87f3fd214b
Make footer links lighter 2020-11-11 12:00:56 +01:00
Gabriel Augendre 7b6b5bb594
Update wording 2020-11-10 16:42:02 +01:00
Gabriel Augendre 3fd73c451c
Add a border before comment section 2020-11-10 16:35:57 +01:00
Gabriel Augendre b73192c371
Fix space before "draft" 2020-11-10 16:35:49 +01:00
Gabriel Augendre 908eac134e
Fix article admin field position unknown 2020-11-10 16:26:52 +01:00
Gabriel Augendre 78603c5afc
Remove comments 2020-11-10 16:26:27 +01:00
Gabriel Augendre db31dcadeb
Logged in user doesn't have plausible script 2020-11-10 16:04:07 +01:00
Gabriel Augendre 36c8a83018
Add plausible analytics if env variable exists 2020-11-10 15:44:05 +01:00
Gabriel Augendre 698a2db6a7
Update articles list look with blog title and description 2020-09-12 17:20:56 +02:00
Gabriel Augendre bd938138a2
Add link to deployed commit in footer 2020-09-12 17:02:34 +02:00
Gabriel Augendre 5fbdf4c3e5
Rewrite page fieldsets so they reflect article's 2020-09-12 16:39:07 +02:00
Gabriel Augendre 11ceec343d
Display git commit sha in footer 2020-09-09 18:33:13 +02:00
Gabriel Augendre 88f3c455ff
Increase writing space in admin page 2020-09-09 17:57:55 +02:00
Gabriel Augendre 37175e54fb
Upgrade black 2020-09-05 09:09:59 +02:00
Gabriel Augendre 603cd31691
Add a robots.txt 2020-09-05 09:04:45 +02:00
Gabriel Augendre 458126f828
Fix comments ordering 2020-09-03 22:00:38 +02:00
Gabriel Augendre cb0fa2da94
Definitively fix article field in comment admin form 2020-09-03 22:00:28 +02:00
Gabriel Augendre b180def20c
Allow disabling comments on article/page 2020-09-03 21:29:58 +02:00
Gabriel Augendre e247f15797
Fix pages not displayed in comment admin form 2020-09-03 21:29:56 +02:00
Gabriel Augendre 84a1b11315
Mark toggle dark mode script as async 2020-08-28 22:41:06 +02:00
Gabriel Augendre 1eb72f45ef
Use css to customize article content widget 2020-08-28 21:55:34 +02:00
Gabriel Augendre 74e93762ca
Add views count to admin list 2020-08-26 13:28:31 +02:00
Gabriel Augendre c3218df28e
Fix test warning 2020-08-25 23:15:08 +02:00
Gabriel Augendre cfc427b603
Use a custom ISO date format to please HTML <time> 2020-08-25 23:12:12 +02:00
Gabriel Augendre 67105db5a9
Lazy load images 2020-08-25 23:12:10 +02:00
Gabriel Augendre 677d752873
Fix list template for HTML compliance (remove p tag) 2020-08-25 14:16:58 +02:00
Gabriel Augendre ee0289382c Fix test data 2020-08-24 23:49:35 +02:00
Gabriel Augendre fc5ac92685 Remove failing test 2020-08-21 14:18:31 +02:00
Gabriel Augendre 8a7247f160 Add a failing test to check CI 2020-08-21 14:14:51 +02:00
Gabriel Augendre 76fcefccf1 Allow longer slugs 2020-08-21 12:33:03 +02:00
Gabriel Augendre afc3203ff2 Add favicon 2020-08-20 21:18:24 +02:00
Gabriel Augendre 9904c9e4bb Add sourcehut in the footer 2020-08-20 16:41:01 +02:00
Gabriel Augendre 34ea388269 Mark moderated messages as not notified 2020-08-20 16:27:12 +02:00
Gabriel Augendre f6d6d7b850 Add task to notify commenters once their comment has been moderated. 2020-08-20 16:22:15 +02:00
Gabriel Augendre 23985a3263 Highlight targeted comment & add permalink 2020-08-20 15:51:29 +02:00
Gabriel Augendre 1fa73b90fb Add message when approving/rejecting comments 2020-08-20 10:25:42 +02:00
Gabriel Augendre fbfceecc93 Add str to comment 2020-08-20 10:22:18 +02:00
Gabriel Augendre c997c6b9aa Fix pluralization in check pending 2020-08-20 10:12:48 +02:00
Gabriel Augendre 80348c4e03 Update form rendering 2020-08-20 09:48:11 +02:00
Gabriel Augendre b96843a231 Fix some styles 2020-08-20 09:47:49 +02:00
Gabriel Augendre bb883a2274 Restore for as table 2020-08-20 09:33:34 +02:00
Gabriel Augendre 674bda6c1f Revert "Add style for form as p"
This reverts commit 93c9a87a68.
2020-08-20 08:32:16 +02:00
Gabriel Augendre 93c9a87a68 Add style for form as p 2020-08-20 08:31:52 +02:00
Gabriel Augendre bdbbdd5acb Update wording on comment form 2020-08-19 12:37:42 +02:00
Gabriel Augendre 7acb6c0863 Fix plural form in email 2020-08-19 12:22:30 +02:00
Gabriel Augendre d5d4efd2df Fix email sending 2020-08-19 12:13:44 +02:00
Gabriel Augendre 6f4ec418ee Add email config and check pending command task 2020-08-18 22:26:46 +02:00
Gabriel Augendre 9a610a482b Use a status field for comments 2020-08-18 21:40:54 +02:00
Gabriel Augendre bae6f249a2 Fix save & preview at creation 2020-08-18 21:30:23 +02:00
Gabriel Augendre f2a3f3efeb Increase article content widget 2020-08-18 21:30:09 +02:00
Gabriel Augendre 6e3daeac3b Fix admin articles ordering 2020-08-18 21:29:52 +02:00
Gabriel Augendre bdfa7b731c Implement messages framework 2020-08-18 20:44:51 +02:00
Gabriel Augendre 2bb8855da9 Update help text 2020-08-18 19:53:02 +02:00
Gabriel Augendre 0a7a956ae0 Add links to comments admin 2020-08-18 19:51:54 +02:00
Gabriel Augendre 261120275d Handle errors in form 2020-08-18 19:44:13 +02:00
Gabriel Augendre 63a41918b5 Style comments 2020-08-18 19:12:47 +02:00
Gabriel Augendre 698a5ca30f Add basis for a comment system 2020-08-18 18:49:41 +02:00
Gabriel Augendre fb2eae301a Add drafts count and pill css 2020-08-18 14:23:51 +02:00
Gabriel Augendre 386b620361 Add action buttons in article/page admin 2020-08-18 12:41:12 +02:00
Gabriel Augendre 85f235330e Add some table styling 2020-08-18 11:46:38 +02:00
Gabriel Augendre 70419e379b Add a footer 2020-08-18 11:38:25 +02:00
Gabriel Augendre e803456e90 Improve some styling 2020-08-18 11:38:11 +02:00
Gabriel Augendre f59c505885 Remove dark mode toggle logs 2020-08-18 10:54:43 +02:00
Gabriel Augendre a66bf5e95c Fix image width overflow 2020-08-18 10:33:56 +02:00
Gabriel Augendre 214a3b14fa Improve codeblocks style 2020-08-18 10:30:58 +02:00
Gabriel Augendre 574ff5f481 Update code themes 2020-08-18 10:09:05 +02:00
Gabriel Augendre c3c37092df Fix test data 2020-08-18 10:05:09 +02:00
Gabriel Augendre 8748a968b3 Add code highlighting with auto dark mode switch 2020-08-18 09:37:13 +02:00
Gabriel Augendre dd7b24018b Add test 2020-08-18 08:36:55 +02:00
Gabriel Augendre 546f8b4078 Extract some fixtures and use reversed urls 2020-08-18 08:36:45 +02:00
Gabriel Augendre a3f64c573a Reduce test setup 2020-08-18 08:24:40 +02:00
Gabriel Augendre 2105f96a24 Use url tag for rss feed href 2020-08-18 08:17:39 +02:00
Gabriel Augendre 617c34e5ba Add unit tests 2020-08-18 07:23:59 +02:00
Gabriel Augendre b893e8b64e Add default author for articles 2020-08-17 17:49:19 +02:00
Gabriel Augendre 8e07a2dcd9 Improve margin on mobile displays 2020-08-17 16:13:30 +02:00
Gabriel Augendre 8ee3cd7582 Fix heading size for article detail 2020-08-17 16:06:52 +02:00
Gabriel Augendre ccab8864d3 Improve links style & titles margin 2020-08-17 16:02:12 +02:00
Gabriel Augendre ecca5f28d7 Add article title to page title 2020-08-17 13:30:41 +02:00
Gabriel Augendre c6e0837b1c Add login link 2020-08-17 13:19:41 +02:00
Gabriel Augendre 49b1d0e9ca Fix admin link for pages 2020-08-17 13:17:23 +02:00
Gabriel Augendre 644de9c72f Restore default top margin 2020-08-17 13:08:14 +02:00
Gabriel Augendre 165e51e746 Add bottom margin 2020-08-17 12:53:38 +02:00
Gabriel Augendre d535327b5b Add style for profile pics 2020-08-17 10:45:30 +02:00
Gabriel Augendre 731a443209 Add support for pinned pages 2020-08-17 09:57:24 +02:00
Gabriel Augendre a1e7e4f30e Prepare for deploy 2020-08-17 08:23:00 +02:00
Gabriel Augendre 0632a4ced8 Add pagination links 2020-08-16 20:34:11 +02:00
Gabriel Augendre b070cb067e Update look & feel 2020-08-16 20:24:00 +02:00
Gabriel Augendre 4b05fbb943 Increase readability 2020-08-16 19:51:42 +02:00
Gabriel Augendre 0fb2ff99bd Add slug 2020-08-16 19:45:38 +02:00
Gabriel Augendre 17d2e7aa2e Move views and add feeds 2020-08-16 19:24:31 +02:00
Gabriel Augendre 9a50fa408f Add admin link to article 2020-08-16 19:23:38 +02:00
Gabriel Augendre bd55cc0e33 Update shown date 2020-08-16 18:41:36 +02:00
Gabriel Augendre cbdf506227 Fix updated at not set by publish/unpublish 2020-08-16 18:40:02 +02:00
Gabriel Augendre 6444cfe24b Style admin 2020-08-16 18:39:27 +02:00
Gabriel Augendre 10c530bf2e Add style 2020-08-16 18:38:53 +02:00
Gabriel Augendre 514d93788e Add some nav links 2020-08-16 18:15:37 +02:00
Gabriel Augendre ee52689c1c Add mass (un)publish action 2020-08-16 18:15:19 +02:00
Gabriel Augendre 4dcb23970f Add drafts list view 2020-08-16 18:14:55 +02:00
Gabriel Augendre 2de4c3cabc Limit image width 2020-08-14 22:07:20 +02:00
Gabriel Augendre f45db63493 Wrap articles in an article element 2020-08-14 22:07:04 +02:00
Gabriel Augendre 7ab0f6ee24 Add a views count on article
Incremented by non logged in visitors
2020-08-14 22:06:38 +02:00
Gabriel Augendre 0c1d0a0b29 Only display published articles 2020-08-14 16:19:02 +02:00
Gabriel Augendre 02d7169314 Fix tags display 2020-08-14 16:15:40 +02:00
Gabriel Augendre 75e1bec1d0 Add basis to work on articles 2020-08-14 15:53:42 +02:00
Gabriel Augendre ec31d838c1 Initial commit 2020-08-14 14:53:30 +02:00