Comptoir-srv merge requestshttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests2020-04-17T10:39:15+02:00https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/441#873 - Doc: finalize "upgrade from v2.5.0 to v2.6.0"2020-04-17T10:39:15+02:00Fabrice Gangler#873 - Doc: finalize "upgrade from v2.5.0 to v2.6.0"Fixed #873
see final file:
https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/blob/4794b3932adbc4d115771b404f16593f63fbd85b/Documentation/For_ops/UPGRADE/UPGRADE_from_v2.5.0_to_v2.6.0.mdFixed #873
see final file:
https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/blob/4794b3932adbc4d115771b404f16593f63fbd85b/Documentation/For_ops/UPGRADE/UPGRADE_from_v2.5.0_to_v2.6.0.mdv2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/428Prepare release2020-04-09T05:31:08+02:00Fabrice GanglerPrepare releasefixed #859fixed #859v2.6.0Fabrice GanglerFabrice Ganglerhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/427#788 - Mapping: update tests2020-04-08T02:29:34+02:00Fabrice Gangler#788 - Mapping: update testsrelated to #788related to #788v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/426#787 - Add language prefix to all links2020-04-06T13:11:40+02:00Fabrice Gangler#787 - Add language prefix to all linksFixed #787Fixed #787v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/425#857 - Error page: HTML header without hard-coded lang code2020-04-03T18:21:13+02:00Fabrice Gangler#857 - Error page: HTML header without hard-coded lang codeFixed #857 (more details about this patch)Fixed #857 (more details about this patch)v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/424#856 - Breadcrumbs: fix URLs for legal and a11y pages2020-04-03T18:26:08+02:00Fabrice Gangler#856 - Breadcrumbs: fix URLs for legal and a11y pages- [X] rajouter test fonctionnel pour les pages "Contact", "Mentions légales" et "Accessibilité"
- [X] corriger les URL du fil d’Ariane des pages "Mentions légales" et "Accessibilité"
Fixed #856- [X] rajouter test fonctionnel pour les pages "Contact", "Mentions légales" et "Accessibilité"
- [X] corriger les URL du fil d’Ariane des pages "Mentions légales" et "Accessibilité"
Fixed #856v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/423#854 - Update CHANGELOG file2020-04-01T10:47:07+02:00Fabrice Gangler#854 - Update CHANGELOG fileFixed #854Fixed #854v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/422#853 - Disallow actions (connected user + anonymous)2020-03-31T20:06:35+02:00Fabrice Gangler#853 - Disallow actions (connected user + anonymous)Disallow actions for connected and anonymous users:
- connected user not allowed to edit or delete a tag
- anonymous user not allowed to add, edit or delete a tag
Fixed #853 and related to #812Disallow actions for connected and anonymous users:
- connected user not allowed to edit or delete a tag
- anonymous user not allowed to add, edit or delete a tag
Fixed #853 and related to #812v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/421#850 + #851 - Search form bugfix2020-03-30T17:47:17+02:00Fabrice Gangler#850 + #851 - Search form bugfix- Fixed #850 - php error when the field is empty
- Fixed #851 - do not allow the user to send an empty query- Fixed #850 - php error when the field is empty
- Fixed #851 - do not allow the user to send an empty queryv2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/420#840 - Search form: removes all excess space characters2020-03-30T14:23:45+02:00Fabrice Gangler#840 - Search form: removes all excess space characters- double spaces
- non-breaking space
- carriage return ('\n', \r')
- tabulation ('\t')
fixed #840- double spaces
- non-breaking space
- carriage return ('\n', \r')
- tabulation ('\t')
fixed #840v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/419#849 - ça avance !2020-03-20T18:02:55+01:00Fabrice Gangler#849 - ça avance !Fixed #849 :
- FEAT(mapping): add 2 methods to MetaTaxonomyController
- FEAT(mapping): update views
- FIX(test): allow redirect to login url with lang prefix
- FIX(mapping): allow to getting associated software
- FEAT(mapping): add publi...Fixed #849 :
- FEAT(mapping): add 2 methods to MetaTaxonomyController
- FEAT(mapping): update views
- FIX(test): allow redirect to login url with lang prefix
- FIX(mapping): allow to getting associated software
- FEAT(mapping): add public routes
- CHORE(mapping): update SQL imports
---
related to #788v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/418#844 - Profil contact form: add explicite message to mail2020-03-20T17:48:54+01:00Fabrice Gangler#844 - Profil contact form: add explicite message to mailfixed #844
in French:
```
Sur votre profil du "Comptoir du Libre"
un utilisateur vous a envoyé un message.
De : dev-collectivite@comptoir-du-libre.org
-------------------------
qsdf
-------------------------
--
https://comptoir-...fixed #844
in French:
```
Sur votre profil du "Comptoir du Libre"
un utilisateur vous a envoyé un message.
De : dev-collectivite@comptoir-du-libre.org
-------------------------
qsdf
-------------------------
--
https://comptoir-du-libre.org
```
in English:
```
On your "Comptoir du Libre" profile
a user sent you a message.
From: dev-collectivite@comptoir-du-libre.org
-------------------------
qsdf
-------------------------
--
https://comptoir-du-libre.org
```v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/417#848 - Disable contact button for connected provider2020-04-01T01:31:45+02:00Fabrice Gangler#848 - Disable contact button for connected providerBREAKING CHANGE: your `config/comptoir.php` file must be updated
- Fixed #848
- Related to #847
ActionHelper.php updates are a bit dirty. No quick and easy solution.BREAKING CHANGE: your `config/comptoir.php` file must be updated
- Fixed #848
- Related to #847
ActionHelper.php updates are a bit dirty. No quick and easy solution.v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/415#843 - Add a log to the contact form2020-03-20T14:47:35+01:00Fabrice Gangler#843 - Add a log to the contact formadd following lines to `debug.log`:
```
2020-03-20 10:58:09 Info: MAIL From: (anonymous user) qsdfqsdf@ljlkj.com --> To: [ 134 ] Asqatasun.org
2020-03-20 10:58:55 Info: MAIL From: [ 287 ] dev-asso --> To: [ 134 ] Asqatasun.org
```
...add following lines to `debug.log`:
```
2020-03-20 10:58:09 Info: MAIL From: (anonymous user) qsdfqsdf@ljlkj.com --> To: [ 134 ] Asqatasun.org
2020-03-20 10:58:55 Info: MAIL From: [ 287 ] dev-asso --> To: [ 134 ] Asqatasun.org
```
------------
Fixed #843v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/414#847 - Disable contact form for provider2020-03-19T18:02:28+01:00Fabrice Gangler#847 - Disable contact form for providerfixed #847fixed #847v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/413#846 - Disable contact form for anonymous user2020-03-19T17:53:50+01:00Fabrice Gangler#846 - Disable contact form for anonymous userfixed #846fixed #846v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/412DOC: update SILL-2020 tag2020-03-19T14:58:06+01:00Fabrice GanglerDOC: update SILL-2020 tagRefs: #774Refs: #774v2.6.0Fabrice GanglerFabrice Ganglerhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/411#839 - REFACTOR(mapping): rename parent classes of controllers2020-03-13T14:53:51+01:00Fabrice Gangler#839 - REFACTOR(mapping): rename parent classes of controllersfixed #839
------------
#814 - CI PHPCS teste des fichiers inexistants et sort en erreur à tortfixed #839
------------
#814 - CI PHPCS teste des fichiers inexistants et sort en erreur à tortv2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/410DOC: update SILL-2020 tag2020-03-13T16:07:03+01:00Fabrice GanglerDOC: update SILL-2020 tagRefs: #774Refs: #774v2.6.0Matthieu FAUREMatthieu FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/409#788 - ACL + TU for "taxonomysSoftwares" controller2020-03-12T17:51:27+01:00Fabrice Gangler#788 - ACL + TU for "taxonomysSoftwares" controllerACL - TaxonomysSoftwares controller:
- admin role can use each action
- connected user have no access yet
- anonymous user have no access yet
TU - TaxonomysSoftwaresController Test Case:
- admin role can use each action
- conne...ACL - TaxonomysSoftwares controller:
- admin role can use each action
- connected user have no access yet
- anonymous user have no access yet
TU - TaxonomysSoftwaresController Test Case:
- admin role can use each action
- connected user have no access yet ---> HTTP"403
- anonymous user have no access yet ---> redirect to loginv2.6.0Matthieu FAUREMatthieu FAURE