Skip to content

Commit df3ac87

Browse files
canisminor1990arvinxx
andauthoredDec 26, 2024··
✨ feat: Add changelog modal (#4800)
* ✨ feat: Add changelog modal * 💄 style: Update changelog style * ✅ test: Add test * 🔧 chore: Add CDN workflow * ✅ test: Fix test * ✅ test: Fix test * 📝 docs: Update changelog * 📝 docs: Update cdn * refactor version * feat: 实现 changelog 初始化入口,新增后端应用层状态初始化入口 * 🐛 fix: Fix useCheckLatestChangelogId * 🔧 chore: Update types * 🐛 fix: Fix lint * upgrade * ✨ feat: Update env * 🔧 chore: Rename DOC_S3 env * ✅ test: Update test * 👷 ci: Fix build lint error * ♻️ refactor: Refactor models * 💄 style: Add feature flag * ✅ test: Fix test * 💄 style: Rm mobile modal * 💄 style: Update canonical url --------- Co-authored-by: arvinxx <arvinx@foxmail.com>
1 parent 95248dc commit df3ac87

File tree

134 files changed

+2892
-264
lines changed

Some content is hidden

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

134 files changed

+2892
-264
lines changed
 

‎.env.example

+19-8
Original file line numberDiff line numberDiff line change
@@ -139,23 +139,34 @@ OPENAI_API_KEY=sk-xxxxxxxxx
139139
# the format is `plugin-identifier:key1=value1;key2=value2`, multiple settings fields are separated by semicolons `;`, multiple plugin settings are separated by commas `,`.
140140
# PLUGIN_SETTINGS=search-engine:SERPAPI_API_KEY=xxxxx
141141

142+
########################################
143+
####### Doc / Changelog Service ########
144+
########################################
145+
146+
# Use in Changelog / Document service cdn url prefix
147+
# DOC_S3_PUBLIC_DOMAIN=https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
148+
149+
# Use in dev cdn workflow
150+
# DOC_S3_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
151+
# DOC_S3_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
152+
142153

143154
########################################
144155
##### S3 Object Storage Service ########
145156
########################################
146157

147158
# S3 keys
148-
#S3_ACCESS_KEY_ID=9998d6757e276cf9f1edbd325b7083a6
149-
#S3_SECRET_ACCESS_KEY=55af75d8eb6b99f189f6a35f855336ea62cd9c4751a5cf4337c53c1d3f497ac2
159+
# S3_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
160+
# S3_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
150161

151162
# Bucket name
152-
#S3_BUCKET=lobechat
163+
# S3_BUCKET=lobechat
153164

154165
# Bucket request endpoint
155-
#S3_ENDPOINT=https://0b33a03b5c993fd2f453379dc36558e5.r2.cloudflarestorage.com
166+
# S3_ENDPOINT=https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.r2.cloudflarestorage.com
156167

157168
# Public access domain for the bucket
158-
#S3_PUBLIC_DOMAIN=https://s3-for-lobechat.your-domain.com
169+
# S3_PUBLIC_DOMAIN=https://s3-for-lobechat.your-domain.com
159170

160171
# Bucket region, such as us-west-1, generally not needed to add
161172
# but some service providers may require configuration
@@ -190,11 +201,11 @@ OPENAI_API_KEY=sk-xxxxxxxxx
190201
########################################
191202

192203
# Specify the service mode as server if you want to use the server database
193-
#NEXT_PUBLIC_SERVICE_MODE=server
204+
# NEXT_PUBLIC_SERVICE_MODE=server
194205

195206
# Postgres database URL
196-
#DATABASE_URL=postgres://username:password@host:port/database
207+
# DATABASE_URL=postgres://username:password@host:port/database
197208

198209
# use `openssl rand -base64 32` to generate a key for the encryption of the database
199210
# we use this key to encrypt the user api key
200-
#KEY_VAULTS_SECRET=xxxxx/xxxxxxxxxxxxxx=
211+
# KEY_VAULTS_SECRET=xxxxx/xxxxxxxxxxxxxx=

‎.eslintignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ logs
2828

2929
# misc
3030
# add other ignore file below
31-
.next
31+
.next

0 commit comments

Comments
 (0)
Please sign in to comment.