Ryan Lahfa
eb6d457115
Merge pull request #209246 from e1mo/dokuwiki/package-overriding
...
dokuwiki: Combine mechanism for plugins and templates
2023-01-18 00:51:18 +01:00
Moritz 'e1mo' Fromm
ee41b6b457
dokuwiki: Combine mechanism for plugins and templates
...
Copy templates and plugins into Dokuwiki instead of linking to address
template compatibility. As noted by @sinavir[^1], (some) templates would
fail due to relative PHP imports.
[^1]: https://github.com/NixOS/nixpkgs/pull/208299#issuecomment-1370413116
2023-01-06 23:52:49 +01:00
Moritz 'e1mo' Fromm
8d4251f491
nixos/dokuwiki: Add e1mo as maintainer
2023-01-06 23:40:09 +01:00
Moritz 'e1mo' Fromm
236d90fde0
nixos/dokuwiki: Overhaul for structured settings
...
Added the RFC42-style added the posibility to use
`services.dokuwiki.sites.<name>.settings' instead of passing a plain
string to `<name>.extraConfig`. ´<name>.pluginsConfig` now also accepts
structured configuration.
2023-01-06 22:02:37 +01:00
Moritz 'e1mo' Fromm
055100611d
nixos/dokuwiki: Simplify plugin fetching examples
...
Also replaced apache httpd referenced with ones to caddy
2023-01-06 15:12:47 +01:00
Moritz 'e1mo' Fromm
da9185d964
nixosTests.dokuwiki: Deduplicate node configuration
...
Also added two "quality of life" tests to ensure customisations to the
dokuiwki package are not being discarded and both webserver
configurations handle rewriting correctly.
2023-01-06 14:51:34 +01:00
Jonas Heinrich
0dcac759f2
nixos/dokuwiki: Add support for Caddy web server
2021-09-18 23:09:21 +09:00
Ben Siraphob
4f0cdb68d7
treewide: unzip buldInputs to nativeBuildInputs (2)
2021-03-06 15:18:05 +07:00
Dominik Xaver Hörl
25bef2d8f9
treewide: simplify pkgs.stdenv.lib -> pkgs.lib
...
The library does not depend on stdenv, that `stdenv` exposes `lib` is
an artifact of the ancient origins of nixpkgs.
2021-01-10 20:12:06 +01:00
zowoq
0052523a18
maintainers: 1000101 -> _1000101
2020-08-18 07:59:48 +10:00
Marek Mahut
258ca6451d
Merge pull request #94617 from dadada/dadada/dokuwiki
...
nixos/dokuwiki: add test for login
2020-08-05 11:55:40 +02:00
dadada
20f052b6f6
nixos/dokuwiki: add test for login page
...
Cookie jar can be used to accurately test if the login was successful.
Simply searching for the user name is not sufficient, since it is always
part of the returned page after login. The page should display a phrase
containing the username after login.
2020-08-04 11:03:25 +02:00
1000101
850b3ea028
nixos/dokuwiki: drop SSL forcing
2020-08-03 16:10:05 +02:00
1000101
6c3b36212a
maintainers: fix previously uncaught name issues
2020-06-26 16:38:27 +02:00
Pavol Rusnak
6abf4a43ad
treewide: per RFC45, remove more unquoted URLs
2020-05-08 15:20:47 +02:00
dadada
2d86cca35e
nixos/dokuwiki: change default of aclFile and usersFile
...
`aclFile` and `usersFile` will be set to a default value if `aclUse` is
specified and aclFile is not overriden by `acl`.
2020-04-18 23:37:19 +02:00
dadada
af6a7a0486
nixos/dokuwiki: add plugins and templates options
...
Adds support for additional plugins and templates similarly to how
wordpress.nix does it.
Plugins and templates need to be packaged as in the example.
2020-04-18 23:37:18 +02:00
dadada
dc7ed06615
nixos/dokuwiki: add <name?> option
...
Enables multi-site configurations.
This break compatibility with prior configurations that expect options
for a single dokuwiki instance in `services.dokuwiki`.
2020-04-18 23:37:18 +02:00
Jan Hrnko
8bab2dec10
nixos/dokuwiki: init module at 2018-04-22b
2020-01-24 13:27:10 +01:00