Skip to Content.
Sympa Menu

en - [sympa-users] Fwd: Few patches

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Mitar <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Fwd: Few patches
  • Date: Thu, 14 Jun 2012 23:48:57 +0200

Hi!

Some time ago I send those patches but they were not successfully send
to the mailing list, so I am retrying now here.


Mitar

---------- Forwarded message ----------
From: Mitar <address@concealed>
Date: Sat, Feb 4, 2012 at 1:33 AM
Subject: Few patches
To: address@concealed


Hi!

I am attaching few patches (tested on 6.1.7) which we have been using
on our Sympa installation for some time and fix some problems we were
having with Sympa. Feel free to include them into official version of
Sympa.

3000_pg_schema_search.patch

When checking for table existence in database upgrade lib, check the
common PostgreSQL schema search path, a username-based namespace. So
each user can have its own schema (table namespace) and very (the
default) often this is named the same as username. Even better would
be if there would be a setting file to configure schema.

3001_robot_icons_url.patch

Sympa currently does not use robot-specific static_content_url but
only global, which can break icons' URLs for robots (virtual hosts).
This patch fixes this.

3002_password_sensitive.patch

Password should probably be really case sensitive by the default? The
real reason for this is that we had passwords case sensitive in older
versions of Sympa and after upgrading to Sympa 6 they stopped to work.
It seems that configuration setting gets somehow lost on the code path
to the authentication itself. So setting the default fixed this for
us. But probably it should be fixed that configuration option itself
work as expected.

3003_verp.patch

Sympa had problems setting VERP (Return-Path) on e-mails. A variable
scope coding error was the cause.

3004-cookies.patch

We had big problems with cookies and login sessions. It would happen
that Sympa was setting two session cookies with different domain and
then it would get confused because browser would send some other
session number and would simply logout the user after the next page
load after login. This patch fixes this.

mail_tt2-linewrap.patch

Sympa should not wrap moderation e-mails so that links for moderation
(accept/reject) are in one line and working. Otherwise it is not
possible just to click the link to moderate.

mhonarc-ressources.tt2.patch

E-mails with flowed newlines are not displayed properly (everything is
displayed in one long long line as HTML just collapses everything) now
that Sympa has removed keepspace option. It is probably an upstream
(mhonarc) issue. But we can simply disable handling of flowed newlines
and things work.

BTW, mhonarc template should really add some div around the body
content. Currently it is impossible to style (CSS) just the body (for
example, to set with CSS a pre-like fixed space behavior).


Mitar

Attachment: 3000_pg_schema_search.patch
Description: Binary data

Attachment: 3001_robot_icons_url.patch
Description: Binary data

Attachment: 3002_password_sensitive.patch
Description: Binary data

Attachment: 3003_verp.patch
Description: Binary data

Attachment: 3004-cookies.patch
Description: Binary data

Attachment: mail_tt2-linewrap.patch
Description: Binary data

Attachment: mhonarc-ressources.tt2.patch
Description: Binary data




Archive powered by MHonArc 2.6.19+.

Top of Page