Commit Graph

1718 Commits (949a3da3de2735ced9fc98db1105b966eaacacf0)

Author SHA1 Message Date
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
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
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
John Niang 474c2f369c
Merge branch 'github-ci' into dev 2020-01-31 11:31:03 +08:00
johnniang 73bea52f68 Enable github action cache for CI 2020-01-31 11:22:00 +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
John Niang eb176ee8d5
Add haloCodeStyle.xml (#524) 2020-01-31 00:34:22 +08:00
John Niang b9ca907396
Enable github ci on pull request (#525) 2020-01-31 00:33:16 +08:00
johnniang acc8ec44d2 Enable github ci on pull request 2020-01-30 23:26:39 +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 4be31d8923
chore: update dependencies. (#510)
* chore: update dependencies.
2020-01-20 12:25:12 +08:00