You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2022/01/19 17:53:49 UTC

[incubator-ponymail-foal] branch master updated (97139b6 -> cb3fdac)

This is an automated email from the ASF dual-hosted git repository.

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


    from 97139b6  Update version
     new 669e05e  escape is deprecated (#205)
     new f6ffdf6  substr is deprecated (#205)
     new cb3fdac  Update versions

The 3 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:
 webui/admin.html          |  8 ++++----
 webui/index.html          |  6 +++---
 webui/js/oauth.js         | 12 +++++++++---
 webui/js/ponymail.js      |  6 +++---
 webui/js/source/primer.js |  4 ++--
 webui/list.html           |  8 ++++----
 webui/oauth.html          |  8 ++++----
 webui/thread.html         |  8 ++++----
 8 files changed, 33 insertions(+), 27 deletions(-)

[incubator-ponymail-foal] 02/03: substr is deprecated (#205)

Posted by se...@apache.org.
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 f6ffdf67c9cc1cd8a27267a423575dd17c9bfc5f
Author: Sebb <se...@apache.org>
AuthorDate: Wed Jan 19 17:53:21 2022 +0000

    substr is deprecated (#205)
---
 webui/js/source/primer.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webui/js/source/primer.js b/webui/js/source/primer.js
index 84902b4..e9a8d0a 100644
--- a/webui/js/source/primer.js
+++ b/webui/js/source/primer.js
@@ -93,7 +93,7 @@ function post_prime(state) {
 function parseURL(state) {
     console.log("Running ParseURL");
     console.log(state);
-    let bits = window.location.search.substr(1).split(":", 3);
+    let bits = window.location.search.substring(1).split(":", 3);
     let list = bits[0];
     let month = bits[1];
     let query = bits[2];
@@ -154,7 +154,7 @@ function parse_permalink() {
     let mid = decodeURIComponent(location.pathname.split('/').pop());
     // List-ID specified?
     // query needs decodeURIComponent with '+' conversion
-    const query = decodeURIComponent(location.search.substr(1).replace(/\+/g, ' '));
+    const query = decodeURIComponent(location.search.substring(1).replace(/\+/g, ' '));
     let list_id = null;
     if (query.length) {
         if (query.match(/^<.+>$/)) {

[incubator-ponymail-foal] 01/03: escape is deprecated (#205)

Posted by se...@apache.org.
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 669e05ec971a648b209339d2c5fb0a3fb00ef2fe
Author: Sebb <se...@apache.org>
AuthorDate: Wed Jan 19 17:52:27 2022 +0000

    escape is deprecated (#205)
---
 webui/js/oauth.js | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/webui/js/oauth.js b/webui/js/oauth.js
index 3721c15..616a673 100644
--- a/webui/js/oauth.js
+++ b/webui/js/oauth.js
@@ -52,15 +52,21 @@ function oauthPortal(key) {
     let state = parseInt(Math.random()*1000000000) + '' + parseInt(Math.random()*1000000000)
     // google is different (as usual)
     if (key == 'google') {
-        location.href = ot.oauth_portal + "?state=" + state + "&client_id=" + (ot.client_id ? ot.client_id : "") + "&response_type=id_token&scope=email&redirect_uri=" + escape(window.location)
+        location.href = ot.oauth_portal + 
+            "?state=" + state + 
+            "&client_id=" + encodeURIComponent(ot.client_id ? ot.client_id : "") + 
+            "&response_type=id_token&scope=email&redirect_uri=" + encodeURIComponent(window.location)
     } else {
         let cid = ""
         if (ot.construct) {
             for (let k in ot) {
-                cid += "&" + k + "=" + escape(ot[k])
+                cid += "&" + k + "=" + encodeURIComponent(ot[k])
             }
         }
-        location.href = ot.oauth_portal + "?state=" + state + "&redirect_uri=" + escape(window.location + "?key=" + key + "&state=" + state) + cid
+        location.href = ot.oauth_portal + 
+            "?state=" + state + 
+            "&redirect_uri=" + encodeURIComponent(window.location + "?key=" + key + "&state=" + state) + 
+            cid
     }
 }
 

[incubator-ponymail-foal] 03/03: Update versions

Posted by se...@apache.org.
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 cb3fdac1b25a075db2906e7bf1fd0f5fc8576397
Author: Sebb <se...@apache.org>
AuthorDate: Wed Jan 19 17:53:41 2022 +0000

    Update versions
---
 webui/admin.html     | 8 ++++----
 webui/index.html     | 6 +++---
 webui/js/ponymail.js | 6 +++---
 webui/list.html      | 8 ++++----
 webui/oauth.html     | 8 ++++----
 webui/thread.html    | 8 ++++----
 6 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/webui/admin.html b/webui/admin.html
index f5f55bc..3a45caa 100644
--- a/webui/admin.html
+++ b/webui/admin.html
@@ -25,7 +25,7 @@ the License. -->
     <!-- Bootstrap -->
 
     <link href="css/bootstrap.min.css" rel="stylesheet" media="all">
-    <link href="css/scaffolding.css?revision=649d454" rel="stylesheet" media="all">
+    <link href="css/scaffolding.css?revision=f6ffdf6" rel="stylesheet" media="all">
     <link href="css/modal.css" rel="stylesheet" media="all">
     <link href="css/spinner.css" rel="stylesheet" media="all">
     <link rel="alternate" href="/api/static.lua"/>
@@ -79,9 +79,9 @@ the License. -->
     <script src="js/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="></script>
     <!-- Include all compiled plugins (below), or include individual files as needed -->
     <script src="js/bootstrap.min.js"></script>
-    <script src="js/config.js?revision=649d454"></script>
-    <script src="js/wordcloud.js?revision=649d454"></script>
-    <script src="js/ponymail.js?revision=649d454"></script>
+    <script src="js/config.js?revision=f6ffdf6"></script>
+    <script src="js/wordcloud.js?revision=f6ffdf6"></script>
+    <script src="js/ponymail.js?revision=f6ffdf6"></script>
     <div id="splash" class="splash fade-in"> &nbsp; </div>
     <div style="clear: both;"></div>
   </body>
diff --git a/webui/index.html b/webui/index.html
index 15281aa..ec701e0 100644
--- a/webui/index.html
+++ b/webui/index.html
@@ -24,7 +24,7 @@ the License. -->
     <!-- Bootstrap -->
     
     <link href="css/bootstrap.min.css" rel="stylesheet" media="all">
-    <link href="css/scaffolding.css?revision=649d454" rel="stylesheet" media="all">
+    <link href="css/scaffolding.css?revision=f6ffdf6" rel="stylesheet" media="all">
     <link href="css/modal.css" rel="stylesheet" media="all">
     <link href="css/spinner.css" rel="stylesheet" media="all">
     <link rel="alternate" href="/api/static.lua"/>
@@ -60,8 +60,8 @@ the License. -->
     <script src="js/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="></script>
     <!-- Include all compiled plugins (below), or include individual files as needed -->
     <script src="js/bootstrap.min.js"></script>
-    <script src="js/config.js?revision=649d454"></script>
-    <script src="js/ponymail.js?revision=649d454"></script>
+    <script src="js/config.js?revision=f6ffdf6"></script>
+    <script src="js/ponymail.js?revision=f6ffdf6"></script>
     <div id="splash" class="splash fade-in"> &nbsp; </div>
     <div style="clear: both;"></div>
     
diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index b2cc61a..fe55272 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 = '649d454';
+const PONYMAIL_REVISION = 'f6ffdf6';
 
 
 /******************************************
@@ -3528,7 +3528,7 @@ function post_prime(state) {
 function parseURL(state) {
     console.log("Running ParseURL");
     console.log(state);
-    let bits = window.location.search.substr(1).split(":", 3);
+    let bits = window.location.search.substring(1).split(":", 3);
     let list = bits[0];
     let month = bits[1];
     let query = bits[2];
@@ -3589,7 +3589,7 @@ function parse_permalink() {
     let mid = decodeURIComponent(location.pathname.split('/').pop());
     // List-ID specified?
     // query needs decodeURIComponent with '+' conversion
-    const query = decodeURIComponent(location.search.substr(1).replace(/\+/g, ' '));
+    const query = decodeURIComponent(location.search.substring(1).replace(/\+/g, ' '));
     let list_id = null;
     if (query.length) {
         if (query.match(/^<.+>$/)) {
diff --git a/webui/list.html b/webui/list.html
index 4819716..b8e3b4d 100644
--- a/webui/list.html
+++ b/webui/list.html
@@ -24,7 +24,7 @@ the License. -->
     <!-- Bootstrap -->
     
     <link href="css/bootstrap.min.css" rel="stylesheet" media="all">
-    <link href="css/scaffolding.css?revision=649d454" rel="stylesheet" media="all">
+    <link href="css/scaffolding.css?revision=f6ffdf6" rel="stylesheet" media="all">
     <link href="css/modal.css" rel="stylesheet" media="all">
     <link href="css/spinner.css" rel="stylesheet" media="all">
     <link rel="alternate" href="/api/static.lua"/>
@@ -181,9 +181,9 @@ the License. -->
     </script>
     <!-- Include all compiled plugins (below), or include individual files as needed -->
     <script src="js/bootstrap.min.js"></script>
-    <script src="js/config.js?revision=649d454"></script>
-    <script src="js/wordcloud.js?revision=649d454"></script>
-    <script src="js/ponymail.js?revision=649d454"></script>
+    <script src="js/config.js?revision=f6ffdf6"></script>
+    <script src="js/wordcloud.js?revision=f6ffdf6"></script>
+    <script src="js/ponymail.js?revision=f6ffdf6"></script>
     <div id="splash" class="splash fade-in"> &nbsp; </div>
     <div style="clear: both;"></div>
     <script type="text/javascript">
diff --git a/webui/oauth.html b/webui/oauth.html
index b29c380..d663c65 100644
--- a/webui/oauth.html
+++ b/webui/oauth.html
@@ -21,7 +21,7 @@ the License. -->
 
     <!-- CSS -->
     <link href="css/bootstrap.min.css" rel="stylesheet" media="all">
-    <link href="css/scaffolding.css?revision=649d454" rel="stylesheet" media="all">
+    <link href="css/scaffolding.css?revision=f6ffdf6" rel="stylesheet" media="all">
     <link href="css/modal.css" rel="stylesheet" media="all">
     <link href="css/spinner.css" rel="stylesheet" media="all">
 
@@ -54,8 +54,8 @@ the License. -->
     <script src="js/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="></script>
     <!-- Include all compiled plugins (below), or include individual files as needed -->
     <script src="js/bootstrap.min.js"></script>
-    <script src="js/config.js?revision=649d454"></script>
-    <script src="js/ponymail.js?revision=649d454"></script>
-    <script src="js/oauth.js?revision=649d454"></script>
+    <script src="js/config.js?revision=f6ffdf6"></script>
+    <script src="js/ponymail.js?revision=f6ffdf6"></script>
+    <script src="js/oauth.js?revision=f6ffdf6"></script>
   </body>
 </html>
diff --git a/webui/thread.html b/webui/thread.html
index 03a63c7..68518fb 100644
--- a/webui/thread.html
+++ b/webui/thread.html
@@ -25,7 +25,7 @@ the License. -->
     <!-- Bootstrap -->
     
     <link href="css/bootstrap.min.css" rel="stylesheet" media="all">
-    <link href="css/scaffolding.css?revision=649d454" rel="stylesheet" media="all">
+    <link href="css/scaffolding.css?revision=f6ffdf6" rel="stylesheet" media="all">
     <link href="css/modal.css" rel="stylesheet" media="all">
     <link href="css/spinner.css" rel="stylesheet" media="all">
     <link rel="alternate" href="/api/static.lua"/>
@@ -97,9 +97,9 @@ the License. -->
     <script src="js/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="></script>
     <!-- Include all compiled plugins (below), or include individual files as needed -->
     <script src="js/bootstrap.min.js"></script>
-    <script src="js/config.js?revision=649d454"></script>
-    <script src="js/wordcloud.js?revision=649d454"></script>
-    <script src="js/ponymail.js?revision=649d454"></script>
+    <script src="js/config.js?revision=f6ffdf6"></script>
+    <script src="js/wordcloud.js?revision=f6ffdf6"></script>
+    <script src="js/ponymail.js?revision=f6ffdf6"></script>
     <div id="splash" class="splash fade-in"> &nbsp; </div>
     <div style="clear: both;"></div>
   </body>