150 Commits

Author SHA1 Message Date
Marina Glancy
b0a83aa7bd MDL-76362 various: Avoid passing nulls to functions that don't allow nulls
PHP 8.1 is more strict on the parameter type. Functions such as trim(), strlen(), str_replace(), etc
show notice when null is passed as an argument
2023-01-23 09:15:54 +08:00
Mathew May
96304ae607 MDL-74363 navigation: Add breadcrumbs in course use sub pages 2022-04-05 19:50:50 +12:00
Sara Arjona
9261157cc3 MDL-73233 course: Remove make_active() call
When accessing to User grades and then to the grades from a
specific course, this call was causing several behat errors
because the dashboard node was not found.
The code causing this issue can be safely removed because it
isn't used (the current node is calculated a few lines below).
2022-03-16 11:35:09 +01:00
Paul Holden
6d18f136ae MDL-72772 gradereport_overview: account for users with parent roles. 2022-01-12 14:18:52 +01:00
Paul Holden
1964d68f85 MDL-72772 gradereport_overview: access checks for viewing grades. 2022-01-12 13:43:35 +08:00
Mihail Geshoski
d000b16a72 MDL-72287 report: Add back link and headings in user profile pages 2021-12-09 22:46:57 +08:00
Damyon Wiese
4b937932a2 MDL-55074 theme_behat: Behat fixes for user_grade_navigation 2016-10-24 12:00:23 +08:00
John Okely
4887d15228 MDL-49983 navigation: Remove 'my' from user context navigation 2015-05-04 12:38:50 +08:00
Adrian Greeve
12261113a9 MDL-49888 navigation: Added missing reports to user profile.
Added statistics and grade to the reports section in the user
profile.
2015-04-28 14:30:26 +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
Adrian Greeve
45367bdf0c MDL-49688 navigation: First review fixes and version bump.
Part of MDL-45774.
2015-04-10 17:18:03 +08:00
Adrian Greeve
c78dbe03fb MDL-49634 navigation: My grades now relevant to teachers.
My grades was originally only showing grades to a student.
Now the report will also show teachers what courses they are
teachers in.

Part of MDL-45774.
2015-04-10 17:17:08 +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
c9451960e3 MDL-45894 navigation: My grades update to overview report.
Part of MDL-45774
2015-04-10 17:17:05 +08:00
Frederic Massart
abbee05eb3 MDL-43197 gradereport_user: Parents/mentors can see all the relevant grades 2014-08-19 10:47:34 +08:00
Petr Skoda
f49151c30b MDL-41185 cleanup course viewed events
Thanks Marina for spotting some of the issues.
2014-04-21 18:12:53 +08:00
Adrian Greeve
68a7235889 MDL-41185 events: Added events for different course view pages 2014-04-21 17:39:18 +08:00
Petr Škoda
d5814f4e22 MDL-41811 simplify the admin tree detection logic and fix navigation in multiple areas 2013-10-21 14:17:55 +08:00
Damyon Wiese
74df2951d1 Revert "MDL-39876 Change get_record('course') calls to get_course"
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c MDL-39876 Change get_record('course') calls to get_course 2013-08-15 11:31:20 +01:00
Ankit Agarwal
9a5e297b4c MDL-34470 course: Replace all instances of get_context_instance() with context_xxx::instance() in course/ 2012-07-24 16:19:01 +08:00
Petr Skoda
a0b15989e7 MDL-30364 fix user report regressions 2011-12-10 20:18:44 +01:00
Petr Skoda
a260c84796 MDL-29030 move user completion reporting to report_completion plugin 2011-11-06 12:22:52 +01:00
Petr Skoda
beda8fa8e2 MDL-29030 move user stats reporting to report_stats plugin 2011-11-06 12:22:52 +01:00
Petr Skoda
fad8e0248c MDL-29030 move user log reporting to report_log plugin 2011-11-06 12:22:52 +01:00
Petr Skoda
4d00fded9d MDL-29030 migrate outline user reporting to plugin 2011-11-06 12:22:51 +01:00
Petr Skoda
ba50bd3d63 MDL-29030 fix remaining report linking hacks
Please note all plugin references from core should use callbacks, it is not ok to use capabilities or links to plugins because they may not be present in customised installs.
2011-11-06 12:22:50 +01:00
Sam Hemelryk
5a1b6297c9 MDL-28582 course-report: Added a nothing to display notification to the outline and complete activity reports 2011-10-10 10:35:05 +13:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Sam Hemelryk
870815faed Merged MDL-25805 Renamed property and function to be a little more descriptive 2011-05-03 15:41:34 +08:00
Aparup Banerjee
b9bcad24db MDL-25805 Roles propagated ugly hack for parent seeing child activities into navigation lib to display nav node. 2011-05-02 20:08:08 +08:00
Eloy Lafuente (stronk7)
a0c3fc6304 MDL-25708 recordsets - fix course & enrol dir uses 2011-01-25 19:58:59 +01:00
sam marshall
b64a827c4d completion MDL-25929 Reordered SQL to make it clearer (after tim's review) 2011-01-10 15:35:46 +00:00
sam marshall
1c6ed50500 completion MDL-25929 Remove progresstrackedroles option 2011-01-10 15:20:24 +00:00
Petr Skoda
516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Petr Skoda
7e85563de5 fixed a few spelling errors 2010-09-17 12:16:27 +00:00
David Mudrak
b50d110eb6 NOMDL Fixed module icon location in user complete activity report 2010-07-26 10:36:23 +00:00
Eloy Lafuente
ffe5025874 NOBUG DB syntax - fix/improve some uses. I haven't tested completion, have you? 2010-07-05 22:48:07 +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
7487c85699 course formats MDL-22647 Course format names are now properly supported and used. Big thanks to Brandon Turner for the patch. 2010-06-08 06:21:25 +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
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
Martin Dougiamas
2be4d090c0 course completion MDL-2631 Course completion feature - Thanks to Aaron Barnes and Catalyst IT for this significant contribution. It is now officially possible to finish a course!
Even though I've tweaked this and done some polishing, there is still plenty to do on it now in HEAD, mostly to do with UI, usability and strings, so we'll keep working on it.  Aaron already has a number of improvements to add to it.
2010-04-30 03:06:22 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Sam Hemelryk
7a7e209df0 navigation MDL-20649 Revised the way in which navigation works for users
When logged in there is a my moodle dashboard branch, when viewing a site profile there is a users branch, and when viewing a course profile there the user is shown under the participants branch
2009-12-23 01:22:48 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00