Commit Graph

191 Commits

Author SHA1 Message Date
skodak a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
skodak 9d7493399d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:35:10 +00:00
skodak bb4b6010f3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:17:10 +00:00
skodak 2a7eff41ad MDL-18293 $DB->something is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:37:28 +00:00
skodak a8d6ef8c6c MDL-18293 $DB->somethiong is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:16:20 +00:00
skodak bf8e93d704 MDL-18293 $DB->somethiong is using exceptions, no need for ifs tehre, removing useless strings 2009-06-03 20:00:08 +00:00
fmarier 5505925383 MDL-19222 sessionlib: add a check and error message when initialising file sessions in case there is no free space on the partition 2009-05-18 04:47:58 +00:00
skodak 2c39348bfc MDL-19162 added error string for missing JS libs 2009-05-14 11:49:13 +00:00
tjhunt cce1b0b9ca exceptions: MDL-16175 new invalid_state_exception
This is for those situations where something basically impossible happens,
like $context->contextlevel not having one of the valid value, and you
want to throw an exception (for example in the default: case of a switch)
rather than just ignoring the possibility.
2009-05-08 07:47:02 +00:00
tjhunt f4d38d20fb blocklib: MDL-19010 and now you can delete blocks too! 2009-05-08 06:34:40 +00:00
skodak b78267b641 MDL-19067 removed obsoleted string (never used in any STABLE branch) 2009-05-05 09:00:24 +00:00
skodak 989c16eeb9 MDL-16692 converted glossary comments to new editor + file API fixes 2009-05-05 08:57:12 +00:00
stronk7 2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
stronk7 e37cd84ad4 MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones 2009-04-27 20:29:01 +00:00
skodak 7ac88172fc MDL-18942 user selection and group support in gradebook user overview report; merged from MOODLE_19_STABLE 2009-04-23 20:29:30 +00:00
jerome a3a1708f63 category MDL-18876 replace error notice by exception, move success notice into index.php 2009-04-16 07:48:34 +00:00
tjhunt 604eb7be03 filters: MDL-7336 code to let people edit local filter config 2009-04-13 07:14:27 +00:00
tjhunt 0f74bb01ff filters: MDL-7336 settings page for setting the local enabled/disabled state 2009-04-13 07:12:41 +00:00
skodak c94985efb1 MDL-18552 different TeX trouble fix 2009-03-31 10:03:10 +00:00
stronk7 0c156fe05e MDL-18552 TeX filter - add string ; merged from 19_STABLE 2009-03-26 21:34:59 +00:00
tjhunt 91eb445ca0 switch roles: MDL-18132 Convert allow override page to use the shared code. 2009-03-25 02:17:14 +00:00
jerome 71b77297a9 web service MDL-12886 add standard Course web service functions 2009-03-20 06:53:03 +00:00
jerome 0d4723ee62 web service MDL-12886 check that a user is a course participant before to add it to a group 2009-03-13 06:51:30 +00:00
jerome 6d1c1a6bd9 web service MDL-12886 update web service exception messages 2009-03-09 05:20:16 +00:00
skodak 5e2f308b91 MDL-18293 exception and DML cleanup 2009-02-17 16:50:36 +00:00
skodak 90ee78e21c MDL-18293 removing unused error strings (now replaced by exceptions) 2009-02-17 16:33:32 +00:00
skodak 644d506ac1 MDL-16698 towards new general editor element + converted course section summaries 2009-02-17 16:18:05 +00:00
tjhunt e69b06efd6 admin dbtransfer: MDL-18225 dbtransfer script should do some output to reassure you that something is happening. 2009-02-12 08:34:35 +00:00
stronk7 7a045f088f MDL-16564 admin settings - added missing error string 2009-02-05 17:20:44 +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
tjhunt b221dc6f23 question bank: MDL-17302 refactor question bank display code into a class.
Step 3. Start working ot the code to initialise things from a list of columns, and build the corresponding SQL query.
2009-01-21 08:49:15 +00:00
skodak 34e9457e30 MDL-17942 fixed incorrect mysql setting name 2009-01-19 08:13:56 +00:00
skodak b9fb71030f MDL-17942 reimplemented detection of mysql max_packet_size problems 2009-01-19 08:03:55 +00:00
skodak 5b687a1060 MDL-14992 towards better db sessions 2009-01-16 22:07:10 +00:00
skodak f61a032afc MDL-14992 towards new moodle db sessions 2009-01-14 18:32:57 +00:00
tjhunt d3542f9450 Merging mudrd8mz's typo fix. 2009-01-14 08:00:48 +00:00
tjhunt 94c224619c edit profile: MDL-15607 Edit profile form breaks if the list of countries in the language pack is broken.
After this patch it still breaks, unavoidably, but at least there is now an error message.
2009-01-13 06:03:26 +00:00
skodak 4d6d912a77 MDL-17853 fixed typo, thanks Nicolas Martignoni 2009-01-11 09:44:42 +00:00
skodak 84b88cfde7 MDL-11061 removed wwwroot tests from admin/index.php, now in setuplib.php 2009-01-07 15:31:54 +00:00
skodak f1e715ff88 MDL-9276 reverse proxy and normal access can not be mixed - it would valiate the one address per moodle rule, sorry 2009-01-06 10:10:19 +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 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
danmarsden 04b40833f0 typo:MDL-17591 - thanks Nicolas Martignoni 2008-12-22 22:39:24 +00:00
dongsheng 771dc7b298 "MDL-14129, fix error() in moodle2" 2008-12-12 05:45:43 +00:00
dongsheng 60e40dda6c "MDL-14129, remove the rest error() in moodle2" 2008-12-12 04:53:32 +00:00
dongsheng 12e57b92ea "MDL-14129, fix error() in forum module" 2008-12-12 02:30:56 +00:00
tjhunt 8a1b1c328d course categories: MDL-17502 when deleting a category and its contents, check moodle/course:delete capability.
* Note: this would never lead to problems with default role definions.
* Also ended up mostly rewriting delete_category_form to simplify the messages that are displayed.
* New helper function require_all_capabilities, a bit like require_any_capability.
2008-12-08 07:28:19 +00:00
tjhunt 77eddcd527 course request: MDL-9854 major cleanup to the course request code.
* Rewrite all the forms to use formslib and improve usability.
* Put the place where admins need to go to process approvals in the admin menu.
* Show the request course/pending requests button on the page for the category that requested courses get added to.
2008-12-05 08:56:54 +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
tjhunt bbdb7070ca manage roles: MDL-8313 Provide a basic mode for the manage roles page.
* New basic define roles mode, with just an Allow checkbox for each capability.
* Button to toggle this form to/from advanced mode.
* Also, a separate mode for viewing a role definition, rather than just showing disabled checkboxes.
* Now duplicating a role just takes to you a pre-populated add role form, so you can double-check things before saving the new role.
* Deleting a role is now logged.
* Role reordering code cleaned up.
* You can now no longer delete the last role that has admin permissions.
* This includes a general refactor of manage.php, which eliminates manage.html, and splits of define.php.
2008-11-18 07:10:00 +00:00