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/10 12:01:26 UTC
[incubator-ponymail-foal] branch master updated (40be457 -> 5b5b6bc)
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 40be457 Update version
new 649d454 Add version info to dropdown so it shows on mobile
new 5b5b6bc Update versions
The 2 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/ponymail.js | 9 +++++++--
webui/js/source/init.js | 7 ++++++-
webui/list.html | 12 +++++++-----
webui/oauth.html | 8 ++++----
webui/thread.html | 8 ++++----
7 files changed, 35 insertions(+), 23 deletions(-)
[incubator-ponymail-foal] 01/02: Add version info to dropdown so it shows on mobile
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 649d4545e038108f2e16ad3d55335da45781d033
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jan 10 12:00:36 2022 +0000
Add version info to dropdown so it shows on mobile
---
webui/js/source/init.js | 7 ++++++-
webui/list.html | 4 +++-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/webui/js/source/init.js b/webui/js/source/init.js
index d7c68c2..a41b866 100644
--- a/webui/js/source/init.js
+++ b/webui/js/source/init.js
@@ -31,6 +31,11 @@ console.log("Initializing key command logger");
window.addEventListener('keyup', keyCommands);
window.addEventListener('load', function() {
+ let powered_by = "Powered by Apache Pony Mail (Foal v/%s ~%s)".format(PONYMAIL_VERSION, PONYMAIL_REVISION);
+ let pb = document.getElementById("powered_by");
+ if (pb) {
+ pb.innerHTML = powered_by
+ }
document.body.appendChild(new HTML('footer', {
class: 'footer hidden-xs'
}, [
@@ -39,7 +44,7 @@ window.addEventListener('load', function() {
}, [
new HTML('p', {
class: 'muted'
- }, "Powered by Apache Pony Mail (Foal v/%s ~%s)".format(PONYMAIL_VERSION, PONYMAIL_REVISION))
+ }, powered_by)
])
]));
});
diff --git a/webui/list.html b/webui/list.html
index c14ea1b..dba7ad5 100644
--- a/webui/list.html
+++ b/webui/list.html
@@ -104,6 +104,7 @@ the License. -->
<input type="radio" id="display_mode_treeview" name="ui_threading" value="treeview" onchange="set_theme('treeview');"> <label for="display_mode_treeview">Treeview</label><br/>
<br/>
<input type="checkbox" id="display_mode_compact" name="ui_compact_list" value="compact" onchange="set_theme(G_current_listmode, this.checked);"> <label for="display_mode_compact">Compact layout</label><br/>
+ <input type="checkbox" id="G_show_stats_sidebar" name="ui_stats_sidebar" value="compact" onchange="set_show_stats(this.checked);"> <label for="G_show_stats_sidebar">Show side-bar stats</label><br/>
</div>
<div>
<b>Email display mode:</b><br/><br/>
@@ -113,7 +114,8 @@ the License. -->
</div>
<hr/>
<div style="display: block; width: 100%; text-align: center;">
- <input type="checkbox" id="G_show_stats_sidebar" name="ui_stats_sidebar" value="compact" onchange="set_show_stats(this.checked);"> <label for="G_show_stats_sidebar">Show side-bar stats</label><br/>
+ <!-- text will be overwritten by init.js -->
+ <span id="powered_by">Powered by Apache Pony Mail (Foal)</span>
</div>
</div>
</li>
[incubator-ponymail-foal] 02/02: 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 5b5b6bc028d2792b6aac638e57a31570fbc8e8d8
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jan 10 12:00:56 2022 +0000
Update versions
---
webui/admin.html | 8 ++++----
webui/index.html | 6 +++---
webui/js/ponymail.js | 9 +++++++--
webui/list.html | 8 ++++----
webui/oauth.html | 8 ++++----
webui/thread.html | 8 ++++----
6 files changed, 26 insertions(+), 21 deletions(-)
diff --git a/webui/admin.html b/webui/admin.html
index 8645f9e..f5f55bc 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=6813ee5" rel="stylesheet" media="all">
+ <link href="css/scaffolding.css?revision=649d454" 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=6813ee5"></script>
- <script src="js/wordcloud.js?revision=6813ee5"></script>
- <script src="js/ponymail.js?revision=6813ee5"></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>
<div id="splash" class="splash fade-in"> </div>
<div style="clear: both;"></div>
</body>
diff --git a/webui/index.html b/webui/index.html
index d4a359e..15281aa 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=6813ee5" rel="stylesheet" media="all">
+ <link href="css/scaffolding.css?revision=649d454" 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=6813ee5"></script>
- <script src="js/ponymail.js?revision=6813ee5"></script>
+ <script src="js/config.js?revision=649d454"></script>
+ <script src="js/ponymail.js?revision=649d454"></script>
<div id="splash" class="splash fade-in"> </div>
<div style="clear: both;"></div>
diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index cc52a2e..b2cc61a 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 = '6813ee5';
+const PONYMAIL_REVISION = '649d454';
/******************************************
@@ -1758,6 +1758,11 @@ console.log("Initializing key command logger");
window.addEventListener('keyup', keyCommands);
window.addEventListener('load', function() {
+ let powered_by = "Powered by Apache Pony Mail (Foal v/%s ~%s)".format(PONYMAIL_VERSION, PONYMAIL_REVISION);
+ let pb = document.getElementById("powered_by");
+ if (pb) {
+ pb.innerHTML = powered_by
+ }
document.body.appendChild(new HTML('footer', {
class: 'footer hidden-xs'
}, [
@@ -1766,7 +1771,7 @@ window.addEventListener('load', function() {
}, [
new HTML('p', {
class: 'muted'
- }, "Powered by Apache Pony Mail (Foal v/%s ~%s)".format(PONYMAIL_VERSION, PONYMAIL_REVISION))
+ }, powered_by)
])
]));
});
diff --git a/webui/list.html b/webui/list.html
index dba7ad5..4819716 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=6813ee5" rel="stylesheet" media="all">
+ <link href="css/scaffolding.css?revision=649d454" 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=6813ee5"></script>
- <script src="js/wordcloud.js?revision=6813ee5"></script>
- <script src="js/ponymail.js?revision=6813ee5"></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>
<div id="splash" class="splash fade-in"> </div>
<div style="clear: both;"></div>
<script type="text/javascript">
diff --git a/webui/oauth.html b/webui/oauth.html
index b92618f..b29c380 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=6813ee5" rel="stylesheet" media="all">
+ <link href="css/scaffolding.css?revision=649d454" 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=6813ee5"></script>
- <script src="js/ponymail.js?revision=6813ee5"></script>
- <script src="js/oauth.js?revision=6813ee5"></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>
</body>
</html>
diff --git a/webui/thread.html b/webui/thread.html
index fe3cd39..03a63c7 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=6813ee5" rel="stylesheet" media="all">
+ <link href="css/scaffolding.css?revision=649d454" 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=6813ee5"></script>
- <script src="js/wordcloud.js?revision=6813ee5"></script>
- <script src="js/ponymail.js?revision=6813ee5"></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>
<div id="splash" class="splash fade-in"> </div>
<div style="clear: both;"></div>
</body>