Akulij
|
e9a44a221d
|
add test events on init
|
2025-04-08 01:11:45 +09:00 |
|
Akulij
|
2bad5d79c7
|
cargo add chrono_tz
|
2025-04-08 00:47:13 +09:00 |
|
Akulij
|
f7ced4b780
|
use timezoned timestamp in event date
|
2025-04-08 00:42:21 +09:00 |
|
Akulij
|
f619b1d375
|
enable diesel's chrono feature
|
2025-04-08 00:41:46 +09:00 |
|
Akulij
|
15813901d8
|
regenerate models
|
2025-04-08 00:02:31 +09:00 |
|
Akulij
|
1d3ec66b11
|
fix: import table schemas in models generation
|
2025-04-08 00:02:09 +09:00 |
|
Akulij
|
9ac297cf5a
|
fix: make all reservation fields required
|
2025-04-08 00:00:01 +09:00 |
|
Akulij
|
dda5fd5a93
|
fix: wrong user_id field type in reservations table
wrong integer, now bigint, as in users table
|
2025-04-07 23:59:12 +09:00 |
|
Akulij
|
3656c1be6d
|
rename make gen-models task into models
now command looks better:
NOW: cargo make models
WAS: cargo make gen-models
|
2025-04-07 23:56:05 +09:00 |
|
Akulij
|
fc8f98c2fa
|
cargo add chrono
|
2025-04-07 23:32:38 +09:00 |
|
akulij
|
4ea77e0444
|
Merge branch 'master' of https://git.akulij.ru/akulij/gongbotrs
|
2025-04-07 14:28:38 +00:00 |
|
akulij
|
93974c2c37
|
generate Cargo.nix
|
2025-04-07 14:28:23 +00:00 |
|
akulij
|
7102dcb1be
|
create nix shell file
|
2025-04-07 14:27:56 +00:00 |
|
akulij
|
baa7298106
|
delete flake files
|
2025-04-07 14:27:38 +00:00 |
|
akulij
|
c8a2f41fd1
|
ignore result folder
|
2025-04-07 14:27:16 +00:00 |
|
Akulij
|
07a10fae0e
|
create reservatoin status getter that returns enum
|
2025-04-07 23:24:18 +09:00 |
|
Akulij
|
21081c3206
|
regenerate models.rs
|
2025-04-07 23:16:44 +09:00 |
|
Akulij
|
e4051479d4
|
stringify reservation table status field
reason: no easy to setup enums support in diesel
|
2025-04-07 23:15:08 +09:00 |
|
Akulij
|
d93992a3d1
|
Merge branch 'master' of https://git.akulij.ru/akulij/gongbotrs
|
2025-04-07 22:46:15 +09:00 |
|
Akulij
|
87d1f8ac1a
|
add diesel_derive_enum
|
2025-04-07 22:45:59 +09:00 |
|
Akulij
|
6e0a21f569
|
create event and reservation table
|
2025-04-07 22:36:12 +09:00 |
|
Akulij
|
18d7ae9ce7
|
extend user table
|
2025-04-07 22:35:57 +09:00 |
|
Akulij
|
90379aa218
|
extend users table
|
2025-04-07 22:07:00 +09:00 |
|
akulij
|
67a8b94a69
|
fix migrations path to be relative to project
|
2025-04-07 10:30:34 +00:00 |
|
Akulij
|
7e678fc2f3
|
add nix flake to build using nix
|
2025-04-07 17:07:15 +09:00 |
|
Akulij
|
8e3ebc936c
|
cargo fmt
|
2025-04-06 17:58:29 +09:00 |
|
Akulij
|
d74e691009
|
implement bot message editing feature
|
2025-04-06 17:58:05 +09:00 |
|
Akulij
|
b2a27e3330
|
delete comments of code :/
|
2025-04-03 23:16:28 +09:00 |
|
Akulij
|
66cf414350
|
create get/set literal function
|
2025-04-03 23:15:42 +09:00 |
|
Akulij
|
3f2ee083cd
|
fix: make literals field value not optional
|
2025-04-03 23:01:07 +09:00 |
|
Akulij
|
c977500ee4
|
rustfmt
|
2025-04-03 22:51:32 +09:00 |
|
Akulij
|
f5deffc3b3
|
create table literals
|
2025-04-03 22:48:30 +09:00 |
|
Akulij
|
f992a99bd4
|
create db functions to get/set messages
|
2025-04-03 22:43:49 +09:00 |
|
Akulij
|
c93d2f1ee8
|
create messages table
|
2025-04-03 22:14:38 +09:00 |
|
Akulij
|
7777aadf6a
|
create edit msg handler
|
2025-04-03 22:06:58 +09:00 |
|
Akulij
|
d7d67536ce
|
remove unused import
|
2025-04-03 05:05:15 +09:00 |
|
Akulij
|
d886a2459f
|
move out command handler to separate function
|
2025-04-03 05:03:04 +09:00 |
|
Akulij
|
5cadb2bd76
|
rustfmt
|
2025-04-03 04:57:46 +09:00 |
|
Akulij
|
30117624c4
|
move out secret command to admin file
|
2025-04-03 04:56:08 +09:00 |
|
Akulij
|
9e95935ddc
|
move out admin commands to admin file
|
2025-04-03 04:53:16 +09:00 |
|
Akulij
|
87601f172a
|
create deop command
|
2025-04-03 04:47:43 +09:00 |
|
Akulij
|
e2e42c8676
|
rename make_admin function into set_admin with flag
|
2025-04-03 04:37:44 +09:00 |
|
Akulij
|
cc6d13136a
|
test pin message feature
|
2025-04-03 04:34:29 +09:00 |
|
Akulij
|
b858b802fd
|
add secret command handler
|
2025-04-03 04:33:02 +09:00 |
|
Akulij
|
bdb7022fef
|
disable unused features
|
2025-04-03 03:24:57 +09:00 |
|
Akulij
|
66ac460d80
|
use async db connection
|
2025-04-03 03:24:00 +09:00 |
|
Akulij
|
51bc75c8a0
|
extend message handling
|
2025-04-03 02:31:16 +09:00 |
|
Akulij
|
afdd35e731
|
create db files
|
2025-04-03 02:30:54 +09:00 |
|
Akulij
|
7ebbb211da
|
create migrations
|
2025-04-03 02:30:37 +09:00 |
|
Akulij
|
a912cf6233
|
create cargo-make's makefile to generate models
|
2025-04-03 02:30:10 +09:00 |
|