aboutsummaryrefslogtreecommitdiffstats
path: root/tests (unfollow)
Commit message (Collapse)Author
2025-04-23modules/stalwart-mail: Explicitly list out valid password hashesBenedikt Peetz
If a password hash does not match stalwart's know ones, it will just treat it as plaintext. This is obviously very bad, and should be avoided.
2025-04-22test/sharkey: InitBenedikt Peetz
We can't test that much, as user creation and general configuration seems to be locked behind completing a point and click adventure, once Sharkey is actually setup. As such, we simply test, that Sharkey starts and provides its default HTML.
2025-04-22tests/{common,email-dns}: Move last part of acme and dns handling to commonBenedikt Peetz
This makes re-using it even easier.
2025-04-22tests/email-dns: Factor out all of the secrets/acme stuff into a common dirBenedikt Peetz
This makes it easier to re-use this test data for various tests.
2025-04-11{modules,test}/taskchampion-sync: InitBenedikt Peetz
2025-04-01tests/email-dns/secrets/dkim/gen_key.sh: Add shellcheck shellBenedikt Peetz
2025-04-01tests/dns: Avoid tracing the name-server interfacesBenedikt Peetz
2025-03-27tests/email-dns/secrets: Re-key secrets, so that soispha and sils can read themBenedikt Peetz
Doing a full `ragenix --rekey --idenitity <soispha.age.key>` run will fail, if there are secrets that she cannot decrypt. Thus encrypt the test secrets with all keys.
2025-03-09{modules,tests}/back: Update to deal with newest backBenedikt Peetz
2025-03-09modules/stalwart-mail: Remove now unneeded `allowInsecureSmtp` optionBenedikt Peetz
2025-03-09tests/email-dns: InitBenedikt Peetz
This test is somewhat involved, but tries to exercise our full mail handling capabilities. It effectively only tests that alice can send a message to bob, but it checks nearly all security mechanisms (DNSSEC is currently still missing).
2025-03-09test/email-ip: Rename from the general `email` testBenedikt Peetz
2025-03-09{modules,tests}/dns: InitBenedikt Peetz
Most of the dns module was taken from: <https://github.com/nix-community/dns.nix>
2025-03-09tests/email: Test the mvpBenedikt Peetz
2024-12-25fix(modules/back): Remove the `gitPath` from the service nameBenedikt Peetz
With it, the service names become nearly illegible.
2024-12-25fix(modules/git-server): Use `vhack.persist` for data-directoriesBenedikt Peetz
This avoids having to create them manually on the server and is, overall just generally a better way to solve this problem.
2024-12-24feat(tests/back): InitBenedikt Peetz
2024-12-23style(treewide): FormatBenedikt Peetz
2024-12-20refactor({modules,test}): Migrate to a `by-name` structureBenedikt Peetz
2024-08-13test(nixos/git-server): Include the start of a test for cgit's README renderingBenedikt Peetz
2024-08-13fix(nixos/git-server): Correctly enable the git config feature of gitoliteBenedikt Peetz
The previously set variable is only used in the gitolite.conf file for the `config` specifications on each repo. We can't use that because we use "wild-repos". Thus we need to add the `user-configs` option to each repo, allow users to change the git settings specified there with a simple `ssh git@git.vhack.eu config <repo> --set cgit.owner <name>`.
2024-08-13test(tests/git-server): Add initial testsBenedikt Peetz
The last line, testing for the about page rendering is not yet working. I assume that's because of our hand-rolled list-to-string function thingy in the `cgitrc`. After <https://github.com/NixOS/nixpkgs/pull/317293> is merged, this should probably improve immensely.
2024-08-02test(tests): Init infrastructureBenedikt Peetz
The modules still need to be imported one-by-one in `default.nix` files because we have yet to rewrite this, but the new test infrastructure might as well use the new `fileset` functions from `nixpkgs`.