Commit Graph

107 Commits

Author SHA1 Message Date
Seddik Alaoui Ismaili
24aaee6429 move apps to memcached02 2024-12-11 23:22:28 +00:00
Seddik Alaoui Ismaili
c88ab2cb08 test move apps to memcached02 2024-11-25 13:20:45 +00: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
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
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
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
Ryan Lerch
db00f9020a [wiki] disable HTTP302Found plugin
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-06-17 06:56:14 +10:00
Ryan Lerch
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
Ryan Lerch
664db28a9f [wiki] comment out $wgActorTableSchemaMigrationStage
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2022-06-13 21:17:08 +10:00
Ryan Lerch
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
Ryan Lerch
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
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
Ryan Lerch
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
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
Kevin Fenzi
7aba98780e fedora-messaging-migration: Patches from Karsten Hopp to move script calling things from fedmsg to fedora-messaging
We will need to check these services after pushing this out and confirm
that they are still emitting or hearing messages they need to.

Many thanks Karsten!
2020-04-24 21:34:16 +02:00
Stephen Smoogen
0a87de6e21 [proxies] remove proxy08 from ansible configs 2020-04-24 21:34:11 +02:00
Rick Elrod
ad494b28e4 mediawiki: Add $wgFedoraBadgesDSN
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-06-28 00:30:04 +00:00
Kevin Fenzi
8d9e9ba16d mediawiki: some more settings cleanup, fix ConfirmEdit loading.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-19 21:30:32 +00:00
Kevin Fenzi
eb31a3ae0a mediawiki: Fix up mediawiki for new version
Move IP setting to apache
Load modules the new one for ones that support it.
Undefine db prefix that was confusing mysql

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-19 19:45:48 +00:00
Rick Elrod
0b7bb3b5b3 prep for proxy03 move
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-02-11 23:14:27 +00:00
Kevin Fenzi
ba4b26b313 enable backtickcode wiki extension 2018-07-26 19:51:05 +00:00
Patrick Uiterwijk
e70400ae18 Deploy fedoradocsredirect to prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-01 14:53:16 +00:00
Patrick Uiterwijk
87b84c41ca Deploy fedoradocsredirect in staging mediawiki
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-24 06:03:36 +00:00
Kevin Fenzi
adb8ed0ab8 Revert "try disabling memcached for a sec"
This reverts commit 149300192f.
2018-01-12 00:13:26 +00:00
Kevin Fenzi
149300192f try disabling memcached for a sec 2018-01-12 00:02:07 +00:00
Kevin Fenzi
b88a822e90 proxy07 is down, remove it from wiki squid servers. Also lower cache time from 5 days to 6 hours 2018-01-11 23:21:04 +00:00
Nick Bebout
cc9cb380f2 Test fixing protectors group 2017-12-07 19:55:14 +00:00
Patrick Uiterwijk
71f2d85920 mattdm likes Fedora Project Wiki
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-27 19:09:07 +00:00
Patrick Uiterwijk
44b5d262f7 We keep getting more constants. Instead just stop reporting these
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-25 18:43:49 +00:00