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

45 commits

Author SHA1 Message Date
ericgaspar
b1c2f2e791 fix 2023-08-26 17:33:46 +02:00
ericgaspar
19c7d01750 Update check_process 2023-08-26 12:01:31 +02:00
Éric Gaspar
319b0119b2 Update check_process 2022-10-28 10:52:49 +02:00
Josué Tille
388ebabf39
Fix warning and create yunohost user for ldap filter and send email correctly 2022-05-26 17:19:33 +02:00
Josué Tille
e5f93690db
Fix linter warning 2022-05-26 16:41:22 +02:00
Josué Tille
6af39e6e08 Fix install from old version 2022-05-23 12:09:04 +02:00
Josué Tille
9be416b637 remove old version upgrade test because unmaintainable 2022-05-23 12:09:04 +02:00
Josué Tille
2e09c0671e
Remove too old upgrade test 2021-07-15 22:04:50 +02:00
Josué Tille
c0f13c31fb
Disable multiInstance test
We can't do a multi instance install on the same domaine. And the CI do this, so disable this for now. Could be enabled if a solution is available for this test
2021-04-07 17:59:05 +02:00
Josué Tille
284f6b93de
Fix issues on home dir path management 2021-03-14 15:25:48 +01:00
Josué Tille
021f296356
Try fix check_process 2021-03-12 20:08:14 +01:00
Josué Tille
a88acd864e
Udate old commit for check_process 2021-02-15 15:46:24 +01:00
Josué Tille
1f1993c422
Udate old commit for check_process 2021-02-15 15:25:20 +01:00
Josué Tille
aa027b1806
Clean check_process 2020-11-28 17:31:34 +01:00
Josué Tille
abe32f512a
Update check_process 2020-07-31 18:01:25 +02:00
Josué Tille
2a7f520d90
Fix checkprocess 2020-07-24 23:41:53 +02:00
Josué Tille
0eb4cd7ace
Fix check_process 2020-04-22 21:35:29 +02:00
Josué Tille
df50418e76
Update commit for upgrade in checkprocess 2020-04-11 14:07:00 +02: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
ac7d2bb35b
Create change-url script 2019-12-14 15:30:27 +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
2d00cc922b
Merge remote-tracking branch 'upstream/testing' into package_upgrade 2019-09-10 20:15:48 +02:00
Josué Tille
eca523222e
Use specific commit for CI 2019-09-03 20:43:34 +02:00
Josué Tille
38d3018a38
Fix commit for CI 2019-09-03 17:37:25 +02:00
Maniack Crudelis
a2e19998d4 Normalization from example_ynh 2019-04-30 19:15:33 +02:00
Josué Tille
18ee76e72f
Update check_process 2019-02-08 15:21:48 +01:00
Josué Tille
f6291e482f Reverse setup nourl 2019-01-04 10:26:03 +01:00
Josué Tille
e1a805b441 Update test URL 2019-01-04 10:26:03 +01:00
Maniack Crudelis
a12a4a7237 Change commit name 2018-07-07 10:26:33 +02:00
Josué Tille
1618deaffb Change commit for upgrade in CI 2018-07-07 10:26:33 +02:00
Josué Tille
86be61fae7 Remove support for old package migration 2018-06-09 08:50:07 +02:00
Josué Tille
3ba2bf2797 Update check_process 2018-05-02 20:58:07 +02:00
Josué Tille
e589b8901d Adapt checkprocess for old branch 2018-02-07 17:39:44 +01:00
Josué Tille
59cc577bd8 Add comment about level 4 in check_process 2018-01-29 18:27:24 +01:00
Maniack Crudelis
e3b5388855
Quick clean of check_process
Micro decision...
2018-01-29 17:52:56 +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
d205be9db9 Fix upgrade from old version 2017-08-16 15:10:24 +02:00
Josue-T
f1ee16dc77 Don't check Private Mode in package check 2017-04-22 22:01:30 +02:00
Josue-T
ca37a20d3a Update check_process 2017-04-21 09:02:17 +02:00
Josue-T
c04b2f959b Don't check interface 2017-03-19 10:30:09 +01:00
Maniack Crudelis
aade7199b0 Update check_process (#7) 2017-03-17 21:02:57 +01:00
Josue-T
cc2c3000b9 Update Synapse (#2)
* Add check_process

* Solve error with custom certificat
2017-02-18 22:49:00 +01:00
Josué Tille
d4aad10bc0 Add check_process 2017-02-18 11:43:04 +01:00
Josué Tille
0a7d42c3b5 First commit 2017-02-13 20:43:41 +01:00