1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 01:54:22 +00:00
Commit graph

296 commits

Author SHA1 Message Date
29e3853867
Run container as a non-privileged user
Uses the `USER` instruction.

See https://stackoverflow.com/questions/68155641/should-i-run-things-inside-a-docker-container-as-non-root-for-safety .
2023-04-05 12:24:10 +02:00
12e6f8ad32
Add tokio as dev-dependency 2023-03-24 13:38:32 +01:00
56c5a81c4f
ofc i forgot Cargo.lock 2023-03-24 13:32:56 +01:00
e42034c3ba
Bump version to 0.11.1 2023-03-24 13:32:09 +01:00
df40545a43
Cover CardSet::GloryInNavori in Discord /card command 2023-03-24 13:31:50 +01:00
5598bbc388
Bump version to 0.11.0 2023-03-24 13:27:48 +01:00
3199e6a738
Add support for Glory in Navori 2023-03-24 13:24:48 +01:00
1c33f250bd
Require a impl Iterator instead of a Vec in create_cardindex_from_dd_latest 2023-03-24 13:24:29 +01:00
e6fc162578
Add proper support to custom set codes 2023-03-24 13:22:33 +01:00
34c396b5de
Tweak debug logging for bundle load and fetch 2023-03-24 13:01:52 +01:00
f9994c516a
Add doctest for champions 2023-03-24 12:46:25 +01:00
43034378fb
Revert "Remove development card data"
This reverts commit ef93f04140.
2023-03-24 12:44:04 +01:00
cfc85068c5
Close doctest codeblock 2023-03-24 12:24:45 +01:00
779910b8c4
Swap arguments of create_cardindex_from_dd_latest 2023-03-24 12:21:04 +01:00
3d4901434c
Remove references to "english" data in docs 2023-03-24 12:17:52 +01:00
7cc5c0d141
Bump version to 0.10.1 2023-03-24 02:05:23 +01:00
ad084d6dc8
Make set codes configurable via DATA_DRAGON_SET_CODES 2023-03-24 02:04:58 +01:00
ead9eedea3
Bump version to 0.10.0 2023-03-24 01:36:10 +01:00
28f690b6f2
Merge pull request #4 from Steffo99/reqeast
Dynamic fetch of data from Riot Games' live servers
2023-03-24 01:32:44 +01:00
59885e6a27
Merge branch 'main' into reqeast 2023-03-24 01:32:25 +01:00
84d153653a
Add test test_legality_eternal_paltri 2023-03-24 01:31:15 +01:00
0573287708
Fix some tests 2023-03-24 01:19:27 +01:00
0a21a4ccf9
Allow clippy::single_match in interaction_create 2023-03-24 01:05:11 +01:00
d417be378a
Fix conditional compilation 2023-03-24 01:01:14 +01:00
0d3c1329c4
Use imgproxy to convert images on the fly 2023-03-24 00:51:18 +01:00
f469776a1d
Allow specifying locale via the DATA_DRAGON_LOCALE envvar 2023-03-23 19:58:59 +01:00
2c83a773e1
Remove fetch feature from VSC 2023-03-23 18:59:49 +01:00
adfd6325c6
Remove strikethrough over "Usage of the Discord bot" 2023-03-23 18:59:49 +01:00
0710b370ae
Update README 2023-03-23 18:59:49 +01:00
8f9927731d
Update formats (#14)
* Add missing docstring section to `Deck::singleton`
* Add `Deck::unlimited_champions`
* Fix typo in `Deck::singleton` docstring
* Rename *Standard* to *Eternal*
* Allow displaying *Unlimited Champions*
* Add more legality tests
2023-03-23 18:59:49 +01:00
649ec0c249
Remove strikethrough over "Usage of the Discord bot" 2023-03-23 18:52:46 +01:00
ce6a585505
Update README 2023-03-23 18:51:38 +01:00
14c2b6e9b0
Update formats (#14)
* Add missing docstring section to `Deck::singleton`
* Add `Deck::unlimited_champions`
* Fix typo in `Deck::singleton` docstring
* Rename *Standard* to *Eternal*
* Allow displaying *Unlimited Champions*
* Add more legality tests
2023-03-22 09:35:36 +01:00
9dcb2d2a71
Remove unused imports 2023-03-21 15:52:07 +01:00
27911378dd
Add some debug logging 2023-03-21 15:51:26 +01:00
384d209b5c
Use the two previous functions in crate::discord::main 2023-03-21 15:39:57 +01:00
4d5fe654e8
Use the two previous functions in crate::telegram::main 2023-03-21 15:39:28 +01:00
cde8a5085a
Add create_cardindex_from_dd_latest_en_us 2023-03-21 15:39:05 +01:00
ee1778284d
Add create_globalindexes_from_dd_latest_en_us 2023-03-21 15:39:00 +01:00
ef93f04140
Remove development card data
It can now be mounted with s3fs-fuse
2023-03-21 15:03:37 +01:00
bc9d840fe0
Fully remove fetch feature 2023-03-21 15:03:10 +01:00
a38d04fb5e
Remove unused use 2023-03-20 11:14:16 +01:00
cf7268ebdb
Merge branch 'main' into reqeast
# Conflicts:
#	Cargo.toml
#	src/data/corebundle/mod.rs
2023-03-20 11:12:45 +01:00
33163ab39f
Fix some more compilation 2023-03-20 00:11:55 +01:00
1d91b2619d
Fix compilation where BUILD = TARGET platform 2023-03-19 22:13:39 +01:00
6532748d6c
Fix config.toml for the docker image 2023-03-19 22:04:36 +01:00
92a2f1bea5
Download toolchain for the local platform as well 2023-03-19 21:23:32 +01:00
184aaba069
Improve Docker multiarch image compilation (#13)
* Remove `native-tls` dependency

* Configure `linux/arm64`, `linux/arm/v7`, and `linux/amd64` builds
2023-03-19 21:15:15 +01:00
27ae299af6
Add Discord link to README 2023-02-07 03:13:51 +01:00
07fa6c8763
Fix documentation link 2023-02-07 03:12:18 +01:00