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>
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>
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>
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>
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>
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>
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>
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>
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.
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>