Skip to content

Commit ec3f754

Browse files
Merge pull request #26 from Supernova3339/1.0.6
2 parents d45b8f1 + fa169cf commit ec3f754

203 files changed

Lines changed: 37127 additions & 4189 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/settings.local.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,26 @@
33
"allow": [
44
"Bash(npm run build:*)",
55
"mcp__next-devtools__init",
6-
"mcp__next-devtools__browser_eval"
6+
"mcp__next-devtools__browser_eval",
7+
"WebFetch(domain:api.slack.com)",
8+
"Bash(cat:*)",
9+
"Bash(find . -type f \\\\\\( -name \"*.test.ts\" -o -name \"*.test.tsx\" -o -name \"*.spec.ts\" -o -name \"*.spec.tsx\" \\\\\\) 2>/dev/null | head -20)",
10+
"Bash(for file in app/api/check-setup/route.ts app/api/config/timezone/route.ts app/api/avatar/[hash]/route.ts app/api/integrations/widget/[projectId]/route.ts)",
11+
"Bash(do echo \"=== $file ===\")",
12+
"Read(//c/Users/Nova/WebstormProjects/changerawr/**)",
13+
"Bash(done)",
14+
"Bash(grep -n \"smtpPassword\" /c/Users/Nova/WebstormProjects/changerawr/app/api/projects/[projectId]/integrations/email/route.ts | head -10)",
15+
"Bash(grep -n \"smtpPassword\\\\|clientSecret\" /c/Users/Nova/WebstormProjects/changerawr/app/api/projects/[projectId]/integrations/email/test/route.ts | head -5)",
16+
"Bash(grep -B 5 -A 10 \"return NextResponse.json\\(safeConfig\\)\" /c/Users/Nova/WebstormProjects/changerawr/app/api/projects/[projectId]/integrations/email/route.ts)",
17+
"Bash(grep -n \"return NextResponse.json\" /c/Users/Nova/WebstormProjects/changerawr/app/api/projects/[projectId]/integrations/email/route.ts | head -10)",
18+
"Bash(wc -l /c/Users/Nova/WebstormProjects/changerawr/app/api/projects/[projectId]/changelog/[entryId]/route.ts)",
19+
"Bash(cd \"C:/Users/Nova/WebstormProjects/changerawr\" && npx tsc --noEmit 2>&1 | head -60)",
20+
"Bash(cd \"C:/Users/Nova/WebstormProjects/changerawr\" && npx tsc --noEmit 2>&1 | grep -v \"allowedEmailDomains\\\\|blockExistingUsers\\\\|requiredClaims\" | head -40)",
21+
"Bash(ls -la \"C:\\\\Users\\\\Nova\\\\WebstormProjects\\\\changerawr\\\\app\\\\api\\\\projects\\\\[projectId]\\\\integrations\\\\email\\\\\" 2>/dev/null | head -20)",
22+
"Read(//c/Users/Nova/WebstormProjects/nginx-agent/**)",
23+
"Bash(npx tsc --noEmit 2>&1 | grep -v \"allowedEmailDomains\\\\|blockExistingUsers\\\\|requiredClaims\\\\|allowAutoPublish\\\\|requireApproval\" | head -20)",
24+
"Bash(cd \"C:/Users/Nova/WebstormProjects/nginx-agent\" && npx tsc --noEmit 2>&1 | head -20)",
25+
"Bash(cd \"C:/Users/Nova/WebstormProjects/nginx-agent\" && node_modules/.bin/tsc --noEmit 2>&1 | head -20)"
726
],
827
"deny": [],
928
"ask": []

.dockerignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@ dist
1818
.turbo
1919
public/swagger.json
2020
public/widget-bundle.js
21-
public/widget-bundle.js.map
21+
public/widget-bundle.js.map
22+
useful-information-for-development
23+
APIDOCGUIDE.md
24+
CHANGELOG.md
25+
docker-compose-online.yml
26+
docker-compose.yml

.env.example

Lines changed: 115 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,124 @@
1-
# Environment variables declared in this file are automatically made available to Prisma.
2-
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
1+
# ============================================================================
2+
# Changerawr Environment Configuration
3+
# ============================================================================
4+
# Copy to .env.local and fill in your values
5+
# Generate secrets: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
6+
# ============================================================================
37

4-
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
5-
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
8+
# ============================================================================
9+
# REQUIRED
10+
# ============================================================================
611

12+
# Database (PostgreSQL)
713
DATABASE_URL="postgresql://postgres@localhost:5432/changerawr?schema=public"
14+
15+
# JWT secret for tokens
816
JWT_ACCESS_SECRET=""
17+
18+
# Public URL (http://localhost:3000 or https://your-domain.com)
919
NEXT_PUBLIC_APP_URL="http://localhost:3000"
10-
GITHUB_ENCRYPTION_KEY="" # node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
11-
# EASYPANEL_PROJECT_ID used for automatic updates if using Easypanel
12-
# EASYPANEL_SERVICE_ID used for automatic updates if using Easypanel
13-
# EASYPANEL_PANEL_URL
14-
# EASYPANEL_API_KEY
15-
CHR_EPOA2_SERV_URL=""# oauth2 server URL ( no "/" )
16-
CHR_EPOA2_SERV_API_KEY="" # oauth2 server API key
17-
ANALYTICS_SALT=your-secure-random-salt-here
1820

19-
ENABLE_JOB_RUNNER # on development, this must be true if you want to work with scheduled jobs.
21+
# Analytics salt
22+
ANALYTICS_SALT="your-secure-random-salt-here"
23+
24+
# ============================================================================
25+
# Feature Flags
26+
# ============================================================================
27+
28+
# Set to false after setup wizard completes
29+
SETUP_COMPLETE=false
30+
31+
# Job runner (true in dev if testing scheduled jobs)
32+
ENABLE_JOB_RUNNER=false
33+
34+
# Markdown editor toolbar
35+
NEXT_PUBLIC_ENABLE_CUM=true
36+
37+
# Dev tooling
38+
NEXT_PUBLIC_SHOW_WWC_TOOLING=false
39+
40+
# Debug telemetry (leave off)
41+
# SHOW_TELEMETRY_LOGS=false
42+
43+
# ============================================================================
44+
# Security
45+
# ============================================================================
46+
47+
# Cookie settings (false for localhost, true for HTTPS)
48+
COOKIE_SECURE=true
49+
50+
# Comma-separated domains for cookie control
51+
# COOKIE_SECURE_DOMAINS="example.com,localhost"
52+
53+
# Extra allowed domains beyond defaults
54+
# (cloudflareinsights.com, cdnjs.cloudflare.com, unpkg.com, cdn.jsdelivr.net, fonts.googleapis.com, fonts.gstatic.com)
55+
ALLOWED_EXTERNAL_DOMAINS=""
56+
57+
# ============================================================================
58+
# GitHub Integration ( required )
59+
# ============================================================================
60+
61+
GITHUB_ENCRYPTION_KEY=""
62+
63+
# ============================================================================
64+
# Easypanel (if using)
65+
# ============================================================================
66+
67+
# EASYPANEL_PROJECT_ID=""
68+
# EASYPANEL_SERVICE_ID=""
69+
# EASYPANEL_PANEL_URL=""
70+
# EASYPANEL_API_KEY=""
71+
72+
# ============================================================================
73+
# OAuth2 Server (if using external auth)
74+
# ============================================================================
75+
76+
CHR_EPOA2_SERV_URL=""
77+
CHR_EPOA2_SERV_API_KEY=""
78+
79+
# ============================================================================
80+
# SSL Certificates (Let's Encrypt)
81+
# ============================================================================
82+
# Requires nginx-agent: github.com/changerawr/nginx-agent (if using docker this will auto-install!)
83+
# ============================================================================
84+
85+
# Show SSL UI in dashboard
86+
NEXT_PUBLIC_SSL_ENABLED=false
87+
88+
# Let's Encrypt email
89+
ACME_EMAIL="admin@example.com"
90+
91+
# Use staging (true = test certs, false = production)
92+
# Staging certs work but aren't browser-trusted. Good for testing.
93+
ACME_STAGING=true
94+
95+
# Legacy (same as ACME_STAGING)
96+
ACME_SANDBOX_MODE=false
97+
98+
# ============================================================================
99+
# nginx-agent (required if SSL enabled)
100+
# ============================================================================
101+
# These MUST match your nginx-agent config
102+
# ============================================================================
103+
104+
NGINX_AGENT_URL="http://localhost:7842"
105+
106+
# Webhook signing (must match AGENT_SECRET in nginx-agent)
107+
NGINX_AGENT_SECRET=""
108+
109+
# API auth (must match INTERNAL_API_SECRET in nginx-agent)
110+
INTERNAL_API_SECRET=""
111+
112+
# Certificate encryption
113+
# Generate: node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
114+
ENCRYPTION_KEY=""
20115

21-
NEXT_PUBLIC_ENABLE_CUM # set this to false to disable the Changerawr Universal Markdown engine in the editor. It will still render elements, you just will not have the built-in toolset of CUM.
116+
# ============================================================================
117+
# SSL Auto-Renewal
118+
# ============================================================================
22119

23-
NEXT_PUBLIC_SHOW_WWC_TOOLING # set this to true to enable all tooling
120+
# Days before expiry to renew (default: 30)
121+
SSL_RENEWAL_THRESHOLD_DAYS=30
24122

