- Alert messages are produced using the custom Polymer element
+ Alert messages are produced using the custom Lit element
rhodecode-toast which is passed a message and level.
diff --git a/rhodecode/templates/errors/error_document.mako b/rhodecode/templates/errors/error_document.mako
index 58978505..d58ff3ef 100644
--- a/rhodecode/templates/errors/error_document.mako
+++ b/rhodecode/templates/errors/error_document.mako
@@ -11,7 +11,6 @@
%endif
-
diff --git a/rhodecode/tests/rhodecode.ini b/rhodecode/tests/rhodecode.ini
index c628eba7..7a8726cb 100644
--- a/rhodecode/tests/rhodecode.ini
+++ b/rhodecode/tests/rhodecode.ini
@@ -588,7 +588,7 @@ search.location = %(here)s/.rc-test-data/data/index
channelstream.enabled = false
; server address for channelstream server on the backend
-channelstream.server = channelstream:9800
+channelstream.server = channelstream:8000
; location of the channelstream server from outside world
; use ws:// for http or wss:// for https. This address needs to be handled
diff --git a/rhodecode/tests/scripts/static-file-check.sh b/rhodecode/tests/scripts/static-file-check.sh
index d71aa35e..63e11a15 100755
--- a/rhodecode/tests/scripts/static-file-check.sh
+++ b/rhodecode/tests/scripts/static-file-check.sh
@@ -7,7 +7,7 @@ robots.txt \
js/scripts.min.js \
js/rhodecode-components.js \
css/style.css \
-css/style-polymer.css \
+css/style-lit.css \
css/style-ipython.css"
static_path=$1
diff --git a/static-build.dockerfile b/static-build.dockerfile
index ca218a5f..7b464557 100644
--- a/static-build.dockerfile
+++ b/static-build.dockerfile
@@ -4,7 +4,7 @@
## ** BUILD **
# docker build --tag rhodecode/static-files-build:16 -f static-build.dockerfile .
-# docker build --tag rhodecode/static-files-build:18 -f static-build.dockerfile .
+# docker build --tag rhodecode/static-files-build:24 -f static-build.dockerfile .
## run grunt on top of the source code
## cd rhodecode-enterprise-ce
@@ -14,8 +14,9 @@
## docker run -it --entrypoint bash --rm -v $PWD:/project --workdir=/project rhodecode/static-files-build:16 -c "npm install && grunt -v"
# THIS WORKS NOW
-FROM node:16-buster
-#FROM node:18-buster
+#FROM node:16-buster
+FROM node:24.11.1-bookworm-slim
+
WORKDIR /static_build
diff --git a/webpack.config.js b/webpack.config.js
index bc868e78..dee4d348 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -15,11 +15,19 @@ let babelRCOptions = {
"presets": [
["env", {
"targets": {
- "browsers": ["last 2 versions"]
- }
+ "esmodules": true
+ },
+ "exclude": [
+ "transform-es2015-classes",
+ "transform-regenerator",
+ "transform-async-to-generator"
+ ]
}]
],
- "plugins": ["transform-object-rest-spread"]
+ "plugins": [
+ ["transform-class-properties", { "loose": true }],
+ "transform-object-rest-spread"
+ ]
};
module.exports = {
@@ -32,8 +40,8 @@ module.exports = {
path: path.resolve(destinationDirectory)
},
// Tell Webpack which directories to look in to resolve import statements.
- // Normally Webpack will look in node_modules by default but since we’re overriding
- // the property we’ll need to tell it to look there.
+ // Normally Webpack will look in node_modules by default but since we're overriding
+ // the property we'll need to tell it to look there.
resolve: {
modules: [
path.resolve(__dirname, 'node_modules'),
@@ -45,34 +53,15 @@ module.exports = {
module: {
rules: [
{
- test: /style-polymer.css/,
+ test: /style-lit.css/,
use: 'raw-loader'
},
{
- // If you see a file that ends in .html, send it to these loaders.
- test: /\.html$/,
- // This is an example of chained loaders in Webpack.
- // Chained loaders run last to first. So it will run
- // polymer-webpack-loader, and hand the output to
- // babel-loader. This let's us transpile JS in our `