You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/09/21 20:21:40 UTC

[incubator-ponymail-foal] branch master updated (fc2f1b4 -> b6f22ea)

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 fc2f1b4  regen JS
     new 73a89f2  since we check for this, actually set it.
     new d5436fa  if searching, say so to the list view renderer
     new b6f22ea  regen JS

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/js/ponymail.js                | 4 +++-
 webui/js/source/listview-header.js  | 1 +
 webui/js/source/sidebar-calendar.js | 3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)

[incubator-ponymail-foal] 01/03: since we check for this, actually set it.

Posted by hu...@apache.org.
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 73a89f210470d9dc877440b3ce136e0b8bd3ee56
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Sep 21 15:21:08 2021 -0500

    since we check for this, actually set it.
---
 webui/js/source/listview-header.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/webui/js/source/listview-header.js b/webui/js/source/listview-header.js
index f9131fb..6b5c17a 100644
--- a/webui/js/source/listview-header.js
+++ b/webui/js/source/listview-header.js
@@ -230,6 +230,7 @@ function listview_list_lists(state, json) {
             class: 'search'
         }, "Search: %s".format(state.query));
         li.setAttribute("data-url", state.url);
+        li.setAttribute("data-list", "%s@%s".format(current_list, current_domain));
         li.setAttribute("data-href", location.href);
         lists.inject(li);
     }

[incubator-ponymail-foal] 03/03: regen JS

Posted by hu...@apache.org.
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 b6f22ea63735c42a3b7e24cda91a1ac86f66cd70
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Sep 21 15:21:31 2021 -0500

    regen JS
---
 webui/js/ponymail.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index e9f4ba1..b848310 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -2374,6 +2374,7 @@ function listview_list_lists(state, json) {
             class: 'search'
         }, "Search: %s".format(state.query));
         li.setAttribute("data-url", state.url);
+        li.setAttribute("data-list", "%s@%s".format(current_list, current_domain));
         li.setAttribute("data-href", location.href);
         lists.inject(li);
     }
@@ -3986,7 +3987,8 @@ function calendar_click(year, month) {
     }
     GET('%sapi/stats.lua?list=%s&domain=%s&d=%u-%u&q=%s'.format(apiURL, calendar_current_list, calendar_current_domain, year, month, q), renderListView, {
         to: '%s@%s'.format(calendar_current_list, calendar_current_domain),
-        update_calendar: false
+        update_calendar: false,
+        search: (q && q.length > 0)
     });
 }
 

[incubator-ponymail-foal] 02/03: if searching, say so to the list view renderer

Posted by hu...@apache.org.
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 d5436faf2ec851ea0edbae206dff0f6f027b1275
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Sep 21 15:21:24 2021 -0500

    if searching, say so to the list view renderer
---
 webui/js/source/sidebar-calendar.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/webui/js/source/sidebar-calendar.js b/webui/js/source/sidebar-calendar.js
index 0c9ecc5..e1471c4 100644
--- a/webui/js/source/sidebar-calendar.js
+++ b/webui/js/source/sidebar-calendar.js
@@ -181,6 +181,7 @@ function calendar_click(year, month) {
     }
     GET('%sapi/stats.lua?list=%s&domain=%s&d=%u-%u&q=%s'.format(apiURL, calendar_current_list, calendar_current_domain, year, month, q), renderListView, {
         to: '%s@%s'.format(calendar_current_list, calendar_current_domain),
-        update_calendar: false
+        update_calendar: false,
+        search: (q && q.length > 0)
     });
 }