Archived
1
Commit Graph

164 Commits

Author SHA1 Message Date
5da61b460b Valentine label fix 2018-02-13 23:10:26 +04:00
1370ab2b91 Yet another remote change
Now: source.wtfteam.pro
2018-02-13 22:05:32 +04:00
2bf96eb6a9 Game update: pokedex size 2018-02-13 21:49:23 +04:00
4660d02a32 Added "banned" status for players 2018-02-11 18:58:41 +04:00
7368c58e2d Adding multiple cummands for listing filtered and unfiltered pokememes 2018-02-07 15:59:28 +04:00
14413b3167 /advice command for searching most valuable pokememes 2018-02-07 15:00:04 +04:00
c7a8fcf6de So, /best in new way is back 2018-02-07 14:37:50 +04:00
bacf76fd39 Reverted /best logic, because of fuckup 2018-02-07 14:05:08 +04:00
292440f411 Version 0.7.0. Added links to support chat 2018-02-07 13:46:14 +04:00
5a746b524b /best pokememes are now filtered by defence and purchaseability 2018-02-07 13:39:34 +04:00
56987f001a Fixing error with chats statistics 2018-02-06 13:53:19 +04:00
feb1899992 /find_top_attack for selecting users by top position 2018-02-05 13:00:18 +04:00
6dac398fd3 /top and /top_my functions 2018-02-05 12:37:46 +04:00
526304294c Typo fix 2018-02-04 04:28:16 +04:00
88e640d322 Moving from long polling to webhook-based updates 2018-01-31 00:10:10 +04:00
5b13b6479a Fixed fuckup with broadcast author's name 2018-01-30 20:38:00 +04:00
f3110ab391 Telegram is weird. Trying to fix some strange errors. 2018-01-30 20:21:18 +04:00
7bcaca66aa Fix for non-finding weapons 2018-01-30 18:41:23 +04:00
78c882347d Fixes for non-welcoming and non-creating new users 2018-01-30 08:28:13 +04:00
db919bd038 Possibilities in /best command 2018-01-30 02:26:47 +04:00
add06f90f4 /best command works for levels, where no upper pokememes exists 2018-01-30 00:55:14 +04:00
4a90e0ffd7 Returned duplicate pokememe error 2018-01-30 00:03:02 +04:00
b8226d8aa8 DataCache and changes for game update
Recent game update changed pokememes view in pokedeks, so we need to
reflect it by updating parser.

