Commit Graph

224 Commits

Author SHA1 Message Date
Frédéric Péters 3438c01951 tests: add a test adding/editing a text cell 2015-01-18 15:09:59 +01:00
Frédéric Péters 4831e74090 tests: add a custom settings file to get tests run with LANGUAGE=en-us 2015-01-17 19:30:05 +01:00
Frédéric Péters 9416909bd0 general: add French translation (#6309) 2015-01-17 19:15:16 +01:00
Frédéric Péters 1c25348ce9 data: add __unicode__ method to cells 2015-01-17 17:08:54 +01:00
Frédéric Péters 64f351e933 pylint: remove unused imports 2015-01-17 17:07:16 +01:00
Frédéric Péters 7b88cf5d4e tests: remove setup function as it's not allowed database access 2015-01-17 15:37:30 +01:00
Frédéric Péters dff7a29851 tests: initial tests for manager pages 2015-01-17 15:32:23 +01:00
Frédéric Péters 3463e00d39 manager: fix initial message text 2015-01-17 15:16:59 +01:00
Frédéric Péters 2cdcbe8760 pylint: remove unused file 2015-01-17 14:33:55 +01:00
Frédéric Péters 8744d4d9c4 pylint: remove unused import 2015-01-17 14:33:20 +01:00
Frédéric Péters 756c796562 pylint: fix spacing between list elements 2015-01-17 14:32:42 +01:00
Frédéric Péters 2196389d5e settings: don't import all of global_settings 2015-01-17 14:23:05 +01:00
Frédéric Péters e6d9c8bb22 pylint: remove unused imports 2015-01-17 14:19:16 +01:00
Frédéric Péters 78edbe3645 pylint: fix class reference in super() call 2015-01-17 14:17:44 +01:00
Frédéric Péters 7de3551e05 pylint: remove unnecessary semicolons 2015-01-17 14:17:41 +01:00
Frédéric Péters a584bd720c add initial tests on pages and cells 2015-01-17 14:01:57 +01:00
Frédéric Péters 3600e857cc general: add django-mellon optional usage (#6195) 2015-01-17 12:53:04 +01:00
Frédéric Péters 20fae52c59 manager: add an excerpt of the cell content in title 2015-01-17 12:50:34 +01:00
Frédéric Péters ebff1e6ad1 blurps: make it possible to mark blurps as private 2015-01-17 12:50:34 +01:00
Frédéric Péters f703a6799b general: add visibility settings to cells (#6201) 2015-01-17 12:50:34 +01:00
Frédéric Péters d96caac307 manager: makes sure slug is unique 2015-01-17 12:50:33 +01:00
Frédéric Péters 78cf8156cd manager: fill first page form with default values 2015-01-17 12:50:33 +01:00
Frédéric Péters cfcb70a3f1 manager: add an informational message when site is empty 2015-01-17 12:50:33 +01:00
Frédéric Péters d6575cccb7 manager: add link to delete a page 2015-01-17 12:50:33 +01:00
Frédéric Péters 30ed79d202 manager: move list of pages to management homepage 2015-01-17 12:50:33 +01:00
Frédéric Péters a3c371f76a general: redirection page (#6199) 2015-01-17 12:50:33 +01:00
Frédéric Péters 8e86134677 general: make it possible to exclude a page from navigation 2015-01-17 12:50:33 +01:00
Frédéric Péters 3ed5b2c4eb manage: force user to be logged in as staff to access management pages (#6278) 2015-01-17 12:50:32 +01:00
Frédéric Péters 85d26f199e add settings and URLs required for ckeditor image upload support 2015-01-17 12:49:51 +01:00
Frédéric Péters 4af530ed00 wcs: add combo/wcs/formdef integration (#6227) 2015-01-17 12:49:07 +01:00
Frédéric Péters ae8a573417 public: add a common 'cell' class to all cells 2015-01-17 12:49:07 +01:00
Frédéric Péters d24b54cf59 general: add visibility settings to pages (#6200) 2015-01-14 15:35:43 +01:00
Frédéric Péters 8ea6b07b8e misc: enable admin/, will be useful to debug users/groups 2015-01-14 15:35:43 +01:00
Frédéric Péters e1d9e084d1 misc: use a custom ckeditor toolbar 2015-01-14 15:35:43 +01:00
Frédéric Péters 449a4cc10c bump django requirement to 1.7 (#6221) 2015-01-14 15:35:43 +01:00
Frédéric Péters db192efede library: initialize the content-type mapping lazily
This is required for Django 1.7 as the contenttypes application is not
initialized properly when the cell data models are loaded and added to
the registry.
2015-01-12 09:45:38 +01:00
Frédéric Péters 2534f36acd general: add menu template tag (#6198) 2015-01-12 09:45:38 +01:00
Frédéric Péters c9fea9fecb manager: add preliminary page export to json (#6197) 2015-01-12 09:45:38 +01:00
Frédéric Péters ac28c3eff2 public: add minimalistic styling (#6218) 2015-01-12 09:45:38 +01:00
Frédéric Péters 198e5699e1 manager: load 'new page' form into a dialog 2015-01-12 09:45:38 +01:00
Frédéric Péters 1f5764b0ad manager: add a title to page add/edit template 2015-01-12 09:45:38 +01:00
Frédéric Péters ef752fecb8 doc: add 'architecture' and 'settings' sections to the README file 2015-01-12 09:45:38 +01:00
Frédéric Péters 4453710bd5 add support for placeholder acquisition (#6217) 2015-01-12 09:45:38 +01:00
Frédéric Péters 3e126c8a9e combo: add a template with a sidebar to default configuration 2015-01-12 09:45:38 +01:00
Frédéric Péters 31031985a2 settings: load local_settings.py from env (#6196) 2015-01-12 09:45:38 +01:00
Frédéric Péters 5d53ad725d turn CellBase into an abstract class
This removes the django-model-utils dependency and will allow for a very
simple serialisation of objects.
2015-01-12 09:45:38 +01:00
Frédéric Péters 6cedb0e9d2 manager: rough (re-)ordering of pages
This is not perfect as it uses Sortable from jquery-ui which is adapted for
flat lists, not nested lists, and ideally we would want to create multiple
placeholders per element, to make it clear the lement is moved as a child
or as a sibling.
2015-01-12 09:45:38 +01:00
Frédéric Péters f11420e24f manager: very rough hierarchy navigation 2015-01-12 09:45:38 +01:00
Frédéric Péters ee27b040c6 manager: add link to go to the public view 2015-01-12 09:45:38 +01:00
Frédéric Péters ac0fba548e add support for page hierarchy 2015-01-12 09:45:38 +01:00