Skip to content

Instantly share code, notes, and snippets.

@ikedas
ikedas / github-release-message.pl.md
Created November 12, 2022 06:03
Build message for release announcement of Sympa

Run: github-release-message.pl sympa-community/sympa 6.2.70.

#! /usr/bin/env perl

use strict;
use warnings;

use English qw(-no_match_vars);
use JSON;

Test on the fix by rspamd/rspamd@4dd9c48

  1. String cases: local.d/milter_headers.conf:
    skip_local = false;
    use = ['add-headers'];
    routines {
      add-headers {
    

Test on the fix by rspamd/rspamd@fe9d9d3

  1. String cases: local.d/milter_headers.conf:
    skip_local = false;
    use = ['add-headers'];
    routines {
      add-headers {
    

How to ask the question to solve the problem about Sympa [draft]

2022-06-25 Ver. 0.1 [draft]

Table of Contents

  • Before you ask questions
  • When you ask a question
  • Content of the question
@ikedas
ikedas / moderate-nospam.patch.md
Created August 14, 2022 09:20
Never attach messges in moderation notices
diff --git a/default/mail_tt2/moderate.tt2 b/default/mail_tt2/moderate.tt2
index e1e8e69..9e9cc15 100644
--- a/default/mail_tt2/moderate.tt2
+++ b/default/mail_tt2/moderate.tt2
@@ -3,7 +3,7 @@ From: [% fromlist %]
 To: [%"Moderator"|loc|mailbox("${list.name}-editor@${domain}",list.name)%]
 Subject: [%"Message for list %1 from %2 to be approved"|loc(list.name,msg_from)|qencode%]
 Reply-To: [% conf.email %]@[% domain %]
-[% IF spam_status != 'spam' -%]
@ikedas
ikedas / sympa-issue-1111.md
Last active February 4, 2021 05:44
sympa-community/sympa #1111 Replace 'blacklist' with more neutral term

FYI: On translation site, translations of English word "blacklist" by languages are as below.

  • The bold words don't have meaning of "black".
  • The italic are the loan words simply transliterating English.
  • The others use the word with meaning of "black".
language translation comments
ar القائمة السوداء (alqayimat alsawda')
ca llista negra
@ikedas
ikedas / Bug 527.md
Last active January 16, 2019 05:31
Bug #527

URL links appear in mail/web templates

action possiblly invoked by GET uses confirm_action() bug #527
rss/active_lists Yes
add Yes
add_frommod Yes
admin Yes
arc Yes Yes Affected
arc_delete Yes

Extending format of sympa.conf / robot.conf

Plan:

  • Content of some other config files under $SYSCONFDIR will also be included.
  • Schema for list config and site/robot config may be merged together.

Example:

@ikedas
ikedas / Sympa-loadtest-20150311.pdf
Last active October 10, 2018 07:26
Sympa load test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ikedas
ikedas / poormans-minifier.md
Created July 18, 2018 12:58
Poorman's js minifier
diff --git a/default/web_tt2/head_javascript.tt2 b/default/web_tt2/head_javascript.tt2
index 239eb73..3bf0d72 100644
--- a/default/web_tt2/head_javascript.tt2
+++ b/default/web_tt2/head_javascript.tt2
@@ -41,7 +41,7 @@ var lang = '[% lang %]';
 [%# Color picker ~%]
 <script src="[% static_content_url %]/js/jquery-minicolors/jquery.minicolors.min.js?v2.3.1"></script>
 [%# Sympa ~%]
-<script src="[% static_content_url %]/js/sympa.js?v[% version %]"></script>