Commit Graph

1056 Commits (9e1edd26bcf1b83b0352f73903a75e5b475215c8)

Author SHA1 Message Date
johnniang b61d24d7bd Fix migration bug 2019-04-27 00:19:51 +08:00
johnniang 5adeed87cb Complete comments migration 2019-04-27 00:06:28 +08:00
ruibaby 6f35efe90f Support journal search. 2019-04-26 22:58:27 +08:00
johnniang c438d99d47 Complete migration handler 2019-04-26 17:09:27 +08:00
johnniang e13e56f57b Build basic controllers and services for backup and recovery 2019-04-26 10:52:05 +08:00
johnniang 72a2a0647b Refactor tag dto conversion 2019-04-26 10:13:27 +08:00
johnniang 1fd99967b5 Refactor category dto conversion 2019-04-26 10:05:39 +08:00
johnniang ad751f1797 Complete category updating api 2019-04-26 09:58:24 +08:00
ruibaby 1c7e6eaeb7 Merge remote-tracking branch 'origin/v1' into v1 2019-04-26 01:38:22 +08:00
ruibaby 288925ff12 Create journal update api for journal. 2019-04-26 01:38:12 +08:00
johnniang 987784f88a Complete sheet list and creation api 2019-04-26 01:00:25 +08:00
johnniang e8ba507717 Complete journal list and creation api 2019-04-26 00:32:52 +08:00
ruibaby 6e56732cf4 Merge remote-tracking branch 'origin/v1' into v1 2019-04-26 00:31:00 +08:00
ruibaby 473f17c257 Create menu get api for menu. 2019-04-26 00:29:25 +08:00
johnniang c454acd4a9 Perfect sheet and journal comment controller 2019-04-26 00:13:59 +08:00
johnniang 619d30bac3 Complete sheet comment list api 2019-04-26 00:08:35 +08:00
johnniang 8dc22c20e5 Complete sheet comment creation api 2019-04-25 23:40:40 +08:00
johnniang d7aebebf18 Complete journal comment list api 2019-04-25 23:13:13 +08:00
johnniang 2219583487 Complete JournalService#convertToCmtCountDto 2019-04-25 22:45:11 +08:00
ruibaby f541d470de Change gallery to photo. 2019-04-25 22:39:50 +08:00
johnniang da52405843 Remove useless post dtos 2019-04-25 22:18:57 +08:00
johnniang 16476f5a9b Refactor sheet service and contorller 2019-04-25 22:09:05 +08:00
johnniang 64397753be Refactor post service and controller 2019-04-25 22:02:40 +08:00
johnniang c3985cf9c5 Rename comment to post comment 2019-04-25 20:34:02 +08:00
johnniang c9bfd11cd5 Complete journal comment list api 2019-04-25 20:10:07 +08:00
johnniang ef2c2b2759 Refactor related comment services 2019-04-25 19:59:19 +08:00
johnniang 388a37adfe Enhance InputConverter 2019-04-25 19:59:19 +08:00
ruibaby faa2a26e7a Complate properties default value. 2019-04-25 15:58:13 +08:00
johnniang 5f6a8ba790 Refactor journal entity, repository, service and controller 2019-04-25 14:03:59 +08:00
johnniang f99efc891f Fix journal creation error 2019-04-25 14:03:59 +08:00
ruibaby 6cfca880ab Merge remote-tracking branch 'origin/v1' into v1 2019-04-25 11:54:07 +08:00
ruibaby 6c371408eb Remove Owo plugin. 2019-04-25 11:53:13 +08:00
johnniang f5ebfbe8dc Complete get journal page api 2019-04-25 11:26:57 +08:00
johnniang 25a8d663db Complete list latest journals and journal creation api 2019-04-25 10:57:15 +08:00
johnniang e854626366 Fix option list bug 2019-04-25 10:16:35 +08:00
johnniang 4819a9824f Complete option default value and type feature 2019-04-25 02:23:19 +08:00
ruibaby f893294076 Create gallery save api for gallery. 2019-04-25 01:41:41 +08:00
ruibaby cf3301d15a Create page api for gallery. 2019-04-25 01:11:58 +08:00
johnniang 8b80ed69b1 Change some variable names 2019-04-24 23:35:08 +08:00
johnniang 4695868fa7 Refactor visit event 2019-04-24 23:31:32 +08:00
ruibaby 93eb1250f7 Fixed sheet update error. 2019-04-24 23:30:27 +08:00
johnniang 4a46132ffe Refactor post service 2019-04-24 23:15:54 +08:00
ruibaby f44ffe5001 Add @Data for SheetParam. 2019-04-24 22:43:14 +08:00
ruibaby eda106fad3 Merge remote-tracking branch 'origin/v1' into v1 2019-04-24 22:29:30 +08:00
ruibaby cafe1508de Refactor SheetParam. 2019-04-24 22:29:21 +08:00
johnniang 06ad1bf82f Refactor post repository 2019-04-24 22:25:55 +08:00
johnniang 204bc8b4a4 Refactor sheet apis 2019-04-24 22:01:10 +08:00
johnniang 56ff28cbbf Refactor sheet pageBy api 2019-04-24 21:53:59 +08:00
johnniang 227891f465 Remove useless class 2019-04-24 21:47:24 +08:00
johnniang be960c2fe9 Resolve conflict 2019-04-24 21:43:50 +08:00
johnniang e77d5449d0 Refactor repo, service related comment 2019-04-24 21:41:36 +08:00
ruibaby 511b952b00 Render sheet page. 2019-04-24 19:01:31 +08:00
johnniang d256ef7653 Complete Sheet base structure 2019-04-24 18:33:42 +08:00
ruibaby 822a362a45 Update anatole setting.yaml. 2019-04-24 17:08:06 +08:00
ruibaby 02b6878aec Change options.yaml to settings.yaml. 2019-04-24 14:36:20 +08:00
johnniang 819c999dcf Build base structure of mixed entities 2019-04-24 13:40:50 +08:00
ruibaby df276066db Change page to sheet. 2019-04-24 13:38:24 +08:00
ruibaby af29d32df0 Change run.halo.app.web.controller to run.halo.app.controller 2019-04-24 11:50:04 +08:00
ruibaby 56f5577356 Change page to sheet. 2019-04-24 11:45:21 +08:00
johnniang 7b21b085e7 Change Post entity to Sheet 2019-04-24 11:27:20 +08:00
johnniang 1c9f561f22 Refactor comment creation 2019-04-24 11:04:43 +08:00
johnniang 85ba526a1d Increase post visit queue and post visit task map init capacity 2019-04-24 11:04:43 +08:00
ruibaby 6b663cce6a Send email to admin when have a new comment. 2019-04-23 23:31:29 +08:00
johnniang bfc19c9cf3 Add additional admin resources location 2019-04-23 22:53:37 +08:00
johnniang 038f9e197e Complete admin redirection 2019-04-23 22:46:40 +08:00
johnniang b2af6dcc0a Complete structure of mailing on comment 2019-04-23 21:34:04 +08:00
johnniang 3a15fb307c Replace ServiceException with EmailException in MailService 2019-04-23 20:05:34 +08:00
johnniang a5b016ef19 Add category post count support 2019-04-23 18:39:03 +08:00
johnniang 36c8a21af4 Rename output dto to dto 2019-04-23 17:50:36 +08:00
ruibaby e6e880d20a Merge remote-tracking branch 'origin/v1' into v1 2019-04-23 14:46:37 +08:00
ruibaby 81ba6e3c5f Update anatole theme. 2019-04-23 14:46:22 +08:00
ruibaby 42ec47ae2f Update CAN_EDIT_SUFFIX. 2019-04-23 00:26:28 +08:00
johnniang 7810637da4 Enable base response in content fetching api 2019-04-22 22:34:17 +08:00
johnniang d0576bf653 Change log package to logger 2019-04-22 22:22:40 +08:00
johnniang e92328911c Fix tag deletion bug 2019-04-22 22:17:36 +08:00
johnniang cee5ccba69 Complete post likes feature 2019-04-22 21:11:33 +08:00
johnniang 1daead943d Remove deprecated classes 2019-04-22 20:35:50 +08:00
johnniang 77196780ee Complete post visits statistic feature 2019-04-22 17:41:40 +08:00
ruibaby d1da6880f6 Refactor GalleryTagDirective. 2019-04-22 17:36:12 +08:00
johnniang 2ae70e1760 Complete log creation 2019-04-22 11:23:01 +08:00
johnniang 8e64b9acd6 Deprecate event queue publisher and listener manager 2019-04-22 10:56:59 +08:00
ruibaby 6b46e8a897 Support attachment query by type. 2019-04-22 00:24:16 +08:00
ruibaby b17e03acff Update anatole theme. 2019-04-21 22:56:54 +08:00
johnniang 27a8460ce1 Complete event queue publishing 2019-04-21 22:52:32 +08:00
ruibaby d41c32da43 Complete archives page controller. 2019-04-21 16:21:13 +08:00
ruibaby 25ca8b96be Change portal.api to content.api. 2019-04-21 16:09:02 +08:00
ruibaby 4c2eaa1266 Complete search controller. 2019-04-21 15:55:31 +08:00
ruibaby 6fa03b0f21 Complate category page and tag page. 2019-04-21 15:35:16 +08:00
johnniang 336b5bea71 Update common_macro.ftl 2019-04-21 14:56:42 +08:00
ruibaby 45e6030594 Update common_macro.ftl. 2019-04-21 14:51:27 +08:00
johnniang 7983ba8fb1 Fix list previous posts bug 2019-04-21 14:46:51 +08:00
ruibaby 36f69cab39 Refactor gallery page. 2019-04-21 14:45:33 +08:00
johnniang 38eadc9674 Add list previous and next posts service 2019-04-21 14:31:10 +08:00
johnniang 384286782f Optimize content archive controller 2019-04-21 14:22:28 +08:00
ruibaby 135586b4ec Update anatole theme. 2019-04-21 12:24:37 +08:00
johnniang b6e42e2d7e Add get preview and next post feature 2019-04-21 11:52:41 +08:00
ruibaby 6f6ed51e8a Merge remote-tracking branch 'origin/v1' into v1 2019-04-21 11:45:02 +08:00
ruibaby 219560714b Update anatole theme. 2019-04-21 11:44:47 +08:00
johnniang 2292db3c59 Refactor content feed part 2019-04-21 11:41:31 +08:00
johnniang 0353c92995 Handle HttpMediaTypeNotAcceptableException with 406 status 2019-04-21 10:03:28 +08:00
johnniang 4cd77ed829 Disallow to return some settings that aren't in theme configuration 2019-04-21 09:32:08 +08:00
johnniang 5a7b02c4aa Convert theme setting with type 2019-04-21 00:52:43 +08:00
johnniang fe391c93e7 Change halo properties boxed bool type to primitive bool type 2019-04-20 22:52:20 +08:00
johnniang 287250358e Change list media types api path to snake style 2019-04-20 21:27:20 +08:00
johnniang 175739dbd4 Fix theme activation bug 2019-04-20 21:24:26 +08:00
ruibaby ea761fa73f Merge remote-tracking branch 'origin/v1' into v1 2019-04-20 19:12:47 +08:00
ruibaby e13c617c81 Support attachment query by media type. 2019-04-20 19:12:35 +08:00
johnniang 987d160075 Remove some useless codes 2019-04-20 18:00:21 +08:00
johnniang bd9dd69674 Refactor freemarker configuration with event 2019-04-20 17:52:26 +08:00
ruibaby bd7d627d76 Merge remote-tracking branch 'origin/v1' into v1 2019-04-20 17:03:53 +08:00
ruibaby 297bde97d2 Update anatole theme. 2019-04-20 17:03:42 +08:00
johnniang e81ed5b660 Add theme folder name in theme property 2019-04-20 16:57:13 +08:00
johnniang e46c1f8740 Replace themeName with themeId 2019-04-20 16:31:47 +08:00
johnniang feeecc30b2 Fix theme render build error 2019-04-20 16:10:27 +08:00
ruibaby ff4f9c4bd6 Create update api for attachment. 2019-04-20 12:26:52 +08:00
johnniang 5b59a8ab50 Complete theme fetching feature 2019-04-19 13:57:28 +08:00
johnniang ef9b6eb9f8 Change theme property list to set 2019-04-19 10:49:34 +08:00
johnniang 01b57826f0 Refactor theme uploading and addition 2019-04-19 10:15:28 +08:00
johnniang ef417a2c14 Add some useful features to FileUtils 2019-04-19 09:36:20 +08:00
johnniang 3d17e0f786 Perfect FileUtils 2019-04-19 08:31:05 +08:00
ruibaby 8b688e784a Merge remote-tracking branch 'origin/v1' into v1 2019-04-19 00:48:21 +08:00
ruibaby 4a2ac0bf29 Support attachment search. 2019-04-19 00:47:58 +08:00
johnniang 5ebf5653f3 Move theme config handler to new package 2019-04-18 23:42:51 +08:00
johnniang 76b3310027 Add a common theme addition service 2019-04-18 23:41:31 +08:00
ruibaby 9e9bd1a377 Create pageBy api for comment. 2019-04-18 22:21:39 +08:00
johnniang 54b4f9da68 Refactor authentication filter 2019-04-17 00:41:40 +08:00
johnniang 8517f98ee4 Change router from /admin/api to /api/admin 2019-04-16 23:41:08 +08:00
ruibaby c2bcfd59fc Create update api for link. 2019-04-16 23:17:29 +08:00
johnniang 59ecc132b3 Disable open in view feature of jpa 2019-04-16 23:11:09 +08:00
johnniang 4b7df3286f Change default theme id to caicai_anatole 2019-04-16 23:11:09 +08:00
ruibaby fae4b9a4ef Clear cache when theme uploaded. 2019-04-16 20:15:43 +08:00
ruibaby 001d9f8885 Complates upload theme api. 2019-04-16 20:01:20 +08:00
ruibaby 297b751e38 Add createTime for AttachmentOutputDTO. 2019-04-15 20:55:17 +08:00
ruibaby 94e77c3d4b Resolve attachment relative path problem again. 2019-04-13 19:08:23 +08:00
johnniang b138c2f820 Add avatar property in ThemeProperty#Author 2019-04-13 00:20:17 +08:00
johnniang 028b2b423f Resolve attachment relative path problem 2019-04-12 19:13:11 +08:00
johnniang 184523c8a3 Clear theme cache when saving options 2019-04-12 10:00:21 +08:00
johnniang 734b9e7338 Allow copying theme folder in non production environment 2019-04-11 23:49:46 +08:00
johnniang dda7225b2d Refactor theme configuration and theme property resolvers 2019-04-11 23:42:24 +08:00
ruibaby eeeee26b7c Refactor theme.yaml. 2019-04-11 22:48:14 +08:00
ruibaby 7e2948950c Change theme.properties to theme.yaml. 2019-04-11 22:47:27 +08:00
johnniang 6a37a9ae01 Refactor theme files comparision rule 2019-04-11 21:38:10 +08:00
johnniang 0e208448e6 Refactor category remove service 2019-04-11 21:38:10 +08:00
ruibaby de7b44cbbc 移除 hutool-setting 2019-04-11 21:35:21 +08:00
ruibaby 7c3d795cd4 主题文件列表排序 2019-04-11 21:14:40 +08:00
johnniang adabcedb5a Add more log detail print of hibernate in development environment 2019-04-11 09:26:51 +08:00
johnniang cad85c0bc7 Extract pageListVoBy to convertToListVo in PostService 2019-04-11 09:26:51 +08:00
johnniang 3d8579cb13 Complete post query api 2019-04-10 16:52:40 +08:00
johnniang 4b486ae099 Perfect theme configuration resolve 2019-04-10 12:48:21 +08:00
johnniang 901a6a0456 Change Tab to Group 2019-04-10 11:58:40 +08:00
johnniang e84025e9e3 Complete yaml theme configuration resolver 2019-04-10 11:53:22 +08:00
johnniang f72be35337 Move theme configuration entities 2019-04-10 11:29:20 +08:00
johnniang 8054b8f714 Complete yaml conversion test 2019-04-10 11:12:15 +08:00
johnniang 8a8d55eae1 Add data type property into ThemeSetting entity 2019-04-10 08:26:16 +08:00
johnniang b8fd0e4841 Add screenshots and isActivated into ThemeProperties 2019-04-09 22:06:46 +08:00
johnniang a68431b09f Complete theme setting api 2019-04-09 20:44:26 +08:00
johnniang cd82468496 Refactor ThemeSetting entity 2019-04-09 20:01:24 +08:00
johnniang 1b249de99e Complete copy folder from jar file 2019-04-09 19:49:00 +08:00
johnniang 52c3081577 Fix option list bug 2019-04-09 15:22:33 +08:00
johnniang fbb3653599 Add DirectoryAttackTest 2019-04-09 14:05:36 +08:00
johnniang 6a97628ffa Add a fetch theme configuration by theme id api 2019-04-09 14:01:10 +08:00
johnniang 67409cb792 Refactor ThemeService 2019-04-09 13:57:24 +08:00
johnniang 81dea867eb Fix hasOptions bug 2019-04-09 10:38:48 +08:00
johnniang e098e44d58 Enhance ThemeService 2019-04-09 10:18:48 +08:00
ruibaby 9b3bdc8d5e Refactor theme.properties. 2019-04-09 10:07:14 +08:00
johnniang 1f703ecf45 Fix some implicit bugs 2019-04-09 09:10:25 +08:00
johnniang 468a0323b4 Refactor and beauty codes 2019-04-09 01:18:52 +08:00
johnniang f87dc413e3 Remove source column of Option entity 2019-04-08 23:37:00 +08:00
johnniang 1fe26cb7d8 Add ThemeSetting entity 2019-04-08 23:23:03 +08:00
johnniang edefa7e810 Add some logs in save option service 2019-04-08 22:58:30 +08:00
johnniang 8fb7057cd4 Refactor ThemeService 2019-04-08 22:45:42 +08:00
ruibaby ad069a1812 Complate options.yaml for Material theme. 2019-04-08 22:39:36 +08:00
ruibaby 7a88a0c38b Update options.yaml for Material theme. 2019-04-08 22:09:18 +08:00
ruibaby c72934f671 Refactor ThemeService. 2019-04-08 21:58:13 +08:00
ruibaby 21c39ac33a Modify options.yaml 2019-04-08 21:42:52 +08:00
johnniang d35b6e7da3 Refactor controllers and HaloConst 2019-04-08 19:12:30 +08:00
johnniang d717d72303 Update anatole options.yaml again 2019-04-08 17:32:24 +08:00
johnniang 8398b1c40e Update anatole options.yaml 2019-04-08 17:08:48 +08:00
johnniang 23cd1d17fc Complete theme configuration fetch api 2019-04-08 16:08:19 +08:00
johnniang f362a56bc7 Refactor anatole options.yaml 2019-04-08 13:46:22 +08:00
ruibaby 7399d67b6a Add options.yaml for Material theme. 2019-04-08 12:38:22 +08:00
ruibaby 313377802b Add options.yaml for anatole. 2019-04-08 12:19:08 +08:00
johnniang 99e12d7941 Deprecate some dangerous services 2019-04-08 11:34:54 +08:00
ruibaby 8860a3270e 菜单支持多级 2019-04-07 21:49:08 +08:00
ruibaby c42203ac20 提供删除主题的接口 2019-04-07 17:49:32 +08:00
ruibaby e5abaefc37 提供删除主题的接口 2019-04-07 17:44:34 +08:00
ruibaby eeb06ca9bb Revert 2019-04-06 20:59:52 +08:00
ruibaby 5c1b521b11 删除无用配置 2019-04-05 23:40:26 +08:00
ruibaby 7fad38ebec 代码优化 2019-04-05 23:35:41 +08:00
RYAN0UP_ 48528fd169
Merge pull request #137 from MyFaith/v1
增加阿里云附件上传
2019-04-05 23:18:05 +08:00
MyFaith 56e350b972 阿里云附件上传 2019-04-05 23:07:22 +08:00
ruibaby 0530171e5f 代码优化 2019-04-05 20:18:31 +08:00
ruibaby cb4519a3ed Add message about datasource configuration for application.yaml. 2019-04-05 11:52:07 +08:00
ruibaby 105fb451af Create api for get custom template. 2019-04-04 17:04:58 +08:00
ruibaby 82af70abcc Complete admin theme api. 2019-04-04 14:06:30 +08:00
johnniang 94eacf1da6 Update Arrays.asList with Collections.singletonList 2019-04-03 23:54:32 +08:00
johnniang 545bb023eb Change dev database config from mysql to h2 2019-04-03 23:53:03 +08:00
ruibaby 2db1669e3f Change base package to run.halo.app. 2019-04-03 20:06:59 +08:00
johnniang 68393361cd Remove url validation on url property of Menu 2019-04-03 17:33:41 +08:00
johnniang 6ceb18784f Complete menu updation and deletion api 2019-04-03 17:26:37 +08:00