Commit graph

296 commits

Author SHA1 Message Date
238d8d190d Merge branch 'develop' into feature/300-moon-set
All checks were successful
Test / build (push) Successful in 25s
2025-01-27 18:35:41 +00:00
dfae2fd2e4 Update git documentation (#504)
All checks were successful
Deploy To Stage / build (push) Successful in 21s
Deploy To Stage / deploy (push) Successful in 17s
#458

Reviewed-on: #504
Reviewed-by: VylpesTester <tester@vylpes.com>
2025-01-25 17:00:07 +00:00
366a1d9641 Update prod deployment script to add --delete to rsync job
All checks were successful
Deploy To Stage / build (push) Successful in 20s
Deploy To Stage / deploy (push) Successful in 16s
2025-01-24 19:16:53 +00:00
11ba4bb411 Merge branch 'main' into develop
All checks were successful
Deploy To Stage / build (push) Successful in 24s
Deploy To Stage / deploy (push) Successful in 17s
2025-01-24 19:15:20 +00:00
5f5d631091 v3.2.4
All checks were successful
Deploy To Production / build (push) Successful in 25s
Deploy To Production / deploy (push) Successful in 17s
2025-01-24 19:10:27 +00:00
2b615a3fed Merge branch 'hotfix/3.2.4' 2025-01-24 18:40:22 +00:00
c22dbcf005 Fix auto kick notice time
All checks were successful
Deploy To Stage / build (push) Successful in 18s
Deploy To Stage / deploy (push) Successful in 15s
2025-01-12 15:17:11 +00:00
e8de5e9931 Update the When To Kick time to match the cron time
All checks were successful
Deploy To Stage / build (push) Successful in 18s
Deploy To Stage / deploy (push) Successful in 17s
2025-01-12 12:48:59 +00:00
784eb5e6c5 Use branch name as version string
All checks were successful
Deploy To Stage / build (push) Successful in 18s
Deploy To Stage / deploy (push) Successful in 17s
2025-01-11 16:25:35 +00:00
0fad587ae9 Delete files not in the destination
All checks were successful
Deploy To Stage / build (push) Successful in 19s
Deploy To Stage / deploy (push) Successful in 14s
2025-01-11 16:11:13 +00:00
9dd72a074b Remove no longer used pm2 stop scripts
Some checks failed
Deploy To Stage / deploy (push) Has been cancelled
Deploy To Stage / build (push) Has been cancelled
2025-01-11 16:10:00 +00:00
ccac9861a9 Use just stage.yml
Some checks failed
Deploy To Stage / deploy (push) Has been cancelled
Deploy To Stage / build (push) Has been cancelled
2025-01-11 16:07:04 +00:00
d3a0c418be Use rsync
All checks were successful
Deploy Hotfix To Stage / build (push) Successful in 18s
Deploy Hotfix To Stage / deploy (push) Successful in 17s
2025-01-10 18:41:11 +00:00
2ac2737bc0 Add hotfix and release ci pipelines (#503)
Some checks failed
Deploy Hotfix To Stage / build (push) Failing after 13s
Deploy Hotfix To Stage / deploy (push) Has been skipped
# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

#492, #493

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has This Been Tested?

Please describe the tests that you ran to verify the changes. Provide instructions so we can reproduce. Please also list any relevant details to your test configuration.

# Checklist

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that provide my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules

Reviewed-on: #503
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2025-01-10 18:36:36 +00:00
cdf689f1c5 Add auto kick functionality (#502)
All checks were successful
Test / build (push) Successful in 13s
- Add command to configure the auto kick function
- Added ability to run functions on a cron job
- Added a cron job every hour to check if a user has had a role for a configured amount of time and kick them if they have
    - The function also optionally sends a notice embed at a configured time before the kick

#485

Reviewed-on: #502
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2025-01-03 17:47:16 +00:00
1f5965ae79 Add tests
All checks were successful
Test / build (push) Successful in 24s
2024-12-14 18:04:04 +00:00
e557540d70 Create add moon command tests
All checks were successful
Test / build (push) Successful in 24s
2024-12-11 18:41:59 +00:00
f0a7d68adf Merge branch 'develop' into feature/300-moon-set 2024-12-11 18:16:39 +00:00
b275f60f94 Merge branch 'main' into develop
All checks were successful
Deploy To Stage / build (push) Successful in 21s
Deploy To Stage / deploy (push) Successful in 15s
2024-12-10 10:37:04 +00:00
e081ff7802 Revert "Use password secret"
All checks were successful
Deploy To Production / build (push) Successful in 52s
Deploy To Production / deploy (push) Successful in 14s
This reverts commit 725f3ee869.
2024-12-10 10:21:03 +00:00
725f3ee869 Use password secret 2024-12-10 10:19:40 +00:00
0cc4356793 Use rsync -rvzP 2024-12-10 10:10:13 +00:00
665fc293b5 Use rsync 2024-12-10 10:07:23 +00:00
056783bc44 WIP: Create add moon command tests
All checks were successful
Test / build (push) Successful in 18s
2024-11-07 19:38:16 +00:00
554c274a7f WIP: Start creating buttonEvent moons list tests
All checks were successful
Test / build (push) Successful in 11s
2024-11-04 18:06:53 +00:00
952e7901ba WIP: Create moons list command tests
All checks were successful
Test / build (push) Successful in 11s
2024-11-01 17:05:31 +00:00
5ed31d08d1 Plan tests 2024-11-01 14:52:38 +00:00
67eafa695c Move moon button events to server id folder 2024-11-01 14:47:14 +00:00
43751e5b02 WIP: Planning more tests
All checks were successful
Test / build (push) Successful in 10s
2024-10-31 16:56:36 +00:00
974e298214 WIP: Planning list.test.ts
All checks were successful
Test / build (push) Successful in 9s
2024-10-30 09:35:34 +00:00
866beb0e04 Add untracked counter
All checks were successful
Test / build (push) Successful in 6s
2024-10-29 10:49:09 +00:00
8b0e93d324 Remove moonset command 2024-10-29 10:30:05 +00:00
2695219b20 Create moonset command 2024-10-29 10:29:31 +00:00
56a04c2703 Merge branch 'develop' into feature/300-moon-set 2024-10-29 09:59:27 +00:00
5f49117196 Upgrade to node v20
All checks were successful
Deploy To Stage / build (push) Successful in 7s
Deploy To Stage / deploy (push) Successful in 14s
2024-10-28 11:39:14 +00:00
5beebba29a Upgrade packages
Some checks failed
Deploy To Stage / build (push) Failing after 2s
Deploy To Stage / deploy (push) Has been skipped
2024-10-28 11:37:44 +00:00
fdf52c2285 Remove unused resolved packages 2024-10-28 11:34:45 +00:00
e3a583aa99 Upgrade packages 2024-10-28 11:34:11 +00:00
3a4665f907 Update dependency @types/jest to v29.5.14 (#488)
All checks were successful
Deploy To Stage / build (push) Successful in 6s
Deploy To Stage / deploy (push) Successful in 17s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest)) | devDependencies | patch | [`29.5.13` -> `29.5.14`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.13/29.5.14) |

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #488
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-28 11:28:46 +00:00
60e736774d Update appleboy/ssh-action action to v1.1.0 (#482)
All checks were successful
Deploy To Stage / build (push) Successful in 8s
Deploy To Stage / deploy (push) Successful in 17s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [appleboy/ssh-action](https://github.com/appleboy/ssh-action) | action | minor | `v1.0.3` -> `v1.1.0` |

---

### Release Notes

<details>
<summary>appleboy/ssh-action (appleboy/ssh-action)</summary>

### [`v1.1.0`](https://github.com/appleboy/ssh-action/releases/tag/v1.1.0)

[Compare Source](https://github.com/appleboy/ssh-action/compare/v1.0.3...v1.1.0)

##### Changelog

##### Bug fixes

-   [`0c7561b`](0c7561b1a3): fix: switch to SSH key authentication for security ([@&#8203;appleboy](https://github.com/appleboy))

##### Enhancements

-   [`9b978f0`](9b978f09f2): chore: update SSH action version in README files ([@&#8203;appleboy](https://github.com/appleboy))
-   [`1991c55`](1991c553ec): chore(file): update target file ([@&#8203;appleboy](https://github.com/appleboy))
-   [`aa293c2`](aa293c24bb): chore: optimize system configuration and API integration ([@&#8203;appleboy](https://github.com/appleboy))
-   [`036cad7`](036cad7df7): chore: update drone-ssh to version 1.7.7 ([@&#8203;appleboy](https://github.com/appleboy))
-   [`8b60782`](8b6078208d): chore(cli): enhance version handling and testing mechanisms ([@&#8203;appleboy](https://github.com/appleboy))
-   [`5ade826`](5ade826485): chore: improve CLI reliability and version visibility ([@&#8203;appleboy](https://github.com/appleboy))
-   [`eaeb069`](eaeb06998d): chore(cli): enhance curl command with silent mode and redirects ([@&#8203;appleboy](https://github.com/appleboy))
-   [`58164d0`](58164d0dc2): chore: remove Dockerfile and related configurations ([@&#8203;appleboy](https://github.com/appleboy))

##### Refactor

-   [`da612c8`](da612c8015): refactor: optimize CI pipeline for faster execution ([@&#8203;appleboy](https://github.com/appleboy))

##### Build process updates

-   [`c781418`](c78141851a): ci: enhance GitHub Actions for IPv6 and flexibility ([#&#8203;303](https://github.com/appleboy/ssh-action/issues/303)) ([@&#8203;appleboy](https://github.com/appleboy))
-   [`d2d6858`](d2d6858859): ci: enhance GitHub workflow for SSH actions and deployments ([@&#8203;appleboy](https://github.com/appleboy))
-   [`551964e`](551964ebda): ci: optimize GitHub Actions workflow configuration ([@&#8203;appleboy](https://github.com/appleboy))
-   [`f916346`](f916346256): ci: refactor CI workflow and improve robustness ([#&#8203;320](https://github.com/appleboy/ssh-action/issues/320)) ([@&#8203;appleboy](https://github.com/appleboy))
-   [`aabaf12`](aabaf1254d): ci: add bug report template ([@&#8203;appleboy](https://github.com/appleboy))
-   [`c8594ae`](c8594ae37d): ci: implement GitHub Actions for remote SSH execution ([@&#8203;appleboy](https://github.com/appleboy))
-   [`40aad53`](40aad53c5a): ci: add SSH authentication setup for GitHub Actions ([@&#8203;appleboy](https://github.com/appleboy))
-   [`0b0e770`](0b0e77098a): ci: optimize and enhance SSH server workflow ([@&#8203;appleboy](https://github.com/appleboy))
-   [`977b74a`](977b74a12d): ci: enhance CI workflow with SSH job and optimizations ([@&#8203;appleboy](https://github.com/appleboy))
-   [`2eeab5b`](2eeab5bdba): ci: refactor GitHub Actions key management ([@&#8203;appleboy](https://github.com/appleboy))
-   [`acd41e5`](acd41e5091): ci: enhance SSH job testing with varied key/password scenarios ([@&#8203;appleboy](https://github.com/appleboy))
-   [`f05aefe`](f05aefe351): ci: enhance SSH action configuration and error handling ([@&#8203;appleboy](https://github.com/appleboy))
-   [`e40b597`](e40b597081): ci: add GitHub Actions job for SSH key passphrase support ([@&#8203;appleboy](https://github.com/appleboy))
-   [`15b64dc`](15b64dc891): ci: enhance CI pipeline with SSH key handling improvements ([@&#8203;appleboy](https://github.com/appleboy))
-   [`a39b3cc`](a39b3cce7d): ci: enhance CI/CD pipeline with SSH command execution ([@&#8203;appleboy](https://github.com/appleboy))
-   [`815c574`](815c5743ac): ci: enhance deployment with multi-host SSH action ([@&#8203;appleboy](https://github.com/appleboy))
-   [`378323e`](378323e4c8): ci: add multi-server support to CI workflow ([@&#8203;appleboy](https://github.com/appleboy))
-   [`fc1c1fc`](fc1c1fce51): ci: add GitHub Actions job for [`ed25519`](https://github.com/appleboy/ssh-action/commit/ed25519) key support ([@&#8203;appleboy](https://github.com/appleboy))
-   [`f0e5a23`](f0e5a23d53): ci: add environment variable handling in GitHub Actions ([@&#8203;appleboy](https://github.com/appleboy))
-   [`9c32aa6`](9c32aa61f8): ci: refactor workflows and API integrations ([@&#8203;appleboy](https://github.com/appleboy))
-   [`97f8d75`](97f8d752b5): ci: enable root access in CI pipeline ([@&#8203;appleboy](https://github.com/appleboy))
-   [`5a8776f`](5a8776fd15): ci: switch to password authentication in GitHub workflow ([@&#8203;appleboy](https://github.com/appleboy))
-   [`b6941ae`](b6941ae5d5): ci: refactor codebase and optimize performance ([@&#8203;appleboy](https://github.com/appleboy))
-   [`43895f2`](43895f2cd5): ci: refactor SSH testing workflows and job configurations ([@&#8203;appleboy](https://github.com/appleboy))
-   [`06fa62e`](06fa62e61c): ci: rename the workflow files. ([@&#8203;appleboy](https://github.com/appleboy))
-   [`b4a07ca`](b4a07ca594): ci: enhance GitHub Actions with secret variable support ([#&#8203;330](https://github.com/appleboy/ssh-action/issues/330)) ([@&#8203;appleboy](https://github.com/appleboy))
-   [`25ce8cb`](25ce8cbbcb): ci: implement automated release workflow with GoReleaser ([@&#8203;appleboy](https://github.com/appleboy))

##### Documentation updates

-   [`8a779a5`](8a779a5b1a): docs: describe true usage of allenvs parameter ([#&#8203;301](https://github.com/appleboy/ssh-action/issues/301)) ([@&#8203;hussu010](https://github.com/hussu010))
-   [`fe44be0`](fe44be0b96): docs: improve documentation and CI robustness ([@&#8203;appleboy](https://github.com/appleboy))
-   [`dd0f09c`](dd0f09ca07): docs: improve README clarity and completeness ([@&#8203;appleboy](https://github.com/appleboy))
-   [`71d43ea`](71d43ea0f7): docs: improve documentation and testing configurations ([@&#8203;appleboy](https://github.com/appleboy))
-   [`28428a1`](28428a13f5): docs: improve cross-platform clipboard support for key copying ([@&#8203;appleboy](https://github.com/appleboy))
-   [`d732991`](d732991ab0): docs(lang): README.zh-cn Document ([#&#8203;332](https://github.com/appleboy/ssh-action/issues/332)) ([@&#8203;astralwaveio](https://github.com/astralwaveio))

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #482
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-28 11:27:39 +00:00
1aca8c7b60 Update dependency @types/node to v22.8.1 (#480)
All checks were successful
Deploy To Stage / build (push) Successful in 8s
Deploy To Stage / deploy (push) Successful in 15s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | devDependencies | minor | [`22.5.5` -> `22.8.1`](https://renovatebot.com/diffs/npm/@types%2fnode/22.5.5/22.8.1) |

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **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://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #480
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-10-28 11:26:25 +00:00
bfbf386eeb Fix link only mode not checking the message id
All checks were successful
Test / build (push) Successful in 6s
2024-10-25 17:38:22 +01:00
b81f607702 Merge branch 'main' into develop
All checks were successful
Deploy To Stage / build (push) Successful in 10s
Deploy To Stage / deploy (push) Successful in 15s
2024-10-18 18:12:07 +01:00
6acc5a9a02 v3.2.3
All checks were successful
Deploy To Production / build (push) Successful in 7s
Deploy To Production / deploy (push) Successful in 16s
2024-10-18 18:09:26 +01:00
d75f7e650c 3.2.3 2024-10-18 18:09:19 +01:00
923348d809 Migrate to yarn
All checks were successful
Test / build (push) Successful in 9s
2024-10-18 18:07:42 +01:00
6f91134756 Add to registry
Some checks failed
Test / build (push) Failing after 3s
2024-10-18 18:04:49 +01:00
1acedfbd3d WIP: Start of implementing a link-only mode
Some checks failed
Test / build (push) Failing after 4s
2024-10-12 13:45:41 +01:00
4ed5beb42a Move to yarn 2024-10-12 13:04:44 +01:00
4d20d9e608 WIP: Start of moonset command
All checks were successful
Test / build (push) Successful in 6s
2024-09-29 13:51:00 +01:00