Eloy Lafuente (stronk7)
4deecee44f
Merge branch 'MDL-50892-master' of git://github.com/marinaglancy/moodle
2015-09-15 23:12:22 +02:00
David Monllao
3bc0824e46
Merge branch 'MDL-51213-master' of git://github.com/damyon/moodle
2015-09-15 17:28:34 +08:00
Damyon Wiese
ba224fb42c
MDL-50783 Ajax: Configure how to call a webservice through db/service.php
...
Now the db/service.php array can contain these extra keys to provide information
on how a webservice may be called:
'ajax' => true (Default is false)
Replaces the xx_is_allowed_from_ajax callback.
'loginrequired' => false (Default is true)
Means that this webservice can be called through lib/ajax/service-nosession.php
which sets NO_MOODLE_COOKIES to true (faster). This is only safe for webservices returning
static public data (e.g. get_string).
2015-09-14 15:10:21 +08:00
Marina Glancy
278b8d18a2
MDL-50892 mod: allow activity to have name '0'
2015-09-11 10:51:52 +08:00
Damyon Wiese
3676873566
MDL-51213 webservice: Fix wrong use of external_format_text
...
Was passing cm->id instead of context->id.
2015-09-10 12:13:02 +08:00
Andrew Nicols
ebdfde7664
Merge branch 'MDL-50287-master' of git://github.com/danpoltawski/moodle
2015-09-08 08:18:03 +08:00
David Monllao
25d9ae9a93
Merge branch 'MDL-50891-master' of git://github.com/andrewnicols/moodle
...
Conflicts:
lib/deprecatedlib.php
2015-09-02 08:54:55 +08:00
Eloy Lafuente (stronk7)
17d2a336d1
MDL-43896 admin: Avoid empty(expression), not working under PHP 5.4
2015-09-02 01:20:09 +02:00
David Mudrák
98ea697349
MDL-48494 admin: Require plugins declare their component in version.php
2015-08-31 10:01:34 +02:00
David Mudrák
01889f019d
MDL-43896 admin: Drop support for the $module syntax in version.php
2015-08-31 09:57:50 +02:00
Andrew Nicols
34c6ec1869
MDL-50891 useragent: Move web crawler checks to useragent class
2015-08-28 14:31:51 +08:00
Dan Poltawski
160ccd3d09
MDL-50287 completion: Rename tasks to remove the word 'cron'
2015-08-27 14:58:04 +01:00
Dan Poltawski
0628925bf1
MDL-50287 completion: avoid introducing uncessary functions
...
Also fix copyright
2015-08-27 14:57:56 +01:00
Josh Willcock
51e488eaf3
MDL-50287 completion: Separated slow task out from cron
...
The mark started function for the completions scheduled task can be very
slow and causes performance issues when running. By splitting this into
it's own task it can be managed independantly from the other parts which
update regularly.
2015-08-27 14:40:04 +01:00
Andrew Nicols
ac41247254
Merge branch 'MDL-50532-master' of git://github.com/FMCorz/moodle
2015-08-04 12:09:30 +08:00
Frederic Massart
b2f6f88dc2
MDL-50532 tasks: Delete obsolete tasks during upgrade
2015-07-29 11:25:16 +08:00
Simey Lameze
dcee0b9447
MDL-49360 core_lib: add new method get_local_referer()
...
This commit also replace all usages of $_SERVER['HTTP_REFERER'] and get_referer().
2015-07-27 11:11:24 +08:00
Juan Leyva
2291883052
MDL-50561 messages: Add missing __isset magic method
2015-06-19 09:44:50 +02:00
Tony Levi
303936aa57
MDL-50453 core: Replace reserved word usage in progress\null (PHP7)
2015-06-15 12:21:27 +09:30
Eloy Lafuente (stronk7)
28ddf1e94d
Merge branch 'MDL-47480-master' of git://github.com/ankitagarwal/moodle
2015-06-10 00:32:10 +02:00
Ankit Agarwal
c44b4213e6
MDL-47480 tasks: Define order for getting tasks
2015-06-02 08:08:04 +05:30
David Monllao
fb00b083ce
Merge branch 'MDL-46550-master' of git://github.com/ankitagarwal/moodle
2015-05-26 12:28:59 +08:00
Damyon Wiese
4c7dfac372
MDL-50254 Mustache: Missing alias for namespaced class in mustache
...
Thanks to Francesco Bigiarini for the report and suggested fix.
2015-05-18 15:11:12 +08:00
Ankit Agarwal
fa31be3b7f
MDL-46550 logs: Fix incorrect url
...
Thanks to Nadav Kavalerchik for the suggestion on patch
2015-05-18 11:49:55 +05:30
Andrew Nicols
cba92dc805
MDL-50153 core: Use directory_separator when autoloading psr0 classes
2015-05-08 12:14:48 +08:00
David Monllao
a7f81bc72d
Merge branch 'MDL-48002-master' of git://github.com/ankitagarwal/moodle
2015-05-05 10:21:06 +08:00
Damyon Wiese
410034eef0
MDL-50085 templates: Minor fixes from peer review
...
* rename get_filename to get_filepath
* phpdocs fixes
* improve formatting of exceptions
* lang string improvement
2015-05-05 03:19:39 +02:00
Damyon Wiese
fcc383db0f
MDL-50085 Mustache : Strictly define the search paths for templates.
...
This change moves several repeated sections of code that was searching
for templates and valid template locations to a new class. It adds
unit tests for the new class and verifies subsystem support for templates.
2015-05-05 03:19:25 +02:00
Ankit Agarwal
aef3c18b76
MDL-48002 inbound: Remove quoted text from forum emails
2015-05-04 08:00:00 +05:30
Marina Glancy
2960eb4dd2
MDL-50066 strings: unable to deprecate string from moodle.php
2015-04-30 16:14:53 +08:00
Dan Poltawski
1f23341f7d
Merge branch 'MDL-49800-master' of git://github.com/FMCorz/moodle
2015-04-22 10:47:56 +01:00
David Monllao
7187ec30cb
Merge branch 'MDL-49377-master-updatemsg' of git://github.com/mudrd8mz/moodle
2015-04-16 09:44:10 +08:00
Frederic Massart
60de7df148
MDL-49800 core_output: Templates are not allowed in sub directories
2015-04-15 14:03:23 +08:00
Andrew Nicols
dfa966c710
Merge branch 'wip_MDL-49828_m29_tz3' of https://github.com/skodak/moodle
2015-04-13 11:01:25 +08:00
Petr Skoda
75a1e85e3a
MDL-49828 timezones: fix messed up phpunit detection
2015-04-12 12:37:32 +12:00
Damyon Wiese
274d79c9d5
MDL-49650 tool_templatelibrary: New tool for browsing mustache templates
2015-04-09 11:57:56 +08:00
Dan Poltawski
e4d6ab3bde
Merge branch 'MDL-49747-task-error-improvement' of https://github.com/brendanheywood/moodle
2015-04-07 16:13:46 +01:00
Dan Poltawski
bfceabab5d
Merge branch 'MDL-41608-master' of git://github.com/jethac/moodle
2015-04-07 15:40:06 +01:00
Dan Poltawski
e64f1fa1c7
Merge branch 'MDL-49740-locking-bugs' of https://github.com/brendanheywood/moodle
2015-04-07 13:08:41 +01:00
Petr Skoda
d6e7a63d9a
MDL-49684 timezones: rewrite timezone support
...
This patch replaces all homegrown timezone
stuff with standard PHP date/time code.
The main change is the introduction of core_date
class that returns normalised user and server
timezones. From now on nobody should be using
$CFG->timezone or $user->timezone directly!
Other new features and fixes:
* admins are prompted for timezone during install
* editing of other users is finally fixed
* timezones are displayed in user profile
* new $this->setTimezone() in phpunit
* time locale is now automatically reset in phpunit
* timezone is now automatically reset in phpunit
* phpunit has Australia/Perth as default timezone
2015-04-06 13:53:51 +12:00
Brendan Heywood
894f36abf9
MDL-49740 Lock: Fixed task lock release bugs
2015-04-03 11:13:03 +11:00
Brendan Heywood
e8a1c3e908
MDL-49747 Task: Improve coding error expection message
2015-04-03 11:11:51 +11:00
David Monllao
ee366cf907
Merge branch 'MDL-49587' of git://github.com/mike-grant/moodle
2015-04-02 11:05:43 +02:00
Eloy Lafuente (stronk7)
e025f20995
Merge branch 'wip-mdl-48605' of https://github.com/rajeshtaneja/moodle
2015-04-01 01:09:25 +02:00
Dan Poltawski
22a520231d
Merge branch 'MDL-49661-master-pluginfotodo' of git://github.com/mudrd8mz/moodle
2015-03-31 14:37:44 +01:00
David Monllao
4451f89b07
Merge branch 'MDL-44874-master' of git://github.com/andrewnicols/moodle
2015-03-31 15:22:03 +08:00
Rajesh Taneja
d421a973d1
MDL-48605 unit_test: Fixed file_temp_cleanup_task
...
touch should only work on temp and below
dir's. With path we get temp/.. and temp/.
So we were modfying moodledata dir as well
and it was failing because of permission issues.
2015-03-31 14:59:48 +08:00
David Mudrák
657cb5ab62
MDL-49377 admin: Recommend keeping the site updated to latest version
2015-03-30 23:15:54 +02:00
Mike Grant
0b468c594f
MDL-49587 plugin: Stop silencing include errors
...
Stop silencing errors when including version.php
2015-03-30 08:01:41 +01:00
Jetha Chan
263fb9d1bc
MDL-41608 lib: add notification renderable using mustache
2015-03-30 14:29:11 +08:00