64 Commits

Author SHA1 Message Date
ade0f9b11a Black formatting
Style config update

Makefile update

Test fix
2021-07-21 14:20:35 +03:00
b8884b4877 Requirement update
Bugfix
2021-07-20 14:05:54 +03:00
Eriks K
6276242260 bugfixes 2021-03-03 13:13:19 +02:00
Eriks K
25f932121c Code cleanup and JSONEncoder update to support dumping Logger instances 2021-02-06 15:32:30 +02:00
Eriks K
14bcb46735 More precisly mimic javascript's JSON.stringify() 2021-02-03 20:13:51 +02:00
Eriks K
5e638806b5 Switch from manual log creation to Python logging 2021-02-03 00:47:52 +02:00
Eriks K
9acc2d2e65 Lets deploy! Preperation for 8th of February 2021-01-27 23:43:29 +02:00
Eriks K
319b4414df Removed unused import 2021-01-21 19:01:03 +02:00
Eriks K
b71cb0c263 Minor tweaks and double-quoted strings converted into single-quoted strings 2021-01-21 19:00:40 +02:00
Eriks K
34d7230faf Response serialization update to include status code. Json encoder and decoder updates 2021-01-20 16:07:19 +02:00
Eriks K
8b9ee5042d Bugfixes and inventory redone 2021-01-05 15:41:51 +02:00
Eriks K
9646d112d2 If exception occures - set concurrency as available 2020-12-17 18:02:14 +02:00
Eriks K
661a019b0a Broken MRO 2020-12-17 14:03:30 +02:00
Eriks K
94de509026 __all__ definitions 2020-12-10 14:36:34 +02:00
Eriks K
c9971f3570 str.format() -> f-string 2020-12-09 13:28:56 +02:00
Eriks K
d679006b34 small fix 2020-12-01 18:56:14 +02:00
Eriks K
5c3b405ca8 Added utils.wait_for_lock decorator to wait for concurrency release 2020-12-01 18:11:00 +02:00
Eriks K
01e5e44350 File closing before return 2020-12-01 15:07:17 +02:00
Eriks K
c671425531 Base dmg calculations 2020-11-30 18:54:35 +02:00
Eriks K
241f1642ce Session dump/load, Citizen.inventory update, memory and network optimization, python3.6 support 2020-10-22 16:26:59 +03:00
Eriks K
c472d688be error logging 2020-09-22 16:29:50 +03:00
Eriks K
b723660f23 Fixups and type checks 2020-09-21 11:26:32 +03:00
Eriks K
d483bcbcb9 JSON.dump sort_keys parameter throwing mysterious errors 2020-07-28 18:29:25 +03:00
Eriks K
a316f277fb Fixed memory leak in Battle and MyCompanies classes 2020-07-28 18:28:03 +03:00
Eriks K
b6b0be7442 Minimize error reporting locals to not duplicate instance.json data 2020-07-16 11:11:35 +03:00
Eriks K
e8739caca1 fix 2020-07-10 12:16:18 +03:00
Eriks K
5a8a0a3920 mavericks 2020-07-09 17:42:15 +03:00
Eriks K
ffbbd25e54 Code cleanup 2020-07-09 14:42:40 +03:00
Eriks K
ba840765be Moving away from passing object ids around and towards passing objects and even using object functions 2020-07-08 17:30:22 +03:00
Eriks K
ed96143c80 Flake8
Battle.div is no longer a defaultdict, but should raise error if trying to access division which isn't assigned
2020-06-25 14:17:05 +03:00
Eriks K
a825917a98 WAM/Employ bugfix
Company sorting bugfix
2020-06-16 16:59:56 +03:00
Eriks K
5712007e3f Typos 2020-05-14 14:30:02 +03:00
Eriks K
4cfe25b0b1 Allways add eRepublik commit id to bug reports and differentiate between callers and own commit ids 2020-05-14 13:54:37 +03:00
Eriks K
c094ef26b4 Flake8 2020-05-14 12:45:57 +03:00
Eriks K
b760a2f66c TypeHinting 2020-05-14 11:12:34 +03:00
Eriks Karls
49726b8cec __all__ list extended, created function for error catching and processing, error processing minor fix 2020-04-29 10:53:38 +03:00
Eriks Karls
904fd4efc8 Moved utils.report_promo to classes.Reporter.report_promo 2020-04-23 14:39:42 +03:00
Eriks Karls
2aa1cbd79e PEP8 2020-04-23 14:28:26 +03:00
Eriks Karls
4b4ed18cdb Award posting bugfix 2020-03-23 14:38:54 +02:00
Eriks Karls
d928ffc8df log message formatting 2020-03-05 13:05:37 +02:00
Eriks Karls
93f2f2887f Added wheel of fortune endpoints, restructured work as manager, limiting log row length to 120 characters 2020-03-03 13:07:39 +02:00
Eriks Karls
77bcfb3df6 Move commit id to __init__ 2020-02-26 18:41:56 +02:00
Eriks Karls
a01b85154f Bump version: 0.19.4.2 → 0.20.0 2020-02-26 18:29:26 +02:00
Eriks Karls
04bb0be837 Modularity improvements 2020-02-26 18:19:56 +02:00
Eriks Karls
fd1880c50f Some notifications are still being displayed the old way 2020-02-19 18:52:40 +02:00
Eriks Karls
256a180bd6 if error occures on main thread - simplify error logging 2020-01-27 01:53:52 +02:00
Eriks Karls
a2cf479135 Some TelegramBot tweaks 2020-01-16 13:49:24 +02:00
Eriks Karls
15e6deebda Battle initialization without valid data should be avoided to not run into strange and hard to trace bugs.
Jsonification updates - if simplejson is available some packages are importing simplejson with try-except and later throwing simplejson errors which should be cought when calling .json() on every request.
Fixed error logging
2020-01-13 21:33:50 +02:00
Eriks Karls
71d204843d Python 3.8, isort, requirement update 2020-01-09 12:03:11 +02:00
Eriks Karls
bedaeeefd1 Battle division update 2020-01-07 11:15:40 +02:00