Commit graph

8013 commits

Author SHA1 Message Date
gascarcella
80b82d4ae0 Integrating new Discord RPC Package 2022-09-03 23:51:15 -07:00
gascarcella
b85fc83073 Adding new Discord RPC Package 2022-09-03 23:51:15 -07:00
Max Chernoff
e76f368f90
Fix authentication with EA Origin and OpenSSL v3.
Currently, Lutris cannot log in to EA Origin when OpenSSL v3 is
installed. This is because the EA Origin server does not support RFC
5746, which OpenSSL v3 requires by default. This commit configures
OpenSSL to allow "unsafe legacy renegotiation", exclusively when
connecting to the EA Origin servers.

Fixes #4235.
2022-09-03 19:51:23 -06:00
rayrapetyan
c1ddbe3c3d fix: SSL CERTIFICATE_VERIFY_FAILED issue 2022-09-03 18:04:50 -07:00
Daniel Johnson
afb2c4d9f6 Remove doubled up gtk_safe calls .
The StoreItem does gtk_safe already; doing it twice is not twice as safe really.

Resolves #4473
2022-09-03 11:43:56 -04:00
Daniel Johnson
df4046b2b2 Add prophylatic code for games with no directory
This falls back to the game's executable path when no directory is actually set.
2022-09-03 06:11:42 -04:00
Daniel Johnson
ef2a75cf73 Use the clicked single, not button-pressed, for the buttons in the "Manage Versions" dialog.
This way the button depressed visually properly and all that.
2022-08-28 11:20:43 -04:00
Daniel Johnson
ce0c854882 Move common modeless dialog logic to a base class 2022-08-27 16:33:04 -04:00
Daniel Johnson
686e475f9e Sort the versions in the WINE Manage Versions dialog
The code looks for a version number it can parse
from the end of the version string.

It parses the version into a list of ints, but does
treat - and . and equivalent, which might be a problem in future.

When no version can be extracted,
we'll sort by the whole version string.
2022-08-27 10:05:00 -04:00
Daniel Johnson
42545a011d Make RunnerInstallDialog a proper modeless dialog window, like the configuration dialogs are.
It centers over preferences now, but can stay open after preferences close.

Also, only one of these dialogs can be open for a given runner at a time.
2022-08-26 20:16:34 -04:00
Daniel Johnson
1582c3f776 Fix flake8 lint 2022-08-26 20:11:32 -04:00
Daniel Johnson
06a1312dcc Provide parents for a couple of modal dialogs 2022-08-26 19:32:36 -04:00
Daniel Johnson
320b7998bd Generate an error if the user tries to install Flatpak inside Lutris
I think it should be just like Steam for Linux.
2022-08-26 19:24:48 -04:00
Daniel Johnson
0f43ce3809 Disable the 'uninstall' button in preferences for runners that can't be uninstalled.
Flatpak is part of your account and Lutris can't ever uninstall it.
2022-08-26 19:12:33 -04:00
Mathieu Comandon
98a4005a7b Sort imports 2022-08-25 11:31:34 -07:00
Mathieu Comandon
867cc2d92e
Merge pull request #4439 from crimson-snow/issue4405
prevent overwriting pre-existing game artwork
2022-08-25 11:29:00 -07:00
Mathieu Comandon
d68f4963e9
Merge pull request #4441 from piffall/master
Amazon service: Fix KeyError when no Args in get_exe_and_game_args
2022-08-25 11:27:22 -07:00
Cristòfol Torrens
7f17132d96 Amazon service: Fix KeyError when no Args in get_exe_and_game_args 2022-08-25 19:10:06 +02:00
Mathieu Comandon
519c5a4f16 Avoid collision with config variable 2022-08-24 18:23:36 -07:00
Mathieu Comandon
8cfcf3b4d7 Substitute strings on launch configs 2022-08-24 18:16:04 -07:00
crimson-snow
6b33fed102 add system import 2022-08-22 17:03:30 -04:00
crimson-snow
9512999a9a use system file path validation to ignore potential zero-byte placeholder files 2022-08-21 15:08:14 -04:00
crimson-snow
2a5e93c74b prevent overwriting pre-existing game artwork 2022-08-21 14:23:15 -04:00
Daniel Johnson
3aa2cbe743 Update POTFILES.po for recent changes 2022-08-21 05:19:35 -04:00
Mathieu Comandon
35fe9232b2
Merge pull request #4434 from GloriousEggroll/fix_missing_util_amazon
fix missing lutris.util.amazon error reported:
2022-08-18 15:53:26 -07:00
Thomas Crider
0fd75b8fc7 fix missing lutris.util.amazon error reported:
File "/usr/lib/python3.10/site-packages/lutris/services/amazon.py", line 20, in <module>
    from lutris.util.amazon.sds_proto2 import CompressionAlgorithm, HashAlgorithm, Manifest, ManifestHeader