25-
SHOW_TELEMETRY_LOGS # set this to true if debugging telemetry, used internally so do not touch this unless you absolutely know what you are doing
123+
# Max certs per cron run (default: 10)
124+
SSL_RENEWAL_BATCH_SIZE=10

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,13 @@ next-env.d.ts
6565
# sensitive changerawr shenanigans
6666
.changerawr
6767
.changerawr/donotdeletethisfolder/donotdeletethisfile.chrcli.json
68+
nul
69+
null
70+
.chtsredevmscli
71+
.claude
72+
73+
# sponsorer server
74+
/sponsor-server
75+
76+
# user requests to add
77+
CLAUDE.md

.idea/db-forest-config.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 61 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,38 @@
1-
<!-- Generated by Changerawr CLI on 2025-11-14T05:45:33.110Z -->
1+
<!-- Generated by Changerawr CLI on 2026-04-16T07:21:32.297Z -->
22
# Changelog
33

44
All notable changes to this project will be documented in this file.
55

6-
## 1.0.5
6+
## v1.0.6
7+
8+
- **Version 1.0.6 - 2026-04-16**: :::warning
9+
There are security vulnerabilities in previous releases, it is recommended to upgrade as soon as possible to this one. There are also a breaking change, set `SETUP_COMPLETE=true` in your .env file as this is how to complete the setup wizard now. I strongly recommend re-rolling all API keys.
10+
:::
11+
12+
## Features
13+
- **Slack Integration** - You can now automatically post published entries to your Slack!
14+
- **Timezones** - Added timezone support per-user and globally, allowing for much more efficient collaboration between users with different time zones!
15+
- **SAML** - Adds support for SAML to SSO, adding a new method available for configuring single-sign-on.
16+
- *SSL Certificates for custom domains** - You can now get SSL certificates for custom domains! Just follow the nginx-sidecar documentation to get set up.
17+
- **IP Whitelisting** - You can now whitelist IP addresses to access the main panel. Note that this requires the nginx-sidecar to be set up.
18+
- **Version Templates** - Configure custom version format templates
19+
20+
## Improvements
21+
- **Extended Project Limits ** - Project limits have been extended for entries. If you wish to go beyond, please sponsor my work.
22+
- **UI Improvements** - Did various UI improvements to the administrative interface & fully redesigned the version picker
23+
- **Update Bar** - Whenever an update is available, you'll be much more likely to know thanks to the new pop-up.
24+
25+
## Bug Fixes
26+
- **Redirect Loop** - fixed issues with an infinite redirect loop after setup
27+
- **Strict Validation Local Domain** - Fixed issues with any domain being blocked for requests, preventing e.g., cloudflareinsghts from working, which subsequently blocked the panel from loading alltogether itself.
28+
- **System user show-up in admin dashboard** - Fixed an issue where the system user used for audit logs was being counted as a user in the total user count.
29+
30+
## Other
31+
- **Security Vulnerability patches** - A few vulnerabilities were disclosed to me, these have been patched in this release.
32+
- **Dependency Updates** - Updated to the latest dependencies, Nodemailer 8, and changerawr universal markdown 1.2.0!
33+
34+
35+
## v1.0.5
736

837
- **Version 1.0.5 - 2025-11-13**: :::warning
938
There are breaking changes in this release.
@@ -45,25 +74,26 @@ If you are using widgets at all, you will have to recreate them. If you are not
4574

4675
## 1.0.4
4776

48-
- **Version 1.0.4 - 2025-08-06**: :::warning
77+
- **Version 1.0.4 - 2025-?-?**: :::warning
4978
There are no breaking changes in this release.
5079
:::
5180

52-
**Features**
53-
81+
### Features
5482
- **Data Importing** - You can now import data from various sources to jump-start your Changerawr project!
55-
- **CUM** - Changerawr Universal Markdown engine introduces more functionality for the content editor. As of writing, Embeds, Buttons, and Alerts are available! \
56-
Provides a better experience overall, improving the parsing engine, adding tokenization, and improving overall usability!
57-
58-
59-
**Improvements**
83+
- **CUM** - Changerawr Universal Markdown engine introduces more functionality for the content editor.As of writing, Embeds, Buttons, and Alerts are available!
84+
Provides a better experience overall, improving the parsing engine, adding tokenization, and improving overall usability!
6085

