Commit graph

199 commits

Author SHA1 Message Date
b083c70da2 Move building fedoramessaging extensaion after links are made
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-05-16 18:04:00 +10:00
Aurélien Bompard
194cca2240
Mediawiki no longer uses fedmsg
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-07 11:11:32 +02:00
Aurélien Bompard
840c898fec
Add tags
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-05 15:45:01 +02:00
Aurélien Bompard
6fbc69fdcf
Small fixup
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-05 15:44:09 +02:00
Aurélien Bompard
586733c645
Deploy the new fedora-messaging emitter for mediawiki to prod. Yolo.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-05 15:32:29 +02:00
Aurélien Bompard
82e7d6ab4c
Install php dependencies
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-03 17:16:26 +02:00
Aurélien Bompard
b12d5b588e
Missing file
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-03 14:56:49 +02:00
Aurélien Bompard
5db080088e
Add missing dep
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-03 14:53:56 +02:00
Aurélien Bompard
9df13d4abb
Use the new fedora-messaging emitter in Mediawiki
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-07-03 14:52:33 +02:00
Kevin Fenzi
4a99b7b62a wiki: try and re-enable passwordattemptthrottle
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-04 08:28:16 -07:00
Kevin Fenzi
08e7c38a96 mediawiki: merge changes in from staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-31 16:57:58 -07:00
3d32e12a1f [wiki] Remove old patched openIDConnect, and comment about new setup
We previously moved the FPCA check from a patched file held here in
ansible into the RPM itself when it was built for the Fedora infra
repos. While we no longer installed the patched file, it remained here
in the files dir of the wiki role, so we are deleting it.

Also, have added a comment to the play to say where we are holding this
patch now, so when i forget about it again, and come back to it in
another year or so, i can remember faster

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-05-24 16:45:41 +10:00
Kevin Fenzi
0111ccfe2d Retire old rdu2 space.
This space was in a networking cage thats going away and all the
machines there are old and out of warentee.
This space was intended for disaster recovery purposes.
For that now we have a internal vm that can access our mirrored netapp
storage, so we can sync anything off it we need to when iad2 is down.
I will be resetting up a batcave13 in another datacenter to allow us a
backup ansible/dns control host. bastion13/ns13/proxy13 will likely just
go away forever. download-rdu01 should be replaced by the new
download-cc-rdu01 once we have the new hardware in place for that.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-22 10:09:34 -07:00
Kevin Fenzi
814fd550cd wiki / staging: some changes in config for the new wiki in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-22 09:54:50 -07:00
Pedro Moura
d3b4521668 Fix Upload TypeError #10877
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2023-01-17 20:56:40 +00:00
Kevin Fenzi
c2cab48398 All php vars need to end with a ;
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-14 14:26:16 -07:00
Kevin Fenzi
801bdf4450 wiki: up cookie lifetime to 10hours
Right now by default users are logged out after 1 hour of inactivity on
the wiki. This is anoying for people who do a number of edits during the
day. So, lets increase this timeout to 10 hours.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-14 13:54:43 -07:00
Kevin Fenzi
bd7e118855 mediawiki: try disabling loginattemptthrottle entirely
Sometimes folks are unable to login to the wiki because there have been
too many login attempts from the proxy they happen to be hitting the
wiki from. Lets just disable this throttle entirely, as brute force
won't work ever anyhow.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-14 12:50:13 -07:00
Kevin Fenzi
56f26f0ec8 mediawiki: try and adjust the throttling by default to avoid proxies hitting limits
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-27 12:07:40 -07:00
201707b04d Wiki: fix issue with version number in fedmsg plugin
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-06-17 13:19:46 +10:00
ba3d86568f Fix the fedmsg emitter for the wiki
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-06-17 12:59:32 +10:00
Kevin Fenzi
d82fc074dc wiki: drop 2 hotfixes we no longer need
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-16 15:12:03 -07:00
Kevin Fenzi
985d30bcc6 wiki: drop HTTP302Found for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-16 14:31:57 -07:00
db00f9020a [wiki] disable HTTP302Found plugin
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-06-17 06:56:14 +10:00
e505abaa2f [wiki] apply new pluggable auth settings for prod
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-06-17 06:41:36 +10:00
664db28a9f [wiki] comment out $wgActorTableSchemaMigrationStage
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-06-13 21:17:08 +10:00
e39c030219 [wiki] change NS_IMAGE* contancts to NS_FILE*
mediawiki deprecated the NS_IMAGE constants in favor of the NS_FILE
constants back in 1.14. They were removed in 1.34, so now we change
them.

