Commit Graph

176 Commits

Author SHA1 Message Date
Smart123s
5f564c7199 Create app folders if they don't exist yet 2023-03-01 16:10:07 +01:00
Smart123s
80be4c8088 Fix versioning if package not installed via pip 2023-03-01 16:01:33 +01:00
Smart123s
4a850d066e Only add margin if flex is used 2023-03-01 14:52:23 +01:00
Smart123s
354ff0dbd8 Add legal details to web 2023-03-01 14:50:51 +01:00
Smart123s
05043ef647 Web better design 2023-03-01 14:36:11 +01:00
Smart123s
fcec73b5a0 Better line breaks on dates 2023-03-01 13:21:24 +01:00
Smart123s
51aa3109ca Add generation date to web 2023-03-01 13:16:47 +01:00
Smart123s
a9558ec44f Add simple website generator 2023-03-01 13:12:41 +01:00
Smart123s
ae186be8d1 Fix imports in __main__.py 2023-02-28 13:36:01 +01:00
Smart123s
f2926f55ec Extract version from project.toml 2023-02-28 13:28:35 +01:00
Smart123s
b915cc6d38 Add empty lines to file ends 2023-02-28 10:01:55 +01:00
Smart123s
c1a0b8b863 Minor changes in readme 2023-02-28 10:00:28 +01:00
Smart123s
e8c37d4f09 Change identation in radme 2023-02-28 08:01:24 +01:00
Smart123s
259447f6bb Make package installable via pip 2023-02-27 14:35:55 +01:00
Smart123s
eb84f9a5d7 Move files 2023-02-27 14:23:50 +01:00
Smart123s
ba5b599280 Add user-agent 2023-02-27 13:54:47 +01:00
Smart123s
449237c0e7 Document commands in readme 2023-02-27 13:44:12 +01:00
Smart123s
08ac9005fd Fix logging for refresh sale cache 2023-02-27 13:35:00 +01:00
Smart123s
7a991e536d Claim command now refreshes cache 2023-02-27 12:17:17 +01:00
Smart123s
0c1d5e261e Add documentation 2023-02-27 11:58:42 +01:00
Smart123s
98a6bf8b04 Add interactive login 2023-02-26 17:03:12 +01:00
Smart123s
40f9dc5b8d Count number of removed games 2023-02-26 16:24:20 +01:00
Smart123s
df954a1510 Add get download url 2023-02-24 15:52:02 +01:00
Smart123s
e8cbdd9b06 Add notice if no games have been claimed 2023-02-24 09:06:31 +01:00
Smart123s
65719846ec Don't claim unclaimable games 2023-02-24 08:58:24 +01:00
Smart123s
4671945cf8 Check purchase status online is claiming fails 2023-02-24 08:54:54 +01:00
Smart123s
039309568d Save user session after every claim
Makes handling interrupted runs better
2023-02-24 08:54:11 +01:00
Smart123s
39f13861b7 cli: add claim all command 2023-02-24 08:30:22 +01:00
Smart123s
c54d608f72 Fix local game owned check 2023-02-24 08:30:13 +01:00
Smart123s
da08354ecd cli: add refresh library command 2023-02-24 06:30:05 +01:00
Smart123s
3139d64071 Properly serialize ItchGame objects 2023-02-24 06:29:12 +01:00
Smart123s
3902f693ee cli: add command to refresh local sale cache 2023-02-23 09:22:50 +01:00
Smart123s
fdb50c0a69 FIx load all games from disk 2023-02-23 08:52:51 +01:00
Smart123s
c5e4bd5ad8 Move login to Fire CLI 2023-02-23 08:27:12 +01:00
Smart123s
92c95b1f9f Save owned games to user's session file
Could be moved to a separate file in the future, as this data could be
considered as cache only.
2023-02-22 15:06:13 +01:00
Smart123s
aff41ae316 Fix reload_owned_games() 2023-02-22 15:04:06 +01:00
Smart123s
1a205ee23f Remove expired sales from disk 2023-02-22 13:22:18 +01:00
Smart123s
423b2f14a7 Refactor: Rename functions in DiskManager 2023-02-22 13:18:16 +01:00
Smart123s
e0a9607d85 Rename SaleManager to DiskManager 2023-02-22 13:17:23 +01:00
Smart123s
badc8b19c8 Make games loadable from disk 2023-02-22 13:13:54 +01:00
Smart123s
0718943c40 Statically type get_sale_page() 2023-02-21 15:40:54 +01:00
Smart123s
c7c9b5d606 Move sale page parsing to a separate class 2023-02-21 10:25:41 +01:00
Smart123s
b1670814c5 Sort sales page by newest 2023-02-21 10:11:32 +01:00
Smart123s
891ce4ec12 Don't create duplicate instances of ItchGame 2023-02-21 10:06:30 +01:00
Smart123s
a233f53d7f Change unknown price from -1 to None 2023-02-20 13:01:35 +01:00
Smart123s
f05973a531 Load user's list of owned games 2023-02-20 13:00:14 +01:00
Smart123s
96f4ae9804 Refactor: move claim_game, is_game_owned to User 2023-02-20 12:50:19 +01:00
Smart123s
4a974f8023 Make csrf_token a property 2023-02-20 12:04:24 +01:00
Smart123s
fa3e8cd4d9 Store user data in separate directory 2023-02-18 21:08:29 +01:00
Smart123s
33237f2df4 Use appdirs package for retrieving config paths 2023-02-18 20:56:35 +01:00