Saturday, September 5, 2015¶
I continued with #469 (Public web interface needs search and pagination).
tickets.Tickets is now
set(), i.e. everybody would see all ticket tables. Actually this
is not wrong, anyway we need to check per ticket whether it is visible
(because that depends on whether it is private or not).
lino_noi.projects.bs3 becomes usable. On
tickets.Tickets I now use
detail_html_template attribute. This is the
first proof of this idea.
tickets/Ticket/detail.html now filters out the
description of private tickets for people who have no right to see
them. That is, private tickets are actually not invisible. It is just
their description that’s invisible. (to be observed in practice)
add a search field to
make more information visible to anonymous (e.g. sites, milestones, projects, session reports)?
activate it for http://bugs.lino-framework.org/
Noticed new ticket #504 : The JSON API is currently not well designed at all, it has just grown during the years with the needs. TODO: change it into a well-documented public API.