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
44 changes: 44 additions & 0 deletions exist-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,50 @@
</target>
</configuration>
</execution>
<execution>
<id>unzip-packageservice</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<fileset id="packageservice-fileset" dir="${expath.pkg.dir}" includes="packageservice-*.xar" />
<pathconvert property="packageservice-xar-path" refid="packageservice-fileset" />
<unzip src="${packageservice-xar-path}" dest="${expath.pkg.dir}-packageservice-staging/">
</unzip>
</target>
</configuration>
</execution>
<execution>
<id>patch-packageservice</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<replace file="${expath.pkg.dir}-packageservice-staging/modules/packages.xqm" token="packages:get-version()" value="packages:get-existdb-compatible-version()" />
<replace file="${expath.pkg.dir}-packageservice-staging/modules/packages.xqm" token='(util:system-property("product-semver"), util:system-property("product-version"))[1]' value='util:system-property("exist-db-expath-pkg-compatible-version")' />
</target>
</configuration>
</execution>
<execution>
<id>zip-patched-packageservice</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<fileset id="packageservice-fileset" dir="${expath.pkg.dir}" includes="packageservice-*.xar" />
<pathconvert property="packageservice-xar-path" refid="packageservice-fileset" />
<zip destfile="${packageservice-xar-path}">
<fileset dir="${expath.pkg.dir}-packageservice-staging" />
</zip>
</target>
</configuration>
</execution>
<execution>
<id>unzip-monex</id>
<phase>process-resources</phase>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--- /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-dashboard-staging/build.html (original)
+++ /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-dashboard-staging/build.html (patched)
@@ -1 +1 @@
-<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes"><title>existdb-dashboard</title><link rel="stylesheet" href="resources/styles.css"><script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script><link rel="import" href="dependencies.html"><link rel="import" href="bower_components/existdb-launcher/dependencies.html"><link rel="import" href="bower_components/existdb-packagemanager/dependencies.html"><link rel="import" href="bower_components/existdb-usermanager/dependencies.html"><link rel="import" href="bower_components/existdb-backup/dependencies.html"></head><body><existdb-dashboard></existdb-dashboard></body></html>
\ No newline at end of file
+<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes"><title>Dashboard :: Elemental</title><link rel="stylesheet" href="resources/styles.css"><script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script><link rel="import" href="dependencies.html"><link rel="import" href="bower_components/existdb-launcher/dependencies.html"><link rel="import" href="bower_components/existdb-packagemanager/dependencies.html"><link rel="import" href="bower_components/existdb-usermanager/dependencies.html"><link rel="import" href="bower_components/existdb-backup/dependencies.html"></head><body><existdb-dashboard></existdb-dashboard></body></html>
\ No newline at end of file
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-dashboard-staging/doc.html (original)
+++ /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-dashboard-staging/doc.html (patched)
@@ -3,7 +3,7 @@
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>

- <title>existdb-dashboard</title>
+ <title>Dashboard :: Elemental</title>

<script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script>

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-dashboard-staging/guest.html (original)
+++ /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-dashboard-staging/guest.html (patched)
@@ -3,7 +3,7 @@
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>

- <title>existdb-dashboard</title>
+ <title>Dashboard :: Elemental</title>

