Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
c4087f3c
Commit
c4087f3c
authored
Jun 26, 2019
by
IKEDA Soji
Browse files
Update version numbers in comments & docs.
parent
f6a221bb
Changes
14
Hide whitespace changes
Inline
Side-by-side
src/cgi/wwsympa.fcgi.in
View file @
c4087f3c
...
...
@@ -15128,7 +15128,7 @@ sub do_search_user {
my @keys = qw(reception bounce topic);
@{$param->{'which'}{$l}}{@keys} = @{$list->{'user'}}{@keys};
# Compat. <= 6.2.4
0
# Compat. <= 6.2.4
4
$param->{'which'}{$l}{'included'} = 1
if defined $list->{'user'}{'inclusion'};
} elsif ($role eq 'owner') {
...
...
@@ -16765,7 +16765,7 @@ sub _prepare_subscriber {
$user->{'additional'} = join ',', @fields;
}
# Compat. <= 6.2.4
0
# Compat. <= 6.2.4
4
if (defined $user->{'inclusion'}) {
$user->{'included'} = 1;
$user->{'sources'} = $language->gettext('included');
...
...
src/lib/Sympa/DataSource.pm
View file @
c4087f3c
...
...
@@ -443,7 +443,7 @@ The other options set by new() may be accessed as attributes.
=head1 HISTORY
L<Sympa::DataSource> appeared on Sympa 6.2.4
1
b.
L<Sympa::DataSource> appeared on Sympa 6.2.4
5
b.
See also L<Sympa::Request::Handler::include/"HISTORY">.
=cut
...
...
src/lib/Sympa/DataSource/File.pm
View file @
c4087f3c
...
...
@@ -135,6 +135,6 @@ L<Sympa::DataSource>.
=head1 HISTORY
L<Sympa::DataSource::File> appeared on Sympa 6.2.4
1
b.
L<Sympa::DataSource::File> appeared on Sympa 6.2.4
5
b.
=cut
src/lib/Sympa/DataSource/LDAP.pm
View file @
c4087f3c
...
...
@@ -207,6 +207,6 @@ L<Sympa::DataSource>.
=head1 HISTORY
L<Sympa::DataSource::LDAP> appeared on Sympa 6.2.4
1
b.
L<Sympa::DataSource::LDAP> appeared on Sympa 6.2.4
5
b.
=cut
src/lib/Sympa/DataSource/LDAP2.pm
View file @
c4087f3c
...
...
@@ -148,6 +148,6 @@ L<Sympa::DataSource>.
=head1 HISTORY
L<Sympa::DataSource::LDAP2> appeared on Sympa 6.2.4
1
b.
L<Sympa::DataSource::LDAP2> appeared on Sympa 6.2.4
5
b.
=cut
src/lib/Sympa/DataSource/List.pm
View file @
c4087f3c
...
...
@@ -249,6 +249,6 @@ L<Sympa::DataSource>.
=head1 HISTORY
L<Sympa::DataSource::List> appeared on Sympa 6.2.4
1
b.
L<Sympa::DataSource::List> appeared on Sympa 6.2.4
5
b.
=cut
src/lib/Sympa/DataSource/RemoteDump.pm
View file @
c4087f3c
...
...
@@ -106,6 +106,6 @@ L<Sympa::DataSource>.
=head1 HISTORY
L<Sympa::DataSource::RemoteDump> appeared on Sympa 6.2.4
1
b.
L<Sympa::DataSource::RemoteDump> appeared on Sympa 6.2.4
5
b.
=cut
src/lib/Sympa/DataSource/RemoteFile.pm
View file @
c4087f3c
...
...
@@ -141,6 +141,6 @@ L<Sympa::DataSource>.
=head1 HISTORY
L<Sympa::DataSource::RemoteFile> appeared on Sympa 6.2.4
1
b.
L<Sympa::DataSource::RemoteFile> appeared on Sympa 6.2.4
5
b.
=cut
src/lib/Sympa/DataSource/SQL.pm
View file @
c4087f3c
...
...
@@ -175,6 +175,6 @@ L<Sympa::DataSource>.
=head1 HISTORY
L<Sympa::DataSource::SQL> appeared on Sympa 6.2.4
1
b.
L<Sympa::DataSource::SQL> appeared on Sympa 6.2.4
5
b.
=cut
src/lib/Sympa/DatabaseDescription.pm
View file @
c4087f3c
...
...
@@ -170,7 +170,7 @@ my %full_db_struct = (
'
boolean set to 1 if subscriber comes from ADD or SUB
',
'
order
'
=>
17
,
},
# Obsoleted as of 6.2.4
1
b. Use inclusion_subscriber.
# Obsoleted as of 6.2.4
5
b. Use inclusion_subscriber.
#'included_subscriber' => {
# 'struct' => 'int(1)',
# 'doc' =>
...
...
@@ -978,7 +978,7 @@ my %full_db_struct = (
'
set to 1 if user is list admin by definition in list config file
',
'
order
'
=>
11
,
},
# Obsoleted as of 6.2.4
1
b. Use inclusion_admin.
# Obsoleted as of 6.2.4
5
b. Use inclusion_admin.
#'included_admin' => {
# 'struct' => 'int(1)',
# 'doc' =>
...
...
src/lib/Sympa/List.pm
View file @
c4087f3c
...
...
@@ -748,7 +748,7 @@ sub dump_users {
}
}
# Compat.<=6.2.4
0
# Compat.<=6.2.4
4
# This is needed for earlier version of Sympa on e.g. remote host.
print
$lock_fh
"
included 1
\n
"
if
defined
$user
->
{
inclusion
};
...
...
@@ -765,7 +765,7 @@ sub dump_users {
if
defined
$user
->
{
$k
}
and
length
$user
->
{
$k
};
}
# Compat.<=6.2.4
0
# Compat.<=6.2.4
4
# This is needed for earlier version of Sympa on e.g. remote host.
print
$lock_fh
"
included 1
\n
"
if
defined
$user
->
{
inclusion
};
...
...
@@ -2678,7 +2678,7 @@ sub get_list_member {
$user
->
{'
custom_attribute
'});
}
# Compat.<=6.2.4
0
FIXME: needed?
# Compat.<=6.2.4
4
FIXME: needed?
$user
->
{'
included
'}
=
1
if
defined
$user
->
{'
inclusion
'};
}
else
{
...
...
@@ -2811,7 +2811,7 @@ sub get_first_list_member {
$user
->
{'
custom_attribute
'});
}
# Compat.<=6.2.4
0
FIXME: needed?
# Compat.<=6.2.4
4
FIXME: needed?
$user
->
{'
included
'}
=
1
if
defined
$user
->
{'
inclusion
'};
}
else
{
...
...
@@ -2871,7 +2871,7 @@ sub get_next_list_member {
$user
->
{'
custom_attribute
'}
=
$custom_attr
;
}
# Compat.<=6.2.4
0
FIXME: needed?
# Compat.<=6.2.4
4
FIXME: needed?
$user
->
{'
included
'}
=
1
if
defined
$user
->
{'
inclusion
'};
}
else
{
...
...
@@ -3091,7 +3091,7 @@ sub get_current_admins {
$user
->
{'
visibility
'}
||=
'
noconceal
';
$user
->
{'
update_date
'}
||=
$user
->
{'
date
'};
# Compat.<=6.2.4
0
FIXME: needed?
# Compat.<=6.2.4
4
FIXME: needed?
$user
->
{'
included
'}
=
1
if
defined
$user
->
{'
inclusion
'};
}
...
...
@@ -3158,7 +3158,7 @@ sub get_first_bouncing_list_member {
$self
->
{'
name
'})
unless
defined
$user
->
{'
email
'}
and
length
$user
->
{'
email
'};
# Compat.<=6.2.4
0
FIXME: needed?
# Compat.<=6.2.4
4
FIXME: needed?
$user
->
{'
included
'}
=
1
if
defined
$user
->
{'
inclusion
'};
}
else
{
...
...
@@ -3197,7 +3197,7 @@ sub get_next_bouncing_list_member {
$user
->
{'
custom_attribute
'});
}
# Compat.<=6.2.4
0
FIXME: needed?
# Compat.<=6.2.4
4
FIXME: needed?
$user
->
{'
included
'}
=
1
if
defined
$user
->
{'
inclusion
'};
}
else
{
...
...
@@ -3383,7 +3383,7 @@ sub get_members {
$user
->
{
custom_attribute
}
=
$custom_attr
;
}
# Compat.<=6.2.4
0
FIXME: needed?
# Compat.<=6.2.4
4
FIXME: needed?
$user
->
{
included
}
=
1
if
defined
$user
->
{'
inclusion
'};
}
...
...
@@ -3777,7 +3777,7 @@ sub update_list_admin {
# }
#}
# Compat.<=6.2.4
0
FIXME: is this used?
# Compat.<=6.2.4
4
FIXME: is this used?
$values
->
{
inclusion
}
||=
(
$values
->
{
update_date
}
||
time
)
if
$values
->
{
included
};
...
...
@@ -3964,7 +3964,7 @@ sub add_list_member {
$new_user
->
{'
custom_attribute
'}
);
# Compat.<=6.2.4
0
FIXME: needed?
# Compat.<=6.2.4
4
FIXME: needed?
$new_user
->
{'
inclusion
'}
||=
(
$new_user
->
{'
date
'}
||
time
)
if
$new_user
->
{'
included
'};
...
...
@@ -4137,7 +4137,7 @@ sub _add_list_admin {
$user
->
{'
date
'}
||=
time
;
$user
->
{'
update_date
'}
||=
$user
->
{'
date
'};
# Compat.<=6.2.4
0
FIXME: needed?
# Compat.<=6.2.4
4
FIXME: needed?
$user
->
{'
inclusion
'}
||=
$user
->
{'
date
'}
if
$user
->
{'
included
'};
...
...
@@ -4463,7 +4463,7 @@ sub restore_users {
next
unless
$user
->
{
email
};
$user
->
{
update_date
}
=
$time
;
# Compat. <= 6.2.4
0
# Compat. <= 6.2.4
4
# This is needed for dump by earlier version of Sympa.
$user
->
{
inclusion
}
||=
(
$user
->
{
update_date
}
||
time
)
if
$user
->
{
included
};
...
...
@@ -4498,7 +4498,7 @@ sub restore_users {
next
unless
defined
$user
->
{
email
}
and
length
$user
->
{
email
};
$user
->
{
update_date
}
=
$time
;
# Compat. <= 6.2.4
0
# Compat. <= 6.2.4
4
# This is needed for dump by earlier version of Sympa.
$user
->
{
inclusion
}
||=
(
$user
->
{
update_date
}
||
time
)
if
$user
->
{
included
};
...
...
src/lib/Sympa/ListDef.pm
View file @
c4087f3c
...
...
@@ -1243,7 +1243,7 @@ our %pinfo = (
'
order
'
=>
2
,
'
gettext_id
'
=>
"
data location URL
",
'
format
'
=>
'
.+
',
'
occurrence
'
=>
'
0-1
',
# Backward compat. <= 6.2.4
0
'
occurrence
'
=>
'
0-1
',
# Backward compat. <= 6.2.4
4
'
length
'
=>
50
},
'
user
'
=>
{
...
...
src/lib/Sympa/Request/Handler/include.pm
View file @
c4087f3c
...
...
@@ -680,6 +680,6 @@ Inclusion of owners and moderators was introduced on Sympa 4.2b.5.
L<Datasource> module appeared on Sympa 5.3a.9.
Entirely rewritten and renamed L<Sympa::DataSource> module and
L<Sympa::Request::Hander::include> module appeared on Sympa 6.2.4
1
b.
L<Sympa::Request::Hander::include> module appeared on Sympa 6.2.4
5
b.
=cut
src/lib/Sympa/Upgrade.pm
View file @
c4087f3c
...
...
@@ -2047,7 +2047,7 @@ sub upgrade {
# included_* and include_sources_* were deprecated and inclusion_*
# was introduced in subscriber_table and admin_table.
if
(
lower_version
(
$previous_version
,
'
6.2.4
3
b.1
'))
{
if
(
lower_version
(
$previous_version
,
'
6.2.4
5
b.1
'))
{
my
$sdm
=
Sympa::
DatabaseManager
->
instance
;
$log
->
syslog
('
notice
',
'
Upgrading subscriber_table and admin_table.
');
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment