Commit Graph

221 Commits

Author SHA1 Message Date
e79edf1dff Added some more exceptions to handle 2023-01-03 14:30:29 +01:00
7edffd0b40 /identify command added 2023-01-03 14:30:16 +01:00
c8f89a7447 Fixed attribute error 2023-01-03 13:17:59 +01:00
ea1dc542a3 Improved docstrings 2023-01-03 13:16:57 +01:00
6aa8128fc6 Using application_restart() now 2023-01-03 13:04:38 +01:00
7854f88217 Cancel command implemented 2023-01-03 13:04:10 +01:00
b401028dd1 application_state()[0] "none" is also handled now 2023-01-03 13:03:48 +01:00
642c23dd61 Added docstring 2023-01-03 13:02:39 +01:00
b2613c25a4 /label can now be used in admin group 2023-01-03 13:02:27 +01:00
a7038e9d8f Improved tmp files system 2023-01-03 13:01:46 +01:00
626492fb3c Improved logging 2023-01-02 14:24:29 +01:00
a82adc4d1f Changed command output formatting 2023-01-02 11:18:40 +01:00
950666e4ad Changed "loc" to "location" in application 2023-01-02 11:13:41 +01:00
ace71fd6be Members/admins caching is now configurable 2023-01-02 10:48:55 +01:00
Profitroll
25be843cd8 Improved /nearby 2022-12-30 23:29:17 +01:00
Profitroll
e6589fc3e5 Improved admin group filter 2022-12-30 20:36:06 +01:00
Profitroll
8b2abc2cfa Updated /nearby command 2022-12-29 15:04:00 +01:00
Profitroll
c763fc537b Locale usage fixes 2022-12-28 19:01:21 +01:00
Profitroll
22011829a5 Geo update WIP 2022-12-28 18:56:13 +01:00
Profitroll
e59aa98fd5 Working on /nearby 2022-12-27 18:49:02 +01:00
Profitroll
082acc85cf Added custom filters 2022-12-27 18:46:17 +01:00
Profitroll
5e06859b56 Improved typing and linting 2022-12-27 13:36:54 +01:00
Profitroll
47896faf06 Application and sponsorship crosscheck 2022-12-27 13:23:24 +01:00
Profitroll
85112dc653 Fixed some bugs 2022-12-23 12:54:51 +01:00
Profitroll
af862a3454 Added messages to sponsor's locale 2022-12-23 01:49:38 +01:00
Profitroll
1eb98750a7 Changed sponsorship locale 2022-12-23 01:44:21 +01:00
Profitroll
eecb71a91e Updated label_set 2022-12-23 01:44:07 +01:00
Profitroll
426b1550f6 Initialized /cancel command 2022-12-23 01:40:23 +01:00
Profitroll
0302d8c1ae Removed unused 2022-12-23 01:40:07 +01:00
Profitroll
5a6a96d3f9 Delete sponsorships on expiry 2022-12-22 22:14:35 +01:00
Profitroll
12da1b2376 Added LabelTooLongError() and changed names 2022-12-22 22:11:36 +01:00
Profitroll
7db8c9ac5c Fixed label length on set 2022-12-22 22:11:15 +01:00
95e9fdf460 Added sponsorship support 2022-12-22 15:05:27 +01:00
6874268154 Added one more None check 2022-12-21 15:23:36 +01:00
d3945eea0c Started working on sponsorships 2022-12-21 12:25:47 +01:00
Profitroll
b345a5d776 Added voice message logging 2022-12-18 17:54:58 +01:00
Profitroll
f905a5c4df Bot is now aggressive to voice messages 2022-12-18 17:51:21 +01:00
Profitroll
f4a2e655a6 Setting commands is now scheduled 2022-12-17 23:36:39 +01:00
Profitroll
741a01cff6 Fixed literal 2022-12-17 23:26:07 +01:00
Profitroll
6b00f181f6 Avatars caching implemented 2022-12-17 23:25:53 +01:00
Profitroll
1d5ebd02fe Changed max number of results 2022-12-17 23:12:15 +01:00
Profitroll
43ce2d73b6 Fixed application removal 2022-12-17 23:10:56 +01:00
Profitroll
a769ea9ef5 Added language_code context 2022-12-17 00:58:33 +01:00
Profitroll
8ccd2a858a locale() now accepts more object types 2022-12-16 23:25:21 +01:00
de4126b1a3 Logging usage of /applications 2022-12-16 15:04:42 +01:00
11da9de887 Fixed a few unsupported types 2022-12-16 15:02:39 +01:00
bc8cd8a8ce Inline mode optimized for DB/OOP 2022-12-16 13:19:50 +01:00
e61aa17a72 Improved logging and changed message 2022-12-16 12:04:57 +01:00
40483c17c1 Rules message changed 2022-12-16 11:43:43 +01:00
2d75b01bfe Removed unused imports 2022-12-16 11:29:10 +01:00
b0a3830c4f Simple line reorder 2022-12-16 11:27:46 +01:00
32ec34435d Migrated to DB/OOP 2022-12-16 11:27:32 +01:00
57428e530a Optimized for DB/OOP 2022-12-16 11:15:56 +01:00
4c82cd8515 Added one more check on call 2022-12-15 15:12:52 +01:00
652069ffd8 Also handle bad_request_400.PeerIdInvalid 2022-12-15 15:04:35 +01:00
3e2c301400 Also handle UserNotFoundError 2022-12-15 15:02:56 +01:00
2924c808dd Added /nearby command 2022-12-15 15:00:38 +01:00
f471deedd2 Fixed typos 2022-12-15 15:00:27 +01:00
9d0b66371a Removed unused imports 2022-12-15 14:52:33 +01:00
d7a087bcfb Temporarily disabled 2022-12-15 14:32:33 +01:00
b09f30c3fd Optimized for DB/OOP 2022-12-15 14:32:17 +01:00
c91833f81e Reply is parsed as markdown now 2022-12-15 14:31:57 +01:00
49bed307ad Improved isAnAdmin() usage 2022-12-15 14:31:42 +01:00
e603dd24ab Optimized for DB/OOP 2022-12-15 13:52:08 +01:00
909588e940 Changed some texts 2022-12-15 13:50:11 +01:00
f1990345ce Improved docstrings 2022-12-14 14:57:39 +01:00
31376278ba Birthdays checker updated 2022-12-14 14:45:46 +01:00
3009094caa Polisher /warn and /warnings 2022-12-14 14:38:04 +01:00
db36c051d4 Comments for warns 2022-12-14 14:31:15 +01:00
e4fafd9075 Updated /warnings to DB/OOP 2022-12-14 14:30:51 +01:00
2b09aaa7b0 Removed old imports 2022-12-14 14:19:20 +01:00
6b84ef3779 Reapply migrated to DB/OOP 2022-12-14 14:16:14 +01:00
4541c84eb9 Optimized for DB/OOP update 2022-12-14 13:58:06 +01:00
9f3f29fa27 Added tmp column 2022-12-14 13:57:29 +01:00
848caf5342 Cleanup 2022-12-13 14:33:28 +01:00
a54d78ccb6 Messenger is ready 2022-12-13 14:24:31 +01:00
Profitroll
8e08b8c94b Temporarily disabled any_stage() 2022-12-12 14:35:11 +01:00
Profitroll
30fc3d0089 Now using database for export 2022-12-12 10:13:58 +01:00
Profitroll
3b22cb0130 Using HoloUser 2022-12-11 23:32:35 +01:00
Profitroll
0e06c2a7a5 Now using HoloUser messaging 2022-12-11 23:32:20 +01:00
Profitroll
5af5bea805 nickname is now label 2022-12-11 23:31:12 +01:00
Profitroll
b185dff664 Start is now Mongo-ready 2022-12-11 19:52:14 +01:00
Profitroll
199f470192 Reboot does not require kill anymore 2022-12-11 19:52:02 +01:00
Profitroll
ed748f70d3 Scheduler is now using asyncio 2022-12-11 19:51:46 +01:00
Profitroll
03ebeafdd4 Messages command updated 2022-12-11 18:50:50 +01:00
Profitroll
32ebad29ca /label command improved 2022-12-11 01:31:30 +01:00
Profitroll
c0f6bd8b11 /label command 2022-12-10 17:29:06 +01:00
Profitroll
09cd36d5ba Scheduler refactor 2022-12-10 15:52:34 +01:00
Profitroll
4e8fb00475 Changed used columns 2022-12-10 15:52:07 +01:00
Profitroll
d6161515c1 Improved registration logic 2022-12-10 15:51:48 +01:00
Profitroll
938da48cb8 Small structural changes 2022-12-10 12:00:50 +01:00
Profitroll
3ec3d762fc Started a complete refactor 2022-12-10 11:37:15 +01:00
Profitroll
654daed8c2 Sponsorship concept 2022-12-10 10:42:56 +01:00
4d0cf629e2 + 2022-12-07 15:17:34 +01:00
d117146d96 Send replies to messages sent with /message 2022-12-07 14:17:27 +01:00
4363ef9d78 Strict ID match replaced with Username search 2022-12-06 11:10:44 +01:00
27e63111e5 "reapply_restarted" message added 2022-12-06 10:42:45 +01:00
65f6b4e30e Removed # type: ignore and fixed missing imports 2022-12-06 10:26:22 +01:00
Profitroll
712b5d22ab Silenced some useless warnings 2022-12-05 20:52:21 +01:00
Profitroll
2185959363 Added missing imports 2022-12-05 18:53:09 +01:00
Profitroll
3abd1e8ad3 Modularity overhaul 2022-12-05 18:49:51 +01:00
Profitroll
40cf3cff7c Merge branch 'master' of https://git.profitroll.eu/profitroll/HoloCheckerBot 2022-12-04 11:28:02 +01:00
Profitroll
fd858afcfd Fixed questions source for inline 2022-12-04 11:27:59 +01:00
97325b4ff5 Added auto-removal of applications in group 2022-12-01 11:06:54 +01:00
Profitroll
9105a0266c Fixed that weird behavior on forms setting 2022-11-29 18:11:07 +01:00
c8f1ef5741 Improved avatars preview a bit 2022-11-29 10:37:06 +01:00
efcb60ed95 Merge branch 'master' of https://git.profitroll.eu/profitroll/HoloCheckerBot 2022-11-22 15:26:37 +01:00
a54994fe88 Inline mode number of suggestions decreased 2022-11-22 15:26:34 +01:00
Profitroll
45505a82c4 Fixed long line 2022-11-21 00:29:18 +01:00
Profitroll
1e23f6eb8c Fixed useless \n in utils 2022-11-14 19:24:22 +01:00
Profitroll
8601814642 Improved behavior with large text in utils 2022-11-14 18:52:16 +01:00
Profitroll
76d7d7f4c6 /warn and /warnings commands 2022-11-13 13:40:49 +01:00
9a8d915166 Minor improvements 2022-10-28 14:49:52 +02:00
a867c4f4b7 Removed litter 2022-10-27 11:41:49 +02:00
7019a1ffde Improved avatars 2022-10-27 11:40:15 +02:00
cfc8167663 Inline implemented 2022-10-26 14:54:55 +02:00
c5e6db79a0 Debug mode added 2022-10-26 13:30:24 +02:00
9ea575b2cb Birthdays notification made 2022-10-25 14:18:51 +02:00
Profitroll
2f0a955a07 Added config file not found exception 2022-10-23 12:13:33 +02:00
Profitroll
b173544506 Locales added 2022-10-20 12:24:32 +02:00
Profitroll
ce37099e2d Second commit kind of 2022-10-16 23:30:07 +02:00