ModuleNotFoundError: No module named 'lutris.util.amazon'
2022-08-17 22:40:26 -06:00
Mathieu Comandon
fb055249c1 Add items to changelog 2022-08-16 19:15:57 -07:00
Mathieu Comandon
9bb82b5af2 Document variables section 2022-08-16 14:55:18 -07:00
Mathieu Comandon
0b3168e042 Subsitute variables in file URLs 2022-08-16 14:45:44 -07:00
Mathieu Comandon
bfb9dd364f Add get_label method to InstallerFile 2022-08-16 14:24:52 -07:00
Mathieu Comandon
5332d02fe4 Cleanup 2022-08-16 12:55:58 -07:00
Mathieu Comandon
6d70a35c55
Merge pull request #4418 from MrMEEE/patch-1
Added export/import to README
2022-08-16 12:15:02 -07:00
Mathieu Comandon
e18ebf0bad
Merge pull request #4422 from fersospe/add_amazon_service
Add support for Amazon Prime Gaming
2022-08-16 12:13:51 -07:00
Mathieu Comandon
aa2189870b
Merge pull request #4419 from Vistaus/master
Updated Dutch translation
2022-08-16 12:12:04 -07:00
Mathieu Comandon
1437547296
Merge pull request #4423 from NicBOMB/patch-1
Use arg `filters` on `get_games` to find installed
2022-08-16 12:11:36 -07:00
NicBOMB
229ec95134
Use arg filters on get_games to find installed
Previously, all games were retrieved, then tested for installation status. Instead, the `{"installed": 1}` `filters` should be applied to the query when the command line option is provided, otherwise `filters` should remain None.
2022-08-12 10:49:01 -07:00
Fernando Sospedra
f22a826bf8 Fixed potential issue when the login request a captcha 2022-08-12 01:53:34 +02:00
Daniel Johnson
ed2f14e9ca Add prophylactic code for evdev failure to import
Current evdev 1.5 is not compatible with Python 3.11, and we crash on
startup because of it.

This should let sus start, without joypad support.

A log message will be generated.

Resolves #4420
2022-08-11 18:29:15 -04:00
Fernando Sospedra
1f80286dac Improved error handling 2022-08-11 23:31:30 +02:00
Heimen Stoffels
3ca936a97e
Updated Dutch translation 2022-08-11 11:53:59 +02:00
Martin Juhl
0ffb7a088a
Added export/import to README
Added description of --export, --import and --dest
2022-08-11 11:23:44 +02:00
Mathieu Comandon
a896d5f894
Merge pull request #3803 from AlexanderRavenheart/flatpak_runner
[WIP] Add Flathub Service and Flatpak Runner
2022-08-10 18:01:31 -07:00
Mathieu Comandon
aea8442772
Merge branch 'master' into flatpak_runner 2022-08-10 18:01:13 -07:00
David Husička
a78df68725 Add locale option into the game settings
This allows users to choose a locale for their app from a simple drop down menu.
2022-08-10 17:59:15 -07:00
NicBOMB
d32f98f81a Fix "Add 'variables' section to scripts"
The previous version would only find variables when defined in a collection _outside_ of the `script:`.
9cc189429c
2022-08-10 17:58:16 -07:00
Daniel Johnson
a73e21fe9c Replace ErrorDialog with RuntimeError for beat()
The beat function use @watch_lutris_error too; it can express errors
with the game-error signal, and stop the game with game-stop.

This lets us remove three ErrorDialogs, and the same errors will be able
to have their parent set.
2022-08-10 17:45:58 -07:00
Martin Juhl
32eb0c0bf8 Changed the import feature, so that all paths will automatically be changed to the new import path 2022-08-10 17:45:26 -07:00
Stephan Lachnit
610501d215 debian: suggest gamescope
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-08-10 17:40:12 -07:00
Daniel Johnson
e5dbef6a7b No, we can do better with deteecting DRI_PRIME hardware. We can support AMD!
We can use the _get_graphics_adapters() function to test for the presense
of NVIDIA or AMD or Intel hardware.

This way, the check can support AMD hardware too.

The check prefers NVIDIA to AMD to Intel; I think that
should work for omst people.
2022-08-10 17:38:58 -07:00
Daniel Johnson
5224443aaa Consistently use is_nvidia variable
I mean, it's right there.
2022-08-10 17:38:58 -07:00