1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00
Commit graph

354 commits

Author SHA1 Message Date
Josué Tille
ac3218a316
Fix form_secret wrongly generated 2019-11-13 21:15:59 +01:00
Josué Tille
e5f908e56e
Let's manage the macaroon secret with the package 2019-11-13 21:15:58 +01:00
Josué Tille
2c930a8989
Add public room access option 2019-11-12 22:01:32 +01:00
Josue-T
dbfe7d3ed0
Merge pull request #148 from YunoHost-Apps/cert_hook
Cert hook
2019-11-08 23:33:51 +01:00
Josué Tille
6d99ec5dbe
Fix log rotation 2019-11-04 20:36:37 +01:00
Josue-T
e2ed306fb9
Merge branch 'testing' into cert_hook 2019-11-01 20:32:46 +01:00
Josué Tille
632ca35958
Update logrotate helper 2019-10-30 21:19:33 +01:00
Josue-T
8789aa304d
Merge branch 'testing' into package_upgrade 2019-10-30 21:15:22 +01:00
Josué Tille
2d00cc922b
Merge remote-tracking branch 'upstream/testing' into package_upgrade 2019-09-10 20:15:48 +02:00
Josué Tille
c2e4d0ea5d
Add hook to restart synapse at each certificate update 2019-09-03 20:43:58 +02:00
Nouts
0dd1b0a09c add variable for default domain 2019-08-24 15:59:03 +02:00
Nouts
b7b465e245 fix wrong if set variable 2019-08-24 15:49:44 +02:00
Nouts
9a0a03f2f8 set default domain name 2019-08-24 15:38:14 +02:00
gnouts
0f7b1e3dff add retrocompatibility 2019-08-01 17:02:48 +02:00
Nouts
18efb639e4 Merge branch 'testing' into choose-server-name 2019-07-31 21:07:43 +02:00
Nouts
f3abdeedfa FIX add server_name variable 2019-07-31 20:56:37 +02:00
Nouts
f586ed6b25 Merge branch 'master' into choose-server-name 2019-07-31 20:50:27 +02:00
Nouts
dd552c8a14 remove server_name from restore as not needed 2019-07-31 20:34:09 +02:00
Nouts
bb47e1f7d7 fix typo 2019-07-31 20:21:41 +02:00
Nouts
4cea4d86ab add server_name, try fix upgrade/restore 2019-07-31 19:32:38 +02:00
Nicolas Frandeboeuf
5c7ac659ba
Fix typo in IP6 validation 2019-07-23 10:22:14 +02:00
Josué Tille
2be94ede44
Install Jinja2 manually 2019-07-05 10:16:44 +02:00
Josué Tille
5206d0bd1f
Use new argument style for remove checksum 2019-06-15 09:57:14 +02:00
Josué Tille
4486616434
Fix check of path availability 2019-06-09 22:38:21 +02:00
Josué Tille
a47b8f6c9f
Remove --is-big flag in backup 2019-06-09 21:33:18 +02:00
Josué Tille
c3ee9e6d37
Upgrade config panel too 2019-06-07 23:23:53 +02:00
Josué Tille
adb96d2e4a
Add don't prind password in debug logs 2019-06-02 10:49:39 +02:00
Josué Tille
be78025b64
Use ynh_restore 2019-06-01 21:37:12 +02:00
Maniack Crudelis
1230d72a88
Merge branch 'testing' into package_upgrade 2019-05-20 17:29:36 +02:00
Josue-T
c36c8f066c
Fix typo
Co-Authored-By: JimboJoe <jimmy@monin.net>
2019-05-12 16:48:36 +02:00
Josue-T
741d520f55
Fix typo
Co-Authored-By: JimboJoe <jimmy@monin.net>
2019-05-12 16:48:23 +02:00
Nouts
13d9025a11 rename signing.key by server_name 2019-05-11 15:01:17 +02:00
Nouts
ca6619eb71 several improvements from feedback 2019-05-11 14:45:00 +02:00
Josué Tille
dcfdbc3201
Use the sso script directly from the config directroy 2019-05-06 15:37:18 +02:00
nouts
dc9e7cef8b first working install 2019-05-04 13:49:19 +02:00
Kayou
353d54ac7b
Remove double [[ 2019-05-01 11:22:49 +02:00
Maniack Crudelis
a2e19998d4 Normalization from example_ynh 2019-04-30 19:15:33 +02:00
Josue-T
7f78210783
Merge pull request #69 from YunoHost-Apps/config_panel
Config panel
2019-03-10 08:51:16 +01:00
JimboJoe
2a4533bc04 Fix typo
Co-Authored-By: Josue-T <josue@tille.ch>
2019-03-08 09:17:14 +01:00
Josué Tille
4bdd59384d Update doc for federation 2019-03-08 09:17:14 +01:00
Josué Tille
6439acdbd9 Add getops helper 2019-03-08 09:16:25 +01:00
Josué Tille
b5b9ee7712 Update Helper from Upstream 2019-03-08 09:16:25 +01:00
Josué Tille
b9faec521c Add fail2ban 2019-03-08 09:16:25 +01:00
Josué Tille
bd82449eae Fix ynh_check_starting 2019-03-08 09:14:35 +01:00
JimboJoe
b9fba54ae5
Fix typo
Co-Authored-By: Josue-T <josue@tille.ch>
2019-02-08 22:19:22 +01:00
JimboJoe
c30bcc8781
Fix typo
Co-Authored-By: Josue-T <josue@tille.ch>
2019-02-08 22:19:05 +01:00
JimboJoe
23db8eb774
Fix typo
Co-Authored-By: Josue-T <josue@tille.ch>
2019-02-08 22:18:20 +01:00
Josué Tille
347a4dab37
Add public switch in config pannel 2019-02-08 20:22:52 +01:00
Josué Tille
28eb7da9fc
Remplace APP_ID by APP_INSTANCE_NAME 2019-02-08 20:22:51 +01:00
Josué Tille
d7a7dfcd85
Update homeserver config in apply_config 2019-02-08 20:22:51 +01:00
Josué Tille
ae2b8366fa
Create config panel 2019-02-08 20:22:51 +01:00
Josué Tille
0d9204ec95
Use the pip source for synapse 2019-02-08 15:21:48 +01:00
Josué Tille
d6332fb09b
Use the Yunohost certificate 2019-02-08 15:04:51 +01:00
Josué Tille
ca5bc8dba9
Fix wheel dependances 2019-01-19 23:19:14 +01:00
Josué Tille
5a539f01d2
Don't define $PS1 it's mangad by the activate script 2019-01-13 15:58:48 +01:00
Josué Tille
ee8e3b9545
Don't install virtualenv, venv is enough 2019-01-12 21:50:29 +01:00
Josué Tille
1daa2be934 Fix upgrade 2019-01-04 10:26:03 +01:00
Josué Tille
3ff83f5962 Migrate to python3 2019-01-04 10:26:03 +01:00
Josué Tille
4aa7ba9d04 Fix PS1 variable in upgrade and install script 2018-08-29 16:11:23 +02:00
Josue-T
b5d94991e6
Merge pull request #68 from YunoHost-Apps/Update_helpers
Update helpers
2018-08-25 10:30:42 +02:00
Josue-T
e27ecdbf11
Merge branch 'testing' into new_homeserver_config 2018-08-23 22:22:05 +02:00
Josué Tille
dc62daafdf Set executable coturn update config script 2018-08-23 22:19:18 +02:00
Josue-T
79a7fc0ea7
Merge branch 'testing' into Update_helpers 2018-08-21 11:19:56 +02:00
Jimmy Monin
5683336771 Typos fix 2018-08-21 07:27:01 +02:00
Josué Tille
f856455564 Fix typo 2018-08-04 23:11:12 +02:00
Josué Tille
282dd410d2 Update script for new config
- Add support for shared_secret, macaroon_secret, form_secret
- Use the own tls cert and keys
- Add possibility to enable the stats report
2018-08-04 23:11:12 +02:00
Josué Tille
294c33447b Merge branch 'upgrade ynh_send_readme_to_admin helper' into Update_helpers 2018-08-03 22:52:37 +02:00
Josué Tille
dbe0a56bb7 Clean experimental_helper file 2018-08-03 22:46:42 +02:00
Josué Tille
5a8a3fb7d6 Add new setup_source helper 2018-08-03 22:40:34 +02:00
Josué Tille
9af40a45a1 Update also systemd in upgrade 2018-07-28 23:57:36 +02:00
Jimmy Monin
e1065d80a8 Typos and misc fixes 2018-07-18 10:09:14 +02:00
Josué Tille
bc31ff4760 Update email notification 2018-07-18 10:09:14 +02:00
Josué Tille
f653a017bf Add a script to upgrade coturn config easly 2018-07-18 10:09:14 +02:00
Josué Tille
474f70e164 Don't open the port range in scripts 2018-07-18 10:09:14 +02:00
Josué Tille
3fd9ceeb06 Open coturn port rangle only if it's not already open 2018-07-18 10:09:14 +02:00
Josué Tille
e547bdaf8e Update mail with new turnserver config 2018-07-18 10:09:14 +02:00
Josué Tille
599f28a600 Get actual IP for coturn in restore script 2018-07-18 10:09:14 +02:00
Josué Tille
ef23ab70d7 Fix error while we get the public IP 2018-07-18 10:09:14 +02:00
Josué Tille
1af31cfdf0 Update Turnserver config
- Add full relay support (turn) :
 - Open ports range (49152 - 49192)
 - Set external-ip (for nat)
- Enable stun mode
- Improve log management
- Improve security
2018-07-18 10:09:14 +02:00
Jean-Baptiste
e0b768302b
upgrade ynh_send_readme_to_admin helper
if mail binary isn't properly selected, it may create an infinite loop at install
2018-07-10 23:55:44 +02:00
Josué Tille
0d7f1464e5 Use lsb_release instead of if - else 2018-06-15 17:41:46 +02:00
Josué Tille
2da344000b Add specific prebuild package for stretch/jessie 2018-06-15 17:41:46 +02:00
Josué Tille
493c97a30b Fix some PR comments 2018-06-09 08:50:07 +02:00
Josué Tille
86be61fae7 Remove support for old package migration 2018-06-09 08:50:07 +02:00
Josué Tille
8afb6f9d58 Don't upgrade pip in global system 2018-05-01 23:32:45 +02:00
Josué Tille
e59be61e1f Fix pip import 2018-05-01 22:31:22 +02:00
Josué Tille
770e6beae2 Upgrade synapse to 0.28.0 2018-04-27 20:41:22 +02:00
Josue-T
8094a4aa87 Upgrade synapse to 0.27.2 (#40)
* Upgrade synapse to 0.27.2

* Add comment about check compatibility in upgrade script
2018-04-11 07:40:59 +02:00
Josue-T
ad90104e17
Merge pull request #37 from YunoHost-Apps/Fix_upgrade_from_old_version_ARM
Fix 'PS1: unbound variable' on ARM architecture
2018-03-20 13:59:00 +01:00
Josue-T
848d37d592
Merge pull request #35 from YunoHost-Apps/fix_manifest_decode
Fix UnicodeDecodeError with python scripts
2018-03-20 13:56:59 +01:00
Jimmy Monin
56186c16a7 Some English proof-reading :-) 2018-03-17 09:55:05 +01:00
Josué Tille
5636980dc4 Add helper ynh_send_readme_to_admin 2018-03-13 16:52:52 +01:00
Josué Tille
4f4c66672b Fix 'PS1: unound variable' on ARM architecture 2018-03-10 13:47:53 +01:00
Josué Tille
309e2619a1 Fix UnicodeDecodeError with python scripts 2018-02-26 12:53:35 +01:00
Josué Tille
d30ca3ae46 Fix open port with upnp 2018-02-12 20:31:05 +01:00
Josué Tille
753e0b5de5 Clean ynh_backup fonction 2018-02-12 18:13:44 +01:00
Maniack Crudelis
c8c90aa226
Keep closeport clearer 2018-02-12 17:34:40 +01:00
Josué Tille
effd809a22 Fix backup / restore 2018-02-12 10:49:11 +01:00
Josué Tille
0d1e2e97bc Fix upgrade script 2018-02-12 10:26:59 +01:00
Josué Tille
552cd56308 Fix ynh_check_starting use 2018-02-12 10:24:47 +01:00
Maniack Crudelis
bfe62f0316
Many enhancements on upgrade
- Remove useless `| true` on mkdir p
- Use ynh_use_logrotate with --non-append argument to recreate the config file
- Use $synapse_tls_port instead of 8448 for ynh_check_starting
2018-02-11 17:44:29 +01:00
Josué Tille
eac2ccc8d1 Fix order of instruction in upgrade 2018-02-07 01:18:44 +01:00
Josué Tille
dfcb39bba0 Fix ynh_psql_test_if_first_run in upgrade script 2018-02-07 00:40:11 +01:00
Josué Tille
2c2b217750 Refactor upgrade 2018-02-06 19:54:51 +01:00
Josué Tille
61306b278e Fix config log.yaml 2018-02-06 11:30:20 +01:00
Josué Tille
257a25f591 Improve source setup 2018-02-06 11:30:20 +01:00
Josué Tille
686eb7adaa Add comment about issue #32 2018-02-06 10:56:17 +01:00
Josué Tille
61162e8249 Merge branch 'fix_dh_file' into fix_for_official_release 2018-02-03 15:43:34 +01:00
Josué Tille
acca68333c Improve install - remove from issue #31 2018-02-03 15:34:29 +01:00
Josué Tille
34b6e9e772 Fix dh copy while it don't exist 2018-02-03 15:26:41 +01:00
Josué Tille
e145ef1e42 Update script for official audit 2018-01-31 23:06:06 +01:00
Josué Tille
a0b756446f Improve package
- Use systemd helper
- Use official version syntax
- Use app_package_version helper
- Put all experimental helper in specific file
2018-01-26 21:47:43 +01:00
Josué Tille
2473f90c5c Full upgrade
- Add multi instance support
- Remove offical helper in common.sh
- Improve turnserver config
- Update checkprocess
- Check synapse is fully started before the end script
- Use helper nginx ynh_add_nginx_config
2018-01-21 14:09:40 +01:00
Josué Tille
f2611f733d Fix permission 2018-01-13 01:23:20 +01:00
Josué Tille
78799558c9 Add diable backup before upgrade option 2018-01-13 01:17:57 +01:00
Josué Tille
4dd9b20f0d Fix issue #29 2018-01-07 13:39:18 +01:00
Josué Tille
cf56314ca2 Add upgrade from 0.26 for old package 2018-01-06 16:38:11 +01:00
Josué Tille
298dfbc7f0 Fix copy dh.pem 2018-01-03 11:07:16 +01:00
Josué Tille
9dac61a33a Fix certificate access 2017-12-30 20:43:35 +01:00
Josué Tille
c07318bf41 Remove version in source file 2017-12-20 21:41:19 +01:00
Josué Tille
ad4b991b81 Update Psql helper 2017-12-20 21:24:32 +01:00
Josué Tille
292af692cc Fix Permission on restore 2017-12-15 23:17:54 +01:00
Josué Tille
45007ecb53 Fix logrotate and helper ynh_install_app_dependencies 2017-12-15 22:55:52 +01:00
Josué Tille
87c5f176dc Add logrotate for turnserver 2017-12-08 21:44:54 +01:00
Josué Tille
95f9c8e381 Remove '/' at end of ynh_use_logrotate 2017-12-08 21:43:49 +01:00
Josué Tille
cc0c86cb2b Exit before backup if synapse version is not upgradeble 2017-11-23 08:18:54 +01:00
Josué Tille
6d12b3631d Change version management 2017-11-23 08:17:05 +01:00
Josué Tille
22e3aae214 Upgrade to 0.25.0 2017-11-17 18:29:16 +01:00
Josué Tille
2eaf418a5f Fix path to src file 2017-11-01 10:36:16 +01:00
Josué Tille
aca24e321b Get version from manifest 2017-10-31 23:37:31 +01:00
Josué Tille
fc2fa5c017 All upgrade from 0.24 2017-10-31 21:34:13 +01:00
Josué Tille
7d8bce0bd3 Create virtualenv in install_source fonction 2017-10-28 20:56:52 +02:00
Josué Tille
318181677f Use prebuilt source for ARM 2017-10-28 11:07:04 +02:00
Josué Tille
c6a8398ba1 Use prebuilt source for ARM 2017-10-28 11:01:52 +02:00
Josué Tille
7ddaa6f4ae Update to 0.24.1 2017-10-25 14:33:59 +02:00
Josué Tille
9d36c01fde Enable Preview and refactor source install 2017-10-25 14:33:59 +02:00
Josue-T
dc4de2633b Install python cffi and ndg-httpsclient in virtualenv 2017-10-25 14:33:59 +02:00
Josue-T
df669631ab Fix upgrade from old version condition 2017-10-25 14:33:59 +02:00
Josue-T
0fce7c5def Allow upgrade from synapse 0.23 2017-10-25 14:33:59 +02:00
Josué Tille
ba4cadcb04 Solve Backup / restore Issue 2017-10-21 01:31:04 +02:00
Josué Tille
ea94ec5bce Block migration while upgrade script is broken 2017-09-30 00:04:07 +02:00
Josué Tille
beb4896e52 Solve issue https://github.com/YunoHost-Apps/synapse_ynh/issues/19 2017-09-25 22:21:03 +02:00
Josué Tille
4ce950a47d Solve issue about ndg-httpsclient install 2017-08-16 23:01:56 +02:00
Josué Tille
d205be9db9 Fix upgrade from old version 2017-08-16 15:10:24 +02:00
Josué Tille
469b6dc07b Use new helper, migrate to postgresql, use virtualenvionement 2017-07-21 22:28:49 +02:00
Josué Tille
f6e9aa93e9 Add synapse as service 2017-05-26 15:29:12 +02:00
Josué Tille
9d8c8b006d Solve problem about Source 2017-03-17 23:11:43 +01:00
Josué Tille
40f8a357eb Use new findport fonction 2017-03-07 15:46:05 +01:00
Josué Tille
f10c9c9270 Fix issue : https://github.com/YunoHost-Apps/synapse_ynh/issues/4 2017-03-04 21:17:00 +01:00
Josué Tille
b699cab1e0 Add link to chattroom 2017-02-27 08:11:50 +01:00
Josué Tille
0dcd75eeeb Solve error with custom certificat 2017-02-18 22:40:22 +01:00
Josué Tille
f4805d6996 Add check_process 2017-02-18 11:41:31 +01:00
Josué Tille
930536f4d2 Clean common script and update turnserver config 2017-02-16 22:54:57 +01:00
Josué Tille
0a7d42c3b5 First commit 2017-02-13 20:43:41 +01:00