Commit Graph

1842 Commits (ebecef89c651fa1e7fddc0d0852cfc477f0c4d8a)

Author SHA1 Message Date
bear 3a45b7a5ed
Support MFA-TOTP Auth (#745)
* add tfa utils

* MFA check api completed

* adminController add loginPreCheck api

* halo-admin test

* checkstyle

* add unit test

* reset MFA
2020-04-04 19:41:22 +08:00
Ryan Wang b3dafa195a
feat: add switch type for theme settings. (#735) 2020-03-29 11:48:37 +08:00
ruibaby c353411997 release: 1.3.1 2020-03-28 16:03:03 +08:00
Lei XinXin b4ebf7218e
新增DateTimeUtils (#731)
* 新增DateTimeUtils

* 提交测试用例
2020-03-28 15:08:24 +08:00
ming 49486198df
fix: #713, 开发环境也能获取版本信息了 (#714)
* fix #713, 开发环境也能获取版本信息了

* banner version show ok
2020-03-28 14:33:23 +08:00
wtune f21f5933bf
feat: add index on attachments.create_time (#725) 2020-03-28 00:16:12 +08:00
wtune 51e0620393
feat: add index on photos.create_time (#727) 2020-03-28 00:15:45 +08:00
wtune 4f99e72669
feat: add index on menus.name (#722) 2020-03-27 17:07:25 +08:00
wtune 01e4e5e271
feat: add index on attachments.media_type (#718) 2020-03-27 12:58:27 +08:00
ruibaby 89dc411b0f release: 1.3.0 2020-03-25 18:15:09 +08:00
iwangbingzhi abaaadafe8
update some chinese descriptions (#711)
Co-authored-by: wangbingzhi <853244870@qq.com>
2020-03-25 09:01:07 +08:00
ruibaby 8f2894a2a4 release: 1.3.0-beta.4 2020-03-24 23:02:53 +08:00
Ryan Wang bc75275815
feat: provide static mapping feature (#710)
* Provide static mapping feature

* feat: filter inner mapping for static storage.
2020-03-24 22:48:58 +08:00
Ryan Wang 2792d11cd2
Fix installation bug (#708) 2020-03-24 20:42:15 +08:00
Ryan Wang ac52e7f677
fix: #703 (#705) 2020-03-22 22:15:52 +08:00
Ryan Wang bee21d7de8
refactor: get database version. (#698) 2020-03-20 22:54:05 +08:00
Ryan Wang 40f510f371
refactor: independent sheet. (#697) 2020-03-20 20:34:51 +08:00
Ryan Wang 26fdbb2cf3
chore: upgrade flexmark version. (#695)
* chore: upgrade flexmark version.

* fix: test case.
2020-03-19 17:01:17 +08:00
Ryan Wang a70780c5df
style: code. (#692) 2020-03-18 21:44:46 +08:00
Ryan Wang c847bef498
feat: support custom email templates. (#691) 2020-03-18 21:38:26 +08:00
ruibaby 8eac5716f1 release: 1.3.0-beta.3. 2020-03-18 01:19:25 +08:00
Ryan Wang fc989c965c
chore: upgrade gradle and dependencies. (#688) 2020-03-17 23:56:24 +08:00
Ryan Wang d4cfc3ae7f
feat: #598 (#689) 2020-03-17 23:56:01 +08:00
Ryan Wang a77ebed299
refactor: backup service. (#687)
* refactor: backup service.

* fix: test case error.
2020-03-17 20:22:51 +08:00
wtune 03a43fb245
feat: add Index on comments.(type,status) and comments.parent_id (#686) 2020-03-17 15:18:56 +08:00
wtune 9ccd23d730
feat: add Index on posts.(type,status) and posts.create_time (#684) 2020-03-17 15:17:51 +08:00
Ryan Wang 4bc8ad44da
feat: add data export and import api. (#672)
* feat: add data export and import api.

* refactor: data export and import api.
2020-03-17 13:14:15 +08:00
Ryan Wang d6b3d6cb5d
fix: #547 (#677) 2020-03-16 23:43:25 +08:00
Ryan Wang fae1df3859
fix: post query sql. (#676) 2020-03-16 22:04:44 +08:00
wtune 4d431fd85d
feat: add Index on theme_settings.setting_key and theme_settings.theme_id (#681) 2020-03-16 22:03:44 +08:00
wtune 2363f4adf7
feat: add Index on post_tags.post_id and post_tags.tag.id (#675) 2020-03-16 14:11:58 +08:00
wtune 1248cb7b14
feat: add Index on post_categories.post_id and post_categories.category_id (#671) 2020-03-16 13:22:24 +08:00
wtune 839a029012
feat: add Index on logs.create_time (#668) 2020-03-16 11:21:35 +08:00
bestsort fe65eccdf7
reduce: memory usage during image upload (#659)
* optimize FileHandler's logic

* fix code style

* fix: maybe happen OOM when file upload, see #529

* refactor: HashMap -> ConcurrentHashMap

* remove unused class

* reduce memory usage during image upload

* code clean
2020-03-14 19:19:35 +08:00
wtune e357b7a462
feat: add Index on comments.post_id (#649) 2020-03-14 19:16:33 +08:00
wtune c1f01df394
feat: add index on categories.name and categories.parent_id (#658)
* Add Index on categories.name

* Add Index on categories.name and categories.parent_id
2020-03-14 19:10:32 +08:00
wtune 124f352ebb
feat: add Index on links.name (#651) 2020-03-14 17:52:10 +08:00
wtune b2b349ae27
feat: add Index on menus.parent_id (#655) 2020-03-14 17:51:40 +08:00
wtune ee4bc01f65
feat: add Index on photos.team (#657) 2020-03-14 17:50:47 +08:00
wtune fc37803e73
feat: add Index on tags.name (#653) 2020-03-14 17:50:01 +08:00
Ryan Wang c5af5d787d
refactor: hibernate column build. (#638)
* refactor: hibernate column build.

* feat: after the database migration fails, the record table is automatically cleaned up.
2020-03-14 11:10:34 +08:00
Ryan Wang 7ae722e6fd
fix: #629 (#641) 2020-03-14 11:09:48 +08:00
bestsort 1d020ff550
Optimize FileHandler's logic (#639)
* optimize FileHandler's logic

* fix code style

* fix: maybe happen OOM when file upload, see #529

* refactor: HashMap -> ConcurrentHashMap

* remove unused class
2020-03-14 10:05:53 +08:00
Ryan Wang 153f8ebbef
refactor: attachment month path. (#636) 2020-03-12 15:04:35 +08:00
Ryan Wang 437e59d8a2
refactor: post month path type. (#635) 2020-03-12 14:43:16 +08:00
Ryan Wang 22b24835aa
refactor: banner info. (#634) 2020-03-11 20:09:59 +08:00
Ryan Wang 6b967ad256
refactor: remove recovery api. (#633)
* refactor: remove recovery api.

* refactor: remove recovery api.
2020-03-11 13:50:53 +08:00
Ryan Wang a563c493e0
refactor: metas variable. (#632)
* refactor: metas variable.

* refactor: metas variable.
2020-03-11 13:49:37 +08:00
ruibaby 378049ba21 release: 1.3.0-beta.2 2020-03-08 11:45:10 +08:00
John Niang 55a9d573bc
fix: a fatal filter bug (#626) 2020-03-08 11:27:41 +08:00
Ryan Wang fd251a4724
refactor: pagination tag. (#625) 2020-03-08 11:25:44 +08:00
Ryan Wang 38b4bb4aeb
chore: upgrade default theme. (#624) 2020-03-07 22:54:52 +08:00
Ryan Wang fa50d2d5d6
refactor: freemarker pagination tag. (#621) 2020-03-07 10:53:13 +08:00
Ryan Wang eb71e98087
refactor: modify the address of the default comment plugin. (#620) 2020-03-06 14:10:00 +08:00
Ryan Wang 491b8c89e8
fix: failure of suffixes in posts. (#619) 2020-03-06 14:09:36 +08:00
Ryan Wang d82f3847c2
feat: support meta_keywords and meta_description in every page. (#612) 2020-03-04 20:03:08 +08:00
Ryan Wang a9fedef8b2
feat: support set archives page size. (#610) 2020-03-02 14:41:16 +08:00
Ryan Wang b70806960b
fix: attachment upload to sm.ms failed. (#609)
* fix: attachment upload to sm.ms failed.

* fix: attachment upload to sm.ms failed.

* refactor: SmmsFileHandler.

* refactor: SmmsFileHandler.
2020-03-02 13:04:53 +08:00
Ryan Wang b23755a568
feat: support paging of archive pages. (#608)
* feat: support paging of archive pages.

* fix: test case.
2020-03-01 13:52:27 +08:00
Ryan Wang 62eba99d21
feat: add editorType for post. (#605)
* feat: add editorType for post.

* fix: test case failed.
2020-02-28 23:17:07 +08:00
Ryan Wang 949a3da3de
refactor: installation data. (#600) 2020-02-27 16:23:22 +08:00
Ryan Wang 136b1fb3b9
refactor: change url field to slug in post. (#597) 2020-02-25 19:44:30 +08:00
Ryan Wang f4a4d5f250
feat: #586 (#595) 2020-02-25 16:08:59 +08:00
ruibaby 7166829d87 release: 1.3.0-beta.1. 2020-02-25 15:30:19 +08:00
Ryan Wang ca33475e31
chore: upgrade default theme. (#594)
* chore: upgrade default theme.

* Update anatole
2020-02-25 13:18:55 +08:00
Ryan Wang 72d59a5617
refactor: stop supporting admin folder mapping in workspace. (#593) 2020-02-25 12:52:17 +08:00
John Niang e8db12a93d
Enable code style check available (#590)
* Add check style plugin and remove halo code style

* Reformat codes for whole project

* Resolve conflicts due to provided checkstyle.xml
2020-02-25 00:24:51 +08:00
Ryan Wang c224b68fbc
feat: supports setting the post path type and path suffix. (#563)
* feat: build full path for category and tag.

* feat: build full path for post.

* feat: build full path for sheet.

* feat: build full path for post.

* feat: change post url for rss sitemap pages.

* feat: support set links/photos/journal page prefix.

* feat: support set internal sheet's title.

* refactor: build full path method.

* refactor: archives post full path.

* feat: support nextPageFullPath and prePageFullPath variable in pageable pages.

* Update CommentEventListener.java

* feat: make rss formats more standard.

* feat: add some useful freemarker variable.

* feat: add some useful freemarker variable.

* feat: add some useful freemarker variable.

* refactor: preview post and password post.
2020-02-24 23:42:54 +08:00
Ryan Wang 8f36a5d124
fix: #549 (#587)
* fix: #549

* style: change normalizeImageUrl to normalizeUrl.
2020-02-23 23:34:20 +08:00
John Niang b7b11e2c8f
Refactor email service and remove oh-my-email dependency (#584)
* Refactor email service

* Remove oh-my-email dependency

* Add mail dependency

* Provide connection test with email server

* Enable send message asynchronously

* Make more friendly information.
2020-02-21 21:21:28 +08:00
John Niang 4092ed1633
Fix typo about login translate (#583) 2020-02-21 12:19:48 +08:00
John Niang 50af1ec1aa
Fix file upload exception (#581)
* Refactor FileHandler and related implementations

* Add more friendly error throw

* Make tmp directory as default location for multipart file

* Change error message in Chinese
2020-02-20 14:47:57 +08:00
John Niang 594923ebd8
Fix installation on the first startup (#578) 2020-02-18 23:39:17 +08:00
Ryan Wang bffd213a55
Correct demo configuration. (#575) 2020-02-15 20:50:36 +08:00
Ryan Wang 78c389b2d4
Support set thumbnail to category and tag. (#574)
* feat: support set thumbnail to category and tag.

* style: reformat code.
2020-02-15 20:48:04 +08:00
guqing b78e2161e5
feat: add basic functions of demo mode (#569)
* feat: add basic functions of demo mode

* feat: add @disableApi annotation to some API that should be disabled

* feat: add DisableApi test case

* fix: change DisableApi annotation name to DisableOnConditation

* Fix test cases

* Add more strict test on failing case

Co-authored-by: John Niang <johnniang@foxmail.com>
2020-02-14 22:08:38 +08:00
John Niang df3601a751
Refactor halo mode (#571) 2020-02-14 20:57:41 +08:00
Ryan Wang baa2f1ecfd
style: modify email copy. (#568)
* style: modify email copy.

* style: modify email copy.
2020-02-14 16:33:40 +08:00
johnniang 118aaf8ddc Create one-time token mechanism 2020-02-12 21:10:00 +08:00
johnniang e0c12a23ee Merge branch 'master' of github.com:halo-dev/halo into fix-backup-function 2020-02-11 21:32:56 +08:00
John Niang 84b6c2aa14
Fix admin index page redirect (#566)
* Add custom RequestMappingHandlerMapping for enable static resources access

* Fix admin index page redirect
2020-02-11 21:29:01 +08:00
johnniang 078e3b3013 Remove temp token mechanism 2020-02-11 19:57:07 +08:00
johnniang 5bd9472f9d Merge remote-tracking branch 'upstream/dev' into fix-backup-function 2020-02-11 11:28:16 +08:00
John Niang 49494abbbd
Add custom RequestMappingHandlerMapping for enable static resources access (#558) 2020-02-10 23:48:07 +08:00
Ryan Wang 028268c698
fix: Incorrect sequence of tailing log file#517 (#556) 2020-02-10 21:47:54 +08:00
Ryan Wang 491ff98916 fix: Theme refresh issue #553 (#554) 2020-02-10 16:20:13 +08:00
John Niang 2327aafc1c
Configure halo.workDir into application-test.yaml (#550) 2020-02-09 21:06:59 +08:00
John Niang 44a6c46620
feat: enable default theme submodule support. (#548)
* Remove anatole theme for submodule

* Enable submodule support

* Enable submodule support for checkouting by github action
2020-02-09 11:43:00 +08:00
johnniang e365537b70 Create temporary file after halo is started 2020-02-05 18:08:29 +08:00
Ryan Wang 08c579a095
feat: support theme require halo version. (#544)
* feat: support theme require halo version.

* fix: com.sun.xml.internal.ws.util does not exist error.

* fix: com.sun.xml.internal.ws.util does not exist error again.

* Update ThemeServiceImpl.java
2020-02-04 16:35:02 +08:00
Ryan Wang bb8ee0f074
feat: support set attachment path type. (#539) 2020-02-02 16:16:20 +08:00
Ryan Wang 32ed3a9a11
style: collate configuration files. (#540) 2020-02-02 16:09:53 +08:00
Ryan Wang e40de371d1
feat: change themes assets base path (#538)
* feat: change theme resources base path.

* feat: add new variable about theme base path.
2020-02-01 21:07:58 +08:00
Ryan Wang 63122ef625
feat: support freemarker template Inheritance #534 (#537)
* feat: #534

* fix: HashMap initialCapacity
2020-02-01 17:14:36 +08:00
Ryan Wang 28553042cf
Fix wordpress importor. (#536) 2020-02-01 17:09:13 +08:00
Ryan Wang 6f6ed9ee07
feat: support set theme static source path type. (#535)
* feat: support set theme static source path type.

* refactor: global_absolute_path_enabled property.
2020-02-01 15:39:21 +08:00
John Niang bc129977d9
Fix test error (#528) 2020-01-31 11:05:15 +08:00
John Niang 6b0804a7b8
Close file input stream after reading image file (#527) 2020-01-31 00:37:45 +08:00
John Niang d47f0f29e6
Uncomment content url mappings (#523) 2020-01-31 00:35:26 +08:00
guqing 61f0748a6a refactor: WordPress data import (#506)
* refactor: WordPress data import

* refactor: change wordpress convert class to interface and add wordpress convert null judgment

* fix: add some class doc

* fix: exclude commons io

* feat: add custom annotation: @PropertyMappingTo and reflection utils, It can be used to mapping the relationship between source model and target model

* feat: replace the original wordpressconvert implementation with a custom annotation

* fix: change wordpress convert method name

* fix: change wordpress convert method name

* fix: merger conflict
2020-01-20 15:23:48 +08:00
Ryan Wang 47e9563fe2 feat: create freemarker custom tag of tools. (#505)
* feat: create freemarker custom tag of tools.
2020-01-17 17:12:13 +08:00
Ryan Wang bd6cb393ff feat: create theme content api. (#503) 2020-01-17 12:47:55 +08:00
leozhou 89086dd345 fix: #489
* Update FUNDING.yml

* merge from master

* feat: update page default sort && update the pre and next of posts

* feat: adapter dev branch

* Feat: update getAdjacentPosts return && update post ftl

* fix: revert gradle-wrapper.jar

Co-authored-by: Ryan Wang <i@ryanc.cc>
Co-authored-by: Jiahuan Shen <shenjiahuan1999@hotmail.com>
Co-authored-by: John Niang <johnniang@riseup.net>
Co-authored-by: weiwensangsang <weiwensangsang@users.noreply.github.com>
Co-authored-by: Lei XinXin <40338580+NGLSL@users.noreply.github.com>
Co-authored-by: 寒山 <ms915818993@163.com>
Co-authored-by: IJKZEN <ijkzen@outlook.com>
2020-01-16 18:00:33 +08:00
John Niang f4c2ca2f8d
Fix vulnerability due to uncheck theme id (#499) 2020-01-16 16:46:16 +08:00
johnniang 23d0a2e01d Disable url regex match temporarily 2020-01-15 23:04:12 +08:00
johnniang dc166d0b4a none: add some test case, but ignored 2020-01-15 23:04:12 +08:00
Lei XinXin 11c32ffdca feat:(add comment blacklist) (#465)
* feat:(add comment blacklist)

* update enum name

* update enum

* fix:(update pom)

* 优化相关的细节
2020-01-15 22:43:55 +08:00
pencilso d867f4cca3 feat: add leveldb cache store impl (#494)
add leveldb config by yaml dev
add cache impl test
2020-01-12 19:41:09 +08:00
ruibaby de796b35d6 feat: support set categories and tags mapping prefix. 2020-01-11 20:30:57 +08:00
ruibaby 62153403df feat: support /year/month/day/url and /year/month/url mapping. 2020-01-11 12:29:54 +08:00
ruibaby 76dd2b2c72 feat: create get by date api for post. 2020-01-08 12:28:25 +08:00
ruibaby bb58dd5ec4 feat: support set path suffix. 2020-01-07 20:16:11 +08:00
ruibaby 13ab09b799 feat: custom permalink. 2020-01-07 18:46:19 +08:00
ruibaby f975a20fea Merge branch 'static-page' into dev 2020-01-06 20:30:48 +08:00
ruibaby 753a3bc998 release: 1.2.0. 2020-01-05 22:41:54 +08:00
guqing 202cf59128 release: 1.2.0. 2020-01-05 22:26:40 +08:00
ruibaby f24c90b514 fix: content api token name error. 2020-01-04 22:21:23 +08:00
ruibaby 28b4d384dd release: 1.2.0-beta.5. 2020-01-04 21:34:39 +08:00
ruibaby ad4da6366b feat: support set summary for sheet. 2020-01-04 15:26:20 +08:00
Evan Wang 0ce380072e fix:repeated updates of visits and private article visits abnorm… (#463) 2020-01-02 23:52:52 +08:00
ruibaby 6c7968cc2b feat: add archive freemarker custom tag. 2020-01-02 20:33:14 +08:00
ruibaby d3ef9c4a7a pref: remove useless code. 2020-01-01 22:42:50 +08:00
ruibaby e13c014a6b style: remove useless code. 2020-01-01 21:47:51 +08:00
ruibaby 013fa1fdcb fix: the problem that meta is not deleted when the sheet is deleted. 2020-01-01 21:39:52 +08:00
ruibaby 79e66cd3c0 style: add some comment. 2020-01-01 21:24:28 +08:00
ruibaby 9ac31d0b1c feat: support set file source for qiniu oss. 2019-12-31 14:24:56 +08:00
ruibaby 2701146860 feat: support set file source for tencent cos. 2019-12-31 13:46:24 +08:00
ruibaby b7ac3f5fed feat: support set file source for ali oss. 2019-12-31 13:19:01 +08:00
ruibaby b9c2daa49b fix: child comments could not be deleted. 2019-12-29 20:45:18 +08:00
ruibaby eed14995aa feat: add data process apis. 2019-12-29 18:35:13 +08:00
ruibaby 305d907531 feat: support replace url method. 2019-12-28 21:57:51 +08:00
ruibaby 86e61036c6 release: 1.2.0-beta.4. 2019-12-28 19:58:05 +08:00
ruibaby b9e64cbb82 pref: remove cdn_domain option. 2019-12-27 19:25:49 +08:00
ruibaby 04512db9ba refactor: content api. 2019-12-27 17:47:29 +08:00
ruibaby c37f36f61e feat: support deploy static page in netlify. 2019-12-26 20:17:03 +08:00
ruibaby 83e87553b7 feat: add static deploy handlers. 2019-12-26 14:21:49 +08:00
ruibaby 0f59e2fe04 feat: clean static pages folder before generate. 2019-12-26 00:00:16 +08:00
ruibaby a54c240d70 feat: support copy static folder when generate static pages. 2019-12-25 23:39:21 +08:00
ruibaby f3763e80fc feat: support generate static pages. 2019-12-25 22:51:54 +08:00
ruibaby f99daee263 pref: remove useless code. 2019-12-25 19:26:05 +08:00
johnniang a246dc65d3 fix: admin redirect incorrectly 2019-12-25 13:41:52 +08:00
ruibaby 4cdfc2247c fix: migrate database error. 2019-12-24 19:48:47 +08:00
ruibaby c758c76f20 pref: remove flexmark anchor link extension. 2019-12-24 18:53:43 +08:00
ruibaby 03eea67ffe pref: remove flexmark anchor link extension. 2019-12-24 17:14:35 +08:00
ruibaby 90757f6555 release: 1.2.0-beta.3. 2019-12-23 17:39:16 +08:00
ruibaby 308aefacca release: 1.2.0-beta.2. 2019-12-23 17:13:47 +08:00
ruibaby 66e9c98d48 feat: performance optimization. 2019-12-23 16:59:39 +08:00
ruibaby ed734a6a16 feat: generate summary for sheet. 2019-12-23 16:58:42 +08:00
ruibaby 32701ab7bd feat: remove spaces and newlines in post summary. 2019-12-23 16:50:24 +08:00
Ryan Wang 281d49b51c
Fix a bug when building tokens (#435)
Fix a bug when building tokens
2019-12-23 01:40:56 +08:00
ruibaby 0fe4f95d97 fix: post count tag. 2019-12-22 21:34:38 +08:00
liaozan f082c90201
Update AdminServiceImpl.java 2019-12-22 07:36:21 +08:00
liaozan 6264517196
Update AdminServiceImpl.java
It should be this value...
2019-12-22 07:34:22 +08:00
ruibaby 5e91fc4f6a feat: #433 2019-12-21 19:52:08 +08:00
ruibaby 19862b0f79 feat: create get attahcment types api. 2019-12-20 22:38:21 +08:00
ruibaby 6941cd4c32 feat: support markdown for journal. 2019-12-20 22:06:03 +08:00
ruibaby f60938ec87 feat: support cdn for post content image. 2019-12-20 21:06:38 +08:00
ruibaby 0c189ee06c feat: support post custom template. 2019-12-20 16:47:02 +08:00
ruibaby a0d4c7493f feat: log reset password code if didn't config smtp. 2019-12-19 20:50:12 +08:00
ruibaby 6aa31fb2d2 fix: markdown table rendering issues. 2019-12-19 19:59:42 +08:00
ruibaby 999b72a8c5 fix: edit wrap issues. 2019-12-19 19:52:39 +08:00
ruibaby 5c6d2abc00 refactor: markdown parse emoji type. 2019-12-19 19:20:34 +08:00
ruibaby f5d957edc1 refactor: refactor post preview and private post view. 2019-12-19 17:49:07 +08:00
ruibaby e6497f97ad feat: create get logfile content api. 2019-12-19 11:03:49 +08:00
ruibaby 514dfcf5dc release: 1.2.0-beta.1 2019-12-18 20:03:07 +08:00
ruibaby 016ce4822b test: test travis ci. 2019-12-18 19:52:16 +08:00
ruibaby faa9b2820a test: test travis ci. 2019-12-18 19:52:02 +08:00
ruibaby 2b75762b76 feat: completed static storage api. 2019-12-18 17:41:15 +08:00
ruibaby 0d622d35d1 feat: update migrate sql script. 2019-12-18 15:42:15 +08:00
ruibaby f1dbeef81a feat: add blog statistics api. 2019-12-16 22:25:29 +08:00
ruibaby 26da4bd3c7 fix: sm.ms upload handler. 2019-12-16 17:45:13 +08:00
ruibaby ac0905b9a2 feat: support mermaid. 2019-12-13 18:59:40 +08:00
johnniang dc3a73ee02 Config freemarker with safer resolver 2019-12-13 01:25:18 +08:00
johnniang 568e48733f Fix xml external entity vulnerability 2019-12-13 01:07:01 +08:00
johnniang 2056f528fd Fix vulnerability while deleting backup file 2019-12-13 00:28:51 +08:00
johnniang d59877a9ce Fix directory traversal vulnerability 2019-12-13 00:17:11 +08:00
ruibaby 5a5e84158f feat: update halo admin. 2019-12-12 22:12:03 +08:00
ruibaby 3ba40b3e1c refactor: comment status update api. 2019-12-12 20:11:20 +08:00
johnniang 4ec90d2d7f Refactor post status update api 2019-12-12 18:47:38 +08:00
johnniang 7d17d6c9a8 Fix lombok error 2019-12-12 18:40:05 +08:00
ruibaby 6c677c94ef feat: #424 2019-12-12 15:14:05 +08:00
ruibaby 30eacdb342 feat: add update status in batch api for comment. 2019-12-12 14:34:12 +08:00
ruibaby 68512988d0 feat: add update status in batch api for post. 2019-12-12 13:52:40 +08:00
ruibaby f36f8aed8a feat: support remove in batch api for comment. 2019-12-12 13:28:26 +08:00
ruibaby a55b469ae4 feat: support remove in batch api for post. 2019-12-11 23:14:12 +08:00
johnniang bd2eebf1cd Add base post services 2019-12-11 23:10:01 +08:00
johnniang afdf94b898 Add draft content updation and enhance page list api 2019-12-11 22:48:13 +08:00
johnniang f3e81b9bfb Clear cache before application id destroyed 2019-12-10 23:45:50 +08:00
johnniang d7a8723c61 Resolve conflict 2019-12-10 15:07:14 +08:00
johnniang 8dac1a176a Fix visit event ingore 2019-12-10 15:03:27 +08:00
ruibaby bc411484d6 feat: support sheet meta. 2019-12-10 13:04:10 +08:00
ruibaby 267e184af1 fix: #416 2019-12-10 11:06:45 +08:00
johnniang 304ad0e9f7 Fix null error while unset page or size 2019-12-09 18:05:13 +08:00
ruibaby 0400911941 feat: support preset post meta field. 2019-12-07 20:37:40 +08:00
ruibaby ddef7e09d2 feat: #412 2019-12-06 20:06:56 +08:00
ruibaby a64b7ad58b feat support restart application api. 2019-12-03 20:34:45 +08:00
johnniang f0b94a621d Overload the constructor of Option entity 2019-12-03 20:20:58 +08:00
ruibaby a3e866f797 Merge branch 'dev' of github.com:halo-dev/halo into dev 2019-12-03 12:35:33 +08:00
ruibaby bc06a49651 feat: add some api for option. 2019-12-03 12:35:23 +08:00
johnniang 2ebea696a5 Add api: delete attachments permanently in batch 2019-12-02 23:15:52 +08:00
ruibaby 3676a77be2 feat: create list_view for option api. 2019-12-02 22:59:41 +08:00
ruibaby 316e618dee feat: add description field for theme setting. 2019-12-02 20:41:41 +08:00
ruibaby b08dd8a494 feat: complete V1__migrate_*_to_1.1.3.sql. 2019-12-02 19:45:55 +08:00
ruibaby 30656f5dee feat: support flywaydb. 2019-12-02 12:53:15 +08:00
ruibaby f1944c5629 fix: markdownImportTest error. 2019-12-01 20:40:04 +08:00
ruibaby 47ea992e7c fix: can not delete post meta. 2019-12-01 20:23:53 +08:00
ruibaby b2a6d06173 feat: add convert meta list to map method. 2019-12-01 20:16:36 +08:00
ruibaby 5819fd735a style: add author for some class. 2019-12-01 19:38:12 +08:00
guqing 73d198505a Merge branch 'dev' of https://github.com/halo-dev/halo into dev 2019-12-01 18:36:16 +08:00
guqing 7cc3c787cb feat: support post metas 2019-12-01 18:35:53 +08:00
johnniang 6214f140d8 Correct third person call 2019-11-30 23:49:51 +08:00
johnniang 0c1b32e776 Remove redundant code of http servlet request fetching globally 2019-11-30 23:23:06 +08:00
ruibaby c643e204f8 feat: add treeByTeam tag for menu. 2019-11-30 21:10:42 +08:00
johnniang a3bffe67a7 Throw forbidden exception while temporary token expired 2019-11-30 15:53:52 +08:00
johnniang 60cac1313e Fix backup download error and add temp token support 2019-11-30 03:39:03 +08:00
johnniang 2153998a32 Secure backup file downloading 2019-11-30 01:29:01 +08:00
johnniang 8463a3f31e Allow customization of admin path 2019-11-29 23:34:07 +08:00
ruibaby f7057db030 style: change freemarker package. 2019-11-29 22:22:58 +08:00
ruibaby 192890b5f2 feat: refactor PostTagDirective. 2019-11-29 21:53:36 +08:00
ruibaby 537d28ba1c style: Change AttachmentType enum. 2019-11-29 21:27:33 +08:00
ruibaby ee6e5d52be release: 1.1.3-beta.2. 2019-11-27 12:43:19 +08:00
ruibaby 61a98b8f7b style: change some class name. 2019-11-25 23:13:42 +08:00
ruibaby 7faa96b45b style: change some class name. 2019-11-25 22:32:35 +08:00
ruibaby ce458d238a Merge branch 'dev' of github.com:halo-dev/halo into dev 2019-11-25 21:29:30 +08:00
ruibaby dc497c3c85 feat: support set style rule for tencent cos. 2019-11-25 21:26:51 +08:00
xebcxc c61e8be9a3 增加toc支持的标题层级,目前不支持h4级标题以上(包括) 2019-11-25 12:53:19 +08:00
ruibaby 6ce444171b feat: modify actuator base path. 2019-11-24 11:04:38 +08:00
ruibaby 4f229d3427 feat: support developer mode. 2019-11-23 22:56:14 +08:00
ruibaby c1292438ea feat: remove halo prefix for admin path. 2019-11-22 12:31:14 +08:00
ruibaby ede23329d5 Merge branch 'dev' of github.com:halo-dev/halo into dev 2019-11-22 11:28:56 +08:00
ruibaby b914e6bc0e feat: add tree view and list view comments data api for post and sheet. 2019-11-22 11:28:22 +08:00
johnniang b28eeb2657 Remove redundant try clause 2019-11-21 23:28:31 +08:00
johnniang 35ab8407d8 Fix file list bug 2019-11-21 23:27:47 +08:00
Leixinxin dbfa77e992 feat:(add customize resttempalte timeout.) 2019-11-19 23:36:51 +08:00
johnniang 627b15fa92 Try to resolve Too many open files error 2019-11-19 21:38:49 +08:00
johnniang 53f45458b2 Replace downloadUrl into downloadLink of BackupDTO 2019-11-19 21:29:50 +08:00
ruibaby a182dc7de7 feat: support get backup file size. 2019-11-19 12:24:08 +08:00
ruibaby c95aee14a7 Update PostServiceImpl.java 2019-11-18 20:19:06 +08:00
ruibaby 4b59b9eb57 feat: support set protocol for cloud storage. 2019-11-18 20:12:49 +08:00
ruibaby dbf12f711c Update OptionServiceImpl.java 2019-11-18 13:05:50 +08:00
ruibaby cd2c3a17b3 feat: unified formatted slug. 2019-11-18 12:55:32 +08:00
ruibaby 020fe50be9 fixed: swagger-ui address redirect to 404. 2019-11-18 11:45:42 +08:00
ruibaby 381341a18b feat: hide admin path in robot.txt 2019-11-18 11:42:25 +08:00
johnniang 80c28bac0e Try to release v1.1.3-beta.1 2019-11-18 05:32:56 +08:00
johnniang ec5f8f9b07 Add updateTime property into BackupDTO 2019-11-18 03:41:31 +08:00
johnniang 079928feed Comment a warning on MainController redirection 2019-11-18 02:40:10 +08:00
johnniang c7d88b1d1f Accomplish backup listing and deletion 2019-11-18 02:37:36 +08:00
johnniang a041409ff7 Accomplish zip utility 2019-11-17 23:00:50 +08:00
johnniang 95b3e944f0 Update exception throw logic 2019-11-17 21:07:49 +08:00
johnniang ccdb705e7e Change some warning log to debug level 2019-11-16 21:07:54 +08:00
johnniang 07eea75e13 Fix issue#381: No IP address is recorded in log 2019-11-16 20:52:07 +08:00
johnniang 9dd02ee8c4 Enable ip lock while updating password 2019-11-16 20:10:02 +08:00
bobo eaee041644 Batch export markdown backup in hexo format 2019-11-14 09:47:09 +08:00
ruibaby 54e17acfc0 solved #361 2019-11-12 20:13:51 +08:00
ruibaby 9015f30c51 fixed #373 2019-11-12 19:58:03 +08:00
Ryan Wang 9a7608831e
Merge pull request #353 from weiwensangsang/dev-local-1030
修复上传附件时选择ico文件会失败的问题
2019-11-01 21:13:53 +08:00
ruibaby 3ef04ccfa4 Merge branch 'dev' of github.com:halo-dev/halo into dev 2019-10-31 19:19:45 +08:00
ruibaby 2f847b9a94 fix #356 2019-10-31 19:19:36 +08:00
weiwensangsang b769843282 fix error when input ico 2019-10-31 00:48:31 +08:00
Ryan Wang f57c2fac7b
在dev分支上解决缺省文章路径未进行URL转义的问题 (#351)
在dev分支上解决缺省文章路径未进行URL转义的问题
2019-10-30 20:22:02 +08:00
ruibaby 13c120b815 Refactor migrate api. 2019-10-30 16:07:01 +08:00
weiwensangsang 11960e92a0 Update PostParam.java 2019-10-29 21:55:33 +08:00
ruibaby bf1bea2e97 Refactor migrate api. 2019-10-29 20:50:38 +08:00
ruibaby fff323ee2c Refactor migrate api. 2019-10-29 20:33:35 +08:00
guqing 663b89deb6 merge conflicts 2019-10-29 15:28:15 +08:00
guqing 58b543cb9e Fixed problem resolving overwriting of node values with the same name in different namespaces 2019-10-29 15:23:09 +08:00
guqing a276f27c7b Fixed problem resolving overwriting of node values with the same name in different namespaces 2019-10-29 15:09:38 +08:00
ruibaby 463b786671 Update robots router. 2019-10-28 20:36:42 +08:00
ruibaby eb7ff715c2 Create list team api for menu/link. 2019-10-24 10:25:14 +08:00
ruibaby dd0b161856 Merge branch 'dev' of github.com:halo-dev/halo into dev 2019-10-19 20:02:50 +08:00
ruibaby 7b8fc49604 Update dependencies. 2019-10-19 20:02:28 +08:00
Shen Jiahuan 47c5db4d2c typo fix 2019-10-12 19:10:59 +08:00
ruibaby bade5f9f29 release 1.1.1 2019-09-26 14:49:29 +08:00
John Niang 7235b45fbb
Merge pull request #314 from tu-trankilo/master
增加链接排序
2019-09-26 07:39:19 +08:00
ruibaby 90a5a48266 Update mysql datasource url,added allowPublicKeyRetrieval parameter. 2019-09-24 20:18:05 +08:00
ruibaby d02325b303 Complete content api. 2019-09-23 20:28:38 +08:00
mrdong916 6c88aa4c05 链接增加排序 2019-09-19 00:10:23 +08:00
ruibaby 3e8930edc8 release 1.1.0 2019-09-11 21:30:06 +08:00
ruibaby 85013b9b1e Update readme. 2019-09-11 20:50:23 +08:00
ruibaby b97628f4a8 Update readme. 2019-09-11 20:27:00 +08:00
johnniang 2297a895f1 Set thumbnail image with original image while OOM 2019-09-10 12:56:03 +08:00
johnniang 7aaf670276 Add lock while uploading image file 2019-09-10 12:02:42 +08:00
johnniang 8189cc08dd Enable image cache custom 2019-09-10 09:43:53 +08:00
johnniang 7bd43cc46a Optimize thumbnail generator 2019-09-10 01:48:11 +08:00
johnniang bd46199d5f Exclude password reset api 2019-09-09 23:24:23 +08:00
johnniang 71b661d440 Relocate Transactional annotation 2019-09-09 23:24:04 +08:00
ruibaby d41d3d8517 Refactor generateThumbnail method. 2019-09-09 12:55:08 +08:00
ruibaby f375c28733 Add comments model for post and sheet. 2019-09-08 22:18:57 +08:00
ruibaby b27123adf5 Fixed #290 2019-09-08 21:29:25 +08:00
ruibaby ff134941c2 Unencrypt the post password. 2019-09-06 23:43:37 +08:00
ruibaby cbb2269ce8 Refactor attachment handler. 2019-09-06 22:51:17 +08:00
ruibaby 1a091fb6b8 release 1.1.0-beta.3 2019-09-06 20:20:07 +08:00
ruibaby 83789d52df Support set password to post. 2019-09-06 16:57:26 +08:00
ruibaby 6564710453 Create pageBy for journal service. 2019-09-06 12:35:23 +08:00
ruibaby 96c74369d6 Add type field for JournalDTO. 2019-09-06 12:26:24 +08:00
ruibaby e6c6624680 Create list teams api for photo. 2019-09-06 11:59:37 +08:00
ruibaby 433f607634 Refactor post preview. 2019-09-06 11:00:06 +08:00
ruibaby 73b1e606b9 Support preview post and sheet. 2019-09-05 21:29:10 +08:00
ruibaby 042e5af43d Completed #208 2019-09-05 17:10:17 +08:00
johnniang ec4932ef4a Fix startup exception 2019-09-04 17:32:45 +08:00
ruibaby 0385dec6ca Support set cdn url instead of base url. 2019-09-04 09:36:46 +08:00
ruibaby 8cc21c948e Fixed #279 2019-09-03 10:34:53 +08:00
ruibaby 3d280de545 Fixed #280 2019-09-03 10:11:25 +08:00
johnniang c30f107a96 Enable request and response logging 2019-09-02 21:55:17 +08:00
ruibaby 9139285a37 Release 1.1.0-beta.2 2019-09-01 21:37:53 +08:00
ruibaby 6c1a11dac9 Fixed save theme content error. 2019-09-01 21:31:51 +08:00
ruibaby 91797c1801 Support stick post. 2019-08-30 20:57:34 +08:00
johnniang 62975bfd6a Optimize option saving 2019-08-30 00:21:39 +08:00
ruibaby 5ed9a407ad Support set post sort. 2019-08-29 21:02:31 +08:00
johnniang f0a69ece86 Fix property conversion bug 2019-08-29 01:04:38 +08:00
ruibaby a08cb09e5c Update anatole theme. 2019-08-28 15:52:16 +08:00
ruibaby 2213430c91 released 1.1.0-beta.1 2019-08-28 12:00:16 +08:00
ruibaby 7f3177eddc Fixed file upload handler. 2019-08-28 10:46:28 +08:00
ruibaby f62f3f5c4a Add property createTime to SheetParam. 2019-08-28 08:28:05 +08:00
ruibaby 46b10fb342 Support menu team. 2019-08-28 08:04:54 +08:00
ruibaby 0f5c836e63 Support attachment type for theme setting. 2019-08-28 00:13:04 +08:00
ruibaby 9ae1f739c7 Support journal type. 2019-08-27 12:32:37 +08:00
ruibaby f99bf401a5 Support comment js address options. 2019-08-25 15:53:54 +08:00
ruibaby a160bad825 Support color type for theme setting. 2019-08-24 21:39:28 +08:00
ruibaby f7c3ca8020 Create /api/admin/is_installed api. 2019-08-24 11:41:34 +08:00
ruibaby 648becf111 Support update theme from new theme package. 2019-08-22 22:03:48 +08:00
ruibaby f70f7560ba Fixed markdown render with short url. 2019-08-18 20:38:38 +08:00
ruibaby 912427d159 Create api for update comment. 2019-08-17 17:11:10 +08:00
ikaisec e3b17ddcb4 Support sm.ms api v2 #271 2019-08-04 22:20:56 +08:00
ikaisec 557b286550 Completed meta service. 2019-08-04 16:42:59 +08:00
ikaisec efa34e86be Fixed SheetMeta. 2019-08-04 15:40:23 +08:00
ikaisec f4dd27f9f4 Create meta entity. 2019-08-04 15:31:19 +08:00
johnniang 8e420914aa Add tags and categories for returning as content post api requests 2019-07-29 20:36:44 +08:00
johnniang acc1448f6d Fix #264 fatal render for rss 2019-07-29 20:08:08 +08:00
johnniang 983856e9ff Remove type property of post 2019-07-29 19:51:36 +08:00
wangya a4e3ca3ca7 修复腾讯云上传文件可能导致的oom问题 2019-07-26 19:54:41 +08:00
wangya 6927eabf27 新增腾讯云oss功能;
解决腾讯云jar包中的日志包与项目的日志包冲突问题
2019-07-26 00:18:10 +08:00
johnniang 81ab1672f8 Enhance BaiDuYunFileHandler 2019-07-24 00:08:36 +08:00
wangya 9aa4532426 新增百度云oss文件上传下载功能 2019-07-20 23:26:50 +08:00
John Niang b5294ed09c
Merge pull request #248 from jinqilin721/dev
Fix the problem that the project cannot start after moving to a new server
2019-07-18 17:39:24 +08:00
jinqilin721 7e0b0eb1f2 Fix the problem that the project cannot start after moving to a new server 2019-07-18 17:32:26 +08:00
ruibaby 5e7c5cf9d6 Page sheet by createTime default. 2019-07-15 23:49:30 +08:00
ruibaby b759380f75 Set default parent id when delete category. 2019-07-14 10:52:12 +08:00
ruibaby e5790b3231 Complete CommentTagDirective. 2019-07-14 10:29:52 +08:00
Ryan Wang 954dfd6415
Fix UpYun oss (#241)
Fix UpYun oss
2019-07-13 20:27:17 +08:00
darkcloth 7f699d1a40 Fix UpYun oss delete error. 2019-07-13 19:16:03 +08:00
ruibaby 18e9906f4a Change first comment info. 2019-07-13 16:49:43 +08:00
ruibaby 11d798ffa3 Perfect codes. 2019-07-10 17:19:19 +08:00
ruibaby 9c0c610338 Update global_macro.ftl. 2019-07-10 13:45:00 +08:00
ruibaby 12846a4c5d Fixed remove menu error. 2019-07-10 01:42:00 +08:00
ruibaby cb06e7c842 release 1.0.3 2019-07-09 21:28:17 +08:00
ruibaby e67061cf74 Fixed the problem of not adding post status when querying posts by category or tag. 2019-07-09 20:25:14 +08:00
ruibaby 31f4ec3afe Merge branch 'master' into dev 2019-07-09 15:47:08 +08:00
ruibaby c52e295f9a Fixed XmlTransferMapUtils. 2019-07-09 15:46:38 +08:00
guqing 4b0b9d5245
新增wordpress导出xml文章数据解析器返回Map<String, Object> 2019-07-09 15:39:19 +08:00