1
0
Commit Graph

43 Commits

Author SHA1 Message Date
2fb6176b50
Added NewCategory() func. And now NewCategory() method needs a Category as an arg. 2023-05-23 02:44:54 +04:00
73f98c78de
Also delete SQL query file for categoryByID. 2023-05-23 00:50:54 +04:00
21444568cc
Fixed a copy-paste typo with stmtPostEdit -> stmtCategoryEdit. 2023-05-23 00:49:40 +04:00
16e2ff6ebc
In Mindflow interface renamed all methods that work with Post into *Post(). 2023-05-23 00:47:10 +04:00
a8a7e6427d
Well, GetCategoryByID() actually has no use. Let's get rid of it. 2023-05-23 00:44:42 +04:00
c7f421680e
In case a category would consist of multiple words replace white space with a dot. 2023-05-23 00:29:16 +04:00
0e28f8a16b
Impl. category editing. 2023-05-23 00:22:12 +04:00
1304399232
Added DeleteCategory() to Mindflow interface. 2023-05-22 23:06:14 +04:00
4e82fbddc1
Added functionality to delete unused categories from a DB. 2023-05-22 23:05:52 +04:00
0fbc121e38
Place Category and Post types into one mindflow.go. 2023-05-22 22:35:47 +04:00
ab3174f543
Added closing of stmtCategoryGetAll. 2023-05-22 21:39:55 +04:00
089ef27cef
Added delete category query. 2023-05-22 21:39:38 +04:00
5095c7649d
Implemented getting all categories. 2023-05-22 05:21:53 +04:00
38e5d9e4bf
GetAll() method was renamed to Posts(). 2023-05-22 05:21:00 +04:00
91a76fb9d7
Found a copy-paste typo, fixed it. stmtPostNew -> stmtCategoryNew. 2023-05-22 04:10:04 +04:00
e51ceb7388
Removed call of UNIXEPOCH(). Now it works without it. 2023-05-22 04:02:17 +04:00
76830d4468
Added OR IGNORE to an INSERT statement in schema. 2023-05-20 06:27:45 +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
bf0787d8b6
Fixed typos in mindflow's SQL schema. 2023-05-19 21:53:44 +04:00
354c1b01f7
Added Close() method to Mindflow DB. Constructor renamed to New(). 2023-05-14 20:17:30 +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
f12ce11b7f
Oh, replaced SQLiteMindflow with Mindflow interface. 2023-05-14 03:38:17 +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
1bf5dfba6a
Added a to be completed Mindflow SQLite3 DB and queries. 2023-05-10 03:21:29 +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
9955a0d0fc
Added metadata file struct descr in an error message for Article.ParseMetadata(). 2023-05-06 05:20:47 +04:00
912bea6c58
Replace arav.top with arav.su. 2023-03-11 22:45:22 +04:00
7a1c984750
Added Service* constants. 2023-02-05 06:25:38 +04:00
6a0e64dbf5
Added GetServiceByHost() func. 2023-02-05 06:22:28 +04:00
9e2e490f4a
Implemented func GatherStatus() to get a list of running services. 2023-02-05 05:13:19 +04:00
1dc390a967
Post type for mindflow. 2023-02-05 04:48:53 +04:00
5df7d022e5
A ServiceList type. 2023-02-05 04:48:39 +04:00
afb3774646
Added ToClientTimezone() util func. 2023-02-05 04:41:52 +04:00
9e3a7fddcc
Added an Article type. 2023-02-05 04:41:24 +04:00