1
0
Commit Graph

236 Commits

Author SHA1 Message Date
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
48e4b1b24b
Updated go.mod and go.sum. 2023-03-11 22:46:36 +04:00
912bea6c58
Replace arav.top with arav.su. 2023-03-11 22:45:22 +04:00
a28a946841
PKGBUILD. Changed version to 23.10.0. arav.top -> arav.su. Removed backup=. 2023-03-11 22:38:25 +04:00
4efc83b09e
Handler for reply new and update (doesn't work yet). 2023-02-06 02:43:26 +04:00
37c56a91b6
Implemented reply deleting. But updating doesn't work yet. 2023-02-06 02:42:42 +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
8cb5cbc342
guestbook_admin template and assets. 2023-02-06 02:00:20 +04:00
790c866456
Guestbook Admin handlers. 2023-02-06 01:59:50 +04:00
3c47d42ba7
Added DELETE method to server. 2023-02-06 01:59:33 +04:00
87ba488769
Endpoints for guestbook admin panel. 2023-02-06 01:59:06 +04:00
0015c733bd
go generate moved out to a gen target. 2023-02-06 00:34:06 +04:00
fcdb2f3bf2
Fixed error message reporting. 2023-02-06 00:02:13 +04:00
4387eb95dc
Error handlers are almost ready. 2023-02-05 23:23:55 +04:00
fcfe75dfae
Added package dependency on sqlite. 2023-02-05 23:23:16 +04:00
bc37700d9b
Added CAPTCHA handlers. 2023-02-05 23:05:11 +04:00
685735a576
Added needed CAPTCHA endpoints. 2023-02-05 23:04:56 +04:00
0703064e08
Added justcaptcha dependency. 2023-02-05 23:04:33 +04:00
d183c42825
Added guestbook POST handler for forms. 2023-02-05 21:50:28 +04:00
a81e71eb87
Added GET and POST /guestbook endpoints. 2023-02-05 21:49:58 +04:00
eff952c32a
Make a URL in a guestbook emphasized. 2023-02-05 21:49:16 +04:00
a6fd764cbd
Updated git.arav.top/Arav/justguestbook to v1.0.1. 2023-02-05 21:22:19 +04:00
dfa5f9bac6
Fixed int64 to string conversion. 2023-02-05 21:21:43 +04:00
ed09db85ed
Added git.arav.top/Arav/justguestbook dependency. 2023-02-05 21:12:42 +04:00
6d2b88c46a
Added guestbook.pug to go generate. 2023-02-05 21:12:23 +04:00
bedd336385
Changed guestbook.pug. 2023-02-05 21:12:00 +04:00
aa44e678b5
Added Guestbook handler. 2023-02-05 21:11:29 +04:00