Commit Graph

305 Commits

Author SHA1 Message Date
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
Timothée Ravier
4d43b7e377 kinoite.fedoraproject.org: Add site and pipeline
Signed-off-by: Timothée Ravier <tim@siosm.fr>
2021-09-27 19:01:44 +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
Kevin Fenzi
3ae44be726 proxies: LocationMatch here should be uri not path
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-02 10:59:10 -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
6e4117cb94 fix closing LocationMatch
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-30 17:26:22 -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
Francois Andrieu
f4dd094573 websites: add mime overrides for additional languages 2021-08-02 23:51:02 +00:00
Francois Andrieu
eaed6385f2 websites: refresh languages list 2021-06-25 12:03:46 +00:00
Francois Andrieu
a56709f808 websites: remove fedoraproject.org from build list 2021-06-23 08:57:10 +00:00
Francois Andrieu
6a107bc041 websites_prod: fetch l10n updates before build 2021-06-14 21:43:46 +00:00
Francois Andrieu
269a0d738f websites_stg: fetch l10n updates before build
also add langtable-python dependency
2021-06-10 18:36:05 +00:00
Francois Andrieu
ebc48747d5 fedora-web: add .gitconfig for translation updates 2021-06-10 18:34:30 +00:00
Owen W. Taylor
75e81cbccd Move fedora-indexer to production and remove regindexer
* Update rsync configuration for production to sync the flatpak-indexer
  output directories into the right place, in the same way as was done
  for staging. The regindexer rsync module is renamed to flatpak-index
  for clarity.
* Update the registry.fedoraproject.org to use the flatpak-indexer
  rules for production.
* Remove the regindexer role

Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
2021-03-26 20:39:43 +00:00
Michael Scherer
f50cad1870 Since zanata is down, this cron job no longer work 2021-03-25 20:26:05 +00:00