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
Eriks Karls
a2447959e7
fight must receive battle id as int, added warnings support
2020-01-05 10:53:26 +02:00
Eriks Karls
ef27960ff1
no message
2019-10-30 19:35:40 +02:00
Eriks Karls
3d895bd085
Damage calculation
2019-10-16 15:09:28 +03:00
Eriks Karls
d548d1bbf1
Hit calculation can be static
2019-10-15 20:03:38 +03:00
Eriks Karls
f7f4028f32
Revert "Travel for fighting"
...
This reverts commit 07c88810923b7051e997db746076a9e18656c0f5.
2019-10-14 13:03:36 +03:00
Eriks Karls
07c8881092
Travel for fighting
2019-10-13 23:50:45 +03:00
Ēriks Karls
bbab84bf5b
Update utils.py
2019-08-26 22:42:06 +03:00
Eriks Karls
a52552afb7
Use MyJSONEncoder from classes
2019-08-22 14:33:45 +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
92b7c45a7d
Report promos to erep.lv
2019-07-31 21:36:57 +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