Skip to content

Instantly share code, notes, and snippets.

@ikedas
ikedas / sympa7-versioning.md
Last active October 11, 2018 03:21
Sympa 7 versioning scheme [DRAFT]

Sympa 7 versioning scheme [DRAFT]

Here versioning scheme for Sympa 7 is described.

Format of version string is one of following:

<major>.<minor>-<pre>
Name: smtpc
Version: 1.0.0
Release: 1%{?dist}
Summary: SMTP / LMTP client command-line compatible with sendmail(1) utility
Summary(ja): sendmail(1)ユーティリティとコマンドライン互換なSMTP / LMTPクライアント
License: BSD
URL: https://github.com/ikedas/smtpc
Source0: https://github.com/ikedas/smtpc/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc, make

Examples

The archive_web_access scenario controls access to archives of a list through web interface. Following example allows access by authenticated subscribers or listmasters, or authenticated users from specified network blocks or reverse-lookup host name with specified domain.

scenari/archive_web_access.intranet:

@ikedas
ikedas / help-pages-reorganize.md
Last active July 12, 2018 06:00
Reorganize help pages
Current path open in new win.(*1) New path
help/ no help/
help/admin - help/admin
help/admin#docadmin - ,,
help/admin#create_list yes help/admin-createlist
help/admin#edit_list - (help/admin-editlist)
help/admin#customize yes help/admin-editfile
help/admin#manage_shared - help/admin-shared
help/admin#manage_members yes help/admin-members
@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>
@ikedas
ikedas / Sympa-loadtest-20150311.pdf
Last active October 10, 2018 07:26
Sympa load test
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

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 / 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
@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