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/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/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 FAUREhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/408REFACTOR(mapping): reduce the name of the package2020-03-10T17:46:11+01:00Fabrice GanglerREFACTOR(mapping): reduce the name of the package"RelationshipsTaxonomysSofwares"
become "TaxonomysSofwares"RelationshipsTaxonomysSofwares"
become "TaxonomysSofwaresv2.6.0Fabrice GanglerFabrice Ganglerhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/407#836 + #835 - Fix2020-03-10T15:10:13+01:00Fabrice Gangler#836 + #835 - Fix- Fixed #836
- Fixed #835- Fixed #836
- Fixed #835v2.6.0Fabrice GanglerFabrice Ganglerhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/406#788 - Mapping: add ACL + units tests2020-03-09T17:17:05+01:00Fabrice Gangler#788 - Mapping: add ACL + units testsACL + units tests
- admin role can use each action
- connected user have no access yet ---> HTTP 403
- anonymous user have no access yet ---> redirect to login
implement some magical CakePHP methods:
- beforeFilter() --> magical CakePHP...ACL + units tests
- admin role can use each action
- connected user have no access yet ---> HTTP 403
- anonymous user have no access yet ---> redirect to login
implement some magical CakePHP methods:
- beforeFilter() --> magical CakePHP method
- deny access to an anonymous user
- stop the JSON requests (except for actions allowed to admin)
- isAuthorized() --> magical CakePHP method
- Manage all rights for the controllers' actions, with the exception of anonymous usersv2.6.0Fabrice GanglerFabrice Ganglerhttps://gitlab.adullact.net/Comptoir/Comptoir-srv/-/merge_requests/404#838 - Vagrant: disable debug mode to run functional tests2020-03-06T12:23:57+01:00Fabrice Gangler#838 - Vagrant: disable debug mode to run functional testsFixed #838Fixed #838v2.6.0Fabrice GanglerFabrice Gangler