WIP: working up user preferences on the backend
improvements following code review with MT, tidying up, and a new test for uniqueness
made the preference model repository scoped, tidied it up and fixed the tests
added support for show_suppressed default and a test for it
basic frontend for preferences
adding views that were erroneously missing from the last commit
and the controller
changed the defaults string to a json schema
fixed a mess in the locale for preferences
tweaked frontend preferences controller to enforce editing only your own prefs
start using the subrecord form
locales tweaks and partial support for global vs repo prefs
a new endpoint to get the set of preference records pertinent to the current user and repo, also includes the merged defaults
removed sneaky puts
Load preference defaults from a file at start-up. Includes a refactor of find_local_directories and find_locales_directories in asutils
Made show_suppressed not required. A first step to thinking about how to accept defaults
fixed the frontend preferences controller to work properly for global prefs, without guessing the global repo id
tidying up for release of just show_suppressed and global prefs only
fixed the backend tests to work with the recent changes
relaxed permissions on backend preferences controller to allow non-repo managers to manage prefs