-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[dns-stats] added support for adguard installations inside GL.iNet routers #825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
himazawa
wants to merge
16
commits into
glanceapp:dev
Choose a base branch
from
himazawa:main
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…f-purple-theme feat: Add Shades of Purple theme with screenshot
feat(themes): Add theme 'Neon Pink'
Author
|
Any plan to merge this? @svilenmarkov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR add support for retrieving DNS stats if
adguard homeis installed inside aGL.iNetrouter since they don't use the common authentication system but instead set a route and put a cookie in front.GL.iNet used to have public APIs but recently they removed the documentation so some of I had to retrieve data by inspecting the traffic.
A new optional parameter is introduced in the configuration file:
glient-endpointif specified the widget will first login against that endpoint and then send the request to retrieve theadguardstats as always.In this PR I also had to write a native md5crypt implementation since the core doesn't have it, if you want to use an external library instead let me know.
I tested this PR in my local environment and it works properly (tested against a Flint 3)