221 Commits

Author SHA1 Message Date
Eriks Karls
90bec82630 12th anniversary minimal methods 2019-11-21 11:06:29 +02:00
Eriks Karls
66f459c692 Inventory structure update 2019-10-30 19:42:05 +02:00
Eriks Karls
ef27960ff1 no message 2019-10-30 19:35:40 +02:00
Eriks Karls
c48af9a891 Thread stopping 2019-10-30 18:16:18 +02:00
Eriks Karls
e060f67666 More inventory structure updates 2019-10-29 16:06:07 +02:00
Eriks Karls
06d8d1c0b5 Telegram threading queue has been messing with error reporting 2019-10-29 16:05:22 +02:00
Eriks Karls
adda8dcb54 Structure requests by year/month/date folders, to keep requests in cleaner format.
The same medal kind (Maverick div BHs) can have different reward value - group them by kind-reward.
Citizen.post bugfix (with no data and json arguments) TODO: Must check where post is called without data or json
2019-10-28 14:17:45 +02:00
Eriks Karls
c7f084436d Inventory structure update 2019-10-18 18:18:39 +03:00
Eriks Karls
3d895bd085 Damage calculation 2019-10-16 15:09:28 +03:00
Eriks Karls
b1eefcc662 CSRF Attack Detecked loop on POST requests. 2019-10-15 20:03:22 +03:00
Eriks Karls
41798c446c Return successfully transfered item count 2019-10-15 11:28:56 +03:00
Eriks Karls
074da3adbe Telegram reporter queue bug 2019-10-14 19:21:00 +03:00
Eriks Karls
ffa2fc109c Travel for fighting fixed 2019-10-14 13:14:30 +03:00
Eriks Karls
f7f4028f32 Revert "Travel for fighting"
This reverts commit 07c88810923b7051e997db746076a9e18656c0f5.
2019-10-14 13:03:36 +03:00
Eriks Karls
e91705ce90 no message 2019-10-14 13:03:19 +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
25e534f783 Always print should_fight message 2019-10-08 09:32:00 +03:00
Eriks Karls
daa071f0f5 RTD build image url fixed, setup.py typo 2019-10-08 09:31:09 +03:00
Eriks Karls
6b2c073abe Damage booster activisation update and bugfix 2019-10-01 09:59:22 +03:00
Eriks Karls
c298d66086 Don't allow to fight before WeekChange even if force_fight (levelup, 75pp etc) 2019-10-01 09:58: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
71a7f55338 Changes in eRepublik html 2019-09-27 11:50:51 +03:00
Eriks Karls
3f1b0018b2 Misplaced telegram queueing 2019-09-27 11:11:18 +03:00
Eriks Karls
2aaa4aad65 cleanup 2019-09-27 11:03:22 +03:00
Eriks Karls
b44a3a4b62 Init update 2019-09-27 11:03:02 +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
1ee47dfdcf Telegram integration 2019-09-26 15:53:21 +03:00
Eriks Karls
ab34135b73 Telegram integration 2019-09-26 15:44:21 +03:00
Eriks Karls
20bba4b9f9 Telegram integration 2019-09-26 15:42:16 +03:00
Eriks Karls
acbf1590d7 If not enough food for wam - buy food and wam 2019-09-25 09:36:42 +03:00
Eriks Karls
63dd2d4f77 Optimisation and test cleanup 2019-09-05 15:36:01 +03:00
Eriks Karls
896b1b2432 Bugfix, cleanup and optimisation 2019-09-05 15:01:54 +03:00
Eriks Karls
60543e02c8 Merge branch 'master' into tests
* master:
  Update citizen.py
  Update citizen.py
2019-09-03 11:56:00 +03:00
Eriks Karls
4eb96d7f1e Testing should travel and should fight 2019-09-03 11:55:34 +03:00
Ēriks Karls
c8a1d8c8e8
Update citizen.py
If not employee find new job
2019-09-01 19:58:52 +03:00
Ēriks Karls
c85f0417f2
Update citizen.py
Apply for work bugfix
2019-09-01 19:47:17 +03:00
Eriks Karls
597d27117c Donating money now return status true or false 2019-08-27 11:16:36 +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
c8e90ca910 bugfix 2019-08-27 10:13:14 +03:00
Eriks Karls
fff17469e0 More verbose Citizen class serialization 2019-08-26 10:06:18 +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
1285e95cec Inventory usage bugfixes 2019-08-24 10:48:04 +03:00
Eriks Karls
1c6b41e41b Inventory updates and booster usage updates 2019-08-24 10:03:52 +03:00
Eriks Karls
28bfdc7b20 Use country ids from constant in utils 2019-08-22 14:33:07 +03:00
Eriks Karls
de1b734728 Don't check levelup when eating 2019-08-22 14:32:32 +03:00