]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoadding capabilitiies
toyomoyo [Wed, 13 Sep 2006 09:08:14 +0000 (09:08 +0000)]
adding capabilitiies

18 years agoFixed up debugging() function so it's more useful.
moodler [Wed, 13 Sep 2006 08:53:19 +0000 (08:53 +0000)]
Fixed up debugging() function so it's more useful.

18 years agoDeleted the moodle_error_handler after reading the docs more.
moodler [Wed, 13 Sep 2006 08:41:12 +0000 (08:41 +0000)]
Deleted the moodle_error_handler after reading the docs more.

it's not really as useful as I thought it might be

18 years agoAdded a simple moodle_error_hendler function I'm playing with
moodler [Wed, 13 Sep 2006 08:23:30 +0000 (08:23 +0000)]
Added a simple moodle_error_hendler function I'm playing with

18 years agoAdded forum_role_assign and forum_role_unassign
moodler [Wed, 13 Sep 2006 08:11:34 +0000 (08:11 +0000)]
Added forum_role_assign and forum_role_unassign

18 years agoAdded some checking that should not be necessary but I had notices in one extreme...
moodler [Wed, 13 Sep 2006 08:09:18 +0000 (08:09 +0000)]
Added some checking that should not be necessary but I had notices in one extreme situation

18 years agorole_assign() and role_unassign() now call these hooks in each module:
moodler [Wed, 13 Sep 2006 08:07:14 +0000 (08:07 +0000)]
role_assign() and role_unassign() now call these hooks in each module:

    xxx_role_assign()

    xxx_role_unassign()

so that modules can do stuff they might need to do (eg subscriptions etc)

18 years agoTidy-ups for user profile page
moodler [Wed, 13 Sep 2006 06:56:25 +0000 (06:56 +0000)]
Tidy-ups for user profile page

18 years agoFixed up this script so that self-unenrolment works as expected
moodler [Wed, 13 Sep 2006 06:41:58 +0000 (06:41 +0000)]
Fixed up this script so that self-unenrolment works as expected

18 years agoExpanded forum_add_user_default_subscriptions() for more contexts
moodler [Wed, 13 Sep 2006 06:40:30 +0000 (06:40 +0000)]
Expanded forum_add_user_default_subscriptions() for more contexts

Added    forum_remove_user_subscriptions()

18 years ago1) Fixed API of require_capability() so it matches has_capability()
moodler [Wed, 13 Sep 2006 06:35:25 +0000 (06:35 +0000)]
1) Fixed API of require_capability() so it matches has_capability()

2) Extended role_unassign to clean up forum subscriptions etc as well

18 years agoremoving debug statement
toyomoyo [Wed, 13 Sep 2006 06:13:53 +0000 (06:13 +0000)]
removing debug statement

18 years agouse user_lastaccess table to find inactive time instead of user_students table
toyomoyo [Wed, 13 Sep 2006 06:13:07 +0000 (06:13 +0000)]
use user_lastaccess table to find inactive time instead of user_students table

18 years agofixing a problem where a user hasn't got any entries on the user_lastaccess table...
moodler [Wed, 13 Sep 2006 05:55:57 +0000 (05:55 +0000)]
fixing a problem where a user hasn't got any entries on the user_lastaccess table, temp solution as this could break other db

18 years agoMissed some $COURSE conversion
moodler [Wed, 13 Sep 2006 05:33:09 +0000 (05:33 +0000)]
Missed some $COURSE conversion

18 years agoTidying add_to_log slghtly
moodler [Wed, 13 Sep 2006 05:31:12 +0000 (05:31 +0000)]
Tidying add_to_log slghtly

18 years agochanged to outer join as user_lastaccess table could contain null
toyomoyo [Wed, 13 Sep 2006 05:29:26 +0000 (05:29 +0000)]
changed to outer join as user_lastaccess table could contain null

18 years agoFixed some obvious typos
moodler [Wed, 13 Sep 2006 05:05:17 +0000 (05:05 +0000)]
Fixed some obvious typos

18 years agoRemoved duplicate defines
moodler [Wed, 13 Sep 2006 04:13:50 +0000 (04:13 +0000)]
Removed duplicate defines

18 years agoUse $COURSE and not the $course hack
moodler [Wed, 13 Sep 2006 04:11:36 +0000 (04:11 +0000)]
Use $COURSE and not the $course hack

18 years agoCapability tweaks for rss_client block
vyshane [Wed, 13 Sep 2006 04:10:41 +0000 (04:10 +0000)]
Capability tweaks for rss_client block

18 years agoMore capabilities tweaks
vyshane [Wed, 13 Sep 2006 04:09:31 +0000 (04:09 +0000)]
More capabilities tweaks

18 years agoFix for blocks capability updates. Somehow missed this commit last night.
vyshane [Wed, 13 Sep 2006 04:08:58 +0000 (04:08 +0000)]
Fix for blocks capability updates. Somehow missed this commit last night.

18 years agoNew strings (added a missing one); made the essay email string much more sane
mark-nielsen [Wed, 13 Sep 2006 04:03:45 +0000 (04:03 +0000)]
New strings (added a missing one); made the essay email string much more sane

18 years agomoodle/site:manageblocks tweak
vyshane [Wed, 13 Sep 2006 03:56:38 +0000 (03:56 +0000)]
moodle/site:manageblocks tweak

18 years agoAdded some more stats to reports, added more actions to collapsed view and increased...
mark-nielsen [Wed, 13 Sep 2006 03:42:16 +0000 (03:42 +0000)]
Added some more stats to reports, added more actions to collapsed view and increased speed of lesson by using lesson_set_message() and redirects with 0 second delays.

18 years agoAdded $USER->id in rss_display_feeds() call
vyshane [Wed, 13 Sep 2006 03:02:57 +0000 (03:02 +0000)]
Added $USER->id in rss_display_feeds() call

18 years agoFixed typo
vyshane [Wed, 13 Sep 2006 02:59:20 +0000 (02:59 +0000)]
Fixed typo

18 years agoNow the "AFTER" clause is supported by add_field()
stronk7 [Tue, 12 Sep 2006 22:58:04 +0000 (22:58 +0000)]
Now the "AFTER" clause is supported by add_field()

18 years agoNow we support to use the previous attribute in fields declaration
stronk7 [Tue, 12 Sep 2006 22:56:52 +0000 (22:56 +0000)]
Now we support to use the previous attribute in fields declaration

18 years agoTwo new functions added: add_field() and drop_field()
stronk7 [Tue, 12 Sep 2006 22:23:00 +0000 (22:23 +0000)]
Two new functions added: add_field() and drop_field()

18 years agoTwo more tests added: add_field() and drop_field()
stronk7 [Tue, 12 Sep 2006 22:21:51 +0000 (22:21 +0000)]
Two more tests added: add_field() and drop_field()

18 years agoAdded support for add_field and drop_field
stronk7 [Tue, 12 Sep 2006 22:20:50 +0000 (22:20 +0000)]
Added support for add_field and drop_field

18 years agoDelete one trailing comma
stronk7 [Tue, 12 Sep 2006 22:15:44 +0000 (22:15 +0000)]
Delete one trailing comma

18 years agoAdded functions to retrieve the proper add and drop field SQL.
stronk7 [Tue, 12 Sep 2006 22:15:00 +0000 (22:15 +0000)]
Added functions to retrieve the proper add and drop field SQL.

18 years agoWhen dropping columns, look for check constraints and drop them too.
stronk7 [Tue, 12 Sep 2006 22:13:45 +0000 (22:13 +0000)]
When dropping columns, look for check constraints and drop them too.

18 years agoOps, forgot to delete some debug... :-/
stronk7 [Tue, 12 Sep 2006 21:30:13 +0000 (21:30 +0000)]
Ops, forgot to delete some debug... :-/

18 years agoMSSQL needs to drop the default constraint before being able to drop the column
stronk7 [Tue, 12 Sep 2006 21:24:03 +0000 (21:24 +0000)]
MSSQL needs to drop the default constraint before being able to drop the column

18 years agopartially fixed group management in workshop
skodak [Tue, 12 Sep 2006 21:09:43 +0000 (21:09 +0000)]
partially fixed group management in workshop

18 years agofixed group management in wiki
skodak [Tue, 12 Sep 2006 21:07:54 +0000 (21:07 +0000)]
fixed group management in wiki

18 years agogroups assignment now works with assigned roles instead of user_students and user_tea...
skodak [Tue, 12 Sep 2006 20:55:58 +0000 (20:55 +0000)]
groups assignment now works with assigned roles instead of user_students and user_teachers

18 years agofixed harcoded string "Select a Role"
skodak [Tue, 12 Sep 2006 20:54:21 +0000 (20:54 +0000)]
fixed harcoded string "Select a Role"

18 years agoget_component_string() now works for all enrollment plugins MDL-6522
skodak [Tue, 12 Sep 2006 20:03:08 +0000 (20:03 +0000)]
get_component_string() now works for all enrollment plugins MDL-6522

18 years agoChanged sort order in Role definition page MDL-6522
skodak [Tue, 12 Sep 2006 19:54:33 +0000 (19:54 +0000)]
Changed sort order in Role definition page MDL-6522

18 years agoAdded support for add_field, drop_field and rename_field PHP code generation.
stronk7 [Tue, 12 Sep 2006 17:45:25 +0000 (17:45 +0000)]
Added support for add_field, drop_field and rename_field PHP code generation.

18 years agoChanged some PHP comments.
stronk7 [Tue, 12 Sep 2006 17:41:22 +0000 (17:41 +0000)]
Changed some PHP comments.

18 years agoFixed buggy condition. Now defaults are properly calculated by getPHP()
stronk7 [Tue, 12 Sep 2006 16:45:46 +0000 (16:45 +0000)]
Fixed buggy condition. Now defaults are properly calculated by getPHP()

18 years agoAdded rss_client->shared
stronk7 [Tue, 12 Sep 2006 15:24:41 +0000 (15:24 +0000)]
Added rss_client->shared

18 years agoadding the user_lastaccess table
stronk7 [Tue, 12 Sep 2006 15:19:10 +0000 (15:19 +0000)]
adding the user_lastaccess table

18 years agoUpdate help file to match the changes in the code and on Moodle docs I made some...
tjhunt [Tue, 12 Sep 2006 14:33:38 +0000 (14:33 +0000)]
Update help file to match the changes in the code and on Moodle docs I made some time ago.

18 years agoFixed a bug that must have been there for a while, so that guest icons work again
moodler [Tue, 12 Sep 2006 14:02:15 +0000 (14:02 +0000)]
Fixed a bug that must have been there for a while, so that guest icons work again

18 years agoRevamped require_login() function to handle roles better.
moodler [Tue, 12 Sep 2006 09:31:23 +0000 (09:31 +0000)]
Revamped require_login() function to handle roles better.

18 years agoTidying up a bit
moodler [Tue, 12 Sep 2006 09:30:05 +0000 (09:30 +0000)]
Tidying up a bit

18 years agoFixed MDL-6479 by adding two block columns on admin pages.
moodler [Tue, 12 Sep 2006 09:22:27 +0000 (09:22 +0000)]
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.

18 years agoreplacing iscreator() calls with capabilty
toyomoyo [Tue, 12 Sep 2006 08:56:10 +0000 (08:56 +0000)]
replacing iscreator() calls with capabilty

18 years agoDOn't show "Add" links if you can't use them
moodler [Tue, 12 Sep 2006 08:28:36 +0000 (08:28 +0000)]
DOn't show "Add" links if you can't use them

18 years agoFixed bug preventing capability upgrades for blocks. Typo :(
vyshane [Tue, 12 Sep 2006 08:25:03 +0000 (08:25 +0000)]
Fixed bug preventing capability upgrades for blocks. Typo :(

18 years agoSmall bump for guest role fix
moodler [Tue, 12 Sep 2006 08:22:14 +0000 (08:22 +0000)]
Small bump for guest role fix

18 years agoReload default guest
moodler [Tue, 12 Sep 2006 08:17:33 +0000 (08:17 +0000)]
Reload default guest

18 years agoMissed one capability for guests
moodler [Tue, 12 Sep 2006 08:15:07 +0000 (08:15 +0000)]
Missed one capability for guests

18 years agochanged code to use the user_lastaccess table instead of the user table
toyomoyo [Tue, 12 Sep 2006 07:39:25 +0000 (07:39 +0000)]
changed code to use the user_lastaccess table instead of the user table

18 years agochanged code to use the new user_lastaccess table instead of the log table
toyomoyo [Tue, 12 Sep 2006 07:38:46 +0000 (07:38 +0000)]
changed code to use the new user_lastaccess table instead of the log table

18 years agochanged code to use get_role_users function
toyomoyo [Tue, 12 Sep 2006 07:38:07 +0000 (07:38 +0000)]
changed code to use get_role_users function

18 years agoadded function get_role_users - returns all users assigned this role in this context...
toyomoyo [Tue, 12 Sep 2006 07:37:23 +0000 (07:37 +0000)]
added function get_role_users - returns all users assigned this role in this context (or higher) not very useful for participants list because of the count and paging. Could possibly expand it

18 years agoReload the guest role using new defaults
moodler [Tue, 12 Sep 2006 07:10:49 +0000 (07:10 +0000)]
Reload the guest role using new defaults

18 years agoFIxed some typos and other logic related to assign_capabilities
moodler [Tue, 12 Sep 2006 07:07:30 +0000 (07:07 +0000)]
FIxed some typos and other logic related to assign_capabilities

18 years agoFake constructor for PHP5
vyshane [Tue, 12 Sep 2006 06:58:42 +0000 (06:58 +0000)]
Fake constructor for PHP5

18 years agoModified to support Roles.
vyshane [Tue, 12 Sep 2006 06:57:05 +0000 (06:57 +0000)]
Modified to support Roles.

18 years agoAdded lang string
vyshane [Tue, 12 Sep 2006 06:55:40 +0000 (06:55 +0000)]
Added lang string

18 years agoAdded new load_guest_role() for guest access, and made assign_capability()
moodler [Tue, 12 Sep 2006 06:15:33 +0000 (06:15 +0000)]
Added new load_guest_role() for guest access, and made assign_capability()
smarter about pre-existing capabilities (new param allows overwriting or not)

18 years agoadding new table for keeping track of user's last access time for any course page
toyomoyo [Tue, 12 Sep 2006 06:08:57 +0000 (06:08 +0000)]
adding new table for keeping track of user's last access time for any course page

18 years agoChanged some default permissions for the guest role
moodler [Tue, 12 Sep 2006 05:58:42 +0000 (05:58 +0000)]
Changed some default permissions for the guest role

18 years agoAutomatic installer.php lang files by installer_builder (20060912)
moodler [Tue, 12 Sep 2006 02:46:13 +0000 (02:46 +0000)]
Automatic installer.php lang files by installer_builder (20060912)

18 years agoAnd one more string...
stronk7 [Mon, 11 Sep 2006 22:08:26 +0000 (22:08 +0000)]
And one more string...

18 years agoSome more improvements. Not finished yet.
stronk7 [Mon, 11 Sep 2006 22:06:35 +0000 (22:06 +0000)]
Some more improvements. Not finished yet.

18 years agoupdating index files MDL-3484
koenr [Mon, 11 Sep 2006 21:52:57 +0000 (21:52 +0000)]
updating index files MDL-3484
More work to be done. Checked upto cost.html

18 years agofixed default values and types of requested teacher and student strings
skodak [Mon, 11 Sep 2006 21:24:57 +0000 (21:24 +0000)]
fixed default values and types of requested teacher and student strings

18 years agofixed funny continue button during installation
skodak [Mon, 11 Sep 2006 21:20:47 +0000 (21:20 +0000)]
fixed funny continue button during installation

18 years agoupdating index files MDL-3484
koenr [Mon, 11 Sep 2006 21:14:12 +0000 (21:14 +0000)]
updating index files MDL-3484

18 years agofixed handling of selected language in installer; fixed selection of session language
skodak [Mon, 11 Sep 2006 20:41:49 +0000 (20:41 +0000)]
fixed handling of selected language in installer; fixed selection of session language

18 years agoupdating index files MDL-3484
koenr [Mon, 11 Sep 2006 20:21:54 +0000 (20:21 +0000)]
updating index files MDL-3484

18 years agoold admin block not added into frontpage during installation anymore, it is not remov...
skodak [Mon, 11 Sep 2006 20:05:31 +0000 (20:05 +0000)]
old admin block not added into frontpage during installation anymore, it is not removed  during upgrade.

18 years agowiki now using new groups parameter in get_users_by_capability()
skodak [Mon, 11 Sep 2006 20:01:17 +0000 (20:01 +0000)]
wiki now using new groups parameter in get_users_by_capability()

18 years agolams conversion to new roles framework
skodak [Mon, 11 Sep 2006 19:54:11 +0000 (19:54 +0000)]
lams conversion to new roles framework

18 years agoremoved useless "changes saved" messages from redirects in administration and user...
skodak [Mon, 11 Sep 2006 18:56:41 +0000 (18:56 +0000)]
removed useless "changes saved" messages from redirects in administration and user management

18 years agoSome new strings to display PHP code.
stronk7 [Mon, 11 Sep 2006 15:51:13 +0000 (15:51 +0000)]
Some new strings to display PHP code.

18 years agoteachergraded belongs to workshop_assessments, not to workshop. ;-)
stronk7 [Mon, 11 Sep 2006 15:38:51 +0000 (15:38 +0000)]
teachergraded belongs to workshop_assessments, not to workshop. ;-)

18 years agoteachergraded belongs to workshop_assessments,
stronk7 [Mon, 11 Sep 2006 15:33:51 +0000 (15:33 +0000)]
teachergraded belongs to workshop_assessments,
not to workshop_submissions ;-)

18 years agoInitial verion. Not working yep but I needed to send it now.
stronk7 [Mon, 11 Sep 2006 13:15:36 +0000 (13:15 +0000)]
Initial verion. Not working yep but I needed to send it now.

18 years agoFixes MDL-6516, "Error on logs page because of mess in mdl_log_display table"
nfreear [Mon, 11 Sep 2006 11:40:43 +0000 (11:40 +0000)]
Fixes MDL-6516, "Error on logs page because of mess in mdl_log_display table"

18 years agoadding capabilities
toyomoyo [Mon, 11 Sep 2006 08:56:23 +0000 (08:56 +0000)]
adding capabilities

18 years agoNew tags
moodler [Mon, 11 Sep 2006 08:42:55 +0000 (08:42 +0000)]
New tags

18 years agoUpdated some docs
moodler [Mon, 11 Sep 2006 08:25:49 +0000 (08:25 +0000)]
Updated some docs

18 years agoSome missing strings I forgot to check in
moodler [Mon, 11 Sep 2006 08:24:40 +0000 (08:24 +0000)]
Some missing strings I forgot to check in

18 years agoAutomatic installer.php lang files by installer_builder (20060911)
moodler [Mon, 11 Sep 2006 08:09:58 +0000 (08:09 +0000)]
Automatic installer.php lang files by installer_builder (20060911)

18 years agoadding capaility, fixing indenting and logic (could have broken things)
toyomoyo [Mon, 11 Sep 2006 07:17:10 +0000 (07:17 +0000)]
adding capaility, fixing indenting and logic (could have broken things)

18 years agoNew hook for Moodle 1.7 enrolment plugins
moodler [Mon, 11 Sep 2006 07:09:41 +0000 (07:09 +0000)]
New hook for Moodle 1.7 enrolment plugins

18 years agovalidate local redirection actions in jumpto.php SC#310
skodak [Mon, 11 Sep 2006 06:47:38 +0000 (06:47 +0000)]
validate local redirection actions in jumpto.php SC#310

18 years agoAdded feature from MDL-6439. A validate method is now supported for admin_configtext...
vinkmar [Mon, 11 Sep 2006 05:06:38 +0000 (05:06 +0000)]
Added feature from MDL-6439. A validate method is now supported for admin_configtext objects, and paramtype can now be a regex to validate against.

18 years agoFix for MDL-6405
vyshane [Mon, 11 Sep 2006 03:13:52 +0000 (03:13 +0000)]
Fix for MDL-6405