SAK-41759 new Password class (#6886)* SAK-41759 Users tool breaks with new Password class* SAK-41759 @deprecated .generatePassword* SAK-41759 Use explicit scoping instead of the default package private level* SAK-41759 Style Guide, Password => PasswordFactory
KNL-1554 Refactor of time service to aid deprecation (#4895)* KNL-1554 Refactor of time service to aid deprecationThis splits out a new API called UserTimeService which is just responsible for getting the user’s timezone at the moment. This allows the main TimeService to be deprecated and any place that uses TimeService to just get the user’s timezone can switch to using UserTimeService.This also makes the current TimeService more testable as it doesn’t actually need the whole kernel to be running, just mock instances of 2 helpers that can be easily mocked with Mockito (or similar).This also makes the classes more focused (Single Responsibility Principal).* Fix space* Code formatting cleanup (brackets).
SAK-32184 Remove redundant -pack projects. (#3912)* SAK-32184 Remove redundant -pack projects.Make most -impl projects of type sakai-component which means we haveless modules in the build and our build is smaller.There were some references left to the -impl projects from things other than -pack projects. These have been refactored, either by moving the code, removing the unused dependency or in a couple of cases re-writing a tiny bit of code.When deploying don’t create lots of small files which slows down the deployment for me.