Commit graph

46 commits

Author SHA1 Message Date
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
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
Pedro Moura
d3b4521668 Fix Upload TypeError #10877
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2023-01-17 20:56:40 +00: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
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
d8189b7498 mediawiki: hotfix InputWidget so prefs works.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-28 01:16:17 +00:00
Kevin Fenzi
842b87353c mediawiki: hotfix InputWidget.php so prefs work. (initial copy)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-28 01:15:44 +00:00
Kevin Fenzi
d8fbcc780a mediawiki: add another boolean and new selinux policy.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-28 00:04:35 +00:00
Adam Williamson
e3a7bfda34 mediawiki fedmsg-emit: fix error on creating page (#7415)
This function is set up as a mediawiki hook. It expects to be
passed 12 args. It turns out that mediawiki 1.29.3 - the version
we're running - has two codepaths that call the hook: one passes
it all 12 args, one only passes it 11, missing out the final arg
(undidRevId). @puiterwijk tried to fix this in d85f8c2, but it
seems he misread and set a default value for the 11th arg rather
than the 12th, so it didn't actually fix the problem. Moving the
default value to the 12th arg should fix the problem for good.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-12-03 23:48:38 -08:00
Patrick Uiterwijk
d85f8c2083 Fix creating of new wiki pages
This breaks because mediawiki doesn't follow their own documented API[1] and doesn't pass
a base revision ID when creating new pages.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>

[1]: https://www.mediawiki.org/wiki/Manual:Hooks/PageContentSaveComplete
2018-08-31 19:52:17 +02:00
Kevin Fenzi
53ad352757 selinux policy for mediawiki 2018-08-10 14:33:35 +00:00
Rick Elrod
17d20733c9 Let's break the wiki, I like breaking things
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-06-26 21:57:17 +00:00
Patrick Uiterwijk
5ee3b0bbdc Do the lazy porting to mw 1.29.0 hooks
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-30 19:59:08 +00:00
Patrick Uiterwijk
6ca79cbfa3 Require CLA+1
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 01:31:34 +00:00
Patrick Uiterwijk
3a55c768bf Fix fedmsg-emit accessing private fields
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 00:50:45 +00:00
Patrick Uiterwijk
46895a8af1 More tweaks by @spot
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-13 20:32:39 +00:00
Patrick Uiterwijk
0a5c432004 Add linebreaks
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-13 20:29:39 +00:00
Patrick Uiterwijk
6a80013003 That didn't look the way I intended
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-13 20:26:27 +00:00
Patrick Uiterwijk
614260b400 Update wiki footer on request from @spot
Content courtesy of @spot, insane <p> usage courtesy of me.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-13 20:21:24 +00:00
Stephen Smoogen
154cb744ff remove the mediawiki hooks for piwik 2017-06-08 16:09:14 +00:00
cd80596a57 add piwik directly to mediawiki template
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2016-07-19 19:42:26 +00:00
Kevin Fenzi
5c9687b873 Update contact link in the wiki footer (ticket 5027) 2015-12-10 16:51:40 +00:00
Ralph Bean
1f0799c986 More possible matches now. 2015-04-30 01:18:42 +00:00
Ralph Bean
106fefc6bf (fedmenu/wiki) One last try. 2015-04-30 01:16:16 +00:00
Ralph Bean
a02c0b8012 (fedmenu/wiki) Try this instead. 2015-04-30 01:10:36 +00:00
Ralph Bean
28bf4f64ed Revert "(fedmenu/wiki) Try to capture user subpages too."
This reverts commit bef0d6be44.
2015-04-30 01:10:04 +00:00
Ralph Bean
bef0d6be44 (fedmenu/wiki) Try to capture user subpages too. 2015-04-30 01:08:31 +00:00
Ralph Bean
852110f100 Get username into the wiki fedmenu (I wrote a php!) 2015-04-29 15:51:05 +00:00
Ralph Bean
55549bc57e Add fedmenu basics to the wiki. 2015-04-29 14:43:15 +00:00
Ralph Bean
7df52bd052 Correct the x509 patch to insert the note before signing (not after). 2014-12-11 01:49:22 +00:00
Ralph Bean
9cb51b5d1c Revert "fedmsg/mediawiki, replace the $revision dict with the simplest version we can."
This reverts commit 8a7eeacfeb.
2014-12-11 01:47:11 +00:00
Ralph Bean
8a7eeacfeb fedmsg/mediawiki, replace the $revision dict with the simplest version we can. 2014-12-11 01:30:17 +00:00
Kevin Fenzi
3a6d7c308c Add patch for mediawiki and fedmsg crypto. Ticket 4604 2014-12-10 19:29:18 +00:00
Ralph Bean
de01e68223 No, this should do it.... 2014-11-14 22:18:58 +00:00
Ralph Bean
023f2e84e9 OK, this should do it.... 2014-11-14 22:14:45 +00:00
Ralph Bean
6ff76f68ab Forgotten $. 2014-11-14 22:00:01 +00:00
Ralph Bean
c5104e1574 Cut out most of the stuff from this one php array to try and fix message signatures for wiki upload messages. 2014-11-14 21:55:05 +00:00
Ralph Bean
3016956a4d PHP wants double quotes here. 2014-11-14 21:38:00 +00:00
Ralph Bean
48d98684db Move the call up the stack. 2014-11-14 21:33:35 +00:00
Ralph Bean
7bb1e80fca Throw a newline in there. 2014-11-14 21:30:02 +00:00
Ralph Bean
1926f2019a Log wiki fedmsg messages to a file (temporarily, for debugging). 2014-11-14 21:21:39 +00:00
Kevin Fenzi
5388cb70a8 Conditionalize wiki auth for staging 2014-06-15 18:41:57 +00:00
Patrick Uiterwijk
5d089b9f0d Adding some icons back that weren't transferred over to ansible from app0* to wiki 2014-05-11 12:50:41 +00:00
Kevin Fenzi
c2b06a44fc mediawiki role for wiki servers. Thanks adimania. ticket 4257 2014-04-21 18:10:28 +00:00