|
2667ec93ce
|
Made full use of Service* constants in util.
|
2024-04-20 05:06:28 +04:00 |
|
|
34d469319d
|
Set timeout 1 second for GatherStatus().
|
2023-12-16 04:27:03 +04:00 |
|
|
85a3a9692e
|
A big revamp for mindflow and RSS. First of all, now RSS is 100% valid and has actual links instead of just a link to a post in a mindflow. Also, on mindflow page each post that has a URL field set has it displayed as Link: ... .
|
2023-09-25 00:23:06 +04:00 |
|
|
7f17ebd2c5
|
In Article struct switched positions of Title and Date fields.
|
2023-09-24 19:03:29 +04:00 |
|
|
0695aa46b3
|
For Article added a consturctor func New().
|
2023-09-24 19:02:43 +04:00 |
|
|
053e22d131
|
Onion is back! Also made ab address for an upload service.
|
2023-06-26 04:07:50 +04:00 |
|
|
d18374e72a
|
Put Categories() down under the New*, Edit*, and DeleteCategory methods.
|
2023-05-23 04:31:22 +04:00 |
|
|
ca51617f0e
|
There is no need in DeleteUnusedCategories() so let's get rid of it.
|
2023-05-23 04:29:06 +04:00 |
|
|
f1d6f5c736
|
In PostID() change date location to UTC and use seconds as part of ID as well.
|
2023-05-23 04:18:07 +04:00 |
|
|
ef316defd9
|
For an article added an ID field used to sort the articles by their appearing, rather by a date.
|
2023-05-23 04:10:50 +04:00 |
|
|
561425b739
|
Accept a Category instead of just a name string.
|
2023-05-23 02:46:22 +04:00 |
|
|
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 |
|