Introducing DataCache - a silver bullet for eliminating lags linked to
database queries. Less queries, more in RAM, faster work. Needs testing
in production environment.
2018-01-29 23:50:25 +04:00
074fc4a1e3 Final fix for forgotten SQL filter 2018-01-24 12:20:00 +04:00
9e6eb11bfd Fixed forgotten parameter in SQL query 2018-01-24 12:11:10 +04:00
b7379013a8 Explicit error message for profile posting with enabled artifacts 2018-01-23 20:50:21 +04:00
c5d8590b87 Removed trailing 1 from profiles attack 2018-01-23 20:37:48 +04:00
7780fb4f00 Message split for found users (bypassing Telegram limitations) 2018-01-23 20:19:09 +04:00
6a57d8581c Command to find users on level 2018-01-23 20:13:16 +04:00
190cdc6e7b Migration to new git server 2018-01-21 23:28:53 +04:00
880810d90c New Year 2018 preparations 2017-12-28 05:57:51 +04:00
bbb0b8afe1 Less restrictive policies for admins 2017-12-24 04:36:23 +04:00
f6d8d064ed PokememBroInstinkt chat bans fix 2017-12-23 21:08:57 +04:00
24e4904807 /find_user moved to custom SQL query
Now it's much, MUCH faster.
2017-12-23 18:49:09 +04:00
9a10a6884b Broadcaster send markup fix 2017-12-23 17:33:38 +04:00
5afe064b54 Orders are now respect Academy as another chat 0. 2017-12-23 17:09:18 +04:00
b7ca6b3c6a New restrictions logic for all chats. Fixed filter for /send_league 2017-12-23 17:03:26 +04:00
2bcb89f74a Reminders message update with less waiting
It will update in one step, not in two
2017-12-23 01:56:18 +04:00
706dc3e944 Reminders for league. Now just reminders, without attack button 2017-12-23 01:40:36 +04:00
a2e70332de Fix various issues on locations and leagues view 2017-12-22 22:20:52 +04:00
413bf22f16 Visual fixes in broadcast messages, some fixes in squader
He protec, but he also attac!
2017-12-20 21:45:32 +04:00
49fd750df9 Float fix for pokememes wealth 2017-12-06 14:43:05 +04:00
2e42ccf011 Special message for those which IQ < 90 2017-12-06 14:03:04 +04:00
fa71616a14 Pokememe deletion command 2017-12-04 23:14:41 +04:00
8af37b6c34 Typo fix 2017-12-04 21:15:39 +04:00
fa5625e2c8 Welcome message for common chat fix 2017-12-04 21:06:15 +04:00
1fecbd96ff Five pokeballs offer 2017-12-03 14:37:54 +04:00
dfda32396a Pinner fix for lost spaces 2017-12-03 00:40:30 +04:00
4d941454b5 /academy and /bastion: some error messages 2017-12-02 20:02:27 +04:00
050c0f8d0b /academy and /bastion commands 2017-12-02 19:50:56 +04:00
010a2395bf Fix for low-level: pokememes with same name can be added to hand 2017-12-02 18:25:24 +04:00
68c5852ee5 Some personalization in easter eggs. 2017-12-02 13:54:13 +04:00
8a11a356a3 Some easter eggs. Ability to find user by name or nickname. 2017-12-02 13:45:24 +04:00
703ea27cdb Academic access level, can see other profiles 2017-12-01 10:55:18 +04:00
da8fe3f3e8 /best for low-levels shows all pokememes of next grade 2017-11-29 19:59:51 +04:00
099898d991 Dirty hack for academy 2017-11-29 19:28:40 +04:00
c65dad7727 Wiper for Bastion 2017-11-29 19:11:52 +04:00
0aa26c1cfa Latest bugfixes and updates 2017-11-29 18:54:13 +04:00
4f4ff8ae7b Pinner fix for /pin spaces 2017-11-29 17:34:07 +04:00
6987041d77 Ban returned 2017-11-29 17:06:14 +04:00
338268e32f Weird typo fix 2017-11-29 16:36:06 +04:00
2421e2d6d2 /users pages navigation 2017-11-29 14:38:58 +04:00
4d7f545c92 Ban politic lifted for a while 2017-11-29 12:19:30 +04:00
184055e2f8 Kick mechanism change 2017-11-29 12:12:34 +04:00
7ecc73cbc3 Ban and kick for Bastion separated, and added notifications 2017-11-29 11:50:14 +04:00
b706c2d895 Academy link in profile success message for newbies 2017-11-29 10:36:36 +04:00
f52920334d Bastion link on proper profile update 2017-11-29 10:04:54 +04:00
0bc1b76352 New welcome message for default group 2017-11-29 09:57:11 +04:00
9d21ebd44b Pass game admins to our chats. Easter egg chance generation. 2017-11-28 20:37:14 +04:00
200a7d14ea Latest update to pokedexer for new pokememes 2017-11-27 11:11:48 +04:00
b57cacb4d4 Latest game update reflections 2017-11-26 19:38:25 +04:00
7803242588 Bastion chat is covered by orders now 2017-11-26 17:44:41 +04:00
e9a1642521 Bastion protection system 2017-11-26 17:28:26 +04:00
ca147a99a3 Three special chats in config 2017-11-26 16:54:06 +04:00
a0bfc6b32f Another dumb typo fix
Starting in production day in a nutshell, yeah :D
2017-11-26 16:36:35 +04:00
8d186b1dba Special user in squad information 2017-11-26 16:17:21 +04:00
63051eb9b9 Special case for adding special user to squad 2017-11-26 16:12:49 +04:00
60365e1637 Special profile signature in /users list 2017-11-26 16:03:31 +04:00
60bf806b50 /chats command formatting fix 2017-11-26 15:54:05 +04:00
62de77d552 "На слубже", my ass! Typo fix 2017-11-26 15:49:11 +04:00
0025493636 Bot welcome message fix for self-welcomes 2017-11-26 15:45:55 +04:00
53a99b0ff3 Some work on ordering. Special user behaviour
See #10
2017-11-26 15:28:55 +04:00
8368a3c60b Pins to selected chats
Closes #6
2017-11-26 08:31:56 +04:00
a6811f61fc Inline commands support (needed for pins handling) 2017-11-26 07:55:13 +04:00
fed4a52075 Bot administration functions for squads chats
Closes #11
Closes #15
2017-11-26 06:48:13 +04:00
130aabda81 Fixed error with underscores in usernames 2017-11-25 03:44:58 +04:00
ac0292ab6f Broadcast message to all Instinkt players
Closes #7
2017-11-25 03:00:34 +04:00
b038d5b10d Pin to all squads at :55 of every even hour
Closes #9
2017-11-24 13:24:36 +04:00
a32ed89be8 User addition to squads
Closes #8
2017-11-24 00:16:22 +04:00
ef9ba0310c Using flagger for config path getting
So, now we can deploy via go get and handle config in separate folder.
2017-11-22 16:32:10 +04:00
dfe0d08ecc Massive refactoring for future development 2017-11-21 06:06:32 +04:00
e4102e9a90 Work on squads, some refactoring
Closes #14
See #8
2017-11-19 22:16:11 +04:00
95a9a2146a Pins to supergroups, managed by admins 2017-11-14 03:44:21 +04:00
5c08899d25 Work on squads, alerts on new user with empty or spy profile
Closes #1
Closes #2
2017-11-13 22:51:50 +04:00
c998698b7a Welcome requests in groups, based on profiles and leagues 2017-11-03 21:33:02 +04:00
e97b3caf07 Dependency management via dep package. 2017-10-26 18:17:58 +04:00
c676fb780d Broadcast messages are now stored in database 2017-10-22 15:29:48 +04:00
7975ea54c1 /send_all feature for administrators 2017-10-22 14:04:14 +04:00
88c9853c77 Latest game update reflections
Added ``pokememes_wealth`` in profiles, because we now can retrieve it
from profiles.
Removed ``pokememe_lvl`` from profile pokememes due to latest game
update, where level calculating become almost impossible (or hard enough
to throw it away).
Added ``pokememe_attack`` for profile pokememes, which will be used
instead of level.
2017-10-22 13:13:20 +04:00
c99648b72a Chats saving to database 2017-10-21 14:14:46 +04:00