mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* Filter by active users * Allow simple where clause * Update tests * Add field counts * Add database size * Fix test * Add changeset * Remove comment Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> * Fix user counts for edge cases * Update test * Add db size unit and jsdoc Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Return null if database size undetermined Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> * Fix extensions bundle count * Update tests * Account for partially enabled bundles * Update tests * Remove inner await * Account for bundle enabled with all nested extensions disabled * Update test * Prefix with users instead * Fix invalid activeTotal value Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * redo extension counting and fix test * shorten get field count * change to test the subtraction instead of implementation * use new name for key * Revert users naming convention change Tricky to map fields from older versions into the updated field names * Get extensions count from ExtensionManager Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> * Update extension count test * Mock EMAIL_TEMPLATES_PATH * Fix formatting --------- Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>