• Joined on 2024-08-12
akulij pushed to main at akulij/gongbotrs 2025-04-30 11:38:11 +00:00
85f16311fa set mongodb's index to clear callback info after a day
f3ec4188bb add created_at field to CallbackInfo
2d5e2ed34e fix: wrongly spelled serde's rename_all attribute
53edb54118 make more_info and show_projects on separate lines
Compare 4 commits »
akulij pushed to main at akulij/gongbotrs 2025-04-30 10:44:08 +00:00
0c71fd3796 delete unused block in matching callback
5192b43e0b create show_projects button on /start
8c2d2425c4 create create_callback_button function
36c729e57b rename DemoProject callback to more convinient ProjectPage
cbe24cc134 use Callbackinfo with internal Callback struct to handle telegram callbacks
Compare 12 commits »
akulij pushed to main at akulij/nvim-dots 2025-04-29 16:45:10 +00:00
4d59d38f43 add floaterm with git commit keybinding
fb85e52c23 add gitsigns keymaps to manipulate hunks
ed863d0813 add gitsigns plugin
411b7a7349 delete gitgutter from plugins
84e680840b add more keymaps for picker
Compare 14 commits »
akulij pushed to main at akulij/gongbotrs 2025-04-28 19:56:25 +00:00
ccd38178ea add todo to extend type in StorageError
akulij pushed to main at akulij/gongbotrs 2025-04-28 19:54:52 +00:00
ec49ab24b6 clippy: fix warning unused result
a51344d089 use log crate instead of raw prints
fd3ef221c9 cargo add log
ffe2fd8bc1 create custom type to return all errors
1c9ab867ed follow new db function declarations
Compare 14 commits »
akulij pushed to main at akulij/gongbotrs 2025-04-27 21:07:01 +00:00
03e42c9108 fix bug: editing text kept previous media in message
a905325a52 update user in db from telegram user info
4bf7c214b9 create update_user method on User struct
345ea66f8e fix cargo warnings
82045a39a9 create BotController
Compare 8 commits »
akulij pushed to main at akulij/gongbotrs 2025-04-25 21:29:13 +00:00
403e06f542 call db migration on init
a765dce328 use MongodbStorage
7fe3a76052 create MongodbStorage
4d2d344ea2 fix: update is_admin only on insert (in upsert query)
0a64b25044 fix: used wrong collection in get_literal
Compare 6 commits »
akulij pushed to main at akulij/gongbotrs 2025-04-25 19:45:11 +00:00
08167143aa migrate db to mongodb from diesel(postgres)
e4007095ab add mongodb and bson(flag chrono-0_4) as a dependency
e2d2cebed8 cargo fmt
a940ef5e83 move towards generefication of DB implementation
b6ae5170a4 add support for media group in user configurable messages
Compare 19 commits »
akulij pushed to main at akulij/gongbotrs 2025-04-10 14:17:42 +00:00
f362ff1fda create db tests
cc351a0a9b fix: use str instead of string in add_media method
e46ba0dbbf fix: wrong fileid type
Compare 3 commits »
akulij pushed to main at akulij/gongbotrs 2025-04-10 12:16:07 +00:00
827a5022d1 implement db functions to manipulate media table
ed211f2d72 create table media
412a54d647 cargo fmt
1006fbe5c1 fix: request first_name in user creation db function
a9919a9307 handle edit command in any case
Compare 9 commits »
akulij deleted branch master from akulij/gongbotrs 2025-04-07 16:24:49 +00:00
akulij pushed to main at akulij/gongbotrs 2025-04-07 16:23:42 +00:00
akulij created branch main in akulij/gongbotrs 2025-04-07 16:23:42 +00:00
akulij pushed to master at akulij/gongbotrs 2025-04-07 16:19:01 +00:00
cca87da403 cargo fmt
98be2b0f7d display event buttons
e9a44a221d add test events on init
2bad5d79c7 cargo add chrono_tz
f7ced4b780 use timezoned timestamp in event date
Compare 12 commits »
akulij pushed to master at akulij/gongbotrs 2025-04-07 14:29:04 +00:00
93974c2c37 generate Cargo.nix
7102dcb1be create nix shell file
baa7298106 delete flake files
c8a2f41fd1 ignore result folder
Compare 5 commits »
akulij pushed to master at akulij/gongbotrs 2025-04-07 14:25:07 +00:00
07a10fae0e create reservatoin status getter that returns enum
21081c3206 regenerate models.rs
e4051479d4 stringify reservation table status field
87d1f8ac1a add diesel_derive_enum
Compare 8 commits »
akulij pushed to master at akulij/gongbotrs 2025-04-07 13:44:57 +00:00
67a8b94a69 fix migrations path to be relative to project
akulij pushed to master at akulij/gongbotrs 2025-04-07 08:07:37 +00:00
7e678fc2f3 add nix flake to build using nix
akulij pushed to master at akulij/gongbotrs 2025-04-06 14:45:29 +00:00
8e3ebc936c cargo fmt
d74e691009 implement bot message editing feature
b2a27e3330 delete comments of code :/
66cf414350 create get/set literal function
3f2ee083cd fix: make literals field value not optional
Compare 10 commits »
akulij created branch master in akulij/gongbotrs 2025-04-06 14:45:29 +00:00