John Niang

Results 82 issues of John Niang

错误信息如下: ```javascript Access to font at 'https://resources.hacknical.com/f6a563d/assets/Geo-Regular.ttf' from origin 'https://hacknical.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. ``` 发生:加载字体。

Please take the time to search the repository, if your question has already been asked or answered. - [x] What version of the library are you using? Is it the...

#### What this PR does Invoke method `initializeSpringSpecific` at the end of method `InitializeSpecific` instead of at the beginning of the method. Before doing that, if we want to add...

#### What would you like to be added? As I mentioned in the title, I request to add additional [IMessageResolver](https://github.com/thymeleaf/thymeleaf/blob/120a0e9cc5d768a7b21abb19b4f4122bdc019206/lib/thymeleaf/src/main/java/org/thymeleaf/messageresolver/IMessageResolver.java) for [SpringWebFluxTemplateEngine](https://github.com/thymeleaf/thymeleaf/blob/120a0e9cc5d768a7b21abb19b4f4122bdc019206/lib/thymeleaf-spring6/src/main/java/org/thymeleaf/spring6/SpringWebFluxTemplateEngine.java) instead of using either [StandardMessageResolver](https://github.com/thymeleaf/thymeleaf/blob/120a0e9cc5d768a7b21abb19b4f4122bdc019206/lib/thymeleaf/src/main/java/org/thymeleaf/messageresolver/StandardMessageResolver.java) or [SpringMessageResolver](https://github.com/thymeleaf/thymeleaf/blob/120a0e9cc5d768a7b21abb19b4f4122bdc019206/lib/thymeleaf-spring6/src/main/java/org/thymeleaf/spring6/messageresolver/SpringMessageResolver.java). Please...

needs triage

### 你当前使用的版本 2.0.0-SNAPSHOT ### 描述一下此特性 目前,我们已经有了 GET、POST、PUT 和 DELETE 接口,目前还缺失 PATCH 接口用于更新自定义模型数据的部分资源。 目前我们期望能够达到两种 PATCH 的方式:[JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) 和 [JSON Merge Patch](https://datatracker.ietf.org/doc/html/rfc7386),例如: ```http PATCH /my/data HTTP/1.1 Host: example.org Content-Length: 326 Content-Type: application/json-patch+json...

kind/feature
area/core
priority/important-soon

### 你当前使用的版本 2.0.0-SNAPSHOT ### 描述一下此特性 我们期望为自定义模型的 metadata 新增 generateName 字段。如果该字段设置,将会自动生成以 generateName 为前缀的随机名称。 自定义模型数据配置样例如下: ```yaml apiVersion: v1alpha1 metadata: generateName: halo- ``` 最终生成的数据如下: ```yaml apiVersion: v1alpha1 metadata: generateName: halo- name: halo-xyz ```...

kind/feature
area/core
priority/important-soon

### 你当前使用的版本 2.0.0-SNAPSHOT ### 描述一下此特性 目前我们每写一个 Reconciler,都需要在 ExtensionControllerConfiguration 中注册对应的 Controller Bean,这样会导致该配置文件随 Reconciler 的增加不断增长。 https://github.com/halo-dev/halo/blob/ebecef89c651fa1e7fddc0d0852cfc477f0c4d8a/src/main/java/run/halo/app/config/ExtensionConfiguration.java#L63-L102 我的方案: - 通过 `@Component` 注解将需要运行的 Reconciler 标记为 Bean - 在 ExtensionControllerConfiguration 获取所有的 Reconciler 并创建对应的 Controller -...

area/core
priority/important-longterm
kind/improvement

## 概述 支持自定义排序功能。 ## 动机 能够更好地排版文章。 ## 详细解释 可能需要在 `posts` 中新增一个排序字段,`halo-admin` 也可以实现拖拽的功能。

kind/feature

## 概述 直到 Halo 1.4.6,Halo 一直采用非常简单的 header 传入方式进行授权接口,且授权码的数量无法扩展,授权的范围无法自定义。 ## 动机 所以,需要对接口划分范围,允许授权多个授权码,且可设置授权码有效期或可随时撤销授权码。

kind/feature

## 概述 近期 Haloer 收到大量的垃圾评论,希望能够出现一种策略保护 Halo,限制攻击者。 ## 动机 https://bbs.halo.run/d/1059-halo ## 详细解释 - 对评论次数进行限制 - 对评论者 IP 进行限制

kind/feature