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
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
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
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
0ece2dfe06
use fedoraproject favicon everywhere it's needed
2023-04-03 13:35:55 +02: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
0cf78a2fe4
websites: fix content type for .pt translation files
2022-06-09 08:27:44 +02:00
Kevin Fenzi
43f3bb9231
getfedora.org: set mimetype for dmg in getfedora site
...
The previous commit to fix this issue was setting it for
fedoraproject.org, but the fmw download is off getfedora.org, so the
change needs to be there.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-09-11 19:35:02 +00:00
Michael Scherer
f01ae28b8c
Fix the CSP policy to let the Fedora magazine widget work
...
Since https://pagure.io/fedora-web/websites/pull-request/57 got merged,
we also need to fix the CSP policy since it get the article from a local
json file on the server (see the PR for details)
2020-04-24 21:34:12 +02:00
Rick Elrod
b0f5ec4e6e
getfedora csp: fix syntax
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2019-07-16 19:11:54 +00:00
Rick Elrod
13a11c07e2
getfedora: add builds.coreos.fp.o to csp
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2019-07-16 18:45:51 +00:00
Rick Elrod
32a36d008c
Attempt to make /static/keys/<foo>.txt work again
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2019-06-01 01:20:16 +00:00
Rick Elrod
6765b95175
getfedora: make the last slash optional here
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2019-05-21 15:29:32 +00:00
Rick Elrod
2c63d5cdd8
getfedora: Redirect /keys to /security because people keep complaining ;)
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2019-05-21 15:17:06 +00:00
Rick Elrod
3d6a97c16d
and from here
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2019-05-20 20:39:12 +00:00
Rick Elrod
4edc0b52da
nuke these for now too
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2019-05-20 20:37:47 +00:00
Rick Elrod
a9ba0c6b76
Revert "Move new language stuff to prod"
...
This reverts commit d166180eb2 .
2019-05-20 20:35:19 +00:00
Patrick Uiterwijk
8e6a2b55c9
Add strict CSP to getfedora.org
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-05-13 13:24:49 +02:00
Patrick Uiterwijk
d166180eb2
Move new language stuff to prod
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-05-13 12:51:33 +02:00
Patrick Uiterwijk
aaa95ac79b
Put in new languages.conf for stg getfedora.org
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-05-13 11:05:20 +02:00
Robert Mayr
784d2f6d98
add friulian language for getfedora.org
2018-05-04 12:40:37 +00:00
Ricky Elrod
82417064e4
Change static content caching from 5 days to 30 minutes
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org >
2017-06-09 06:30:47 +00:00
Kevin Fenzi
d4ddecbc62
ok, more proxy roles that restart httpd
2016-12-01 22:00:23 +00:00
Kevin Fenzi
d45d0e923e
setup fedora media writer
2016-10-10 22:23:17 +00:00
Kevin Fenzi
76a6106b80
allow fileinfo on getfedora.org directory to allow .htaccess to work for issue 5502
2016-09-28 19:35:55 +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
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
Robert Mayr
270396a0a7
Revert "drop de_CH and use de_DE translations instead"
...
This reverts commit bd9b463d18 .
2015-03-31 14:56:59 +00:00
Robert Mayr
bd9b463d18
drop de_CH and use de_DE translations instead
2015-03-31 13:18:57 +00:00
Kevin Fenzi
cdce6fea4f
Add es type override to get the right mime type for es web pages.
2015-02-21 15:36:13 +00:00
Till Maas
ce8655f7d1
Set HSTS for sslonly websites in roles/httpd/reverseproxy
2015-02-12 21:41:27 +01:00
Till Maas
4a2e0ab67b
sync getfedora with puppet/modules/fedora-web/files/getfedora.org.conf
2015-02-04 15:26:04 +01:00
Ralph Bean
3bbadf476b
fedoramagazine and getfedora roles.
2014-12-12 19:13:59 +00:00