c429074687/RELEASE-NOTES-1.34 (L225)

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-06-13 21:01:48 +10:00
f9a1fd07e8 Update OIDC settings for newer versions of plugins
mediawiki-OpenIDConnect and mediawiki-PluggableAuth are updated to newer
versions, and the config setup has changed. this tweaks it for the wiki
stage.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-06-13 19:54:49 +10:00
Nikolay Udovik
893275ab13 mediawiki - update reverse proxy ips. issue #10294. squashed commits
update mediawiki reverse proxy ips. issue  #10294

mediawiki - update proxy13 and proxy30 addresses
2022-06-08 16:50:35 +00:00
Eddie Jennings, Jr
6ef496d56a Reconfigure IPv6
Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Configure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Configure IPv6

Update IPv6 address for noc02 rule

Update IPv6 address in confg for noc02 address change

Update IPv6 address for proxy04

Update IPv6 address for torrent02
2021-11-08 22:56:05 +00:00
Kevin Fenzi
b7fb1b1faf Mediawiki: disable editing of talk pages
We don't use talk pages, people often add notes to them and no one ever
sees them. We want discussion of things on our lists or matrix, not in a
talk page no one reads.

This disables editing talk pages by using the lockdown plugin and only
granting permissions to edit talk pages to 'noone'. Since that group
doesn't exist, no one can edit them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-03 22:29:27 +00:00
Kevin Fenzi
983d456072 wiki: update content license note
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-20 13:52:39 -07:00
Aurélien Bompard
7c03fc1954
Fix the wiki FPCA requirement
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-04-29 10:46:54 +02:00
Aurélien Bompard
6e68f8fe4f
Fix the mediawiki auth plugin
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-03-25 11:15:29 +01:00
Kevin Fenzi
f88bdf2c78 mediawiki: drop old fas cla and use agreements in prod now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-24 11:39:11 -07:00
Kevin Fenzi
cf6f1a8b52 mediawiki: in staging, fix the port and password
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-07 12:13:41 -07:00
Pierre-Yves Chibon
d766ed3e0c wiki: fix the if/else block on staging to the scope are correct
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-05 12:25:37 +02:00
252374bc55 wiki: only apply the patched OIDC plugin in prod
the patch for the OIDC plugin is now in the RPM, but for now lets only
not apply the patch via ansible in staging, so we know it works.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2020-09-21 07:35:53 +00:00
c2187f319a wiki: update staging OIDC scopes for agreements
Updates the wiki OIDC scopes settings to point to the new agreements
scope rather than the CLA one from the FAS days

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2020-09-21 07:35:52 +00:00
ac50ffe3d2 wiki: Remove old unused templates from pre-OIDC days
Remove two templates that appear to previously been used to set up
authentication directly to FAS, before ipsilon / OIDC was implemented in
the wiki

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2020-09-21 07:35:52 +00:00
Kevin Fenzi
0794e50ad0 mediawiki: adjust proxy/cache servers
This still had all the phx2 local servers, adjust them to the new iad2
ips and see if that helps the wiki stop thowing so many 503's.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-07 16:51:45 -07:00
Stephen Smoogen
152b415410 allow proxy32 to get to infrastructure 2020-06-19 15:21:51 -04:00
Kevin Fenzi
7984b46eb7 The great phx2 pruning run (1st cut).
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 14:14:31 -07:00
Kevin Fenzi
c35f6dbd18 wiki: adjust filename for jumbojett file.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-05 18:19:39 -07:00
Kevin Fenzi
eda73272f8 iad2: wiki: Fix LocalSettings.php syntax. The variable needs a $ in front of it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-01 16:18:08 -07:00
Kevin Fenzi
b1df81e148 iad2 / mediawiki: some adjustments for new mediawiki
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 09:50:06 -07:00
Adam Williamson
fcc445b2a7 mediawiki: enable string functions from ParserFunctions
The ParserFunctions extension (which we already use) has some
string functions which I would like to use, but they aren't
enabled by default. Per the documentation, just adding this
config setting should turn them on.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-21 19:28:36 +00:00
Stephen Smoogen
2b9f82f9f4 proxy31 2020-04-24 21:34:26 +02:00
Stephen Smoogen
9d02ba6cf4 add proxy30 to config files 2020-04-24 21:34:21 +02:00
Stephen Smoogen
14ccfa20e3 Add in virtual ipv6 hosts for proxy03 and proxy14 2020-04-24 21:34:20 +02:00