Commit graph

2381 commits

Author SHA1 Message Date
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
Eloy Lafuente (stronk7)
522eff0d30 Merge branch 'MDL-49499-master' of git://github.com/jleyva/moodle 2015-04-07 17:29:15 +02:00
Damyon Wiese
006fac90a1 Merge branch 'MDL-49498-master' of git://github.com/jleyva/moodle
Conflicts:
	lib/db/services.php
	version.php
2015-04-07 14:27:20 +08: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
Juan Leyva
214102d09e MDL-49498 user: New external function core_user_view_user_list 2015-04-02 17:03:03 +02:00
Juan Leyva
826d572ddf MDL-49498 user: New tests for user_list_view() 2015-04-02 17:03:03 +02:00
Juan Leyva
0ff203b657 MDL-49498 user: Move user/index event triggering to new API function
New function in user/lib.php: user_list_view
2015-04-02 17:03:03 +02:00
Juan Leyva
94dcab769b MDL-49499 user: New external function core_user_view_user_profile 2015-04-02 16:57:43 +02:00
Juan Leyva
a0b161bf23 MDL-49499 user: Unit tests for profile_view() 2015-04-02 16:57:43 +02:00
Juan Leyva
d1b238381f MDL-49499 user: Move events triggering to new API function
New function in profile/lib: profile_viewed()
2015-04-02 16:57:42 +02:00
Rajesh Taneja
bed97c39eb MDL-49513 behat: Set admin config using php api
Added a new set to set config using set_config() api
to make steps faster and more efficient
2015-04-01 14:25:23 +08:00
Eloy Lafuente (stronk7)
fb42902b28 Merge branch 'MDL-48499' of https://github.com/danielneis/moodle 2015-03-24 22:00:07 +01:00
Daniel Neis Araujo
77acc5d7a7 MDL-48499 messages: Show which users have not received bulk messages 2015-03-24 14:58:30 -03:00
Juan Leyva
4bf3a71380 MDL-48443 webservices: Prevent duplicated user devices 2015-03-20 14:45:04 +01:00
Andrew Nicols
db23cd087b Merge branch 'MDL-48716-master' of git://github.com/jleyva/moodle
Conflicts:
	lib/db/services.php
	lib/db/upgrade.php
	version.php
2015-02-25 09:20:26 +08:00
Dan Poltawski
94e4ca4cca Merge branch 'MDL-46665' of https://github.com/rlorenzo/moodle 2015-02-24 11:51:44 +00:00
Andrew Nicols
b6daeec8bd Merge branch 'm29_MDL-48519' of https://github.com/totara/moodle 2015-02-24 17:51:22 +08:00
Rex Lorenzo
c85140350b MDL-46665 core_user: Add 'idnumber' field to user filter 2015-02-20 10:34:08 -08:00
Juan Leyva
f494a81167 MDL-48716 webservices: core_user_remove_user_device unit tests 2015-02-19 15:15:18 +01:00
Juan Leyva
3221718eda MDL-48716 webservices: New ws core_user_remove_user_device 2015-02-19 15:15:18 +01:00
Brian Barnes
ff6744c5e2 MDL-48519 accessibility: improved accessibility of user filters 2015-02-16 10:00:01 +13:00
Andreas Grabs
3d944c8b20 MDL-49169 user - After MDL-48978-Fix description is not saved anymore 2015-02-12 12:26:36 +01:00
David Monllao
5bb0ee2a7a MDL-43535 webservices: Adding missing deprecated WS
- enrol_manual needs a version bump to execute
  external_update_descriptions()
- core_user_get_users_by_id() is now also marked
  as deprecated
2015-02-12 10:13:36 +08:00
Dan Poltawski
8edac41831 Merge branch 'MDL-43535_master' of git://github.com/dmonllao/moodle 2015-02-09 22:39:36 +00:00
David Monllao
3c1aa6fdfb MDL-43535 webservices: Marking functions as deprecated
Also:
- We don't allow users to add deprecated functions to WS
- We show a debugging message when deprecated functions
  are already being used in web services.
2015-02-09 05:42:22 +08:00
John Okely
8ef7eade79 MDL-42138 user: Require custom profile fields when registering as guest
Previously when someone registers after logging in as a guest, required
custom profile fields would not be required.

Thanks to Andreas Diendorfer for providing the patch.
2015-02-06 09:52:37 +08:00
Frederic Massart
cf4a17cb9b MDL-48933 core_message: New dialog to send a message to a user 2015-02-02 11:03:38 +08:00
Eloy Lafuente (stronk7)
8f2e522735 Merge branch 'wip-MDL-48978-master' of git://github.com/marinaglancy/moodle 2015-01-28 11:58:50 +01:00
Marina Glancy
17d33eec66 MDL-48978 user: fixed regression from MDL-37704 2015-01-28 16:47:50 +08:00
Andrew Nicols
06c2753115 MDL-48542 user_menu: Handle invalid strings better 2015-01-28 15:39:15 +08:00
Andrew Nicols
0977d3d404 Merge branch 'MDL-48542-master' of git://github.com/jethac/moodle 2015-01-28 12:02:28 +08:00
Jetha Chan
22893d6f47 MDL-48542 user_menu: add proper divider support
Added divider support to the user menu; hardened the custom user menu against invalid input.
2015-01-19 23:58:11 +08:00
Dan Poltawski
947ab40bf2 MDL-46976 user: trim whitespace from input email address
Don't complain about invalid email address, we are a computer, we
love the jobs users hate.

ref: https://www.youtube.com/watch?v=5tquSbZEP-g
2015-01-14 17:13:15 +00:00
Eloy Lafuente (stronk7)
a158a85668 Merge branch 'MDL-32088-master' of git://github.com/danpoltawski/moodle 2015-01-07 02:11:41 +01:00
Vishal Raheja
1e72465c17 MDL-32088 user: Correct the Moodle docs link
This patch links the moodle docs link to user profile Moodle doc when
the user sees the user profile for a particular course. The page is set
to course view type to load course specific blocks. So, we use
set_docs_path to change the Moodle docs link instead of changing the
pagetype.
2014-12-30 13:44:37 +00:00
Andrew Davis
7120494ea1 MDL-48441 core_user: profile.php, view.php now handle guests the same 2014-12-22 09:26:59 +01:00