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

88 commits

Author SHA1 Message Date
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
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
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
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
nouts
3b96760518
Update README.md
Co-Authored-By: Josue-T <josue@tille.ch>
2019-10-27 15:48:34 +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
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
Maniack Crudelis
336978af9b Update readme 2019-05-20 17:20:16 +02:00
Josué Tille
c19b7a8bf9
Upgrade synapse to 0.99.4 2019-05-16 10:33:26 +02:00
Nouts
ca6619eb71 several improvements from feedback 2019-05-11 14:45:00 +02:00
Josué Tille
33e60d3a61
Upgrade synapse to 0.99.3.2 2019-05-04 13:53:35 +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
JimboJoe
0114f1a6bb 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
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
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
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
Josué Tille
bbbb33f050 Fix DNS in README 2018-08-27 10:22:15 +02:00