Commit graph

487 commits

Author SHA1 Message Date
Laurent Peuch
971a2b06b5
Merge pull request #420 from YunoHost/fix-1034-nginx-traversal
Fix 1037 nginx traversal
2018-02-07 21:39:18 +01:00
Alexandre Aubin
e15ccdf0b7
Microdecison: more weird spaces 2018-01-27 20:06:16 +01:00
Alexandre Aubin
1056977dc6
Microdecision: those weren't space, wtf 2018-01-27 20:03:42 +01:00
Maniack Crudelis
8a51b46d47
[Fix] Fix ynh_restore_upgradebackup 2018-01-22 19:06:37 +01:00
Alexandre Aubin
6f2acb7eb6
Wording 2018-01-18 21:10:08 +01:00
ljf
5cf6895ba2 [fix] Bad issue number in a comment 2018-01-17 17:22:13 +01:00
ljf
8a2434eb44 [fix] Nginx traversal issue 2018-01-17 17:19:06 +01:00
Laurent Peuch
e9c87da028
[fix] previous patch mistakely remove variable name 2018-01-15 22:59:20 +01:00
Laurent Peuch
ee65c7c461
Merge pull request #417 from YunoHost/rename_app
[enh] new command 'app change-label'
2018-01-14 00:27:25 +01:00
JimboJoe
e59e2da0b3
Harmonize help strings 2018-01-12 09:18:31 +01:00
Laurent Peuch
3ed6a2a7ef Revert "Create milter_headers.conf"
This reverts commit 0122c26492.
2018-01-11 15:15:22 +01:00
taziden
0784917573 Create milter_headers.conf
This file define a header : X-Spam which will be added to mail considered as spam by rspamd.

This configuration is defined here : https://rspamd.com/doc/modules/milter_headers.html and as of the time I'm creating this PR, this documentation page is not up-to-date because X-Spam was supposed to be added when extended_spam_headers is set to True and it's not the case anymore since 1.6.2.

