2541 Commits

Author SHA1 Message Date
David Monllaó
fccc728fcc MDL-64783 analytics: Performance improvements
- Removed redundant query to analytics_predict_samples
- Analysers API now uses recordsets to iterate through the analysable
  elements. They take the last analysed time into account.
- New method for targets so there is no need to always update the last
  analysis time. Useful for lightweight targets.
2019-04-09 00:29:57 +02:00
David Monllaó
20d7f527b0 MDL-64783 analytics: Discern prediction actions on insights generation 2019-04-09 00:29:51 +02:00
David Monllaó
bb7dccdb8e MDL-64783 analytics: Insights generation logic out of the target 2019-04-09 00:26:39 +02:00
David Monllaó
e85c2f372b MDL-64783 analytics: Improvements to the insights system 2019-04-09 00:26:23 +02:00
David Monllaó
50935afba4 MDL-64783 analytics: Upcoming activities due and related API changes 2019-04-09 00:25:24 +02:00
Amaia Anabitarte
06b028103e MDL-64676 core_message: Fix old behat tests affected by new messaging 2019-04-08 18:45:23 +02:00
Jake Dallimore
152e41cccb MDL-65170 core_user: perf improvement for user_get_user_details_courses
We don't always need to iterate over the user's courses, so only fetch
them when we do.
2019-04-08 09:02:13 +08:00
Jake Dallimore
e4aaecd392 MDL-65170 core_user: user_get_user_details_courses respects groupmode
This had a relatively simply check for course profile visibility, which
meant that users in separate groups could see one another's profile.
This has been replaced with the more correct check in
user_can_view_profile().
2019-04-08 09:02:13 +08:00
Mathew May
5db1ce5331 MDL-64506 templates: BS2 pull-x -> BS4 float-x 2019-04-03 19:47:13 +08:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
Mathew May
3f2c68f119 MDL-64506 templates: Move BS2 labels to BS4 badges 2019-04-03 19:34:20 +08:00
Mathew May
e00f1c663c MDL-64506 phpunit: Update unit tests to use classic 2019-04-03 19:34:20 +08:00
Eloy Lafuente (stronk7)
c93eedf8dd Merge branch 'MDL-64084-master' of git://github.com/jleyva/moodle 2019-03-12 00:29:58 +01:00
Andrew Nicols
5bf82d7d9c Merge branch 'MDL-64774-master' of git://github.com/junpataleta/moodle 2019-03-06 15:41:11 +08:00
Jun Pataleta
c1ff94f41e MDL-64774 user: Make email query case-insensitive 2019-03-01 23:29:00 +08:00
Jun Pataleta
2672f0366b MDL-64774 user: Better unit tests for updating users with similar emails 2019-03-01 23:29:00 +08:00
Juan Leyva
1f87a7f653 MDL-64084 core_enrol: Return expect last access course time 2019-02-28 11:11:35 +01:00
Helen Foster
38dc5b9677 MDL-64943 lang: Import fixed English strings (en_fix)
Significant string changes:

* importgroups_help,core_group - Correcting optional fieldnames
  (removing picture, hidepicture and adding groupidnumber, groupingname
  and enablemessaging)

* penaltyforeachincorrecttry_help,core_question - additional paragraph
  about scoring logic

* resultdownloadready,tool_dataprivacy - wording corrected (no need to
  go to a download page)

