Commit Graph

3929 Commits

Author SHA1 Message Date
moodler 38a5e3d34a Just some cleanups and removed notices 2006-09-16 14:22:59 +00:00
moodler f4af29c5a4 Fixed up some bugs and notices when assigning roles in a user context 2006-09-16 12:41:47 +00:00
skodak 80f435af43 fixed error message 2006-09-16 12:02:02 +00:00
skodak 14e7869268 fixed uploaduser.php to work with role assignments and groups, new csv columns role1...role5 accepting role ids + updated help file 2006-09-16 12:01:08 +00:00
moodler 68a4b5d673 We don't need these any more (obsolete because of role assignment) 2006-09-15 15:56:05 +00:00
moodler 57e73347b3 Fixed up a typo 2006-09-15 15:07:43 +00:00
tjhunt 36075e092d MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of studnets. Now, there is no arbitrary upper limit in the datalib functions, and sensible upper limits on pages that display lists of users. However, if you try to get all the site students, then get_students prints a warning in debug mode, telling you that you need to rethink your code.
Also a few more ISNULL()s eliminated.

And a typo role_assignment -> role_assignments.
2006-09-15 14:32:35 +00:00
moodler 4b10f08b88 Rename CONTEXT_USERID --> CONTEXT_USER for consistency 2006-09-15 14:09:16 +00:00
moodler 2febd88e67 Just tidying 2006-09-15 12:53:23 +00:00
moodler c26a8f2ffa FIxed navigation 2006-09-15 09:23:58 +00:00
moodler b5839add55 Passing cleanup 2006-09-15 09:04:23 +00:00
moodler 6a12bc4836 Bringing phpinfo into the fold 2006-09-15 08:59:02 +00:00
moodler 4934c49719 Cleaning up assign and override interfaces 2006-09-15 06:04:10 +00:00
moodler 7513cd6936 Tidying 2006-09-14 15:20:44 +00:00
moodler 9584965f9c Tidied up the role assignment pages 2006-09-14 14:49:45 +00:00
moodler 02862df518 Allow columns to be zero 2006-09-14 14:12:51 +00:00
moodler 698337128b Reorganise settings a bit 2006-09-14 13:56:27 +00:00
moodler 10e17638da Some fixes to user policies (removed some which are no longer relevant) 2006-09-14 13:54:21 +00:00
moodler 8f8ed475f7 Added a new setting called $CFG->defaultuserroleid which defines
the role that ALL users get by default when they log in.
2006-09-14 09:39:23 +00:00
toyomoyo ea8158c118 changing sql calls from user_students table to role_assignments table 2006-09-14 09:08:07 +00:00
tjhunt aa4f6af41a MDL-6542 - Don't run the unit tests until the user is ready. 2006-09-13 16:19:56 +00:00
tjhunt 45f501a54b Put the unit test styles in the standard theme, rather than using the previous nasty hack that had been broken by the admin page changes. 2006-09-13 16:16:39 +00:00
stronk7 12bda5832f Two more tests added: add_field() and drop_field() 2006-09-12 22:21:51 +00:00
skodak bc202f4390 fixed harcoded string "Select a Role" 2006-09-12 20:54:21 +00:00
stronk7 3be91b01b6 Added support for add_field, drop_field and rename_field PHP code generation. 2006-09-12 17:45:25 +00:00
stronk7 cb78437d64 Changed some PHP comments. 2006-09-12 17:41:22 +00:00
moodler e4d81c60a9 Tidying up a bit 2006-09-12 09:30:05 +00:00
moodler b1ce7811ad Fixed MDL-6479 by adding two block columns on admin pages.
Also we now hide the blocks and headers completely until $SITE is properly
defined.
2006-09-12 09:22:27 +00:00
toyomoyo 87e5a0cd9e changed code to use get_role_users function 2006-09-12 07:38:07 +00:00
stronk7 eafc2b70e8 Some more improvements. Not finished yet. 2006-09-11 22:06:35 +00:00
skodak 244368e643 fixed default values and types of requested teacher and student strings 2006-09-11 21:24:57 +00:00
skodak 8dcc447689 fixed funny continue button during installation 2006-09-11 21:20:47 +00:00
skodak 55f3a4db69 removed useless "changes saved" messages from redirects in administration and user management 2006-09-11 18:56:41 +00:00
stronk7 c5a6ae177a Initial verion. Not working yep but I needed to send it now. 2006-09-11 13:15:36 +00:00
skodak 451d82c840 move newly created admin_tree block to the left column during upgrade from 1.6 2006-09-10 22:11:46 +00:00
skodak aa893d6b76 fixed several bogus errors and warnings during installation and upgrades, forced logout when upgrading from 1.6 2006-09-10 21:10:48 +00:00
stronk7 a84634a1d4 improved display of errors... 2006-09-10 18:53:47 +00:00
stronk7 091789788f Linking to the tests from the main page. 2006-09-10 18:42:23 +00:00
stronk7 f4bb0ad8f7 Adding support for tests of DDL statements within the XMLDBEditor 2006-09-10 18:41:34 +00:00
skodak fefea008bc fixed errors when switching dbsessions from amin gui 2006-09-10 11:15:31 +00:00
skodak 5d3e0e837a removed redirect message, because it was sometimes breaking upgrades due to double redirects 2006-09-07 19:18:48 +00:00
stronk7 8bb7147620 If one course, hasn't teaches, both under roles and no-roles
installations, default to admin language.
2006-09-07 17:25:06 +00:00
vinkmar 0f4a73b0dd Fixed bug (sectionname mismatch) similar to MDL-6475 2006-09-07 16:15:35 +00:00
vinkmar 502871b479 Fixed MDL-6475. 2006-09-07 14:53:07 +00:00
moodler f43ce1ad1d Added moodle/role:unassignself which replaces $CFG->allowunenroll 2006-09-07 08:35:30 +00:00
stronk7 386c23c9da PHP code for dropping and renaming tables added. Note that the DDL
functions doesn't exist yet. ;-)
2006-09-06 22:34:09 +00:00
stronk7 3ab430fbc5 The XMLDBEditor is generating automatic PHP code for create_table 2006-09-06 19:49:13 +00:00
skodak 6a5a62b096 allow less verbose operation of forget_password.php SC#282 2006-09-06 10:11:24 +00:00
vinkmar 7683a0377d removed pause during redirect when there are no new settings 2006-09-06 02:36:38 +00:00
vinkmar 7f35bd73b4 removed hard-coded language strings (MDL-6448) 2006-09-06 02:20:16 +00:00