Alexandre Aubin
be88a2835a
Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state
2020-04-09 14:06:55 +02:00
Matthew DeAbreu
1f623830b3
Update 12-metronome
...
simplify change by reordering operations
2020-04-09 14:01:21 +02:00
Matthew DeAbreu
031f8a6e38
ensure metronome owns domain dir
...
When adding new domains to Yunohost a directory for each newly added domain is created in `/var/lib/metronome` unfortunately since the directory is created with `sudo mkdir` that means `root:root` owns the directory. Metronome will now fail to write to the directory.
2020-04-09 13:59:03 +02:00
Alexandre Aubin
abe9440b1b
On some weird setup, this folder and content ain't readable by group ... gotta make sure to make rx for group other slapd will explode
2020-03-27 21:42:36 +01:00
Alexandre Aubin
d9c09f4649
Add permission to stuff to be indexed by slapd to avoid it flooding complains in syslog
2020-03-24 20:23:09 +01:00
Kay0u
fc969ae1d4
remove visitors only for if current value is /
2020-02-25 17:26:08 +01:00
Kay0u
c163ae2949
fix legacy permission management
2020-02-25 17:24:59 +01:00
ljf (zamentur)
c7506fd3a9
[fix] This DNS resolver in ipv6 is unreachable
2020-02-09 03:28:09 +01:00
Kay0u
6e606cc64d
Visitors permission needs All Users
2019-12-02 20:39:10 +01:00
Alexandre Aubin
551ff80792
Improve ynh_secure_remove to detect empty args instead of miserably saying 'Avoid deleting .'
2019-11-16 15:48:08 +01:00
Alexandre Aubin
61e6840ed3
Only run these commands if the variables are not empty
2019-11-16 15:48:08 +01:00
Alexandre Aubin
71878f6bbe
Move debug log dump from ynh_exit_properly to the core after failed app operation
2019-11-15 16:40:16 +01:00
Kay0u
e8bf6eec80
fail if permission already exists
2019-11-15 13:57:26 +01:00
Kay0u
cbc1c82df7
Fix parameters
2019-11-15 13:57:18 +01:00
Kay0u
c826a37aaa
Improve permission helpers
2019-11-15 13:57:09 +01:00
Alexandre Aubin
a2563db0e6
Merge branch 'stretch-testing' into stretch-unstable
2019-10-29 15:50:51 +01:00
Alexandre Aubin
854e52c21e
More inclusive rule for this php/sury hack because php version got updated to deb9u6
2019-10-29 15:47:13 +01:00
Alexandre Aubin
9294664d6c
Fix permission backward compatibility for the case where an app needs to make the app temporarily public during install script...
2019-10-26 17:46:51 +02:00
Alexandre Aubin
17ce7bd95c
Rework depreciation warning about legacy permission stuff
2019-10-26 17:46:51 +02:00
ljf
98d60a888b
[fix] HTTP API for permissions
2019-10-20 02:24:54 +02:00
Alexandre Aubin
e273195504
[fix] Bad copypasta: logger doesn't exists in that context...
2019-10-16 20:22:29 +02:00
Alexandre Aubin
e7d1cc5f94
Allow to specify right away what groups to allow for a permission when creating it
2019-10-09 23:02:57 +02:00
Alexandre Aubin
88794805eb
We probably don't need to have multiple urls per permissions ...
2019-10-09 23:02:37 +02:00
Alexandre Aubin
795cae1a4b
Merge branch 'stretch-unstable' into permission-visitors
2019-10-09 18:57:23 +02:00
Alexandre Aubin
826429cf0b
Change from #802 was only about the yunohost jail ... this should be global >.>
2019-10-08 20:11:39 +02:00
Alexandre Aubin
fe8fd1b2c5
Change from #802 was only about the yunohost jail ... this should be global >.>
2019-10-08 20:04:08 +02:00
J. Doe
bf1ad164da
change maxretry of fail2ban from 6 to 10
2019-10-08 18:50:29 +02:00
Alexandre Aubin
1c5220f7cb
Support logfiles not ending with .log in logrotate ...
2019-10-08 18:37:20 +02:00
Alexandre Aubin
0e3a131095
More accurate greps to identify that sury packages are installed
2019-10-08 18:37:01 +02:00
Alexandre Aubin
077e5c463c
Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste
2019-10-08 18:36:50 +02:00
Alexandre Aubin
873b208cd6
Merge pull request #810 from YunoHost/support-logfile-not-ending-with-dot-log
...
Support logfiles not ending with .log in logrotate ...
2019-10-08 18:35:19 +02:00
Alexandre Aubin
c7b3f296de
Merge pull request #809 from YunoHost/ugly-sury-workaround
...
[fix] Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste
2019-10-08 18:35:06 +02:00
Alexandre Aubin
8533103788
Merge pull request #803 from YunoHost/burn-etckeeper
...
Get rid of etckeeper
2019-10-08 18:33:12 +02:00
Alexandre Aubin
fc78700904
More accurate greps to identify that sury packages are installed
2019-10-08 18:30:18 +02:00
Alexandre Aubin
24cc26d85a
Support logfiles not ending with .log in logrotate ...
2019-09-26 14:23:01 +02:00
Alexandre Aubin
ea9a93cec0
Update data/actionsmap/yunohost.yml
...
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
2019-09-25 00:07:50 +02:00
Alexandre Aubin
50fbfb0372
Fucking ugly workaround for the goddamn dependency nighmare from sury djeezus kraiste
2019-09-24 23:18:05 +02:00
Alexandre Aubin
93d383b957
Merge branch 'stretch-unstable' into improve-permission-interface
2019-09-22 18:38:15 +02:00
Alexandre Aubin
c7c4d93968
Merge pull request #802 from doxxfr/fail2ban_10-maxretry
...
change maxretry of fail2ban from 6 to 10
2019-09-22 13:02:01 +02:00
Alexandre Aubin
2a5053b66b
Misc wording and orthotypography...
...
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
2019-09-21 13:32:40 +02:00
Alexandre Aubin
e2e960175b
Apply suggestions from code review
...
Update descriptions for action map
Co-Authored-By: Allan Nordhøy <epost@anotheragency.no>
2019-09-21 13:16:28 +02:00
Alexandre Aubin
f0e8ef8456
Merge branch 'stretch-unstable' into improve-permission-interface
2019-09-21 12:16:04 +02:00
Alexandre Aubin
2b51d247fb
Propagate changes on app helpers + tests
2019-09-20 20:14:14 +02:00
Alexandre Aubin
a48e3b2246
Merge pull request #792 from YunoHost/fix_helpers_ynh_backup_if_checksum_is_different
...
Check that exist before the calculate the checksum
2019-09-20 13:53:52 +02:00
Alexandre Aubin
eb57a4ad9e
Get rid of etckeeper
2019-09-19 19:51:27 +02:00
J. Doe
f18cff9dba
change maxretry of fail2ban from 6 to 10
2019-09-19 13:01:22 +02:00
Alexandre Aubin
c4743398e6
Deprecate (un)protected_uris and _regex settings + more explicit deprecation warning for app_add/remove/clearaccess
2019-09-15 18:17:46 +02:00
Alexandre Aubin
cc59501b55
Naive implementation of visitors group (without any relation to the ssowat conf yet)
2019-09-15 16:59:34 +02:00
Alexandre Aubin
ea8c0cae94
Deprecate legacy app access system
2019-09-13 18:34:26 +02:00
Alexandre Aubin
f950378c63
Do not display primary groups by default when running yunohost user group list
2019-09-13 17:39:21 +02:00