Commit e1a2a2f8 authored by Ploc's avatar Ploc Committed by Ploc
Browse files

chore(): bump version from 3.4.0-dev to 3.4.0

parent 01b75af4
<a name="3.4.0"></a>
# [3.4.0](https://git.framasoft.org/agenda-libre/agenda-libre-php/compare/3.3.0...v3.4.0) (2017-06-16)
### Bug Fixes
* bad answer in ajax query to find localgroups ([441d401](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/441d401))
* empty map when served as https ([01ab446](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/01ab446)), closes [#42](https://git.framasoft.org/agenda-libre/agenda-libre-php/issues/42)
* fix map parameter reference when calling rss list ([9edf581](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/9edf581)), closes [#45](https://git.framasoft.org/agenda-libre/agenda-libre-php/issues/45)
* sql disambiguation ([f42da02](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/f42da02))
* wrong diff in tags when editing an event ([4590344](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/4590344)), closes [#43](https://git.framasoft.org/agenda-libre/agenda-libre-php/issues/43)
### Chores
* move default map parameters in config.inc.php ([d52a18a](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/d52a18a))
* update name of french regions ([1fb980b](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/1fb980b))
### Features
* add css class style in calendar depending on tags of the event ([01b75af](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/01b75af)), closes [#44](https://git.framasoft.org/agenda-libre/agenda-libre-php/issues/44)
* add tooltip over tags ([f181f70](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/f181f70)), closes [#36](https://git.framasoft.org/agenda-libre/agenda-libre-php/issues/36)
* allow to link one or more localgroups to each event ([750aa40](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/750aa40)), closes [#5](https://git.framasoft.org/agenda-libre/agenda-libre-php/issues/5)
* geolocation when editing a localgroup ([7f722ad](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/7f722ad))
* geolocation when editing an event ([28051cc](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/28051cc)), closes [#39](https://git.framasoft.org/agenda-libre/agenda-libre-php/issues/39) [#40](https://git.framasoft.org/agenda-libre/agenda-libre-php/issues/40)
* manage localgroups ([3836bf1](https://git.framasoft.org/agenda-libre/agenda-libre-php/commit/3836bf1)), closes [#7](https://git.framasoft.org/agenda-libre/agenda-libre-php/issues/7)
### BREAKING CHANGES
* Add the following configuration in your `www/inc/config.inc.php` file in line 99:
```php
/*
* Map settings
**/
$mapGlobalDisplay = array( /** in map.php */
'lat' => 46.8,
'lon' => 1,
'zoom' => 6,
);
$mapLocalgroupDisplay = array( /** in showlocalgroup */
'zoom' => 13,
);
$mapEventDisplay = array( /** in showevent */
'zoom' => 11,
);
```
* Add the following text into `adl/text/text.inc.php` on line 51 (and/or into your theme directory):
```php
$adl_lg_role = array('organizer'=>"organisateur", 'coorganizer'=>"co-organisateur", 'partner'=>"partenaire", 'other'=>"autre");
```
Add the following text into `adl/templates/header.inc.html` on line 12 and into `adl/templates/iframe_header.inc.html` on line 12, and/or into your theme directory:
```php
<link rel="stylesheet" type="text/css" href="adl/css/jquery-ui.css" />
```
Add the following text into `adl/css/calendar.css` on line 382:
```css
/*
* Format event submission in relation with localgroups.
* (used only in submit.php)
*/
fieldset {
background-color:#CCC;
/*max-width:500px;*/
padding:1em;
margin: 2em;
border:2px solid blue;
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:8px;
text-align:left;
}
legend {
text-align:left;
font-style: italic;
color: navy;
font-weight: bold;
}
label {
text-align:left;
font-style: italic;
}
label.only {
display: block;
padding-top: 1em;
}
p.legend {
margin-top:0em;
margin-bottom:0px;
margin-left:2em;
text-align:left;
font-style: italic;
padding:0;
color: Teal;
}
.required {
font-weight: bold;
text-decoration:
}
#lg-container {
display: inline-block;
position: relative;
vertical-align: middle;
width: 360px;
}
#lg-container input {
width:100%
}
#lg-container ul {
left:0 !important;
right:0 !important;
max-height:320px;
overflow-y:auto;
overflow-x:hidden;
}
```
Execute the following sql statement:
```sql
CREATE TABLE `adl_localgroups_events` (
`localgroup_id` int(11) NOT NULL DEFAULT '0',
`event_id` int(11) NOT NULL DEFAULT '0',
`role` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `adl_localgroups_events`
ADD PRIMARY KEY (`event_id`,`localgroup_id`),
ADD KEY `role` (`role`);
```
* Update regions sql table:
```bash
mysql -h localhost -p agendadb -u agendauser < sql/regions.sql
```
* This release require to add some configuration settings and to process some sql commands.
Add the following lines in file `inc/config.inc.php`:
```php
/**
* set localgroupManagement to true to enable localgroups management feature
**/
$localgroupManagement = true;
/**
* set localgroupSubmit to true to enable localgroups submission feature
**/
$localgroupSubmit = true;
```
Execute the following sql commands:
```sql
ALTER TABLE `adl_localgroups`
ADD `country` VARCHAR(255) NULL ,
ADD `submitter` VARCHAR(255) NOT NULL ,
ADD `moderated` INT(11) NOT NULL DEFAULT '0' ,
ADD `secret` VARCHAR(255) NULL ,
ADD `decision_time` DATETIME NOT NULL ,
ADD `submission_time` DATETIME NOT NULL ,
ADD INDEX (`moderated`) ,
ADD INDEX(`name`);
CREATE TABLE IF NOT EXISTS adl_localgroups_department
(
`localgroup_id` int(11) NOT NULL,
`department` int(11) NOT NULL,
UNIQUE KEY `localgroup_id` (`localgroup_id`,`department`)
) DEFAULT CHARSET=utf8 COMMENT='scope of localgroups over departments';
REPLACE INTO adl_localgroups_department (localgroup_id, department)
SELECT id, floor(postalcode/1000) FROM adl_localgroups WHERE floor(postalcode/1000)<97;
REPLACE INTO adl_localgroups_department (localgroup_id, department)
SELECT id, floor(postalcode/100) FROM adl_localgroups WHERE floor(postalcode/1000)=97;
ALTER TABLE `adl_localgroups`
DROP `region`,
DROP `department`;
UPDATE `adl_regions` SET `id` = '50' WHERE `adl_regions`.`id` = 27;
INSERT INTO `adl_regions` (`id`, `name`) VALUES ('27', 'Territoires d\'outre-mer');
UPDATE `adl_region_department` SET `region_id` = '50' WHERE `adl_region_department`.`department_id` = 0;
INSERT INTO `adl_region_department` (`region_id`, `department_id`) VALUES ('26', '976');
INSERT INTO `adl_region_department` (`region_id`, `department_id`) VALUES ('27', '98');
```
Note: edit `adl_ prefix` if needed.
<a name="3.3.0"></a>
# [3.3.0](https://git.framasoft.org/agenda-libre/agenda-libre-php/compare/3.2.0...3.3.0) (2016-06-01)
......
3.4.0-dev
\ No newline at end of file
3.4.0
{
"name": "agenda-libre-php",
"version": "3.4.0-dev",
"version": "3.4.0",
"description": "agenda libre is free software written in php that manages collaborative agenda",
"homepage": "https://git.framasoft.org/agenda-libre/agenda-libre-php",
"keywords": [
......
3.4.0-dev
\ No newline at end of file
3.4.0
......@@ -57,7 +57,7 @@ regions = {
}
baseUrl = "http://agenda.example.org"
agendaVersion = "3.4.0-dev"
agendaVersion = "3.4.0"
def Usage():
print u"""Soumettre un évènement dans l'Agenda du Libre
......
Supports Markdown
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