Commit Graph

1216 Commits

Author SHA1 Message Date
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
tjhunt 7797b0df31 weblib: MDL-17525 Give previous and next links in paging bars class names, so they can be themed.
Thanks to Daniel Neis for the patch.

I checked the standard theme, and I don't see any rules there that would erroneously apply to these class names in paging bars.
2009-02-04 08:21:18 +00:00
tjhunt 838f69de81 weblib: MDL-14901 Fix misleading comment on print_navigation 2009-02-04 07:35:06 +00:00
tjhunt 19e12e4bd8 theme / navbar: MDL-14133 every link in the nav bar was getting class="first"! 2009-02-03 09:32:58 +00:00
tjhunt 996c1a6f86 theme / weblib: MDL-14400 Setting $THEME->makenavmenulist = true causes a php notice 2009-02-03 07:47:24 +00:00
skodak 770f0cea30 MDL-17458 fixed headers used during installation 2009-02-01 17:45:32 +00:00
skodak 795a08adb7 MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements 2009-01-31 20:07:32 +00:00
sam_marshall ad70c470dd MDL-381: Added 'Move' button to reduce accidentally moving forum posts. 2009-01-28 13:10:01 +00:00
sam_marshall c5cf6bb2e2 MDL-17974: Calendar 'new entry' accessibility improvement 2009-01-28 12:11:32 +00:00
skodak 5c144d605e MDL-17845 now only one page per installs/upgrade :-D 2009-01-12 15:13:44 +00:00
skodak 27bd819be5 MDL-17848 oops, yet more cron compatibility fixes for console_write() ;-) I have added a new console_write_error() too 2009-01-10 20:44:45 +00:00
skodak fbd0c5e31f MDL-17848 general support for CLI scripts in weblib; grrr - fixed regression 2009-01-10 19:46:02 +00:00
skodak 48f2e9fae4 MDL-17848 general support for CLI scripts in weblib 2009-01-10 19:19:51 +00:00
tjhunt efacb22422 weblib: improve comment. 2009-01-07 06:28:00 +00:00
skodak 11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
skodak a91b910e4f MDL-17776 added new define CLI_SCRIPT that identifies all CLI scripts + cron (cli scripts do not have session and do not like HTML in output and are executed from command line, cron is an exception) 2009-01-03 14:28:02 +00:00
skodak 9bda43e6be MDL-16613 refactore session IP tracking; MDL-14213 improved message when IP changes; MDL-17754 SID is regenerated when terminating session and old session is deleted 2009-01-02 23:49:29 +00:00
skodak 93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
skodak b7b64ff2e0 MDL-17754 next round of session related refactoring 2009-01-02 20:32:05 +00:00
skodak 6132768ecb MDL-17767 loginas refactoring and simplification; full SESSION switching implemented 2009-01-02 15:15:26 +00:00
skodak 542797b4e8 MDL-17767 loginas internals refactoring - code moved to sessionlib.php 2009-01-02 14:53:02 +00:00
skodak 973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
skodak d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
skodak 920337d1d0 MDL-17637 fixed adobe XSS protection 2008-12-29 21:18:02 +00:00
dongsheng 9e3f34d1c7 "FILTER/MDL-14582, filters 2.0, compatible with old filters" 2008-12-19 02:16:00 +00:00
fmarier 588acd0608 MDL-17542 weblib/html2text: replace html2text.php with a GPL alternative (which is also faster) 2008-12-17 02:55:33 +00:00
tjhunt 9289e4c90e weblib: MDL-17606 Make the highlight function better, with unit tests. 2008-12-11 10:33:57 +00:00
tjhunt b166403f18 javascript cleanup: MDL-16583 clean up the close_window function in weblib.php. 2008-12-10 08:57:50 +00:00
skodak 64c6d5db62 MDL-17479 category search: replaced old update capability; merged from MOODLE__STABLE 2008-12-09 20:30:02 +00:00
moodler 22ed92de16 MDL-17391, change paramters of repository_get_client. 2008-12-09 06:50:06 +00:00
tjhunt 8ed5dd63ee course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.

* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.

Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.

Merged from MOODLE_19_STABLE.
2008-12-04 08:53:10 +00:00
ericmerrill 62097c91ed weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it. 2008-12-03 16:31:49 +00:00
skodak 3c7da16d2d MDL-17485 roles: fixed use and definition of review use of moodle/user:viewuseractivitiesreport 2008-12-01 19:19:29 +00:00
skodak a2e4bf7f23 MDL-17463 - reparate capabilities for course and admin reports 2008-11-29 14:22:10 +00:00
dongsheng b318bb6db2 REPOSITORY/MDL-13766
pass mimetype and return value type to file picker to filter repository instances
2008-11-26 03:26:33 +00:00
moodler 4bfa414f63 Emoticons MDLSITE-564 Patch to avoid [[brackets]] around alt text 2008-11-24 01:05:55 +00:00
skodak ce1526061c MDL-17317 DML: more exceptions - now in connect too 2008-11-22 01:16:52 +00:00
stronk7 caec4b6f4e MDL-17331 choose_from_menu(): 'select' selector added always. 2008-11-20 19:04:23 +00:00
stronk7 6fba0b5cc7 MDL-17331 choose_from_menu(): Add 'select' selector too. 2008-11-20 13:28:25 +00:00
stronk7 d7074a5d0e MDL-17331 choose_from_menu(): Add "class" optional parameter. 2008-11-20 13:25:04 +00:00
tjhunt bed9cec80b define roles: MDL-16966 etc. polishing the new roles UI following a meeting with Martin.
* Move the show/hide advanced button a bit down the page.
* Improve save button caption when creating a role.
* Don't show defaults on the basic define roles screen.
* Explain the background shading on the advanced roels screen.
* Fix the problem with the risks link to Moodle docs.
* Help icon by the permissions column heading.
* Tables with rotated <th>s, make them vertical-align: bottom.
* Rename explain.php and explainhascapability.php to check.php and explain.php
* Tool tips on the number headers in the explain table.
* Explain table - role names were missing.
* Allow link_to_popup_window to work with full URLs.
2008-11-20 09:57:20 +00:00
tjhunt fa583f5f6e quiz editing: MDL-17285 This is Olli Savolainen's new interface for editing quizzes.
This was started and usability tested as a Finnish Summer of Code project, and then Olli did further work on it in his own time to get it in shape for inclusion in Moodle 2.0. I reviewed all the code. There are a number of minor outstanding issues that will be fixed soon. See the subtasks of MDL-17284 for a list.

The goal of these changes is to:
* help teachers new to Moodle, so when they first see the quiz editing page, they don't go "Huh! What on earth am I supposed to do here?"
* help novice Moodle users understand and learn to use some of the more advanced quiz feature;
* but, without slowing down more experienced quiz users.

Naturally, with ambitous goals like that, we won't have managed to satisy everybody, but I think this change is a big step in the right direction.

There is extensive documentation on this project at http://docs.moodle.org/en/Development:Quiz_UI_redesign.
2008-11-20 06:59:11 +00:00
tjhunt 692103a2a5 Let any table have rotated text in its headers. Stolen from sam's activity completion report. 2008-11-18 10:17:27 +00:00
tjhunt 9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00