storyboard/storyboard/db
Adam Coldrick 5588b5252a Minimise database queries when populating automatic worklists
When populating automatic worklists we currently throw away
queries representing the list of story and task objects to
appear in the worklist, and then later on reacquire this data
using one query per story or task.

This commit makes use of the ability to resolve stories and
tasks from a pre-loaded cache to reuse the queries constructed
when first populating the list to get the story data with no
additional database interaction.

This commit also makes the population of the task or story's
due dates optional, as this doesn't make sense for automatic
worklists (wherein due dates cannot be applied).

Change-Id: I76f29e9b9100693691187cffa64b3e6a02120ccb
2017-08-30 20:49:08 +01:00
..
api Minimise database queries when populating automatic worklists 2017-08-30 20:49:08 +01:00
migration Increase project and project group name length limitation 2017-04-03 08:47:37 +00:00
__init__.py Add SQLalchemy database model 2014-01-13 18:52:47 +04:00
decorators.py Datetime instances from SQLAlchemy now all contain timezone. 2015-02-17 15:26:47 +03:00
models.py Increase project and project group name length limitation 2017-04-03 08:47:37 +00:00
projects_loader.py switch from incubated gettextutils to oslo.i18n 2016-11-07 08:47:47 -05:00
superusers_loader.py switch from incubated gettextutils to oslo.i18n 2016-11-07 08:47:47 -05:00