Commit Graph

20 Commits

Author SHA1 Message Date
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
Josue Kouka 83120c469a family: don't force async cell rendering (#19996) 2017-12-21 12:43:46 +01:00
Frédéric Péters 96208f1f40 misc: also look for placeholders within cells (#19443) 2017-10-16 14:28:13 +02:00
Frédéric Péters 9eb9209913 misc: remove loading of jquery ui css (#14464) 2017-02-13 11:48:34 +01:00
Frédéric Péters 81cb7b096c family: rewrite info cell logic/template for readability and behaviour (#13945)
* do not call webservices for anonymous users;
 * display a proper error in case of webservice failure;
 * always include cell title and appropriate margins.
2016-12-16 16:30:15 +01:00
Frédéric Péters c11937fdd3 family: fix return value of is_enabled (#11225) 2016-06-29 17:42:56 +02:00
Frédéric Péters 86b65610bb pylint: remove unused imports 2016-06-01 10:05:21 +02:00
Thomas NOËL a1ac0fe712 family: an empty context is {}, not None (#10860) 2016-05-16 12:38:28 +02:00
Thomas NOËL 3800769470 family: use combo.utils.requests (#10565)
Warning: modification of FAMILY_SERVICE setting format:

  FAMILY_SERVICE = {'root': '/connector/instance/'}

where '/connector/instance/' is the URL of the connector created in
passerelle.

The family cell now use the first 'passerelle' service in
KNOWN_SERVICES setting.
2016-04-07 10:15:55 +02:00
Thomas NOËL 04073d6be5 family: "magic removal", use only family WS informations (#9890) 2016-02-07 19:28:52 +01:00
Serghei Mihai 50f44453ec handle unicode params in url encoding (#9686) 2016-01-21 13:30:59 +01:00
Benjamin Dauvergne 9966a43736 add context parameter to get_cell_extra_context (#9596) 2016-01-19 14:39:03 +01:00
Thomas NOËL 7f0dd9f035 family: select formdefs presenting all keywords 2015-11-12 01:37:10 +01:00
Thomas NOËL f4808f0a33 family: always return a family to cell, even if empty or error 2015-11-12 00:23:23 +01:00
Thomas NOËL b5ccede04f family: use id varnames used in wcs forms (#8275) 2015-11-11 19:18:24 +01:00
Thomas NOËL a2a1b66783 family: link to wcs forms via keywords and person id (#8275) 2015-11-10 15:17:51 +01:00
Thomas NOËL 51beecdf88 family: rewrite get_cell_extra_context 2015-11-10 14:38:23 +01:00
Serghei Mihai 5d92020fd4 family: allow family linking inside the cell (#8509) 2015-10-23 11:10:36 +02:00
Serghei Mihai ebcd1e70eb family: remove alternate text from context 2015-09-21 18:35:33 +02:00
Serghei Mihai f26afe2cb1 basic family information cell (#8125) 2015-09-21 15:05:09 +02:00