Skip to content
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

Feature: Wg-Easy Widget #3476

Merged
merged 8 commits into from
May 17, 2024
Merged

Feature: Wg-Easy Widget #3476

merged 8 commits into from
May 17, 2024

Conversation

ConnerWithAnE
Copy link
Contributor

Proposed change

This adds a widget for Wg-Easy. The widget can display how many Wireguard connections are enabled as well as how many are connected, it also shows total as well and has the option to show disabled. To check for connections the time since the last handshake is checked. It allows for a threshold value in the widget allowing you to adjust how long to wait since the last handshake in minutes to consider the device connected. It defaults to ["connected", "enabled", "total"]

Addresses #1580 though I saw this discussion post development.

image
image

Type of change

  • New service widget
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation only
  • Other (please explain)

Checklist:

  • If applicable, I have added corresponding documentation changes.
  • If applicable, I have reviewed the feature and / or service widget guidelines.
  • I have checked that all code style checks pass using pre-commit hooks and linting checks.
  • If applicable, I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.

Copy link
Collaborator

@shamoon shamoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Before I review please revert the package changes and the changes to all language files except the English one, the rest will come through the translation tool we use

@ConnerWithAnE
Copy link
Contributor Author

Oh okay sounds good, didn't know for sure if I needed to fill in the languages or not. I'll fix it tomorrow and push it up.

@ConnerWithAnE
Copy link
Contributor Author

Seems I somehow roped another commit into here while rebasing but I think it all worked out. Sorry first time doing a rebase.

docs/configs/settings.md Outdated Show resolved Hide resolved
@shamoon
Copy link
Collaborator

shamoon commented May 17, 2024

Please allow me access to the PR or your fork if needed, I'll sort it out

@ConnerWithAnE
Copy link
Contributor Author

ConnerWithAnE commented May 17, 2024

Please allow me access to the PR or your fork if needed, I'll sort it out

Apologies, I am trying to revert but it keeps giving me conflicts and just wont let me pull it out. I must be doing something wrong. Again sorry, still getting the hang of it. I appreciate your patience. Would you mind potentially telling me the command you run to sort it out just so I know for future issues?

Copy link
Collaborator

@shamoon shamoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, mostly minor stuff

src/widgets/wgeasy/proxy.js Show resolved Hide resolved
src/widgets/wgeasy/proxy.js Outdated Show resolved Hide resolved
src/widgets/wgeasy/proxy.js Outdated Show resolved Hide resolved
src/widgets/wgeasy/proxy.js Outdated Show resolved Hide resolved
src/widgets/wgeasy/proxy.js Outdated Show resolved Hide resolved
src/widgets/wgeasy/proxy.js Outdated Show resolved Hide resolved
@shamoon shamoon enabled auto-merge (squash) May 17, 2024 05:05
@shamoon shamoon disabled auto-merge May 17, 2024 05:06
@shamoon shamoon enabled auto-merge (squash) May 17, 2024 05:07
Copy link
Collaborator

@shamoon shamoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-05-16 at 9 08 35 PM

Thanks

