Sam Saffron
30990006a9
DEV: enable frozen string literal on all files
...
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.
Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
Sam Saffron
abbbcb2622
DEV: allow creating users with random passwords via rake
...
Use: `RANDOM_PASSWORD=1 bin/rake admin:create`
Handy in conjunction with dev mode /session/username/become.
2018-12-18 11:43:16 +08:00
Arpit Jalan
cd66dd1404
fix admin rake task
2018-04-07 16:57:17 +05:30
Sam
0d6cfe45bf
tl1 should be enough for grant admin. tl4 is hard to revert
2018-04-05 10:53:11 +10:00
Guo Xiang Tan
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Neil Lalonde
0a9e284277
FIX: rake admin:invite sends an email that makes it clear that an account was created for the recipient
2014-09-11 12:49:01 -04:00
Sam
f9ae7472b4
FEATURE: rake admin:invite task
2014-09-09 09:04:01 +10:00
Sam
950e5c9965
fix task
2014-09-05 17:49:51 +10:00
Sam
a2a78fbad1
FIX: rake admin:create suggests better name
...
FIX: rake admin:create ensures account active
2014-07-16 17:55:08 +10:00
Arpit Jalan
48940b9bbe
Refactor admin create task
2014-07-07 16:58:23 +05:30
Arpit Jalan
7cb67b028d
Update admin create task
2014-07-02 13:30:38 +05:30
Arpit Jalan
cd07bf5611
Update admin rake task
2014-07-02 02:03:02 +05:30
Sam Saffron
e91f944851
BUGFIX: rake task for creating an admin was not activating the account
2014-05-27 12:39:15 +10:00
Pavel Penkov
cb3b79407d
Added admin:create rake task
2013-06-10 05:56:51 +04:00