1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_signal_ynh.git synced 2024-09-03 19:46:07 +02:00
Commit graph

92 commits

Author SHA1 Message Date
Mayeul Cantan
251f926990 Restore domain setting
This is used for communicating with synapse.
Note that previously, the setting wasn't being saved correctly on install.
2024-04-28 21:52:07 +02:00
Mayeul Cantan
57dd7b8d8c Improve update of synapse bot user admin status 2024-04-28 21:52:07 +02:00
Mayeul Cantan
9bc70ac5e9 Satisfy shellcheck in scripts/install
I personally use shellcheck to help me find mistakes, so reducing noise
helps.
2024-04-28 21:52:04 +02:00
Mayeul Cantan
2171a7fc09 Fix setting the bot admin in restore 2024-04-28 21:50:19 +02:00
Mayeul Cantan
b87c3d73e6 Add settings to manifest: encryption, bot as admin
These settings were migrated over from the WhatsApp bridge.
2024-04-28 21:50:19 +02:00
Mayeul Cantan
aa49af1161 Fix getting synapse's database name
This relies on Synapse using manifest v2, so it needs to be upgraded
first.
2024-04-28 21:50:19 +02:00
Mayeul Cantan
070b255e0e Handle missing enable_relaybot setting
Also add a helper "yaml2json" python script to allow using jq from the
shell to query config values.
2024-04-28 21:49:58 +02:00
Mayeul Cantan
4fc14d947f Common: remove obsolete variables and functions 2024-04-21 18:41:11 +02:00
Mayeul Cantan
10cd9d4295 Cleanup "common" variables only used for migration 2024-04-21 18:41:11 +02:00
Mayeul Cantan
f6941f1e7f Split pre-0.5 upgrade script, check version before executing 2024-04-21 18:41:11 +02:00
Nathanaël Hannebert
b619888179 fix: signald, remove systemd service 2024-04-21 18:41:11 +02:00
Nathanaël Hannebert
7c79e934e7 fix: try to fix log permission error 2024-04-21 18:41:11 +02:00
Nathanaël Hannebert
193fb3a579 add: python-->go migration, remove signald stuff 2024-04-21 18:41:11 +02:00
Nathanaël Hannebert
5a2771bd00 chg: continue to make needed changes for
this python-->go upgrade
2024-04-21 18:40:02 +02:00
3ce6d96359 Cleanup remove 2024-02-28 15:38:51 +01:00
e2f1ae5ab4 Fix if_botuser 2024-02-28 15:38:51 +01:00
0a7c8ecfee Test with quotes 2024-02-28 15:38:51 +01:00
b457686aa9 Add missing keys in upgrade 2024-02-28 15:38:51 +01:00
5f35b5f54b fix install,remove 2024-02-28 15:38:51 +01:00
716018e8cd Manifestv2 2024-02-28 15:38:50 +01:00
9a424d7ecc Fix psql call 2024-02-26 17:56:35 +01:00
rosbeef andino
2a1af6ac0a Update upgrade 2024-02-26 12:35:22 +01:00
rosbeef andino
bf101ee5e8 Update restore 2024-02-26 12:35:22 +01:00
rosbeef andino
5484f12dc1 Update restore 2024-02-26 12:35:22 +01:00
rosbeef andino
3bd80bb576 Update upgrade 2024-02-26 12:35:22 +01:00
rosbeef andino
3eda73f1a5 Update install 2024-02-26 12:35:22 +01:00
rosbeef andino
276f5fe097 Update restore form armhf 2024-02-26 12:35:22 +01:00
rosbeef andino
084a166f89 Update upgrade for armhf 2024-02-26 12:35:22 +01:00
rosbeef andino
e03b0e2417 Update install for armhf install 2024-02-26 12:35:22 +01:00
Mayeul Cantan
381393ebcd Fix appending the logrotate config twice during upgrade
Closes https://github.com/YunoHost-Apps/mautrix_signal_ynh/issues/49
2022-10-26 12:42:43 +02:00
yalh76
b2c96f360b better removal 2022-09-05 21:14:42 +02:00
yalh76
d435af501d Update restore 2022-09-05 01:54:15 +02:00
yalh76
ed3a0edfd1 Update restore 2022-09-05 00:02:24 +02:00
yalh76
a470282799 More example_ynh 2022-09-04 23:58:20 +02:00
yalh76
d341248599 Apply example_ynh 2022-09-04 22:28:27 +02:00
Gredin67
660cb690eb
Bullseye (#45)
* libolm-dev bullseye

* remove extra_dep before upgrade

* do not specify signald version

* Add support for end-to-bridge encryption (#37)

* avoid dev headers

* Upgrade mautrix-signal to v0.3.0 (#47)

* set user in signald group

* request yunohost 11

Co-authored-by: nathanael-h <7300309+nathanael-h@users.noreply.github.com>
Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2022-08-14 19:56:08 +02:00
Gredin67
698da3223d
Update install 2022-02-04 01:03:48 +01:00
Gredin67
e7186fbfdf
Update upgrade 2022-02-03 22:52:08 +01:00
Gredin67
f700648950
remove group signald_user 2022-02-03 22:51:10 +01:00
Gredin67
5bd06bbe41
Update install 2022-02-03 22:49:26 +01:00
Gredin67
62ce3b3665
Update upgrade 2022-02-03 22:30:32 +01:00
Gredin67
2cf3cd12d3
Update restore 2022-02-03 22:29:59 +01:00
Gredin67
c8496cd001
export HOME=$final_path 2022-02-03 22:29:32 +01:00
Gredin67
0d885b8bcf
Update install 2022-02-02 11:01:47 +01:00
Gredin67
66c49f0377
Upgrade to v0.2.2 & signald properly & linter (#36)
* Upgrade to v0.2.2

* do not specify signald version

* Add support for end-to-bridge encryption (#37) (deactivated by default)

* Linter and sync whatsapp_ynh (#27)

* prepare for add to app list

* restore signald user data folder

Co-authored-by: ericgaspar <junk.eg@free.fr>

* python3-dev

* no python-olm

* check upgrade from 0.2.0

Necessary as the group is created by the dependencies

* Replace Whatsapp typos with Signal

* Fix service description inconsistency in install/upgrade/restore

* comment out bot_synapse_adm for now

* remove hack for signald permissions

* deactivate encryption by default

* no encryption in manifest

* fix db_pwd upgrade

* Update config.yaml

Co-authored-by: Nathanaël HANNEBERT <nathanael.hannebert@alterway.fr>
Co-authored-by: ericgaspar <junk.eg@free.fr>
Co-authored-by: Mayeul Cantan <oss@mayeul.net>
2022-01-25 09:49:10 +01:00
Mayeul Cantan
fc1ba62e65 Pin dependency signald>=0.15.0-27
Starting with -27, the libc issue should be solved and the package
should work again on buster.
2021-11-23 14:56:17 +01:00
Mayeul Cantan
d27369c631 Fix sticker permissions during upgrade 2021-08-20 12:42:35 +02:00
Mayeul Cantan
19302af2e0 Decrease log level to INFO 2021-08-20 12:42:20 +02:00
Mayeul Cantan
25918b0a01 Fix log level blocking upgrade 2021-08-20 12:41:56 +02:00
Gredin67
401c40db4f
upgrade to 0.2.0 and solve permissions issue
* Update checksum and upstream URL (#11)

Upstream URL changed, this is mentioned in this week's edition of TWIM:
https://matrix.org/blog/2021/08/06/this-week-in-matrix-2021-08-06#mautrix-

* Fix upgrade script (#14)

The destination directory for upgrade source was wrong, so upgrading would reinstall the previous version.

* add default-jre-headless

* upgrade pip

* Update config.yaml

* Add mautrix_signal to the signald group, set permissions

Unfortunately signald creates folders with the wrong permissions, so
there is still an issue with sticker subfolders.

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
2021-08-19 17:41:14 +02:00