* auth_dbfielduser,auth_db - varchar data type requirement
2019-02-28 09:50:18 +01:00
Damyon Wiese
145a10f7a9 MDL-64570 user: input field purpose
Do not autocomplete the user fields when editing another user.
2019-02-20 09:42:26 +08:00
David Monllaó
7677a86cc0 Merge branch 'MDL-64570-master' of git://github.com/damyon/moodle 2019-02-19 06:45:21 +01:00
Damyon Wiese
3d97770365 MDL-64570 user: coding style
Fix cibot warnings on line length.
2019-02-19 09:44:20 +08:00
Damyon Wiese
2159983aff MDL-64570 accessibility: autocomplete user profile fields
Only if editing your own user details and not logged in as someone else.
2019-02-19 09:44:15 +08:00
Eloy Lafuente (stronk7)
f706dabd50 Merge branch 'MDL-63785-master' of git://github.com/rezaies/moodle 2019-02-06 00:04:14 +01:00
Eloy Lafuente (stronk7)
9bc4dc79cb Merge branch 'MDL-60913-search-tabs-master' of https://github.com/dmitriim/moodle 2019-01-23 18:55:47 +01:00
Dmitrii Metelkin
e9074ee381 MDL-60913 search: add search area categories 2019-01-23 10:28:43 +11:00
Luca Bösch
8df785f9e9 MDL-63573 core_user: remove 'With selected users...' help icon. 2019-01-21 21:54:21 +01:00
Sara Arjona
64afd81e0b Merge branch 'MDL-63881-master' of https://github.com/lucaboesch/moodle 2019-01-15 11:37:07 +01:00
Sara Arjona
c654e35007 MDL-63677 core_user: Avoid redirection during signup
Purge cache just for the current user to avoid redirection when 2
simultaneous users try to sign up at the same time and some policy
has to be agreed.
The 'createduser' invalidation event has been removed also because
is not used any more.
Thanks John Azinheira for spotting it!
2019-01-11 10:20:59 +01:00
Luca Bösch
3b2f691f62 MDL-63881 tool_dataprivacy: 'Contact the privacy officer' profile link. 2019-01-10 22:19:26 +01:00
Amaia Anabitarte
26b34c30d3 MDL-63844 enrol: Reordering status_field constructor parameters 2018-12-18 17:57:57 +01:00
Rohan Khajuria
6676f20214 MDL-63844 enrolmentdetails: add time-enrolled field 2018-12-18 17:06:49 +01:00
Jake Dallimore
dd202b5e5a Merge branch 'MDL-62922-master' of git://github.com/junpataleta/moodle 2018-12-11 12:50:18 +08:00
Shamim Rezaie
a6d0837e18 MDL-63785 profilefield_textarea: performance improvement 2018-12-10 14:52:12 +11:00
Shamim Rezaie
1ae48ab484 MDL-63785 profilefield_datetime: performance improvement 2018-12-10 14:52:12 +11:00
Shamim Rezaie
033a061a0a MDL-63785 profilefield_checkbox: performance improvement 2018-12-10 14:52:12 +11:00
Shamim Rezaie
10bbc95e03 MDL-63785 profilefield_text: performance improvement 2018-12-10 14:52:12 +11:00
Shamim Rezaie
2b1efa16da MDL-63785 profilefield_menu: performance improvement 2018-12-10 14:52:12 +11:00
Shamim Rezaie
dfb3677c32 MDL-63785 core_user: performance improvement 2018-12-10 14:52:12 +11:00
Jun Pataleta
eb1a477635 MDL-62922 core_user: Check auth mechanism before validating password
* External authentication mechanisms (e.g. via oauth2, etc.) don't store
  password in the user table, so we shouldn't be requiring password in
  such case when creating users via the core_user_create_users WS
  function.
2018-12-05 15:29:54 +08:00
Roger Barras
fcebc9b042 MDL-60267 user: Fix set default data for the user profile field 2018-12-05 14:15:48 +08:00
Eloy Lafuente (stronk7)
085353b315 MDL-64282 versions: bump all versions and requires near release
version = 2018120300 release version
requires= 2018112800 current rc2 (week7roll1) version
2018-11-29 18:24:08 +01:00
Andrew Nicols
705003beae MDL-63303 behat: Behat fixes 2018-11-15 16:26:16 +08:00
Ryan Wyllie
f074d6f086 MDL-63303 message: remove behat tests for messaging 2018-11-15 14:43:21 +08:00
Eloy Lafuente (stronk7)
79c4c80f2b Merge branch 'MDL-63842-master' of git://github.com/andrewnicols/moodle 2018-11-14 16:03:16 +01:00
Eloy Lafuente (stronk7)
610883c007 Merge branch 'MDL-63929-master' of git://github.com/jleyva/moodle 2018-11-12 12:02:51 +01:00
Juan Leyva
2979ca1175 MDL-63929 user: Support unsetting prefs in update_user_preferences WS 2018-11-09 09:28:23 +01:00
Amaia Anabitarte
36e23989b0 MDL-63282 core_message: Setting messagingallusers = 1 for behat tests
Default setting value for new instances is 0
Default setting value for existing instances is 1
to get same search results than before this setting exists

Setting messagingallusers = 1 for behat tests to simulate old versions functionality

Followup: MDL-63911
2018-11-08 13:11:28 +08:00
Andrew Nicols
3dd49ad738 MDL-63842 core_user: Remove unnecessary DB fetch 2018-11-02 09:07:18 +08:00
Luca Bösch
e5abe2afbf MDL-59454 core_user: Download user table in the available formats. 2018-10-30 22:55:51 +01:00
David Monllao
f7642bebc5 Merge branch 'MDL-62560-master' 2018-10-22 12:52:58 +02:00