55 Commits

Author SHA1 Message Date
b045b53519 feat(bot): use message timestamp instead of current time when adding quote 2025-06-25 02:00:19 +03:00
dc2bae0da6 fix(web): fix wrong string escaping when rendering quote blocks 2025-03-07 02:56:13 +03:00
253e4def43 docs: add installation guide 2025-01-07 21:59:38 +03:00
2c6b24b0fd init: add installer script and systemctl service file 2025-01-07 21:59:32 +03:00
60b4e07f0c init(db): add database create script 2025-01-07 20:55:43 +03:00
e7c904069a init: add README 2025-01-07 20:36:19 +03:00
e25768d120 perf(web): host google fonts locally 2025-01-07 19:55:37 +03:00
cc1e8e3af0 perf(web): force release mode 2025-01-07 19:43:00 +03:00
02fb86049d perf(web): embed static files and templates 2025-01-07 19:21:53 +03:00
6ed054d56a init(web): add main.go file 2025-01-07 17:04:52 +03:00
1acb32aea0 init(web): add loading configuration from file 2025-01-07 17:03:45 +03:00
b42542931a fix(server): move encryption key into arguments 2025-01-07 16:21:57 +03:00
0617bf2a8f fix(web): fix datetime to local ISO string converter 2025-01-07 16:14:22 +03:00
4f0c1cfdc2 style(web): add displaying quote creator
also prettify datetime in quote snippets
2025-01-07 16:00:49 +03:00
cdd19f7c54 feat(web): add quote edit form 2025-01-07 15:42:16 +03:00
93374f1164 fix(web): fix quote create form positioning 2025-01-07 15:40:14 +03:00
3bfc54e407 refactor(web): move util js functions into a separate file 2025-01-07 15:15:04 +03:00
eeb4b52192 feat(web): add quote delete action 2025-01-07 14:51:14 +03:00
56f9603daa init(web): add quote create form 2025-01-07 14:44:29 +03:00
ffc249a9f8 perf(web): add favicon, webmanifest and browserconfig 2025-01-07 13:27:14 +03:00
14a7104c5f init(web): add settings page 2025-01-07 13:25:25 +03:00
3d35de3234 fix(api): fix logout handler 2025-01-07 05:15:14 +03:00
2228dc5f14 refactor(web): make a separate auth middlewares for server
also slightly change api auth middleware
2025-01-07 04:32:49 +03:00
8b417dc623 perf(web): add pagination
and remove getting total quotes count
2025-01-07 04:04:06 +03:00
65152526b7 fix(web): adjust quotes page for mobile
also add <hr>s around quotes list
2025-01-07 03:24:54 +03:00
b3090f5dc0 fix(web): fix behavior on getting no quotes 2025-01-07 03:23:48 +03:00
838f089c69 fix(api): make search filter case insensitive 2025-01-07 03:16:10 +03:00
bddcd49d2a init(web): add quotes page 2025-01-07 02:58:04 +03:00
02b848a737 init(api): add getting total quotes count 2025-01-07 01:52:33 +03:00
37d40497d1 init(frontend): add frontend server
also add static files and auth page
2025-01-07 00:03:30 +03:00
cb14672113 refactor(api): make database error handler unexported 2025-01-06 20:19:37 +03:00
55986bab36 refactor(api): move authentication into a middleware 2025-01-06 20:17:07 +03:00
521e140881 refactor: rename backend -> web 2025-01-06 19:25:06 +03:00
7d38326112 init(api): add user logout handler 2025-01-06 18:43:12 +03:00
3327dc6f18 init(api): add user get handler 2025-01-06 17:37:40 +03:00
d2a6522157 init(backend): add getting user info 2025-01-06 17:37:05 +03:00
f94fc2ad9a init(api): add user update handler 2025-01-06 17:15:41 +03:00
a6e9665413 init(api): add quote update handler 2025-01-06 16:53:23 +03:00
08ac117b5a fix(backend): fix quote update functions 2025-01-06 16:51:48 +03:00
bb23987fff init(api): add quote delete handler 2025-01-06 16:23:03 +03:00
568ffd1615 init(api): add quote add handler 2025-01-06 16:11:35 +03:00
875452004d init(api): add single quote get handler 2025-01-06 15:23:19 +03:00
14e88b2e2e fix(api): fix database error handler function 2025-01-06 15:19:25 +03:00
82134a8cd2 refactor(api): rename database error handler function 2025-01-06 15:16:55 +03:00
adcc7d22c3 style(api): correct bad request message in user authentication handler 2025-01-06 03:54:40 +03:00
9a0b81fba3 refactor(api): move postgres error handling into a separate function in a separate file 2025-01-06 03:53:08 +03:00
c7df4a1960 init(api): add quotes get handler 2025-01-06 03:39:41 +03:00
9299062f69 init(api): add routes.go file and update go.mod and go.sum 2025-01-06 03:18:06 +03:00
18064db60a init(api): add user authentication handler
also add error casting function to db.go
2025-01-06 03:17:34 +03:00
68d5063dd9 refactor(backend): rename user functions in db.go
also rename Quote region to Quotes in db.go
2025-01-06 01:52:45 +03:00