Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion component/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>social-component</artifactId>
<groupId>io.meeds.social</groupId>
<version>7.2.x-SNAPSHOT</version>
<version>7.2.x-meeds-qaui-SNAPSHOT</version>
</parent>
<artifactId>social-component-api</artifactId>
<name>Meeds:: PLF:: Social API</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public class ContentLinkExtension {

private boolean drawer;

private boolean hidden;

public ContentLinkExtension(String objectType,
String titleKey,
String icon,
Expand All @@ -47,4 +49,16 @@ public ContentLinkExtension(String objectType,
this.command = command;
}

public ContentLinkExtension(String objectType,
String titleKey,
String icon,
String command,
boolean drawer) {
this.objectType = objectType;
this.titleKey = titleKey;
this.icon = icon;
this.command = command;
this.drawer = drawer;
}

}
2 changes: 1 addition & 1 deletion component/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>social-component</artifactId>
<groupId>io.meeds.social</groupId>
<version>7.2.x-SNAPSHOT</version>
<version>7.2.x-meeds-qaui-SNAPSHOT</version>
</parent>
<groupId>io.meeds.social</groupId>
<artifactId>social-component-common</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions component/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>social-component</artifactId>
<groupId>io.meeds.social</groupId>
<version>7.2.x-SNAPSHOT</version>
<version>7.2.x-meeds-qaui-SNAPSHOT</version>
</parent>
<artifactId>social-component-core</artifactId>
<name>Meeds:: PLF:: Social Core Component</name>
Expand Down Expand Up @@ -77,7 +77,7 @@
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>6.6.49.Final</version>
<version>7.2.12.Final</version>
</dependency>
</dependencies>
</plugin>
Expand Down
5 changes: 4 additions & 1 deletion component/core/src/main/resources/jpa-entities.idx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
org.exoplatform.social.core.jpa.storage.entity.GroupSpaceBindingReportUserEntity
org.exoplatform.social.core.jpa.storage.entity.ProfilePropertySettingEntity
org.exoplatform.social.core.jpa.storage.entity.ProfilePropertyOptionEntity
org.exoplatform.social.core.jpa.storage.entity.UserSpaceBindingEntity
org.exoplatform.social.core.jpa.storage.entity.MetadataEntity
org.exoplatform.social.core.jpa.storage.entity.ActivityShareActionEntity
Expand All @@ -14,8 +15,10 @@ org.exoplatform.social.core.jpa.storage.entity.SpaceEntity
org.exoplatform.social.core.jpa.storage.entity.GroupSpaceBindingEntity
org.exoplatform.social.core.jpa.storage.entity.ProfileExperienceEntity
org.exoplatform.social.core.jpa.storage.entity.IdentityEntity
org.exoplatform.social.core.jpa.storage.entity.AppEntity
org.exoplatform.social.core.jpa.storage.entity.ProfileLabelEntity
org.exoplatform.social.core.jpa.storage.entity.SpaceExternalInvitationEntity
org.exoplatform.social.core.jpa.storage.entity.MetadataItemEntity
org.exoplatform.social.core.jpa.storage.entity.UserBindingsQueueEntity
org.exoplatform.social.core.jpa.storage.entity.UserSpaceBindingEntity
io.meeds.social.space.template.entity.SpaceTemplateEntity
io.meeds.social.space.invitation.entity.SpaceInvitationLinkEntity
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.junit.Before;
import org.junit.runner.RunWith;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration;
import org.springframework.boot.liquibase.autoconfigure.LiquibaseAutoConfiguration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.test.context.junit4.SpringRunner;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.test.context.junit4.SpringRunner;

import org.exoplatform.portal.config.UserACL;
Expand Down Expand Up @@ -86,22 +86,22 @@ public class CategoryServiceUnitTest {

private static final String TEST_USER = "testuser";

@MockBean
@MockitoBean
private IdentityManager identityManager;

@MockBean
@MockitoBean
private TranslationService translationService;

@MockBean
@MockitoBean
private CategoryStorage categoryStorage;

@MockBean
@MockitoBean
private SpaceService spaceService;

@MockBean
@MockitoBean
private UserACL userAcl;

@MockBean
@MockitoBean
private CategoryPluginService categoryPluginService;

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.test.context.junit4.SpringRunner;

import org.exoplatform.commons.api.settings.SettingService;
Expand All @@ -59,10 +59,10 @@ public class CoeditingServiceTest {

private static final String USERNAME = "username";

@MockBean
@MockitoBean
private SettingService settingService;

@MockBean
@MockitoBean
private CacheService cacheService;

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.test.context.junit4.SpringRunner;

import org.exoplatform.portal.config.UserACL;
Expand Down Expand Up @@ -61,16 +61,16 @@ public class SpaceDirectoryServiceTest {

private static final String SETTING_NAME = "settingName";

@MockBean
@MockitoBean
private CategoryService categoryService;

@MockBean
@MockitoBean
private LayoutService layoutService;

@MockBean
@MockitoBean
private SpaceDirectoryStorage spaceDirectoryStorage;

@MockBean
@MockitoBean
private SecuritySettingService securitySettingService;

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.test.context.junit4.SpringRunner;

import org.exoplatform.commons.api.settings.SettingService;
Expand All @@ -48,7 +48,7 @@ public class SpaceDirectoryStorageTest {

private static final String SETTING_NAME = "settingName";

@MockBean
@MockitoBean
private SettingService settingService;

@Autowired
Expand Down
2 changes: 1 addition & 1 deletion component/notification/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>social-component</artifactId>
<groupId>io.meeds.social</groupId>
<version>7.2.x-SNAPSHOT</version>
<version>7.2.x-meeds-qaui-SNAPSHOT</version>
</parent>
<artifactId>social-component-notification</artifactId>
<name>Meeds:: PLF:: Social Notification Component</name>
Expand Down
2 changes: 1 addition & 1 deletion component/oauth-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>social-component</artifactId>
<groupId>io.meeds.social</groupId>
<version>7.2.x-SNAPSHOT</version>
<version>7.2.x-meeds-qaui-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion component/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>social</artifactId>
<groupId>io.meeds.social</groupId>
<version>7.2.x-SNAPSHOT</version>
<version>7.2.x-meeds-qaui-SNAPSHOT</version>
</parent>
<artifactId>social-component</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion component/service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>social-component</artifactId>
<groupId>io.meeds.social</groupId>
<version>7.2.x-SNAPSHOT</version>
<version>7.2.x-meeds-qaui-SNAPSHOT</version>
</parent>
<artifactId>social-component-service</artifactId>
<name>Meeds:: PLF:: Social Service Component</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureWebMvc;
import org.springframework.http.MediaType;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.web.SecurityFilterChain;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.ResultActions;
Expand Down Expand Up @@ -74,7 +74,7 @@ public class CategoryLinkRestTest {
@Autowired
private WebApplicationContext context;

@MockBean
@MockitoBean
private CategoryLinkService categoryLinkService;

private MockMvc mockMvc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureWebMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.http.MediaType;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.web.SecurityFilterChain;
Expand Down Expand Up @@ -94,10 +94,10 @@ public class CategoryRestTest {
@Autowired
private WebApplicationContext context;

@MockBean
@MockitoBean
private CategoryService categoryService;

@MockBean
@MockitoBean
private SpaceDirectoryService spaceDirectoryService;

private MockMvc mockMvc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureWebMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.http.MediaType;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.web.SecurityFilterChain;
Expand Down Expand Up @@ -87,7 +87,7 @@ public class ContentLinkRestTest {
@Autowired
private WebApplicationContext context;

@MockBean
@MockitoBean
private ContentLinkService contentLinkService;

private MockMvc mockMvc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureWebMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.security.web.SecurityFilterChain;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;
Expand Down Expand Up @@ -66,7 +66,7 @@ public class SkinRestTest {
@Autowired
private WebApplicationContext context;

@MockBean
@MockitoBean
private SkinService skinService;

@Mock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureWebMvc;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc;
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureWebMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.http.MediaType;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.web.SecurityFilterChain;
Expand Down Expand Up @@ -80,25 +80,25 @@ public class LoginRestTest {
@Autowired
private WebApplicationContext context;

@MockBean
@MockitoBean
private PasswordRecoveryService passwordRecoveryService;

@MockBean
@MockitoBean
private OrganizationService organizationService;

@MockBean
@MockitoBean
private UserDAOImpl userHandler;

@MockBean
@MockitoBean
private RegisterUIParamsExtension registerUIParamsExtension;

@MockBean
@MockitoBean
private SecuritySettingService securitySettingService;

@MockBean
@MockitoBean
private RemindPasswordTokenService remindPasswordTokenService;

@MockBean
@MockitoBean
private Captcha captcha;

@Before
Expand Down
2 changes: 1 addition & 1 deletion component/web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>social-component</artifactId>
<groupId>io.meeds.social</groupId>
<version>7.2.x-SNAPSHOT</version>
<version>7.2.x-meeds-qaui-SNAPSHOT</version>
</parent>
<groupId>io.meeds.social</groupId>
<artifactId>social-component-web</artifactId>
Expand Down
Loading
Loading