GeoffreyCoulaud
beba0ff1e2
🎨 Improved internal manager storage
...
- Stored pipeline managers in a set
- Renamed store method to enable_manager_in_pipeline
- Simplified a bit the ugly code™ in details_window
2023-06-16 15:38:05 +02:00
GeoffreyCoulaud
e694341a31
🐛 Fix game import not refreshing remove covers
2023-06-16 15:21:39 +02:00
kramo
d060acb90a
Escape game titles in toasts
2023-06-16 13:16:48 +02:00
kramo
90667b0f31
Fix details_window logic
2023-06-15 17:53:48 +02:00
kramo
39bc64c136
Use signals for updating and saving games
2023-06-15 17:37:54 +02:00
kramo
e6afed6678
Cleanups
2023-06-15 15:22:08 +02:00
GeoffreyCoulaud
3bc0df3881
🎨 Change image composition logic
2023-06-14 17:23:54 +02:00
GeoffreyCoulaud
695cc88d76
🎨 Made OnlineCoverManager more general
...
- Does compositing of image with a blurred background
- Stretches the original image if it's not too much
- Handles images that are too wide and images that are too tall
- Removed ItchCoverManager
2023-06-14 00:05:38 +02:00
GeoffreyCoulaud
6dd8e3965f
🐛 Ported sqlite fix from main
2023-06-13 10:32:07 +02:00
GeoffreyCoulaud
dbb96a166b
✨ Added debug info to the beginning of log files
2023-06-13 09:48:18 +02:00
GeoffreyCoulaud
054089431f
🎨 Made log file rotation more robust
2023-06-13 09:05:29 +02:00
GeoffreyCoulaud
59c2d68642
Removed unnecessary prints
2023-06-13 00:25:24 +02:00
GeoffreyCoulaud
68273d9217
🎨 Improved logging
...
- One unlimited log file per session
- Up to 3 session logs kept at any time
- Log compressed via lzma
2023-06-12 23:11:09 +02:00
GeoffreyCoulaud
2798097623
🎨 Improved logging code
...
- Silenced unwanted library messages
- Logging to file with a max size of 8MB
When the file size is passed, a backup of the file is created,
and the file gets truncated.
There can only be one current file and one backup file.
2023-06-12 03:27:43 +02:00
GeoffreyCoulaud
6a099b2bdd
✨ New logging system
2023-06-11 21:11:53 +02:00
kramo
d340e007e3
Remove replaced_by_env_path decorator
2023-06-10 20:54:49 +02:00
kramo
de3ef53148
Make pylint happy
2023-06-10 19:34:00 +02:00
kramo
5a7ada1c0e
Trim .pylintrc
2023-06-10 19:29:28 +02:00
kramo
0db636b375
Port bottles fix from main
2023-06-10 19:13:25 +02:00
kramo
49011c395a
Merge branch 'main' into gali-importer-structure
2023-06-10 19:04:59 +02:00
kramo
893b290a1e
v1.5.5
v1.5.5
2023-06-10 18:48:39 +02:00
kramo
49769b7083
Fix import hanging if custom Bottles location
2023-06-10 18:45:56 +02:00
kramo
5fadaf8537
Add _ to Python builtins
2023-06-10 18:24:59 +02:00
GeoffreyCoulaud
dcd4357e57
🎨 No longer using SGDBSave
...
- Details window uses a Pipeline with SGDBTask
- Store saves managers in a type: instance dict
- Removed SGDBSave
2023-06-10 16:22:09 +02:00
GeoffreyCoulaud
3a0911e742
🐛 Fixed UI not updating on some game actions
2023-06-10 15:31:54 +02:00
GeoffreyCoulaud
8eb2a270f6
🎨 Improved manager error handling structure
2023-06-10 14:51:52 +02:00
GeoffreyCoulaud
e7fd01f509
🎨 Made manager attributes more flexible
...
Changed run_after, retryable_on and continue_on to be type Container.
We don't need them to be sets.
The performance gain of sets over small tuples is nonexistant
for in checks and the syntax is more verbose.
2023-06-10 12:03:16 +02:00
GeoffreyCoulaud
c9a96f5eec
🎨 Fixed some linter warnings
...
Applied suggested pylint fixes and suppressed unhelpful pylint messages
2023-06-10 03:30:09 +02:00
GeoffreyCoulaud
eeb0f3e501
👷 Added .pylintrc
2023-06-10 03:06:53 +02:00
GeoffreyCoulaud
842f9fe522
🎨 Various code style / behaviour fixes
...
- Merged platform sources when possible
- Added URLExecutableSource class
- Moved replaced_by_schema_key to utils/decorators
- Better retryable exception handling in some managers
- Split SteamHelper into SteamFileHelper and SteamAPIHelper
- Delegated SteamRateLimiter creation to SteamAPIManager init
- Using additional_data for appid in SteamAPIManager
- Added Windows support for Legendary
- Stylistic changed suggested by pylint
2023-06-10 02:59:41 +02:00
GeoffreyCoulaud
070d875ff8
🎨 Improved Legendary source
...
- Fixed wrong library iteration
- Fixed executable format
- Added toggle in the preferences
- Added legendary to on_import_action
2023-06-09 17:06:33 +02:00
GeoffreyCoulaud
51922ad4c6
🚧 Base Legendary source
2023-06-08 10:50:09 +02:00
GeoffreyCoulaud
b895c8ebe2
🎨 Made itch cover manager sync
2023-06-07 19:31:15 +02:00
GeoffreyCoulaud
9ebd7cf7ee
✨ Added Itch source
...
- Added call stack to unretryable errors in managers
- Added existing itch cover downloading code
- Fixed importer not closing if no source enabled
TODO
- Tidying the itch cover downloading code
- If possible, make save_cover and resize_cover work in AsyncManager-s
2023-06-07 15:33:00 +02:00
GeoffreyCoulaud
5dc6ec899a
🎨 Various changes
...
- Changed source additional data to dict
- Moved local cover saving into a manager
- Added stub for itch cover manager
2023-06-07 15:00:42 +02:00
GeoffreyCoulaud
98f02da36c
🎨 SourceIterator can yield addtitional data
...
SourceIterator-s can yield a game and a tuple of additional data.
This data will be passed to the Store, Pipeline and Managers.
2023-06-07 14:01:06 +02:00
GeoffreyCoulaud
7eef050a64
🚧 WIP Itch source (only game discovery)
2023-06-07 12:12:12 +02:00
GeoffreyCoulaud
b50a0a1a04
📝 Updated SourceIterator type hints
2023-06-05 13:29:54 +02:00
GeoffreyCoulaud
725bab5c93
🐛 Fixed new location override syntax
2023-06-05 13:21:19 +02:00
GeoffreyCoulaud
1e3e6484e4
🎨 Simplified source location user override
2023-06-05 13:11:05 +02:00
GeoffreyCoulaud
1dcfe38253
🎨 Simplified SourceIterator-s
...
- Using generator functions
- Common generator init and next in base class
- Explicited that error handling should happen in generator
2023-06-05 12:40:41 +02:00
GeoffreyCoulaud
e91aeddd3b
✨ Added Bottles source
2023-06-05 01:57:38 +02:00
GeoffreyCoulaud
43d4a50bf7
Added logging info to game launch
2023-06-05 01:57:25 +02:00
GeoffreyCoulaud
cf9d4059b3
📝 Consistent typing in exsiting sources
2023-06-05 00:34:47 +02:00
GeoffreyCoulaud
67a5a364f7
🐛 Fixed pick history start error when empty
2023-06-05 00:19:22 +02:00
GeoffreyCoulaud
ff0ba00733
🎨 Added delay before manager retry
2023-06-05 00:17:41 +02:00
GeoffreyCoulaud
1e4004329c
✨ New Heroic source
...
- Fixed wrong `installed` key, shoud be `is_installed`
- Log warnings on invalid games found in library
2023-06-04 22:51:54 +02:00
GeoffreyCoulaud
7cf4d8199c
⚡ ️ Improved rate limiting
...
- Ensures that the target rate isn't overshot
- Aware of the requests sliding window
- Allows for a defined burst size
- Remembers the request timestamps between app restarts
2023-06-04 17:03:59 +02:00
GeoffreyCoulaud
ebd22e27da
Various fixes
...
- Improved pipeline performance
- Improver importer progress
- Steam API slow down to not get 429-ed
(but still allow bursts on smaller steam libraries)
2023-06-04 02:45:52 +02:00
GeoffreyCoulaud
7d8a7a894f
🐛 fixed source imports
2023-06-03 21:41:04 +02:00