Commit Graph

791 Commits (5b59a8ab50d5a000af40f99ac96498b1d4e02a1d)

Author SHA1 Message Date
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