1
0
Commit Graph

291 Commits

Author SHA1 Message Date
b7de10e790
Added mindflow_admin.js file. Currently empty. 2023-05-20 06:27:19 +04:00
97b4887bc2
Fixed GetAll query. 2023-05-20 06:26:52 +04:00
a0995a0e97
Fixed GetAll() method. 2023-05-20 06:26:30 +04:00
0f9b365b2c
Changed program's flags to a new shortened ones. 2023-05-20 02:09:52 +04:00
cd0d627914
Added mindflow DB handling. 2023-05-19 21:54:46 +04:00
fb5188d565
Moved mindflowDB init up. 2023-05-19 21:54:28 +04:00
bf0787d8b6
Fixed typos in mindflow's SQL schema. 2023-05-19 21:53:44 +04:00
e520526e08
Found and fixed a type in guestbook page flag in main.go. 2023-05-19 21:42:33 +04:00
5efb179840
Week part of a version was incremented. 2023-05-19 21:41:13 +04:00
8b59f8f34d
Updated meta description for some pages. 2023-05-19 21:40:16 +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
2ffbc17c4f
Impl. GetCategoryByID(). 2023-05-14 04:11:14 +04:00
b4ba80e02b
Added NewCategory and GetCategoryByID methods in Mindflow interface. 2023-05-14 03:52:28 +04:00
5ef41d5961
Implemented NewCategory() method. 2023-05-14 03:52:07 +04:00
83720a317e
Create new category implemented. 2023-05-14 03:51:35 +04:00
5b4cc67fda
Distinguish sqlite DB for Mindflow as well. 2023-05-14 03:39:16 +04:00
f12ce11b7f
Oh, replaced SQLiteMindflow with Mindflow interface. 2023-05-14 03:38:17 +04:00
8cbd8f143f
New handler for Mindflow. 2023-05-14 03:36:39 +04:00
0903f2c2c6
Changed method signatures for Mindflow interface. 2023-05-14 03:36:13 +04:00
b56de7f5ca
Implemented mindflow DB. 2023-05-14 03:35:52 +04:00
8fd83a664c
Added delete post query. 2023-05-14 03:34:43 +04:00
f66a14f306
Edit a category's ID as well. 2023-05-14 03:34:30 +04:00
9248950255
Return category's ID as well. 2023-05-14 03:34:14 +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
1c952a53cb
Restricted access to /api/mindflow. Removed limit_req. 2023-05-14 03:32:44 +04:00
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