Commit graph

217 commits

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