Skip to content

Commit 890751c

Browse files
committed
zone_record can be empty, default 0
- convert .yaml to .toml new file: routes/zone_record.test.js
1 parent 9f03799 commit 890751c

20 files changed

Lines changed: 412 additions & 234 deletions

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ jobs:
8888
- run: npm test
8989

9090
test-win:
91-
# if: false
9291
needs: [ get-lts ]
9392
runs-on: windows-latest
9493
strategy:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,4 @@ dist
130130
.pnp.*
131131

132132
package-lock.json
133+
conf.d/*.pem

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.release/

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
66

77
### Unreleased
88

9+
### [3.0.0-alpha.10] - 2026-03-25
10+
11+
- config: replace .yaml with .toml
12+
- zone_record can be empty, default 0
13+
- feat(zone records): create and delete
14+
915
### [3.0.0-alpha.9] - 2026-03-15
1016

1117
- feat(zone): use DataTable for list, added search/limit options
@@ -64,3 +70,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
6470
[3.0.0-alpha.7]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.7
6571
[3.0.0-alpha.8]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.8
6672
[3.0.0-alpha.9]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.9
73+
[3.0.0-alpha.10]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.10

CONTRIBUTORS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This handcrafted artisanal software is brought to you by:
44

5-
| <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">16</a>)|
5+
| <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">18</a>)|
66
| :---: |
77

88
<sub>this file is generated by [.release](https://github.com/msimerson/.release).

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
# NicTool API v3
55

6+
A RESTful JSON web service that exposes DNS management functions to users.
67

78
## Install
89

conf.d/http.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
host = "localhost"
2+
port = 3000
3+
keepAlive = false
4+
group = "NicTool"
5+
6+
[jwt]
7+
key = "af1b926a5e21f535c4f5b6c42941c4cf"
8+
9+
[cookie]
10+
# https://hapi.dev/module/cookie/api/?v=12.0.1
11+
name = "sid-nictool"
12+
ttl = 3600000 # 1 hour
13+
path = "/"
14+
clearInvalid = true
15+
isSameSite = "Strict"
16+
isSecure = true
17+
isHttpOnly = false
18+
password = "" # hint: openssl rand -hex 16

conf.d/http.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

conf.d/mysql.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
host = "127.0.0.1"
2+
port = 3306
3+
socketPath = ""
4+
user = "nictool"
5+
database = "nictool"
6+
timezone = "+00:00"
7+
dateStrings = ["DATETIME", "TIMESTAMP"]
8+
decimalNumbers = true
9+
password = ""

0 commit comments

Comments
 (0)