Commit Graph

415 Commits

Author SHA1 Message Date
toyomoyo 22ae509e9c merged implementing moodle/user:viewdetails 2006-12-07 06:14:52 +00:00
skodak 9c0f063b2c MDL-7737 Remove form referer checks - $CFG->secureforms optional checking 2006-12-04 09:13:51 +00:00
skodak 7b678e0a99 MDL-7767 Guests should not be able to hide course sections - section hiding is not stored in db for guests, only session is used now; merged from MOODLE_17_STABLE 2006-12-04 09:02:17 +00:00
toyomoyo 54dc87b845 adding 2 new fields 1) field for alt tag for user image, 2) field for a flag to tell moodle whehter the user uses a screen reader 2006-11-22 06:50:27 +00:00
toyomoyo 7d0e5a95c3 adding attachment for blogs 2006-11-20 08:31:48 +00:00
ikawhero 74807b43f3 Adding extra param fields to the user_info_field table to allow field type
plugins to store data. Plus a description field.
2006-10-26 11:07:25 +00:00
skodak bcdb0f193d fixed risks associated with main capabilitites MDL-7174; merged from MOODLE_17_STABLE 2006-10-24 08:02:26 +00:00
moodler 49e6751073 Make sure LAMS is off if we don't need it (merged from stable) 2006-10-21 16:14:27 +00:00
moodler 39ec6a6f4b Bumped to launch into 1.8 dev 2006-10-10 08:31:44 +00:00
moodler 4139c81ab8 Updating to 1.7 Beta 2006-10-10 06:21:59 +00:00
moodler e27a943788 Disable the exercise module as it's not maintained or upgraded for roles 2006-10-06 06:15:57 +00:00
moodler 4e423cbf5d Bye-bye to old database upgrade files and hellow to upgrade.php!
First order of business:  drop all the extraneous user_xxx tables.
2006-10-04 09:47:05 +00:00
moodler 6c95827fdf New implementation of loginas see MDL-6626 2006-10-01 05:46:55 +00:00
moodler 77c645df28 Started out fixing MDL-6624 and it turned into a fairly major cleanup
of the participant listing.  I think it's a lot better now.

Bulk messaging fixed too, and is controlled by a new capability

      moodle/course:bulkmessaging
2006-09-28 06:41:07 +00:00
stronk7 2efd67bf5f Increasing log_display->field because sql_concat() (one
wrapper over ADOdb Concat() generates really long
expressions for MSSQL.
2006-09-26 17:43:37 +00:00
skodak 8e00b731e1 fixed defaults 2006-09-26 07:39:04 +00:00
stronk7 26b82be252 Drop all the unique keys inside PostgreSQL DB and convert them to
their equivalest unique indexes. We aren't going to allow unique
keys from 1.7 and upwards (until we decide to enforce referential
intregrity and until ADOdb support it)
2006-09-24 22:14:23 +00:00
skodak 1cc309df9d fixes for recent incorrect index updates 2006-09-24 19:04:32 +00:00
skodak 6df3c7df7a user upload cap renamed to moodle/site:uploadusers 2006-09-24 12:54:53 +00:00
skodak cc891abe88 uploading of users has new capability 'moodle/user:upload' now also with admin block integrated 2006-09-24 12:31:49 +00:00
skodak 38d2d43b01 roles fixed in user browsing page; admin section now accepts array of capabilities for external and settings pages 2006-09-24 11:55:11 +00:00
skodak ece4945bd2 role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort 2006-09-23 12:51:00 +00:00
stronk7 37a7859855 mini-bump 2006-09-22 15:46:40 +00:00
moodler aad2ba95d1 Upgrading table to rename the context->aggregatelevel field which was
really bugging me.   Code should be a little bit more readable now.

Apologies to those with non-core code already using this field.
2006-09-22 06:19:32 +00:00
moodler 20dd4cf5a1 Added new capability to switch roles (replaces old student view) 2006-09-21 07:44:53 +00:00
ikawhero d096e0d8b5 Bump for new tables. See MDL-474 2006-09-20 14:18:37 +00:00
skodak 45b9781ed4 fixed missing shortname pg upgrade code, sorry 2006-09-19 07:35:48 +00:00
skodak b79da3ac68 moodle/course:managemetacourse is now singular 2006-09-19 06:35:52 +00:00
skodak 21b6db6eff added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum 2006-09-18 21:32:49 +00:00
skodak 31f267963a MDL-6568 shortname added to roles 2006-09-18 17:40:22 +00:00
skodak dca1937c02 removed references to /requested(teachers?|students?)name/ and 'showsiteparticipantslist' - we are now using only default names stored in langpacks for backwards compatibility 2006-09-18 11:21:24 +00:00
skodak 4b7aaf4025 added new capability 'moodle/course:managemetacourses' 2006-09-17 21:03:35 +00:00
moodler 88af238ccb $CFG->defaultcourseroleid defines a site default for the role given to
people who enrol in the course.

$course->defaultrole defines the value for each course for what role
should be used in the same case.   Naturally it defaults to the site config
(when it is zero).

This role is retained even when the person editing the course settings
doesn't actually have that role in their list of assignable rights (however
they are prevented from actually switching to any such role themselves).

Note that enrol plugins are free to ignore these values and use whatever
roles they like.  Generally, though, they should respect these settings.
2006-09-17 09:22:33 +00:00
moodler 746a04c500 Adding defaultrole to course table 2006-09-17 06:37:59 +00:00
moodler 99f9cb51e0 Added new capability
moodle/role:viewhiddenassigns  - for people to see hidden assignments
2006-09-16 13:56:24 +00:00
moodler e58eca7222 New capability: moodle/user:viewhiddendetails 2006-09-15 14:39:16 +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
moodler 0ad8c7850d Reload default guest 2006-09-12 08:17:33 +00:00
moodler 8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
moodler f43ce1ad1d Added moodle/role:unassignself which replaces $CFG->allowunenroll 2006-09-07 08:35:30 +00:00
moodler 42093cca5c Added coursesperpage so paging can be controlled 2006-09-05 03:28:25 +00:00
moodler 7191a1fa27 Added capability for showing documentation links 2006-09-03 16:26:55 +00:00
skodak 7fbd539a18 version bump for db upgrades 2006-09-03 00:00:17 +00:00
stronk7 5f941d12ab user->description can be NULLable (experimenting....) 2006-08-31 23:31:36 +00:00
stronk7 6c76032bc1 course_categories->description can be NULLable (experimenting....) 2006-08-31 23:17:23 +00:00
stronk7 545196c55f course->modinfo nullable and no default 2006-08-31 19:42:22 +00:00
skodak be4486da83 capability riskbitmasks and user trustbitmask patch #1 see MDL-6412 2006-08-31 08:36:36 +00:00
skodak e9d5166a3e fixed wrong type for session data field in mysql, enabled feedback when dropping old session table during upgrade 2006-08-30 16:37:52 +00:00
skodak 647a256616 db sessions are now using the newer session handler adodb-session2.php 2006-08-29 22:45:54 +00:00
moodler 67a3fac51f Added new field 'ajax' to user table, to store AJAX preference 2006-08-28 06:41:05 +00:00