Commit dee71aea authored by Francisco Juan's avatar Francisco Juan

removed redmine_sympa plugin

parent b4e6a43c
= Redmine sympa plugin
== Installation
cd your/redmine/project
script/plugin install git://github.com/splendeo/redmine_sympa.git
rake db:migrate_plugins RAILS_ENV=production
Then you must restart your app. This is Web-server dependant. In Apache, you would do:
touch tmp/restart.txt
You should now be able to customize the plugin.
* Open your to your redmine site on a browser window
* Log-in as the administrator
* Navigate to Administration / Plugins / Redmine Sympa plugin / Configure
* Change settings on that plugin
== Addional considerations
Due to the way the plugin is built, the user running redmine must be able to perform a sudo without password.
class MailingListController < ApplicationController
unloadable
before_filter :find_project, :authorize, :only => [:show]
def show
end
private
def find_project
# @project variable must be set before calling the authorize filter
@sympa_address = "sympa@#{Setting.plugin_redmine_sympa['redmine_sympa_domain']}"
@project = Project.find(params[:project_id])
end
end
<% html_title l(:redmine_sympa_mailing_list_page_title, :name => @project.name) -%>
<h2> <%=h @project.name %> mailing list </h2>
<p>
<%=l(:redmine_sympa_mailing_list_page_intro) %>
<a href='mailto:<%= @project.sympa_mailing_list_address %>'><%= @project.sympa_mailing_list_address %></a>
</p>
<p>
<%=l(:redmine_sympa_mailing_list_page_admin_address) %> <a href='mailto:<%= @project.sympa_admin_address %>'><%= @project.sympa_admin_address %></a>
</p>
<p>
<%=l(:redmine_sympa_mailing_list_page_subscribe) %> <em>subscribe <%= @project.identifier %> Firstname Name</em>
</p>
<p>
<%=l(:redmine_sympa_mailing_list_page_unsubscribe ) %> <em>unsubscribe <%= @project.identifier %> </em>
<p>
<%=l(:redmine_sympa_mailing_list_page_subscription_web) %> <a href="<%= @project.sympa_url %>"><%= @project.sympa_url %></a>
</p>
<p>
<%=l(:redmine_sympa_mailing_list_page_archive_text) %>
<a href='<%= @project.sympa_archive_url %>'><%= @project.sympa_archive_url %></a>
</p>
<p>
<%= textilizable @project.sympa_info %>
</p>
<fieldset>
<%= content_tag(:legend, l(:redmine_sympa_text_settings_configuration)) %>
<%= content_tag(:p, l(:redmine_sympa_settings_help)) %>
<p>
<%= content_tag(:label, l(:redmine_sympa_setting_roles)) %>
<%-
roles = Role.all(:order => "position ASC")
selected = @settings['redmine_sympa_roles'].collect(&:to_i) unless @settings['redmine_sympa_roles'].blank?
selected ||= []
-%>
<% unless roles.empty? %>
<%=
select_tag("settings[redmine_sympa_roles]",
content_tag(:option, '') + options_from_collection_for_select(roles, :id, :name, selected ),
:multiple => true,
:size => 5)
%>
<% else %>
<%= link_to(l(:join_project_missing_roles), :controller => 'roles', :action => 'index') %>
<% end %>
</p>
<p>
<%= content_tag(:label, l(:redmine_sympa_setting_list_type)) %>
<%= text_field_tag("settings[redmine_sympa_list_type]", @settings['redmine_sympa_list_type'], :size=>60 ) %>
</p>
<p>
<%= content_tag(:label, l(:redmine_sympa_setting_domain)) %>
<%= text_field_tag("settings[redmine_sympa_domain]", @settings['redmine_sympa_domain'], :size=>60 ) %>
</p>
<p>
<%= content_tag(:label, l(:redmine_sympa_setting_path)) %>
<%= text_field_tag("settings[redmine_sympa_path]", @settings['redmine_sympa_path'], :size=>60 ) %>
</p>
<p>
<%= content_tag(:label, l(:redmine_sympa_setting_archive_url)) %>
<%= text_field_tag("settings[redmine_sympa_archive_url]", @settings['redmine_sympa_archive_url'], :size=>60 ) %>
</p>
<p>
<%= content_tag(:label, l(:redmine_sympa_setting_info_url)) %>
<%= text_field_tag("settings[redmine_sympa_info_url]", @settings['redmine_sympa_info_url'], :size=>60 ) %>
</p>
<p>
<%= content_tag(:label, l(:redmine_sympa_setting_log)) %>
<%= text_field_tag("settings[redmine_sympa_log]", @settings['redmine_sympa_log'], :size=>60 ) %>
</p>
</fieldset>
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# German strings go here
de:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# Spanish strings go here
es:
permission_view_mailing_lists: "Ver lista de correo"
redmine_sympa_text_settings_configuration: "Configuración"
redmine_sympa_settings_help: "Seleccione que Rol debería tener un Miembro para poder gestionar listas de correo de Sympa. Normalmente 'Manager'. El nombre de dominio es la parte que va tras la @ en tulista@tudominio.com. Las otras settings son los paths a los ejecutables de sympa."
redmine_sympa_setting_roles: "Rol de control"
redmine_sympa_missing_roles: "Añadir roles"
redmine_sympa_setting_domain: "Nombre de dominio"
redmine_sympa_setting_path: "Path a Sympa.pl"
redmine_sympa_setting_log: "Log de sympa"
redmine_sympa_setting_archive_url: "Prefijo de la url de los archivos"
redmine_sympa_setting_info_url: "Prefijo de la url de información"
redmine_sympa_setting_list_type: "Tipo de lista"
field_sympa_info: "Información de la lista"
redmine_sympa_mailing_list_page_title: "Lista de correo {{name}}"
redmine_sympa_mailing_list_page_intro: "La dirección de esta lista de correo es:"
redmine_sympa_mailing_list_page_admin_address: "La dirección de correo para suscribirse / cancelar subscripciones es:"
redmine_sympa_mailing_list_page_subscribe: "Para suscribirse, por favor envíe un email vacío a dicha dirección, con la cabecera:"
redmine_sympa_mailing_list_page_unsubscribe: "Para cancelar una subscripción, por favor envía un mail vacío a dicha dirección, con la cabecera:"
redmine_sympa_mailing_list_page_subscription_web: "También puede utilizar la interfaz web para gestionar su suscripción:"
redmine_sympa_mailing_list_page_archive_text: "El archivo de la lista está disponible en: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# French strings go here
fr:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
# English strings go here
en:
permission_view_mailing_lists: "View Mailing Lists"
redmine_sympa_text_settings_configuration: "Configuration"
redmine_sympa_settings_help: "Select which Role a Member should have in order to be able to manage Sympa lists. This is usually 'Manager'. The domain name is the part after @ in yourlist@yourdomain.com. The other two settings are required executable paths."
redmine_sympa_setting_roles: "Manager role"
redmine_sympa_missing_roles: "Add new roles"
redmine_sympa_setting_domain: "Domain name"
redmine_sympa_setting_path: "Sympa.pl path"
redmine_sympa_setting_log: "Sympa log"
redmine_sympa_setting_archive_url: "Archive url prefix"
redmine_sympa_setting_info_url: "Information page url prefix"
redmine_sympa_setting_list_type: "List type"
field_sympa_info: "Mailing list information"
redmine_sympa_mailing_list_page_title: "{{name}} mailing list"
redmine_sympa_mailing_list_page_intro: "This project's mailing list address is:"
redmine_sympa_mailing_list_page_admin_address: "The subscription / unsubscription email address is:"
redmine_sympa_mailing_list_page_subscribe: "In order to subscribe, please send an empty email to that adress, with the header:"
redmine_sympa_mailing_list_page_unsubscribe: "In order to unsubscribe, please send an empty email to that address containing the header:"
redmine_sympa_mailing_list_page_subscription_web: "You may also use sympa's web interface for subscribing/unsubscribing:"
redmine_sympa_mailing_list_page_archive_text: "The list archive is available in: "
class AddSympaInfoToProjects < ActiveRecord::Migration
def self.up
add_column :projects, :sympa_info, :text
end
def self.down
remove_column :projects, :sympa_info
end
end
require 'redmine'
require 'redmine_sympa/hooks/project_hooks'
require 'dispatcher'
Dispatcher.to_prepare :redmine_sympa do
require_dependency 'project'
require_dependency 'enabled_module'
Project.send(:include, RedmineSympa::Patches::ProjectPatch)
EnabledModule.send(:include, RedmineSympa::Patches::EnabledModulePatch)
end
Redmine::Plugin.register :redmine_sympa do
name 'Redmine Sympa plugin'
author 'Enrique García Cota'
description 'Integrates Redmine with Sympa mailing lists.'
version '0.0.3'
settings({
:partial => 'settings/redmine_sympa',
:default => {
'redmine_sympa_roles' => [],
'redmine_sympa_domain' => 'yourdomain.com',
'redmine_sympa_archive_url' => 'http://localhost/wws/arc/',
'redmine_sympa_path' => '/home/sympa/bin/sympa.pl',
'redmine_sympa_log' => "#{Rails.root}/log/sympa.log",
'redmine_sympa_list_type' => 'discussion_list'
}
})
#project_module ensures that only the projects that have them 'active' will show them
project_module :sympa_mailing_list do
#declares that our "show" from MailingList controller is public
permission(:view_mailing_lists, {:mailing_list => [:show]}, :public => true)
end
#Creates an entry on the project menu for displaying the mailing list
menu :project_menu, :mailing_list, { :controller => 'mailing_list', :action => 'show' }, :caption => 'Mailing List', :after => :activity, :param => :project_id
end
require 'redmine_sympa/sympa_logger'
module RedmineSympa
module Actions
def self.execute_command(command)
RedmineSympa::SympaLogger.info(" executing #{command}")
system "sudo #{command} >> #{RedmineSympa::SympaLogger.path} 2>&1 &"
end
def self.get_sympa_path
Setting.plugin_redmine_sympa['redmine_sympa_path']
end
def self.get_domain
Setting.plugin_redmine_sympa['redmine_sympa_domain']
end
def self.create_list(project)
temp_file = File.open("#{Rails.root}/tmp/list#{project.identifier}", "w+")
File.chmod(0644, temp_file.path)
temp_file.print(project.sympa_mailing_list_xml_def)
temp_file.flush
RedmineSympa::SympaLogger.info "Creating mailing list for project #{project.identifier}"
execute_command("#{get_sympa_path} --create_list --robot #{get_domain} --input_file #{temp_file.path}")
end
def self.destroy_list(project)
RedmineSympa::SympaLogger.info "Destroying mailing list for project #{project.identifier}"
execute_command("#{get_sympa_path} --purge_list=#{project.identifier}@#{get_domain}")
end
end
end
module RedmineSympa
module Hooks
class ProjectHooks < Redmine::Hook::ViewListener
# :project
# :form
def view_projects_form(context={})
content = context[:form].text_area(:sympa_info, :rows => 5, :class => 'wiki-edit')
#FIXME: this doesn't work any more. Why?
#content += wikitoolbar_for(:project_sympa_info)
return content_tag(:p, content)
end
end
end
end
require 'redmine_sympa/actions'
module RedmineSympa
module Patches
module EnabledModulePatch
def self.included(base)
base.send(:include, InstanceMethods)
base.extend(ClassMethods)
base.class_eval do
unloadable # Send unloadable so it will not be unloaded in development
after_create :sympa_enable_module
before_destroy :sympa_disable_module
end
end
module ClassMethods
end
module InstanceMethods
def is_a_sympa_module?
return (self.name == 'sympa_mailing_list' ? true : false)
end
def sympa_enable_module
self.reload
if(self.is_a_sympa_module?)
RedmineSympa::SympaLogger.info("EnabledModule: Project #{self.project.identifier} needs a new mailing list. We must registers all its users, too.")
RedmineSympa::Actions.create_list(project)
end
end
def sympa_disable_module
if(self.is_a_sympa_module?)
RedmineSympa::SympaLogger.info("EnabledModule: Project #{self.project.identifier} doesn't need a mailing list any more")
RedmineSympa::Actions.destroy_list(project)
end
end
end
end
end
end
module RedmineSympa
module Patches
module ProjectPatch
def self.included(base)
base.send(:include, InstanceMethods)
base.extend(ClassMethods)
base.class_eval do
unloadable # Send unloadable so it will not be unloaded in development
end
end
module ClassMethods
end
module InstanceMethods
def has_sympa_mailing_list?
return self.module_enabled?(:sympa_mailing_list)
end
def sympa_mailing_list_address
"#{identifier}@#{Setting.plugin_redmine_sympa['redmine_sympa_domain']}"
end
def sympa_admin_address
"sympa@#{Setting.plugin_redmine_sympa['redmine_sympa_domain']}"
end
def sympa_archive_url
"#{Setting.plugin_redmine_sympa['redmine_sympa_archive_url']}#{identifier}"
end
def sympa_url
"#{Setting.plugin_redmine_sympa['redmine_sympa_info_url']}#{identifier}"
end
def sympa_admin_emails
roles = Setting.plugin_redmine_sympa['redmine_sympa_roles'].collect{|r| r.to_i}
emails= members.all(:conditions => ['role_id IN (?)', roles]).collect{|m| m.user.mail}
emails.push(User.find_by_admin(true).mail)
return emails
end
# returns the xml needed for defining a mailing list
def sympa_mailing_list_xml_def
owners = sympa_admin_emails.collect{|m| "<owner multiple='1'><email>#{m}</email></owner>"}
list_type = Setting.plugin_redmine_sympa['redmine_sympa_list_type']
return "<?xml version='1.0' ?>
<list>
<listname>#{identifier}</listname>
<type>#{list_type}</type>
<subject>#{name}</subject>
<description>#{description}</description>
<status>open</status>
<language>en_US</language>
<topic>Computing</topic>
#{owners.join(' ')}
</list>"
end
end
end
end
end
module RedmineSympa
module SympaLogger
def self.path
sympa_log = Setting.plugin_redmine_sympa['redmine_sympa_log']
end
def self.file
if(@file==nil) then
@file = File.open(self.path, 'a')
@file.sync = true
end
return @file
end
def self.getLogger
if @logger == nil
@logger = Logger.new(self.file)
end
return @logger
end
def self.clear()
if(@logger!=nil)
@logger.close()
@logger = nil
end
if(@file!=nil)
@file.close()
end
File.delete(self.path)
end
def self.debug(msg)
getLogger.debug(msg)
end
def self.info(msg)
getLogger.info(msg)
end
def self.warn(msg)
getLogger.warn(msg)
end
def self.error(msg)
getLogger.error(msg)
end
def self.fatal(msg)
getLogger.fatal(msg)
end
end
end
namespace :redmine_sympa do
desc "Create a project's mailing list, and subscribe all its users to it"
task :create_list => :environment do
require 'redmine_sympa/actions.rb'
project = Project.find(ENV["PROJECT_ID"]) or raise "PROJECT_ID missing or invalid"
puts "Creating mailing list for project #{project.identifier}"
RedmineSympa::SympaLogger.info("Rake: create_list")
RedmineSympa::Actions.create_list(project)
end
desc "Destroy a project's mailing list"
task :destroy_list => :environment do
require 'redmine_sympa/actions.rb'
project = Project.find(ENV["PROJECT_ID"]) or raise "PROJECT_ID missing or invalid"
puts "Destroying mailing list for project #{project.identifier}"
RedmineSympa::SympaLogger.info("Rake: destroy_list")
RedmineSympa::Actions.destroy_list(project)
end
end
require File.dirname(__FILE__) + '/../test_helper'
class MailingListControllerTest < ActionController::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end
# Load the normal Rails helper
require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper')
# Ensure that we are using the temporary fixture path
Engines::Testing.set_fixture_path
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment