44 Commits

Author SHA1 Message Date
Daniel Neis Araujo
9d9361e82d MDL-18633 User profile: add last ip field to user view 2014-02-18 09:42:28 -03:00
Michael Aherne
41dcfbf1af MDL-26680 my page My Moodle "reset to default" button 2014-01-21 22:36:24 +00:00
Andrew Nicols
4a57ba7ebb MDL-40788 Profile: Remove debugging code displayed on profile page 2013-07-19 15:21:04 +01:00
Matteo Scaramuccia
243ab45c16 MDL-40200 Administration: Return the invalid user message and stop there
To avoid adding duplicate code, 'invalid user' and 'user deleted' checks
have been merged together.
2013-06-22 09:54:30 +02:00
Mary Evans
fb6bf33bf7 MDL-30312 User: Changed page layout from mydashboard to mypublic in user/profile.php 2013-06-12 13:29:45 +01:00
Yuliya Bozhko
278065528a MDL-35073 badges: Open badges integration
The badges feature allows to integrate Mozilla "Open Badges" to issue, assign,
manage and display digital badges in Moodle. This feature supports:
-- badge creation and issuing based on criteria
-- badge baking and verification service
-- direct pushing of internal badges to external backpack
-- interanl and external badge display in Moodle
-- Moodle block to display latest badges
2013-04-02 15:49:02 +08:00
Jason Fowler
6e5d002e57 MDL-35875 - User - Modify the profile page to use semantic HTML rather than tables for layout 2013-03-15 17:09:37 +08:00
Damyon Wiese
4e516138e9 Revert "MDL-35875 - Users - Fixing RTL support"
This reverts commit fbb31b0f905c8859cc4f559f4f8148769367ece6.
This reverts commit c111b9f3aeea98542213ff530f59291fd45d1245.
This reverts commit 8afb9b7c4f2bfbb336b3e3af580cb14d32b0e917.

This issue has failed testing and integration will be delayed.
2013-02-28 10:53:03 +08:00
Jason Fowler
8afb9b7c4f MDL-35816 - User - Modify the profile page to use semantic HTML rather than tables for layout 2013-02-22 13:59:49 +08:00
Paul Nicholls
606554d5b0 MDL-32652 - Make block drag-drop work throughout Moodle
The central "content" region on My Home / user profile pages also needs to
be initialised in lib/ajax/blocks.php in order to allow blocks to be
dropped into that region successfully.  Some tweaks were also necessary in
order to correct the "content" region's structure in order for drag-drop
to function on this region on these pages.

Non-standard block regions (including the central "content" region
used by My Home and user profile pages) were causing the temporary empty
block region used as a drop target to sometimes appear in the wrong place.

The call to init_requirements_data (which includes the block drag-drop JS)
happens at a late enough stage in page generation that we can simply
pass the context ID through to the JS, so that it can be sent as part of
the AJAX request.  This prevents lib/ajax/blocks.php from having to try
to guess the context from the other bits of information it receives, so
block drag-drop should now work everywhere without issues.
2013-01-29 14:57:28 +13:00
Petr Škoda
d2fec87baf MDL-37233 do not show skype status icon on https sites
Funny that the same company that implemented the IE security warnings is unable to set up SSL on the Skype status server…
2012-12-21 17:26:36 +01:00
Thanh Le
31f4086460 MDL-36259 course short names: ensure it displays when enabled in admin
Fixed 5 Moodle pages that does not display the course short name even if "Display extended course names" setting is on.  In fixing this, search.php also included related minor code to change to minimise DB calls to improve performance.
2012-12-15 10:44:34 +00:00
Sam Hemelryk
cc21d0ff6e MDL-26822 user: Minor improvements post integration 2012-09-03 11:41:07 +12:00
Sam Hemelryk
0363a5b3fa Merge branch 'MDL-26882-master' of git://github.com/ankitagarwal/moodle 2012-09-03 11:40:29 +12:00
Ankit Agarwal
b48ceab75b MDL-26882 profile: Applying cap check (site:viewuseridentity) to email field in user profile 2012-08-27 14:48:50 +08:00
Ankit Agarwal
222ada3765 MDL-26882 profile: Apllying the cap check site:viewuseridentity to user profile 2012-08-27 14:48:50 +08:00
Juho Viitasalo
9ce8411317 Changed two notification to output correctly 2012-08-21 15:33:39 +08:00
Frederic Massart
4373103084 MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
Dan Poltawski
f884819546 Merge branch 'MDL-30903-master' of git://github.com/FMCorz/moodle 2012-07-03 11:51:04 +08:00
Frederic Massart
d17ba1e1a5 MDL-30903 Accessibility: user profile page uses table headers 2012-05-24 10:18:14 +08:00
Petr Skoda
65f78adf42 MDL-27575 use new skype call URI
As described in official Skype page at http://www.skype.com/intl/en-us/tell-a-friend/get-a-skype-button/
2012-05-19 20:48:48 +02:00
Ankit Agarwal
9ffd29ceb3 MDL-31548 enrollments: Introducing new api enrol_get_all_users_courses() that returns all user courses without any checks 2012-04-20 08:54:06 +08:00
Petr Skoda
4ad72c284d MDL-30548 support user suspended flag in admin UI
This patch includes:
* user management suspend UI tweaks and other coding style improvements
* suspended info in user profiles
* suspend option in advanced edit form
* suspended user filtering
* hidden user fields option for suspended field

Thanks Sam Hemelryk for valuable feedback.
2012-01-03 16:35:21 +01:00
Petr Skoda
d05e39b0d9 MDL-30467 no system profile for deleted users 2011-11-26 09:16:27 +01:00
Petr Skoda
da84c1491f MDL-27220 add missing tag lib include 2011-04-17 11:08:24 +02:00
Petr Skoda
181991e791 MDL-26621 respect email privacy settings on the main user profile and fix missing context 2011-03-12 19:04:26 +01:00
Petr Skoda
81b58cc227 MDL-26389 improve profile and search engine privacy 2011-02-14 15:42:26 +01:00
Dan Poltawski
50542ff06a user/profile.php MDL-25847 - Missing library dependency 2011-01-03 16:49:30 +00:00
Andrew Davis
46505ee75e message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version 2010-11-05 08:04:40 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Petr Skoda
04aec3dacf MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL 2010-08-25 08:32:59 +00:00
Sam Hemelryk
eb8d85c1d3 NOBUG Added missing hiddenfields var from user/profile.php 2010-07-29 03:03:03 +00:00
Martin Dougiamas
b45ac02884 Show the user's name in the title and header 2010-07-12 13:42:42 +00:00
Martin Dougiamas
f59d8e45db MDL-22320 Added a 'Send a message' link to the main profile page, linking to messaging 2010-07-12 13:31:32 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
David Mudrak
5db29f49f2 MNet: Fixed remote user profile display
Fixed SQL, strings usage, CSS class. In the future, we can distinguish
information displayed for the owner and for the others, as well as what
to display in the course profile (user/view.php) and public profile
(user/profile.php).
2010-07-01 12:56:31 +00:00
Martin Dougiamas
1291a79fd7 MDL-21655 Fixing one missed has_coursemanager_role -> has_coursecontact_role 2010-06-29 14:29:28 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Sam Hemelryk
5d07e95756 navigation MDL-22723 Fixed issue when loading 2+ users not including the current user 2010-06-10 07:29:02 +00:00
Sam Hemelryk
87c215de67 navigation MDL-14632 Fixed up user profile navigation and settings after recent changes. 2010-05-17 05:38:59 +00:00
Patrick Malley
29ef7d4fe6 Working on Boxxie, Canvas, and Formactor 2010-05-16 22:57:31 +00:00
Martin Dougiamas
99cca8470e MDL-19124 Continued misc user profile cleanups
- fixed user styles in base theme
    - added new divs for better control on user profile and user index pages
    - reduced data on course user profiles down to minimum
    - removed user/tabs.php completely and all uses of it
    - changed default user icon pix to something very bland (bye bye smiley cake)
2010-05-16 08:21:12 +00:00
Sam Hemelryk
c07dfe7021 navigation MDL-14632 Added pagelayout calls to set more appropriate page layouts 2010-05-14 07:07:15 +00:00
Martin Dougiamas
03d9401e7d My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them.  I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.

There's still work to do.  Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0.  We also could use a much better course overview block and better CSS styling of the profile pages.  But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00