Commit graph

10044 commits

Author SHA1 Message Date
Mathieu Comandon 747bda85cc Improve prefix cleaner 2024-04-12 00:05:02 -07:00
Mathieu Comandon bd63ea1e20 Return target directory 2024-04-12 00:05:02 -07:00
Mathieu Comandon b4f5d43046 Don't raise an error when initial path doesn't exist in game.move 2024-04-12 00:05:02 -07:00
Daniel Johnson f0bd8d420f Change the version warning ignore link into a less obtrusive close-button, with a style to make it fit as well as possible.
It still makes the notification bar a bit taller, but it's not too bad.

The warning dialog remains.
2024-04-12 00:05:02 -07:00
Daniel Johnson c6960b9aca Add the multi-select categories and old-Lutris notification to the change log. 2024-04-12 00:05:02 -07:00
Daniel Johnson 17622c1cc4 Add a comment explaining the policy here. 2024-04-12 00:05:02 -07:00
Daniel Johnson 3cb64408e2 Add a question dialog if the user tries to ignore the version thing. 2024-04-12 00:05:02 -07:00
Daniel Johnson 0ab06a4c2b Oops - restore the real Lutris version. 2024-04-12 00:05:02 -07:00
Daniel Johnson c9fe92bb52 When we aren't updating the runtime, we'll check the version against the saved versions.json instead (if there is none, we won't check- but that would be very strange) 2024-04-12 00:05:02 -07:00
Daniel Johnson 1248b23fd7 Beef up the version notification with a link to the Lutris.net site. 2024-04-12 00:05:02 -07:00
Daniel Johnson 5bd75147ba Record the 'Ignore' selection as a version - so you can only ignore an out of date client until the next version. 2024-04-12 00:05:02 -07:00
Daniel Johnson 232225f822 Add a notification banner that appears if you are using an older client than what Lutris.net says you should have.
This triggers when we check component updates, so every six hours. That's not really a very good policy, but it's a start.
2024-04-12 00:05:02 -07:00
Daniel Johnson 308c9ba404 Faster deduplication; use natural sorting for category names in the dialog, and also in the sidebar. Also, natural sorting for games in the category-games dialog.
Some more commenting too.
2024-04-12 00:05:02 -07:00
Daniel Johnson 2742514f92 Comments, remove visibility of '.hidden' category in the dialog. 2024-04-12 00:05:02 -07:00
Daniel Johnson c859f3b7eb Restore the ability to have single-game category windows (so you can compare side by side).
If you multi-select, we will have a single common multi-category dialog. This can lead to overlap, where a game categories are in two windows. This doesn't seem to cause any real problems.

Also, move the game count into a subtitle so it fits better.
2024-04-12 00:05:02 -07:00
Daniel Johnson c9a2868731 Add a warning if you are editing categories for multiple games.
This is in case you do not realize the dialog is for >1 game; it will warn even if only one is being changed. If you are viewing 1 game and change it, no warning since that is the expected case.
2024-04-12 00:05:02 -07:00
Daniel Johnson 8b5220195a Provide a callback to initialize the edit-games-dialog before it is shown, to avoid the checkbox checking animation.
Still can't be an __init__ argument with the games- we need to add games to an already open window.
2024-04-12 00:05:02 -07:00
Daniel Johnson 4ba5664ff9 Tidy up the edit game category implementation and fix some obsolete GTK things in it. 2024-04-12 00:05:02 -07:00
Daniel Johnson c462c1a8d5 Revise the edit-game-categories dialog so games are incrementally added
This way if you try to use the Categories command while the window is open, it can just adopt additional games.

Though without a game list, it's hard to know what the dialog will actually do.
2024-04-12 00:05:02 -07:00
Daniel Johnson daf3f30ff2 Support multiple games in the edit-game-categories dialog.
When a category is applied to some but not all selected games, an indeterminate checkbox shows. Click it and it becomes determinate (and checked).

On save, any remaining indeterminate categories are skipped, but we work out what categories are to be added or removed for each game in turn.

Resolves #5372
2024-04-12 00:05:02 -07:00
Daniel Johnson 6429a8e8d5 Change the terminology from "Log in" to "Login".
Not the way I would spell it, but I can't spell anyway.
2024-04-12 00:05:02 -07:00
Daniel Johnson 3968405d35 Change from buttons to hyperlinks
This saves space and keeps the splash graphics better lined up.
2024-04-12 00:05:02 -07:00
Daniel Johnson 40496f54ad Add a "Turn on Library Sync" button to the notification bar.
We do not sync by default, but once you log in this will prompt you to do so. This will turn on the setting and start a full library sync
2024-04-12 00:05:02 -07:00
Daniel Johnson 6a7e34d164 Go back to using a link to Lutris.net, but use CSS to remove the link color (which rendered it unreadable) 2024-04-12 00:05:02 -07:00
Daniel Johnson e78bb9308f Show the log-in notification only with the splash, not if you have games or if you have games, but they are filtered away. 2024-04-12 00:05:02 -07:00
Daniel Johnson d05b46d7b9 Move away from using LutrisService
It looks like we're moving away from this in favor of some modules; I'll do what the AccountsBox is doing.
2024-04-12 00:05:02 -07:00
Daniel Johnson dca85d2957 Hide and show the notification bar when you log into or out of Lutris. 2024-04-12 00:05:02 -07:00
Daniel Johnson a117fdcf38 Hide and show the notification bar on service login/logout, and hook up the Login button 2024-04-12 00:05:01 -07:00
Daniel Johnson d7a90e39de Create a notification bar to log in.
First cut, always visible, buttons don't work. But it's the spirit of the thing!
2024-04-12 00:05:01 -07:00
Daniel Johnson ec790af55e More subtle logic for the Wine update.
We'll load the latest Wine if you have the 'runners/wine' directory, but not if you do not.

The 'Update' button provided in preferences now pre-creates this directory if it is missing, enabling the update to proceed.
2024-04-12 00:05:01 -07:00
Daniel Johnson 3f0960d83c Runner updates should be less choosy - you can have a runner without yet having its directory (it can be coming from flatpak or be part of your distro)
So, we should be able to install versions of the runner without a pre-existing runner dir, or with one that is empty.
2024-04-12 00:05:01 -07:00
R1kaB3rN df7ba9a9ec Target Proton-GE (Latest)
Co-authored-by: Mathieu Comandon <strycore@gmail.com>
2024-04-12 00:05:01 -07:00
R1kaB3rN 52cd31b997 Kill wineserver via UMU Proton
- Kills the wineserver process associated with the running prefix via the `wineserver` command in the UMU-Proton directory instead of wineboot which had lead to unreliable results
2024-04-12 00:05:01 -07:00
ferrreo a03a9d9ff0 Fix "table games has no column named hidden" error
When the hidden column was removed from the games table in schema.py the setting of the column value was never removed from installer.py

This meant on a fresh Lutris install user's cannot install games and are met with "table games has no column named hidden" errors.

This cleans up that incorrect setting of the column value.
2024-04-12 00:05:01 -07:00
Daniel Johnson 980518c029 Add bragging to the changelog, but also some more 'critial bug' items. 2024-04-12 00:05:01 -07:00
Mathieu Comandon f079a0e43c Initial changelog for 0.5.17 2024-04-12 00:05:01 -07:00
Mathieu Comandon bc36616680 Get rid of legacy.get_game_launcher, all installers on the website have been fixed 2024-04-12 00:05:01 -07:00
Dobromir Valentinov ff7abd9ef9
formatting 2024-04-03 17:55:33 +03:00
Dobromir Valentinov bedab12460
formatting 2024-04-03 17:54:31 +03:00
Dobromir Valentinov 6e88d83402
formatting 2024-04-03 17:54:01 +03:00
Dobromir Valentinov 120d78827b
Formatting
removed more unneeded autoformatting from my ruff
2024-04-03 17:53:00 +03:00
dobriev 0ade7f08bc Reverted my ruff's unneeded formatting 2024-04-03 17:44:09 +03:00
dobriev dd1ff87dbc Removed "Disable Uncategorized" option 2024-04-03 17:38:40 +03:00
dobriev 9160683fa6 Merge branch 'disable_uncategorized_option' 2024-04-03 17:32:35 +03:00
Mathieu Comandon cb17de4c8e Download media on manually added games 2024-04-03 04:20:16 -07:00
Mathieu Comandon 04c6d0da10 Don't raise error when Proton path not found, return nothing 2024-04-02 19:23:02 -07:00
Mathieu Comandon 8d5543d45c Fortnite mention can be removed since we no longer show the installers 2024-04-02 19:07:00 -07:00
Mathieu Comandon 5a3e2cd711 Updates for installer moderation 2024-04-02 19:05:35 -07:00
Mathieu Comandon bfe9b67747 Docstrings + handle category creation on updates 2024-04-02 18:32:18 -07:00
dobriev 655813794c Fixed type-related errors detected by mypy, imported "typing"
modified:   lutris/database/categories.py
2024-04-02 20:00:55 +03:00