diff --git a/CHANGELOG.md b/CHANGELOG.md
index 023b8c92..fa280c21 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,20 @@
# CHANGE LOG
+## v0.2.8
+
+- 允许用户删除邮件
+- admin 修改发件权限时邮件通知用户
+- 发件权限默认 1 条
+- 添加 RATE_LIMITER 限流 发送邮件 和 新建地址
+- 一些 bug 修复
+
+---
+- feat: allow user delete mail && notify when send access changed by @dreamhunter2333 in https://github.com/dreamhunter2333/cloudflare_temp_email/pull/132
+- feat: requset_send_mail_access default 1 balance by @dreamhunter2333 in https://github.com/dreamhunter2333/cloudflare_temp_email/pull/143
+- fix: RATE_LIMITER not call jwt by @dreamhunter2333 in https://github.com/dreamhunter2333/cloudflare_temp_email/pull/146
+- fix: delete_address not delete address_sender by @dreamhunter2333 in https://github.com/dreamhunter2333/cloudflare_temp_email/pull/153
+- fix: send_balance not update when click sendmail by @dreamhunter2333 in https://github.com/dreamhunter2333/cloudflare_temp_email/pull/155
+
## v0.2.7
- Added user interface installation documentation
diff --git a/README.md b/README.md
index 4cb59c73..b6c611c8 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@
- [x] 使用 password 重新登录之前的邮箱
- [x] 获取自定义名字的邮箱
- [x] 支持多语言
-- [x] 增加访问授权,可作为私人站点
+- [x] 增加访问密码,可作为私人站点
- [x] 增加自动回复功能
- [x] 增加查看附件功能
- [x] 使用 rust wasm 解析邮件
diff --git a/frontend/src/views/Admin.vue b/frontend/src/views/Admin.vue
index 9d31e40a..db39e0ef 100644
--- a/frontend/src/views/Admin.vue
+++ b/frontend/src/views/Admin.vue
@@ -29,24 +29,26 @@ const { t } = useI18n({
locale: localeCache.value || 'zh',
messages: {
en: {
- auth: 'Admin Auth',
- authTip: 'Please enter the correct auth code',
+ accessHeader: 'Admin Password',
+ accessTip: 'Please enter the admin password',
mails: 'Emails',
account: 'Account',
unknow: 'Mails with unknow receiver',
senderAccess: 'Sender Access Control',
sendBox: 'Send Box',
maintenance: 'Maintenance',
+ ok: 'OK',
},
zh: {
- auth: 'Admin 授权',
- authTip: '请输入正确的授权码',
+ accessHeader: 'Admin 密码',
+ accessTip: '请输入 Admin 密码',
mails: '邮件',
account: '账号',
unknow: '无收件人邮件',
senderAccess: '发件权限控制',
sendBox: '发件箱',
maintenance: '维护',
+ ok: '确定',
}
}
});
@@ -64,13 +66,13 @@ onMounted(async () => {
- {{ t('auth') }}
+ {{ t('accessHeader') }}
- {{ t('authTip') }}
+ {{ t('accessTip') }}
-
- {{ t('auth') }}
+
+ {{ t('ok') }}
diff --git a/frontend/src/views/Header.vue b/frontend/src/views/Header.vue
index eec70f9d..f42fde7e 100644
--- a/frontend/src/views/Header.vue
+++ b/frontend/src/views/Header.vue
@@ -67,8 +67,8 @@ const { t } = useI18n({
logoutConfirm: 'Are you sure to logout?',
delteAccount: "Delete Account",
delteAccountConfirm: "Are you sure to delete your account and all emails for this account?",
- auth: 'Auth',
- authTip: 'Please enter the correct auth code',
+ accessHeader: 'Access Password',
+ accessTip: 'Please enter the correct password',
settings: 'Settings',
home: 'Home',
menu: 'Menu',
@@ -100,8 +100,8 @@ const { t } = useI18n({
logoutConfirm: '确定要登出吗?',
delteAccount: "删除账户",
delteAccountConfirm: "确定要删除你的账户和其中的所有邮件吗?",
- auth: '授权',
- authTip: '请输入正确的授权码',
+ accessHeader: '访问密码',
+ accessTip: '请输入站点访问密码',
settings: '设置',
home: '主页',
menu: '菜单',
@@ -513,15 +513,15 @@ onMounted(async () => {
- {{ t('auth') }}
+ {{ t('accessHeader') }}
- {{ t('authTip') }}
+ {{ t('accessTip') }}
-
- {{ t('auth') }}
+
+ {{ t('ok') }}
diff --git a/vitepress-docs/docs/index.md b/vitepress-docs/docs/index.md
index 4613bfe5..6f21cc2d 100644
--- a/vitepress-docs/docs/index.md
+++ b/vitepress-docs/docs/index.md
@@ -20,7 +20,7 @@ features:
- title: 免费托管在 CloudFlare,无需服务器
details: Cloudflare D1 数据库,Cloudflare Pages 前端,Cloudflare Workers 后端, Cloudflare Email Routing
- title: 仅需域名即可私有部署
- details: 支持 password 登录邮箱,访问授权可作为私人站点,支持附件功能
+ details: 支持 password 登录邮箱,使用访问密码可作为私人站点,支持附件功能
- title: 使用 rust wasm 解析邮件
details: 使用 rust wasm 解析邮件,支持邮件各种RFC标准,支持附件, 速度极快
- title: 支持发送邮件
diff --git a/vitepress-docs/docs/zh/guide/cli/worker.md b/vitepress-docs/docs/zh/guide/cli/worker.md
index 60b185af..7fc4d0ef 100644
--- a/vitepress-docs/docs/zh/guide/cli/worker.md
+++ b/vitepress-docs/docs/zh/guide/cli/worker.md
@@ -59,3 +59,6 @@ pnpm run deploy
部署成功之后再路由中可以看到 `worker` 的 `url`,控制台也会输出 `worker` 的 `url`

+
+> [!NOTE]
+> 打开 `worker` 的 `url`,如果显示 `OK` 说明部署成功
diff --git a/vitepress-docs/docs/zh/guide/ui/worker.md b/vitepress-docs/docs/zh/guide/ui/worker.md
index d75f5252..fcea9f11 100644
--- a/vitepress-docs/docs/zh/guide/ui/worker.md
+++ b/vitepress-docs/docs/zh/guide/ui/worker.md
@@ -14,7 +14,10 @@

-5. 点击 `Settings` -> `Trggers`, 这里可以添加自己的域名,你也可以使用自动生成的 `*.workers.dev` 的域名。能打开域名说明部署成功,记录下这个域名,后面部署前端会用到。
+5. 点击 `Settings` -> `Trggers`, 这里可以添加自己的域名,你也可以使用自动生成的 `*.workers.dev` 的域名。记录下这个域名,后面部署前端会用到。
+
+ > [!NOTE]
+ > 打开 `worker` 的 `url`,如果显示 `OK` 说明部署成功

diff --git a/worker/src/worker.js b/worker/src/worker.js
index a8f8c964..69c225b5 100644
--- a/worker/src/worker.js
+++ b/worker/src/worker.js
@@ -57,6 +57,8 @@ app.route('/', adminApi)
app.route('/', apiV1)
app.route('/', apiSendMail)
+app.get('/', async c => c.text("OK"))
+app.get('/health_check', async c => c.text("OK"))
app.all('/*', async c => c.text("Not Found", 404))