Commit Graph

64 Commits

Author SHA1 Message Date
Fabian Dill b4b8426def Core: update jellyfish 2023-09-22 21:39:29 +02:00
Fabian Dill 0e7c7bd1bf
Core: update versions (#2186) 2023-09-16 19:23:22 +02:00
Fabian Dill 60289666dc Core: update modules 2023-07-24 02:31:17 +02:00
black-sliver b6e78bd1a3
MultiServer: speed up location commands (#1926)
* MultiServer: speed up location commands

Adds optimized pure python wrapper around locations dict
Adds optimized cython implementation of the wrapper, saving cpu time and 80% memory use

* Speedups: auto-build on import and build during setup

* Speedups: add requirements

* CI: don't break with build_ext

* Speedups: use C++ compiler for pyximport

* Speedups: cleanup and more validation

* Speedups: add tests for LocationStore

* Setup: delete temp in-place build modules

* Speedups: more tests and safer indices

The change has no security implications, but ensures that entries[IndexEntry.start] is always valid.

* Speedups: add cython3 compatibility

* Speedups: remove unused import

* Speedups: reformat

* Speedup: fix empty set in test

* Speedups: use regular dict in Locations.get_for_player

* CI: run unittests with beta cython

now with 2x nicer names
2023-07-04 19:12:43 +02:00
Fabian Dill 6a88d5aa79 Core: update modules 2023-07-02 09:51:01 +02:00
black-sliver a939f50480
Clients: use certifi (#1879)
* Clients: use certifi for wss

On Windows, the local cert store might be outdated and refuse connection to some servers.

* Clients: lazily create ssl_context
2023-06-22 00:01:41 +02:00
Fabian Dill 97ba631b80 Core: update modules 2023-05-20 19:36:55 +02:00
Fabian Dill ef211da27f Core: update modules 2023-04-16 01:43:24 +02:00
Fabian Dill cd4fd18706
Core: update modules (#1612) 2023-03-30 15:30:43 +02:00
Zach Parks ff9f563d4a
Deprecate `data_version` and introduce `checksum` for DataPackages. (#684)
Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
2023-03-20 17:01:08 +01:00
Fabian Dill 4b6d46fd74 Core: update modules 2022-09-03 09:55:47 +02:00
Fabian Dill beac0b1acd Requirements: update some modules 2022-07-10 19:37:50 +02:00
Fabian Dill 513ab62ce7 Fuzzy: replace thefuzz with jellyfish
GPL -> BSD2Clause and should be faster though I haven't tested it myself and just trusted people on the internet.
Jellyfish also allows us access to many more algorithms should they be any better. Trying out Jaro distance now instead of Levenshtein.
2022-05-10 19:09:07 -07:00
Fabian Dill e8579771a5 Requirements: update websockets 2022-04-29 17:52:41 -07:00
Fabian Dill b6eeef1db6
Core: update jinja (#351) 2022-03-27 19:44:25 -04:00
Fabian Dill e3781c68be Requirements: update modules and move bsdiff4 to be a common module 2022-03-15 14:17:03 +01:00
Fabian Dill 4f12660961 Requirements: let's keep whitespace style consistent 2022-01-19 06:15:07 +01:00
Fabian Dill 80a7e4175b MultiServer: update FuzzyWuzzy to TheFuzz 2022-01-19 06:14:13 +01:00
Fabian Dill d5abadc6d0 Requirements: remove no longer used appdirs and move kivy to core 2021-12-20 23:10:04 +01:00
Fabian Dill 7b0b243607 MultiServer: remove promp_toolkit 2021-11-28 04:06:30 +01:00
Fabian Dill d768379a8a CommonClient: move to explicit thread instead of thread executor to allow proper task cancelling. 2021-11-28 03:27:18 +01:00
Fabian Dill ec9ef21cc0 Tests: add create_item test 2021-11-11 00:06:51 +01:00
Fabian Dill f4e71df946 Requirements: update time! 2021-10-20 20:03:56 +02:00
Fabian Dill 411d4434a3 MultiServer: update to websockets 10 and implement new websockets.broadcast 2021-09-09 18:56:52 +02:00
Fabian Dill acbca78e2d update Prompt Toolkit 2021-08-24 09:52:45 +02:00
black-sliver 10c6a70696 Auto-validate Option.schema, Factorio: allow setting pollution values 2021-07-20 18:39:01 +00:00
Fabian Dill 92edc68890 update prompt_toolkit 2021-06-29 03:26:16 +02:00
Fabian Dill c095c28618 Split requirements into world types, automatically discover and resolve them. 2021-06-06 15:30:20 +02:00
Fabian Dill 30dec34b72 update websockets 2021-06-02 04:40:43 +02:00
Fabian Dill 887a3b0922 update flask and jinja 2021-05-24 05:03:45 +02:00
Fabian Dill b43e4fae86 update websockets 2021-05-16 23:10:45 +02:00
Fabian Dill d35adc5868 Update Flask and Jinja
Flask Autoversion is now integrated
Flask config.from_file is now integrated
2021-05-13 00:28:53 +02:00
Fabian Dill 501c55cc26 add per-slot data and embed HK options in it 2021-04-17 21:03:57 +02:00
Fabian Dill 0eca0b2209 add jinja 2 requirement 2021-04-04 11:27:37 +02:00
Fabian Dill dc73fa0f33 Factorio integration 2021-04-01 11:40:58 +02:00
Fabian Dill a8bace554e update prompt_toolkit 2021-02-21 13:57:00 +01:00
Fabian Dill 47837f4dae Update modules 2021-02-07 04:41:51 +01:00
Fabian Dill dc9456f79a fix PyYAML version name to not trigger module updater 2021-01-20 03:18:46 +01:00
Fabian Dill c5c64f846e update PyYAML 2021-01-20 03:13:17 +01:00
Fabian Dill c8616a6fe4 update prompt toolkit 2021-01-19 07:00:17 +01:00
Chris Wilson e08e650110 Create website-redesign branch. Include incomplete redesign assets. Very much in-progress. 2020-10-24 14:46:27 -04:00
Fabian Dill 963abac2d7 make PyCharm shut up about xxtea version 2020-10-20 22:49:40 +02:00
CaitSith2 ad765659dd Add Race rom encryption. 2020-10-20 01:16:20 -07:00
Fabian Dill 70d1d8965b update colorama 2020-10-16 22:05:25 +02:00
Fabian Dill c2f83f6215 add palette shuffler to requirements.txt 2020-09-19 16:40:37 +02:00
Fabian Dill a39459e9fc remove z3pr from requirements.txt again as it doesn't exist on pypi yet.
To fix Github Unittests failing
2020-08-25 13:31:04 +02:00
Fabian Dill 2096d6ae5b Use proper OS-specific path uris in many more places
also move path.join into local_path and output_path to simplify use
2020-08-25 13:22:47 +02:00
Fabian Dill 87ea87a2e9 update modules, move markdown requirement and add tutorial caching 2020-08-14 19:29:59 +02:00
Chris Wilson ecc599d097 Move markdown handling to Python. Enable multi-language support for tutorial. 2020-08-13 22:26:42 -04:00
Chris Wilson 69f5802e7a Improved styling for WebHost 2020-07-18 16:25:07 -04:00