Commit Graph

325 Commits

Author SHA1 Message Date
Kevin Fenzi
71c59eb4c4 matrix: add org.matrix.msc2965.authentication for mas migration
EMS is updating our servers (both fedora.im and fedoraproject.org) to
use MAS (Matrix Auth Service). This will allow users to use new
element-x and such.

We need to add these things in order for older clients to still be
able to connect/get to the right place for auth.

These files should be valid json, please check

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-01-13 23:37:40 +00:00
Gregory Bartholomew
bfcd857278 retire legacy fedora websites repo phase 2
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
2025-12-04 20:48:05 +00:00
Gregory Bartholomew
c509e526fb retire legacy fedora websites repo phase 1
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
2025-11-14 18:31:40 +00:00
Kevin Fenzi
1ab76f84c8 fedora-web: move sync script to /usr/local/bin
In f42+, there's no longer a /usr/local/sbin, everything should be in
/usr/local/bin. Move this last script there.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-29 11:16:17 -07:00
Kevin Fenzi
40bc0f3c98 proxies: ostree summary sync, use -f to mv
In f42 in some cases mv will prompt here to overwrite the old file.
We always want to replace it, so add a -f here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-13 09:25:10 -07:00
Francois Andrieu
d30cfdd2cf websites: disable fedoraproject sync on-demand 2025-04-24 22:19:30 +00:00
Gregory Bartholomew
524a4c901e websites: add multilingual support to the error document handling
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
2025-04-07 22:03:34 +00:00
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
Francois Andrieu
5555679100 fedora-web: fix include_vars option 2025-03-12 11:21:43 +01: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
Mattia Verga
926b12b2a5 Move registry redirects rules to reverseproxy 2025-01-17 17:52:24 +00:00
Kevin Fenzi
351066d106 registry: add back sync for flatpak-indexes
We had the flatpak indexes mixed in here with the registry page made by
reg. We need to keep this so we continue to sync flatpak deltas
correctly out.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-17 09:45:26 -08:00
Kevin Fenzi
51965498c1 proxies: drop registry sync cronjob
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-16 17:43:22 -08:00
Mattia Verga
afaaf68b22 reg-server: stop serving outdated pages
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-01-16 21:35:11 +00:00
Ryan Lerch
47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
Ryan Lerch
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10: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
Michal Konecny
9618c253a6 [fedora-web/build] Update with RHEL 9 packages
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-05-22 14:37:41 +02:00
Francois Andrieu
9064f10187 add org.matrix.msc3575.proxy entry to Matrix client well-known 2024-02-21 03:30:24 +01: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
Stephen Smoogen
a1e9d8364c Temporary fix website by restoring multiview
It was thought that MultiViews was not needed for various websites to work and so was removed. It turns out that was wrong, and it was very much relied on for permissions of pages to work on the proxies and such. Mea-culpa mea-culpa

This fix restores the item until we are able to come up with a better fix.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2023-07-21 08:36:23 -04:00
Kevin Fenzi
50b0ac71d7 start: put multiviews back here for now until we can fix it correctly to not use it
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-20 17:43:23 -07:00
Patrick Creech
ee4df11e44 Remove MultiViews from web configs
Signed-off-by: Patrick Creech <pcreech@redhat.com>
2023-07-20 17:23:40 -04:00
Francois Andrieu
5e95d86756 retire spins.fedoraproject.org 2023-07-20 21:13:19 +00:00
Timothée Ravier
3a79d45596 Remove standalone Kinoite website
Replaced by https://fedoraproject.org/kinoite/
Needs: https://pagure.io/fedora-infra/ansible/pull-request/1479
2023-07-05 23:56:38 +00:00
Ryan Lerch
a4d2fb7107 retire arm.fedoraproject.org
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-05-24 23:57:33 +00:00
Francois Andrieu
7c7c6d1dca websites: remove unused languages.conf 2023-05-04 19:47:59 +00:00
Francois Andrieu
493b771248 websites: add well-known for Flathub verification
Related: https://pagure.io/fedora-infrastructure/issue/11217
2023-04-18 02:53:11 +00:00
Francois Andrieu
0ece2dfe06 use fedoraproject favicon everywhere it's needed 2023-04-03 13:35:55 +02:00
Francois Andrieu
a4570c90c2 websites: remove favicon alias on fedoraproject.org & fix 404 2023-04-03 13:35:52 +02:00
Francois Andrieu
c1816caed8 websites: add fedoraproject.org alias for Fedora Media Writer 2023-04-02 17:56:21 +00:00
Francois Andrieu
b85d421855 websites: drop fedoraproject.org/sponsors redirect 2023-04-02 16:31:39 +02:00
Francois Andrieu
be32dcebb4 websites: new main website deployment on prod 2023-03-31 16:58:12 +00:00
Kevin Fenzi
98476fcfbf registry-index-sync: move from 30 after to 40 after
Right now this cron is sometimes running while reg is updating the
index on sundries01, so move it out 10min to avoid that window.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 21:39:46 -08:00
Francois Andrieu
495670585f websites: fix permissions 2022-12-09 02:11:22 +01:00
Francois Andrieu
7480cd6cc6 websites: fix variable name 2022-12-09 02:04:26 +01:00
Francois Andrieu
5b5edd11eb websites: new main website deployment on stg 2022-12-09 00:14:44 +00:00
Michael Scherer
c6659c5a0f Remove whitespace at the end of the header
This fail on HTTP/2 with newer libnghttp2, as reported by aminvakil on
irc. See https://github.com/nghttp2/nghttp2/issues/1786
2022-09-01 18:58:14 +00:00
Francois Andrieu
e5d110a67f websites: cleanup yamllint issues 2022-06-27 22:51:27 +00:00
Francois Andrieu
68d61b87c5 websites: clean old build configuration on sundries 2022-06-27 22:51:27 +00:00
Francois Andrieu
0cf78a2fe4 websites: fix content type for .pt translation files 2022-06-09 08:27:44 +02:00
Kevin Fenzi
8646d57a6c proxies / registry: drop some no longer wanted staging conditionals
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-02-08 11:43:08 -08:00
Francois Andrieu
6231d8fd25 websites: remove obsolete sites from build script & use main branch 2021-11-30 21:08:42 +00:00
Francois Andrieu
a76742b026 Revert "websites: update getfedora.org translation file"
It seems like the pybabel version used on sundries does not
play well with jinja2 files used on getfedora.
Translated versions of this site are impacted as reported by
fedora-web/websites#202

For now, I'll update the pot file manually using a more up to date
version of pybabel until we find a long term solution.

This reverts commit 25fc76f656.
2021-11-03 11:08:12 +01: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
Francois Andrieu
25fc76f656 websites: update getfedora.org translation file 2021-09-29 19:01:54 +00:00
Kevin Fenzi
645e2f58a9 Fix misnamed file in kinoite commits
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-27 13:03:02 -07:00