Some small fixes
parent
6a23404b29
commit
a68d25ba61
|
|
@ -224,14 +224,14 @@
|
||||||
<include>WEB-INF/</include>
|
<include>WEB-INF/</include>
|
||||||
</includes>
|
</includes>
|
||||||
</overlay>
|
</overlay>
|
||||||
<overlay>
|
<!-- <overlay>
|
||||||
<groupId>org.libreccm</groupId>
|
<groupId>org.libreccm</groupId>
|
||||||
<artifactId>ccm-shortcuts</artifactId>
|
<artifactId>ccm-shortcuts</artifactId>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<includes>
|
<includes>
|
||||||
<include>WEB-INF/</include>
|
<include>WEB-INF/</include>
|
||||||
</includes>
|
</includes>
|
||||||
</overlay>
|
</overlay>-->
|
||||||
<overlay>
|
<overlay>
|
||||||
<groupId>org.libreccm</groupId>
|
<groupId>org.libreccm</groupId>
|
||||||
<artifactId>ccm-core</artifactId>
|
<artifactId>ccm-core</artifactId>
|
||||||
|
|
|
||||||
|
|
@ -51,11 +51,11 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- CCM modules -->
|
<!-- CCM modules -->
|
||||||
<dependency>
|
<!-- <dependency>
|
||||||
<groupId>org.libreccm</groupId>
|
<groupId>org.libreccm</groupId>
|
||||||
<artifactId>ccm-shortcuts</artifactId>
|
<artifactId>ccm-shortcuts</artifactId>
|
||||||
<version>${project.parent.version}</version>
|
<version>${project.parent.version}</version>
|
||||||
</dependency>
|
</dependency>-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.librecms</groupId>
|
<groupId>org.librecms</groupId>
|
||||||
<artifactId>ccm-cms</artifactId>
|
<artifactId>ccm-cms</artifactId>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "ccm-cms",
|
"name": "@librecms/ccm-cms",
|
||||||
"version": "7.0.0",
|
"version": "7.0.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,10 @@ public abstract class AbstractMessagesBean extends AbstractMap<String, String> {
|
||||||
.keySet()
|
.keySet()
|
||||||
.stream()
|
.stream()
|
||||||
.collect(
|
.collect(
|
||||||
Collectors.toMap(key -> key, key -> messages.getString(key))
|
Collectors.toMap(
|
||||||
|
key -> key,
|
||||||
|
key -> messages.getString(key)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
.entrySet();
|
.entrySet();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,8 @@ import org.libreccm.modules.UnInstallEvent;
|
||||||
import org.libreccm.ui.admin.applications.shortcuts.ShortcutsApplicationController;
|
import org.libreccm.ui.admin.applications.shortcuts.ShortcutsApplicationController;
|
||||||
import org.libreccm.web.ApplicationType;
|
import org.libreccm.web.ApplicationType;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServlet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The {@code Shortcuts} module for CCM. Defines the {@code Shortcuts}
|
* The {@code Shortcuts} module for CCM. Defines the {@code Shortcuts}
|
||||||
* application and sets up the module when the module is installed.
|
* application and sets up the module when the module is installed.
|
||||||
|
|
@ -45,7 +47,9 @@ import org.libreccm.web.ApplicationType;
|
||||||
descBundle = ShortcutsConstants.SHORTCUTS_BUNDLE,
|
descBundle = ShortcutsConstants.SHORTCUTS_BUNDLE,
|
||||||
singleton = true,
|
singleton = true,
|
||||||
creator = ShortcutsApplicationCreator.class,
|
creator = ShortcutsApplicationCreator.class,
|
||||||
applicationController = ShortcutsApplicationController.class
|
applicationController = ShortcutsApplicationController.class,
|
||||||
|
servlet = HttpServlet.class,
|
||||||
|
servletPath = ""
|
||||||
)}
|
)}
|
||||||
)
|
)
|
||||||
public class Shortcuts implements CcmModule {
|
public class Shortcuts implements CcmModule {
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,8 @@ import javax.servlet.http.HttpServletResponse;
|
||||||
public class ShortcutsFilter implements Filter {
|
public class ShortcutsFilter implements Filter {
|
||||||
|
|
||||||
private final static Logger LOGGER = LogManager.getLogger(
|
private final static Logger LOGGER = LogManager.getLogger(
|
||||||
ShortcutsFilter.class);
|
ShortcutsFilter.class
|
||||||
|
);
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private ShortcutRepository shortcutRepository;
|
private ShortcutRepository shortcutRepository;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue