41 Commits

Author SHA1 Message Date
Eriks Karls
6c9a9e920d Delay telegram notification sending by appending multiple messages to queue and after minute of inactivity clear the queue by sending all messages 2019-10-14 13:44:31 +03:00
Eriks Karls
f7f4028f32 Revert "Travel for fighting"
This reverts commit 07c88810923b7051e997db746076a9e18656c0f5.
2019-10-14 13:03:36 +03:00
Eriks Karls
ca65a1ffe1 iPython indexer infinite loop and crash 2019-10-14 12:54:59 +03:00
Eriks Karls
07c8881092 Travel for fighting 2019-10-13 23:50:45 +03:00
Eriks Karls
2f8120bd0d Telegram formatting 2019-10-01 09:59:37 +03:00
Eriks Karls
fe9a118875 Telegram loop traceback formatting
Fixed double code execution in Citizen.update_citizen_info(None) calling Citizen.update_citizen_info(html) and executing code twice.
2019-09-29 09:40:25 +03:00
Eriks Karls
17c73c79a7 Trying to find how and where Telegram spam happens 2019-09-28 16:03:31 +03:00
Eriks Karls
7533608316 Version updates 2019-09-27 13:51:09 +03:00
Eriks Karls
0ca0f49f92 bugfix 2019-09-27 11:20:00 +03:00
Eriks Karls
3f1b0018b2 Misplaced telegram queueing 2019-09-27 11:11:18 +03:00
Eriks Karls
3a7dd9a6fa Init update 2019-09-27 11:02:26 +03:00
Eriks Karls
630c7cbc76 Was trying to send messages before citizen has been initialized 2019-09-27 10:26:53 +03:00
Eriks Karls
20bba4b9f9 Telegram integration 2019-09-26 15:42:16 +03:00
Eriks Karls
8db4ab1f0f Company sorting for wam: Raw factories, food, weapon, house, air, q7...q1, Final factories, food, weapon, house, air, q7...q1 2019-09-25 09:38:27 +03:00
Eriks Karls
896b1b2432 Bugfix, cleanup and optimisation 2019-09-05 15:01:54 +03:00
Eriks Karls
4eb96d7f1e Testing should travel and should fight 2019-09-03 11:55:34 +03:00
Eriks Karls
95570b7c17 Article voting and endorsing 2019-08-27 11:03:08 +03:00
Eriks Karls
bc4ba671d6 Endpoint method names renamed to better represent urls 2019-08-27 11:02:52 +03:00
Eriks Karls
088219a60a Endpoint method names renamed to better represent urls 2019-08-27 10:51:57 +03:00
Eriks Karls
0d208a8d32 Add timezone to datetime serialization 2019-08-26 10:05:52 +03:00
Eriks Karls
86004eb81b Don't serialize password nor email 2019-08-26 10:05:22 +03:00
Eriks Karls
7e05e35ebf More verbose Object representation in json format 2019-08-26 09:47:04 +03:00
Eriks Karls
411b158487 Citizen.buy_food() now buys 48h worth of food
When doing WAM and fialing because not enough food - buy food
Integrated new RW side chooser
2019-08-26 09:32:12 +03:00
Eriks Karls
324db2c136 Fix new division numbering 2019-08-24 10:27:31 +03:00
Eriks Karls
1c6b41e41b Inventory updates and booster usage updates 2019-08-24 10:03:52 +03:00
Eriks Karls
7ebba458cb Max time timezones 2019-08-12 14:19:52 +03:00
Eriks Karls
4f436292af Organisation account fetcher - UNSTABLE 2019-08-12 12:54:58 +03:00
Eriks Karls
66c53ef985 Typo 2019-08-11 01:44:45 +03:00
Eriks Karls
3fa7d097fe Found awards switch to ASCII friendlier multiplier char - ✕ -> x
Localize max div end time
2019-08-05 11:55:39 +03:00
Eriks Karls
7e56f01a38 Added gameTokensMarket endpoint 2019-08-05 10:13:48 +03:00
Eriks Karls
048ce798dd All battle div div containing dicts where reference to the same object 2019-08-01 17:23:24 +03:00
Eriks Karls
6bbc7a1f64 Typehinting and battle/war stuff - last battle, attackable regions if CP, etc 2019-08-01 15:05:44 +03:00
Eriks Karls
4eccb339bb Deploy bombs 2019-08-01 15:04:16 +03:00
Eriks Karls
9c9bb5ae40 Region attacking post updated 2019-08-01 09:37:08 +03:00
Eriks Karls
7927c162f8 More precise type hint 2019-07-31 21:37:29 +03:00
Eriks Karls
c48d90dec3 First step towards removing manual response parsing in Citizen class 2019-07-30 10:22:29 +03:00
Eriks Karls
156cbbb61c Typehinting changes 2019-07-30 09:32:03 +03:00
Eriks Karls
3aa305ea74 Switch from python-slugify to self hosted (Taken from Django 2.2.1 django.utils.text.slugify) 2019-07-29 13:52:33 +03:00
Eriks Karls
bb8634fe56 After deleting debug directory next request failed if SlowRequests.debug == True 2019-07-29 13:31:07 +03:00
Eriks Karls
25a0d8993e eRepublikAPI now has it's own token property 2019-07-29 13:19:19 +03:00
Eriks Karls
de4b059b7d Package name update: erepublik_script → eRepublik 2019-07-23 16:41:21 +03:00