Commit Graph

80 Commits

Author SHA1 Message Date
Muhammed Efe Cetin
0b6be776fc fix images hosted at github 2024-08-09 15:46:11 +02:00
Muhammed Efe Cetin
4151b56c83 typo .control -> control 2024-08-09 15:46:11 +02:00
Igor
a5a9b1d409 Add new / forgotten exceptions 2024-08-06 15:40:22 +02:00
Muhammed Efe Cetin
96aedbae7f add support for some special cases 2024-01-31 23:55:07 +01:00
Tyler
c8c81b3e34 [bugfix] Check for img.xz suffix, not extension
- Fixes khadas-vim4 and other images with a prefix before img.xz
2024-01-30 12:20:54 +01:00
Tyler
c0899fbd36 [chore] Fix tests
- Fixes tests, removes excess debugging from tests
2024-01-30 12:20:54 +01:00
Tyler
aae93755cd [bugfix] Fix JSON mapping using full urls
- Fixes JSON mapping to use only paths, preserving redirector functionality
2024-01-30 12:20:54 +01:00
M. Efe Çetin
44538f8212 Fix json (#6)
* fix json handling
* fix linter
2024-01-28 21:32:40 +01:00
Muhammed Efe Cetin
f509ed3f77 fix json handling 2024-01-28 20:59:37 +01:00
Igor
2048c143b7 Merge pull request #3 from armbian/feature/version-check
Feature: Version Checks, Rules
2024-01-28 20:01:48 +01:00
Igor
7fc823f883 Merge pull request #4 from tystuyfzand/feature/version-check
Improve checks and rule speed, add JSON support
2024-01-28 20:01:41 +01:00
Tyler
85fc249b91 [bugfix] Correct format of JSON
- Corrects format of JSON by adding assets parent
- Fixes FileURL variable to map to the proper field
- Adds basic unit test for JSON loading
2024-01-25 21:34:37 -05:00
Tyler
5cfbfa6081 [bugfix] Fix compile errors
- Fix compile errors not found by prechecks
2024-01-25 21:33:37 -05:00
Tyler
259978fff2 [feature] Improve speed of GetValue, clear cache on server change
- Clears cache on server state change (prevents no servers being available)
- Improves speed of GetValue using generated getters
- Moves maxminddb items into db package
- Moves util.go into util package
- Updates dependencies
2024-01-22 21:47:03 -05:00
Tyler
7605e01312 [feature] Add JSON map support
- Adds JSON map file support
2024-01-22 21:28:13 -05:00
Tyler
9ff3eb2715 Fix tests and use supported protocols for Version check 2023-04-01 20:58:08 -04:00
Tyler
e28122245b Initial release of version checks
Resolves version check issues, adds more information,
adds in Rule system to exclude hosts, upgrades to Go 1.20
2023-04-01 20:31:16 -04:00
Tyler
ee2b80a7df WIP: Version checks 2023-01-07 10:15:08 -05:00
Tyler Stuyfzand
1bbd2920b5 Merge pull request #1 from armbian/feature/refactor
Refactoring and half rewrite
2022-10-17 20:16:06 -04:00
Tyler
5ab22152e0 Bugfixes and more logging 2022-10-17 20:04:22 -04:00
Tyler
2992ba624d Fix build entrypoint 2022-10-16 14:53:08 -04:00
Tyler
7a61c7d12a Move installing build tool to a different stage 2022-10-08 01:10:06 -04:00
Tyler
1041ed8fc9 Fix build path as we can't access / 2022-10-08 01:07:41 -04:00
Tyler
f7db224da9 Add building to actions 2022-10-08 01:06:20 -04:00
Tyler
cdbb0180fb Remove redundant else 2022-10-03 01:40:11 -04:00