Wykres commitów

158 Commity (main)

Autor SHA1 Wiadomość Data
Jaap Joris Vens c547ba4153 Tweak project settings 2024-12-25 11:10:39 +01:00
Jaap Joris Vens 9c9cc50d81 Update README 2024-12-11 09:57:58 +01:00
Jaap Joris Vens 20d2378194 Update README 2024-12-10 23:38:04 +01:00
Jaap Joris Vens d0140132db Update README 2024-12-10 23:36:57 +01:00
Jaap Joris Vens b35c07d5a0 Update README 2024-12-10 23:30:59 +01:00
Jaap Joris Vens 3427d6c30c Update README 2024-12-10 23:29:06 +01:00
Jaap Joris Vens c47dbf2613 Update README 2024-12-10 23:20:02 +01:00
Jaap Joris Vens 1e290aec9c Update README 2024-12-10 23:18:23 +01:00
Jaap Joris Vens 9b4cea413c Bump version 2024-12-10 23:18:10 +01:00
Jaap Joris Vens c52be27802 Make email subject user-configurable 2024-12-10 23:08:03 +01:00
Jaap Joris Vens 31fd811985 Remove empty file 2024-12-10 23:06:03 +01:00
Jaap Joris Vens 6781532448 Add missing docstrings 2024-12-10 23:05:36 +01:00
Jaap Joris Vens 6f02a846a2 Update README 2024-12-10 01:07:19 +01:00
Jaap Joris Vens 03a71c583e Tweak `pyproject.toml` 2024-12-10 01:07:14 +01:00
Jaap Joris Vens a8b8bddc12 Do as promised 2024-12-10 01:03:35 +01:00
Jaap Joris Vens 5a4bbca1ab Clean up example project 2024-12-10 01:03:13 +01:00
Jaap Joris Vens d6836a6828 Remove unused files 2024-12-09 23:35:19 +01:00
Jaap Joris Vens 95a5dd424f Switch to `pyproject.toml` configuration 2024-12-09 23:34:52 +01:00
Jaap Joris Vens 1fe9969cfc Change license to GPLv3 2024-12-09 23:34:22 +01:00
Jaap Joris Vens 7caf63b5eb Update pre-commit hooks 2024-12-09 23:33:22 +01:00
Jaap Joris Vens 20edda4936 Upgrade pre-commit hooks and reformat code 2023-02-21 00:21:13 +01:00
Jaap Joris Vens 94af72cca8 Merry 1.1.1
This release fine-tunes the translations and offers a ready-to-use,
spam resistant contact form. Submitting the form will open the user's
mail app with an email addressed to the `href` field of the section.

This method, although unconventional, has been tested by my mother on
several of her devices, which proofs anyone can use it. It couldn't be
easier and, best of all, no more spam! \o/
2022-12-25 22:02:50 +01:00
Jaap Joris Vens 9588d7ac72 Bump version number 2022-12-25 01:16:09 +01:00
Jaap Joris Vens 1fda2f40c1 Spam-resistant contact form
Submitting the form now returns a 302 mailto: redirect, which should
open the user's email client with a pre-composed email. In case it
doesn't work, the example form view now renders text content where
{{ section.href }} should be mentioned as an alternative.

Of course, publishing an email address on the internet will still lead
to spam, but at least Django won't be the one sending it.
2022-12-25 01:10:41 +01:00
Jaap Joris Vens 347ee7ac3b Upgrade pre-commit hooks 2022-12-25 01:08:42 +01:00
Jaap Joris Vens ac49478bbb Re-introduce section IDs
We may have had these before, and they may have been removed because
of concerns that IDs must be unique that non-unique IDs would be
caught by Django-Tidy. Or maybe not, I can't remember.
2022-12-25 00:25:13 +01:00
Jaap Joris Vens 80133f8aa1 Add missing translations 2022-01-29 13:36:59 +01:00
Jaap Joris Vens 74c896b86e Properly sort out pre-commit hook handling
What this means is that the source code of SimpleCMS now passes all the the
pre-commit hooks, and that the code generated by `simplecms` _also_ passes
all the pre-commit hooks.
2022-01-29 12:56:45 +01:00
Jaap Joris Vens 924031f3ac Reverse tidy and cache middleware
I don't fully understand why this is needed, but one project (invoices) for
some reason won't work without it...
2021-07-05 01:41:18 +02:00
Jaap Joris Vens 98de86f49d Blackify everything 2021-07-04 01:59:48 +02:00
Jaap Joris Vens cd8151b2ce Refactor models into models, fields and mixins 2021-06-30 00:48:50 +02:00
Jaap Joris Vens 5957b91f5b ...and `autoupdate` them 2021-06-30 00:48:04 +02:00
Jaap Joris Vens eb969cfb8e Add useful pre-commit hooks 2021-06-30 00:03:51 +02:00
Jaap Joris Vens c4300bafa1 Django 3.2 compatibility 2021-06-29 23:01:02 +02:00
Jaap Joris Vens 987d04899d Poof! 2021-01-24 17:43:52 +01:00
Jaap Joris Vens 7e552ea273 No shit, Sherlock! 2021-01-24 00:35:24 +01:00
Jaap Joris Vens 7b7263abfc Giddyup! 2021-01-24 00:33:26 +01:00
Jaap Joris Vens 3baf7131c4 Good to go! 2021-01-24 00:23:11 +01:00
Jaap Joris Vens 492d2685bd It's probably not as good as I think 2021-01-23 23:37:36 +01:00
Jaap Joris Vens 4c0ff4190f This is just a test 2021-01-23 23:27:10 +01:00
Jaap Joris Vens 44941ec239 Add django-tidy 2021-01-23 11:38:10 +01:00
Jaap Joris Vens ba4909f337 Keepin' it real. 2021-01-23 10:42:13 +01:00
Jaap Joris Vens df0e164775 Roger! 2021-01-23 10:38:37 +01:00
Jaap Joris Vens 2a189e55dc Explicit is better than implicit 2021-01-23 10:35:11 +01:00
Jaap Joris Vens 8dcf61c766 Let's rock! 2021-01-23 10:29:24 +01:00
Jaap Joris Vens a5d468d54c Prepare for first release 2021-01-23 00:31:06 +01:00
Jaap Joris Vens e228763052 The `simplecms` command is now a proper entrypoint 2021-01-23 00:15:44 +01:00
Jaap Joris Vens 07d5aaea9c Update example middleware 2020-11-09 22:16:34 +01:00
Jaap Joris Vens c2e0bed323 Improve image section by fixing aspect ratio to 16:9 2020-11-09 21:23:52 +01:00
Jaap Joris Vens 3c8d5f6afe Reduce indentation 2020-09-13 23:16:38 +02:00