Skip to content

Commit

Permalink
管理端支持批量黑名单、白名单
Browse files Browse the repository at this point in the history
  • Loading branch information
MarSeventh committed Dec 14, 2024
1 parent 902c8ad commit 6d0ecd1
Show file tree
Hide file tree
Showing 18 changed files with 140 additions and 14 deletions.
136 changes: 131 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<details>
<summary>公告</summary>

部署使用出现问题,请先仔细查阅文档、常见问题解答以及已有issues。

**注意**:本仓库为[Telegraph-Image](https://github.com/cf-pages/Telegraph-Image)项目的重制版,如果你觉得本项目不错,在支持本项目的同时,也请支持原项目。

Expand Down Expand Up @@ -45,6 +45,12 @@
<summary>更新日志</summary>


## 2024.12.14

Add Features:

- 管理端增加批量黑名单、白名单功能

## 2024.12.13

Add Features:
Expand All @@ -64,7 +70,125 @@ Add Features:

- 进行删除、加入白名单、加入黑名单等操作时,自动清除CF CDN缓存,避免延迟生效(参考文档`3.1.3.9管理端删除、拉黑等操作优化`进行设置)

**更详细的更新日志请前往文档第5章查看\~**
## 2024.12.10

Add Features:

- 文件详情增加文件大小记录

## 2024.12.09

Add Features:

- 开放更多文件格式

Fix Bugs:

- 读取文件响应头增加允许跨域头`access-control-allow-origin: *`

## 2024.12.04

Add Features:

- 支持自定义命名方式(仅原名 or 仅随机前缀 or 默认的随机前缀_原名)
- Telegram Channel渠道上传文件记录机器人和频道数据,便于迁移和备份
- 支持自定义链接前缀

Fix Bugs:

- R2渠道在管理端删除时,存储桶同步删除

## 2024.11.05

Add Features:

- 增加对R2 bucket的支持

## 2024.10.20

Add Features:

- 页脚增加自定义传送门功能

## 2024.09.28

Add Features:

- 上传页面右下角工具栏样式重构,支持上传页自定义压缩(上传前+存储端)
- 增加仅删除上传成功图片、上传失败图片重试

## 2024.09.27

Add Features:

- 上传页面点击链接时,自动复制到剪切板
- 上传设置记忆(上传方式、链接格式等)

Fix Bugs:

- 若未设置密码,无需跳转登录页

## 2024.09.26

Add Features:

- 优化粘贴上传时的文件命名方法

## 2024.09.12

Add Features:

- 增加背景透明度支持自定义

## 2024.09.11

Add Features:

- 支持背景切换时间自定义

## 2024.08.26

Add Features:

- 支持大于5MB的图片上传前自动压缩
- 图床名称和Logo支持自定义
- 网站标题和Icon支持自定义

## 2024.08.23

Add Features:

- 支持URL粘贴上传

## 2024.08.21

Add Features:

- 完善多格式链接展示形式,增加UBB格式链接支持
- 完善登录逻辑,后端增加认证码校验接口

## 2024.07.25

Add Features:

- 增加随机图API

Fix Bugs:

- 修复API上传无法直接展示在后台的问题

## 2024.07.22

Add Features:

- 增加粘贴图片上传功能

## 2024.07.21

Add Features:

- 增加Markdown、HTML等格式链接复制功能
- 上传页面增加管理端入口

</details>

Expand Down Expand Up @@ -161,7 +285,8 @@ Add Features:
**注意修改完环境变量,重新部署才能生效**,见[3.1章最后一节](#3.1.4其他操作指南)**版本更新方式**,也请见[3.1章最后一节](#3.1.4其他操作指南)

<details>
<summary>操作详情</summary>
<summary>详细部署教程</summary>


### 3.1.1前期准备

Expand Down Expand Up @@ -273,7 +398,8 @@ Add Features:
注意由于服务器操作系统、硬件版本复杂多样,相关教程**无法确保适合每一位用户**,遇到报错请尽量利用搜索引擎解决,无法解决也可以提issue寻求帮助。

<details>
<summary>部署方式</summary>
<summary>部署在服务器上的方式</summary>


1. 安装服务器操作系统对应的`node.js`,经测试`v22.5.1`版本可以正常使用。(安装教程自行search)

Expand Down Expand Up @@ -562,7 +688,7 @@ Web端在登录页面输入你的**认证码**即可登录使用;API端需要
16. :white_check_mark:~~增加仅删除上传成功图片、上传失败图片重试~~(2024.9.28已完成)
17. :white_check_mark:~~优化粘贴上传时文件命名方法~~(2024.9.26已完成)
18. :white_check_mark:~~增加对R2 bucket的支持~~(2024.11.5已完成)
19. :hourglass_flowing_sand:管理端增加批量黑名单、白名单功能
19. :white_check_mark:~~管理端增加批量黑名单、白名单功能~~(2024.12.14已完成)
20. :white_check_mark:~~Telegram Channel渠道上传文件记录机器人和频道数据,便于迁移和备份~~(2024.12.4已完成)
21. :white_check_mark:~~支持自定义命名方式(仅原名 or 仅随机前缀 or 默认的随机前缀\_原名)~~(2024.12.4已完成)
22. :white_check_mark:~~支持上传失败自动切换其他渠道尝试~~(2024.12.12已完成)
Expand Down
2 changes: 1 addition & 1 deletion css/277.1a3cfb0d.css → css/890.f1386e1b.css

Large diffs are not rendered by default.

Binary file renamed css/277.1a3cfb0d.css.gz → css/890.f1386e1b.css.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/logo.png"><title>Sanyue ImgHub</title><script defer="defer" src="/js/app.82fe4132.js"></script><link href="/css/app.def7ef9b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but sanyue_imghub doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/logo.png"><title>Sanyue ImgHub</title><script defer="defer" src="/js/app.480a4929.js"></script><link href="/css/app.def7ef9b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but sanyue_imghub doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
Binary file modified index.html.gz
Binary file not shown.
Binary file removed js/277.a453b6b6.js.gz
Binary file not shown.
1 change: 0 additions & 1 deletion js/277.a453b6b6.js.map

This file was deleted.

Binary file removed js/277.a453b6b6.js.map.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions js/277.a453b6b6.js → js/890.8619bff6.js

Large diffs are not rendered by default.

Binary file added js/890.8619bff6.js.gz
Binary file not shown.
1 change: 1 addition & 0 deletions js/890.8619bff6.js.map

Large diffs are not rendered by default.

Binary file added js/890.8619bff6.js.map.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions js/app.82fe4132.js → js/app.480a4929.js

Large diffs are not rendered by default.

Binary file added js/app.480a4929.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion js/app.82fe4132.js.map → js/app.480a4929.js.map

Large diffs are not rendered by default.

Binary file added js/app.480a4929.js.map.gz
Binary file not shown.
Binary file removed js/app.82fe4132.js.gz
Binary file not shown.
Binary file removed js/app.82fe4132.js.map.gz
Binary file not shown.

0 comments on commit 6d0ecd1

Please sign in to comment.