Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule ".release"]
path = .release
url = git@github.com:msimerson/.release.git
url = https://github.com/msimerson/.release.git
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).

### Unreleased

- move mysql teardown/disconnect into mysql classes
### [3.0.0-alpha.12] - 2026-04-13

- toml backend (#49)
- add: TOML stores for group, nameserver, permission, session (#47)
- move mysql teardown/disconnect into mysql classes
- fix: don't log sensitive information
- add: TOML stores for group, nameserver, permission, session
- routes file reorg (#46)
- factories for groups (#44)
- ci: remove local codeql config (#43)
- ci: update permissions to be explicit (#42)
- docker compose support + env var config overrides (#40)

### [3.0.0-alpha.11] - 2026-04-07

Expand Down Expand Up @@ -86,3 +94,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
[3.0.0-alpha.9]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.9
[3.0.0-alpha.10]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.10
[3.0.0-alpha.11]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.11
[3.0.0-alpha.12]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.12
4 changes: 2 additions & 2 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

This handcrafted artisanal software is brought to you by:

| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/NicTool/api/commits?author=msimerson">19</a>)|
| :---: |
| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/NicTool/api/commits?author=msimerson">26</a>)| <img height="80" src="https://avatars.githubusercontent.com/u/586805?v=4"><br><a href="https://github.com/aberoham">aberoham</a> (<a href="https://github.com/NicTool/api/commits?author=aberoham">1</a>)|
| :---: | :---: |

<sub>this file is generated by [.release](https://github.com/msimerson/.release).
Contribute to this project to get your GitHub profile included here.</sub>
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nictool/api",
"version": "3.0.0-alpha.11",
"version": "3.0.0-alpha.12",
"description": "NicTool API",
"main": "index.js",
"type": "module",
Expand Down Expand Up @@ -49,21 +49,21 @@
"@eslint/js": "^10.0.1",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.4.0"
"globals": "^17.5.0"
},
"dependencies": {
"@hapi/cookie": "^12.0.1",
"@hapi/hapi": "^21.4.8",
"@hapi/hoek": "^11.0.7",
"@hapi/inert": "^7.1.0",
"joi": "^17.13.3",
"@hapi/jwt": "^3.2.3",
"@hapi/vision": "^7.0.3",
"@nictool/dns-resource-record": "^1.6.0",
"@nictool/validate": "^0.8.9",
"hapi-swagger": "^17.3.2",
"mysql2": "^3.20.0",
"qs": "^6.15.0",
"@nictool/validate": "^0.8.10",
"@msimerson/hapi-openapi": "^18.0.0",
"joi": "^18.1.2",
"mysql2": "^3.22.0",
"qs": "^6.15.1",
"smol-toml": "^1.6.1"
},
"prettier": {
Expand All @@ -72,4 +72,4 @@
"singleQuote": true,
"trailingComma": "all"
}
}
}
2 changes: 1 addition & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// import Cookie from '@hapi/cookie'
import Inert from '@hapi/inert'
import Vision from '@hapi/vision'
import HapiSwagger from 'hapi-swagger'
import HapiSwagger from '@msimerson/hapi-openapi'
// import Hoek from '@hapi/hoek'

import qs from 'qs'
Expand Down Expand Up @@ -95,7 +95,7 @@
},
httpAuthScheme: 'Bearer',
headerName: 'authorization',
validate: (artifacts, request, h) => {

Check warning on line 98 in routes/index.js

View workflow job for this annotation

GitHub Actions / lint / lint

'h' is defined but never used

Check warning on line 98 in routes/index.js

View workflow job for this annotation

GitHub Actions / lint / lint

'request' is defined but never used
return {
isValid: true,
credentials: artifacts.decoded.payload.nt,
Expand Down
Loading