Commit Graph

208 Commits

Author SHA1 Message Date
Frédéric Péters 3b02a99687 misc: remove obsolete parameters cell (#39087) 2020-01-24 10:57:38 +01:00
Lauréline Guérin 24619ce6db
cells: add a cell type "list of links" (#11006) 2020-01-24 10:31:43 +01:00
Frédéric Péters 0069c0495a misc: enable support for timeout in json cell post actions (#39084) 2020-01-24 09:03:32 +01:00
Thomas NOËL 800d9a1c9e jsoncell: increase url max length up to 500 chars (#38839) 2020-01-08 12:24:06 +01:00
Lauréline Guérin 8ed1923e44
page: fix slug on page duplication (#37733) 2019-11-19 15:27:21 +01:00
Nicolas Roche 879be68be4 utils: do not raise on Django syntax error in templated_url (#34518) 2019-11-18 16:00:34 +01:00
Lauréline Guérin 6be400fcfc
page: add a duplicate action (#24526) 2019-11-04 08:40:01 +01:00
Lauréline Guérin 45309fd524
pages: add a param check_visibility to next/previous methods (#12437) 2019-11-03 17:28:17 +01:00
Lauréline Guérin ccf99d908f
dj2: is_anonymous and is_authenticated are now properties (#36895)
remove RemovedInDjango20Warning:
Using user.is_authenticated() and user.is_anonymous() as a method is deprecated.
Remove the parentheses to use it as an attribute.
2019-10-29 08:35:46 +01:00
Lauréline Guérin 49830fc9c5
dj2: add explicit on_delete on all ForeignKey (#36895)
remove RemovedInDjango20Warning:
on_delete will be a required arg for ForeignKey in Django 2.0.
Set it to models.CASCADE on models and in existing migrations if you want to
maintain the current default behavior.
See https://docs.djangoproject.com/en/1.11/ref/models/
fields/#django.db.models.ForeignKey.on_delete
2019-10-29 08:35:21 +01:00
Lauréline Guérin ce355fa833
page: display page visibility on page list (#16028) 2019-10-28 09:13:02 +01:00
Lauréline Guérin 82503cdd7d
feedcell: do not fail if service is not available (#21383) 2019-10-28 09:05:05 +01:00
Frédéric Péters 826acc3b24 misc: use json method to load JSON responses (#35425) 2019-08-18 14:46:48 +02:00
Thomas NOËL 4167cf082a manager: validate template syntax in json prototype cell (#34738) 2019-07-31 11:50:37 +02:00
Frédéric Péters a72c25dd59 misc: allow template URLs in feed and json cells (#15423) 2019-07-12 13:36:58 +02:00
Frédéric Péters 9784211b5a misc: rename "json feed" cell as "json prototype" cell (#34471) 2019-07-01 19:51:18 +02:00
Frédéric Péters 5b4598c901 misc: allow page picture to be svg (#34334) 2019-06-25 18:08:43 +02:00
Benjamin Dauvergne c6095a099c add django request context to requests error logs (#33740) 2019-06-06 16:49:07 +02:00
Frédéric Péters 43f25b588f misc: don't crash rendering a text cell without content (#33227) 2019-05-19 10:12:10 +02:00
Frédéric Péters 24af3c8a2f add a gallery cell type (#7344)
Signed-off-by: Christophe Siraut <csiraut@entrouvert.com>
2019-05-14 09:31:42 +02:00
Frédéric Péters ede3575fb2 misc: mark text cell content as safe (#32823) 2019-05-12 20:05:13 +02:00
Frédéric Péters c9b4ed5d4e misc: allow variables in URLs in href/src of text cells (#17360) 2019-05-12 20:05:13 +02:00
Frédéric Péters f80bac14e0 misc: use absolute URIs for links in text cell in skeleton mode (#24681) 2019-05-12 20:05:13 +02:00
Frédéric Péters 9727fde513 misc: use absolute URIs for text cell images in skeleton mode (#24681) 2019-05-12 20:05:13 +02:00
Frédéric Péters 2bd06c348b misc: don't crash when cell cache refers to unknown cell types (#32046) 2019-04-09 18:28:20 +02:00
Frédéric Péters 5e5d3d4f72 misc: don't rely on is_anonymous being a CallableBool (#31026) 2019-03-01 11:34:22 +01:00
Frédéric Péters b1f13644d3 misc: add back a "parameters" key in json cell context (#30885) 2019-02-26 10:50:57 +01:00
Frédéric Péters c47ef6fd4d misc: pass configured json cell parameters to action URL templates (#30885) 2019-02-26 10:33:17 +01:00
Frédéric Péters 0662ae94ed manager: fix display of page edition in case of unknown template (#29383) 2019-01-17 11:57:00 +01:00
Frédéric Péters eed3f2c1a8 misc: give redirection URL access to subpage regex components (#28919) 2018-12-20 11:46:46 +01:00
Frédéric Péters 1563f06479 manager: include cell type as a CSS class (#29201) 2018-12-19 12:31:17 +01:00
Frédéric Péters 7fab95e8cf misc: change show_menu templatetag to ignore visibility by default (#29174) 2018-12-18 12:34:01 +01:00
Frédéric Péters 30fe6dcfa6 misc: always define cell.ajax_refresh (#29152) 2018-12-18 09:57:44 +01:00
Frédéric Péters 192b426700 misc: add page absolute URI to cell rendering context (#28777 2018-12-11 17:31:46 +01:00
Frédéric Péters 799780447e misc: give linkcell full context to create URL (#28099) 2018-11-19 13:46:41 +01:00
Frédéric Péters 139237f01e misc: give search renderer all context variables (#28093) 2018-11-19 13:46:41 +01:00
Frédéric Péters d9df32c8a6 misc: always skip cells attached to snapshot pages (#28038) 2018-11-15 11:13:49 +01:00
Frédéric Péters e626b0b6b3 general: revamp cell visibility options (#17001) 2018-10-29 14:37:55 +01:00
Frédéric Péters 299c3d2dcd general: allow POST to a cell to return the raw service response (#26373) 2018-09-12 21:41:27 +02:00
Frédéric Péters 90a11b1328 profile: add a new "user profile" cell (#25633) 2018-08-31 15:23:33 +02:00
Frédéric Péters cae8d0cda5 general: add "sub slug" to create variable pages (#23535) 2018-08-18 14:07:23 +02:00
Frédéric Péters d349635d07 misc: allow page with same slug but different parents (#8521) 2018-08-17 16:04:08 +02:00
Frédéric Péters c5f7d9ec3a json cells: don't log on empty URLs (#25692) 2018-08-16 09:33:08 +02:00
Frédéric Péters 67931d2d78 add compatibility with python 3 (#25486) 2018-07-28 09:55:59 +02:00
Frédéric Péters 35d9a1bbba general: create page hierarchy beforehand (#24238) 2018-07-16 09:04:59 +02:00
Frédéric Péters 9e6adee4f9 general: keep cache of cell types used in a page (#24239) 2018-07-16 09:04:59 +02:00
Frédéric Péters c905276c45 general: keep a redirect on slug and parent changes (#20760) 2018-07-13 08:46:09 +02:00
Frédéric Péters 13766c1a28 general: use a model to look for redirection before emitting a 404 (#20760) 2018-07-13 08:45:44 +02:00
Frédéric Péters 70c5da0d23 assets: add dynamic asset slots to category and form cells (#24770) 2018-06-29 17:02:41 +02:00
Thomas NOËL ab023ecbab jsoncell: change template_string name to Display Template (#24403) 2018-06-20 11:18:44 +02:00