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/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 02dd56f9 Exclude late applications
02dd56f9 is described below

commit 02dd56f9494984a4479f01bbcf157cf480d82439
Author: Sebb <[email protected]>
AuthorDate: Thu Sep 4 15:40:59 2025 +0100

    Exclude late applications
---
 www/members/check_invitations.cgi | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/www/members/check_invitations.cgi 
b/www/members/check_invitations.cgi
index 4af37edb..448d31f9 100755
--- a/www/members/check_invitations.cgi
+++ b/www/members/check_invitations.cgi
@@ -57,9 +57,11 @@ def setup_data
       next if v[:status] == :deleted
       next unless v[:attachments] and v[:attachments].size > 0
       if (v['Subject'] =~ %r{[Mm]embership}) or (v[:attachments].first[:name] 
=~ %r{[Mm]embership})
-        applications << v[:from]
-        name = v['From'].sub(%r{<[^>\s]+>}, '').strip
-        applications << name if name
+        if ASF::MeetingUtil.application_valid? v[:envelope_date]
+          applications << v[:from]
+          name = v['From'].sub(%r{<[^>\s]+>}, '').strip
+          applications << name if name
+        end
       end
     end
   end
@@ -282,7 +284,7 @@ _html do
           # _th 'applied?'
           # _th 'members@?'
           # _th 'karma?'
-          _th 'Application seen?'
+          _th 'Application seen in time?'
           _th 'id'
           _th 'name'
           _th 'Nominators'

Reply via email to