Compare commits
No commits in common. "9b165490e57727c2b9a61b9f4895942a28d4e45c" and "778f89717f31ab02db866ad6d08570c1fee349f1" have entirely different histories.
9b165490e5
...
778f89717f
3 changed files with 31 additions and 34 deletions
|
@ -288,24 +288,23 @@
|
|||
|
||||
(define* (check-mailing-list mls name #:pred? (pred? #f))
|
||||
(define ml (find-mailman-list mls name))
|
||||
(when ml
|
||||
(let-values (((missing surplus)
|
||||
(mailman-compare-members ml
|
||||
(mbase-active-emails MB
|
||||
#:suspended #t
|
||||
#:pred? pred?
|
||||
))))
|
||||
(if (null? (cdr ml))
|
||||
(print "Skipping ML check - not loaded")
|
||||
(if (and (null? missing)
|
||||
(null? surplus))
|
||||
(print (format "~a mailing list membership in sync." (string-capitalize name)))
|
||||
(let ()
|
||||
(print (format "~a mailing list:" (string-capitalize name)))
|
||||
(when (not (null? missing))
|
||||
(print " Missing: " missing))
|
||||
(when (not (null? surplus))
|
||||
(print " Outsiders: " surplus))))))))
|
||||
(let-values (((missing surplus)
|
||||
(mailman-compare-members ml
|
||||
(mbase-active-emails MB
|
||||
#:suspended #t
|
||||
#:pred? pred?
|
||||
))))
|
||||
(if (null? (cdr ml))
|
||||
(print "Skipping ML check - not loaded")
|
||||
(if (and (null? missing)
|
||||
(null? surplus))
|
||||
(print (format "~a mailing list membership in sync." (string-capitalize name)))
|
||||
(let ()
|
||||
(print (format "~a mailing list:" (string-capitalize name)))
|
||||
(when (not (null? missing))
|
||||
(print " Missing: " missing))
|
||||
(when (not (null? surplus))
|
||||
(print " Outsiders: " surplus)))))))
|
||||
|
||||
(define (rada-ml-pred? mr)
|
||||
(or (brmember-council? mr)
|
||||
|
|
|
@ -122,21 +122,19 @@
|
|||
|
||||
;; Converts the entry into the fee
|
||||
(define (member-calendar-entry->fee e)
|
||||
(with-current-month
|
||||
(car e)
|
||||
(if e
|
||||
(if (member 'existing (cadr e))
|
||||
(if (member 'suspended (cadr e))
|
||||
0 ; Suspended
|
||||
(if (member 'destroyed (cadr e))
|
||||
0 ; Destroyed
|
||||
(if (member 'student (cadr e))
|
||||
(lookup-member-fee 'student) ; Student
|
||||
(if (caddr e)
|
||||
(caddr e)
|
||||
(lookup-member-fee 'regular))))) ; Normal
|
||||
0) ; Nonexistent - should not happen
|
||||
0))) ; Nonexistent
|
||||
(if e
|
||||
(if (member 'existing (cadr e))
|
||||
(if (member 'suspended (cadr e))
|
||||
0 ; Suspended
|
||||
(if (member 'destroyed (cadr e))
|
||||
0 ; Destroyed
|
||||
(if (member 'student (cadr e))
|
||||
(lookup-member-fee 'student) ; Student
|
||||
(if (caddr e)
|
||||
(caddr e)
|
||||
(lookup-member-fee 'regular))))) ; Normal
|
||||
0) ; Nonexistent - should not happen
|
||||
0)) ; Nonexistent
|
||||
|
||||
;; Converts the calendar into a table where rows represent years and
|
||||
;; contain the year in the first cell and 12 cells for months after
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
(chicken format))
|
||||
|
||||
;; Short banner
|
||||
(define banner-line "HackerBase 1.15.1 (c) 2023 Brmlab, z.s.")
|
||||
(define banner-line "HackerBase 1.15 (c) 2023 Brmlab, z.s.")
|
||||
|
||||
;; Banner source with numbers for ANSI CSI SGR
|
||||
(define banner-source "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue