]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agofixed print_texarea() capability requirement
skodak [Mon, 2 Oct 2006 19:47:11 +0000 (19:47 +0000)]
fixed print_texarea() capability requirement

18 years agofixed sql text quoting, other fixes in blog ahead
skodak [Mon, 2 Oct 2006 19:21:26 +0000 (19:21 +0000)]
fixed sql text quoting, other fixes in blog ahead

18 years agore-enabling the rename_field() test
stronk7 [Mon, 2 Oct 2006 17:42:31 +0000 (17:42 +0000)]
re-enabling the rename_field() test

18 years agorename_field() under mssql completed
stronk7 [Mon, 2 Oct 2006 17:42:14 +0000 (17:42 +0000)]
rename_field() under mssql completed

18 years agoFixes related to presets and MDL-6755.
moodler [Mon, 2 Oct 2006 17:24:54 +0000 (17:24 +0000)]
Fixes related to presets and MDL-6755.

The original code was shocking once I started reviewing it, and even
after heavy editing I'm still not happy with it, but at least it works
more like it was supposed to.

Needs more cleaning up to make it clearer and probably safer.

Also, presets can now contain langage packs and they'll be used.
The image gallery is an example.

18 years agoAdded another s() to the query strings. Thanks Petr!
moodler [Mon, 2 Oct 2006 17:09:18 +0000 (17:09 +0000)]
Added another s() to the query strings.  Thanks Petr!

18 years agorename_field() under oracle completed
stronk7 [Mon, 2 Oct 2006 17:06:37 +0000 (17:06 +0000)]
rename_field() under oracle completed

18 years agoMDL-6761 Edit qestion link gone from question preview popup. It was checking the...
tjhunt [Mon, 2 Oct 2006 17:04:12 +0000 (17:04 +0000)]
MDL-6761 Edit qestion link gone from question preview popup. It was checking the wrong capability.

18 years agorename_field() under postgresql completed.
stronk7 [Mon, 2 Oct 2006 17:02:35 +0000 (17:02 +0000)]
rename_field() under postgresql completed.

18 years agoMySQL doesn't have check constraints. We use enums instead.
stronk7 [Mon, 2 Oct 2006 17:02:07 +0000 (17:02 +0000)]
MySQL doesn't have check constraints. We use enums instead.

18 years agoChanged the currently selected admin menu bgcolor.
mits [Mon, 2 Oct 2006 16:51:48 +0000 (16:51 +0000)]
Changed the currently selected admin menu bgcolor.

18 years agoPrevent "id" fields to be renamed in generators
stronk7 [Mon, 2 Oct 2006 16:47:02 +0000 (16:47 +0000)]
Prevent "id" fields to be renamed in generators

18 years agoIn my previous commit, "I" was "It" :-D
stronk7 [Mon, 2 Oct 2006 16:46:12 +0000 (16:46 +0000)]
In my previous commit, "I" was "It" :-D
Plus one typo fixed.

18 years agoPrevent "id" fields to be renamed. I can cause lots of problems.
stronk7 [Mon, 2 Oct 2006 16:37:41 +0000 (16:37 +0000)]
Prevent "id" fields to be renamed. I can cause lots of problems.

18 years agoHighlight the currently selected admin menu.
mits [Mon, 2 Oct 2006 16:35:34 +0000 (16:35 +0000)]
Highlight the currently selected admin menu.
Changed admin search result color.

18 years agoSome adjustments to be able to get names without prefix
stronk7 [Mon, 2 Oct 2006 16:28:51 +0000 (16:28 +0000)]
Some adjustments to be able to get names without prefix

18 years agorename_table() under postgresql completed
stronk7 [Mon, 2 Oct 2006 16:27:18 +0000 (16:27 +0000)]
rename_table() under postgresql completed

18 years agoSet debug off on tests
stronk7 [Mon, 2 Oct 2006 16:26:34 +0000 (16:26 +0000)]
Set debug off on tests

18 years agorename_table() under oracle completed
stronk7 [Mon, 2 Oct 2006 16:19:48 +0000 (16:19 +0000)]
rename_table() under oracle completed

18 years agoString should be printed using s() MDL-6779
moodler [Mon, 2 Oct 2006 16:08:16 +0000 (16:08 +0000)]
String should be printed using s()   MDL-6779

18 years agoWith the emotion, I forgot to delete some debug lines... :-P
stronk7 [Mon, 2 Oct 2006 15:57:59 +0000 (15:57 +0000)]
With the emotion, I forgot to delete some debug lines... :-P

18 years agorename_table() under mssql completed! B-)
stronk7 [Mon, 2 Oct 2006 15:56:34 +0000 (15:56 +0000)]
rename_table() under mssql completed! B-)

18 years agoAdded language files to default preset as an example
moodler [Mon, 2 Oct 2006 15:27:24 +0000 (15:27 +0000)]
Added language files to default preset as an example

18 years agoBe a bit more flexible with the extra paths (can be a string or an array)
moodler [Mon, 2 Oct 2006 15:15:23 +0000 (15:15 +0000)]
Be a bit more flexible with the extra paths (can be a string or an array)

18 years agoAdditional paramter for get_string() that allows the calling code to
moodler [Mon, 2 Oct 2006 15:08:25 +0000 (15:08 +0000)]
Additional paramter for get_string() that allows the calling code to
specify extra locations for strings

18 years agoVarious little cleanups
moodler [Mon, 2 Oct 2006 14:57:00 +0000 (14:57 +0000)]
Various little cleanups

18 years agoFixed some missing strings
moodler [Mon, 2 Oct 2006 14:30:28 +0000 (14:30 +0000)]
Fixed some missing strings

18 years agoStrip slashes from admin search string (it's ok, it never gets near a database)
moodler [Mon, 2 Oct 2006 13:35:28 +0000 (13:35 +0000)]
Strip slashes from admin search string (it's ok, it never gets near a database)

18 years agoFixed overzealous cleaning MDL-6779
moodler [Mon, 2 Oct 2006 13:26:02 +0000 (13:26 +0000)]
Fixed overzealous cleaning   MDL-6779

18 years agoChange default (old change not checked in)
moodler [Mon, 2 Oct 2006 13:10:58 +0000 (13:10 +0000)]
Change default (old change not checked in)

18 years agoFixed capability soring on course and coursecat override MDL-6780
moodler [Mon, 2 Oct 2006 08:57:00 +0000 (08:57 +0000)]
Fixed capability soring on course and coursecat override   MDL-6780

18 years agoroles and capability support for backups. role mapping is in, please help test, thanks
toyomoyo [Mon, 2 Oct 2006 08:49:07 +0000 (08:49 +0000)]
roles and capability support for backups. role mapping is in, please help test, thanks

18 years agofixed directory creation issues in advanced upload assignment
skodak [Mon, 2 Oct 2006 08:44:58 +0000 (08:44 +0000)]
fixed directory creation issues in advanced upload assignment

18 years agoAligning capability override columns
moodler [Mon, 2 Oct 2006 08:43:40 +0000 (08:43 +0000)]
Aligning capability override columns

18 years agoFIxed missing string
moodler [Mon, 2 Oct 2006 08:40:39 +0000 (08:40 +0000)]
FIxed missing string

18 years agoOnly show search box when there is content in the block
moodler [Mon, 2 Oct 2006 08:36:25 +0000 (08:36 +0000)]
Only show search box when there is content in the block

18 years agoStudent cannot see handed-in upload single assignment MDL-6770
skodak [Mon, 2 Oct 2006 08:36:07 +0000 (08:36 +0000)]
Student cannot see handed-in upload single assignment MDL-6770

18 years agoassignment intro hiding before available date is now optional in advanced upload...
skodak [Mon, 2 Oct 2006 08:21:35 +0000 (08:21 +0000)]
assignment intro hiding before available date is now optional in advanced upload type ( MDL-6131 ), the rest of types will not be changed

18 years agoCleaned up style for background of admin settings
moodler [Mon, 2 Oct 2006 07:06:47 +0000 (07:06 +0000)]
Cleaned up style for background of admin settings

18 years agoAdded a missing string
moodler [Mon, 2 Oct 2006 07:03:41 +0000 (07:03 +0000)]
Added a missing string

18 years agoBring Sticky Blocks into the admin fold
moodler [Mon, 2 Oct 2006 06:58:46 +0000 (06:58 +0000)]
Bring Sticky Blocks into the admin fold

18 years agoFIxed use of reserved SQL words for MDL-6778
moodler [Mon, 2 Oct 2006 06:52:21 +0000 (06:52 +0000)]
FIxed use of reserved SQL words for MDL-6778

18 years agoFixed typo in capability name
moodler [Mon, 2 Oct 2006 06:39:55 +0000 (06:39 +0000)]
Fixed typo in capability name

18 years agoHighlight the currently selected admin menu 8-)
moodler [Mon, 2 Oct 2006 06:37:58 +0000 (06:37 +0000)]
Highlight the currently selected admin menu   8-)

18 years agoTidy up admin search box, and fixed 4-spaces everywhere
moodler [Mon, 2 Oct 2006 06:20:14 +0000 (06:20 +0000)]
Tidy up admin search box, and fixed 4-spaces everywhere

18 years agoAdded search box for searching admin settings
moodler [Mon, 2 Oct 2006 06:16:50 +0000 (06:16 +0000)]
Added search box for searching admin settings

18 years agoadded strings for admin search
vinkmar [Mon, 2 Oct 2006 06:03:51 +0000 (06:03 +0000)]
added strings for admin search

18 years agolinks added to section titles
vinkmar [Mon, 2 Oct 2006 06:02:52 +0000 (06:02 +0000)]
links added to section titles

18 years agochanges made for admin search page
vinkmar [Mon, 2 Oct 2006 05:53:39 +0000 (05:53 +0000)]
changes made for admin search page

18 years agoAdmin search function.
vinkmar [Mon, 2 Oct 2006 05:52:39 +0000 (05:52 +0000)]
Admin search function.

Takes a "query" parameter... will be written into admintree block

18 years agoAutomatic installer.php lang files by installer_builder (20061002)
moodler [Mon, 2 Oct 2006 02:56:19 +0000 (02:56 +0000)]
Automatic installer.php lang files by installer_builder (20061002)

18 years agoEnabling rename_field() test
stronk7 [Sun, 1 Oct 2006 23:06:35 +0000 (23:06 +0000)]
Enabling rename_field() test

18 years agoBasic rename_field() function added.
stronk7 [Sun, 1 Oct 2006 23:02:39 +0000 (23:02 +0000)]
Basic rename_field() function added.
TODO: Automatic sequence/trigger/check constraint recreation
      under PG, MSSQL & Oracle

18 years agoAdded rename_field() support.
stronk7 [Sun, 1 Oct 2006 22:54:51 +0000 (22:54 +0000)]
Added rename_field() support.
TODO: Sync sequences, triggers and check constraints

18 years agoAdded rename_field() support for mssql
stronk7 [Sun, 1 Oct 2006 22:52:30 +0000 (22:52 +0000)]
Added rename_field() support for mssql

18 years agoAdded rename_field() support for MySQL
stronk7 [Sun, 1 Oct 2006 22:44:39 +0000 (22:44 +0000)]
Added rename_field() support for MySQL

18 years agofixed error in assignments when no students enrolled in course
skodak [Sun, 1 Oct 2006 21:45:54 +0000 (21:45 +0000)]
fixed error in assignments when no students enrolled in course

18 years agopartially fixed - assignment intro always avaible even setting available date MDL...
skodak [Sun, 1 Oct 2006 21:35:16 +0000 (21:35 +0000)]
partially fixed - assignment intro always avaible even setting available date MDL-6131

18 years agoFix performance problem with lots of categories. http://moodle.org/mod/forum/discuss...
tjhunt [Sun, 1 Oct 2006 20:32:12 +0000 (20:32 +0000)]
Fix performance problem with lots of categories. http://moodle.org/mod/forum/discuss.php?d=54945#252145. Merged from MOODLE_16_STABLE.

18 years agoAdvanced Upload assignment type - student can't read teacher's uploaded response...
skodak [Sun, 1 Oct 2006 20:04:53 +0000 (20:04 +0000)]
Advanced Upload assignment type - student can't read teacher's uploaded response file MDL-6771

18 years agofixed MDL-6625 - can't switch courses
skodak [Sun, 1 Oct 2006 19:55:47 +0000 (19:55 +0000)]
fixed  MDL-6625 - can't switch courses

18 years agoCannot add glossary category MDL-6713
skodak [Sun, 1 Oct 2006 19:35:27 +0000 (19:35 +0000)]
Cannot add glossary category MDL-6713

