- 16 Nov, 2021 1 commit
-
-
Shamim Rezaie authored
Also use the new {{#cleanstr}} helper where it was more appropriate than the {{#str} helper.
-
- 10 Nov, 2021 1 commit
-
-
Mathew May authored
-
- 18 Oct, 2021 1 commit
-
-
Luca Bösch authored
-
- 14 Oct, 2021 1 commit
-
-
Eloy Lafuente authored
This is the 3rd round adding the tags to some scenarios detected to be failing with zerosize problems lately. Note that @ MDL-71108, the final solution will happen, say switching to own webdriver till the upstream one is fixed or whatever. Our @skip_chrome_zerosize solution is just a workaround to have all those scenarios detected and ignored by normal runs.
-
- 04 Oct, 2021 1 commit
-
-
Dan Marsden authored
-
- 30 Sep, 2021 1 commit
-
-
Ruslan Kabalin authored
-
- 20 Sep, 2021 1 commit
-
-
Andrew Nicols authored
-
- 16 Sep, 2021 1 commit
-
-
Eloy Lafuente authored
All the scenarios failing with Chrome zero-size errors are getting the @skip_chrome_zerosize to be able to keep them apart from regular runs. See MDL-71108 for more information about that error. They will be run by another job, specifically using that tag to keep them failing and under control.
-
- 31 Aug, 2021 1 commit
-
-
Paul Holden authored
-
- 13 Aug, 2021 1 commit
-
-
Trisha Milan authored
-
- 24 Jun, 2021 1 commit
-
-
Daniel Neis Araujo authored
-
- 18 Jun, 2021 2 commits
-
-
Andrew Nicols authored
-
Andrew Nicols authored
-
- 02 Jun, 2021 1 commit
-
-
sam marshall authored
-
- 14 May, 2021 1 commit
-
-
Luca Bösch authored
-
- 12 May, 2021 1 commit
-
-
Eloy Lafuente authored
It seems that the new phpcs3 checker is now controlling those line comments that previously were ignored. This commit just looks for all the cases and bulk-add them when needed. The bash script (mac) used to add all them is: while read -r line; do arr=(${line//:/ }) if [[ -n ${arr[0]} ]] && [[ -n ${arr[1]} ]]; then echo " file ${arr[0]}, line ${arr[1]}" sed -i "${arr[1]}s/\$/\./" ${arr[0]} fi done < <(find . -name version.php | xargs ag --nomultiline '>(version|requires) *=.*//.*[^;\.]$')
-
- 01 May, 2021 1 commit
-
-
ilya authored
Move activity creation to data generators. Only fixing those tests failing due to removing usemodchooser preference.
-
- 29 Apr, 2021 1 commit
-
-
Dongsheng Cai authored
-
- 27 Apr, 2021 1 commit
-
-
Luca Bösch authored
-
- 22 Apr, 2021 1 commit
-
-
Ferran Recio Calderó authored
-
- 21 Apr, 2021 1 commit
-
-
bas authored
Create a new profile field type, move all existing content of the fields 'icq', 'skype', 'aim', 'yahoo', 'msn' and 'url' in the mdl_user table to theses new profile fields if needed. AMOS BEGIN MOV [aimid,core],[aimid,courseimage,profilefield_social] MOV [yahooid,core],[yahooid,profilefield_social] MOV [skypeid,core],[skypeid,profilefield_social] MOV [icqnumber,core],[icqnumber,profilefield_social] MOV [msnid,core],[msnid,profilefield_social] MOV [webpage,core],[webpage,profilefield_social] AMOS END
-
- 06 Apr, 2021 1 commit
-
-
Paul Holden authored
By rounding the current time it was possible that the most recently created user enrolments (e.g. self enrolments) were being excluded. This would manifest itself in a user being enrolled on a course, but it not appearing under "My courses" navigation or on their own Dashboard until the rounded time had caught up with the current time.
-
- 31 Mar, 2021 1 commit
-
-
sam marshall authored
This change removes references in code and comments to a few deprecated functions that were accidentally missed in the larger change. The code changes only affect service_users.php. I made it support custom user profile fields in this query, because it was easy enough, rather than adding another TODO to fix later.
-
- 25 Mar, 2021 1 commit
-
-
sam marshall authored
This class would belong more appropriately within the 'user' API (core_user) instead of within the 'core' API, since it is directly related to user data. Since the class has only just been added to Moodle, now is a good time to move it.
-
- 12 Mar, 2021 1 commit
-
-
Eloy Lafuente authored
The methods assertContains() and assertNotContains() now perform strict (type and value) comparison, pretty much like assertSame() does. A couple of new assertContainsEquals() and assertNotContainsEquals() methods have been created to provide old (non-strict) behavior, pretty much like assertEquals() do. Apart from replacing the calls needing a relaxed comparison to those new methods, there are also a couple of alternative, about how to fix this, depending of every case: - If the test is making any array_values() conversion, then it's better to remove that conversion and use assertArrayHasKey(), that is not strict. - Sometimes if may be also possible to, simply, cast the expectation to the exact type coming in the array. I've not applied this technique to any of the cases in core. Link: https://github.com/sebastianbergmann/phpunit/issues/3426
-
- 10 Mar, 2021 2 commits
-
-
sam marshall authored
-
sam marshall authored
In all cases changes have been kept to a minimum while not making the code completely horrible. For example, there are many instances where it would probably be better to rewrite a query entirely, but I have not done that (in order to reduce the risk of changes).
-
- 03 Mar, 2021 1 commit
-
-
Paul Holden authored
When retrieving courses of another user via web services, we should respect the capability to view that users profile in a given course.
-
- 25 Feb, 2021 1 commit
-
-
David Mudrák authored
-
- 24 Feb, 2021 3 commits
-
-
Shamim Rezaie authored
-
Shamim Rezaie authored
-
Shamim Rezaie authored
-
- 23 Feb, 2021 2 commits
-
-
Brendan Heywood authored
-
Marina Glancy authored
-
- 22 Jan, 2021 1 commit
-
-
Andrew Nicols authored
The focus should be on something, rather than removed. The way in which focus removal works can lead to side effects.
-
- 14 Jan, 2021 1 commit
-
-
Eloy Lafuente authored
This just deletes all the upgrade steps previous to 3.6.0. Some small adjustments, like tweaking globals can also be applied when needed. Also includes an upgrade step to prevent upgrading from any version < 2018120300 (v3.6.0) as anti-cheating measure. Note that in this case, there wasn't any case of upgradelib functions being used, hence we haven't to deprecate/remove anything in codebase. When there is such a need, that is done in separate commits (one for each function) and documented here. See MDL-65809 commits for an example removing/deprecating a good number of functions.
-
- 16 Dec, 2020 2 commits
-
-
Shamim Rezaie authored
-
Andrew Nicols authored
-
- 08 Dec, 2020 2 commits