Skip to content
Open
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: 2 additions & 0 deletions celements-webapp/Jenkinsfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ releasePipeline(manifest: [
'celements-rte-tiny6-war',
'celements-rte-langs-tiny4-war',
'celements-rte-langs-tiny6-war',
'celements-messages-jar',
'celements-messages-web',
'celements-webapp-war',
],
])
5 changes: 5 additions & 0 deletions celements-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@
<groupId>com.celements</groupId>
<artifactId>celements-spring-mvc</artifactId>
</dependency>
<dependency>
<groupId>com.celements</groupId>
<artifactId>celements-messages-web</artifactId>
<type>war</type>
</dependency>
<dependency>
<groupId>com.celements</groupId>
<artifactId>celements-spring-security</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,12 +484,8 @@
window.celMessages.isLoaded = false;

try {
new Ajax.Request(window.getCelHost(), {
method: 'post',
parameters: {
xpage: 'celements_ajax',
ajax_mode: 'Messages',
},
new Ajax.Request('/api/v1/messages', {
method: 'get',
onSuccess: function (transport) {
if (transport.responseText.isJSON()) {
const newMessages = transport.responseText.evalJSON();
Expand Down

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just out of curiosity: What's the need behind checking in minified files and keeping them in sync manually with the normal files?

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -539,12 +539,8 @@
['validate-docname', null, Validator.methods.validDocName],
];

new Ajax.Request(getCelHost(), {
method: 'post',
parameters: {
xpage: 'celements_ajax',
ajax_mode: 'ValidationMessages',
},
new Ajax.Request('/api/v1/messages/validation', {
method: 'get',
onSuccess: function (transport) {
if (transport.responseText.isJSON()) {
Validation.messages = Validation.messages.merge(transport.responseText.evalJSON());
Expand Down

This file was deleted.

This file was deleted.

215 changes: 0 additions & 215 deletions celements-webapp/src/main/webapp/templates/celMacros/CelMessages.vm

This file was deleted.

This file was deleted.