Commit graph

215 commits

Author SHA1 Message Date
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
tjhunt
8a8272b0f4 roles explanation: MDL-13538 Integrate into the roles tab bar, and improve wording a bit.
Also, commit the lang strings I missed last time.
2008-11-12 10:13:43 +00:00
tjhunt
faf75fe715 role overrides: MDL-17070 Improve override roles page to match the recent usability improvements on the assign page.
Including:
MDL-11529 When assigning/overriding roles, the dropdown for switching to another role should have a number in brackets

MDL-16549 Should not be able to edit the permission associated with moodle/site:doanything on any role.
2008-11-05 08:17:30 +00:00
tjhunt
5db2027e7b Fix alphabetical order among the cannot... strings, and fix one typo. 2008-11-05 03:55:44 +00:00
skodak
9214025e3e MDL-17129 basic dml exceptions 2008-11-04 21:50:13 +00:00
tjhunt
bd1884fe6b ajax: MDL-17084 provide a way for JavaScript to update user preferences. 2008-10-31 08:25:19 +00:00
tjhunt
6cab02ac52 user selection: MDL-16993 Convert the assign roles page to use the new components.
At the same time, I took the opportunity to try to work on some of the usability issues on this page. Note that I have not quite finished! So don't comment until tomorrow.

In the course of doing this, I also did: half of

MDL-11529 Show the number of assignees of each role in the change role dropdown on this page.
MDL-17067 Make it clear in the UI that admins are not allowed to unassign themselves.
2008-10-30 10:49:15 +00:00
tjhunt
9787301687 user selection: MDL-16994 Improve the user selector used on the assign roles and group memebers pages - Convert the group memebership page. 2008-10-29 08:18:24 +00:00
tjhunt
d56f9e659d user selection: MDL-16996 Improve the user selector used on the assign roles and group memebers pages - Write the JavaScript to do the Ajax requests and update the list of users. 2008-10-28 06:51:36 +00:00
skodak
935956b8c2 MDL-17020 dml: native pgsql driver - $ bound syntax fully implemented, we do not need string for exception anymore 2008-10-27 12:00:04 +00:00
dongsheng
5d2edd1ce9 "MDL-14129, fixed hardcoded print_error in feedback module" 2008-09-25 08:47:55 +00:00
dongsheng
9ee948813a "MDL-14129, fixed hardcoded print_error" 2008-09-25 08:03:54 +00:00
dongsheng
53e242f9d1 "MDL-14129, fixed hardcoded print_header" 2008-09-25 07:40:31 +00:00
dongsheng
9b34dc6e75 "MDL-14129, fix hardcoded print_error" 2008-09-25 02:09:49 +00:00
moodler
c3f9ee10fd MDL-9683 Fixed a typo in an error string name invalidseeky -> invalidsesskey 2008-09-08 02:35:22 +00:00
skodak
57d769e712 MDL-14826 reverting commit, MDL-16292 solves this issue; merged from MOODLE_19_STABLE 2008-09-02 21:47:08 +00:00
mudrd8mz
cbe3e895bf MDL-14826 Added missing string. Merged from 1.9 2008-08-28 16:39:42 +00:00
skodak
d857e8b627 MDL-16223, MDL-16222 - module context now available in xxx_add_instance() module method and $mform is passed as second parameter; $cm is updated/inserted before the activity insert/update hook; other related refactoring and cleanup; error string improvements 2008-08-27 16:33:50 +00:00
mits
50717d1998 MDL-16078 fixed a string for error message. 2008-08-17 12:10:58 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
mjollnir_
8230375cc8 fixing notice - nonescaped $ in langstring 2008-08-13 09:03:51 +00:00
skodak
145a0a317b MDL-14589 more local --> stored renaming 2008-08-08 11:50:45 +00:00
skodak
172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +00:00
mchurch
7c521fe67b #MDL-15734 - Syntax error on line 298. 2008-07-21 13:52:02 +00:00
dongsheng
06e84d52bd MDL-14129, remove error() call 2008-07-21 07:18:58 +00:00
wildgirl
92cc1b6746 lang string typo fixes 2008-06-24 15:09:44 +00:00
skodak
eee5d9bb85 MDL-14956 DDL exceptions 2008-06-22 16:51:55 +00:00