Dan Poltawski
054da30ba9
MDL-48766 moodlelib: introduce ip_is_public()
...
For determining if an IP is publicly addressable
2016-09-15 14:53:14 +01:00
Dan Poltawski
3ec4a8085c
Merge branch 'MDL-55791_master' of https://github.com/Syxton/moodle
2016-09-13 09:40:33 +01:00
Matt Davidson
59c66f926f
MDL-55791 admin: maintenance mode access capability
...
Add capability to allow certain non-admin users through maintenance
mode.
2016-09-12 10:37:25 -04:00
Dan Poltawski
4bbe995c89
Merge branch 'wip-mdl-55610' of https://github.com/rajeshtaneja/moodle
2016-09-12 10:18:18 +01:00
Juan Leyva
753504fbe0
MDL-49026 webservice: Remove tokens on password change
2016-09-07 09:07:29 +08:00
Rajesh Taneja
54ced30d03
MDL-55610 behat: Clear static file cache
...
php file cache might be out-of-sync
to ensure full directory is deleted
clear php file cache
2016-09-05 10:18:19 +08:00
Andrew Nicols
9d8a3055c0
Merge branch 'MDL-55272' of https://github.com/mr-russ/moodle
2016-08-16 14:55:49 +08:00
Russell Smith
6a3acc84de
MDL-55272 lib: Improve test course create performance
...
Use core functions that are faster for test file creation.
To support large requests for hashes, the core hash function
must support large hashes without recursion. PHP has a default
recursion depth of 100 and long hashes don't support this.
Remove transactions as they create performance problems for larger
courses and doesn't introduce significant benefit for developers.
Performance changes meant the times were much faster, a reasonable
guess was taken on performance of an average machine.
2016-08-16 12:00:21 +10:00
Rajesh Taneja
9f2b916dee
MDL_41126 phpunit: Timestamp should be less than 2038
...
http://php.net/manual/en/datetime.gettimestamp.php#114590
In 32-bit system the unix timestamp will overflow if the date goes beyond year 2038
and this method will return false.
2016-08-09 10:50:07 +08:00
Andrew Nicols
21e8b48d13
MDL-51758 libraries: Remove password_compat library from core
2016-07-18 10:06:57 +08:00
Andrew Nicols
ffcbabcdd0
Merge branch 'MDL-54755_master' of https://github.com/StudiUM/moodle
2016-06-29 15:05:17 +08:00
Andrew Nicols
607e900e2d
Merge branch 'MDL-54785-master' of git://github.com/FMCorz/moodle
2016-06-27 08:59:49 +08:00
Gilles-Philippe Leblanc
975bd11258
MDL-54755 core: Incorrect redirection after password change
2016-06-23 21:24:29 -04:00
Frederic Massart
df52c272cf
MDL-54785 files: Deprecate the support for $usepost and related
2016-06-23 12:41:03 +08:00
Frederic Massart
4f9b94fdd5
Revert "MDL-44626 files: Show the PHP max upload size instead of 'unlimited'"
...
This reverts commit 6f0768618a
.
2016-06-23 11:51:44 +08:00
Frederic Massart
048f8073d1
Revert "Merge branch 'MDL-54110_master' of https://github.com/marxjohnson/moodle "
...
This reverts commit 016e0abfbc
, reversing
changes made to 58a2f0ac40
.
2016-06-23 11:51:44 +08:00
Frederic Massart
796f86f753
Revert "MDL-54110 repositories: Whitespace, Typo + unit test fixes"
...
This reverts commit 7e4d43e1a2
.
2016-06-23 11:51:44 +08:00
Dan Poltawski
6a6b0085e0
Merge branch 'MDL-54983-master' of git://github.com/damyon/moodle
2016-06-21 12:56:32 -07:00
Damyon Wiese
0edd7bd7bd
MDL-54983 docs: Improve phpdocs for create_user_key
...
Also fixed the docs for get_user_key.
2016-06-21 12:46:59 -07:00
Andrew Nicols
da871bb4c1
Merge branch 'wip-MDL-53292-master' of https://github.com/marinaglancy/moodle
2016-06-21 08:46:38 +08:00
Marina Glancy
8fef061da4
MDL-53292 core: deprecate callback delete_course
2016-06-13 10:48:06 +08:00
Jakob
cffd0fa138
MDL-53306 auth: Add hook for auth plugins to access user object.
...
Add a hook for auth plugins to be able to modify or check a user, before
raising any authentication errors.
The auth plugin needs to add a public function like this:
/**
* Pre user_login hook.
* This method is called from authenticate_user_login() right after the user
* object is generated. This gives the auth plugins an option to make adjustments
* before the verification process starts.
*
* @param object $user user object, later used for $USER
*/
public function pre_user_login_hook(&$user) {
// Override if needed.
}
2016-05-30 11:57:03 -07:00
Andrew Nicols
7e4d43e1a2
MDL-54110 repositories: Whitespace, Typo + unit test fixes
2016-05-11 10:39:40 +08:00
Mark Johnson
121b67411f
MDL-54110 repositories: Allow repositories to ignore post_max_size
...
Repositories can now override usespost() if they don't upload using POST
requests. This restores the ability of users with
moodle/course:ignorefilesizelimits to upload files of unlimited size
lost in MDL-44626.
2016-05-10 16:10:24 +01:00
Frederic Massart
56537316f6
MDL-53719 competency: Delete content upon course and cm delete/reset
2016-04-18 11:06:01 +08:00
Marina Glancy
9ca0420e93
MDL-45064 course: mod callback get_shortcuts()
...
also deprecate callback get_types()
2016-04-13 08:30:04 +08:00
Dan Poltawski
4a166bfd16
Merge branch 'wip-MDL-51867-master2' of https://github.com/marinaglancy/moodle
2016-03-22 13:13:57 +08:00
David Monllao
c111ef9718
Merge branch 'MDL-48012_master' of git://github.com/markn86/moodle
2016-03-21 09:41:09 +08:00
Marina Glancy
322f314155
MDL-51867 scales: any plugin type can declare a scale as used
2016-03-16 13:15:36 +08:00
Mark Nelson
ea88fd4e66
MDL-48012 core: added pre_*_delete hooks
2016-03-15 16:58:46 +08:00
Brendan Heywood
54dceeed88
MDL-53102 email: Ensure all emails generate consistent Message-ID URLs
2016-03-14 14:20:10 +11:00
Dan Poltawski
0aefe91c50
Merge branch 'MDL-52990-email-themes' of https://github.com/brendanheywood/moodle
2016-02-16 11:17:54 +00:00
Dan Poltawski
33fa0e1181
Merge branch 'MDL-53012-master' of https://github.com/sammarshallou/moodle
2016-02-16 10:44:57 +00:00
Brendan Heywood
efd420608e
MDL-52990 email: Added site wide email mustache templates
2016-02-16 16:39:25 +11:00
sam marshall
a4ce565f20
MDL-53012 Behat: Add step to run scheduled task
2016-02-15 17:24:15 +00:00
Dan Poltawski
220f8115d9
Merge branch 'MDL-44626-master' of git://github.com/andrewnicols/moodle
2016-02-15 10:36:20 +00:00
Andrew Nicols
6f0768618a
MDL-44626 files: Show the PHP max upload size instead of 'unlimited'
...
Even when a user has the appropriate capability to upload any sized files,
they are still restricted to the PHP post_max_size, and upload_max_filesize
values.
Rather than showing a value of "Unlimited', we should always restrict to
this value.
2016-02-11 10:55:54 +08:00
Eloy Lafuente (stronk7)
d9b3898e5d
Merge branch 'MDL-52896-master-apd' of git://github.com/mudrd8mz/moodle
2016-02-09 12:08:40 +01:00
Brendan Heywood
eca8cf67dc
MDL-52818 core: Added CFG->divertallemailsexcept config option
...
When $CFG->divertallemailsto is specified, this allows a list of email
or domain exceptions to be whitelisted enabling easier testing by groups
of testers who don't share a single email address.
2016-02-09 09:59:20 +00:00
Eloy Lafuente (stronk7)
bc269f6782
Merge branch 'MDL-52567_master' of https://github.com/nadavkav/moodle
2016-01-29 10:15:23 +08:00
Eloy Lafuente (stronk7)
aeba2257f4
Merge branch 'MDL-52780-mailoriginscript' of https://github.com/brendanheywood/moodle
2016-01-29 10:15:20 +08:00
David Mudrák
ef3cd03876
MDL-52896 moodlelib: Remove APD support relic
...
The support for Advanced PHP Debugger was dropped in Moodle 2.2
(MDL-29881). This seems to be a forgotten relic no longer used and
needed in moodlelib.
2016-01-26 09:33:35 +01:00
Nadav Kavalerchik
5200054dc2
MDL-52567 Core: remove quotation marks, for proper word count
2016-01-24 00:47:13 +02:00
Andrew Nicols
ae4cc740be
Merge branch 'MDL-52608-master' of https://github.com/xow/moodle
2016-01-18 14:47:52 +08:00
Brendan Heywood
e9180351f9
MDL-52780 email: Added better script origin email header
2016-01-18 08:12:49 +11:00
Marina Glancy
c4e868d5f0
MDL-50851 user: use new tag API for interests
2016-01-10 15:25:47 +08:00
Marina Glancy
74fa9f76dc
MDL-50851 course: use new tag API
2016-01-10 15:25:47 +08:00
John Okely
33501d2804
MDL-52608 core: Use property_exists in fullname
...
Credit to Dmitriy Kuzevanov for the patch.
2016-01-07 07:24:02 +00:00
Shamim Rezaie
e83bcc1050
MDL-52380 mod_forum: Non-Gregorian dates in forum advance search
...
Convert the fromdate and todate date parts to Gregorian before passing them to make_timestamp
2015-12-17 18:00:57 -06:00
Shamim Rezaie
40a6393ea5
MDL-52354 select_time: Make select_time respect the set calendar type
...
The select_time method updated to display form elements in accordance
to the calendar type plugin that is in use.
2015-12-17 17:58:39 -06:00