@shamoon shamoon merged commit 6ab6d6f into gethomepage:main May 17, 2024
5 checks passed
truecharts-admin added a commit to truecharts/charts that referenced this pull request Jun 3, 2024
…0.9.0@e0d26bb by renovate (#22802)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/gethomepage/homepage](https://togithub.com/gethomepage/homepage)
| minor | `v0.8.13` -> `v0.9.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>gethomepage/homepage (ghcr.io/gethomepage/homepage)</summary>

###
[`v0.9.0`](https://togithub.com/gethomepage/homepage/releases/tag/v0.9.0)

[Compare
Source](https://togithub.com/gethomepage/homepage/compare/v0.8.13...v0.9.0)

#### What's Changed

##### Security

- This version resolves security vulnerabilities discovered in some
integrations, see
GHSA-24m5-7vjx-9x37.
Thanks to kachakil-av for reporting.

##### Other Changes

- Fix: handle ghostfolio v2.79.0 breaking API changes by
[@&#8203;shamoon](https://togithub.com/shamoon) in
[gethomepage/homepage#3471
- Fix: allow exclamation to open quicklaunch by
[@&#8203;jesusmlopezf](https://togithub.com/jesusmlopezf) in
[gethomepage/homepage#3475
- Feature: Wg-Easy Widget by
[@&#8203;ConnerWithAnE](https://togithub.com/ConnerWithAnE) and
[@&#8203;shamoon](https://togithub.com/shamoon) in
[gethomepage/homepage#3476
- Change icon in the longhorn widget to use the same as resources by
[@&#8203;nick-disiere](https://togithub.com/nick-disiere) in
[gethomepage/homepage#3509
- Feature: SWAG dashboard widget by
[@&#8203;quietsy](https://togithub.com/quietsy) and
[@&#8203;shamoon](https://togithub.com/shamoon) in
[gethomepage/homepage#3523
- Chore(deps): Bump crowdin/github-action from 1 to 2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[gethomepage/homepage#3537
- Fix: remove comma in Caddy and EVCC widgets by
[@&#8203;grimsi](https://togithub.com/grimsi) in
[gethomepage/homepage#3551
- Enhancement: separate Internet search settings for quicklaunch by
[@&#8203;vycdev](https://togithub.com/vycdev) and
[@&#8203;shamoon](https://togithub.com/shamoon) in
[gethomepage/homepage#3541
- Chore(deps-dev): Bump eslint-plugin-react from 7.34.1 to 7.34.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[gethomepage/homepage#3554
- Chore(deps-dev): Bump eslint-plugin-react-hooks from 4.6.0 to 4.6.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[gethomepage/homepage#3555

#### New Contributors

- [@&#8203;jesusmlopezf](https://togithub.com/jesusmlopezf) made their
first contribution in
[gethomepage/homepage#3475
- [@&#8203;ConnerWithAnE](https://togithub.com/ConnerWithAnE) made their
first contribution in
[gethomepage/homepage#3476
- [@&#8203;nick-disiere](https://togithub.com/nick-disiere) made their
first contribution in
[gethomepage/homepage#3509
- [@&#8203;quietsy](https://togithub.com/quietsy) made their first
contribution in
[gethomepage/homepage#3523
- [@&#8203;vycdev](https://togithub.com/vycdev) made their first
contribution in
[gethomepage/homepage#3541

**Full Changelog**:
gethomepage/homepage@v0.8.13...v0.9.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM4NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
@matox2542080
Copy link

I just configure this widget, in my case when a von its connected doesn't appear connected, im the only one?

szinn pushed a commit to szinn/k8s-homelab that referenced this pull request Jun 3, 2024
…→ v0.9.0 ) (#3772)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/gethomepage/homepage](https://togithub.com/gethomepage/homepage)
| minor | `v0.8.13` -> `v0.9.0` |

---

### Release Notes

<details>
<summary>gethomepage/homepage (ghcr.io/gethomepage/homepage)</summary>

###
[`v0.9.0`](https://togithub.com/gethomepage/homepage/releases/tag/v0.9.0)

[Compare
Source](https://togithub.com/gethomepage/homepage/compare/v0.8.13...v0.9.0)

#### What's Changed

##### Security

- This version resolves security vulnerabilities discovered in some
integrations, see
GHSA-24m5-7vjx-9x37.
Thanks to kachakil-av for reporting.

##### Other Changes

- Fix: handle ghostfolio v2.79.0 breaking API changes by
[@&#8203;shamoon](https://togithub.com/shamoon) in
[gethomepage/homepage#3471
- Fix: allow exclamation to open quicklaunch by
[@&#8203;jesusmlopezf](https://togithub.com/jesusmlopezf) in
[gethomepage/homepage#3475
- Feature: Wg-Easy Widget by
[@&#8203;ConnerWithAnE](https://togithub.com/ConnerWithAnE) and
[@&#8203;shamoon](https://togithub.com/shamoon) in
[gethomepage/homepage#3476
- Change icon in the longhorn widget to use the same as resources by
[@&#8203;nick-disiere](https://togithub.com/nick-disiere) in
[gethomepage/homepage#3509
- Feature: SWAG dashboard widget by
[@&#8203;quietsy](https://togithub.com/quietsy) and
[@&#8203;shamoon](https://togithub.com/shamoon) in
[gethomepage/homepage#3523
- Chore(deps): Bump crowdin/github-action from 1 to 2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[gethomepage/homepage#3537
- Fix: remove comma in Caddy and EVCC widgets by
[@&#8203;grimsi](https://togithub.com/grimsi) in
[gethomepage/homepage#3551
- Enhancement: separate Internet search settings for quicklaunch by
[@&#8203;vycdev](https://togithub.com/vycdev) and
[@&#8203;shamoon](https://togithub.com/shamoon) in
[gethomepage/homepage#3541
- Chore(deps-dev): Bump eslint-plugin-react from 7.34.1 to 7.34.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[gethomepage/homepage#3554
- Chore(deps-dev): Bump eslint-plugin-react-hooks from 4.6.0 to 4.6.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[gethomepage/homepage#3555

#### New Contributors

- [@&#8203;jesusmlopezf](https://togithub.com/jesusmlopezf) made their
first contribution in
[gethomepage/homepage#3475
- [@&#8203;ConnerWithAnE](https://togithub.com/ConnerWithAnE) made their
first contribution in
[gethomepage/homepage#3476
- [@&#8203;nick-disiere](https://togithub.com/nick-disiere) made their
first contribution in
[gethomepage/homepage#3509
- [@&#8203;quietsy](https://togithub.com/quietsy) made their first
contribution in
[gethomepage/homepage#3523
- [@&#8203;vycdev](https://togithub.com/vycdev) made their first
contribution in
[gethomepage/homepage#3541

**Full Changelog**:
gethomepage/homepage@v0.8.13...v0.9.0

</details>

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM4NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->

Co-authored-by: repo-jeeves[bot] <106431701+repo-jeeves[bot]@users.noreply.github.com>
@ConnerWithAnE
Copy link
Contributor Author

ConnerWithAnE commented Jun 3, 2024

I just configure this widget, in my case when a von its connected doesn't appear connected, im the only one?

Could you post a issue discussion. Please post the browser console and your config. When you say it's not connected, are you seeing the total number of devices and if they are enabled?

@shamoon
Copy link
Collaborator

shamoon commented Jun 3, 2024

A discussion.

@gethomepage gethomepage deleted a comment from matox2542080 Jun 3, 2024
@gethomepage gethomepage deleted a comment from matox2542080 Jun 3, 2024
@shamoon
Copy link
Collaborator

shamoon commented Jun 3, 2024

A new discussion thread, not this PR

@gethomepage gethomepage locked as resolved and limited conversation to collaborators Jun 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants