This fixes loading of column data in the /parade/ search page.
Also adds @login_required to the search page to redirect to login screen if not logged in.
To test:
Go to /parade/. If not logged in (AND Public user is not enabled) you should get redirected to login screen.
NB: As discussed, if too many images are shown, loading data with query string ?image=1234&image=5678.... will exceed 4k length limit of gunicorn. Need to use different query or load data in batches or POST etc.
This fixes loading of column data in the
/parade/
search page. Also adds@login_required
to the search page to redirect to login screen if not logged in.To test:
/parade/
. If not logged in (AND Public user is not enabled) you should get redirected to login screen.Add table data... > ROI_Count
(or Size T) to show the data in column (requires https://github.com/ome/omero-parade/pull/32/commits/92590108ed2f30498711d698d5910125f1fab8f6) from #32NB: As discussed, if too many images are shown, loading data with query string
?image=1234&image=5678....
will exceed 4k length limit of gunicorn. Need to use different query or load data in batches or POST etc.