Commit Graph

31 Commits

Author SHA1 Message Date
465ed5749b Merge remote-tracking branch 'origin/main' 2025-08-17 18:18:20 +03:00
22f433828e - Added a script that batch adds images to a bucket of choice
- Cleaned some junk strings
2025-08-17 18:17:40 +03:00
e65b417ccc Delete src/Backend/minioPopulator.py 2025-08-04 16:35:36 +03:00
9e96fd247f Update src/Backend/UserTable.sql 2025-08-04 16:35:04 +03:00
3692c0233d GIGACOMMIT
Changes:
	Frontend:
		- Added and adjusted command handlers for /start, /cat,
	  	/subscribe, /unsubscribe, and /subscription_modify
		- Implemented mass send function to send images for all
	  	subscribed users
		- Configured scheduler to call function above at 12:00 every day
		- Added psycopg2 error exception for each handler

	Backend:
		- Changed PostgreSQL DB Users table structure(id,
		  chat_id, images_amount) and adjusted all functions'
		  arguments and executes to match these changes
		- Added a function to fetch selected images_amount for a
		  set chat_id
		- Slightly optimized GetObjectExtension function
		- Allowed all functions that work with currentDay to
		  accept int values
		- Added a script for batch population of MinIO bucket
		  with images from ./files/<day number>/ directory
	Src:
		- Updated requirements.txt
2025-08-02 18:58:12 +03:00
76bf8f9f26 Merge branch 'main' of https://git.frik.su/n0one/CatBot 2025-07-31 16:55:53 +03:00
4094312c37 Saved prototype comments in code 2025-07-31 16:49:44 +03:00
f53783efd3 New commit 2.0:
- Added test file to gitignore
    - Created table of users with chat_ids(UserTable.sql)
    - Added check of empty table into get_last_id
    - Modified get_user to return a chat_id instead of username
    - Changed download function in ISwork to send URL instead
2025-07-31 16:45:25 +03:00
e37a05b45c - Implemented echo bot and ability to quickly modify bot commands
- reworked config to grab values from .env
- Added a requirements file(with modules needed for bot to function)
- Added a separate bot initialization file for simpler launching
2025-07-31 15:49:12 +03:00
cd0536c393 - Updated gitignore
- Added bucket_name into config file
2025-07-30 19:16:44 +03:00
ed4443b220 Merge branch 'main' of https://git.frik.su/n0one/CatBot 2025-07-28 15:27:11 +03:00
79a2f1d7e7 deleted dependency on '.jpeg' extension 2025-07-28 15:25:42 +03:00
3353379e8c Обновить src/Backend/DBwork.py 2025-07-27 20:43:07 +03:00
2529138c4e Merge branch 'main' of https://git.frik.su/n0one/CatBot 2025-07-27 20:40:24 +03:00
e35a82c0bc updated functions connected to images 2025-07-27 20:36:52 +03:00
977d25538d - Implemented echo bot and ability to quickly modify bot commands
- reworked config to grab values from .env
- Added a requirements file(with modules needed for bot to function)
- Added a separate bot initialization file for simpler launching
2025-07-24 00:53:13 +03:00
fdcad46ace deleted unnecessary files 2025-07-21 17:56:59 +03:00
6943bd3b24 deleted unnecessary files 2025-07-21 17:56:40 +03:00
fb7d0412e9 Deleted unnecessary files 2025-07-21 17:55:51 +03:00
f5fe578a88 Merge branch 'main' of https://git.frik.su/n0one/CatBot 2025-07-21 17:53:52 +03:00
1e024cc937 Updated Backend 2025-07-21 17:50:03 +03:00
656e9257cc Updated gitignore 2025-07-21 17:49:28 +03:00
4ed1dc9d31 frontend structure 2025-07-20 20:08:37 +03:00
d421e00b21 my commit 2025-07-20 19:54:10 +03:00
9530f5ae61 fixed shields.io badge 2025-07-17 18:13:54 +03:00
2231067c3a Update .gitignore 2025-07-17 18:00:32 +03:00
904dad89e1 Merge remote-tracking branch 'origin/main' 2025-07-16 00:30:11 +03:00
492f012551 added gitignore 2025-07-16 00:28:26 +03:00
2071d5d42f Update README.md 2025-07-15 16:59:52 +03:00
aeb5469958 Basic readme info 2025-07-15 06:07:36 +03:00
4fd498a7cb first commit 2025-07-15 06:02:01 +03:00