277 Commits

Author SHA1 Message Date
Smart123s
9990c7e69a Cache collected sales for faster refresh
This was designed to speed up the initial refresh of high amounts of data.
Will be reverted after run completes.
Functionally equivalent with previous commit.
2023-03-26 12:16:01 +02:00
Smart123s
71198b7a31 Fix 404 when refreshing legacy sales 2023-03-26 12:50:38 +02:00
Smart123s
674b92d2cb Remove unused first attribute from ItchSale
It's handled by ItchGame
2023-03-26 11:36:39 +02:00
Smart123s
3d87a1256a Remove logic for unknown sale end dates
We now has access to both sale start and end dates.
2023-03-26 11:32:48 +02:00
Smart123s
c42ec3fd7b Extract sale dates from <script> tags
It's a lot more consistent and it has both start and end dates.
2023-03-26 10:26:50 +02:00
Smart123s
89c18dab66 Fix resume start index 2023-03-26 09:23:37 +02:00
Smart123s
004c0a9c98 force_refresh: add missing quotation marks 2023-03-23 18:15:12 +01:00
Smart123s
0fd6d915a1 fix download_urls command 2023-03-22 18:31:46 +01:00
Smart123s
9297f79180 Upload pypi builds as Actions Artifact 2023-03-22 18:14:48 +01:00
Smart123s
b7eaf8da79 Add option to refresh individual sale pages 2023-03-22 13:02:22 +01:00
Smart123s
8a9c414976 refactor: function for individual sale pages 2023-03-22 07:59:16 +01:00
Smart123s
de734e9ae9 ItchGame: add from_api classmethod 2023-03-22 13:29:28 +01:00
Smart123s
59e3d66aea actions: test build pull requests 2023-03-22 06:33:18 +01:00
Smart123s
2af9a5a526 web: Rename Actions Workflow 2023-03-22 06:23:24 +01:00
Smart123s
02e7549f72 Release of Version 1.2.1 v1.2.1 2023-03-21 09:19:46 +01:00
Smart123s
668ba1e234 fix session filename's with special chars 2023-03-21 09:19:14 +01:00
Smart123s
c6159e3f8f web: use closest end instead of last 2023-03-21 08:45:02 +01:00
Smart123s
9de4ac8cfb fix is_active if no sale end date is known 2023-03-21 07:45:21 +01:00
Smart123s
bb0e41569f web: check all sales for end date
There are games, where the last sale end date is not the last published sale

Reported by
https://www.reddit.com/r/FreeGameFindings/comments/p0ik3q/comment/jd1io08/?context=3
2023-03-21 07:35:13 +01:00
Smart123s
242748cdaf Release of Version 1.2 v1.2 2023-03-18 22:04:49 +01:00
Smart123s
a9a1c22a9f docker.com usernames are case sensitive 2023-03-18 21:51:23 +01:00
Smart123s
f050cebf8b Fix some linting issues 2023-03-18 21:38:54 +01:00
Smart123s
c3555ba1ff Remove appdirs dependency 2023-03-18 21:11:57 +01:00
Smart123s
19cc0e1854 Publish to Docker Hub 2023-03-18 20:58:58 +01:00
Smart123s
981bd31e9d Recheck sale end if start was previously saved 2023-03-18 20:53:36 +01:00
Smart123s
208a918d47 refactor: games directory now supports web only 2023-03-18 09:59:07 +01:00
Smart123s
f780580b62 Fix outdated log 2023-03-18 09:46:21 +01:00
Smart123s
54c51a73c9 Fix loading session without cached library 2023-03-18 09:44:10 +01:00
Smart123s
c985293b2e pip: include html files in package 2023-03-18 09:38:38 +01:00
Smart123s
52c2fbf74a web: move to package root 2023-03-18 09:38:17 +01:00
Smart123s
629dfb2ed5 web: load template from package directory 2023-03-18 09:30:36 +01:00
Smart123s
f045f59b21 compatibility: python 3.8 2023-03-17 15:41:18 +01:00
Smart123s
fdab83da01 Docker: load sessions from /data 2023-03-17 14:06:19 +01:00
Smart123s
5902c519da Readme: update documentation 2023-03-17 09:19:36 +01:00
Smart123s
df4988625a Make use of classmethod 2023-03-16 11:41:21 +01:00
Smart123s
4ba4631129 Fix games with no cover image 2023-03-15 21:12:16 +01:00
Smart123s
2bb00aa15e Parse for at least sale id 90000 2023-03-15 18:46:41 +01:00
Smart123s
f45206f38f Remove unused param 2023-03-15 18:46:41 +01:00
Smart123s
19f843bd50 Refresh sale cache from 1
This is needed for first time sales to work properly
2023-03-15 18:26:15 +01:00
Smart123s
a16f9c4d1f claim: use new api 2023-03-15 18:16:21 +01:00
Smart123s
7de7aecc29 web: better wording 2023-03-15 17:41:33 +01:00
Smart123s
f49256758c web: add more json data 2023-03-15 17:35:25 +01:00
Smart123s
824e213cb8 Fixup: first sale detection 2023-03-15 17:20:59 +01:00
Smart123s
402a6c519a web: add first sale marking 2023-03-15 17:20:19 +01:00
Smart123s
c8ce4c3ac9 web: add upcoming sales 2023-03-15 17:17:31 +01:00
Smart123s
27f565353c Testing: lower resume index 2023-03-15 16:26:51 +01:00
Smart123s
27c38c8d2b Actions: update cache key 2023-03-15 16:26:24 +01:00
Smart123s
40ec1fea5d claimable: only check online if needed 2023-03-15 16:23:43 +01:00
Smart123s
6e3ce9f073 Properly parse sale start and end 2023-03-15 16:00:23 +01:00
Smart123s
0fcc4350fa web: filter active sales 2023-03-15 15:29:08 +01:00