Commit Graph

17 Commits

Author SHA1 Message Date
Kevin Fenzi
1d882f1aee matrix clients: update well-known endpoints for new element call
Per EMS support, updating these to allow clients to use
the new element call setup.

See:
https://matrix.org/blog/2025/03/21/this-week-in-matrix-2025-03-21/#dept-of-voip-call-me-hand
and
https://ems-docs.element.io/books/element-cloud-documentation/page/ems-server-with-custom-domain

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-03-28 10:02:32 -07:00
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +10:00
Ryan Lerch
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Kevin Fenzi
845ba32c3a proxies: switch get_url to just copy from batcave01
get_url has a bug in that batcave01 is using python3.9, but the proxies
are 3.12. See:
https://github.com/ansible/ansible/issues/80490
https://github.com/ansible/ansible/issues/81256

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-16 11:46:46 -08:00
Kevin Fenzi
dbdc60c34e fedora.im: redirect to chat.fedoraproject.org instead of getfedora.org
We want users to be redirected to the place where they can login and use
matrix here if they go to fedora.im.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-29 19:08:05 +00:00
Kevin Fenzi
242d48fdc2 add some missing tags
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-02 11:49:55 -07:00
Kevin Fenzi
dfff4c5fa8 matrix: Setup logo and welcome images to be served by proxies.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-02 11:44:50 -07:00
Nick Bebout
9d78be4889 Update well-known files for matrix 2021-09-02 10:58:27 -05:00
Kevin Fenzi
873b8280fb proxies: add content for matrix files
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-31 13:33:26 -07:00
Kevin Fenzi
19188af5b0 staging / CORS: apache syntax fixes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 17:55:43 -07:00
Kevin Fenzi
b4c0acd1b9 staging: add CORS for matrix
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 17:01:28 -07:00
Kevin Fenzi
d65041c2c1 matrix: aliases will not work here, use redirects
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 16:26:58 -07:00
Kevin Fenzi
78ae760408 fedora.im: also need to make the /srv/web/fedora.im dir
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 15:27:14 -07:00
Kevin Fenzi
19b66e404b Add matrix well-known files
Matrix can use some well-known uri's for configuration (rfc 8615).
This commit:
* Sets up fedora.im as a seperate side on proxies that redirects to
  getfedora.org and serves a server and client static matrix file.
* gets fedora.im it's own ssl cert via letsencrypt so it's all valid
  (currently it points to proxies generically and gets the
fedoraproject.org cert)
* Adds config to serve matrix client/server well-known static files for
  fedoraproject.org site.

Note that all the acutal contents of these files are empty for now, but
once our matrix server is up we can fill them in properly and re-run the
playbook. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 21:53:56 +00:00