2066 Commits

Author SHA1 Message Date
Juan Leyva
f804c73055 MDL-50130 users: Filter profile fields data in external functions 2015-06-30 19:52:19 +02:00
David Monllao
21a0a68196 Merge branch 'MDL-50646-master-preflang' of git://github.com/mudrd8mz/moodle 2015-06-29 13:35:44 +08:00
Bas Brands
bffb1c15b3 MDL-50653 user: forgotten closing div tag on the page
The /user/view.php was missing a closing div for the <div class="description">
causing the page grid to break on any Bootstrap 3 based theme.
2015-06-24 08:36:52 +02:00
Davo Smith
1a6448fded MDL-29763 portfolio: add helpful description to the page 2015-06-19 14:54:58 +01:00
David Mudrák
7e670032bf MDL-50646 admin: Use site default lang as new user's preferred lang
As a result of MDL-49632, the preferred language is no longer part of
the "Add a new user" form. So the lang property is not passed to the
user_create_user() when creating a new user and the value always falls
back to "en" (which is the default defined in the database for this
column).

This patch makes sure that the site default language is used in such
case.
2015-06-19 13:25:44 +02:00
Dan Poltawski
356fd5bae7 Merge branch 'm29_MDL-49628a' of https://github.com/totara/moodle 2015-06-02 13:54:01 +01:00
Simey Lameze
baa850a309 MDL-49906 core_user: add require login exception message 2015-05-13 13:51:22 +08:00
Andrew Nicols
217d7f6f24 Merge branch 'MDL-50162-master' of git://github.com/FMCorz/moodle 2015-05-08 13:56:11 +08:00
Frederic Massart
a622bc1a96 MDL-50162 core_user: Some preferences are not updated in $USER object 2015-05-08 13:02:12 +08:00
Dan Poltawski
fad8ee28f1 Merge branch 'MDL-50120-master' of git://github.com/FMCorz/moodle 2015-05-07 10:52:25 +01:00
Frederic Massart
69a3587196 MDL-50120 core_user: Profile edit redirects to profile or preferences 2015-05-07 14:31:03 +08:00
Dan Poltawski
57fc76ab92 Merge branch 'MDL-50102' of git://github.com/stronk7/moodle 2015-05-06 10:50:35 +01:00
Andrew Nicols
1bd3c5b846 Merge branch 'MDL-49931-master' of git://github.com/ankitagarwal/moodle 2015-05-06 12:25:56 +08:00
Eloy Lafuente (stronk7)
26ea380d24 MDL-50102 versions: bump all versions and requires near release
version = planned 2015051100 release version
requires= current 2015050500 rc1 version

Note: On purpose, the course format social wrong version (2015102100)
has been kept unmodified. Looking forward a solution right now.
2015-05-05 17:43:19 +02:00
Frederic Massart
b2687a055d MDL-49179 weblib: Secure the direct usage of $_SERVER['HTTP_REFERER'] 2015-05-05 18:31:13 +08:00
Dave Cooper
186747fd75 MDL-49845 core_user: Fix behat failures 2015-05-05 17:30:53 +08:00
Ankit Agarwal
36bbb0b70a MDL-49931 preferences: Add cancel button to forms 2015-05-05 10:32:14 +05:30
John Okely
4887d15228 MDL-49983 navigation: Remove 'my' from user context navigation 2015-05-04 12:38:50 +08:00
David Mudrák
3759e7ae96 MDL-50033 lang: Update Behat scenarios to use the new strings 2015-04-29 23:15:44 +02:00
Andrew Nicols
b083e0f6f2 Merge branch 'MDL-49311-master' of git://github.com/lameze/moodle 2015-04-24 10:19:20 +01:00
papillon
28d27e85d7 MDL-49311 user: fix default sorting problem 2015-04-24 09:10:22 +08:00
Frederic Massart
e14388e3a7 MDL-49972 preferences: Fix incorrect title and headings 2015-04-23 16:05:00 +08:00
Simey Lameze
0525a7a8f1 MDL-49854 core_user: fix the myprofile lib inclusion 2015-04-21 12:04:40 +08:00
Simey Lameze
e35bac3e80 MDL-49854 core: User navigation refinements
Fixing some reported issues:
- Removing unnecessary conditional include
- Require login in grade/report/mygrades.php
- Remove unnecessary defined('MOODLE_INTERNAL') call
- Fixing context_header::__construct $imagedata param type
2015-04-21 11:46:32 +08:00
Andrew Nicols
bd305d3dcb Merge branch 'wip-mdl-49799-m' of https://github.com/rajeshtaneja/moodle 2015-04-20 12:22:18 +08:00
Rajesh Taneja
0fe86bbdbb MDL-49799 behat: replaced asd.com with example.com
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
David Monllao
b9476466f1 Merge branch 'm29_MDL-49904' of git://github.com/totara/moodle 2015-04-20 10:40:37 +08:00
Brian Barnes
cfff4da9f6 MDL-49904 user: set title when editing another user 2015-04-17 12:09:30 +12:00
David Monllao
89a6290fb9 Merge branch 'MDL-45131-master' of git://github.com/jleyva/moodle 2015-04-16 17:04:34 +08:00
Juan Leyva
605c421b58 MDL-45131 user: Add validation for returned parameters in WS tests 2015-04-16 10:25:33 +02:00
Dan Poltawski
8f80ae2f5b MDL-45774 fix trailing whitespace 2015-04-14 15:32:14 +08:00
Adrian Greeve
52f2075d61 MDL-49689 navigation: Behat tests for default home page
Part of MDL-45774.
2015-04-13 15:54:24 +08:00
Adrian Greeve
3a13707a0a MDL-49819 navigation: Admin section in user profile update.
The Admin section will now only show when the admin or someone
    with similar capabilities views the user profile. The edit profile
    link has also been moved.

    Part of MDL-45774.
2015-04-13 14:41:24 +08:00
Ankit Agarwal
8f43702a69 MDL-49412 core_user: Fix behat failures 2015-04-10 17:18:23 +08:00
Adrian Greeve
efd32edbee MDL-45774 navigation: Deprecation of useredit_shared_definition_preferences. 2015-04-10 17:18:04 +08:00
Adrian Greeve
45367bdf0c MDL-49688 navigation: First review fixes and version bump.
Part of MDL-45774.
2015-04-10 17:18:03 +08:00
Ankit Agarwal
b19cc4ef25 MDL-45898 myprofile: Redesign my profile page
Part of MDL-45774.

Contributions by John Okely, Jetha Chan and Damyon Wiese (squashed branch).

AMOS BEGIN
CPY [coursebadges,core_badges], [badges,core_badges]
AMOS END
2015-04-10 17:17:32 +08:00
Damyon Wiese
479fa47d0b MDL-49632 User preferences: Move preferences out of edit profile form.
This is a super confusing place to change your default text editor. Lets
make these things easy to find.

Part of MDL-45774
2015-04-10 17:17:08 +08:00
Damyon Wiese
4e1f60478a MDL-49635 Navigation: Site pages consistent headers + navigation for preferences
Preferences pages cancel and continue buttons should lead back to preferences page.

Site pages should have consistent headers and breadcrumbs.

Hide the "Preferences" node in the navigation.

Part of MDL-45774
2015-04-10 17:17:07 +08:00
Adrian Greeve
f495187da7 MDL-48935 navigation: Update the user nav breadcrumbs.
Part of MDL-45774.
2015-04-10 17:17:07 +08:00
Adrian Greeve
e42fb2dddf MDL-48931 navigation: Update to context header renderer.
Update to the context_header render to include the messaging
JavaScript. Also updates to profile pages to remove duplicated
code.

Part of MDL-45774
2015-04-10 17:17:07 +08:00
Adrian Greeve
283ea788bf MDL-48931 navigation: Implement the user subheader.
Part of MDL-45774
2015-04-10 17:17:07 +08:00
Adrian Greeve
880c50731f MDL-48930 navigation: Using user headers in user pages.
Pages that are percieved to be in a user context are now
using a user context for the header.

Part of MDL-45774
2015-04-10 17:17:07 +08:00
Ankit Agarwal
50e0d9ff5c MDL-48932 myprofile: Add tests for the profile apis 2015-04-10 17:17:06 +08:00
Ankit Agarwal
0807601d2f MDL-48932 myprofile: Add apis to make my profile pluggable 2015-04-10 17:17:06 +08:00
Frederic Massart
0e8418a8de MDL-45895 user: Scaffold of the new preferences page
Part of MDL-45774
2015-04-10 17:17:06 +08:00
Adrian Greeve
b6c42eb0f0 MDL-45894 navigation: Behat tests for user navigation.
Part of MDL-45774
2015-04-10 17:17:05 +08:00
Adrian Greeve
c9451960e3 MDL-45894 navigation: My grades update to overview report.
Part of MDL-45774
2015-04-10 17:17:05 +08:00
Dave Cooper
81d7de1aa1 MDL-48936 lang: Changed "My Home" to "Dashboard".
Part of MDL-45774
2015-04-10 17:16:27 +08:00
Brian Barnes
32bd11cb39 MDL-49628 general: improved accessibility of single selects 2015-04-09 11:12:16 +12:00