1
0
Commit Graph

313 Commits

Author SHA1 Message Date
15d357070c
Restrict everything but /api/guestbook endpoint. 2023-05-14 02:40:48 +04:00
cd5ea3ea5c
Fixed go.mod. 2023-05-14 02:27:51 +04:00
6211a032e2
Updated .gitignore. 2023-05-14 02:26:54 +04:00
1bf5dfba6a
Added a to be completed Mindflow SQLite3 DB and queries. 2023-05-10 03:21:29 +04:00
6b54005169
Fixed guestbook_admin.css. 2023-05-10 03:20:50 +04:00
bb29f780e9
Added mindflow_admin.pug template and CSS. 2023-05-10 03:20:37 +04:00
fced4f31ad
Updated mindflow.pug to recent changes of Post struct. 2023-05-10 03:20:11 +04:00
406dd3b4f0
Updated rss.pug to recent changes of Post struct. 2023-05-10 03:19:44 +04:00
7f3daee3db
Added mindflow_admin.pug to go:generate. 2023-05-10 03:19:24 +04:00
0dcd456e52
Added Mindflow interface. 2023-05-10 03:19:02 +04:00
3878ed33b3
Added Category struct. 2023-05-10 03:18:50 +04:00
3f4c2cc2f6
Changed Post struct. Added NewPost() func and PostID() method. 2023-05-10 03:18:39 +04:00
ee486aefdf
Added MindflowAdmin page handler and updated mindflow.Post. 2023-05-10 03:17:58 +04:00
14e25fe088
Added /mindflow/admin endpoint in main. 2023-05-10 03:17:11 +04:00
7a19e20c87
Since I make this project for myself, let I put my nickname in systemd.service. 2023-05-10 01:29:47 +04:00
ba459f2d1f
Updated about page. 2023-05-10 01:03:39 +04:00
8d65f54cb0
Added CSS from guestbook page. Changed nav menu. Added placeholders and maxlength for inputs. 2023-05-10 01:03:20 +04:00
0e1b41b057
Set grid-area for a header. 2023-05-10 01:02:17 +04:00
50e9f3470e
Deny everyone but my network to access admin page for a guestbook. 2023-05-10 00:38:21 +04:00
ecb52b7672
NGiNX config. 2023-05-10 00:21:56 +04:00
b75e654ce7
Added sitemap.xml. 2023-05-10 00:16:39 +04:00
67eaa689e7
Fixed a type in guestbook_admin.js. 2023-05-09 23:58:05 +04:00
30a5b83e10
Changed format for dates on guestbook admin page. Make name and website as the input fields. 2023-05-09 23:55:49 +04:00
433c80b41f
Changed format for dates in guestbook template. 2023-05-09 23:54:26 +04:00
240a8c389e
Added message text new line filtering for reply. 2023-05-09 23:53:48 +04:00
64a51018f6
Found a typo in main.go. 2023-05-09 23:52:31 +04:00
b11cc6836e
Updated go.{mod,sum}. 2023-05-09 23:52:08 +04:00
1011740ce4
Fixed and completed guestbook_admin.js. 2023-05-09 23:38:49 +04:00
2f6bff16b9
/api/captcha/:id now is of a POST method. 2023-05-09 23:38:23 +04:00
66be82d6b2
Fixed Content-Type checking. Get DB as an argument. 2023-05-09 23:37:11 +04:00
6ce598d193
Instead of creating an instance get it as an argument. 2023-05-09 23:36:12 +04:00
f8a8d948a4
Create an instance of DB in main instead. 2023-05-09 23:35:08 +04:00
3bb97a424f
Version incremented. 2023-05-09 23:34:29 +04:00
2ff097c058
Changed API endpoints. Implemented edit_entry(). 2023-05-06 23:14:36 +04:00
34765f9e47
Changed form action from /guestbook to /api/guestbook. 2023-05-06 23:14:04 +04:00
a664bd9c5b
A separate file with API handlers created. 2023-05-06 23:13:31 +04:00
724e9f1cf6
NotFoundHandler changed from hand.NotFound to http.NotFound. 2023-05-06 23:13:13 +04:00
13053bbc21
HTTP endpoints reorganised. 2023-05-06 23:12:37 +04:00
a736cc508f
Removed old CAPTCHA and guestbook admin handlers from Handlers struct. 2023-05-06 23:11:04 +04:00
42846b8d7a
gbsqlite.SQLiteDatabase -> guestbook.Guestbook. 2023-05-06 23:10:18 +04:00
78814bf806
Added PATCH HTTP method. 2023-05-06 23:09:49 +04:00
0aa6651fab
Error handlers was made into independent funcs. 2023-05-06 23:09:25 +04:00
02ebed9cef
Updated go.mod and go.sum. Go min ver was lowered down to 1.17. Dependencies were upgraded. 2023-05-06 22:36:34 +04:00
9955a0d0fc
Added metadata file struct descr in an error message for Article.ParseMetadata(). 2023-05-06 05:20:47 +04:00
c80d49dab5
PKGBUILD. Made use of pkgver. Change GOPATH. Install jade. 2023-05-06 05:20:05 +04:00
e3915a967c
Added VERSION var. install-jade target. Don't copy LICENSE when install. 2023-05-06 05:18:12 +04:00
37aa09cf2e
Added empty GuestbookAdminUpdateReply() method. 2023-03-11 23:38:34 +04:00
5d0d4e4034
Filter new lines. 2023-03-11 23:34:08 +04:00
b90d238e71
Let's increment my age already. :) 2023-03-11 22:50:17 +04:00
3178bf1424
Version up to 23.10.0 in Makefile. 2023-03-11 22:47:02 +04:00