Commit Graph

4484 Commits (dd55a0f4907b7303cc9cb5eb9084e9aebca48d1c)

Author SHA1 Message Date
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 74ffba2b79 chore: upgrade dependencies. (halo-dev/console#69) 2020-02-24 14:33:23 +08:00
Ryan Wang 105cb49b85 feat: show quantity in category search in post list. (halo-dev/console#70) 2020-02-24 14:18:35 +08:00
Ryan Wang 8f36a5d124
fix: #549 (#587)
* fix: #549

* style: change normalizeImageUrl to normalizeUrl.
2020-02-23 23:34:20 +08:00
Ryan Wang 53f5180610 fix: If the post fails to save, the button will not be restored to clickable. (halo-dev/console#68) 2020-02-22 14:35:03 +08:00
Ryan Wang 2447fa190b pref: modify copywriting (halo-dev/console#67)
* style: modify the copy of dashboard posts read.

* style: modify the copy of profile posts read.
2020-02-22 14:34:41 +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 501808cb73 Support turn to posts list page by category. (halo-dev/console#66) 2020-02-17 15:28:49 +08:00
Ryan Wang 274b6178ee feat: 新增地址栏记录查询条件功能#60 (halo-dev/console#65) 2020-02-17 15:19:43 +08:00
Ryan Wang 04c604836a chore: add jsdelivr env. (halo-dev/console#64) 2020-02-16 16:38:42 +08:00
Ryan Wang d5cd993607 Update readme. (halo-dev/console#63)
* doc: update readme.

* Update README.md

* Update README.md
2020-02-16 16:36:40 +08:00
Ryan Wang bdff7a2c9c Merge pull request #62 from halo-dev/dev
sync
2020-02-16 15:49:21 +08:00
ruibaby 29cf553d8b refactor: about page. 2020-02-16 15:39:47 +08:00
ruibaby 2c78a7848c refactor: option form page. 2020-02-16 00:17:36 +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
ruibaby ad10279584 feat: support set thumbnail to category and tag. 2020-02-15 20:35:37 +08:00
ruibaby 069e47e8ac refactor: modify the copy of the post cover image. 2020-02-15 20:04:36 +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
ruibaby 72063b246e feat: support advanced options. 2020-02-14 16:21:24 +08:00
John Niang f35648ac75
Merge pull request #565 from JohnNiang/fix-backup-function
Fix backup function and create one-time token mechanism
2020-02-12 21:45:45 +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
ruibaby b07127ec68 feat: support review post url. 2020-02-11 15:32:25 +08:00
ruibaby 5c49bba25d feat: support set internal sheet's title. 2020-02-11 14:45:36 +08:00
ruibaby c524d43f9a feat: change post and sheet access url. 2020-02-11 12:15:48 +08:00
johnniang 5bd9472f9d Merge remote-tracking branch 'upstream/dev' into fix-backup-function 2020-02-11 11:28:16 +08:00
Ryan Wang 75b5c9efba
Merge pull request #560 from halo-dev/dev
Dev
2020-02-11 00:21:54 +08:00
Ryan Wang c9183421e3
Merge branch 'master' into dev 2020-02-10 23:54:48 +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
ruibaby f6dacad363 style: update halo.run url. 2020-02-06 14:34:39 +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