(incubator-ponymail-foal) branch master updated: Update server version

2024-05-01 Thread sebb
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
 new 6b92a05  Update server version
6b92a05 is described below

commit 6b92a053af207819eaf7355ace4c2913bf77ba48
Author: Sebb 
AuthorDate: Wed May 1 20:39:05 2024 +0100

Update server version
---
 server/server_version.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/server_version.py b/server/server_version.py
index a78d1f6..8157d05 100644
--- a/server/server_version.py
+++ b/server/server_version.py
@@ -1,2 +1,2 @@
 # This file is generated by server/update_version.sh
-PONYMAIL_SERVER_VERSION = '4d644b1'
+PONYMAIL_SERVER_VERSION = '1605108'



(incubator-ponymail-foal) 01/01: Merge pull request #258 from raboof/check-all-recipients

2024-05-01 Thread humbedooh
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit ce71e020e132bca16cc07aa2ac7500cb2d452458
Merge: 69b93f0 1605108
Author: Daniel Gruno 
AuthorDate: Wed May 1 21:34:23 2024 +0200

Merge pull request #258 from raboof/check-all-recipients

Check all recipients against allowed domains

 server/endpoints/compose.py | 23 +--
 1 file changed, 13 insertions(+), 10 deletions(-)



(incubator-ponymail-foal) branch master updated (69b93f0 -> ce71e02)

2024-05-01 Thread humbedooh
This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


from 69b93f0  Regen JS
 add 8d5fe62  Check all recipients against allowed domains
 add 1605108  Update composer User-Agent version
 new ce71e02  Merge pull request #258 from raboof/check-all-recipients

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 server/endpoints/compose.py | 23 +--
 1 file changed, 13 insertions(+), 10 deletions(-)



(incubator-ponymail-foal) 02/02: Regen JS

2024-05-01 Thread sebb
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 69b93f0b19673be3d87aa82326f892ce08db1b6d
Author: Sebb 
AuthorDate: Wed May 1 19:49:38 2024 +0100

Regen JS
---
 webui/admin.html |  8 
 webui/index.html |  6 +++---
 webui/js/ponymail.js | 26 --
 webui/list.html  |  8 
 webui/oauth.html |  8 
 webui/thread.html|  8 
 6 files changed, 43 insertions(+), 21 deletions(-)

diff --git a/webui/admin.html b/webui/admin.html
index 20a79ff..7f9be4c 100644
--- a/webui/admin.html
+++ b/webui/admin.html
@@ -25,7 +25,7 @@ the License. -->
 
 
 
-
+
 
 
 
@@ -79,9 +79,9 @@ the License. -->
 
 
 
-
-
-
+
+
+
   
 
   
diff --git a/webui/index.html b/webui/index.html
index 5a0fc09..a938ac5 100644
--- a/webui/index.html
+++ b/webui/index.html
@@ -24,7 +24,7 @@ the License. -->
 
 
 
-
+
 
 
 
@@ -63,8 +63,8 @@ the License. -->
 
 
 
-
-
+
+
   
 
 
diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index d044a51..9e39231 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -16,7 +16,7 @@
 */
 // THIS IS AN AUTOMATICALLY COMBINED FILE. PLEASE EDIT THE source/ FILES!
 
-const PONYMAIL_REVISION = '74bc1dc';
+const PONYMAIL_REVISION = 'a36fb3e';
 
 
 /**
@@ -4237,12 +4237,33 @@ function search(query, date) {
 let listid = '%s@%s'.format(list, domain);
 G_current_list = list;
 G_current_domain = domain;
-let newhref = "list?%s:%s:%s".format(listid, date, query);
 
 let header_from = document.getElementById('header_from');
 let header_subject = document.getElementById('header_subject');
 let header_to = document.getElementById('header_to');
 let header_body = document.getElementById('header_body');
+let qparts = query.split('&'); // look for additional query options
+if (qparts.length > 0) { // i.e. query + header bits
+query = qparts.shift(); // Keep only the query
+// store the values to be picked up below
+for (let part of qparts) {
+let hv = part.split('=',2);
+if (hv[0] == 'header_from') {
+header_from.value = hv[1];
+}
+if (hv[0] == 'header_subject') {
+header_subject.value = hv[1];
+}
+if (hv[0] == 'header_to') {
+header_to.value = hv[1];
+}
+if (hv[0] == 'header_body') {
+header_body.value = hv[1];
+}
+// N.B. other options are currently ignored
+}
+}
+let newhref = "list?%s:%s:%s".format(listid, date, query);
 let sURL = '%sapi/stats.lua?d=%s=%s=%s=%s'.format(
 G_apiURL, encodeURIComponent(date), encodeURIComponent(list), 
encodeURIComponent(domain), encodeURIComponent(query)
 );
@@ -4302,6 +4323,7 @@ function search_set_list(what) {
 document.getElementById('q').setAttribute("placeholder", "Search 
%s...".format(whatxt));
 }
 
+
 /**
  Fetched from source/sidebar-calendar.js
 **/
diff --git a/webui/list.html b/webui/list.html
index 31441aa..bf0458c 100644
--- a/webui/list.html
+++ b/webui/list.html
@@ -24,7 +24,7 @@ the License. -->
 
 
 
-
+
 
 
 
@@ -179,9 +179,9 @@ the License. -->
 
 
 
-
-
-
+
+
+
   
 
 
diff --git a/webui/oauth.html b/webui/oauth.html
index 4db94b8..57421c3 100644
--- a/webui/oauth.html
+++ b/webui/oauth.html
@@ -21,7 +21,7 @@ the License. -->
 
 
 
-
+
 
 
 
@@ -54,8 +54,8 @@ the License. -->