Commit Graph

1138 Commits (260412fb88507e611156c00a7814ad5638718ef4)

Author SHA1 Message Date
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
johnniang 65d42a1bdb Complete menu creation api 2019-04-03 17:20:50 +08:00
johnniang 7793737459 Complete menu list api 2019-04-03 17:04:18 +08:00
ruibaby 69b25189b6 Fixed bugs. 2019-04-03 14:21:26 +08:00
ruibaby 4c5a586543 Remove the THEME attribute from BaseContentController. 2019-04-03 13:45:54 +08:00
johnniang 1a6f549fbf Complete portal option apis 2019-04-03 12:16:12 +08:00
johnniang b2c41adadb Complete link team view api 2019-04-03 11:48:31 +08:00
johnniang f36f101f08 Complete link creation api 2019-04-03 11:48:31 +08:00
johnniang b7fa57902e Move comment list api from admin to portal 2019-04-03 10:34:04 +08:00
johnniang c95b52a5f3 Complete portal comment api 2019-04-03 10:28:19 +08:00
johnniang c2361bbae0 Complete cc.ryanc.halo.web.controller.portal.api.UserController#getProfile 2019-04-03 09:59:09 +08:00
johnniang c45185dd6f Refactor some entities 2019-04-03 09:41:46 +08:00
johnniang ed8d86f2bd Fix test errors and comment build.testResources in pom.xml 2019-04-03 09:26:41 +08:00
johnniang 717e5b25b4 Complete cc.ryanc.halo.web.controller.portal.api.TagController.listPostsBy api 2019-04-03 02:11:19 +08:00
johnniang e64298209e Add another cc.ryanc.halo.repository.base.BaseRepository.findAllByIdIn(java.lang.Iterable<ID>, org.springframework.data.domain.Pageable) common method 2019-04-03 02:10:21 +08:00
johnniang 6e9936119d Complete cc.ryanc.halo.web.controller.portal.api.PostController#pageBy and #getBy 2019-04-02 23:44:17 +08:00
johnniang 87264d89bc Add TagController for portal api 2019-04-02 23:10:26 +08:00
ruibaby 54a1b59a15 Merge remote-tracking branch 'origin/v1' into v1 2019-04-02 22:58:12 +08:00
ruibaby cc1dcc3ffa Refactor ThemeService 2019-04-02 22:58:01 +08:00
ruibaby 9f41562620 Merge remote-tracking branch 'origin/v1' into v1
# Conflicts:
#	src/main/java/cc/ryanc/halo/service/impl/ThemeServiceImpl.java
2019-04-02 22:56:30 +08:00
ruibaby 14d69f28e4 Refactor ThemeService 2019-04-02 22:55:29 +08:00
johnniang e8a78182b8 Add some comments on FilenameUtils 2019-04-02 22:55:17 +08:00
johnniang 327aecae18 Beautify some details 2019-04-02 22:42:18 +08:00
johnniang b5fd862b65 Add some default value before persisting 2019-04-02 18:40:15 +08:00
johnniang 658667541d Complete ArchiveController#listMonthArchives 2019-04-02 18:11:19 +08:00
johnniang 3c70b83c1d Complete ArchiveController#listYearArchives 2019-04-02 17:43:27 +08:00
ruibaby 1468307620 Refactor ThemeService 2019-04-02 16:59:50 +08:00
ruibaby 44163519c3 Create api of theme files. 2019-04-02 16:57:08 +08:00
johnniang ceb8887454 Add @Transactional annotation on option saving methods 2019-04-02 00:36:24 +08:00
johnniang fc7304bc46 Fix PrimaryProperties implementation bug 2019-04-02 00:25:28 +08:00
johnniang 2951fc5307 Refactor properties 2019-04-02 00:21:46 +08:00
johnniang 64d108d929 Repackage properties 2019-04-01 23:01:45 +08:00
johnniang 1fd26a35ea Fix CORS bug 2019-04-01 15:14:42 +08:00
johnniang 1a3ea785b8 Refactor option source 2019-04-01 12:02:11 +08:00
johnniang c3739ff8b8 Add option map view list an creation api 2019-04-01 11:54:48 +08:00
johnniang 67c18808df Complete comment list view api 2019-04-01 00:48:44 +08:00
johnniang 6f9aac5aad Fix comment creation bug when admin is logging in 2019-03-31 00:01:30 +08:00
johnniang fd9fe59144 Add some default values when persisting Comment entity 2019-03-30 23:41:41 +08:00
johnniang a0738f9ea2 Add tryAuthUrlMethodPatterns for skipping authentication failure if necessary 2019-03-30 23:27:37 +08:00
johnniang 78b6fe5fe2 Enhance exclude url patterns of AdminAuthenticationFilter 2019-03-30 22:45:28 +08:00
ruibaby e99561ef6a Remove useless files 2019-03-30 11:32:48 +08:00
johnniang 4b6887acd9 Add additional counts to return 2019-03-30 00:38:04 +08:00
johnniang 943d8f0865 Complete multi files upload api 2019-03-30 00:20:49 +08:00
johnniang 0324947f36 Complete logout api 2019-03-29 23:25:25 +08:00
johnniang e5f5a66c75 Run a timer for cache cleaner 2019-03-29 22:10:19 +08:00
johnniang baefbf220c Merge remote-tracking branch 'origin/v1' into v1 2019-03-29 21:39:47 +08:00
johnniang 22d04a554b Complete Smms file handler 2019-03-29 21:39:35 +08:00
ruibaby 6ce7721108 Remove ehcache 2019-03-29 19:43:29 +08:00
johnniang fd59393634 Format error tip for banning 2019-03-29 15:08:38 +08:00
johnniang fdc294b335 Fix user login error 2019-03-29 14:41:45 +08:00
johnniang 523afaebe4 Refactor AdminAuthenticationFilter 2019-03-29 12:15:26 +08:00
johnniang e973bf2200 Return access control allow origin with origin where belongs to client 2019-03-29 01:34:33 +08:00
johnniang ac15c7ae48 Remove useless classes 2019-03-29 00:33:39 +08:00
johnniang ac4d50c785 Refactor ValidationUtils 2019-03-29 00:33:22 +08:00
johnniang cd9313c929 Set SecurityContext for development 2019-03-28 23:18:30 +08:00
johnniang 35a2ddf546 Provide an authentication enabled option 2019-03-28 22:52:54 +08:00
johnniang 0add4107ef Replace synchronized with ReentrantLock 2019-03-28 21:55:23 +08:00
johnniang ddf3c7a4fc Remove useless synchronized key work 2019-03-28 21:42:00 +08:00
johnniang 11f28f11da Complete CacheLock support 2019-03-28 19:52:16 +08:00
johnniang 8d04bec3b2 Fix putIfAbsent bug in InMemoryCacheStore 2019-03-28 18:25:57 +08:00
johnniang 58bf3c1d2a Add putIfAbsent method in CacheStore 2019-03-28 15:27:00 +08:00
ruibaby 5846d5abb9 完善注释 2019-03-28 14:39:36 +08:00
johnniang 68b78b9267 Refactor CacheStore 2019-03-28 14:21:42 +08:00
johnniang 8d82a03e90 Refactor admin authentication failure handler 2019-03-28 10:36:52 +08:00
johnniang f4611a3478 Set error data when authentication failure 2019-03-28 01:32:01 +08:00
johnniang 6139392909 Initialize a test user if absent when startup 2019-03-28 01:29:32 +08:00
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
ruibaby 06df6fa93c 🐛 fixed #114 2019-03-07 22:06:25 +08:00
ruibaby 735f5363f4 🐛 fixed data lost when post update 2019-03-07 11:01:28 +08:00
ruibaby 8a9a4bc358 🐛 fixed data lost when post update 2019-03-07 10:52:38 +08:00
ruibaby dfa1001125 🐛 fixed comment manage page error 2019-03-07 10:21:42 +08:00
ruibaby da1696bdb9 🎨 add halo version to database 2019-03-06 08:34:25 +08:00
ruibaby f4d1810371 🐛 fixed style confusion 2019-03-05 20:52:27 +08:00
ruibaby 3a3ca608dc 七牛云存储可配置区域 #110 2019-03-05 20:08:44 +08:00
johnniang 7715fb07cf Add HaloUtilsTest for HaloUtils #110 2019-03-05 18:56:05 +08:00
johnniang a1e15fea12 Fix NPE on HaloUtils.getDefaultQiniuZone method(issue: #110) 2019-03-05 17:45:58 +08:00
johnniang 168a320edc Fix an implicit refactoring 2019-03-05 00:44:38 +08:00
johnniang 783162ffc9 Attempt to resolve issue: #110 2019-03-05 00:33:31 +08:00
johnniang e4a47147b3 Add todo code for issue(七牛云上传附件失败 #110) 2019-03-05 00:20:58 +08:00
johnniang a0779ae11e Fix native query error 2019-03-05 00:12:18 +08:00
johnniang 015fb3c399 Add Post output dtos 2019-03-05 00:00:54 +08:00
johnniang 06e5c18cc7 Enhance ApiJournalController 2019-03-04 22:53:27 +08:00
ruibaby c48970a034 🎨 add new post type 2019-03-04 22:00:50 +08:00
ruibaby ad568bed17 🐛 fixed reset password error 2019-03-04 21:32:04 +08:00
johnniang 69d1b1575e Add LogFilter for development 2019-03-04 17:51:15 +08:00
johnniang 7e267000bf Add PostParam dto 2019-03-04 17:38:08 +08:00
johnniang 9132163a42 Refactor resetPassword in AdminController 2019-03-04 17:30:43 +08:00
johnniang a06549a117 Merge remote-tracking branch 'origin/dev' into dev 2019-03-04 17:17:48 +08:00
johnniang ce3da2398d Fix NPE when resetting password 2019-03-04 17:17:18 +08:00
ruibaby a52811387d 🔨 fixed #109 2019-03-04 17:13:37 +08:00
johnniang 6e0d4e5d8b Move old dtos into new package 2019-03-04 14:14:03 +08:00
johnniang ab990e5e9a Merge remote-tracking branch 'origin/dev' into dev 2019-03-04 13:58:30 +08:00
johnniang f79d261ea3 Add BeanUtilsTest 2019-03-04 13:58:00 +08:00
ruibaby 5474e880f3 🔨 remove main method from MarkdownUtils.java 2019-03-04 13:40:51 +08:00
johnniang 41d55d94cc Remove deprecated code(#106) 2019-03-04 13:33:33 +08:00
johnniang 7a1c3234d9 Add BeanUtils, abstract input converter and output converter 2019-03-04 13:30:20 +08:00
johnniang 1c17fe5a33 Refactor cc.ryanc.halo.web.controller.api.ApiPostController(issue: #106) again 2019-03-04 00:07:11 +08:00
johnniang c293379b66 Disable cache in development environment 2019-03-03 23:35:29 +08:00
ruibaby fa9cf826ee #106 2019-03-03 22:26:25 +08:00
ruibaby 8ec7cef1e5 #83 编辑器支持哔哩哔哩([bilibili:id,宽,高])和YouTube([youtube:id,宽,高])的短代码 2019-03-03 17:05:49 +08:00
ruibaby f7d40db7b1 找回密码功能 2019-03-03 11:18:24 +08:00
ruibaby c2e7bce7bc 🔨 代码优化 2019-03-03 09:47:32 +08:00
ruibaby d39ffbb382 ✏️ modify the property of the post class priority to postPriority 2019-03-03 09:16:18 +08:00
johnniang be6c4fb7d1 Complete topping post feature(issue: #103) 2019-03-02 22:46:01 +08:00
johnniang b461e7f651 Add priority column in Post domain 2019-03-02 21:56:07 +08:00
johnniang 562da7b04b Fix NullPointerException when getting ServletException 2019-03-02 21:41:09 +08:00
ruibaby 773ebabad4 🎨 去除无用的注释 2019-03-02 19:50:43 +08:00
ruibaby 7dbbc17c70 🔨 remove cron.setting and hutool-cron repository 2019-03-02 18:03:30 +08:00
johnniang b69ec0313e Refactor post sync scheduler 2019-03-02 17:26:39 +08:00
johnniang 79eeba7fbd Add application-dev.yaml for development 2019-03-02 16:50:49 +08:00
johnniang 764d5cfa4f Add application-dev.yaml file support 2019-03-02 16:26:39 +08:00
johnniang a6f76a0a61 Merge remote-tracking branch 'origin/dev' into dev 2019-03-02 13:03:46 +08:00
johnniang e745d7b3df Fix issue: 102 2019-03-02 13:02:58 +08:00
ruibaby 38d5d727cc ⬆️ 升级依赖 2019-03-02 10:18:17 +08:00
johnniang 2f1fba71a8 Enhance cc.ryanc.halo.web.controller.admin.BackupController 2019-03-01 23:57:29 +08:00
johnniang 6803d3e358 Enhance cc.ryanc.halo.web.controller.admin.AttachmentController 2019-03-01 23:41:31 +08:00
johnniang fb04fc8b00 Update cc.ryanc.halo.web.controller.admin.AdminController 2019-03-01 23:19:22 +08:00
johnniang a7aa86404f Fix Hibernate lazy load error 2019-03-01 23:18:39 +08:00
johnniang 568ea0827a Refactor cc.ryanc.halo.web.controller.admin.AdminController and AttachmentService 2019-03-01 22:21:24 +08:00
johnniang 7e3f584843 Redirect 404 if view render is not found 2019-02-25 19:37:58 +08:00
johnniang 84740fdfea Remove deprecated method(remove) in CommentService 2019-02-25 19:07:42 +08:00
johnniang 2446b21650 Refactor comment creation 2019-02-25 14:17:05 +08:00
ruibaby a84f747111 编辑器支持网易云音乐短代码[music:id] 2019-02-24 16:08:00 +08:00
ruibaby 71fc23d797 🔖 0.4.2 2019-02-24 11:06:52 +08:00
ruibaby 188b18585a 🎨 modify application.yaml 2019-02-24 11:05:28 +08:00
ruibaby 922f3caf67 🐛 修复Material主题链接错误的问题 2019-02-24 11:02:11 +08:00
ruibaby 7a7f3bc136 🐛 #97 2019-02-24 10:12:58 +08:00
ruibaby 585e1e4329 🐛 缩略图统一改为绝对路径 2019-02-24 10:05:20 +08:00
ruibaby 8e8471e331 🐛 #91 2019-02-24 10:00:22 +08:00
ruibaby 8c6914fabf 🎨 add java doc for AbstractCrudService.java and BaseRepositoryImpl.java 2019-02-23 09:08:57 +08:00
ruibaby 4ba03ada8c 🎨 add @author of java doc for BaseRepositoryImpl 2019-02-21 17:06:18 +08:00
ruibaby c573c747fb 🎨 remove ResponseStatusEnum.java and be instead of HttpStatus 2019-02-21 17:03:33 +08:00
johnniang 135719607e Refactor the rest controllers 2019-02-21 00:47:10 +08:00
johnniang e88126fd0b Refactor ApiPageController 2019-02-21 00:43:23 +08:00
johnniang 97af07b4c3 Refactor ApiOptionController 2019-02-21 00:40:38 +08:00
johnniang a11eacd09d Refactor ApiMenuController 2019-02-21 00:37:19 +08:00
johnniang 5f1d45ca04 Refactor ApiLinkController 2019-02-21 00:36:40 +08:00
johnniang 2f409949d2 Refactor ApiGalleryController 2019-02-21 00:36:05 +08:00
johnniang 87dddd8a03 Refactor ApiCommentController 2019-02-21 00:34:58 +08:00
johnniang 3606e25184 Refactor ApiCategoryController 2019-02-21 00:30:57 +08:00
johnniang 0059dc7a9a Refactor ApiArchivesController 2019-02-21 00:30:20 +08:00
johnniang a08fac24a6 Complete ControllerExceptionHandler 2019-02-20 23:44:25 +08:00
johnniang ee41a620f0 Add ValidationUtils 2019-02-20 23:21:31 +08:00
johnniang 45bee68c41 Remove CrossOrigin annotation on Api*Controller 2019-02-20 22:27:28 +08:00
johnniang ef38480dd7 Refactor Cors configuration 2019-02-20 18:26:34 +08:00
johnniang b66637a6c8 Change method name from getNullableById to getByIdOfNullable in CrudService 2019-02-20 18:01:15 +08:00
ruibaby 99914cdeca 🎨 modify ApiOptionController.java 2019-02-20 17:07:47 +08:00
ruibaby d115ef6512 🎨 modify BaseRepositoryImpl.java 2019-02-20 11:49:47 +08:00
johnniang c806ac321a Refactor UserService 2019-02-20 11:31:40 +08:00
johnniang 305eaa222c Enable ansi output in the console 2019-02-20 11:26:56 +08:00
johnniang e0ef35b0dd Refactor TagService 2019-02-20 11:26:27 +08:00
johnniang 6687db022c Refactor PostService 2019-02-20 11:16:17 +08:00
johnniang f2c6ab43f0 Refactor OptionsService 2019-02-20 11:01:17 +08:00
johnniang 8387f18c7a Refactor MenuService 2019-02-20 10:26:53 +08:00
johnniang 4c8b6f24cd Refactor LogsService 2019-02-20 10:22:17 +08:00
johnniang f3db672213 Refactor LinkService 2019-02-20 00:52:23 +08:00
johnniang 385306ffd9 Customize base repository implementation 2019-02-20 00:51:31 +08:00
johnniang 180bfc06b4 Refactor GalleryService 2019-02-19 22:43:36 +08:00
johnniang 50a3e94347 Refactor CommentService 2019-02-19 22:36:25 +08:00
johnniang cf4c491797 Refactor AttachmentService and CategoryService 2019-02-19 22:27:28 +08:00
johnniang 6577d062dc Accomplish AbstractCrudService 2019-02-19 21:59:53 +08:00
johnniang b286f2f69d Add customized Slf4j logger 2019-02-19 21:56:41 +08:00
johnniang 0321f73a7e Add ServiceUtils 2019-02-19 21:56:06 +08:00
johnniang df26777ddc Add HaloException(s) 2019-02-19 21:23:50 +08:00
johnniang 90aa7c1077 Replace JPARepository with BaseRepository 2019-02-19 21:01:49 +08:00
johnniang c215e40a91 Add BaseRepository 2019-02-19 20:57:57 +08:00
johnniang d0167dcc64 Add CrudService interface 2019-02-19 20:50:13 +08:00
johnniang 0c65f14b2f Remove uncompleted feature 2019-02-19 19:51:23 +08:00
ruibaby 56213b9cdb 🎨 代码优化 2019-02-19 18:45:33 +08:00
ruibaby 537df9f59a 🎨 #94 2019-02-15 17:49:40 +08:00
ruibaby a3934657ad 🎨 细节优化 2019-02-15 16:20:43 +08:00
ruibaby 1e648ddc45 🎨 代码优化 2019-01-31 23:20:21 +08:00
ruibaby e0e3be00bb modify application.yaml 2019-01-31 23:09:41 +08:00
johnniang 6188b31431 Resolve conflict 2019-01-31 22:52:05 +08:00
johnniang 9ca3359221 Enhance post search method 2019-01-31 22:44:11 +08:00
johnniang 20f7cf4812 Add test, dev and prod configuration file 2019-01-31 21:14:52 +08:00
ruibaby d65379d362 提供评论的api 2019-01-31 16:14:22 +08:00
ruibaby 74e27a431c 🐛 修复rss生成问题 2019-01-31 15:27:41 +08:00
ruibaby d68d7019f0 🎨 修改rss/sitemap的渲染方式,新增html形式的sitemap 2019-01-31 15:18:58 +08:00
ruibaby 1bb6b72cb3 🎨 代码优化 2019-01-31 13:43:23 +08:00
ruibaby 612504926c 🐛 修复附件删除失败的问题 2019-01-31 12:54:16 +08:00
johnniang dae2968269 Refactor pageable and sort 2019-01-30 22:12:28 +08:00
johnniang 9585f1553f Consider Specification to refactor search method on PostService 2019-01-30 21:37:17 +08:00
ruibaby 7ffbc93ea5 🎨 代码优化 2019-01-30 15:23:11 +08:00
ruibaby 58e91d6e14 🔖 0.4.1 2019-01-30 09:43:54 +08:00
ruibaby 21abfa406c 🐛 修复使用oss时,选择图片路径不正确的问题 2019-01-29 22:19:28 +08:00
ruibaby c44d4371f1 🐛 修复编辑器自动保存的问题 2019-01-29 22:12:49 +08:00
ruibaby 7d452d5ca9 🎨 更换编辑器 2019-01-24 14:51:07 +08:00
ruibaby 40af072f95 🎨 细节优化 2019-01-22 14:13:43 +08:00
ruibaby 5912a50d2c 🎨 细节优化 2019-01-20 21:03:35 +08:00
ruibaby 3818be62e3 支持文章加密 2019-01-17 22:03:50 +08:00
ruibaby bba2e3a7e0 🐛 修复搜索框的XSS漏洞 2019-01-17 11:16:32 +08:00
ruibaby 8f103653a9 🐛 modify application.yaml 2019-01-16 11:44:17 +08:00
ruibaby bdc8e2ef40 🐛 修复mysql时区不正确的问题 2019-01-15 21:15:18 +08:00
ruibaby addb608a3a 📝 更新README 2019-01-14 22:56:30 +08:00
ruibaby 42af2f1adc 🔖 0.4.0 2019-01-12 11:14:47 +08:00
ruibaby f7533f4d7d 支持文章检索 2019-01-11 22:01:58 +08:00
ruibaby 24846b0089 Material主题支持代码高亮以及MathJax 2019-01-11 11:02:00 +08:00
ruibaby 2c78945f11 🐛 修复文章导出的问题 2019-01-10 20:04:02 +08:00
ruibaby 95584a0864 文章备份支持带上元数据 2019-01-10 19:52:46 +08:00
ruibaby ccb80fdf12 🎨 代码优化 2019-01-10 13:59:32 +08:00
ruibaby 850a4f3956 ⬆️ 升级 AdminLTE 版本 2019-01-08 14:05:40 +08:00
ruibaby d63f7943b4 🎨 代码优化 2019-01-05 17:16:56 +08:00
ruibaby da923f3469 🎨 支持自定义盒子布局背景 2019-01-04 18:03:10 +08:00
RYAN0UP_ badf9adfd8
Update PostRepository.java 2019-01-04 17:23:13 +08:00
RYAN0UP_ 13ad7c3884
Update PostRepository.java 2019-01-04 17:22:36 +08:00
853029827@qq.com 2db77321e0 👽 添加小程序返回所有文章Api 2019-01-04 15:41:48 +08:00
ruibaby 10b802b3a9 🐛 bug修复 2019-01-01 16:46:33 +08:00
ruibaby af91bc3150 2019,Happy New Year! 2019-01-01 00:05:51 +08:00
ruibaby 885a6d146f 🎨 代码优化 2018-12-31 18:57:21 +08:00
ruibaby 6a56721ee0 🎨 适配主题 2018-12-31 15:41:01 +08:00
ruibaby 0f8759048e 🎨 适配主题 2018-12-31 12:43:46 +08:00
ruibaby 0b4f614073 🎨 代码优化 2018-12-30 21:52:20 +08:00
ruibaby d2d76cf575 🎨 代码优化 2018-12-30 12:04:55 +08:00
ruibaby a42882fcb0 🎨 代码优化 2018-12-30 10:58:31 +08:00
ruibaby 09c6822640 🎨 代码优化 2018-12-29 15:34:41 +08:00
ruibaby 26f11092a8 🎨 代码优化 2018-12-28 11:25:13 +08:00
ruibaby d7bd677da1 🐛 修复菜单管理页面的异常 2018-12-27 23:22:51 +08:00
ruibaby decb726732 🎨 后台管理的 pjax 插件更换为 MoOx Pjax,体验更加顺畅 2018-12-27 23:20:15 +08:00
ruibaby c4334e6174 🎨 代码优化 2018-12-27 13:11:39 +08:00