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

252 commits

Author SHA1 Message Date
Josué Tille
e4158175a2
Implement backup core only 2020-12-07 17:04:22 +01:00
Josué Tille
cab5b30e98
Upgrade synapse to 1.23.0 2020-11-28 18:58:15 +01:00
Josué Tille
1971cbca54
Remplace /var/run by /run 2020-11-28 17:31:45 +01:00
Josué Tille
692f39f486
Fix package linter 2020-11-18 00:04:01 +01:00
Josué Tille
7220a2cf34
Upgrade synapse to 1.22.1 2020-11-02 22:22:31 +01:00
Josué Tille
5af6b1556d
Upgrade synapse to 1.22.0 2020-11-02 22:22:31 +01:00
Josué Tille
0e43dd23f6
Upgrade synapse to 1.21.2 2020-10-23 23:26:01 +02:00
Josué Tille
3a0b700caa
Upgrade synapse to 1.21.1 2020-10-23 23:25:59 +02:00
Josué Tille
b09e1caa33
Upgrade synapse to 1.21.0 2020-10-13 19:16:59 +02:00
Josué Tille
53865af2e5
Upgrade synapse to 1.20.1 2020-09-26 00:53:56 +02:00
Josué Tille
c5ef944076
Fix well-known client configuration 2020-09-24 00:28:17 +02:00
Josué Tille
4c68195030
Upgrade synapse to 1.20.0 2020-09-23 13:25:29 +02:00
Josué Tille
aa9adbaa71
Upgrade synapse to 1.19.3 2020-09-19 00:59:04 +02:00
Josué Tille
6aaa8fe290
Upgrade synapse to 1.19.2 2020-09-17 20:24:31 +02:00
Josué Tille
449e6fae03
Upgrade synapse to 1.19.1 2020-08-31 20:36:13 +02:00
Josué Tille
8ce5179326
Upgrade synapse to 1.19.0 2020-08-20 21:31:47 +02:00
Josué Tille
884291e05a
Upgrade synapse to 1.18.0 2020-07-31 07:55:07 +02:00
Josué Tille
2d14c10c53
Add appservice support 2020-07-24 23:42:13 +02:00
Josué Tille
10a728f388
Upgrade synapse to 1.17.0 2020-07-23 14:57:30 +02:00
Josué Tille
9106143f2f
Upgrade synapse to 1.16.1 2020-07-23 14:57:28 +02:00
Josué Tille
c7cbfddc08
Upgrade synapse to 1.16.0 2020-07-23 14:57:26 +02:00
Josué Tille
c97610cc74
Upgrade synapse to 1.15.2 2020-07-04 10:10:04 +02:00
Josué Tille
7b3eff4d60
Upgrade synapse to 1.15.1 2020-06-17 14:07:50 +02:00
Josué Tille
1b484b1847
Fix arm source 2020-06-13 14:57:36 +02:00
Josué Tille
47c16adc25
Upgrade synapse to 1.15.0 2020-06-13 14:51:00 +02:00
Josué Tille
b97a5eb670
Add buster support for ARM 2020-06-03 14:33:07 +02:00
Josué Tille
ab2273fe4e
Upgrade synapse to 1.14.0 2020-05-29 21:59:57 +02:00
Josué Tille
ac78f19224
Fix and improve coturn config 2020-05-20 23:41:24 +02:00
Josué Tille
4f4d742436
Fix dh_file path on turnserver config 2020-05-20 22:08:14 +02:00
Josué Tille
1707778fa8
Upgrade synapse to 1.13.0 2020-05-20 21:13:14 +02:00
Josué Tille
e47b2d939e
Add possibility to customize jitsi server and fix config pannel 2020-05-07 14:41:35 +02:00
Josué Tille
8533a8254d
Disable SSO in public mode 2020-05-07 11:01:36 +02:00
Josué Tille
c51477193a
Upgrade synapse to 1.12.4 2020-04-27 11:27:02 +02:00
Josué Tille
4dc7d88f06
Upgrade synapse to 1.12.3 2020-04-06 09:50:53 +02:00
Josué Tille
2496cea11b
Upgrade synapse to 1.12.2 2020-04-03 15:20:18 +02:00
Josué Tille
b0f6535458
Merge branch 'testing' into v1.12 2020-04-03 11:17:18 +02:00
Josue-T
57a79f89c5
Merge pull request #175 from YunoHost-Apps/sso
CAS - SSO implementation
2020-04-03 11:12:44 +02:00
Josué Tille
713964ef37
Fix remove_sso_conf script 2020-03-31 11:37:17 +02:00
Josué Tille
91aafe7d42
Rework remove_sso_conf script 2020-03-31 10:54:44 +02:00
Josué Tille
8ce2d639e3
Fix add_sso_conf script argument 2020-03-29 16:07:15 +02:00
Josué Tille
5187f8838a
Add LDAP filter for permission 2020-03-25 22:00:41 +01:00
Josué Tille
fc866e8adf
Upgrade synapse to 1.12.0 2020-03-23 23:39:35 +01:00
Josué Tille
b2f6a02ca9
Use vector identity server to send email dans SMS 2020-03-23 15:15:47 +01:00
Josué Tille
fdd5b7f396
Fix SSO script 2020-03-17 23:31:08 +01:00
Josué Tille
e0072ab1cf
Merge branch 'testing' into sso 2020-03-14 14:35:52 +01:00
Josué Tille
70b322f6e1
Add support for .well_known access 2020-03-14 14:35:20 +01:00
Josué Tille
a3050ffd23
Upgrade synapse to 1.11.1 2020-03-06 14:16:14 +01:00
Josué Tille
47387772fd
Upgrade synapse to 1.11.0 2020-02-22 00:52:01 +01:00
Josué Tille
875638ff36
Use permission to protectect CAS server access 2020-02-22 00:50:19 +01:00
Josué Tille
80252cffd5
Add CAS info access in synapse config 2020-02-22 00:50:19 +01:00
Josué Tille
f9a381bf0a
Create small CAS server for SSO authentication 2020-02-22 00:50:18 +01:00
Josué Tille
44cc4d66e9
Upgrade synapse to 1.10.1 2020-02-18 22:36:41 +01:00
Josué Tille
d86e4cb4d0
Upgrade synapse to 1.10.0 2020-02-13 22:15:41 +01:00
Josué Tille
3bf5a13ec5
Upgrade synapse to 1.9.1 2020-01-30 20:36:58 +01:00
Josué Tille
e5d076326c
Upgrade synapse to 1.9.0 2020-01-23 22:04:05 +01:00
Josué Tille
2ec5b92aa0
Upgrade synapse to 1.8.0 2020-01-10 12:16:49 +01:00
Josué Tille
15acee6009
Upgrade synapse to 1.7.3 2020-01-02 21:22:04 +01:00
Josué Tille
e0baaf0752
Upgrade synapse to 1.7.2 2019-12-21 15:08:08 +01:00
Josué Tille
e270871afd
Upgrade synapse to 1.7.1 2019-12-19 21:30:19 +01:00
Josué Tille
c79df19b90
Upgrade synapse to 1.7.0 2019-12-14 00:56:05 +01:00
Josué Tille
bd2b63f86d
Merge branch 'testing' into block_public_rooms 2019-12-01 22:28:17 +01:00
Josué Tille
9e604bf888
Merge pull request #160 from YunoHost-Apps/v1.6 2019-12-01 22:24:30 +01:00
Thatoo
663ae2c352 well-known support (#136)
* Update README.md

* Update manifest.json

* a

* Delete a

* avoid boolean for public but ask a clear choice Yes/No

* Update check_process

Add server_name="domain2.tld"    (DOMAIN)

* .well-known

DNS conf become optionnal with .well-known edition

* .well-known redirection for access by federation

Create .well-known redirection for access by federation

* .well-known redirection for access by federation

If not existing, create .well-known redirection for access by federation

* Update README.md

back to 0.99.5.2

* back to 0.99.5.2

* back to 0.99.5.2

* back to 0.99.5.2

* Update install

* Update upgrade

* Update install

* Update upgrade

* Update install

* Update upgrade

* Update .well-known redirection

for access by federation and applications like Riot.im

* Update .well-known redirection

for access by federation and applications like Riot.im

* update to 1.1.0

* update to 1.1.0

* update to 1.1.0

* update to 1.1.0

* update to 1.1.0

* update to 1.1.0

* Update install

* Update upgrade

* Update to 1.2.1

* Update to 1.2.1

* Update to 1.2.1

* Back to v1.1.0

* Back to v1.1.0

* Back to v1.1.0

* Update to v1.2.1

* Update to v1.2.1

* Update to v1.2.1

* Important update of upgrade script

ynh_replace_string __SERVER_NAME__ $server_name "$homeserver_config_path" was missing

* Back to v1.1.0

* Back to v1.1.0

* Back to v1.1.0

* Fix typo for ipv6 validation

* Upgrade to v1.2.1

* Upgrade to v1.2.1

* Upgrade to v1.2.1

* remove server_name's nginx conf

remove /etc/nginx/conf.d/${server_name}.d/server_name.conf

* Create server_name.conf

To allow the automatic well-known system for server-name detection instead of DNS record

* Update install

In
# Create .well-known redirection for access by federation
change
  cat > /etc/nginx/conf.d/${server_name}.d/server_name.conf <<EOF
    location /.well-known/matrix/ {
        return 200 '{"m.server": "$domain", "m.homeserver": "https://$domain"}';
        add_header Content-Type application/json;
        add_header Access-Control-Allow-Origin '*';
        }
EOF
to 
cp ../conf/server_name.conf /etc/nginx/conf.d/${server_name}.d/server_name.conf
after creation of ../conf/server_name.conf file.

* Update upgrade

In
# Create .well-known redirection for access by federation if it doesn't exist
change
  cat > /etc/nginx/conf.d/${server_name}.d/server_name.conf <<EOF
    location /.well-known/matrix/ {
        return 200 '{"m.server": "$domain", "m.homeserver": "https://$domain"}';
        add_header Content-Type application/json;
        add_header Access-Control-Allow-Origin '*';
        }
EOF
to
cp ../conf/server_name.conf /etc/nginx/conf.d/${server_name}.d/server_name.conf

* backup well.known server_name nginx cond

add
ynh_backup "/etc/nginx/conf.d/${server_name}.d/server_name.conf"

* Backup well.known server-name nging conf

add
server_name=$(ynh_app_setting_get $app server_name) 
to make
ynh_backup "/etc/nginx/conf.d/${server_name}.d/server_name.conf"
understood

* Update backup

* Update scripts/install

Co-Authored-By: Josue-T <josue@tille.ch>

* Update install

* Update README.md

Co-Authored-By: Josue-T <josue@tille.ch>

* Update scripts/upgrade

Co-Authored-By: Josue-T <josue@tille.ch>

* Update conf/server_name.conf

Co-Authored-By: Josue-T <josue@tille.ch>

* move .well-known redirection to config section

move #Create .well-known redirection for access by federation to end of config section

* move .well-known redirection to config section 

move #Create .well-known redirection to the end of config section and Indentation

* add checksum management for server_name.conf

add checksum management for server_name.conf with the helper ynh_store_file_checksum

* add checksum management for server_name.conf

add checksum management for server_name.conf with the helper ynh_store_file_checksum

* replace __SERVER_NAME__

* replace __SERVER_NAME__

* delete a blank line

* Update upgrade

* Update install

* Update check_process

Co-Authored-By: Josue-T <josue@tille.ch>

* Update conf/server_name.conf

Co-Authored-By: Josue-T <josue@tille.ch>

* remove blank line

* ynh_store_file_checksum after cp inside if block

* change order checksum and cp

change order to ynh_backup_if_checksum_is_different then cp then ynh_store_file_checksum

* Update install

* Update upgrade

* Update backup

* Update backup

* Update scripts/backup

Co-Authored-By: Josue-T <josue@tille.ch>

* Update scripts/install

Co-Authored-By: Josue-T <josue@tille.ch>

* Update scripts/install

Co-Authored-By: Josue-T <josue@tille.ch>

* Update scripts/install

Co-Authored-By: Josue-T <josue@tille.ch>

* Update install

* Update remove

* Update upgrade
2019-12-01 22:18:56 +01:00
Josué Tille
b70db793d4
Upgrade synapse to 1.6.1 2019-12-01 19:59:31 +01:00
Josué Tille
2e6720e341
Upgrade synapse to 1.6.0 2019-11-27 20:37:26 +01:00
Josué Tille
8693750c33
Enable url preview and increase max upload size
Fix #159
2019-11-23 20:34:27 +01:00
Josué Tille
ef3d930eba
Say to systemd to create a directory with good permission in /var/run for synpase 2019-11-12 22:10:57 +01:00
Josué Tille
d69c035ebc
Update homeserver config from upstream 2019-11-12 22:10:57 +01:00
Josué Tille
913bfea7a7
Merge branch 'testing' into v1.4 2019-11-08 23:35:28 +01:00
Josué Tille
07fc07450d
Upgrade synapse to 1.5.1 2019-11-08 23:31:53 +01:00
Josue-T
ffdcadf8d3
Fix issue #111 2019-10-31 22:34:32 +01:00
Josue-T
8789aa304d
Merge branch 'testing' into package_upgrade 2019-10-30 21:15:22 +01:00
Josué Tille
bf112960c4
Upgrade synapse to 1.5.0 2019-10-30 20:42:47 +01:00
Josué Tille
9ebb3bc9a1
Upgrade synapse to 1.4.1 2019-10-19 22:11:23 +02:00
Josué Tille
6d51892411 Upgrade synapse to 1.4.0 2019-10-03 20:51:15 +00:00
nouts
7464e79f81
Merge pull request #4 from YunoHost-Apps/testing
update from official testing branch
2019-09-12 20:09:38 +02:00
Josué Tille
2d00cc922b
Merge remote-tracking branch 'upstream/testing' into package_upgrade 2019-09-10 20:15:48 +02:00
Josué Tille
4bba2a6fcf
Upgrade to synapse v1.3.1 2019-08-20 00:10:06 +02:00
Nouts
f586ed6b25 Merge branch 'master' into choose-server-name 2019-07-31 20:50:27 +02:00
Josué Tille
9fd7769a41
Upgrade synapse to 1.2.1 2019-07-26 15:42:47 +02:00
Josué Tille
0057c0b3d5
Upgrade synapse to 1.2.0 2019-07-26 11:42:19 +02:00
Josué Tille
81faa5b2fa
Upgrade synapse to 1.1.0 2019-07-05 12:10:30 +02:00
Josué Tille
8c58abd4fb Upgrade synapse to 1.0.0 2019-06-13 06:56:19 +00:00
Josué Tille
2180249f10
Remove jessie source file 2019-06-01 21:38:49 +02:00
Josué Tille
278706ae0d
Merge branch 'testing' into package_upgrade 2019-06-01 21:37:42 +02:00
Josué Tille
3dbac39293
Upgrade synapse to 0.99.5.2 2019-05-31 00:27:50 +02:00
Josué Tille
7841c79f0b
Upgrade synapse to 0.99.5.1 2019-05-22 21:43:00 +02:00
Maniack Crudelis
1230d72a88
Merge branch 'testing' into package_upgrade 2019-05-20 17:29:36 +02:00
Josué Tille
c19b7a8bf9
Upgrade synapse to 0.99.4 2019-05-16 10:33:26 +02:00
Josué Tille
33e60d3a61
Upgrade synapse to 0.99.3.2 2019-05-04 13:53:35 +02:00
nouts
dc9e7cef8b first working install 2019-05-04 13:49:19 +02:00
Josué Tille
c9a1e40e41 Upgrade synapse to 0.99.3 2019-05-03 10:10:51 +02:00
Maniack Crudelis
a2e19998d4 Normalization from example_ynh 2019-04-30 19:15:33 +02:00
Josué Tille
b9faec521c Add fail2ban 2019-03-08 09:16:25 +01:00
Josué Tille
b05127cbaf Upgrade synapse to 0.99.2 2019-03-08 09:14:35 +01:00
Josué Tille
cd144d4edc Upgrade synapse to 0.99.1.1 2019-03-08 09:14:35 +01:00
Josué Tille
76c611cbc6
Fix checksum 2019-02-08 17:21:30 +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
39b2e75dc5
Upgrade synapse to 0.99.0 2019-02-08 11:17:07 +01:00
Josué Tille
5b8c152684
Fix $1 variable 2019-01-13 15:58:18 +01:00
Josué Tille
1fea4e5c83
Update activate file 2019-01-13 11:07:37 +01:00
Josué Tille
510a83ada1 Upgrade synapse to 0.34.0.1 2019-01-11 11:42:21 +01:00
Josué Tille
cf89f04452 Upgrade synapse to 0.34.0 2019-01-04 10:26:03 +01:00
Josué Tille
77925fef06 Upgrade synapse to 0.33.9 2018-11-19 22:02:09 +00:00
Josué Tille
04cfaa8b2a Upgrade synapse to 0.33.8 2018-11-02 08:06:21 +01:00
Josué Tille
ba48e95892 Upgrade synapse to 0.33.7 2018-10-22 09:13:47 +02:00
Josué Tille
2ff925d7ab Upgrade synapse to 0.33.6 2018-10-08 12:57:16 +02:00
Josué Tille
2e847c3958 Upgrade synapse to 0.33.5.1 2018-09-28 23:35:17 +02:00
Josué Tille
7b470d2fda Upgrade synapse to 0.33.4 2018-09-20 10:17:04 +02:00
Josué Tille
222a9e3816 Upgrade synapse to 0.33.3.1 2018-09-06 14:02:05 +00:00
Josue-T
3accaf39df
Merge branch 'testing' into v0.33.3 2018-08-27 10:23:17 +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
65ffac7722 Upgrade synapse to 0.33.3 2018-08-22 16:21:11 +00:00
Josue-T
79a7fc0ea7
Merge branch 'testing' into Update_helpers 2018-08-21 11:19:56 +02:00
Josué Tille
9df903b7db Upgrade synapse to 0.33.1 2018-08-09 14:27:25 +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
ad42b79b2d Add new homeserver config 2018-08-04 23:03:26 +02:00
Josué Tille
5a8a3fb7d6 Add new setup_source helper 2018-08-03 22:40:34 +02:00
Josué Tille
6d35bb2b23 Add network dependance in systemd unit 2018-07-28 15:59:01 +02:00
Josué Tille
22cf4ed472 Upgrade synapse to 0.33.0 2018-07-21 13:43:17 +00:00
Josué Tille
ca7f430001 Use a port range wich don't contain the upnp service 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
Josué Tille
2ccf1b0108 Fix typo 2018-07-18 10:09:14 +02:00
Josué Tille
c73741c3db Upgrade synapse to 0.32.2 2018-07-08 05:53:54 +00:00
Josue-T
b8a205aeef
Upgrade synapse to 0.31.2 (#56) 2018-06-26 08:36:31 +02:00
Josué Tille
b94f9f8299 Upgrade synapse to 0.31.1 2018-06-15 17:41:46 +02:00
Josué Tille
cbebb34b6e Upgrade synapse to 0.31.0 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
920ae08e95 Upgrade synapse to 0.30.0 2018-06-09 08:50:07 +02:00
Josué Tille
7f59b4b23a Upgrade synapse to 0.28.1 2018-05-02 08:55:44 +02:00
Josué Tille
770e6beae2 Upgrade synapse to 0.28.0 2018-04-27 20:41:22 +02:00
Josue-T
af82a47c51 Upgrade synapse to 0.27.3 (#41) 2018-04-17 08:00:44 +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
9a9c6973fb
Merge pull request #38 from YunoHost-Apps/Update_to_0.26.1
Upgrade synapse to 0.26.1
2018-03-21 15:01:33 +01:00
Josué Tille
87dd17a5f9 Upgrade synapse to 0.26.1 2018-03-16 17:25:49 +01:00
Josué Tille
309e2619a1 Fix UnicodeDecodeError with python scripts 2018-02-26 12:53:35 +01:00
Josué Tille
257a25f591 Improve source setup 2018-02-06 11:30:20 +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
1cc739b634 Upgrade synapse to 0.26.0 2018-01-06 09:34:36 +00: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
a62bce7dbc Update to synapse 0.25.1 2017-11-24 19:28:52 +01:00
Josué Tille
22e3aae214 Upgrade to 0.25.0 2017-11-17 18:29:16 +01:00
Josué Tille
aca24e321b Get version from manifest 2017-10-31 23:37:31 +01: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
9d36c01fde Enable Preview and refactor source install 2017-10-25 14:33:59 +02:00
Josué Tille
469b6dc07b Use new helper, migrate to postgresql, use virtualenvionement 2017-07-21 22:28:49 +02:00