8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-23 11:53:12 +00:00

Add reload to do in CHANGELOG

This commit is contained in:
Maël Kervella 2018-05-28 10:19:59 +00:00
parent 5706e9064e
commit 05a53b1c9c

View file

@ -1,7 +1,7 @@
## MR 160: Datepicker ## MR 160: Datepicker
Install libjs-jquery libjs-jquery-ui libjs-jquery-timepicker libjs-bootstrap javascript-common Install libjs-jquery libjs-jquery-ui libjs-jquery-timepicker libjs-bootstrap javascript-common
``` ```bash
apt-get -y install \ apt-get -y install \
libjs-jquery \ libjs-jquery \
libjs-jquery-ui \ libjs-jquery-ui \
@ -10,12 +10,12 @@ apt-get -y install \
javascript-common javascript-common
``` ```
Enable javascript-common conf Enable javascript-common conf
``` ```bash
a2enconf javascript-common a2enconf javascript-common
``` ```
Delete old jquery files : Delete old jquery files :
``` ```bash
rm -r static_files/js/jquery-ui-* rm -r static_files/js/jquery-ui-*
rm static_files/js/jquery-2.2.4.min.js rm static_files/js/jquery-2.2.4.min.js
rm static/css/jquery-ui-timepicker-addon.css rm static/css/jquery-ui-timepicker-addon.css
@ -42,6 +42,7 @@ Refactored install_re2o.sh script.
``` ```
install_re2o.sh help install_re2o.sh help
``` ```
* The installation templates (LDIF files and `re2o/settings_locale.example.py`) have been changed to use `example.net` instead of `example.org` (more neutral and generic) * The installation templates (LDIF files and `re2o/settings_locale.example.py`) have been changed to use `example.net` instead of `example.org` (more neutral and generic)
@ -75,7 +76,6 @@ OPTIONAL_APPS = (
``` ```
## MR 177: Add django-debug-toolbar support ## MR 177: Add django-debug-toolbar support
Add the possibility to enable `django-debug-toolbar` in debug mode. First install the APT package: Add the possibility to enable `django-debug-toolbar` in debug mode. First install the APT package:
@ -94,3 +94,26 @@ If you to restrict the IP which can see the debug, use the `INTERNAL_IPS` option
``` ```
INTERNAL_IPS = ["10.0.0.1", "10.0.0.2"] INTERNAL_IPS = ["10.0.0.1", "10.0.0.2"]
``` ```
## MR 145: Fix #117 : Use unix_name instead of name for ldap groups
Fix a mixing between unix_name and name for groups
After this modification you need to:
* Double-check your defined groups' unix-name only contain small letters
* Run the following commands to rebuild your ldap's groups:
```shell
# In the LDAP shell :
ou=groups,ou=posix > rm *
```
```python
# In the Django shell
>>> from users.model import ListRight
>>> for lr in ListRight.objects.all():
... lr.ldap_sync()
```
* You may need to force your nslcd cache to be reloaded on some servers (else you will have to wait for the cache to be refreshed):
```bash
sudo nslcd -i groups
```