Commit Graph

791 Commits (5b59a8ab50d5a000af40f99ac96498b1d4e02a1d)

Author SHA1 Message Date
johnniang dd2caca58d Complete admin login api 2019-03-28 01:16:15 +08:00
johnniang 42032e3b78 Complete AdminAuthenticationFilter 2019-03-28 00:03:59 +08:00
ruibaby 9a9295d6c1 Fixed save options error 2019-03-27 23:16:49 +08:00
ruibaby 29834a9932 Rename filehandler to handler 2019-03-27 22:45:50 +08:00
johnniang 4f11942c9c Add all enum type converter 2019-03-27 21:53:56 +08:00
johnniang 3714e8e5bf Remove Customized Logger 2019-03-27 20:08:32 +08:00
johnniang 272a38cf12 Complete UpYun deletion handler 2019-03-27 19:55:41 +08:00
johnniang 51f71c0255 Complete QnYun deletion handler 2019-03-27 19:44:20 +08:00
johnniang c37b6dd4f8 Complete attachment deletion permanently service 2019-03-27 19:37:22 +08:00
johnniang b6f1a29951 Complete local file deletion service 2019-03-27 19:19:54 +08:00
johnniang 69b77ac245 Set key filed on UploadResult 2019-03-27 15:38:26 +08:00
johnniang e60460362b Refactor MailService 2019-03-27 15:12:27 +08:00
johnniang 58287e3ff3 Add EmailProperties 2019-03-27 15:12:27 +08:00
ruibaby 1d26aad03e Merge remote-tracking branch 'origin/v1' into v1 2019-03-27 14:52:24 +08:00
ruibaby 27036013bd Create application-user.yaml 2019-03-27 14:52:08 +08:00
johnniang e48e0de6a4 Refactor FileHandler 2019-03-27 13:28:58 +08:00
johnniang 5e60db3819 Replace FileService with FileHandlers 2019-03-27 11:22:38 +08:00
johnniang 88e0bc3099 Build FileHandler basic structure 2019-03-27 11:09:46 +08:00
johnniang b85152f8a7 Complete uploadToYpYun service 2019-03-27 10:47:57 +08:00
johnniang ab58e800c4 Handle thumbnail while media type of the file is an image type 2019-03-27 09:19:24 +08:00
johnniang 3c56b60b95 Complete uploadQnYun service 2019-03-27 00:40:40 +08:00
johnniang e042d83baf Refactor BlogProperties 2019-03-26 23:00:31 +08:00
johnniang 7052c3ccf7 Beauty initThemes 2019-03-26 22:08:57 +08:00
ruibaby 39407aa8cf Refactor StartedListener 2019-03-26 21:18:52 +08:00
ruibaby 1d95969198 Merge remote-tracking branch 'origin/v1' into v1 2019-03-26 20:50:29 +08:00
ruibaby f041dfede4 Create initTheme method for StartedListener 2019-03-26 20:49:16 +08:00
johnniang 17e68daf76 Complete file upload locally 2019-03-26 20:32:28 +08:00
ruibaby 888c218643 Fix errors caused by ThemeService 2019-03-26 15:36:12 +08:00
ruibaby 7060cc8046 Fix errors caused by ThemeService 2019-03-26 15:24:44 +08:00
ruibaby ca73a30c78 Create ThemeService 2019-03-26 15:00:29 +08:00
johnniang 3b451491a8 Add workDir config 2019-03-26 14:55:41 +08:00
ruibaby 92e4804bf0 Refactor ThemeUtils 2019-03-26 14:34:55 +08:00
johnniang 88b6d55d23 Fix tag count fetch feature 2019-03-26 14:02:19 +08:00
johnniang 157689b0c2 Complete password update api and refactor user create api 2019-03-26 11:08:04 +08:00
johnniang e8a9498ea4 Complete tag update api 2019-03-25 22:14:34 +08:00
johnniang a8eb88956c Refactor listTags api 2019-03-25 22:05:49 +08:00
johnniang 836e9975e8 Complete delete comment api 2019-03-25 19:33:50 +08:00
johnniang 6b0dc1ce5e Complete comment status update api 2019-03-25 19:26:03 +08:00
johnniang 2e94ff0524 Add additional content in comment content 2019-03-25 18:51:34 +08:00
johnniang 3a1bf64636 Complete comment tree view api 2019-03-25 18:39:12 +08:00
johnniang 8935f7478a Handler user agent with system 2019-03-25 15:52:59 +08:00
johnniang 7a679d0f8e Rename CommentVO to CommentListVO 2019-03-25 15:29:47 +08:00
johnniang 22baaa0972 Remove comment template splicing 2019-03-25 14:50:15 +08:00
johnniang 42fced1c02 Complete comment creation api 2019-03-25 13:21:25 +08:00
johnniang ee2bc1c5ed Refactor BlogProperties enum 2019-03-25 13:18:09 +08:00
johnniang c52123edc6 Fix spring.config.additional-location default config again 2019-03-25 09:59:17 +08:00
johnniang 61ab4a21cb Fix spring.config.additional-location default config 2019-03-25 09:53:17 +08:00
ruibaby 6a2a4532b7 Config freemarker template loader 2019-03-24 10:44:24 +08:00
johnniang 89a3d76160 Add spring.config.additional-location default config 2019-03-23 22:35:51 +08:00
johnniang 847828cd14 Refactor cache owo 2019-03-23 16:12:18 +08:00
johnniang a07bddcb7a Abstract PostRepository for Post, Page and Journal entities 2019-03-23 00:00:18 +08:00
johnniang 8575bcb2ad Refactor Post entity for including Page and Journal entity 2019-03-22 23:50:17 +08:00
johnniang a7af1e7f77 Refactor OPTIONS and remove it 2019-03-22 19:35:11 +08:00
johnniang 2b7753bccf Refactor HaloUtils 2019-03-22 19:06:42 +08:00
ruibaby 1ddb1043d4 Refactor theme module 2019-03-22 18:51:07 +08:00
ruibaby 1018481bd9 Refactor OptionService 2019-03-22 17:21:01 +08:00
ruibaby 3100c9eb29 Refactor Option entity 2019-03-22 17:15:17 +08:00
ruibaby cd3a5845fa Refactor ContentFeedController.java 2019-03-22 16:36:14 +08:00
ruibaby 1c0b225dee Merge branch 'v1' of C:\Users\RYAN0UP\Desktop\halo with conflicts. 2019-03-22 16:34:08 +08:00
johnniang 2184102c68 Resolve implicit concurrency problem 2019-03-22 16:21:19 +08:00
johnniang dfec650f79 Add top priority property in Comment entity 2019-03-22 16:01:00 +08:00
ruibaby a2335bb9a2 Create Freemarker custom tags 2019-03-22 15:59:14 +08:00
ruibaby fadf12a065 Improve apis 2019-03-22 15:24:13 +08:00
johnniang b6f29c0bac Fix null pointer exception 2019-03-22 11:44:00 +08:00
johnniang 47a0f40ce1 Add comment count support in PostListVO 2019-03-22 11:12:02 +08:00
johnniang 1721bb4e15 Complete post removing api 2019-03-22 11:11:24 +08:00
johnniang 20e83c6b2b Disable invoke super equal and hashCode method in PostTag and PostCategory 2019-03-22 10:08:47 +08:00
johnniang 95f23f84ea Fix update post bug 2019-03-21 23:59:56 +08:00
johnniang 7935ccd728 Complete post getting api 2019-03-21 23:47:52 +08:00
johnniang af4c31b676 Refactor post creation and update api 2019-03-21 23:25:15 +08:00
johnniang 7853bd679c Complete post update api 2019-03-21 23:09:24 +08:00
johnniang f27f4f8833 Enhance post creation api 2019-03-21 22:11:15 +08:00
johnniang 3d80e34215 Customize PostCategory#equals and PostTag#hashCode 2019-03-21 22:07:07 +08:00
johnniang c5e675ce66 Customize PostTag#equals and PostTag#hashCode 2019-03-21 22:05:34 +08:00
johnniang 0d814e88a2 Enable getDefaultPageSize again 2019-03-21 21:54:31 +08:00
ruibaby 3456e097c8 Create ContentPageController 2019-03-21 21:05:29 +08:00
ruibaby 000bc6f245 Create ContentFeedController 2019-03-21 20:56:18 +08:00
ruibaby fc4beb2447 Create ContentTagController 2019-03-21 20:48:42 +08:00
ruibaby d81837e3c9 Refactor WebMvcAutoConfiguration 2019-03-21 20:26:42 +08:00
johnniang f0651f8c37 Complete post creation api 2019-03-21 19:26:05 +08:00
ruibaby 078b6ab9c7 Refactor comment module 2019-03-21 16:45:38 +08:00
ruibaby 9b7227dc80 Refactor material theme 2019-03-21 16:38:43 +08:00
ruibaby 3f8dc55ae8 Merge remote-tracking branch 'origin/v1' into v1 2019-03-21 16:29:38 +08:00
ruibaby e1be3169c2 Refactor anatole theme 2019-03-21 16:29:12 +08:00
johnniang 8d120e7927 Complete category creation and enhance category tree view api 2019-03-21 15:19:40 +08:00
johnniang 72eca3a5b5 Complete category tree view api 2019-03-21 14:42:48 +08:00
ruibaby 3ffecd84e4 Refactor UserServiceImpl 2019-03-21 14:35:21 +08:00
ruibaby bef98d5c7e Remove i18n 2019-03-21 14:26:06 +08:00
ruibaby f62db0100e Complete ThemeUtils#isThemeExist 2019-03-21 14:15:04 +08:00
ruibaby f0da4c8cfb Create gallery api 2019-03-21 14:06:51 +08:00
johnniang bade1b7358 Merge remote-tracking branch 'origin/v1' into v1 2019-03-21 14:01:28 +08:00
johnniang 082aee6715 Complete page attachments api 2019-03-21 14:01:19 +08:00
ruibaby ebd84ce11d Create theme api and link api 2019-03-21 13:57:20 +08:00
johnniang 24a1888247 Complete page by status api 2019-03-21 13:46:44 +08:00
johnniang 09a91b2692 Change table 'links' column from 'group' to 'team' 2019-03-21 11:12:09 +08:00
johnniang f73d6c4342 Complete tag list api 2019-03-21 11:06:34 +08:00
johnniang 338dbd623e Complete listTags api 2019-03-21 10:57:59 +08:00
johnniang 2f15a34520 Refactor CommonResultControllerAdvice 2019-03-21 10:55:11 +08:00
johnniang fcbb9933ba Enable /admin/api/* CORS 2019-03-21 10:37:48 +08:00
johnniang 72a0e5e255 Complete TagController#createTag api 2019-03-20 23:28:44 +08:00
johnniang 45661ca36a Merge remote-tracking branch 'origin/v1' into v1 2019-03-20 16:42:15 +08:00
johnniang 5548d18875 Refactor entities 2019-03-20 16:42:01 +08:00
ruibaby 04d75cc10a Create getCustomTpl api 2019-03-20 11:04:16 +08:00
ruibaby fc2349314d Create ContentCategoryController and ContentIndexController 2019-03-20 10:55:17 +08:00
ruibaby e6982a22bc Create ThemeController and Change the field snakeName to slugName 2019-03-20 10:34:26 +08:00
johnniang e6060a54ae Replace Map#putIfAbsent with Map#computeIfAbsent 2019-03-20 09:51:10 +08:00
johnniang 603be43a6a Complete saveOptions api 2019-03-20 01:04:56 +08:00
johnniang 63f87204bb Complete update profile api 2019-03-20 00:36:58 +08:00
johnniang 9c4b2c309d Complete get own detail api 2019-03-19 23:41:11 +08:00
johnniang 6a823ddcde Complete pageByStatus api 2019-03-19 23:16:14 +08:00
johnniang 9c52e24a8d Change Page response type to List 2019-03-19 20:43:34 +08:00
johnniang de0ae70165 Complete count api 2019-03-19 20:32:32 +08:00
johnniang d991627516 Wrap response globally 2019-03-19 20:19:48 +08:00
johnniang 57965ba859 Add CommentController 2019-03-19 19:45:51 +08:00
johnniang f117497331 Add LogController 2019-03-19 19:42:41 +08:00
johnniang 7898b777db Add PostController 2019-03-19 18:32:15 +08:00
johnniang 4a6df0bf64 Registry PageJacksonSerializer manually 2019-03-19 18:31:08 +08:00
johnniang 0531dcf1ad Add PageJacksonSerializer for unifying page response 2019-03-19 17:03:43 +08:00
johnniang 6c2719311c Restructure InstallController 2019-03-19 14:26:13 +08:00
johnniang c7b399facc Merge remote-tracking branch 'origin/v1' into v1 2019-03-19 11:44:04 +08:00
johnniang 66a0bbac26 Deprecated JsonResult 2019-03-19 11:43:57 +08:00
ruibaby 546aced7c4 bye,my codes 2019-03-19 11:33:05 +08:00
johnniang b0b852a803 Rename ErrorResponse into BaseResponse 2019-03-19 11:19:23 +08:00
johnniang 6f18c6c5ba Merge remote-tracking branch 'origin/v1' into v1 2019-03-18 22:18:01 +08:00
johnniang a6c3ed48f0 Refactor OptionService#save 2019-03-18 22:17:47 +08:00
ruibaby 68aa139670 Complate admin login service method 2019-03-18 22:02:43 +08:00
ruibaby 55ab7815a9 v1.0 2019-03-18 21:40:15 +08:00
johnniang a7511ffa1a Merge remote-tracking branch 'origin/v1' into v1 2019-03-18 21:38:12 +08:00
johnniang b547e0720b Complete user login 2019-03-18 21:36:43 +08:00
johnniang 90b7007b6e Change StringCacheStore method names 2019-03-18 21:21:56 +08:00
johnniang 5771b42c25 Add custom temporary store support 2019-03-18 21:16:19 +08:00
ruibaby 418e98dfa1 v1.0 2019-03-18 20:54:41 +08:00
johnniang 58e5da4ac5 Merge remote-tracking branch 'origin/v1' into v1 2019-03-18 20:24:21 +08:00
ruibaby 9c08c268c9 代码优化 2019-03-18 10:16:28 +08:00
johnniang 0e45f06a50 Merge remote-tracking branch 'origin/v1' into v1 2019-03-17 23:27:44 +08:00
ruibaby 42513c291a v1.0 2019-03-17 16:00:22 +08:00
ruibaby fe1204f441 complate theme system 2019-03-17 15:15:35 +08:00
ruibaby cfb261eb4f 分别渲染404和500页面 2019-03-17 09:27:31 +08:00
ruibaby 313e6ec437 分别渲染404和500页面 2019-03-17 09:25:38 +08:00
ruibaby 4af8bd11d0 v1.0 2019-03-17 01:49:21 +08:00
ruibaby 4191cdf16e v1.0 2019-03-16 17:22:13 +08:00
ruibaby 450f473fcf v1.0 2019-03-16 16:34:11 +08:00
ruibaby e900016874 v1.0 2019-03-16 15:59:44 +08:00
johnniang 79fc2f54e6 Add expireTime property in User entity 2019-03-16 14:44:59 +08:00
ruibaby f11b3ca65a fixed message args problem 2019-03-15 14:40:30 +08:00
ruibaby 3ff6dcecb4 fix some page problem 2019-03-15 11:55:33 +08:00
ruibaby c159353b68 complate some page 2019-03-15 10:21:29 +08:00
johnniang b2c933fe8b Add custom conversion test 2019-03-14 22:07:15 +08:00
johnniang 06e18f3e8c Refactor related page operations 2019-03-14 21:58:07 +08:00
johnniang e895725a9c Merge remote-tracking branch 'origin/v1' into v1
# Conflicts:
#	src/main/java/cc/ryanc/halo/config/WebMvcAutoConfiguration.java
#	src/main/java/cc/ryanc/halo/web/controller/admin/PostController.java
2019-03-14 21:34:34 +08:00
johnniang f7b90652ba Add security module 2019-03-14 21:33:06 +08:00
ruibaby 2a71ba67b2 config StringToEnumConverterFactory 2019-03-14 17:49:55 +08:00
ruibaby c9c68eef54 Code optimization 2019-03-14 17:17:42 +08:00
ruibaby 79ac0b96fd posts manage 2019-03-14 16:59:09 +08:00
johnniang 64a6dd9d2f Merge remote-tracking branch 'origin/v1' into v1
# Conflicts:
#	src/main/java/cc/ryanc/halo/model/dto/post/PostMinimalOutputDTO.java
2019-03-14 16:41:19 +08:00
johnniang dad37121a7 Add status field into Comment entity 2019-03-14 16:40:44 +08:00
ruibaby b79b3e5e51 fix bug 2019-03-14 16:38:58 +08:00
johnniang 58ba745973 Add status and url filed into Post entity 2019-03-14 16:38:55 +08:00
ruibaby af29e37379 admin dashboard data 2019-03-14 16:37:02 +08:00
johnniang ef3780369d complete list latest comments service 2019-03-14 16:21:22 +08:00
johnniang 00d0670ac6 complete list latest logs service 2019-03-14 15:32:09 +08:00
johnniang 5a1327ade7 complete list latest posts service 2019-03-14 14:37:16 +08:00
johnniang 6b06ac4264 Move enum base package 2019-03-14 14:09:13 +08:00
johnniang 71bf9c3d2c Add post service implementation 2019-03-14 14:08:23 +08:00
ruibaby c3e223713d create controllers 2019-03-14 13:23:21 +08:00
ruibaby 6e20fd2cf2 change repository package 2019-03-14 12:47:19 +08:00
ruibaby a7cbe91ed1 change service package 2019-03-14 12:45:53 +08:00
ruibaby 8aa0e9f67e change h2 database url to ~/halo/db/halo 2019-03-14 12:43:31 +08:00
johnniang b9e4aea7e8 Remove unrelated files 2019-03-14 11:50:43 +08:00
johnniang 6ae4f43922 Add all services with basic structure 2019-03-14 11:14:03 +08:00
ruibaby 5db5eec788 change resource path 2019-03-13 12:40:50 +08:00
ruibaby 25686145c5 change open source address 2019-03-13 09:17:46 +08:00
ruibaby e81b0b2088 modify AttachOrigin enum 2019-03-13 09:11:25 +08:00
johnniang 337c474a5c Merge remote-tracking branch 'origin/v1' into v1 2019-03-12 23:15:32 +08:00
johnniang 333cdab99e Add all repositories with basic structure 2019-03-12 23:14:28 +08:00
ruibaby da7d8905bd Merge remote-tracking branch 'origin/v1' into v1 2019-03-12 22:56:01 +08:00
ruibaby f4bc7e205c modify entities 2019-03-12 22:55:33 +08:00
johnniang f1e48d0db8 Tag @Deprecated annotation on old domains 2019-03-12 22:41:50 +08:00
johnniang 1c62c5936f Merge remote-tracking branch 'origin/v1' into v1
# Conflicts:
#	src/main/java/cc/ryanc/halo/model/entity/enums/ValueEnum.java
2019-03-12 22:28:53 +08:00
johnniang e5dfa4ab9f Also create entity for the better halo 2019-03-12 22:27:14 +08:00
ruibaby 0ca662dea6 create entity for the better halo 2019-03-12 22:24:59 +08:00
johnniang d7b5bf2e49 Remove Abstract*Converter 2019-03-11 22:48:36 +08:00
johnniang 180b111582 Update all output and input dtos 2019-03-11 17:01:28 +08:00
johnniang 97833dacd9 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	src/main/java/cc/ryanc/halo/web/controller/admin/PostController.java
2019-03-11 16:56:19 +08:00
johnniang d49a21501d Refactor InputConverter and OutputConverter 2019-03-11 16:51:21 +08:00
ruibaby 24aa12fbd6 支持文章置顶 2019-03-10 18:42:56 +08:00
ruibaby 953dbc7fae 🎨 代码优化 2019-03-10 17:04:04 +08:00
ruibaby 12a6b548a4 去除主题预览功能 2019-03-10 10:42:39 +08:00
ruibaby 590a0ffa6c 🎨 代码优化 2019-03-09 11:30:38 +08:00
johnniang 4f00dace1e Merge remote-tracking branch 'origin/dev' into dev 2019-03-08 20:50:15 +08:00
johnniang 82695a2e30 Enhance HaloUtils 2019-03-08 20:47:53 +08:00
ruibaby dfcfdec078 支持预览主题 2019-03-08 20:27:56 +08:00
johnniang e654e96db6 Restructure api interceptor 2019-03-08 19:32:47 +08:00
johnniang 4ec6604dcb Update start information 2019-03-08 19:31:58 +08:00
johnniang ca78680b3a Add doc tip when starting up 2019-03-08 18:51:59 +08:00
johnniang faa616d992 Add swagger support 2019-03-08 18:13:02 +08:00
johnniang bf65f63627 Add halo configuration 2019-03-08 16:13:14 +08:00
ruibaby 941189718c 菜单添加可选择路径 2019-03-08 15:53:50 +08:00
ruibaby a602e43c1b 菜单添加可选择路径 2019-03-08 15:46:40 +08:00
RYAN0UP_ cdc9db0585
🎨 disable cache for dev 2019-03-08 09:51:00 +08:00