Commit Graph

16 Commits

Author SHA1 Message Date
Torsten Grote
b1a0403960 [db] Add URL as mirror if repo was added with unofficial mirror 2023-11-22 12:04:17 +00:00
Torsten Grote
6ac7f652ad [db] verify fingerprint of known repositories
if the user tries to add a repository at a known address with a different fingerprint than what we have on file, we'll refuse to add the repo
2023-10-20 09:26:17 -03:00
Torsten Grote
62aa00b5b4 [db] add support for adding repos on content:// and file:// URIs
This complicates the code for this niche use-case, but is wanted by F-Droid to support communities with bad or no internet connectivity.
2023-10-20 09:26:15 -03:00
Torsten Grote
7d64492d92 [db] support adding repos protected with basic auth 2023-10-18 11:39:38 +00:00
Torsten Grote
a5ec22fa6c [db] add queries for getting app list items by repo 2023-10-18 11:39:38 +00:00
Torsten Grote
66b6c955a8 [db] add https:// scheme if it is missing from given repo URI 2023-10-18 11:39:38 +00:00
Torsten Grote
7c0c9c2cae [db] add support for detecting swap repos
Note that those are not really meant to be added to the DB as they are ephemeral by nature.
2023-10-18 11:39:38 +00:00
Torsten Grote
03a5b697bb [db] Handle fdroidrepos:// Uris as well 2023-10-18 11:39:38 +00:00
Torsten Grote
7b52db331c [db] Catch NotFoundException in RepoAdder 2023-10-18 11:39:38 +00:00
Torsten Grote
40c71e4b06 [db] Reject invalid URIs when adding repos 2023-10-18 11:39:38 +00:00
Torsten Grote
6abf3e3a8f [db] Add execution delay in attempt to fix flaky RepoAdder test 2023-10-18 11:39:38 +00:00
Torsten Grote
35481a8011 Initial support for fdroid.link URIs 2023-10-18 11:39:38 +00:00
Torsten Grote
1e54751142 [db] handle SerializationException when parsing index for RepoAdder 2023-08-23 10:53:44 +02:00
Torsten Grote
f3e8a0a45b [db] Add plumping for fetching and adding a new repo 2023-08-21 10:52:34 +02:00
Torsten Grote
7d84689068 [db] Verify that v2 files start with /
and add a DbV2StreamReceiverTest for it
2022-09-12 09:46:15 +00:00
Torsten Grote
f6075848e7 Move libraries into their own folder
and remove sharedTest symlink hack. The shared tests are now a proper gradle module to avoid issues with using the same source files in different modules.
2022-09-12 09:46:15 +00:00