samhemelryk
9985cbc4fe
breadcrumb MDL-14133 One function missed during fix, got it this time
2009-06-09 06:31:20 +00:00
skodak
4fe2250a1f
MDL-19352 maintenance mode reiplemented
2009-05-31 14:42:29 +00:00
skodak
1c39033f29
MDL-15249 error status codes for exceptions and notices
2009-05-27 08:34:04 +00:00
skodak
3316fe24d5
MDL-15249 more cleanup and refactoring - towards cli upgrade
2009-05-26 17:44:25 +00:00
samhemelryk
b868d3d9cf
lib MDL-19236 Added boilerplates and copyrights
2009-05-26 06:26:11 +00:00
skodak
258d532221
MDL-15249 preparation for new cli installer + coding style changes
2009-05-25 17:33:28 +00:00
samhemelryk
449611af98
weblib.php MDL-19236 added phpdocs and copyrights
2009-05-22 03:26:07 +00:00
fmarier
ea2678d8b9
MDL-17542 lib/html2text: update to latest upstream version (r2374)
...
from http://trac.roundcube.net/log/trunk/roundcubemail/program/lib/html2text.php
2009-05-22 02:10:22 +00:00
skodak
5ca3c8386f
MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon
2009-05-16 20:53:21 +00:00
jerome
2a274f2a93
authentication MDL-18273 Custom Authentication Plugin title can be retrieved from specific language file, merged from 19
2009-05-14 07:03:27 +00:00
tjhunt
7130fb212c
blocklib: MDL-19010 once again you can add blocks, at least on the coures page.
2009-05-08 03:30:58 +00:00
tjhunt
5d3e9d9fe3
moodle_page: MDL-12212 remove deprecated calls from course/view.php and page_course::print_header
2009-05-06 09:19:46 +00:00
tjhunt
08eab89703
blocklib: MDL-19010 add block and get_blocks methods
2009-05-06 09:14:42 +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
830dd6e9cd
moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting
2009-05-06 08:59:29 +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
4912752214
fix remove_params
2009-05-06 08:51:23 +00:00
tjhunt
75781f879c
moodle_page: MDL-12212 ->url and cleanup init of $FULLME, etc.
2009-05-06 08:50:32 +00:00
tjhunt
7ceb61d8ed
moodle_url: MDL-12212 clean up moodle_url coding style
2009-05-06 08:49:12 +00:00
tjhunt
82611d8d33
moodle_page: MDL-12212 ->docspath
2009-05-06 08:48:13 +00:00
tjhunt
ad5d5997ed
moodle_page: MDL-12212 more ->pagepaths to kill
2009-05-06 08:43:51 +00:00
tjhunt
753debd2ab
moodle_page: MDL-12212 ->bodyclasses and initialise_standard_body_classes
2009-05-06 08:42:13 +00:00
tjhunt
d529807a65
moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
...
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
2009-05-06 08:38:55 +00:00
tjhunt
e3e40b4333
filters: MDL-7336 use $PAGE->context now that it exists
2009-05-06 08:31:30 +00:00
tjhunt
c13a5e71cc
moodle_page: MDL-12212 start of new moodle_page class
...
* has course and status fields
* $PAGE->status updated by print_header and footer
* $PAGE->set_course now replace course_setup function
* global $PAGE created in setup.php
* unit tests for functionality so far
* Moodle still seems to work after this commit!
2009-05-06 08:29:22 +00:00
skodak
7d2948bdd0
MDL-18910 full support for module intro editor with embedded images
2009-04-22 07:19:56 +00:00
skodak
43b44d5ea6
MDL-18910 full support for module intro editor with embedded images
2009-04-22 07:14:19 +00:00
skodak
ac3668bfae
MDL-18910 full support for module intro editor with embedded images
2009-04-22 05:10:08 +00:00
skodak
dc5c2bd9eb
MDL-18910 full support for module intro editor with embedded images
2009-04-21 21:17:21 +00:00
skodak
7467e72197
MDL-18900 reimplemented trusttext - now using separate db field; the API will be improved and documented together with the new support functions needed for new Editor element
2009-04-20 11:37:39 +00:00
skodak
cbc2b5df03
MDL-18901 reimplemented trusstext support in glossary + standardising format column for text fields
2009-04-20 10:05:50 +00:00
dongsheng
e189ec00f0
"MDL-18486, remove php varible from file picker code, all javascript code goes into a static file"
2009-04-20 08:53:21 +00:00
skodak
f6949ddb95
MDL-18887 using exceptions instead of @ for ignoring of db update/insert failure
2009-04-17 08:05:55 +00:00
tjhunt
14d20de162
filters: MDL-7336 fix upgrade problem when filterall is on. Thanks Nico for finding.
2009-04-16 09:13:30 +00:00
tjhunt
ccc161f8f0
filters: MDL-7336 change weblib to use the new code
...
* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib
2009-04-13 06:56:32 +00:00
tjhunt
c9ec505b9e
weblib progress_bar: Add a comment and fix some coding style.
2009-04-08 11:46:19 +00:00
tjhunt
3fb002215f
weblib: fix bug with disabled pop_form()s
2009-04-07 07:40:40 +00:00
tjhunt
0c34c7eb50
translation: MDL-18766 reverting. I guess it was not yet ready for prime-time.
...
I'll commit the patch to contrib in case anyone wishes to experiment further.
2009-04-02 02:42:11 +00:00
tjhunt
b4cf937102
translation: MDL-18766 Prototype automatic translation system for Moodle.
...
If Google can do something like http://translate.google.com/ , surely we
can do something just as good in Moodle. Here is a first attempt. It is
a bit rough around the edges, and only a couple of target lananguages
have been implemented so far. (More and better attempts welcome!)
In order to ensure that this gets adequate testing, I have made sure that
it gets turn on by default. However, if you really don't like it, you can
turn it off under Administration > Development -> Experimental settings.
2009-04-01 00:39:17 +00:00
tjhunt
e79079deae
help.php: related to MDL-13816. Clean up the URLs used for help files by removing unused parameters.
2009-03-30 06:11:32 +00:00
tjhunt
c468795ce9
switch roles: MDL-18132 New Role allow switches page finished.
...
I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.
2009-03-25 04:20:57 +00:00
tjhunt
82701e2443
switch roles: MDL-18132 separate database table role_allow_switch instead of re-using role_allow_assign.
...
This is part 1 that does the back-end:
1. New table role_allow_switch.
2. Upgrade that copies all the allows from role_allow_assign, and then drops the old CFG->allowuserswitchrolestheycantassign.
3. Old function get_assignable_roles_for_switchrole renamed to get_switchable_roles and changed to use the new table. Fixes MDL-18604 in HEAD.
4. Switch callers to use the new function name.
5. Unit tests for this new function.
6. To make those unit tests work, new switch_global_user_id and revert_global_user_id methods in UnitTestCaseUsingDatabase for toggling $USER->id.
I still need to do the editing interface under Administration ► Users ► Permissions ► Define roles. That will be done as a second commit.
2009-03-23 08:15:21 +00:00
tjhunt
4e42a90c53
weblib: Fix test_format_text_email and unit tests.
2009-03-23 03:41:34 +00:00
tjhunt
5f5b443ea8
gift import: MDL-18390 better way to get the question type name.
2009-03-13 09:19:01 +00:00
tjhunt
60cd5b5a34
weblib: Improve PHPdoc comment and parameter names.
2009-02-24 05:09:29 +00:00
tjhunt
e4e5ba8c6f
weblib: finish documenting print_user_picture.
2009-02-16 04:16:10 +00:00
tjhunt
e82e01d1e0
weblib: MDL-18224 Create a better mechanism for outputting progress information from batch jobs
2009-02-12 08:33:42 +00:00
nicolasconnault
413f347520
MDL-18188 Added a call to the new get_browser_version_classes() function in print_header, so that the classes are always added to the body tag.
2009-02-10 15:42:13 +00:00
tjhunt
9cef0c27e4
weblib: XHTML strict.
2009-02-10 03:27:38 +00:00
skodak
9ace50944f
MDL-14924 the same title now used on each upgrade/install page (Moodle - 2.0...) + the same footer with moodle logo now used during installation and upgrade - links to admin docs
2009-02-07 17:56:40 +00:00