Commit graph

1370 commits

Author SHA1 Message Date
Petr Skoda
c8d8100048 fixed allowed module mess, sorry for the regression 2010-09-17 12:08:10 +00:00
Petr Skoda
e92c39cadc improved phpdocs 2010-09-17 12:04:48 +00:00
Sam Hemelryk
f3e5bf8642 course MDLSITE-972 Fixed course names names not being displayed on /course/ 2010-09-17 08:49:19 +00:00
David Mudrak
0f07802493 MDL-15457 gradebook: fixing a regression, plain fetch() does not work with modules having multiple grade items per instance such as workshop 2010-09-16 08:16:26 +00:00
Sam Hemelryk
58d89c2467 navigation MDL-24216 rebuild_course_cache now clears all navigation caches at the same time 2010-09-15 08:33:00 +00:00
Petr Skoda
472c1022d6 MDL-23876 Fixed a typo that prevented certain custom icons in activity modules; credit goes to Brandon Turner 2010-09-08 07:50:58 +00:00
Petr Skoda
c6947ba7a5 MDL-23899 migration to new locale aware asort 2010-09-05 13:00:47 +00:00
Petr Skoda
4758639429 MDL-24080 converting remaining NOT LIKEs 2010-09-04 14:52:47 +00:00
Petr Skoda
8086b08328 MDL-24079 log migrated to new sql_like(), removing unnecessary preg test that had potential utf8 problem; removed extra '-' 2010-09-04 12:36:00 +00:00
Petr Skoda
f685e83030 MDL-14679 fixed remaining old style set_field()s 2010-09-03 18:14:55 +00:00
Andrew Davis
f5e2602aea gradebook MDL-15457 hide grade item when activity is hidden in the course 2010-09-03 02:49:04 +00:00
Sam Marshall
46e1237279 Completion MDL-23995 Completion, availability data not deleted with modules/course 2010-09-01 17:02:56 +00:00
Petr Skoda
bf423bb1d1 MDL-22795 basic support for course enrol icons and enrol info 2010-08-18 09:02:05 +00:00
Petr Skoda
ede7252234 MDL-23784 finally getting rid of all legacy .gif and .png extensions, yay! fixing issues with incorrect & in JS code 2010-08-12 20:37:24 +00:00
Petr Skoda
2a63b636d7 MDL-23583 fixing incorrect $this 2010-08-01 09:52:54 +00:00
Rossiani Wijaya
ea831ceb6d MDL-20459 - convert $OUTPUT->spacer to use CSS. eliminate echo '<div>' to use html_writer::tag 2010-07-26 05:43:10 +00:00
Petr Skoda
525e16ce0c MDL-22735 finally fixed incorrectly hardcoded groupedit button on course page in edit mode 2010-07-25 18:04:36 +00:00
Rossiani Wijaya
2afcfc44cf MDL-23501- convert table to CSS. 2010-07-23 08:34:59 +00:00
Rossiani Wijaya
cb184beb24 MDL-20459 - update list of categories layout to support accessibility. Convert table to CSS. 2010-07-23 08:11:22 +00:00
Rossiani Wijaya
3aa11c75c3 MDL-21619 - add label to activities and resources icons. 2010-07-23 02:15:43 +00:00
Jonathan Harker
c71f326514 MDL-20876 Fix remaining split() calls. 2010-07-20 03:27:36 +00:00
Inaki
54a0159805 course/lib.php: MDL-23401 Fix regression introduced in MDL-23255 that prevents course creation when new course data doesn't include visibility info 2010-07-19 17:44:08 +00:00
David Mudrak
152a2273be MDL-22787 MNet: Fixing regressions in auth_mnet caused by changes in enrol_mnet
This smells - IMHO auth_enrol should not do anything with the enrolment
related information. These two plugins seem to be tied too much...
2010-07-17 22:34:12 +00:00
Petr Skoda
08fd3268d2 MDL-23227 fixed stupid coding errors, mod restriction settings work again 2010-07-15 18:24:20 +00:00
Petr Skoda
db1218a970 MDL-23255 fixed inverted isset preventing visibility change in course edit form (creadit goes to Jay Knight) + fixed visibility of new course in hidden category when not allowed to change visibility; improved comments 2010-07-14 14:23:32 +00:00
Petr Skoda
70740405d2 MDL-22909 fixed course request regressions 2010-07-10 15:46:07 +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
Martin Dougiamas
370f9570c7 Tweaking the display of the course overview block, spacing etc 2010-06-24 05:58:42 +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
Petr Skoda
1b048629bc we do not need any new api for fetching of course record - we have DML with MUST_EXIST flag which is the right way now; we should not include course/lib.php on each page anyway 2010-06-17 22:50:25 +00:00
David Mudrak
09eb215121 MDL-22729 Course sections can be re-edited again
By the way, the current style of creating course_sections is ugly. We
should probably have something like
make_sure_that_at_least_default_section_exists($courseid, $sectionid=null)
and not to insert it into database at many places as we do now.
2010-06-10 18:25:06 +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
3ebc548f9b course MDL-8369 Fixed bug in front page combo list and tweaked CSS 2010-06-03 06:11:39 +00:00
Sam Hemelryk
722b4ce18c course-ajax MDL-22645 Minor tweaking of label output to ensure it is always contained in a div 2010-06-02 02:20:17 +00:00
aparup
66b250fd9d obj:idnumber undefined notice MDL-22456 fixed and committed into HEAD. 2010-05-28 01:53:09 +00:00
Sam Hemelryk
e34a326f72 course-section MDL-22262 Added a summaryformat field to the database and implemented it when editing/viewing sections and backup 2010-05-27 03:07:54 +00:00
Sam Hemelryk
24e27ac0c1 course MDL-8369 Front page combo list is now restructured and exandable by JavaScript
This patch also implements a course renderer.
2010-05-27 01:40:11 +00:00
Petr Skoda
adf176d711 MDL-22479 removed all get_admin calls from upgrade script, fixed regessions in get_users_from_config() and reimplemented admin support in admin_setting_users_with_capability(), switch non-unique usernames in admin settings to user ids and upgraded existing settings + some more validation 2010-05-18 16:59:08 +00:00
David Mudrak
4868e95f58 Use defaultrequestcategory for new course from print_courses() if no other category is available
print_courses() produced PHP notice (Trying to get property of
non-object) and generated an invalid button to create a new course in this
case: (1) Passed paramater $category is 0 to display all categores (as in
case of home page, for example) and (2) get_child_categories(0) returns
more than one record. In such case, $categories is still a plain
integer, does not contain ->id property and the called /course/edit.php
exits with error.
This patch uses $CFG->defaultrequestcategory as category id in this
case.
2010-05-14 14:06:39 +00:00
jerome mouneyrac
07ab0c80ec hub MDL-19309 new site registration form + course publication + community block 2010-05-01 05:05:55 +00:00
Petr Skoda
e60ff53619 MDL-21781 move cohorts away when deleting course category 2010-04-23 09:14:36 +00:00
Sam Hemelryk
0f4ab67d84 course MDL-20628 Added the ability to name a course section, thanks Michael for the initial patch 2010-04-23 07:17:21 +00:00
Petr Skoda
d2265f130c MDL-21695 more help conversion examples
AMOS BEGIN
 HLP mods.html,[activities_hlp,core]
AMOS END
2010-04-14 08:54:17 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Petr Skoda
d9d74c8e3d MDL-22054 converting course formats to have own lang packs
AMOS START
 MOV [namescorm,core],[sectionname,format_scorm]
 MOV [namesocial,core],[sectionname,format_social]
 MOV [nametopics,core],[sectionname,format_topics]
 MOV [nameweeks,core],[sectionname,format_weeks]
AMOS END
2010-04-11 12:55:59 +00:00
Petr Skoda
0edb4aad67 MDL-22054 skip loading of missing modules on course page 2010-04-11 09:05:48 +00:00
Petr Skoda
4248b15cf8 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [backupnameformat,core],[backupnameformat,core_langconfig]
AMOS END
2010-04-10 17:35:19 +00:00
Petr Skoda
98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +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
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00