Commit Graph

224 Commits

Author SHA1 Message Date
Valentin Deniaud 66b12b846a misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 16:14:41 +02:00
Lauréline Guérin 533a0d0919 wcs: fix WcsFormCell with too long form title (#75192)
gitea/combo/pipeline/head This commit looks good Details
2023-03-29 16:13:09 +02:00
Benjamin Dauvergne b3977ab00b wcs: resolve card_ids lazily (#74306)
The class LazyValue is a thunk[1] like in lazy evaluated language it is
initialized with a function needing no argument and store its result on
first call.

Direct access to the context to get the ids is replaced by calls to new
method WcsCardCell.get_card_ids(context). Original get_card_ids() is
renamed resolve_card_ids() and used with LazyValue to implement the lazy
evaluation of card_ids.

[1]: https://en.wikipedia.org/wiki/Thunk
2023-02-10 09:13:28 +01:00
Lauréline Guérin 165ffc8527
data: import/export based on uuids (#67710) 2023-02-01 17:45:47 +01:00
Frédéric Péters a172e0a0bd wcs: add setting to change user forms retrieval API limit (#73278) 2023-01-13 10:01:13 +01:00
Frédéric Péters e1046fa0b8 misc: disable "categories" cell (#23240)
gitea-wip/combo/pipeline/pr-main This commit looks good Details
2023-01-03 16:23:59 +01:00
Frédéric Péters 5dd42bd44b general: render page synchronously for bots (#72807)
gitea-wip/combo/pipeline/pr-main This commit looks good Details
2022-12-28 10:36:07 +01:00
Lauréline Guérin c6d1326490 wcs: use include-xxx params to get a single card (#71481) 2022-11-28 14:15:05 +01:00
Lauréline Guérin 3435da62b0
wcs: use include-xxx params instead of full (#71328)
gitea-wip/combo/pipeline/pr-main This commit looks good Details
2022-11-15 15:40:15 +01:00
Serghei Mihai d31bfde62b wcs: do not mix category and form descriptions (#70349)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-10-17 16:51:49 +02:00
Serghei Mihai 964461e27e wcs: uniformize forms links rendering (#65846) 2022-09-27 11:39:23 +02:00
Lauréline Guérin cf068ec94a
manager: reduce num of queries on page view (#69400)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-09-26 08:27:41 +02:00
Frédéric Péters 871742a416 misc: mark some cells as requiring a session (#69301) 2022-09-23 08:56:50 +02:00
Lauréline Guérin 77fa421ef4
wcs: card cell, by default configured for 'all cards' (#69019)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-09-13 14:27:25 +02:00
Lauréline Guérin c43d003e54
wcs: display field labels an hide cell slug if possible (#68643)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-09-12 15:32:39 +02:00
Lauréline Guérin f47971df8a
wcs: add user fields from card schema (#66897)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-09-12 15:19:28 +02:00
Lauréline Guérin 0cacfc0349
wcs: add user fields in card custom_schema configuration (#66898)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-09-12 15:03:09 +02:00
Lauréline Guérin 612555a697
wcs: card cell and custom schema for table display (#68721)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-09-12 14:56:13 +02:00
Lauréline Guérin b7b73533b7
search: configure target page for card engine (#68606) 2022-09-12 14:48:42 +02:00
Lauréline Guérin d051059544
wcs: import/export with link to page with sub_slug (#68534)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-09-12 14:40:42 +02:00
Lauréline Guérin 04165ad13c
wcs: custom schema, link item, target a page with sub_slug (#68534) 2022-09-12 14:40:42 +02:00
Lauréline Guérin 3e53c6a1f0 wcs: adjust labels in card ids selection for card cell (#68531) 2022-09-02 08:11:18 +02:00
Lauréline Guérin 99c021a4c9 wcs: fix card cell with incomplete schema (#67719) 2022-09-02 07:50:54 +02:00
Frédéric Péters bdf7e82f31 wcs: do not index card cells (#68539)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-08-30 11:44:01 +02:00
Lauréline Guérin 48aeff3105
translation update 2022-08-29 15:08:01 +02:00
Lauréline Guérin 4019081d34
wcs: add a css class depending on display mode on card cell (#68140) 2022-08-29 14:38:02 +02:00
Lauréline Guérin 3a3eae69ae
wcs: delete old card cell models (#68140) 2022-08-29 14:38:02 +02:00
Lauréline Guérin 797f9af235
wcs: add new card cell model (#68140) 2022-08-29 14:38:02 +02:00
Lauréline Guérin 0712cbe5d6
wcs: card cell with table mode can use cards cell assets (#68063)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-08-29 14:37:33 +02:00
Lauréline Guérin 5a1f1a9a51
wcs: fix custom_title update (#68063) 2022-08-29 14:37:33 +02:00
Lauréline Guérin 7716113a51
wcs: render card cell with table mode (#68063) 2022-08-29 14:37:33 +02:00
Lauréline Guérin fed5465f98
wcs: rename cards context variable (#68063)
It can conflict with Cards context object from
publik-django-templatetags
2022-08-29 14:37:32 +02:00
Lauréline Guérin c832299962
wcs: add display_mode option for card cell (#68063) 2022-08-29 14:37:32 +02:00
Lauréline Guérin 25da1b91b7
wcs: option to list all cards (#68037)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-08-29 14:34:25 +02:00
Lauréline Guérin 8df6e51c73
wcs: opti, use detail url if only one id (#68037) 2022-08-29 14:34:25 +02:00
Lauréline Guérin 9d4ae7974c
wcs: add pagination for list of cards (#68037) 2022-08-29 14:34:25 +02:00
Lauréline Guérin c96fb54b04
wcs: use only_for_user & without_user flags (#68037) 2022-08-29 14:05:47 +02:00
Lauréline Guérin d23bb074b6
wcs: update card cell model (#68037)
add fields only_for_user & limit
2022-08-29 14:05:47 +02:00
Lauréline Guérin 652a6dff32
wcs: for card cell with multiple ids, get all cards in one request (#68015)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-08-29 14:05:00 +02:00
Agate f77ad1bc2d replaced ugettext* calls with corresponding gettext* calls (#68183) 2022-08-29 09:35:13 +02:00
Thomas NOËL 12087eb075 wcs: do not add tryauth for bots (#68052) 2022-08-18 14:37:26 +02:00
Lauréline Guérin 5486f4c068
wcs: fix use of custom view in card cell with related (#67260)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-07-15 09:48:54 +02:00
Lauréline Guérin 907a3d7408
wcs: fix card cell global context with misordered cells (#67214)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-07-15 09:37:42 +02:00
Lauréline Guérin e9d2e6c349
wcs: custom title for forms in your care cell (#61589)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-07-04 15:46:15 +02:00
Lauréline Guérin 794bb74c32
data: add display condition to cells (#66263)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
and also on each item of a linklist cell
2022-06-24 09:00:47 +02:00
Lauréline Guérin 9b5274a663
wcs: hide general tab for categories cell if no wcs_site selection (#66310)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-06-16 16:51:25 +02:00
Corentin Sechet 2b68a863ed misc: move title fields to appearance tab (#64681) 2022-05-27 13:33:03 +02:00
Lauréline Guérin cf980643eb
wcs: fix cell rendering with anonymous users (#63220)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Something is wrong with the build of this commit Details
2022-04-15 08:37:51 +02:00
Frédéric Péters 6a33066ac9 wcs: add cache_duration advanced option to "forms in your care" cell (#63390) 2022-04-15 08:25:10 +02:00
Frédéric Péters b406d1808c wcs: mark "forms in your care" cell as valid on save (#63807) 2022-04-15 08:25:10 +02:00