David Monllao
b78d40e637
Merge branch 'MDL-60526-master' of git://github.com/damyon/moodle
2017-11-20 13:43:54 +01:00
Neill Magill
7251472c83
MDL-60436 blocks: Unit test for dashboard block positioning
2017-11-17 14:40:30 +00:00
Damyon Wiese
fda2fa2680
MDL-60526 forms: Prevent duplicate type attributes
...
The exporter for mform elements does not skip "type" (which is included as a separate value).
2017-11-15 11:53:56 +08:00
Eloy Lafuente (stronk7)
796e48a58b
MDL-60611 phpunit: remove deprecated stuff and other minor fixes
...
Thanks @scara for MDL-60611 phpunit: improved redis skipping reasons
2017-11-05 01:45:04 +01:00
Eloy Lafuente (stronk7)
801a372dad
MDL-60611 phpunit: switch to namespaced phunit classes
2017-11-02 23:45:34 +01:00
Jake Dallimore
141c4adbb6
Merge branch 'MDL-42834_master' of git://github.com/markn86/moodle
2017-10-23 13:25:35 +08:00
John Okely
672f483670
MDL-42834 admin: Removal of httpswwwroot
2017-10-23 12:25:36 +08:00
John Okely
b58764ff99
MDL-42834 admin: Remove loginhttps
2017-10-23 12:25:35 +08:00
Andrew Nicols
b01232671e
Merge branch 'MDL-60388_master' of git://github.com/dmonllao/moodle
2017-10-23 10:00:41 +08:00
David Monllao
6e98bca0ba
MDL-60388 analytics: Any write action looking at all contexts below course
2017-10-20 13:20:46 +02:00
David Monllao
0a1a56307b
Merge branch 'MDL-60469-master' of git://github.com/andrewnicols/moodle
2017-10-19 10:51:59 +02:00
Jun Pataleta
ebc993b8c5
Merge branch 'wip-MDL-60335-master' of git://github.com/marinaglancy/moodle
2017-10-19 15:39:56 +13:00
Andrew Nicols
de316e8e3b
MDL-60469 behat: Replace I press with I click on
2017-10-19 10:37:59 +08:00
David Monllao
b1a9a6a19a
Merge branch 'wip-MDL-60281-master' of git://github.com/marinaglancy/moodle
2017-10-17 09:45:44 +02:00
Marina Glancy
bd39ef2422
MDL-60335 admin: fix encoding of nonlatin site names in blocked hosts
2017-10-17 12:44:13 +08:00
Andrew Nicols
ebb4244bf4
Merge branch 'wip-MDL-60337-master' of git://github.com/marinaglancy/moodle
2017-10-16 15:40:44 +08:00
Jun Pataleta
5be8c8daa6
Merge branch 'MDL-45730_master' of git://github.com/markn86/moodle
2017-10-16 12:10:51 +08:00
Marina Glancy
d28eb51ddc
MDL-60281 general: remove class object() completely
...
This class was deprecated under MDL-52471 and was showing debugging notice from Moodle 3.0.1
In PHP7.2 the class declaration fails with fatal error even if it's not used anywhere
2017-10-16 09:37:20 +08:00
Damyon Wiese
f4594a22ec
Merge branch 'MDL-37361-master-revised' of https://github.com/snake/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2017-10-10 17:32:47 +08:00
Jake Dallimore
8fbc41d8d5
MDL-37361 completion: minor code fixes.
2017-10-10 17:12:09 +08:00
Jake Dallimore
86f359bf68
MDL-37361 completion: automatic completion disabled when overridden
...
Changes:
- Activities with auto completion and a completion status overridden to
COMPLETION_COMPLETE are no longer processed by normal completion
triggers.
- All activities can still be completed by students when their
completion status has been overridden to COMPLETION_INCOMPLETE, via
either auto or manual triggers.
- Completion unit tests updated
2017-10-10 17:10:49 +08:00
Eiz Eddin Al Katrib
60a6b36cd5
MDL-37361 completion: Modified and Added phpunit tests
2017-10-10 17:10:37 +08:00
Mark Nelson
a475e0fe79
MDL-45730 core: added unit tests for new events
2017-10-10 13:15:18 +08:00
sam marshall
46f7b264a3
MDL-59897 Accesslib: get_user_capability_course is slow
2017-10-06 13:57:55 +01:00
Jun Pataleta
48a3a50aa4
MDL-59890 behat: Revert to checking if isset instead of not empty
...
Reverting changes made by commit
1957d33996
2017-10-04 14:24:15 +08:00
Jun Pataleta
cd7cd9d9c1
Merge branch 'MDL-59890-master' of git://github.com/andrewnicols/moodle
2017-10-04 11:19:33 +08:00
Andrew Nicols
1957d33996
MDL-59890 behat: Check empty not isset for switchids
2017-10-04 11:16:06 +08:00
Andrew Nicols
fb3c0fc38b
MDL-59890 calendar: Allow event creation in behat
2017-10-04 11:16:06 +08:00
Eloy Lafuente (stronk7)
e092ec3117
Merge branch 'MDL-33174-master' of https://github.com/matt-catalyst/moodle
2017-10-03 23:01:45 +02:00
Eloy Lafuente (stronk7)
4536f3084d
Merge branch 'MDL-59273-master' of https://github.com/lucisgit/moodle
2017-10-03 22:38:13 +02:00
Andrew Nicols
e9321ad07d
MDL-59890 coursecat: Add helper to fetch nested view of coursecat
2017-10-03 21:28:31 +08:00
Marina Glancy
a3cc6261fc
MDL-60337 htmlpurifier: non-ascii domain names
2017-10-03 18:57:11 +08:00
Marina Glancy
2a1275479c
MDL-60239 libraries: patch Markdown for PHP7.2
2017-10-02 15:32:11 +08:00
Adrian Greeve
7c1177649d
MDL-58548 lib: Update to moodle specific files.
...
Update to moodle specific files related to the upgrade
of htmlpurifier.
2017-10-02 08:19:40 +08:00
Matt Clarkson
b1eb6dd7f2
MDL-33174 lib/filestorage: Add filename to curl request
...
While the lack of the filename in curl POST does not
directly affect Moodle, some external API's expect to get
the filename of the original file, which affects plugins
using the CURL class.
2017-10-02 09:27:51 +13:00
Jake Dallimore
b7e9f1cc42
MDL-37810 roles: fix profile roles logic to include all roles
...
If the user has the role:assign capability then the list of profile roles
will include any role assigned in the context or above.
2017-09-21 22:23:41 +08:00
Dan Poltawski
708100cbef
Merge branch 'MDL-59277-master' of https://github.com/snake/moodle
2017-09-19 09:48:30 +01:00
Jake Dallimore
434d138c2a
MDL-37810 roles: added manager case to test_get_user_roles_in_course()
...
Managers can assign managers, and should be able to see that role on
the course profile page, as a link to the participants page.
2017-09-18 10:16:08 +08:00
Jake Dallimore
5d0cc05b20
MDL-59277 navigation: add support for container type in get_css_type()
2017-09-18 09:03:51 +08:00
Jake Dallimore
42a2c4794d
MDL-37810 roles: unit tests for get_profile_roles()
2017-09-18 08:59:29 +08:00
Andrew Nicols
7e4c4b6f1f
MDL-59084 core: Allow adhoc tasks to run as a specified user
2017-09-12 21:58:50 +08:00
David Monllao
44e1928532
Merge branch 'wip-MDL-59768-master' of git://github.com/marinaglancy/moodle
2017-09-07 10:50:16 +02:00
Marina Glancy
96e1633f57
MDL-59768 tasks: schedule task only if it is not scheduled
2017-08-31 14:31:17 +08:00
Damyon Wiese
d29be32000
MDL-59801 users: Behat fixes
...
Firstly - the list of roles to filter needs to be a combination of the assignable roles and the existing roles in the course.
Secondly - the auto-complete behat step needs to search for entire strings, not substrings.
2017-08-31 12:32:03 +08:00
Andrew Nicols
fc7467e5a1
Merge branch 'MDL-57412-master' of https://github.com/xow/moodle
2017-08-23 11:15:34 +02:00
John Okely
e46fde42ab
MDL-57412 upgrade: Set linkcoursesections to 1 if boost in use
2017-08-23 15:05:32 +08:00
Eloy Lafuente (stronk7)
a7417383fa
Merge branch 'MDL-59067_master' of git://github.com/dmonllao/moodle
2017-08-23 02:55:20 +02:00
David Monllao
0690a271c3
MDL-59067 analytics: Store indicator calculations
...
This was supposed to be split into multiple commits to make it easier to understand
but I failed to do it properly. So this is the list of changes:
- New analytics_indicator_calc db table to store indicators calculations
- Reuse previous calculations during prediction/training; other models
previous calculations should also be reused as long as they belong to
the same sample (sampleid depends on sampleorigin), time range and indicator
- Allow bulk inserting of these calculations as this can hurt database performance
- Block the same analysable to be analysed for training and for prediction
- Use a new instance of the target and use it for is_valid_* functions
as using ::is_valid_sample can lead to problems if people
uses it to cache stuff
2017-08-22 22:28:04 +02:00
Jake Dallimore
f3c2afd0e8
MDL-36985 core_files: added option to remove draft files on save
...
text areas can now specify $options['removeorphaneddrafts'] when saving
their data using file_postupdate_standard_editor(). If set to true,
this option clears all user drafts which are not referenced in the text
2017-08-22 13:15:30 +08:00
Eloy Lafuente (stronk7)
455974b395
Merge branch 'MDL-59748-master-2' of git://github.com/andrewnicols/moodle
2017-08-08 11:49:05 +02:00