Marina Glancy
d57aa283f7
MDL-35339 Deprecate get_all_mods() add get_module_types_names()
...
- added function get_module_types_names() returning the list of localised strings used for module names;
- added function cm_info::get_used_module_names();
- added magic properties cm_info:: and cm_info:: returning human readable module name;
- replaced usage of function get_all_mods() with get_fast_modinfo() and get_module_types_names();
- function print_section_add_menus() may now retrieve the modules names list itself;
- deprecated function get_all_mods()
2012-10-15 14:08:13 +08:00
David Monllao
98795fd1a6
MDL-10259 core Adding a search courses box if there are too many courses
2012-09-07 11:28:29 +08:00
Ankit Agarwal
bf0f06b1be
MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method
2012-08-02 15:37:38 +08:00
Andrew Robert Nicols
01e0e7044a
MDL-30617 Add a javascript interface for adding modules to a course
...
This interface allows for additional metadata, such as the module's help
and icon, to be displayed.
2012-05-18 00:27:16 +08:00
Aparup Banerjee
8280dec6fa
Merge branch 'w20_MDL-33016_m23_hubperf' of git://github.com/skodak/moodle
2012-05-17 16:57:01 +08:00
Dan Poltawski
12ba24a8f8
Merge branch 'MDL-24419' of git://github.com/stronk7/moodle
2012-05-17 11:19:02 +08:00
Sam Hemelryk
7b06151288
Merge branch 'MDL-22504_drag_and_drop_upload_final' of https://github.com/davosmith/moodle
...
Conflicts:
course/lib.php
theme/base/style/course.css
2012-05-17 10:55:35 +12:00
Sam Hemelryk
fbb4c959b5
MDL-32881 Prevent course/view.php from being cached
...
This should prevent browser caching which will ensure that changes made
using the course javascript (e.g. drag/drop, show/hide) will not be 'lost'
by using the browser back button.
This reverts commit 3aaa1843999eeb1832331ec5c8b30865fdba9710.
2012-05-17 10:12:29 +12:00
Petr Skoda
13f18ae197
MDL-33016 eliminate unnecessary DB query on /index.php
2012-05-15 15:40:22 +02:00
sam marshall
ce4dfd2703
MDL-24419 (4): Add conditional availability support to sections; section cache
...
Credit: original version done by Kirill Astashov of NetSpot (netspot.com.au),
finished and tweaked by sam.
This change adds conditional availability support for sections analagous to
that already available for activities. (Backend, UI, backup/restore.)
In order that this feature does not reduce performance, section cacheing has
also been added using a new course 'sectioncache' field analagous to modinfo.
The new feature integrates with activity availability so that activities
inside sections which are not available are automatically not available
themselves (meaning it works to restrict access).
2012-05-14 11:19:25 +01:00
Davo Smith
5103b5e667
MDL-22504 Course drag and drop upload - now correctly ignores disabled modules and allows upload to orphaned sections
2012-05-14 09:48:04 +01:00
Andrew Robert Nicols
ebaa29d107
MDL-31096 Convert course resource/section javascript to YUI3 Module
...
AMOS BEGIN
MOV [hideweekfromothers,moodle],[hidefromothers,format_week]
MOV [showweekfromothers,moodle],[showfromothers,format_week]
MOV [hidetopicfromothers,moodle],[hidefromothers,format_topics]
MOV [showtopicfromothers,moodle],[showfromothers,format_topics]
AMOS END
2012-04-23 21:28:39 +01:00
Sam Hemelryk
859a181627
Merge branch 'wip-mdl-32270' of git://github.com/rajeshtaneja/moodle
2012-04-10 10:53:34 +12:00
Rajesh Taneja
ab6ec58a2e
MDL-32270 Library: ->defaulthomepage is checked before used
2012-04-03 11:28:07 +08:00
Petr Skoda
54352ac979
MDL-32251 more E_STRICT fixes
2012-03-30 19:02:58 +02:00
Petr Skoda
98054db10b
MDL-31534 init PAGE before require_login()
2012-03-12 13:58:01 +01:00
Petr Skoda
6f3451e540
MDL-31301 remove all uses of moodle_strtolower() and deprecated it
2012-03-03 11:46:26 +01:00
Ruslan Kabalin
29b9b464d8
MDL-31316 Fix block controls when default home is My Moodle
2012-02-08 09:46:36 +00:00
Sam Hemelryk
ecb731cb03
MDL-30222 Fixed home page redirection madness. Thank you Julien Boulen for providing the solution
2011-12-06 12:09:01 +13:00
Sam Hemelryk
32b9e80b15
MDL-27278 navigation: Admin users can now set the home page preference like normal users
2011-10-10 10:17:00 +13:00
Eloy Lafuente (stronk7)
c3b825e1b8
MDL-28489 site news forum - support multilang filter
2011-08-29 22:03:04 +02:00
Petr Skoda
8275eab842
MDL-28163 custom site frontpage support
2011-07-03 15:02:46 +02:00
David Mudrak
1c5ab635b6
MDL-27053 Revert "MDL-26985 make sure admins do not upgrade to 2.1dev accidentally"
...
This reverts commit 9778dae374b10a825b8e500e36958b92a6b4e9ad.
2011-04-13 14:08:32 +02:00
Petr Skoda
9778dae374
MDL-26985 make sure admins do not upgrade to 2.1dev accidentally
...
We already have the new maturity warning in the upgrade page but we are not changing versions yet, we should better give admins one extra chance to go back to latest 2.0.2+ stable.
2011-03-26 22:28:32 +01:00
Dongsheng Cai
2848b97948
MDL-24877, do not display all courses in course category tree if there are too many courses in moodle
2011-03-14 17:04:06 +08:00
David Mudrak
6f7d65c724
MDL-24561 forum subscription checks sesskey
...
The only case when sesskey is not available is when we came to
subscribe.php from a link in email. In that case, we display a
confirmation page that redirects back providing the sesskey.
All other links to subscribe.php are fixed now so they provide sesskey
as a parameter.
I also polished $mode parameter handling a bit because the check
against empty string was not correct as the value is cast to PARAM_INT.
2011-01-05 13:01:46 +01: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
8a8f1c7cd6
MDL-10137 rewritten cookie test on login page, username cookie is not required any more - hopefully this will be more reliable test
2010-10-10 17:30:28 +00:00
jerome mouneyrac
a4e56bf335
hub server MDL-24015 add hub setting to not display the search form on the front page when users are not logged
2010-10-08 08:54:36 +00:00
Petr Skoda
a226a972f7
MDL-24321 switching to stdClass in /admin/ and /
2010-09-21 08:44:02 +00:00
Petr Skoda
af9f54303f
standardised license headers
2010-09-06 12:01:57 +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
Rossiani Wijaya
fd2aa40b0a
MDL-21615 - add skip link to main column content (front page).
2010-06-23 08:54:19 +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
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
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
Martin Dougiamas
825b6fdb0f
MDL-19311 Fixing some bad comment layout
2010-05-16 16:23:27 +00:00
jerome mouneyrac
abf63f981b
hub server MDL-19311 add some code to the index page to display the hub course list in case the hub plugin is installed + improve community block search form (subject + language)
2010-05-14 07:04:17 +00:00
Sam Hemelryk
4766a50c19
navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit
2010-05-13 09:57:43 +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
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
244a32c617
MDL-21119 lang menu and login info now handled by themes
2009-12-29 17:26:29 +00:00
Petr Skoda
191b267bcd
MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically
2009-12-27 12:02:04 +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
78946b9bdb
MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks
2009-12-16 18:00:58 +00:00
samhemelryk
474f6bfed9
core MDL-19799 Added set_url calls and replaced deprecated functions
2009-10-15 03:43:28 +00:00
samhemelryk
393f161545
core MDL-19786 Updated OUTPUT->header calls that were still using arguments
2009-09-08 02:23:00 +00:00
samhemelryk
7d2a049292
navigation MDL-14632 Very significant navigation commit
...
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault
7b1f2c829f
MDL-19756 Renamed moodle_select to html_select for better API consistency
2009-08-10 08:38:45 +00:00