Commit Graph

4289 Commits (350e54d42afec1b5f6e574bfd0e3de6434a9525d)

Author SHA1 Message Date
guqing 9801bc7a20
Fixed the problem that copying the default theme at halo startup did not use themeId as the theme folder name (#1549)
* fix: 1547

* refactor: replace the string magic value using a static constant
2021-12-03 10:21:55 +08:00
John Niang 603c4c6eee
chore: add cherry_pick_pull.sh for cherry-picking pull request (#1554)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-12-03 10:21:24 +08:00
Ryan Wang 215f8cd495 chore: add netlify config file (halo-dev/console#389) 2021-11-30 19:40:41 +08:00
Ryan Wang 5f3e866a41 feat: support get api url from localstorage (halo-dev/console#388) 2021-11-30 10:57:26 +08:00
Ryan Wang e5de28e3cd refactor: installation page logo (halo-dev/console#383) 2021-11-29 09:58:23 +08:00
知雨 318cfd16a1 refactor: the attached picture is covered with containers (halo-dev/console#382)
Co-authored-by: cetr <2058930674@qq.com>
2021-11-27 20:39:59 +08:00
Ryan Wang 003886aed1 refactor: sheet setting modal (halo-dev/console#381) 2021-11-27 19:58:07 +08:00
Ryan Wang 643e3c9690 refactor: use js-sdk/admin-api (halo-dev/console#378)
* 1.3.0-beta.2

* fix: token expire.

* pref: #291

* refactor: use js-sdk/admin-api

* chore: remove unnecessary files

* chore: remove unnecessary files

* chore: remove unnecessary files

* chore: remove unnecessary files

* refactor: developer/Environment.vue

* chore: remove unnecessary files

* refactor: login auth

* refactor: login auth

* refactor: remove api url setting

* refactor: custom sheet list

* style: reformat code

* refactor: logout

* refactor: remove setTimeout when fetch api

* fix: auto login error

* fix: post update error

* fix: backup

* fix: turn on developer mode error

* fix: mfa setting error

* chore: remove unnecessary files

* feat: add interceptors

* refactor: api client

* refactor: api client

* chore(deps): upgrade admin-api

* refactor: 重构认证

* fix: 修复认证请求头参数

* refactor: login

* feat: add error handle

* refactor: api client

* refactor: refresh token

* refactor: attachment upload

* refactor: upload component

* refactor: upload

* fix: tag save

* fix: github api request

* fix: installation page

* feat: add version field for html

* fix: option.list to option.listAsMapView

* fix: directory base path of static storage

* chore: upgrade halo sdk version

Co-authored-by: guqing <1484563614@qq.com>
2021-11-26 23:05:00 +08:00
Mingjie Shao b301c8e074
Mark email as not required parameter in BaseComment (#1535)
* Removing email field from the required arguments in comments

* Fixed gravatar and added database migration script

* Adding validation test cases for PostCommentParam

* Added unit test for PostCommentServiceImpl

* Address comments: removing identicon in gravatar, renaming migration script

* Address comment: removing gravata identicon from CommentProperties

* Address comments: Adding more unit tests for comment API

* Address comments: Adding integration tests for comment API
2021-11-24 17:31:57 +08:00
guqing d965b6c3e7
fix: not clear access rights when the password of private posts or categories was changed (#1540)
* fix: 1518

* feat: add test case

* fix: remove unused import clause

* fix: unit test case
2021-11-22 09:10:59 +08:00
Ryan Wang 9d6f53eeaa
docs: update readme (#1541) 2021-11-20 00:31:33 +08:00
guqing 2ed5ef51c5
feat: add api for modifying journal comment content (#1536)
* feat: add api of modify comment content

* fix: remove update comment content api

* fix: remove comment content param
2021-11-18 20:29:21 +08:00
guqing c149d53f7e
feat: support photo likes (#1537)
* feat: support photo likes

* feat: add CacheLock annotation to likes api
2021-11-18 20:28:32 +08:00
Ryan Wang e4ef247d13 refactor: post setting (halo-dev/console#376)
* refactor: post setting modal

* refactor: pagination

* refactor: post setting modal

* fix: TagSelect

* feat: add draft button

* feat: add meta editor

* style: remove PostSettingDrawer.vue
2021-11-16 22:25:52 +08:00
Ryan Wang 5370ac2804 refactor: attachment detail (halo-dev/console#375)
* refactor: attachment detail modal

* refactor: attachment media type judgment

* refactor: pagination

* refactor: delete AttachmentDetailDrawer.vue

* refactor: remove unnecessary code

* perf: previous and next button state
2021-11-16 22:22:41 +08:00
guqing e1737145ac
fix: content Search page XSS injection problem (#1534) 2021-11-16 21:42:46 +08:00
guqing 641e03e401
Support querying multi post statuses (#1527)
* feat: post page list supports multiple status queries
2021-11-14 18:48:47 +08:00
guqing 62c84e9215
Fix the problem of updating categories and menus in batch (#1526)
* fix: batch update
2021-11-13 22:48:36 +08:00
Timber.Wang c790df3c75
docs: update CONTRIBUTING.md 2021-11-12 10:03:27 +08:00
Ryan Wang 20297b9bc5
docs: add repobeats analytics image to readme (#1523) 2021-11-11 18:41:38 +08:00
felix ae264c64bc pref: attachments preview image styles (halo-dev/console#374) 2021-11-09 17:32:18 +08:00
stackcn c3536cb8ce
fix: typo (#1516) 2021-11-03 10:36:40 +08:00
扶醉 58d1b3f9c0
Add photo teams api in content api (#1515) 2021-11-02 22:09:31 +08:00
John Niang a376dca4d5
Set the final version with tag name when releasing (#1511)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-11-01 23:16:41 +08:00
John Niang 4ffbd502fe
Refactor docker release in GitHub workflow (#1510)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-11-01 08:56:58 +08:00
John Niang 6be4051f9e
Simplify Java setup in GitHub workflow (#1509)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-10-31 21:48:53 +08:00
Ryan Wang 1648b28852 fix: parent category cannot be selected in post settings #365 (halo-dev/console#367) 2021-10-29 22:35:56 +08:00
Ryan Wang 02dea4e3af refactor: weaken the animation of the login page #359 (halo-dev/console#369) 2021-10-29 22:33:45 +08:00
Ryan Wang 287668fa85 feat: support resetting post slug #319 (halo-dev/console#368) 2021-10-29 21:47:22 +08:00
guqing 1d91450505
refactor: the naming method of uploaded attachments (#1500)
* feat: Refactor the naming method of uploaded attachments

* refactor: attachment upload parameter

* refactor: 重构文件名称是否重复的判断方式

* refactor: the usage of file path descriptor

* fix: remove blank line

* feat: add more test case

* fix: file base name in FilePathDescriptor

* Revert "refactor: the usage of file path descriptor"

This reverts commit b46ff3b4
2021-10-29 19:36:37 +08:00
扶醉 44d740b760
Fix number of comment in detail of post and sheet and add it into detail of journal (#1503) 2021-10-29 19:36:09 +08:00
Ryan Wang 9271a9ee5e refactor: update logo (halo-dev/console#366) 2021-10-27 23:15:10 +08:00
Ryan Wang 0a137136ce release: 1.4.13 2021-10-24 15:11:59 +08:00
Ryan Wang 84a0edbcf8 release: 1.4.13 2021-10-24 14:47:13 +08:00
LiuJiJiang 81d0ccd668 style: add styles to scroll bar (halo-dev/console#364) 2021-10-23 23:15:32 +08:00
guqing 0dc75e29bb
feat: add work dir backup options (#1494)
* feat: Add backup options

* feat: add sort for list backup items api

* refactor: rename varibles
2021-10-12 14:54:39 +08:00
guqing 4682d88c83 feat: add work dir backup options (halo-dev/console#362)
* feat: add work dir backup options

* feat: add layout to backup options

* refactor: modify variable naming

* refactor: rename variables
2021-10-12 14:54:29 +08:00
Ryan Wang 9d3b2af0c4 chore: update github action. 2021-10-10 00:38:19 +08:00
Ryan Wang 46e388df5f fix: issue that can't run with pnpm. 2021-10-09 23:33:49 +08:00
zllr 8c26430b31
Compatible with markdown file from hexo (#1492)
* hexo语法省略开头的---时无法解析元信息,兼容此种情况

* 修复导入markdown文件时固定条件下出现 [该标签已存在] 的异常

* hexo语法的博客在实际使用时可以省略开头的 --- 分隔符 : add unit test

* fix code style

Co-authored-by: zhanglei <zhanglei9588@foxmail.com>
2021-10-08 15:39:02 +08:00
guqing de71f40de6
refactor: remove use of hutool toolset (#1488)
* feat: Add date parse methods and test

* feat: Add utility methods of get the specified part of the given date

* refactor: Replace the use of dateutil in hutool

* refactor: Replace the StrUtil of hutool with StringUtils of commons-lang3

* refactor: Replace the use of Tuple in hutool

* refactor: Replace the use of ServltUtil in hutool

* refactor: Replace the use of PageUtil in hutool

* refactor: Replace the use of CollectionUtil in hutool

* refactor: Add QRcode generate method

* refactor: replace all hutool utility and add some utils

* fix: check style of tests

* refactor: add logging

* fix: logging

* fix: set default timezone

* fix: code style

* refactor: rename variable tfaKey to mfaKey

* refactor: Use commons-lang3's RandomStringUtils to replace some methods

* refactor: update javadoc

* refactor: update test

* refactor: reformat code

* feat: Add more test case

* feat: Add source
2021-10-01 17:55:58 +08:00
Ryan Wang 5acabee7a9
Update SECURITY.md 2021-09-29 20:43:15 +08:00
Ryan Wang 6228e4a6f2 chore: use pnpm package manager (halo-dev/console#361)
* chore: use pnpm package manager.

* chore: remove node 10.x in github actions check job.

* doc: update README.md
2021-09-26 22:56:55 +08:00
dependabot[bot] 0da493fae8 chore(deps): bump tmpl from 1.0.4 to 1.0.5 (halo-dev/console#358)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-22 10:03:26 +08:00
知雨 8f35382c39
Reset default avatar from "mm" to "" (#1485)
Co-authored-by: cetr <2058930674@qq.com>
2021-09-21 15:52:44 +08:00
知雨 3669a79e3e Improve avatar selector for comment setting tab (halo-dev/console#357)
* perfect: supplementary avatar type

* perfect: supplementary avatar type

* perfect: supplementary avatar type

Co-authored-by: cetr <2058930674@qq.com>
2021-09-19 22:17:27 +08:00
Ryan Wang c4008b9333 release: 1.4.12 2021-09-16 20:55:03 +08:00
Ryan Wang 3d7d5f9847 release: 1.4.12 2021-09-16 20:22:07 +08:00
John Niang 0059668a76
Fix incorrectly non-git folder opening and fix start panic when no themes found (#1479) 2021-09-16 09:50:13 +08:00
Ryan Wang 7bc33023af perf: automatically calculate post editor height. (halo-dev/console#355) 2021-09-16 08:53:00 +08:00