14 Commits

Author SHA1 Message Date
[Peter Burnett]
ad9c96e531 MDL-66123 core: check_password_policy takes $user argument 2019-07-29 14:37:50 +10:00
Jun Pataleta
49ccaee5a9 MDL-55206 admin: Some code cleanup
* Removed unnecessary TODOs.
* Changed message prompt case to sentence case.
2016-07-15 14:44:35 +08:00
Jun Pataleta
36b88f2486 MDL-55206 admin: Remove div tags in password policy error message 2016-07-15 14:40:54 +08:00
David Monllao
c68010eaee MDL-55048 cli: Add example using new cool options
Also added short option for ignore password policy.
2016-07-11 15:17:57 +02:00
Paul Greidanus
c248c3f07f MDL-55084 admin: CLI driven password reset
This patch allows for changing a user's password via the command line.
This allows for scripted password changes easily.
2016-07-06 07:00:57 -06:00
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Petr Skoda
28bd3d9ad3 MDL-23824 CLI script improvements - just define('CLI_SCRIPT', true) before require config.php; all incorrect uses of cli and web scripts are detected; refactored cron script - now in two separate sctipts; fix cli inline docs and help - we have to sudo to apache account; standardised cli script locations in auth plugins 2010-08-17 12:33:30 +00:00
Petr Skoda
30f581598a new php docs style 2010-07-30 11:14:36 +00:00
skodak
926378ce4d MDL-15249 localized cli upgrade 2009-05-31 12:39:16 +00:00
skodak
71d549933b MDL-15249 yet more localization fixes 2009-05-31 12:38:39 +00:00
skodak
57295c9224 MDL-15249 password reset cli script improvements 2009-05-31 12:34:08 +00:00
skodak
58ebe269fe MDL-15249 password reset cli script improvements 2009-05-31 12:13:08 +00:00
skodak
1494616faa MDL-15249 localization fixes 2009-05-31 12:04:51 +00:00
skodak
3b596dbf0b MDL-15249 sample cli scripts - sample implementation only, no localization - ideally we should now decide what parameters we need - let the heated discussion begin ;-) 2009-05-27 09:52:25 +00:00