Commit graph

601 commits

Author SHA1 Message Date
TSRBerry 37651883bc
Fix broken build id regex & Return a set from get_filepaths (#110)
* log_analyser: Match application or title when searching for build IDs

* log_analyser: Return a set from get_filepaths
2024-09-24 20:09:33 +02:00
TSR Berry fcde1f365c
Update flake.lock 2024-09-01 15:54:58 +02:00
TSRBerry 147011eba1
Automatically block analysis of logs containing blocked contents in paths (#108)
* Extract paths from logs and check for blocked content

* Extract paths in command line analyzer

* Split disabled paths message if necessary

* Log the blocked path that caused a warning

* Remove duplicate command alias

* Remove bad characters from extracted filepaths

* Fix is_path_disabled() only checking the full path

* Apply formatting

* Improve wording for the warning embeds

* Apply formatting
2024-09-01 15:53:44 +02:00
ekuland 76fe1dbbd4
Add Note for Rosetta (#109)
* Add get_cpu_notes

Check cpu for Virtual Apple and Note to disable Rosetta

* Update ryujinx_log_analyser.py

fix misspelling

* Apply formatting
2024-08-27 19:34:24 +02:00
TSRBerry 7b5b9fc104
log_analyzer: Fix cheat detection (#101) 2024-05-18 18:24:03 +02:00
TSR Berry 86c8bc87b1
Update dependencies 2024-05-15 17:30:55 +02:00
Piplup abcf1c7c9f
Better Slowmode command (#95)
* Update mod.py

* Handle optional slowmode parameter correctly

---------

Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
2024-05-15 17:21:21 +02:00
TSRBerry 2daca3a4b7
Add Mako workflow (#98) 2024-05-15 17:19:24 +02:00
WilliamWsyHK 95971e5359
Simple fix for time elapsed (#94) 2024-05-15 17:04:32 +02:00
WilliamWsyHK 9e395ffa10
Add log parsing capability to capture only enabled mods (#93)
* Add log parsing capability to capture only enabled mods

* Fix Python Black format complain

* Add fallback so that old logs without mod status can still be recognized

* stop Python Black complain again
2024-05-15 16:59:37 +02:00
Jerome A 41bc653bea
Add hypervisor in Logfile outputs (#92)
* Add hypervisor in logfile outputs

* fix typings

* moved setting

* Check if macos or not

* Replace "Not applicable" with "N/A"

* Add hypervisor setting to embed

---------

Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
2024-05-15 16:58:20 +02:00
TSRBerry ac3829f508
remind: Add message references and don't remove reminder confirmations (#97)
* Don't remove reminder confirmation messages

* Add message references to reminders
2024-04-14 15:34:12 +02:00
TSRBerry b2cda3fe85
vanity_url: Fix crash when editing a guild (#96) 2024-04-14 15:17:18 +02:00
TSR Berry 7c4a57d289
Update flake.lock 2024-03-11 16:48:16 +01:00
TSRBerry 97f534eb17
Automatically update configured vanity URLs (#91) 2024-03-11 16:47:15 +01:00
TSR Berry e4ee55a1fd
Update dependencies 2024-03-09 02:34:46 +01:00
TSR Berry 77fb8f402a
Avoid infinite recursion caused by poetry2nix.cleanPythonSources 2024-03-09 02:22:49 +01:00
TSRBerry 7c4bf15c93
Log purged messages, Fix macro usage in DMs & Fix reading empty files (#88)
* Log purged messages

* Fix CommandInvokeError for macros in DMs

* Fix decoding empty files and simplify read json logic

* Apply black formatting
2024-03-02 09:56:41 +01:00
dependabot[bot] f981d9837d
Bump aiohttp from 3.9.1 to 3.9.3 (#87)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.1 to 3.9.3.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.9.3/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.1...v3.9.3)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-02 09:54:37 +01:00
TSRBerry 03e4fd3541
A small batch of fixes (#81)
* log_analyser: Use a set for notes

* Use sys.exc_info() instead of sys.exception()

sys.exception() only exists since python 3.11

* Create data dir if it doesn't exist
2024-01-06 15:33:01 +01:00
dependabot[bot] caa5cf55ed
Bump actions/setup-python from 4 to 5 (#86)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-31 23:49:50 +01:00
Mary Guillemard c5046a19c3 Add nix flakes configuration
Signed-off-by: Mary Guillemard <mary@mary.zone>
2023-12-31 21:42:14 +00:00
Mary Guillemard a412d74ef8 Revert "Advertise python 3.11 and update lock file"
This reverts commit 847e955ec1.
2023-11-20 20:04:30 +01:00
Mary Guillemard 847e955ec1 Advertise python 3.11 and update lock file 2023-11-20 19:55:58 +01:00
GabCoolGuy df77d6f4db
Update README.md to make contributing easier (#80)
* Update README.md

Made changes to README.md to mention ryuko-ng and also to make contributing easier by modifying "How to run manually".

* Update README.md

oops i missed a spot

* Update README.md

* Remove stuff about requirements.txt

Needs feedback

* how could i forget about marysaka

Add marysaka in Credits

* missed a spot again

* Improvements ?

* slow and steady

* Definitely improvements

* more markdown
2023-11-20 19:49:39 +01:00
TSRBerry 72fd725a94
logfilereader: Fix RAM parser issues (#82)
* Create size helper

* Replace fixed RAM units with size helper

* Rename CommonErrors to CommonError

Enum names should be singular

* Apply black formatting
2023-11-20 19:48:35 +01:00
TSRBerry 9669556a39
Handle various file related issues (#76)
* Create state files if they don't exist yet

* Add notifications helper to message bot managers

* Inform bot managers about errors if possible

* Handle JSONDecodeErrors including empty files
2023-10-09 22:56:13 +02:00
dependabot[bot] 31b9aeb436
Bump humanize from 4.7.0 to 4.8.0 (#72)
Bumps [humanize](https://github.com/python-humanize/humanize) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/python-humanize/humanize/releases)
- [Commits](https://github.com/python-humanize/humanize/compare/4.7.0...4.8.0)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:55:45 +02:00
TSRBerry 96016ae7f0
Fix macro usage in DMs (#75) 2023-10-09 22:53:57 +02:00
TSRBerry 04add0f364
Remove RAM warning and show available RAM under general info as well (#77)
* Remove stub logs from default log levels

* Remove RAM warning

* Show available and total RAM under general info
2023-10-09 22:53:20 +02:00
TSRBerry c33f4f29a2
log_analyser: Fix homebrew detection (#78) 2023-10-09 22:52:29 +02:00
dependabot[bot] 97a26a76ad
Bump aiohttp from 3.8.4 to 3.8.6 (#79)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.4 to 3.8.6.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.4...v3.8.6)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:52:01 +02:00
dependabot[bot] 19fe13e265
Bump discord-py from 2.3.1 to 2.3.2 (#69)
Bumps [discord-py](https://github.com/Rapptz/discord.py) from 2.3.1 to 2.3.2.
- [Commits](https://github.com/Rapptz/discord.py/compare/v2.3.1...v2.3.2)

---
updated-dependencies:
- dependency-name: discord-py
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:47:14 +02:00
dependabot[bot] 00b94e9826
Bump actions/checkout from 3 to 4 (#73)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 22:46:13 +02:00
TSRBerry 3aa1149b10
QoL: Automatically create bot invite URLs (#74)
* Automatically create an invite_url

* Change invite url log message
2023-09-11 21:24:23 +02:00
TSRBerry 351b9655e3
Allow analyze command to be executed by everyone (#71) 2023-09-11 21:22:44 +02:00
TSRBerry 492d43c608
Fix reply command targets (#70) 2023-09-11 21:22:09 +02:00
TSRBerry 69b74069af
Fix modified log detection for multi game logs (#67)
* Fix modified log detection for multi game logs

* Add app_info to analyse() output

* Add main standalone script for easy debugging

* Apply black formatting
2023-07-05 08:35:00 +02:00
dependabot[bot] 5c910ddba6
Bump humanize from 4.6.0 to 4.7.0 (#66)
Bumps [humanize](https://github.com/python-humanize/humanize) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/python-humanize/humanize/releases)
- [Commits](https://github.com/python-humanize/humanize/compare/4.6.0...4.7.0)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 08:29:52 +02:00
dependabot[bot] ad85c365a3
Bump discord-py from 2.3.0 to 2.3.1 (#65)
Bumps [discord-py](https://github.com/Rapptz/discord.py) from 2.3.0 to 2.3.1.
- [Commits](https://github.com/Rapptz/discord.py/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: discord-py
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 08:27:38 +02:00
dependabot[bot] fc05f6cc88
Bump discord-py from 2.2.3 to 2.3.0 (#62)
Bumps [discord-py](https://github.com/Rapptz/discord.py) from 2.2.3 to 2.3.0.
- [Commits](https://github.com/Rapptz/discord.py/compare/v2.2.3...v2.3.0)

---
updated-dependencies:
- dependency-name: discord-py
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 08:02:17 +02:00
TSRBerry 0419eba042
Fix .dockerignore patterns (#63)
* Fix .dockerignore patterns

* Remove config_template.py exclusion
2023-06-26 08:01:52 +02:00
Piplup 3faa6c5bd4
Update mod.py with .slowmode command (#56)
* dirty command

* fixed slowmode
2023-06-26 08:01:36 +02:00
ealekseychik 2711e80529
Fix __get_app_name logic to take last game name on multiple games launch (#60)
Co-authored-by: Egor Alekseychik <e.alekseychik@syberry.com>
2023-06-26 08:00:53 +02:00
TSRBerry 2ca94dd377
macro: Allow users to target multiple members when invoking macros (#64)
* macro: Use Greedy type annotation to optionally match multiple members

* Apply black formatting
2023-06-26 07:47:57 +02:00
Aceofgods ed26c0f552
Update meme.py with .lick meme command (#53)
* Update meme.py with .lick meme command

Never done this before.

* Update meme.py with lick meme v2

I used a web-based version of Black to fix the parsing error but couldn't get it to register the commands while indented?

* Add black formatting

* Apply suggestions from code review

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>

---------

Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
2023-06-21 09:09:42 +02:00
TSRBerry 50c8b11f26
Finally fix list_macros completely (#61) 2023-06-12 09:45:51 +02:00
TSRBerry cbd1f55dc3
Fix list_macros command still not working properly (#57)
* Properly split the message

* Apply black formatting
2023-06-09 16:28:11 +02:00
SamusAranX 7bcf3c28fe
Updated RAM regex to work with both MiB and GB units (#58)
* Updated RAM regex to work with both MiB and GB units

* Set RAM values to something useful in the event of a parsing error

* Ran python3 -m black .
2023-06-09 16:27:23 +02:00
dependabot[bot] 151844fb3e
Bump gidgethub from 5.2.1 to 5.3.0 (#59)
Bumps [gidgethub](https://github.com/brettcannon/gidgethub) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/brettcannon/gidgethub/releases)
- [Changelog](https://github.com/brettcannon/gidgethub/blob/main/docs/changelog.rst)
- [Commits](https://github.com/brettcannon/gidgethub/compare/v5.2.1...v5.3.0)

---
updated-dependencies:
- dependency-name: gidgethub
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-09 16:26:52 +02:00