18 years ago left-hand pane on image upload screen is missing MDL-6759
skodak [Sun, 1 Oct 2006 16:38:26 +0000 (16:38 +0000)]
 left-hand pane on image upload screen is missing MDL-6759

18 years agoAdded IP lookup plugin choice to GUI
moodler [Sun, 1 Oct 2006 16:25:35 +0000 (16:25 +0000)]
Added IP lookup plugin choice to GUI

18 years agoincorrect context used in rss_client block upgrade code MDL-6707 - part of the upgrad...
skodak [Sun, 1 Oct 2006 16:17:30 +0000 (16:17 +0000)]
incorrect context used in rss_client block upgrade code MDL-6707 - part of the upgrade code is now rerun in existing installations - new upgrades should be ok, the cleanup of stale contexts and overrides will be done later as part on normal maintenance from cron

18 years agoFixed two bugs in the tests...
stronk7 [Sun, 1 Oct 2006 16:08:25 +0000 (16:08 +0000)]
Fixed two bugs in the tests...

18 years agoAvoid some double updates under PG
stronk7 [Sun, 1 Oct 2006 16:02:09 +0000 (16:02 +0000)]
Avoid some double updates under PG

18 years agoNow PG adds fields in various steps is order to fulfill 7.4 min req
stronk7 [Sun, 1 Oct 2006 15:48:29 +0000 (15:48 +0000)]
Now PG adds fields in various steps is order to fulfill 7.4 min req

18 years agoAdded getDefaultValue() for better handling of default values
stronk7 [Sun, 1 Oct 2006 15:47:48 +0000 (15:47 +0000)]
Added getDefaultValue() for better handling of default values

18 years agoremoving obsoleted calendar.* files from admin area
skodak [Sun, 1 Oct 2006 14:46:56 +0000 (14:46 +0000)]
removing obsoleted calendar.* files from admin area

18 years agoFixed one wrong "return false" plus minor code reorder...
stronk7 [Sun, 1 Oct 2006 14:39:50 +0000 (14:39 +0000)]
Fixed one wrong "return false" plus minor code reorder...

18 years agoDisabled log
moodler [Sun, 1 Oct 2006 13:06:40 +0000 (13:06 +0000)]
Disabled log

18 years agoRecent wiki table changes have problems on PostgreSQL 7.4 MDL-6724
skodak [Sun, 1 Oct 2006 12:04:34 +0000 (12:04 +0000)]
Recent wiki table changes have problems on PostgreSQL 7.4 MDL-6724

18 years agoSome quick styles added to match manage.html MDL-6725
moodler [Sun, 1 Oct 2006 10:15:50 +0000 (10:15 +0000)]
Some quick styles added to match manage.html    MDL-6725

18 years agoFixed links to Risks documentation
moodler [Sun, 1 Oct 2006 09:59:03 +0000 (09:59 +0000)]
Fixed links to Risks documentation

18 years agoNew installation with different prefix in one database fails MDL-6614
skodak [Sun, 1 Oct 2006 09:47:20 +0000 (09:47 +0000)]
New installation with different prefix in one database fails MDL-6614

18 years agoFixed styles for user listings
moodler [Sun, 1 Oct 2006 09:33:41 +0000 (09:33 +0000)]
Fixed styles for user listings

18 years agoFIx the header too by requiring login to the course
moodler [Sun, 1 Oct 2006 09:31:49 +0000 (09:31 +0000)]
FIx the header too by requiring login to the course

18 years agoFixed a typo causing MDL-6758
moodler [Sun, 1 Oct 2006 09:26:50 +0000 (09:26 +0000)]
Fixed a typo causing MDL-6758

18 years agoAdding some serious checks to make Moodle break when there is any
moodler [Sun, 1 Oct 2006 09:16:49 +0000 (09:16 +0000)]
Adding some serious checks to make Moodle break when there is any
select, insert or update on user_students, user_teachers, user_coursecreators,
or user_admins (once roles is installed), because they should not be used
at all and we will drop them soon.

18 years agoMake the sorting of the names always by lastname, to match assign roles
moodler [Sun, 1 Oct 2006 08:48:58 +0000 (08:48 +0000)]
Make the sorting of the names always by lastname, to match assign roles

18 years agoNow table renaming is working properly on PostgreSQL
stronk7 [Sun, 1 Oct 2006 08:44:55 +0000 (08:44 +0000)]
Now table renaming is working properly on PostgreSQL
(only renaming of check constraints are pending)

18 years agoTidied up groups interface to make it a bit more intuitive
moodler [Sun, 1 Oct 2006 08:37:15 +0000 (08:37 +0000)]
Tidied up groups interface to make it a bit more intuitive

18 years agoget_role_users() can now get all the people who have any role in that context,
moodler [Sun, 1 Oct 2006 08:34:36 +0000 (08:34 +0000)]
get_role_users() can now get all the people who have any role in that context,
which is useful

18 years agoFIxes for the assign screen, to make it a lot faster and able to cope
moodler [Sun, 1 Oct 2006 08:08:26 +0000 (08:08 +0000)]
FIxes for the assign screen, to make it a lot faster and able to cope
better with very large numbers of users   MDL-6766

18 years agoFIxed some typos in get_role_users and count_role_users to do with parent contexts
moodler [Sun, 1 Oct 2006 07:02:53 +0000 (07:02 +0000)]
FIxed some typos in get_role_users and count_role_users to do with parent contexts

18 years agodo not join "hotpot_attempts" and "hotpot_details" tables when displaying "hotpot...
gbateson [Sun, 1 Oct 2006 06:39:51 +0000 (06:39 +0000)]
do not join "hotpot_attempts" and "hotpot_details" tables when displaying "hotpot/index.php". This should speed display when courses have many HotPot activities, especially for students

18 years agoFIxed a debugging message
moodler [Sun, 1 Oct 2006 06:39:20 +0000 (06:39 +0000)]
FIxed a debugging message

18 years agoadd/delete calendar events when adding/updating/deleting hotpots
gbateson [Sun, 1 Oct 2006 06:36:50 +0000 (06:36 +0000)]
add/delete calendar events when adding/updating/deleting hotpots

18 years agoadded "hotpotopens" and "hotpotcloses" for calendar events
gbateson [Sun, 1 Oct 2006 06:35:54 +0000 (06:35 +0000)]
added "hotpotopens" and "hotpotcloses" for calendar events

18 years agoImprovements to the user listing, security and appearance
moodler [Sun, 1 Oct 2006 06:18:18 +0000 (06:18 +0000)]
Improvements to the user listing, security and appearance

18 years agoTrivial spelling fix up
moodler [Sun, 1 Oct 2006 05:49:41 +0000 (05:49 +0000)]
Trivial spelling fix up

18 years agoNew implementation of loginas see MDL-6626
moodler [Sun, 1 Oct 2006 05:46:55 +0000 (05:46 +0000)]
New implementation of loginas    see MDL-6626

18 years agoFixed a bug where load_user_capability() was not checking in the
moodler [Sun, 1 Oct 2006 05:27:36 +0000 (05:27 +0000)]
Fixed a bug where load_user_capability() was not checking in the
specified context when it was provided (only in the parents)

18 years agoSome tidying and also a check to make sure that the user was a
moodler [Sun, 1 Oct 2006 05:26:38 +0000 (05:26 +0000)]
Some tidying and also a check to make sure that the user was a
participant in this particular course

18 years agoFIxed a typo mod->id --> mod->cm
moodler [Sun, 1 Oct 2006 04:56:43 +0000 (04:56 +0000)]
FIxed a typo  mod->id --> mod->cm

18 years agoNow Oracle supports table renaming (both sequence and triggers
stronk7 [Sat, 30 Sep 2006 23:48:34 +0000 (23:48 +0000)]
Now Oracle supports table renaming (both sequence and triggers
are kept on sync with the new table name)

18 years agoDrop one more table if present
stronk7 [Sat, 30 Sep 2006 23:09:41 +0000 (23:09 +0000)]
Drop one more table if present

18 years agoChange slighty the style of RenameKey and RenameIndex functions.
stronk7 [Sat, 30 Sep 2006 22:59:10 +0000 (22:59 +0000)]
Change slighty the style of RenameKey and RenameIndex functions.

18 years agoInitial commit of rename_table(). Not ended!
stronk7 [Sat, 30 Sep 2006 22:40:15 +0000 (22:40 +0000)]
Initial commit of rename_table(). Not ended!