Commit Graph

58 Commits

Author SHA1 Message Date
Imran Remtulla
e0c69b9cf4 Lint all files 2025-06-13 16:53:36 -04:00
Imran Remtulla
6c6f256976 GitLab bugfix (#2167) 2025-03-07 16:15:01 -05:00
Imran Remtulla
92ebbd9138 Fix GitLab bug that broke all repos with hyphens in their names (#2125) 2025-02-22 19:44:28 -05:00
Imran Remtulla
167d0ccced Extract GitLab Asset Filenames (#2127) 2025-02-21 10:39:45 -05:00
Imran Remtulla
93c8bca038 GitLab URL parsing bugfix (#2106) 2025-02-13 09:55:25 -05:00
Imran Remtulla
ba21137da7 Fix error when GitLab repo is in a subgroup (#2079) 2025-01-27 20:14:11 -05:00
Imran Remtulla
0e46a83843 Auto-select direct APK source for URLs ending in '.apk' (#1820) 2024-09-08 02:51:11 -04:00
Imran Remtulla
37e90dabe7 GitLab bugfix for some APK URLs (#1790) 2024-08-19 20:55:37 -04:00
Imran Remtulla
ce200403e0 Update GitLab for new uploads URL scheme (#1742) 2024-07-28 16:41:01 -04:00
Imran Remtulla
f5769b85fe Add release date extraction for track-only GitLab and Codeberg apps (#1664) 2024-06-15 01:58:07 -04:00
Imran Remtulla
de509737e6 Include GitLab token in APK request (#1622) 2024-05-22 19:51:35 -04:00
Imran Remtulla
8619cfa819 Add support for GitLab CI artifact links in releases (#1506) 2024-04-02 14:07:32 -04:00
Imran Remtulla
6468d0edcc Fix GitLab's broken track-only mode (#1496) 2024-03-28 23:05:16 -04:00
Imran Remtulla
a8eae7f04b Merge remote-tracking branch 'origin/main' into dev 2024-03-09 14:18:36 -05:00
Imran Remtulla
4902e0ef06 Removed outdated translations related to #1459 2024-03-09 14:17:18 -05:00
Imran
efc6846c1c Merge pull request #1459 from akramer-zibra/improve-gitlab-apk-retrieval
Improve gitlab .apk retrieval (#1450, #1381, #1380)
2024-03-09 14:07:36 -05:00
Achim
d8cd3b6c92 Remove unused package import 2024-03-09 10:17:27 +01:00
Achim
bb1dd4ecfd Inject Private Access Token as optional request param
It turned out: If the parameter `private_token` is given but empty, the Gitlab REST API does expect a valid access token otherwise responds with an authorization error
2024-03-09 10:16:54 +01:00
Achim
3824b386d7 Regroup functions by their intention
This may prepare for later refactorings and code simplification
2024-03-09 10:11:54 +01:00
Achim
a9159fc8a0 Remove .apk retrieval from tags-feed
So this code does focus on the official Gitlab REST API. With this the retrieval logic changes.
2024-03-09 09:23:48 +01:00
Achim
ef3b01ac56 Use gitlab host defined in class member variable 2024-02-26 13:42:56 +01:00
Achim
cfa4c680cf Set referer header for gitlab app source context
There occur issues if a gitlab project refers in its release data to external hosted .apk file. In some cases (e.g. Aurora Store) download is not possible because cloudflare protection gives "forbidden" error. The referer header seems to pacify this cloudflare protection. Tested with Android 14 in an AVD emulator.

Related to: #1397, #1389, #1384, #1382, #1381, #1380, #1359, #854, #785, #697
2024-02-19 16:02:49 +01:00
Imran Remtulla
183fb26988 Clearer version detection settings 2024-01-18 23:46:23 -05:00
Imran Remtulla
ec6683a198 Bugfixes: Don't make URLs lowercase, never auto-select Jenkins 2024-01-11 21:28:15 -05:00
Imran Remtulla
76a6a509cd Header usage bugfix 2024-01-11 19:23:59 -05:00
Imran Remtulla
7f2ca98bde Multi-host support + add '.net' host to APKPure source (#1250) 2024-01-08 19:17:50 -05:00
Imran Remtulla
436a6310d7 Add www subdomain support for various sources (#1222) 2023-12-31 15:59:44 -05:00
Imran Remtulla
dc92ccda0a Use public GitLab search API (#1147) 2023-12-16 02:01:43 -05:00
Imran Remtulla
9c95129311 Better GitLab error message (#1106) 2023-12-07 21:55:35 -05:00
Imran Remtulla
756763fcbe Third party GitLab search (#1108) 2023-11-24 18:58:10 -05:00
Imran Remtulla
367e740a9c Increment versionCode (#1098) + ran 'dart fix' 2023-11-19 16:02:16 -05:00
Imran Remtulla
76f8cd4102 Source configuration settings changes
- "Source config" refers to source-specific, app-agnostic settings
- Don't use saved config for overridden sources
- For overridden sources, use app-specific source config
- Allow sources to show notes on add-app page (#720)
2023-07-29 22:06:42 -04:00
Imran Remtulla
41f102c0ce Minimum star count for GitHub/Codeberg search (#688) 2023-07-23 02:04:40 -04:00
Imran Remtulla
360591ebb9 Add better GitLab APK discover when API key set (#3) 2023-07-14 23:53:28 -04:00
Imran Remtulla
e33cc00266 Make all sources override-eligible to account for subdomains 2023-05-14 13:42:09 -04:00
Imran Remtulla
d212f13345 Fixed code smells 2023-05-14 12:29:37 -04:00
Imran Remtulla
b4642e16ad GitLab search (#422) + better settings UI 2023-05-06 00:06:48 -04:00
Imran Remtulla
fb9e66332d APKPure, SourceHut, Bugfixes 2023-05-05 22:35:32 -04:00
Imran Remtulla
392554123b Added an (experimental) Source override option for URLs that work with an existing Source but use a custom host (#271, #393) (#502) 2023-04-29 23:50:12 -04:00
Imran Remtulla
e72b33ebf2 Added fallback option to GitLab Source (#456) 2023-04-23 01:19:31 -04:00
Imran Remtulla
202ce4f0d5 Store APK names with URLs (#432) 2023-04-05 18:50:19 -04:00
Imran Remtulla
f06d245e20 Added release date support to GitLab 2023-02-18 20:55:23 -05:00
Imran Remtulla
0c97b25d99 Track-only source bugfix + better http errors
+ increment version
2022-12-23 23:52:32 -05:00
Imran Remtulla
9072862862 Broke GeneratedFormItem into sub-types
Prep for "chips" input type
2022-12-21 18:23:25 -05:00
Imran Remtulla
6a21045e5b Progress 2022-12-20 18:00:22 -05:00
Imran Remtulla
1fe9e4f91e Started switching additionaldata to map 2022-12-19 19:34:43 -05:00
Imran Remtulla
f6ca5d42e8 Initial third party F-Droid repo support
Plus various bugfixes
And version increment
2022-12-15 21:22:03 -05:00
Imran Remtulla
086b2b949f Fixed bugfix with GitHub track-only Apps with no APK 2022-11-25 23:12:15 -05:00
Imran Remtulla
b04d2fad5c Adds Track-Only App Support (Addresses #119 and Sets Groundwork for #44) (#123)
- All Sources now have a "Track-Only" option that will prevent Obtainium from looking for APKs (though the App must still have a release of some kind so that a version string can be grabbed).
    - These Apps cannot be installed through Obtainium, but update notifications will still be sent.
    - The user needs to manually mark them as updated when appropriate.
    - This addresses issue #119.
    - It also partially addresses #44 by allowing some sources to be configured as "Track-Only"-only. The first such source (APKMirror) will be added later.
- Includes various UI changes to accommodate the above change.
- Also makes App loading a bit more responsive (sending Obtainium to the background then returning will now cause App re-load to pick up changes in App versioning that may have been made in the meantime, for instance through update checking).
2022-11-24 21:12:46 -05:00
Imran Remtulla
b04986622b IzzyOnDroid now uses API (+ other minor tweaks) 2022-11-17 19:00:27 -05:00