35 Commits

Author SHA1 Message Date
Greg Karékinian
c4fdf1779f Remove the CleanTalk Antispam extension
It is not needed anymore now that registration is closed and only LDAP
accounts can edit or create pages

Closes #130
2020-02-20 14:31:39 +01:00
Greg Karékinian
6f7474b4d1 Update the Mediawiki extensions 2020-02-20 14:30:25 +01:00
Greg Karékinian
276daf0ed7 Switch the Mediawiki config to the new LDAP dir structure
* Use a new read-only account instead of the admin LDAP account
* Disable the LDAPAuthorization plugin. The LDAPAuthentication2 plugin
is still used to authenticate users, but every kosmos.org user has
access to the wiki. See
https://www.mediawiki.org/wiki/Extension:PluggableAuth for the
distinction between authentication and authorization

Refs #127
2020-02-19 12:29:14 +01:00
Greg Karékinian
2a66ff6146 Enable the Cite extension in the MediaWiki config
This is used to create references as footnotes.
See https://www.mediawiki.org/wiki/Extension:Cite

Closes #124
2020-01-29 14:30:39 +01:00
Greg Karékinian
a06ea47e58 Update the LDAPProvider extension 2020-01-28 13:54:57 +01:00
Greg Karékinian
a69192a863 Enable LDAP support on mediawiki
Users can log in using their LDAP account (in the
ou=users,dc=kosmos,dc=org group and with the wiki attribute set to
enabled)

Add an attribute for the ldap master server, so it can be overridden in
the development environment

Refs #107
2020-01-24 13:45:17 +01:00
11c7019bfa
Fix thumbnails not working for larger SVGs
See linked docs in code comments
2019-12-13 13:46:57 +01:00
2358ed00db
Fix wiki permissions 2019-12-13 13:41:48 +01:00
2158e1d4bf
Allow SVG file uploads 2019-12-13 13:41:48 +01:00
678286d758
Enable wiki editor toolbar
Enables the formatting toolbar for the wiki editor.
2019-11-26 22:04:49 +01:00
fff5a044fe
Update/fix hubot URL, move variables to attributes 2019-06-25 14:29:11 +02:00
Greg Karékinian
5bb34554a7 The nginx_certbot_site resource does nothing in the dev environment
No need to check for the environment in recipes that use the resource

Closes #54
2019-05-03 10:55:02 +02:00
Greg Karékinian
57d0885d26 Change the licenses of hte kosmos cookbooks to MIT 2019-04-12 11:41:20 +02:00
Greg Karékinian
7bf583b5a3 Update Mediawiki to 1.32.0 2019-04-08 11:22:24 +02:00
Greg Karékinian
96cb3794f9 Don't try to enable TLS in the development environment 2019-04-08 11:21:45 +02:00
Greg Karékinian
17f1b2a20a Create a nginx_certbot_site resource to remove duplication
It creates a folder, the nginx vhost for certbot and HTTP redirects, and
also runs certbot and recreates the nginx vhost that includes the TLS
cert
2019-03-15 19:03:28 +01:00
Greg Karékinian
36e046ea73 Run certbot using the binary provided by the Ubuntu PPA 2019-03-14 10:52:44 +01:00
19ad46036f
Update Cleantalk extension to latest version
Running on the server already
2019-03-04 18:22:29 +07:00
af6fe37e0b Add Composer, Mermaid extension 2018-06-01 17:04:15 +02:00
1515b98a17 Update Cleantalk Antispam version 2018-06-01 12:56:39 +02:00
Greg Karékinian
0bb6204a0d Fix the Let's Encrypt setup for mediawiki 2017-06-19 18:40:20 +02:00
Greg Karékinian
49a9625d16 Just use plain HTTP in development environment 2017-06-09 21:20:00 +02:00
Greg Karékinian
5385813eda Merge branch 'master' into feature/ubuntu-16.04 2017-06-09 16:36:19 +02:00
Greg Karékinian
2f0ff1f559 Fixed code styling 2017-04-28 15:45:59 +02:00
Greg Karékinian
827a7428e2 Update kosmos-mediawiki cookbook for Ubuntu 16.04 2017-03-31 19:21:00 +02:00
Greg Karékinian
f1e042d23a Update mediawiki
Also add a comment about running the update script
2017-03-25 12:32:02 +01:00
Greg Karékinian
9436284be2 Use the latest certbot instead of the old letsencrypt 2017-03-19 20:05:09 +00:00
Greg Karékinian
e7f10a98b6 Update mediawiki to 1.27.0 2016-07-28 12:25:17 +02:00
Greg Karékinian
10b1bff3c0 Update CleanTalk extension to 1.7
Fixes #7
2016-07-08 14:00:34 +02:00
Greg Karékinian
7a53617302 Add automatic daily backup of mediawiki and wordpress databases 2016-05-13 17:12:24 +02:00
Greg Karékinian
0aaf3f3b55 Initial Let's Encrypt setup for Kosmos subdomains
Refs #6
2016-05-06 16:41:50 +02:00
Greg Karékinian
3da46705ba Add base URL to Mediawiki Hubot extension
Fixes #5
2016-05-06 16:40:37 +02:00
Greg Karékinian
0c97c218e6 Add mediawiki-hubot extension to wiki
Fixes #4
2016-04-22 14:32:05 +02:00
Greg Karékinian
78708414f4 Replace the default boilerplate cookbook maintainer and email
Also add it to knife.rb so new cookbooks are generated with the right
ones
2016-04-22 12:49:24 +02:00
Greg Karékinian
d95f0b601a Install mediawiki on the dev server 2016-04-16 00:33:58 +02:00