Wykres commitów

  • 20edda4936 Upgrade pre-commit hooks and reformat code main Jaap Joris Vens 2023-02-21 00:21:13 +0100
  • 94af72cca8 Merry 1.1.1 Jaap Joris Vens 2022-12-25 21:52:42 +0100
  • 9588d7ac72 Bump version number Jaap Joris Vens 2022-12-25 01:16:09 +0100
  • 1fda2f40c1 Spam-resistant contact form Jaap Joris Vens 2022-12-25 01:10:41 +0100
  • 347ee7ac3b Upgrade pre-commit hooks Jaap Joris Vens 2022-12-25 01:08:42 +0100
  • ac49478bbb Re-introduce section IDs Jaap Joris Vens 2022-12-25 00:25:13 +0100
  • 80133f8aa1 Add missing translations Jaap Joris Vens 2022-01-29 13:36:59 +0100
  • 74c896b86e Properly sort out pre-commit hook handling Jaap Joris Vens 2022-01-29 12:56:45 +0100
  • 924031f3ac Reverse tidy and cache middleware Jaap Joris Vens 2021-07-05 01:41:18 +0200
  • 98de86f49d Blackify everything Jaap Joris Vens 2021-07-04 01:59:48 +0200
  • cd8151b2ce Refactor models into models, fields and mixins Jaap Joris Vens 2021-06-30 00:48:50 +0200
  • 5957b91f5b ...and `autoupdate` them Jaap Joris Vens 2021-06-30 00:48:04 +0200
  • eb969cfb8e Add useful pre-commit hooks Jaap Joris Vens 2021-06-30 00:03:22 +0200
  • c4300bafa1 Django 3.2 compatibility Jaap Joris Vens 2021-06-29 23:01:02 +0200
  • 987d04899d Poof! Jaap Joris Vens 2021-01-24 17:43:52 +0100
  • 7e552ea273 No shit, Sherlock! Jaap Joris Vens 2021-01-24 00:35:24 +0100
  • 7b7263abfc Giddyup! Jaap Joris Vens 2021-01-24 00:33:26 +0100
  • 3baf7131c4 Good to go! Jaap Joris Vens 2021-01-24 00:23:11 +0100
  • 492d2685bd It's probably not as good as I think Jaap Joris Vens 2021-01-23 23:37:36 +0100
  • 4c0ff4190f This is just a test Jaap Joris Vens 2021-01-23 23:27:10 +0100
  • 44941ec239 Add django-tidy Jaap Joris Vens 2021-01-23 11:38:10 +0100
  • ba4909f337 Keepin' it real. Jaap Joris Vens 2021-01-23 10:42:13 +0100
  • df0e164775 Roger! Jaap Joris Vens 2021-01-23 10:38:37 +0100
  • 2a189e55dc Explicit is better than implicit Jaap Joris Vens 2021-01-23 10:35:11 +0100
  • 8dcf61c766 Let's rock! Jaap Joris Vens 2021-01-23 10:29:24 +0100
  • a5d468d54c Prepare for first release Jaap Joris Vens 2021-01-23 00:31:06 +0100
  • e228763052 The `simplecms` command is now a proper entrypoint Jaap Joris Vens 2021-01-23 00:15:44 +0100
  • 07d5aaea9c Update example middleware Jaap Joris Vens 2020-11-09 22:16:34 +0100
  • c2e0bed323 Improve image section by fixing aspect ratio to 16:9 Jaap Joris Vens 2020-11-09 21:23:52 +0100
  • 3c8d5f6afe Reduce indentation Jaap Joris Vens 2020-09-13 23:16:38 +0200
  • 43c4cd281c Custom cache middleware that doesn't serve cached pages to logged-in users. The hard problem of detecting whether a user is logged in is simply sidestepped by assuming that any user that sends the `sessionid` cookie is logged in. This is true as long as you don't save session variables on anonymous users (i.e. if you don't spy on them ;) Jaap Joris Vens 2020-09-12 15:13:02 +0200
  • b3138ad1f0 Update readme Jaap Joris Vens 2020-07-11 19:09:01 +0200
  • b3e2132762 Don't show 404s to logged-in users, but the new page form Jaap Joris Vens 2020-05-20 19:03:14 +0200
  • 4a5259d831 Do what I want Jaap Joris Vens 2020-05-20 18:29:22 +0200
  • 125f643cec Same, but for views.py Jaap Joris Vens 2020-05-20 18:15:23 +0200
  • 11fa5ba39b Changed has_perms() to has_perm(), because the former always returns False... Jaap Joris Vens 2020-05-20 18:03:53 +0200
  • 257a51cb57 Allow multiple email recipients Jaap Joris Vens 2020-04-29 23:32:13 +0200
  • 4a8c804452 Better form handling Jaap Joris Vens 2020-03-29 01:54:56 +0100
  • e9fddf8a2e Fix invalid form bug (in an ugly way...) Jaap Joris Vens 2020-03-25 16:52:16 +0100
  • be39b3fcaa Update example project Jaap Joris Vens 2020-03-24 22:14:33 +0100
  • 96ce4c4ac3 Scale edit interface to 100% width Jaap Joris Vens 2020-03-24 18:16:33 +0100
  • c552f52e46 Various small improvements Jaap Joris Vens 2020-03-24 15:32:12 +0100
  • b092c12c99 [ no commit message supplied ] Jaap Joris Vens 2020-03-24 01:55:49 +0100
  • ab9dc1621f Updated example project with cache settings. Also, deleted frontend templates from cms app. Jaap Joris Vens 2020-03-24 01:15:17 +0100
  • a9b4d5dfb3 [ no commit message supplied ] Jaap Joris Vens 2020-03-22 22:05:11 +0100
  • 1e503349d6 Minor tweaks Jaap Joris Vens 2020-03-22 21:19:12 +0100
  • 66755c1e40 Update readme Jaap Joris Vens 2020-03-22 20:23:41 +0100
  • 2382fd47f0 Tidying up! Jaap Joris Vens 2020-03-22 19:57:48 +0100
  • 0e221ccf33 The dependency on swapper has been replaced with an incredibly simply "registry". Client projects register their models and views during import time with a decorator. The cms views use the registered classes to generate pages and forms. Jaap Joris Vens 2020-03-22 12:46:10 +0100
  • 98b1a61af1 New template tag: {% edit %} which generates a simple edit link for the current section Jaap Joris Vens 2020-03-21 20:24:07 +0100
  • 3cc1f9ec08 New version! Modelled after Django's admin application, simplecms now allows you to define everything related to it in the file 'cms.py'. No more inherited proxy models and no more migrations every time you add/remove a section type! In fact, the dependency on django-polymorphic has completely been removed! Jaap Joris Vens 2020-03-21 18:49:41 +0100
  • 09f03b6866 Even better permissions. Seems that they get swapped automatically! Jaap Joris Vens 2020-03-20 14:32:53 +0100
  • d5bbfb67cf Not sure if this accounts for swapped models... Jaap Joris Vens 2020-03-20 14:19:01 +0100
  • 89600bad98 Allow form sections to return http responses Jaap Joris Vens 2020-03-20 13:45:49 +0100
  • 2b9c9d9a14 email Jaap Joris Vens 2020-03-19 21:48:03 +0100
  • 2332740cf9 css tweaks Jaap Joris Vens 2020-03-19 21:12:41 +0100
  • 9a8822f68b This was one of those bugs where you search for hours, endlessly, only to arrive at a simple, senseful and elegant solution that costs only 3 lines to implement. Jaap Joris Vens 2020-03-19 18:59:29 +0100
  • 764f135785 More sensible default email addresses Jaap Joris Vens 2020-03-18 23:57:37 +0100
  • bd2d622db9 Warning! Backwards-incompatible change: custom views should now be placed in cms.py (instead of views.py) Jaap Joris Vens 2020-03-17 18:15:58 +0100
  • 045b05a337 Give each section it's own id for use in urls (e.g., http://localhost/#give-me-snacks) Jaap Joris Vens 2020-03-16 19:32:39 +0100
  • 774e9e7379 Remove SectionFormSetView. If you need formsets, just add them to your custom form! Jaap Joris Vens 2020-03-14 12:35:15 +0100
  • d8d54ea4c4 Refactor forms.py: quite elegant and reusable Page _and_ Section forms. Both work with the same edit.html template. Finally you can edit sections individually! Jaap Joris Vens 2020-03-13 23:08:21 +0100
  • 1989615e60 Pixel peeping + javascript robustness Jaap Joris Vens 2020-03-13 09:39:27 +0100
  • 712b542610 Default form styling Jaap Joris Vens 2020-03-11 22:59:44 +0100
  • b56bbec534 Ready for the first deployment! Jaap Joris Vens 2020-03-11 11:48:37 +0100
  • 2ef844044d Make forms save and look pretty Jaap Joris Vens 2020-03-10 23:55:46 +0100
  • e47d35a578 Alright, this is much better! Client side javascript much cleaner, plus the templates are now truly recursive! Moving on to implementing the server side code. Jaap Joris Vens 2020-03-10 15:17:46 +0100
  • 3cabdda617 Got a perfect _server side_ solution for accepting forms with nested formsets, automatically generated from a reusable app foreign key relations to their section model. Georgeous! Jaap Joris Vens 2020-03-09 18:24:39 +0100
  • da6cff19f6 New experimental feature branch: subsections. Jaap Joris Vens 2020-03-08 22:19:39 +0100
  • 8bd8bdde47 Beautiful hand-drawn edit icon by MadeByJane Jaap Joris Vens 2020-03-07 22:52:14 +0100
  • f715a472d7 Pure javascript for dynamically adding forms to formsets. Works, but id attributes are not properly incremented and will cause unknown trouble in the future. Strangely enough, it works for now! Jaap Joris Vens 2020-03-06 14:37:25 +0100
  • e4950e8d47 Big downstream changes, little upstream tweaks Jaap Joris Vens 2020-03-02 19:13:01 +0100
  • bf312ed647 Translations Jaap Joris Vens 2020-02-20 22:48:35 +0100
  • 84131e05db css Jaap Joris Vens 2020-02-20 11:16:00 +0100
  • 241e5af2d3 Form logic: only save if valid, delete pages when the last sections is deleted Jaap Joris Vens 2020-02-20 10:49:11 +0100
  • d5f5bb4296 Change default fields. This breaks existing migrations. Deal with it. Jaap Joris Vens 2020-02-19 22:24:01 +0100
  • 25770feb57 I can't believe it actually works! Jaap Joris Vens 2020-02-19 20:13:43 +0100
  • c0464a5ab6 Simplify CRUD logic Jaap Joris Vens 2020-02-19 16:35:23 +0100
  • b783424ff5 Improve forms Jaap Joris Vens 2020-02-17 11:03:31 +0100
  • 03a89075f6 An experiment with a single-modal interface. Click any element with class="editable" and the corresponding formfield will be unhidden. The Read/Write Web as Sir Berners-Lee intended it. readwriteweb Jaap Joris Vens 2020-02-16 20:54:47 +0100
  • bd8d82d4e7 Another try at making both the Page and Section models be swappable (damn migrations!) Jaap Joris Vens 2020-02-16 15:32:38 +0100
  • 75196b08b2 minor Jaap Joris Vens 2020-02-16 14:54:06 +0100
  • c720cac33e New potentially useful section view: a section with a formset. Strange that django/views/generic/edit.py doesn't provide this. I fear I'm going to find out why... Jaap Joris Vens 2020-02-15 14:44:44 +0100
  • 7c0eb51c75 minor Jaap Joris Vens 2020-02-15 07:51:00 +0100
  • a7a640a721 Fix non-cms forms Jaap Joris Vens 2020-02-14 22:03:25 +0100
  • 3d66484afe New feature: auto-resizing textarea's Jaap Joris Vens 2020-02-14 21:40:00 +0100
  • 3f900617c8 Re-introduce formsets Jaap Joris Vens 2020-02-14 17:20:41 +0100
  • ddbd220527 no exceptions Jaap Joris Vens 2020-02-13 20:37:38 +0100
  • a217b1891a Fix NumberedModel bug Jaap Joris Vens 2020-02-08 08:31:51 +0100
  • ac26eea81c Oops Jaap Joris Vens 2020-01-31 19:43:15 +0100
  • 5ddf0c7e0e Missing translations Jaap Joris Vens 2020-01-13 11:49:55 +0100
  • fc64b876da Move ContactForm back to cms package. Where should it live? Jaap Joris Vens 2020-01-06 12:51:10 +0100
  • 2824d290f8 Cleanup source tree Jaap Joris Vens 2020-01-05 13:37:51 +0100
  • 5f5f303187 A new templatetag 'includesection' now renders a section with its own context, as provided by the polymorphic subsection's registered view. Jaap Joris Vens 2020-01-05 03:36:23 +0100
  • 9e1baf6ee1 Add bleach to the dependencies (although it is not currently being used...) Jaap Joris Vens 2020-01-02 23:45:27 +0100
  • f9ea04662b Replace CKEditor's RichTextField with MarkdownField Jaap Joris Vens 2020-01-02 23:37:26 +0100
  • bd654f5103 Minor Jaap Joris Vens 2020-01-02 20:30:24 +0100
  • e0dddeda08 New machinery for registering custom views Jaap Joris Vens 2020-01-02 19:32:15 +0100
  • 25350b4706 New helper command: simplecms Jaap Joris Vens 2020-01-02 03:33:41 +0100
  • a69d51a0dc Automatic detection of available section types Jaap Joris Vens 2020-01-02 01:56:15 +0100