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
nicolasconnault
20486a5a21
MDL-19787 Converted print_box* to $OUTPUT->box*
2009-08-10 04:53:22 +00:00
nicolasconnault
d81b05e701
MDL-19799 Converted calls to popup_form()
2009-08-10 03:39:21 +00:00
nicolasconnault
706b82dade
MDL-19799 Upgraded calls to print_heading_block
2009-08-06 01:26:12 +00:00
nicolasconnault
f8065dd287
MDL-19756 Migrated the following functions from weblib to outputlib:
...
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno
2009-07-27 10:33:00 +00:00
tjhunt
5e39d7aa09
upgrade: MDL-19763 Improve the redirect that forces a DB upgrade when there are major changes
...
Also fix redirect, so 303 redirects don't need to fully initialise $OUTPUT.
2009-07-10 08:44:01 +00:00
skodak
80b3328712
MDL-19010 fixed redirect at main page if upgrade required, otherwise it would end with exception due to DB structure changes
2009-07-10 08:03:06 +00:00
tjhunt
d4a03c00ea
themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
...
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)
Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)
The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.
How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.
Further refinement for how the theme and block code gets initialised.
Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)
Things that are still broken:
* some pages in lesson, quiz and resource. I'm working on it.
* lots of developer debug notices pointing out things that
need to be updated.
2009-07-09 07:35:03 +00:00
tjhunt
4096752d1d
MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 10:06:39 +00:00
tjhunt
34a2777ccb
themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
...
Also, part of the change from weblib.php functions to $OUTPUT-> methods.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F
This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.
The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.
A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.
All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.
2009-06-26 09:06:16 +00:00
skodak
4fe2250a1f
MDL-19352 maintenance mode reiplemented
2009-05-31 14:42:29 +00:00
tjhunt
bb46a4fa2a
blocklib: MDL-19010 refactor blocklib to use block_manager to get the blocks for rendering
2009-05-06 09:15:05 +00:00
tjhunt
93d4a373f9
blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere
2009-05-06 09:13:16 +00:00
tjhunt
cfcfb9f3d0
moodle_page: MDL-12212 kill legacy page_allows_editing implementations
2009-05-06 09:02:48 +00:00
tjhunt
ad52c04f4c
moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
...
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
tjhunt
82611d8d33
moodle_page: MDL-12212 ->docspath
2009-05-06 08:48:13 +00:00
stronk7
b1c83b2c58
MDL-18940 meta description in main page - render multilang summary properly. Merged from 19_STABLE
2009-04-25 21:20:45 +00:00
tjhunt
edc0c49332
file api: MDL-18754 improve the names of some functions.
...
The new names are documented on
http://docs.moodle.org/en/Development:Convert_Draftarea_Files
2009-04-01 04:34:58 +00:00
dongsheng
6e5e0c9363
"FORUM/MDL-14860, declare subtext varible before use it, merged from 1.9"
2009-03-03 01:03:56 +00:00
dongsheng
730535cb0c
"FORUM/MDL-14860, hide unsubscribe link if users are not allowed to unsubscribe from this forum, merged from 1.9"
2009-02-25 05:27:21 +00:00
skodak
644d506ac1
MDL-16698 towards new general editor element + converted course section summaries
2009-02-17 16:18:05 +00:00
skodak
88582df496
MDL-17458 refactored guest and admin user creation + refactored roles install + added protection for installation hijacking + added reliable session test right before editting of admin account
2009-01-29 22:54:41 +00:00
skodak
b9fb71030f
MDL-17942 reimplemented detection of mysql max_packet_size problems
2009-01-19 08:03:55 +00:00
skodak
17d9348991
MDL-14992 towards better db sessions
2009-01-16 20:43:17 +00:00
skodak
18818abf4c
MDL-17458 $CFG->rolesactive cleanup + other cleanup in upgrade code
2009-01-15 22:09:57 +00:00
skodak
3e46c66a5d
MDL-17427 - removed old file based logging from ugprade - going to add new upgrade logging later
2009-01-11 10:18:53 +00:00
skodak
0ad6b20cb2
MDL-17754 session code refactoring; removing test cookie which will be replaced by wwwroot checks
2009-01-02 13:42:43 +00:00
skodak
973d2660e6
MDL-16613 sesskey cleanup
2009-01-02 10:51:26 +00:00
Francois Marier
6800d78e06
Drift between CVS and git
...
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
skodak
8618fd2aeb
MDL-14679 converted some delete_records
2008-06-02 21:52:27 +00:00