This header is being used by rspamd.sieve which we push into dovecot in order to put spammy e-mails in Junk folder automatically.
2018-01-11 14:26:47 +01:00
JimboJoe
3fbcd1f110
Merge branch 'unstable' into default_version 2018-01-11 14:19:47 +01:00
Laurent Peuch
28450ce8c3 [enh] new command 'app change-label' 2018-01-10 16:30:20 +01:00
JimboJoe
a62edfd76e
Merge branch 'unstable' into helpers_local_variables 2018-01-10 08:22:33 +01:00
ljf (zamentur)
a194e1fa1c
[enh] Maintain ssh client connexion 2018-01-04 18:44:13 +01:00
Maniack Crudelis
542528ab05 Fix broken ynh_replace_string (#394)
* Fix broken ynh_replace_string
* Replace name for ynh_replace_special_string
2017-12-21 19:19:33 +01:00
Maniack Crudelis
3a3ec7d9b5 [fix/enh] Use local variables 2017-12-17 20:26:52 +01:00
Maniack Crudelis
42f9c8fc18
[fix] Who said I didn't check my code !? 2017-12-11 17:25:28 +01:00
Maniack Crudelis
2685c42ac6
[fix] Only for JimboJoe ;) 2017-12-11 17:23:26 +01:00
Maniack Crudelis
4276aebfa3
[enh] Default version number for ynh_install_app_dependencies 2017-12-10 23:38:09 +01:00
Josue-T
c13c75f3e7
Solve ynh_use_logrotate
Actually when we use the command `ynh_use_logrotate /var/log/abcd/` the result in the logrotate conf file is `/opt/yunohost/abcd/logs//.log` witch is not what we want.
2017-12-08 23:04:45 +01:00
Maniack Crudelis
4f62eb5320
Fix upgrade fake package 2017-12-02 16:44:47 +01:00
Maniack Crudelis
cb1728f32c Remove port 53 from UPnP (but keep it open on local network) (#362) 2017-11-28 21:06:16 +01:00
Maniack Crudelis
17ba10ad92 [fix] Fix helper for old apps without backup script (#388) 2017-11-28 19:58:51 +01:00
ljf (zamentur)
b0849cc43d
Bad branch 2017-11-28 00:25:06 +01:00
ljf (zamentur)
7df6874fc9
[fix] Open NTP port to update date 2017-11-28 00:23:43 +01:00
Alexandre Aubin
dfa7ca28bf [microdecision] Typo 2017-10-16 21:31:59 +02:00
Alexandre Aubin
9903c48f3a Be able to give lock to son processes detached by systemctl (#367)
* Give lock to systemctl sons
* Get the 'need_lock' flag from services.yml
* Don't need the lock for enable/disable and other stuff
2017-10-08 23:46:10 +02:00
Maniack Crudelis
0086c8c16a [fix] match_string: unbound variable (#379)
* [fix] match_string: unbound variable
* Define local variables at beginning of function
2017-10-07 15:06:00 +02:00
Laurent Peuch
ff4b08ed65 Merge pull request #354 from YunoHost/update_ynh_replace_string
[enh] Escape some special character in ynh_replace_string
2017-10-06 15:03:40 +02:00
Laurent Peuch
402517d841 Merge branch 'unstable' into enh_mysql_single-transaction 2017-10-03 22:19:32 +02:00
Maniack Crudelis
e3a4b307f7 Fix double backslash in case of delimiter used 2017-10-03 22:11:24 +02:00
Maniack Crudelis
220c447074 [enh] Handle root path in nginx conf (#361)
Avoid to put a double slash when the path is /.  
That can induce some errors in a nginx config.
2017-09-30 13:01:15 +02:00
Maniack Crudelis
9563d3e5c4 Merge pull request #366 from YunoHost-Apps/enh_comment_ynh_replace_string
Complete ynh_replace_string helper comments to mention the possible use of regexps
2017-09-24 19:56:55 +02:00
Maniack Crudelis
d42cc00a87 [enh] Remove date from sql dump 2017-09-19 01:34:23 +02:00
Jimmy Monin
8a559f2ae1 Make MySQL dumps with a single transaction to ensure backup consistency 2017-09-14 22:12:01 +02:00
Jimmy Monin
f4955341bb Complete ynh_replace_string helper comments to mention the possible use of regexp 2017-09-05 21:09:24 +02:00
ariasuni
8e45f960a7 [fix] Use --value="$3" syntax so that $3 can begin with a dash 2017-08-27 03:37:32 +02:00
Maniack Crudelis
bb2424e9b8 [enh] Escape some special character in ynh_replace_string 2017-08-23 17:25:16 +02:00
Laurent Peuch
66524213cd Merge pull request #348 from YunoHost/clean_domains.py
Clean domains.py
2017-08-19 20:23:31 +02:00
Laurent Peuch
b77d58a671 Merge pull request #347 from YunoHost/enh-simpler-lock-system
[enh] Simpler lock system
2017-08-18 04:13:15 +02:00
Laurent Peuch
4f1cf058c2 Merge pull request #351 from YunoHost/dev_shell
Integrate a command to launch a dev shell from within moulinette context
2017-08-18 04:12:25 +02:00
Laurent Peuch
4e1a839557 [enh] can do a 'yunohost tools shell -c command' à la python -c 2017-08-15 17:24:26 +02:00
Laurent Peuch
52c7a37a78 [enh] add 'yunohost tools shell' 2017-08-15 17:18:50 +02:00
Laurent Peuch
685f3746ef [fix] forgot to remove args from actionsmap 2017-08-14 23:07:47 +02:00
Laurent Peuch
56513bbdb1 [mod] we never used those filtering/offset things 2017-08-13 23:18:18 +02:00
Alexandre Aubin
0a8362c764 Remove old 'lock' configuration 2017-08-13 17:01:06 -04:00
Laurent Peuch
02ea0c0656 [enh] Add reboot/shutdown actions in tools (#190)
* [enh] Implements shutdown/reboot helpers.
* [enh] Improve reboot/shutdown help.
2017-08-11 16:16:09 +02:00
Laurent Peuch
a441f37454 Migration framework (#195)
* [enh] list migrations
* [enh] first version of the migrate command
* [mod] add todo comment
* [mod] migrate command shouldn't return anything
* [mod] rename yunohost_migrations to data_migrations
* [mod] better regex
* [enh] had base class for migration
* [fix] inverted condition
* [enh] save last runned migration
* [enh] add migrations state command
* [mod] add todo comments
* [mod] error handling
* [mod] DRY
* [doc] more comment
* [enh] handle exceptions on migration
* [mod] error handling
* [mod] DRY
* [enh] error handling
* [mod] this is done earlier
* [doc] docstring
* [enh] handle fail to load migration case
* [doc] add TODO Comment
* [fix] typos, thx ju
* [enh] add a migration to remove archivemount (as an example)
* [fix] check_call is boring
* [enh] support forward/backward migrations
* [mod] I don't need auth
* [fix] apt is expecting input...
* [mod] save it as int
* [mod] add some logging
* [doc] update todo
* [fix] I also need to run backward latest runed migration
* [enh] add target cli argument
* [enh] fake migration
* [enh] uniformly convert to int at the same place
* [fix] we need to filename now
* [enh] validate input
* [enh] handle 0 special case
* [mod] rename fake to skip
* [mod] s/runed/run/g
* [doc] anglich typo in comments
* [mod] more explicit error message
* [mod] more typo
* [doc] put comment in the right place
* [mod] typo
* [fix] forgot to cape migrations by target
* [fix] typo
* [mod] uses moulinette helpers
* [enh] launch migrations during package upgrade
* [mod] remove unused import
* [mod] sort translation keys
* [enh] i18n
* [fix] missing __init__.py in data_migrations
* [mod] move to a subcategory
* Typo / caps / consistency
* [fix] forgot that migrations is now in tools, in postinst
* Skip migrations during postinstall
* Remove archivemount example migration
It relied on apt-get, which can't be used during 'postinst' debian scripts because we're already inside a apt
* Add migration for cert group from 'metronome' to 'ssl-cert'
2017-08-07 15:55:18 +02:00