1
0
mirror of https://github.com/lutris/lutris synced 2024-07-08 19:45:47 +00:00
Commit Graph

10277 Commits

Author SHA1 Message Date
Mathieu Comandon
41c57cf66b Show Lutris logs in System tab 2024-04-13 01:03:46 -07:00
Mathieu Comandon
4552089cc4 Only keep logs of the last 5 runs of Lutris, create one file per run 2024-04-13 00:39:23 -07:00
Daniel Johnson
3d47983783 Rewrite uncategories game SQL with a subquery.
This is so that it can exclude the 'favorite' category, so games added to favorites are not considered categories. Hidden games are still counted as categories, though they'd be hidden anyway.

Also, Lutris game IDs are strings, not ints.
2024-04-12 19:56:17 -04:00
Daniel Johnson
06b0b2fbf7 Ooh, this is a better icon for 'Uncategorized'! A tag! 'Cause you tag things here!
Also, do all sidebar icons with the get_sidebar_icon() method, and provide more fallback icon support.
2024-04-12 04:59:37 -04:00
Daniel Johnson
4ebe406de6 Fixes for the Uncategorized category
This needs to use a reserved name, so it won't collide with user categories, and it's a fixed category, so it should have an icon and be in the top section.
2024-04-12 04:38:20 -04:00
Mathieu Comandon
2f199a272c Remove configure button on smart categories 2024-04-12 00:49:32 -07:00
Mathieu Comandon
721940450d Be less shouty 2024-04-12 00:45:13 -07:00
Mathieu Comandon
2f0775bfb3 Revert test back to wine-ge-8-26 2024-04-12 00:25:43 -07:00
Mathieu Comandon
859967ecbf Formatting 2024-04-12 00:20:52 -07:00
Mathieu Comandon
da0a17d279 Added SmartCategory @hirak99's implementation for "Uncategorized"
Co-authored-by: Dobromir Valentinov  <@dobval>
Co-authored-by: Nomen Aliud  <@hirak99>
2024-04-12 00:17:30 -07:00
Mathieu Comandon
11dadbabf8 Set Remove from Library default to False 2024-04-12 00:05:02 -07:00
Mathieu Comandon
ac0bbefa15 Update Ubuntu distros 2024-04-12 00:05:02 -07:00
Mathieu Comandon
3c10bb3a89 Version bump everything 2024-04-12 00:05:02 -07:00
Mathieu Comandon
f88f0df23d Launch a media sync after the library sync is finished. 2024-04-12 00:05:02 -07:00
Karachalios Stagkas Athanasios Nektarios
85deaa610f Updated Greek Translation 2024-04-12 00:05:02 -07:00
Mathieu Comandon
952bcb3aed Let's see if anyone complains... 2024-04-12 00:05:02 -07:00
Daniel Johnson
310ec685b7 Add a GAME_DIRECTORY environment variable for the use of pre-launch and post-exit scripts. Re-comment a little bit to explain who would use this (and 'game_name'). 2024-04-12 00:05:02 -07:00
Mathieu Comandon
56ebf85177 Remove import 2024-04-12 00:05:02 -07:00
R1kaB3rN
14a9bcdb0d Hide umu update channel behind LUTRIS_EXPERIMENTAL_FEATURES_ENABLED 2024-04-12 00:05:02 -07:00
R1kaB3rN
df5a43886e Change umu description in update channel 2024-04-12 00:05:02 -07:00
Daniel Johnson
5a60cca5a7 Remove is_installed checks so that the "Remove from Library" checkbox actually works for uninstalled games. 2024-04-12 00:05:02 -07:00
Mathieu Comandon
6b622b37f8 Everyone stop panicking, I have killed the shitty property 2024-04-12 00:05:02 -07:00
Mathieu Comandon
e841fd7b57 I have literally had to change this every single time I wanted to use it 2024-04-12 00:05:02 -07:00
Mathieu Comandon
265c93830d What the fuck 2024-04-12 00:05:02 -07:00
Mathieu Comandon
cb2a2c8a4d Make lutris panic, crash and burn on key errors on DB game object because this should not be inconsistent 2024-04-12 00:05:02 -07:00
Daniel Johnson
a404a6bc18 Switch env-var to WEBKIT_DISABLE_DMABUF_RENDERER, and it does not go to 11 actually. 2024-04-12 00:05:02 -07:00
Daniel Johnson
7e1cf7620d Set WEBKIT_DISABLE_COMPOSITING_MODE on startup 2024-04-12 00:05:02 -07:00
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