86+
### Improvements
6187
- **Redesigned Projects Dashboard** - Updated the dashboard at (/dashboard/projects/projectId) to be less cluttered and more professional.
6288
- **Updated Projects Fetch Pagination** - Updated the default fetch for projects to 50 entries when listing.
6389
- **Redesigned Main Dashboard** - Redesigned the dashboard at (/dashboard), it needed a facelift and has been the same since 0.3.0 :(
6490
- **Content Editor Upgrades** - Introduces the CUM ( Changerawr Universal Markdown ) rendering engine for a better changelog experience.
6591
- **Improved Modal UI** - Added depth and optical borders to the modal UI. Also adds a "disableClose" prop for the rare case in which Changerawr is doing something and needs to let you know of its progress.
6692

93+
hello world!
94+
95+
96+
6797
## 1.0.3
6898

6999
- **Version 1.0.3 - 2025-07-02**: **Features**
@@ -135,37 +165,37 @@ You can find the source code at <https://github.com/changerawr/cli> - would supe
135165

136166
- **Redesigned Components** - Redesigned some components
137167

138-
## 0.3.8
168+
## 0.3.9
139169

140-
- **Version 0.3.8 - 2025-06-10**: **Features**
170+
- **Version 0.3.9 - 2025-06-10**: **Features**
141171

142-
- **Invite Your Team!** - You can now invite your team early in the initial setup wizard, rawrsome!
172+
- **Code Analyzation for GitHub Integration** - Changerawr can now look at your changed code and write a better changelog!
143173

144174

145175
**Bug Fixes**
146176

147-
- **Changelog Editor Fixes** - Fixed the version picker which would let you select versions already used, leading to issues. It will now check for overlapping before allowing you to set a version for your changelog.
177+
- **Account Deletion Fix** - Fixed an issue that prevented administrators from deleting a user's account. This process will anonymize all their data and actions while preserving their contributions.
148178

149179

150180
**Improvements**
151181

152-
- **Component Redesigns** - Redesigned the Version picker and Editor header
182+
- **Redesigned the New Project page** - Gave a much-needed facelift to the new project page so it feels more roomy. Has confetti now, success messages, and more excitement!
153183

154-
## 0.3.9
184+
## 0.3.8
155185

156-
- **Version 0.3.9 - 2025-06-10**: **Features**
186+
- **Version 0.3.8 - 2025-06-10**: **Features**
157187

158-
- **Code Analyzation for GitHub Integration** - Changerawr can now look at your changed code and write a better changelog!
188+
- **Invite Your Team!** - You can now invite your team early in the initial setup wizard, rawrsome!
159189

160190

161191
**Bug Fixes**
162192

163-
- **Account Deletion Fix** - Fixed an issue that prevented administrators from deleting a user's account. This process will anonymize all their data and actions while preserving their contributions.
193+
- **Changelog Editor Fixes** - Fixed the version picker which would let you select versions already used, leading to issues. It will now check for overlapping before allowing you to set a version for your changelog.
164194

165195

166196
**Improvements**
167197

168-
- **Redesigned the New Project page** - Gave a much-needed facelift to the new project page so it feels more roomy. Has confetti now, success messages, and more excitement!
198+
- **Component Redesigns** - Redesigned the Version picker and Editor header
169199

170200
## 0.3.7
171201

@@ -199,7 +229,7 @@ You can find the source code at <https://github.com/changerawr/cli> - would supe
199229

200230
**Other**
201231

202-
- **Routine Maintence** - Package Updates and Bug Fixes have been triaged successfully with this release.
232+
- **Routine Maintenance** - Package Updates and Bug Fixes have been triaged successfully with this release.
203233

204234
## 0.3.4
205235

@@ -225,27 +255,27 @@ You can find the source code at <https://github.com/changerawr/cli> - would supe
225255

226256
- **Better AI Assistant Design** - Redesigned AI Assistant
227257

228-
## 0.3.2
258+
## 0.3.1
229259

230-
- **Version 0.3.2 - 2025-05-12**: **Features**
260+
- **Version 0.3.1 - 2025-05-12**: **Features**
231261

232-
- **'What's New' Modal Available on the About Page** - The "What's New" modal is now accessible from the About page.
262+
- **New Feature** - Added "What's New" model to inform of latest changes from the most recent Changerawr update
233263

234264

235-
**Improvements**
265+
**Bug Fixes**
236266

237-
- **Redesigns** - Redesigned "What's New" modal.
267+
- **Bug Fixes** - Fixed a few bugs with tokenization and the AI assistant
238268

239-
## 0.3.1
269+
## 0.3.2
240270

241-
- **Version 0.3.1 - 2025-05-12**: **Features**
271+
- **Version 0.3.2 - 2025-05-12**: **Features**
242272

243-
- **New Feature** - Added "What's New" model to inform of latest changes from the most recent Changerawr update
273+
- **'What's New' Modal Available on the About Page** - The "What's New" modal is now accessible from the About page.
244274

245275

246-
**Bug Fixes**
276+
**Improvements**
247277

248-
- **Bug Fixes** - Fixed a few bugs with tokenization and the AI assistant
278+
- **Redesigns** - Redesigned "What's New" modal.
249279

250280
## 0.3.0
251281

0 commit comments

Comments
 (0)