1
0
Commit Graph

32 Commits

Author SHA1 Message Date
fc4512a625
Edit a post is actually should be of method PATCH. 2023-05-22 04:14:39 +04:00
1b61434623
Deleted no more needed code for closing of a guestbook DB inside a Handlers struct. 2023-05-22 03:24:03 +04:00
e856a4b930
Endpoints reorganised a little. Handlers for assets are moved out of Handlers struct as a self-sustained funcs. 2023-05-22 03:16:38 +04:00
7a9a6c06f0
Changes for new justguestbook structure. 2023-05-22 01:14:25 +04:00
fb5188d565
Moved mindflowDB init up. 2023-05-19 21:54:28 +04:00
e520526e08
Found and fixed a type in guestbook page flag in main.go. 2023-05-19 21:42:33 +04:00
354c1b01f7
Added Close() method to Mindflow DB. Constructor renamed to New(). 2023-05-14 20:17:30 +04:00
0864526393
Additionally check for IP address validity. 2023-05-14 20:16:49 +04:00
e1871870ea
Shortened flags. 2023-05-14 20:08:29 +04:00
5b4cc67fda
Distinguish sqlite DB for Mindflow as well. 2023-05-14 03:39:16 +04:00
de8f042019
Renamed sqlite DB for guestbook as gbsqlite. 2023-05-14 03:33:55 +04:00
f3288d9869
Added mindflow DB in main.go. 2023-05-14 03:33:37 +04:00
14e25fe088
Added /mindflow/admin endpoint in main. 2023-05-10 03:17:11 +04:00
b75e654ce7
Added sitemap.xml. 2023-05-10 00:16:39 +04:00
64a51018f6
Found a typo in main.go. 2023-05-09 23:52:31 +04:00
f8a8d948a4
Create an instance of DB in main instead. 2023-05-09 23:35:08 +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
37aa09cf2e
Added empty GuestbookAdminUpdateReply() method. 2023-03-11 23:38:34 +04:00
912bea6c58
Replace arav.top with arav.su. 2023-03-11 22:45:22 +04:00
fbededb796
Unified endpoint to update and add reply. 2023-02-06 02:41:30 +04:00
c9de5b9e18
Oh, I don't need to create new entries in an admin panel. 2023-02-06 02:04:13 +04:00
87ba488769
Endpoints for guestbook admin panel. 2023-02-06 01:59:06 +04:00
685735a576
Added needed CAPTCHA endpoints. 2023-02-05 23:04:56 +04:00
a81e71eb87
Added GET and POST /guestbook endpoints. 2023-02-05 21:49:58 +04:00
cde9e4d34b
Added missing space in main. 2023-02-05 21:10:01 +04:00
6efb13870c
guestbookPageSize's type was changed to int64. 2023-02-05 21:09:44 +04:00
9452194c83
Defer DB closing in main. 2023-02-05 21:08:14 +04:00
aec332f746
Added error 404 handler. 2023-02-05 05:25:20 +04:00
77a35e8f4b
Added Index, Stuff, Mindflow, About, Article, and RSS handlers. 2023-02-05 00:52:14 +04:00
1702534072
Added .gitignore. 2023-02-05 00:49:01 +04:00
1c4af2048b
Initial commit. 2023-01-16 05:24:07 +04:00