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

982 commits

Author SHA1 Message Date
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
Josue-T
5972a127f3
Merge pull request #181 from YunoHost-Apps/v1.11
V1.11
2020-03-14 14:18:22 +01:00
Josue-T
7b196c2618
Merge pull request #167 from YunoHost-Apps/testing
Testing
2020-03-14 14:18:06 +01:00
Josué Tille
874d68f653
Fix "if" condition" 2020-03-06 21:41:56 +01:00
Josué Tille
a3050ffd23
Upgrade synapse to 1.11.1 2020-03-06 14:16:14 +01:00
SiM
7062db158c
Update URL of the federation's documentation
The URL has changed
2020-03-03 23:29:24 +01:00
Josué Tille
26b84e6e51
Fix "if" condition" 2020-02-25 23:12:02 +01:00
Josue-T
c3f8c48774
Merge pull request #174 from YunoHost-Apps/v1.11
V1.11
2020-02-25 23:07:46 +01:00
Josué Tille
2f370d79bc
Fix backup 2020-02-22 21:03:48 +01:00
Josué Tille
2b4152c70b
Specify the domain in permission definition 2020-02-22 21:03:33 +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
3271305de9
Clean old migration script 2020-02-22 00:41:05 +01:00
Josue-T
50c9463d96
Update scripts/upgrade
Co-Authored-By: JimboJoe <jimmy@monin.net>
2020-02-19 22:15:20 +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
d7316c7093
Remove old venv files 2020-01-26 16:18:47 +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
Josue-T
87645a94e0
Merge pull request #168 from YunoHost-Apps/v1.7.3
Upgrade synapse to 1.7.3
2020-01-06 19:52:46 +01:00
Josué Tille
15acee6009
Upgrade synapse to 1.7.3 2020-01-02 21:22:04 +01:00
Josue-T
7663428d85
Merge pull request #164 from YunoHost-Apps/change-url
Change url
2020-01-02 21:20:38 +01:00
Josue-T
8693cf2d7e
Merge pull request #161 from YunoHost-Apps/testing
Testing
2020-01-02 21:20:26 +01:00
Josue-T
190f6b3b0f
Merge pull request #165 from YunoHost-Apps/v1.7.2
Upgrade synapse to 1.7.2
2019-12-22 11:11:27 +01:00
Josue-T
cffd1e54ce
Merge pull request #163 from YunoHost-Apps/migrate_to_toml
Fix config panel and action
2019-12-22 11:09:17 +01:00
Josué Tille
e0baaf0752
Upgrade synapse to 1.7.2 2019-12-21 15:08:08 +01:00
Josué Tille
dd309b24bd
Disable change-url test
We can't do this test because the path is fixed '/_matrix'.$
So the change-url script is only used to change the domain.
2019-12-21 14:54:54 +01:00
Josué Tille
cc47a56e0d
Fix upgrade commit 2019-12-19 22:03:39 +01:00
Josué Tille
e270871afd
Upgrade synapse to 1.7.1 2019-12-19 21:30:19 +01:00
Josue-T
00845fc966
Merge pull request #162 from YunoHost-Apps/v1.7
Upgrade synapse to 1.7.0
2019-12-18 22:35:20 +01:00
Josué Tille
a393698f19
Fix settings migration 2019-12-18 20:50:48 +01:00
Josué Tille
4d88fe3033
Fix argument in upgrade 2019-12-18 20:36:05 +01:00
Josué Tille
ac7d2bb35b
Create change-url script 2019-12-14 15:30:27 +01:00
Josué Tille
11aabdf5c9
Move well-known config in nginx section 2019-12-14 15:14:27 +01:00
Josué Tille
a6eb228585
Replace special_domain and special_path by domain and path 2019-12-14 15:12:43 +01:00
Josué Tille
e2939fbbbb
Fix config pannel script 2019-12-14 12:02:49 +01:00
Josué Tille
c79df19b90
Upgrade synapse to 1.7.0 2019-12-14 00:56:05 +01:00
Josué Tille
3a22373a70
Migrate actions and config panel config file to toml 2019-12-14 00:55:13 +01:00
Josue-T
1e441b5aa1
Merge pull request #158 from YunoHost-Apps/block_public_rooms
Block public rooms options and fix security issues
2019-12-14 00:52:49 +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
Josue-T
d5e8b6510c
Merge pull request #160 from YunoHost-Apps/v1.6
Upgrade synapse to 1.6.0
2019-12-01 22:17:34 +01:00
Josué Tille
b70db793d4
Upgrade synapse to 1.6.1 2019-12-01 19:59:31 +01:00
Josué Tille
34970967bf
Use ynh_return instead of echo 2019-11-28 22:49:17 +01:00
Josue-T
36d89e888d
Use ynh_return instead of echo
Co-Authored-By: Kayou <pierre.moltess@gmail.com>
2019-11-28 22:44:05 +01:00