<link rel="stylesheet" href="resources/styles.css"/>
<script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--- /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-dashboard-staging/index.html (original)
+++ /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-dashboard-staging/index.html (patched)
@@ -1 +1 @@
-<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes"><title>existdb-dashboard</title><link rel="stylesheet" href="resources/styles.css"><style type="text/css">existdb-login{--existdb-login-theme:{text-decoration:none;color:black;};}</style><script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script><link rel="import" href="dependencies.html"><link rel="import" href="bower_components/existdb-launcher/dependencies.html"></head><body unresolved="unresolved"><existdb-launcher-app ignores="[&quot;packagemanager&quot;,&quot;packageservice&quot;,&quot;launcher&quot;,&quot;usermanager&quot;,&quot;dashboard&quot;]"><existdb-login login-label="Login" logout-label="Logout" group="dba" login-url="admin#" logout-url="index.html"></existdb-login></existdb-launcher-app></body></html>
\ No newline at end of file
+<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes"><title>Dashboard :: Elemental</title><link rel="stylesheet" href="resources/styles.css"><style type="text/css">existdb-login{--existdb-login-theme:{text-decoration:none;color:black;};}</style><script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script><link rel="import" href="dependencies.html"><link rel="import" href="bower_components/existdb-launcher/dependencies.html"></head><body unresolved="unresolved"><existdb-launcher-app ignores="[&quot;packagemanager&quot;,&quot;packageservice&quot;,&quot;launcher&quot;,&quot;usermanager&quot;,&quot;dashboard&quot;]"><existdb-login login-label="Login" logout-label="Logout" group="dba" login-url="admin#" logout-url="index.html"></existdb-login></existdb-launcher-app></body></html>
\ No newline at end of file
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-dashboard-staging/admin.xql 2026-07-29 08:48:15
+++ /Users/lauretta/Documents/dashboard-diff-practice/admin-after.xql 2026-07-29 08:50:22
@@ -14,7 +14,7 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"/>
- <title>existdb-dashboard</title>
+ <title>Dashboard :: Elemental</title>
<link rel="stylesheet" href="resources/styles.css"/>
<script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script>
<link rel="import" href="dependencies.html"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-monex-staging/profiling.html (original)
+++ /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-monex-staging/profiling.html (patched)
@@ -23,7 +23,7 @@
<section class="content profiling" data-template="app:profile">
<div class="pad margin no-print">
<div class="callout callout-info">Enable tracing to start collecting statistics. Run
- queries as usual (through any eXist interface), then press "Refresh" to see
+ queries as usual (through any interface), then press "Refresh" to see
statistics. </div>
</div>
<div class="box">
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--- /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-monex-staging/remotes.html (original)
+++ /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-monex-staging/remotes.html (patched)
@@ -61,7 +61,7 @@
<div class="alert alert-danger" data-template="app:scheduler-enabled">
<i class="fa fa-ban"/>
<b>Alert! </b>
- <span class="message">Remote monitoring <strong>requires</strong> eXist's scheduler
+ <span class="message">Remote monitoring <strong>requires</strong> the scheduler
module to be enabled. See <code>extensions/build.properties</code> and
<code>conf.xml</code>.</span>
</div>
@@ -76,7 +76,7 @@
responsiveness of the system. <code>Response Time</code> is the elapsed time
until the client received the response. </p>
<h3>Configuration</h3>
- <p>To monitor remote eXist-db instances, edit the XML file <a href="instances.xml" target="eXide" class="eXide-open" data-exide-open="/db/apps/monex/instances.xml">instances.xml</a> in the root collection of
+ <p>To monitor remote instances, edit the XML file <a href="instances.xml" target="eXide" class="eXide-open" data-exide-open="/db/apps/monex/instances.xml">instances.xml</a> in the root collection of
the monex application. Monex pings each server at configurable times or
intervals. You can also set up email alerts in <a href="notifications.xml" target="eXide" class="eXide-open" data-exide-open="/db/apps/monex/notifications.xml">notifications.xml</a>.</p>
<p>The configuration for monitoring a remote instance looks as follows:</p>
@@ -121,7 +121,7 @@
<td>token</td>
<td>the unique JMX token required to connect to the JMX servlet. This token is generated
for every server and can be found in the file <code>jmxservlet.token</code>
- inside the data directory of the eXist instance. Note: eXist versions before 2.2
+ inside the data directory of the instance. Note: eXist-db versions before 2.2
do not use this mechanism, so no token is required.</td>
</tr>
<tr>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
--- /Users/lauretta/Documents/existdb-packageservice/modules/packages.xqm 2022-02-16 14:33:52
+++ /Users/lauretta/Documents/evolvedbinary/elemental/exist-distribution/target/expath-pkgs-packageservice-staging/modules/packages.xqm 2026-07-22 13:17:43
@@ -288,7 +288,7 @@
(: should be private but there seems to be a bug :)
declare function packages:public-repo-contents($installed as element(repo-app)*) {
try {
- let $url := $config:DEFAULT-REPO || "/public/apps.xml?version=" || packages:get-version() ||
+ let $url := $config:DEFAULT-REPO || "/public/apps.xml?version=" || packages:get-existdb-compatible-version() ||
"&amp;source=" || util:system-property("product-source")
(: EXPath client module does not work properly. No idea why. :)
let $request :=
@@ -323,8 +323,8 @@
};

(: should be private but there seems to be a bug :)
-declare function packages:get-version() {
- (util:system-property("product-semver"), util:system-property("product-version"))[1]
+declare function packages:get-existdb-compatible-version() {
+ util:system-property("exist-db-expath-pkg-compatible-version")
};

(: should be private but there seems to be a bug :)
Loading