Commit graph

36 commits

Author SHA1 Message Date
Daniel
6650fb3b19 Update linter settings and fix warnings 2022-02-02 14:58:27 +01:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Daniel
08da6e1d7c Improve logging of updated update indexes 2021-11-09 10:11:58 +01:00
Daniel
e02f084c8a Improve empty index support 2021-06-07 16:36:47 +02:00
Daniel
7e1f6b7021 Implement review suggestions 2021-06-07 11:09:06 +02:00
Daniel
839b7d2e36 Remove uptool, use updatemgr in portbase repo instead 2021-06-03 23:25:30 +02:00
Daniel
c3f98cd600 Move from Stable/Beta to a more generic Stable/PreRelease model 2021-06-03 23:25:07 +02:00
Daniel
8889e70c8b Improve index updating error handling 2021-06-02 10:54:30 +02:00
Daniel
f6ec0514ff Use forked renameio package 2021-05-13 17:42:29 +02:00
Daniel
69330181db Fix test script and tests 2021-05-05 00:19:33 +02:00
Daniel
cd7ba1172d Fix log message 2021-04-19 13:47:24 +02:00
Daniel
9b307b3bea Warn instead of failing when updater index is empty 2021-04-16 21:41:56 +02:00
Daniel
bb660bc901 Use semver normalized version strings and add semver util functions 2021-03-10 14:02:35 +01:00
Daniel
61255dcbe0 Ignore unpacked resource folders when scanning 2020-11-26 14:49:28 +01:00
Daniel
823b05d239 Improve version purging 2020-11-24 16:11:19 +01:00
Daniel
eb17a5e6b8 Add option to reset the registry 2020-11-24 16:11:03 +01:00
Daniel
30e2f19b94 Confine indexes to their location 2020-11-24 16:10:51 +01:00
Daniel
08fda000bb Fix scanning files for resources 2020-11-24 16:10:26 +01:00
Daniel
889bc1c389 Add support for unpacking archives after download 2020-11-24 16:09:38 +01:00
Daniel
2ad0ead72b Fix shutdown of failing service workers 2020-08-11 18:14:22 +02:00
Daniel
26f54ffbb9 Add User-Agent to request made by the registry 2020-07-23 12:16:44 +02:00
Daniel
02bb6d1d9b Use context for network connections in updater 2020-07-21 15:04:05 +02:00
Daniel
38902d8c82 Check path to index file when saving 2020-06-26 22:44:32 +02:00
Patrick Pacher
3936cf233e
Add support for packed resource files 2020-05-13 16:05:46 +02:00
Daniel
f20ede2f06 Fix error handling 2020-05-08 11:02:35 +02:00
Daniel
441f9c45ac Improve logging 2020-05-08 10:57:14 +02:00
Daniel
74fc1dc888 Do not remove tmp dir anymore, as it's used by others too 2020-05-08 10:57:06 +02:00
Daniel
98589f8008 Reset and recreate the updates tmp dir on startup 2020-05-08 10:56:16 +02:00
Patrick Pacher
8e07560396
Fix update not marked as available, add comments and notification helper 2020-05-04 14:52:57 +02:00
Patrick Pacher
fa36efb71c
Fix unsafe access to reg.indexes in updater 2020-05-04 10:57:59 +02:00
Patrick Pacher
9d7fd1235d
Add support for custom index files.
This commit changes the updater package to support custom
index files by callling registry.AddIndex(). Note that the
previously hard-coded index files stable.json and beta.json
have been removed and must be added by using AddIndex() prior
to calling LoadIndexes().
2020-05-04 10:32:50 +02:00
ppacher
8a18810c66 Do not ingore HTTP status code when fetching files 2020-04-07 10:50:56 +02:00
Daniel
80a514dce6 Remove hooking feature 2019-11-08 11:34:38 +01:00
Daniel
00f545c3a4 Remove change notifications from updater 2019-10-25 13:38:20 +02:00
Daniel
97f001d7d7 Update linter settings and fix some linter hints 2019-10-07 16:45:03 +02:00
Daniel
f1aacc5d45 Move portmaster/updates to portbase/updater, transform to lib 2019-10-07 16:13:35 +02:00