Commit Graph

62 Commits

Author SHA1 Message Date
minori 093411b119 deps: update turbo to 2.8.12 (#19)
Node.js CI / CI (push) Successful in 43s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 2m21s
## Dependency Update

Updates **turbo** from `2.8.11` to `2.8.12`.

### Type
devDependencies

### Changelog
Updated from 2.8.11 to 2.8.12

---
 This PR was created by Minori, your friendly dependency updater! 🌸

Reviewed-on: #19
Reviewed-by: Naomi Carrigan <accounts@nhcarrigan.com>
Co-authored-by: Minori <minori@nhcarrigan.com>
Co-committed-by: Minori <minori@nhcarrigan.com>
2026-03-31 18:04:35 -07:00
hikari ad6b0c6f5a fix: web client styling and nav updates (#21)
Node.js CI / CI (push) Has been cancelled
Security Scan and Upload / Security & DefectDojo Upload (push) Has been cancelled
## Summary

- Aligns the client with the NHCarrigan style guide (witch palette, Griffy/Kalam fonts, shared stylesheet)
- Fixes sanctions page to sort by case number descending
- Updates all Hikari image URLs to `cdn.nhcarrigan.com/hikari.png`
- Adds Support link to nav (https://support.nhcarrigan.com)
- Fixes Chat nav link to point to https://chat.nhcarrigan.com

 This issue was created with help from Hikari~ 🌸

Reviewed-on: #21
Co-authored-by: Hikari <hikari@nhcarrigan.com>
Co-committed-by: Hikari <hikari@nhcarrigan.com>
2026-03-31 18:04:10 -07:00
hikari 39b22c9514 fix: correct announcement API endpoint and add optional content fields (#20)
Node.js CI / CI (push) Successful in 43s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m50s
## Summary

- Fixes the announcement API URL from `/announcement` to `/api/announcement`
- Adds three optional additional content text inputs (Parts 2–4) to the announcement modal
- The bot concatenates all non-empty content fields with double newlines before forwarding to the API
- Only the first content field and the category selector remain required

## Test Plan

- [ ] Run `/announcement` and verify the modal opens with four content fields and a category selector
- [ ] Submit with only the first content field filled — verify it sends correctly
- [ ] Submit with multiple content fields filled — verify they are concatenated in the API request
- [ ] Verify the API no longer returns HTTP 405

Reviewed-on: #20
Co-authored-by: Hikari <hikari@nhcarrigan.com>
Co-committed-by: Hikari <hikari@nhcarrigan.com>
2026-03-23 15:59:42 -07:00
hikari 11b23b10a6 refactor: consolidate modal routing and use LabelBuilder for modal components
Node.js CI / CI (push) Successful in 41s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m56s
Merges modalInteractionCreate into interactionCreate, and replaces
ActionRowBuilder with LabelBuilder for the announcement modal components.
2026-03-12 23:21:06 -07:00
hikari e2167b117a deps: update discord.js to 14.25.1
Node.js CI / CI (push) Successful in 42s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m2s
Enables typed getStringSelectValues() for modal select menus,
removing the need for type assertion workarounds.
2026-03-12 23:01:22 -07:00
hikari 2991a56147 feat: add /announcement owner-only slash command
Triggers a modal with a content text input and category select menu,
calls the announcement API, DMs generated copy as file attachments,
and replies ephemerally with the platform recap.
2026-03-12 23:01:19 -07:00
hikari ab1c41224d chore: disable message create event handler
Node.js CI / CI (push) Successful in 45s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m3s
2026-03-11 08:57:47 -07:00
minori 7774634ffe Merge pull request 'deps: update turbo to 2.8.11' (#18) from dependencies/update-turbo into main
Node.js CI / CI (push) Successful in 1m1s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m29s
2026-03-09 07:01:36 -07:00
minori b1bfd2439f deps: update turbo to 2.8.11
Node.js CI / CI (pull_request) Successful in 1m10s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m19s
2026-03-07 07:02:02 -08:00
hikari 637699f5bb feat: announce on Discourse support forum (#17)
Node.js CI / CI (push) Successful in 53s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 2m32s
## Summary

- Adds `announceOnDiscourse` module to post announcements to the NHCarrigan Discourse support forum (category 16), tagged by announcement type
- Adds `chunkContent` utility to split long announcements at paragraph/line boundaries for Discord (2000 chars), Reddit (40,000 chars), and Discourse (32,000 chars); Reddit overflows chain as nested replies, Discord as sequential messages, Discourse as sequential replies
- Refactors the announcement route to run all platforms concurrently via `Promise.allSettled`, ensuring a failure on any one platform never blocks the others, with all results reported back
- Fixes generation failure response from incorrect `201` to `500`

 This PR was created with love from Hikari~ 🌸

Reviewed-on: #17
Co-authored-by: Hikari <hikari@nhcarrigan.com>
Co-committed-by: Hikari <hikari@nhcarrigan.com>
2026-03-03 18:05:27 -08:00
hikari 46b285fd97 chore: replace .npmrc with pnpm-workspace.yaml
Node.js CI / CI (push) Failing after 26s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m23s
2026-03-02 16:27:54 -08:00
minori 8e0fa8755c Merge pull request 'deps: update turbo to 2.8.10' (#16) from dependencies/update-turbo into main
Node.js CI / CI (push) Successful in 1m9s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m57s
2026-03-01 07:01:52 -08:00
minori 01c138ffda deps: update turbo to 2.8.10
Node.js CI / CI (pull_request) Successful in 1m3s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m44s
2026-02-28 07:02:03 -08:00
minori beefa832a1 Merge pull request 'deps: update turbo to 2.8.9' (#15) from dependencies/update-turbo into main
Node.js CI / CI (push) Successful in 1m4s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m40s
2026-02-27 07:01:54 -08:00
minori 3d39b8cb21 deps: update turbo to 2.8.9
Node.js CI / CI (pull_request) Successful in 59s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m37s
2026-02-26 07:02:15 -08:00
minori cce24e2d9e Merge pull request 'deps: update turbo to 2.8.8' (#14) from dependencies/update-turbo into main
Node.js CI / CI (push) Successful in 56s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m25s
2026-02-25 07:02:08 -08:00
minori 71bda44fd7 deps: update turbo to 2.8.8
Node.js CI / CI (pull_request) Successful in 55s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m19s
2026-02-24 07:02:42 -08:00
minori 00e0f09647 Merge pull request 'deps: update turbo to 2.7.6' (#10) from dependencies/update-turbo into main
Node.js CI / CI (push) Successful in 57s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m34s
2026-02-23 20:45:35 -08:00
minori 3add1c2177 deps: update turbo to 2.8.3
Node.js CI / CI (pull_request) Successful in 1m0s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m28s
2026-02-14 07:04:15 -08:00
minori 06bfc16d06 deps: update turbo to 2.8.2
Node.js CI / CI (pull_request) Successful in 1m0s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m33s
2026-02-13 07:05:55 -08:00
minori 80aefd0482 deps: update turbo to 2.8.1
Node.js CI / CI (pull_request) Successful in 56s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m18s
2026-02-10 07:03:55 -08:00
minori 75b53ec7de deps: update turbo to 2.8.0
Node.js CI / CI (pull_request) Successful in 1m27s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 3m9s
2026-02-08 07:11:42 -08:00
minori 98322a9881 deps: update turbo to 2.7.6
Node.js CI / CI (pull_request) Successful in 1m4s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m34s
2026-02-04 08:30:46 -08:00
hikari f755c57b8a docs: update feedback section to use support forum
Node.js CI / CI (push) Successful in 41s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m33s
2026-01-26 12:37:22 -08:00
naomi 922dee415a feat: more automated announcements (#8)
Node.js CI / CI (push) Successful in 44s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m25s
### Explanation

Makes my life so much easier.

### Issue

_No response_

### Attestations

- [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/)
- [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/).
- [x] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/).

### Dependencies

- [x] I have pinned the dependencies to a specific patch version.

### Style

- [x] I have run the linter and resolved any errors.
- [x] My pull request uses an appropriate title, matching the conventional commit standards.
- [x] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request.

### Tests

- [ ] My contribution adds new code, and I have added tests to cover it.
- [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes.
- [ ] All new and existing tests pass locally with my changes.
- [ ] Code coverage remains at or above the configured threshold.

### Documentation

_No response_

### Versioning

Minor - My pull request introduces a new non-breaking feature.

Reviewed-on: #8
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
2026-01-08 18:07:28 -08:00
naomi e462c9472d feat: automated upload of .gitea/workflows/ci.yml
Node.js CI / CI (push) Failing after 28s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m1s
2025-12-22 19:42:55 +01:00
naomi 136fecb720 feat: automated upload of .gitea/workflows/ci.yml
Node.js CI / CI (push) Has been cancelled
Security Scan and Upload / Security & DefectDojo Upload (push) Has been cancelled
2025-12-22 19:36:24 +01:00
naomi 23a8ed4b21 feat: automated upload of .gitea/workflows/ci.yml
Security Scan and Upload / Security & DefectDojo Upload (push) Has been cancelled
Node.js CI / Lint and Test (push) Has been cancelled
2025-12-22 19:26:10 +01:00
naomi 7954b84d0a feat: automated upload of .npmrc
Node.js CI / Lint and Test (push) Has been cancelled
Security Scan and Upload / Security & DefectDojo Upload (push) Has been cancelled
2025-12-22 19:16:57 +01:00
naomi 3fa5fce80b feat: automated upload of .gitea/workflows/security.yml
Node.js CI / Lint and Test (push) Successful in 41s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m7s
2025-12-18 03:09:12 +01:00
naomi 5c8faaf3f8 fix: no more forum posts, so remove requirements.
Node.js CI / Lint and Test (push) Successful in 1m43s
2025-10-31 18:11:29 -07:00
naomi 865b11ed21 chore: update font to Vampyr
Node.js CI / Lint and Test (push) Successful in 1m38s
2025-10-29 18:54:05 -07:00
naomi fa11924663 fix: wtf did i commit then
Node.js CI / Lint and Test (push) Successful in 1m33s
2025-10-09 20:56:07 -07:00
naomi 789b81a5fe feat: actually remove MCP
Node.js CI / Lint and Test (push) Failing after 1m10s
2025-10-09 20:54:24 -07:00
naomi 5bd6e03a8d feat: add analytics, fix mcp logic
Node.js CI / Lint and Test (push) Successful in 1m39s
2025-10-09 20:36:39 -07:00
naomi c8bd129c0f feat: use data api for products
Node.js CI / Lint and Test (push) Successful in 1m35s
2025-09-27 14:53:35 -07:00
naomi bc2368866e chore: use live sanction api url
Node.js CI / Lint and Test (push) Successful in 1m36s
2025-08-25 16:30:32 -07:00
naomi 7d92047c40 chore: update product list
Node.js CI / Lint and Test (push) Successful in 1m39s
2025-08-25 16:28:40 -07:00
naomi dc34fbeafd chore: gitignore bot/prod 2025-08-25 15:56:46 -07:00
naomi 24c0d10bab chore: remove erroneous prod folder 2025-08-25 15:56:10 -07:00
naomi 908f22d6aa feat: add ability to log and display sanctions 2025-08-25 15:55:48 -07:00
naomi a9126ec826 fix: only respond to direct pings, ignore bots
Node.js CI / Lint and Test (push) Failing after 1m11s
2025-08-16 18:11:19 -07:00
naomi 17d727d918 chore: missed one
Node.js CI / Lint and Test (push) Failing after 1m14s
2025-08-14 11:42:59 -07:00
naomi b6c49f1206 feat: no more forum announcements
Node.js CI / Lint and Test (push) Failing after 1m13s
2025-08-14 11:40:46 -07:00
naomi b8b17b72a3 feat: incorporate more socials (#6)
Node.js CI / Lint and Test (push) Successful in 1m29s
### Explanation

We can automate the heck out of announcements everywhere. Except LinkedIn, because that API looks agonising.

### Issue

_No response_

### Attestations

- [ ] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/)
- [ ] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/).
- [ ] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/).

### Dependencies

- [ ] I have pinned the dependencies to a specific patch version.

### Style

- [ ] I have run the linter and resolved any errors.
- [ ] My pull request uses an appropriate title, matching the conventional commit standards.
- [ ] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request.

### Tests

- [ ] My contribution adds new code, and I have added tests to cover it.
- [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes.
- [ ] All new and existing tests pass locally with my changes.
- [ ] Code coverage remains at or above the configured threshold.

### Documentation

_No response_

### Versioning

_No response_

Reviewed-on: #6
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
2025-07-19 18:16:41 -07:00
naomi 99bd8c69cd fix: response structure?
Node.js CI / Lint and Test (push) Successful in 1m30s
2025-07-14 14:47:26 -07:00
naomi 9a845ed80d feat: use mcp beta instead of prompt
Node.js CI / Lint and Test (push) Successful in 1m21s
2025-07-14 14:34:47 -07:00
naomi 0fd4218e31 fix: make it regular ts
Node.js CI / Lint and Test (push) Successful in 1m22s
2025-07-14 14:23:51 -07:00
naomi 15b4626f8d fix: bugs?
Node.js CI / Lint and Test (push) Successful in 1m24s
2025-07-14 14:18:00 -07:00
naomi 1fcb658cf1 feat: set up mcp for docs (#5)
Node.js CI / Lint and Test (push) Successful in 1m25s
### Explanation

_No response_

### Issue

_No response_

### Attestations

- [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/)
- [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/).
- [x] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/).

### Dependencies

- [x] I have pinned the dependencies to a specific patch version.

### Style

- [x] I have run the linter and resolved any errors.
- [x] My pull request uses an appropriate title, matching the conventional commit standards.
- [x] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request.

### Tests

- [ ] My contribution adds new code, and I have added tests to cover it.
- [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes.
- [ ] All new and existing tests pass locally with my changes.
- [ ] Code coverage remains at or above the configured threshold.

### Documentation

_No response_

### Versioning

_No response_

Reviewed-on: #5
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
2025-07-14 14:15:01 -07:00