Commit Graph

67 Commits

Author SHA1 Message Date
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
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
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
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
Francois Andrieu
9064f10187 add org.matrix.msc3575.proxy entry to Matrix client well-known 2024-02-21 03:30:24 +01: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
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
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
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
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
Pierre-Yves Chibon
d5fb0ae4ad fedora-web: Mark the .dmg files as application/octet-stream
Fixes https://pagure.io/fedora-infrastructure/issue/9310

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-09-10 19:56:22 +00:00
Mark O'Brien
9898f1c64a [fedora-web] quote value to avoid evaluation 2020-08-25 15:23:30 +01:00
Rick Elrod
f37d382e8e create /srv/web here
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-12-17 19:31:31 +00:00
Rick Elrod
30998a88af then maybe we need both
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-12-17 19:16:21 +00:00
Rick Elrod
daeaae624a make the dir here instead
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-12-17 18:46:44 +00:00
Rick Elrod
efa1a3d47d try creating directory here
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-12-17 18:33:57 +00:00
Robert Mayr
4c4ece38e7 add friulian language to the websites 2018-05-03 21:51:30 +00:00
Kevin Fenzi
5c7d49e22e move to a file because content cannot handle a : in the content 2017-10-04 20:57:43 +00:00
Kevin Fenzi
d161ffd9e4 add google site validation for mattdm - https://pagure.io/fedora-websites/issue/729 2017-10-04 20:52:48 +00:00
Kevin Fenzi
d4ddecbc62 ok, more proxy roles that restart httpd 2016-12-01 22:00:23 +00:00
Kevin Fenzi
1c6e9a11f4 Another pile of trailing whitespace fixes 2016-08-08 19:42:36 +00:00
Robert Mayr
a0dee2a006 drop old redirects and add a specific sponsors.html redirect to getfedora.org 2016-04-16 20:51:55 +00:00
Patrick Uiterwijk
b08ccc52ef Add emergency tag
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-12-15 23:09:06 +00:00
Patrick Uiterwijk
a3f1177b5b Make hotspot.txt a specially deployed file
This should make it more resilient to changes to the website

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-12-15 23:05:02 +00:00
Patrick Uiterwijk
08568865fe Replace all restart httpd with reload httpd
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-11-04 23:40:01 +00:00
Kevin Fenzi
221419512a Switch some of these to just reload httpd instead of a full restart 2015-11-03 16:02:33 +00:00
Kevin Fenzi
c0857a5f94 Add get-prerelease redirects to the (upcoming) magazine article 2015-11-03 13:52:34 +00:00
Kevin Fenzi
ed7984ef1f Switch all these sync jobs to pull from sundries01 instead of bapp02.
Will test out on one proxy first, then push to the rest.
2015-07-27 22:55:32 +00:00
Kevin Fenzi
6e6cfec499 Test in stg real quick first 2015-04-21 14:51:16 +00:00