Commit graph

40 commits

Author SHA1 Message Date
LoRiot cfcb2b2535 Refactor states naming 2022-10-22 15:35:19 +03:00
LoRiot 5e6ea7be27 Add None type to project fields that don't exist 2022-10-22 15:23:31 +03:00
LoRiot ad3f5f5e43 Change project status type to int 2022-10-22 15:11:43 +03:00
LoRiot 562a025ac4 Using get_bind to get connection in the template 2022-10-22 15:11:11 +03:00
LoRiot 7e1bcd40a7 Refactor imports 2022-10-21 21:06:37 +03:00
LoRiot 8f77438b7d Add search handler 2022-10-21 21:06:20 +03:00
LoRiot aaf3330d22 Get projects by name 2022-10-21 21:02:20 +03:00
LoRiot c38ddcb01c Add button to search for projects 2022-10-21 19:23:24 +03:00
LoRiot a8fd51fe93 Rename handlers 2022-10-21 19:05:25 +03:00
LoRiot de03ee88c0 Remove old migrations 2022-10-17 19:01:29 +03:00
LoRiot 1f68db20fc Insert data into all project columns 2022-10-17 14:36:46 +03:00
LoRiot a107f13a24 Add project contacts 2022-10-17 14:35:05 +03:00
LoRiot a01a00dec1 Remove tags and categories table 2022-10-17 14:35:05 +03:00
LoRiot 4d5034204e Use alembic for migrations 2022-10-17 14:35:00 +03:00
def 5bc3eda39b add black format 2022-10-17 14:58:17 +04:00
LoRiot 7376de2d13 Parse project fields from the message 2022-10-16 22:57:44 +03:00
LoRiot 781d3c04ef Implement using multiple repos 2022-10-16 22:50:37 +03:00
LoRiot f817c79b01 Add default keyboard 2022-10-16 22:11:55 +03:00
LoRiot e03a4da8c7 /start command handler 2022-10-16 17:10:30 +03:00
LoRiot 474efbf43f Add get_user method 2022-10-16 17:06:45 +03:00
LoRiot 4730fb646b Add add_user method 2022-10-16 16:30:57 +03:00
LoRiot 77b949730e Add chat_id column to the users table 2022-10-16 16:29:21 +03:00
LoRiot cdae6b0c8f Add database middleware 2022-10-16 15:39:03 +03:00
LoRiot 6daa0a5e9b Implement repository 2022-10-16 15:37:29 +03:00
LoRiot 334dab2dbc Get session and close instead of deprecated method 2022-10-15 19:24:54 +03:00
LoRiot 5e9390324a Add /create_project command handler 2022-10-15 18:51:27 +03:00
LoRiot 4356eada3c Remove unnecessary dependencies 2022-10-15 18:36:37 +03:00
LoRiot c33248a0b2 Refactor queries 2022-10-15 18:28:02 +03:00
LoRiot 092b81c53a Drop tags and categories 2022-10-15 17:57:52 +03:00
LoRiot a7d6626b12 Run and stop the bot correctly 2022-10-15 17:52:45 +03:00
LoRiot 58bf722a97 Add a table of tags and categories 2022-10-15 17:17:10 +03:00
LoRiot 6e20fd1ffe Add env.sh to .gitignore 2022-10-15 16:58:18 +03:00
LoRiot 026e55a05f Rename main.py to bot.py 2022-10-14 18:05:44 +03:00
LoRiot 9d36720cc6 Create migrations 2022-10-14 18:05:04 +03:00
def 18ebb8f9f5 add DEFAULT contributors 2022-09-16 10:04:14 +02:00
def 544f324c8b add init_db 2022-09-16 10:01:48 +02:00
def 151a4e0875 Merge branch 'master' of inex.dev:def/it-volunteers-for-peace 2022-09-16 07:54:09 +02:00
def 5b1c22653c add bot sample 2022-09-16 07:48:10 +02:00
def c70e6c2431 test 2022-09-09 14:45:25 +03:00
def c79a33a68d Initial commit 2022-09-09 10:22:58 +03:00