]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoAdded function for printing a standard header for lesson
mark-nielsen [Wed, 6 Sep 2006 04:02:02 +0000 (04:02 +0000)]
Added function for printing a standard header for lesson
Added function for fetching course module, course and lesson based on course module id or lesson id

18 years agoremoved pause during redirect when there are no new settings
vinkmar [Wed, 6 Sep 2006 02:36:38 +0000 (02:36 +0000)]
removed pause during redirect when there are no new settings

18 years ago* removed hard-coded language strings (MDL-6448)
vinkmar [Wed, 6 Sep 2006 02:23:23 +0000 (02:23 +0000)]
* removed hard-coded language strings (MDL-6448)
* replaced some remaining tabs with spaces

18 years agoremoved hard-coded language strings (MDL-6448)
vinkmar [Wed, 6 Sep 2006 02:20:16 +0000 (02:20 +0000)]
removed hard-coded language strings (MDL-6448)

18 years agoadded strings for MDL-6448
vinkmar [Wed, 6 Sep 2006 02:18:51 +0000 (02:18 +0000)]
added strings for MDL-6448

18 years agoA temporary icon for roles (needs work!)
moodler [Wed, 6 Sep 2006 02:16:48 +0000 (02:16 +0000)]
A temporary icon for roles (needs work!)

18 years agoreplacing isteacher with viewfullname capability
toyomoyo [Wed, 6 Sep 2006 02:14:20 +0000 (02:14 +0000)]
replacing isteacher with viewfullname capability

18 years agoRemoved some tabs
moodler [Wed, 6 Sep 2006 01:43:54 +0000 (01:43 +0000)]
Removed some tabs

18 years agotesting forced conversion to proper numeric type in _adodb_column_sql() SC#259
skodak [Tue, 5 Sep 2006 23:59:25 +0000 (23:59 +0000)]
testing forced conversion to proper numeric type in _adodb_column_sql() SC#259

18 years agoNow forum_get_discussions() is using $limitfrom and $limitnum
stronk7 [Tue, 5 Sep 2006 22:37:56 +0000 (22:37 +0000)]
Now forum_get_discussions() is using $limitfrom and $limitnum

18 years agofixed typo
skodak [Tue, 5 Sep 2006 22:34:25 +0000 (22:34 +0000)]
fixed typo

18 years agoAdding support for MSSQL and Oracle in this select. Not really sure why we need one...
stronk7 [Tue, 5 Sep 2006 22:31:13 +0000 (22:31 +0000)]
Adding support for MSSQL and Oracle in this select. Not really sure why we need one OUTER
join there, if every discussion has one usermodified but.....not time now.

18 years agoMark as deprecated the sql_paging_limit_function()
stronk7 [Tue, 5 Sep 2006 21:42:20 +0000 (21:42 +0000)]
Mark as deprecated the sql_paging_limit_function()

18 years agoOne less use of old LIMIT clause. Now logs are working properly.
stronk7 [Tue, 5 Sep 2006 21:40:17 +0000 (21:40 +0000)]
One less use of old LIMIT clause. Now logs are working properly.

18 years agoI spent 2 hours looking for this typo :-D
skodak [Tue, 5 Sep 2006 20:45:57 +0000 (20:45 +0000)]
I spent 2 hours looking for this typo :-D

18 years agoNo need to specify DISTINCT because u.* guarantees unique ids.
stronk7 [Tue, 5 Sep 2006 19:04:33 +0000 (19:04 +0000)]
No need to specify DISTINCT because u.* guarantees unique ids.
Also, DISTINCT clauses cannot be used with TEXT/BINARY columns
on MSSQL and Oracle.

18 years agoNo need to specify DISTINCT because u.* guaranties distinct by id.
stronk7 [Tue, 5 Sep 2006 19:01:41 +0000 (19:01 +0000)]
No need to specify DISTINCT because u.* guaranties distinct by id.

18 years agoModified get_users_by_capability() call to use the new limit
stronk7 [Tue, 5 Sep 2006 18:57:37 +0000 (18:57 +0000)]
Modified get_users_by_capability() call to use the new limit
parameters and cleanup a bit of code.

18 years agoChanged the get_users_by_capability() function to work with
stronk7 [Tue, 5 Sep 2006 18:55:16 +0000 (18:55 +0000)]
Changed the get_users_by_capability() function to work with
1.7 DB compatible limit sentences.

18 years agoNow get_records_sql() supports limitfrom and limitnum.
stronk7 [Tue, 5 Sep 2006 18:53:08 +0000 (18:53 +0000)]
Now get_records_sql() supports limitfrom and limitnum.
Required to kill all those hardcoded LIMIT x,y clauses.

18 years agoBoth Oracle and MSSQL don't like double quotes for literals.
stronk7 [Tue, 5 Sep 2006 18:06:53 +0000 (18:06 +0000)]
Both Oracle and MSSQL don't like double quotes for literals.

18 years agoAdded support to retrofit tables without prefix
stronk7 [Tue, 5 Sep 2006 17:55:59 +0000 (17:55 +0000)]
Added support to retrofit tables without prefix

18 years agoAdded the adodb_logsql table to the XMLDB schema. It's a bit
stronk7 [Tue, 5 Sep 2006 17:20:24 +0000 (17:20 +0000)]
Added the adodb_logsql table to the XMLDB schema. It's a bit
exceptional because it hasn't prefix and originaly it hasn't
any PK, although we have added it here to be more Moodle-like.
Tested and seems to work properly with the new field.

18 years agoAdded to the generators the ability of prevent adding prefix for some tables.
stronk7 [Tue, 5 Sep 2006 17:17:49 +0000 (17:17 +0000)]
Added to the generators the ability of prevent adding prefix for some tables.
(needed by adodb_logsql)

18 years agoDeleted duplicate table label2 from XMLDB schema
stronk7 [Tue, 5 Sep 2006 16:09:15 +0000 (16:09 +0000)]
Deleted duplicate table label2 from XMLDB schema

18 years agoNow the sessions2 table is UTF8 migrated ok.
stronk7 [Tue, 5 Sep 2006 16:04:50 +0000 (16:04 +0000)]
Now the sessions2 table is UTF8 migrated ok.

18 years agoBetter robustness and basic checking for get_parent_contexts
moodler [Tue, 5 Sep 2006 09:30:40 +0000 (09:30 +0000)]
Better robustness and basic checking for get_parent_contexts

18 years agoNew string for blocks
moodler [Tue, 5 Sep 2006 09:16:19 +0000 (09:16 +0000)]
New string for blocks

18 years agoCleaned up headers when editing roles for blocks
moodler [Tue, 5 Sep 2006 09:15:52 +0000 (09:15 +0000)]
Cleaned up headers when editing roles for blocks

18 years agoadding capabilities
toyomoyo [Tue, 5 Sep 2006 08:50:23 +0000 (08:50 +0000)]
adding capabilities

18 years agominor include cleanup
skodak [Tue, 5 Sep 2006 08:27:14 +0000 (08:27 +0000)]
minor include cleanup

18 years agoGet the block name correctly
moodler [Tue, 5 Sep 2006 06:30:12 +0000 (06:30 +0000)]
Get the block name correctly

18 years agoJust changed the order around a bit
moodler [Tue, 5 Sep 2006 06:13:53 +0000 (06:13 +0000)]
Just changed the order around a bit

18 years agoUse the new config variable as a default for paging
moodler [Tue, 5 Sep 2006 06:11:48 +0000 (06:11 +0000)]
Use the new config variable as a default for paging

18 years agoAdded coursesperpage so paging can be controlled
moodler [Tue, 5 Sep 2006 03:28:25 +0000 (03:28 +0000)]
Added coursesperpage so paging can be controlled

18 years agoUse the defaultsetting if the variable isn't set yet
moodler [Tue, 5 Sep 2006 03:27:08 +0000 (03:27 +0000)]
Use the defaultsetting if the variable isn't set yet

18 years agoMerged MDL-6431 into HEAD
moodler [Tue, 5 Sep 2006 03:15:09 +0000 (03:15 +0000)]
Merged MDL-6431 into HEAD

18 years agoFixed warning
vyshane [Tue, 5 Sep 2006 03:07:56 +0000 (03:07 +0000)]
Fixed warning

18 years agoupdates to accommodate changes to commands.php
cap2501 [Tue, 5 Sep 2006 00:50:08 +0000 (00:50 +0000)]
updates to accommodate changes to commands.php

18 years agoUpdated so nothing in the database is being manipulated directly except for the block...
cap2501 [Tue, 5 Sep 2006 00:47:47 +0000 (00:47 +0000)]
Updated so nothing in the database is being manipulated directly except for the block position. look into moving this functionality into the blocks_execute_action.

18 years agoDon't use db_lowercase() anymore.
stronk7 [Mon, 4 Sep 2006 22:45:12 +0000 (22:45 +0000)]
Don't use db_lowercase() anymore.

18 years agoUsing the standard sql_as() function, although it could be not used.
stronk7 [Mon, 4 Sep 2006 22:42:56 +0000 (22:42 +0000)]
Using the standard sql_as() function, although it could be not used.

18 years agoMark two functions as deprecated because that's standard now.
stronk7 [Mon, 4 Sep 2006 22:40:42 +0000 (22:40 +0000)]
Mark two functions as deprecated because that's standard now.

18 years ago$CFG required.
stronk7 [Mon, 4 Sep 2006 22:30:56 +0000 (22:30 +0000)]
$CFG required.

18 years agoTypo! :-(
stronk7 [Mon, 4 Sep 2006 22:17:28 +0000 (22:17 +0000)]
Typo! :-(

18 years agoMSSQL only runs under UTF8 (with the correct ODBTP driver, of course)
stronk7 [Mon, 4 Sep 2006 22:16:30 +0000 (22:16 +0000)]
MSSQL only runs under UTF8 (with the correct ODBTP driver, of course)

18 years agoMSSQL and Oracle don't want DISTINCT clauses over TEXT/BINARY fields.
stronk7 [Mon, 4 Sep 2006 22:05:58 +0000 (22:05 +0000)]
MSSQL and Oracle don't want DISTINCT clauses over TEXT/BINARY fields.
In this case, we simply delete it because SELECT g.* guarantees unique
records to be retrieved by the first field.

18 years agoChanged so that the settingpage titles are shown (see MDL-6402)
vinkmar [Mon, 4 Sep 2006 21:38:23 +0000 (21:38 +0000)]
Changed so that the settingpage titles are shown (see MDL-6402)

18 years agoCasting $course->modinfo to string prevents one notice to
stronk7 [Mon, 4 Sep 2006 21:12:37 +0000 (21:12 +0000)]
Casting $course->modinfo to string prevents one notice to
be showed when it's null, returning false as desired.

18 years agoOne less reserved word. glossary->comment is out!
stronk7 [Mon, 4 Sep 2006 20:37:27 +0000 (20:37 +0000)]
One less reserved word. glossary->comment is out!

18 years agomerging collisions cleanup
skodak [Mon, 4 Sep 2006 20:32:59 +0000 (20:32 +0000)]
merging collisions cleanup

18 years agoIncluded course/lib.php to be able to rebuild_course_cache()
stronk7 [Mon, 4 Sep 2006 19:33:27 +0000 (19:33 +0000)]
Included course/lib.php to be able to rebuild_course_cache()
It was working until some time ago, but now it's required.

18 years agoNow the temp backup directory is properly created/cleaned
stronk7 [Mon, 4 Sep 2006 19:27:53 +0000 (19:27 +0000)]
Now the temp backup directory is properly created/cleaned
and indexes info are properly stored there.

18 years ago*** empty log message ***
ethem [Mon, 4 Sep 2006 12:31:54 +0000 (12:31 +0000)]
*** empty log message ***

18 years agoNew strings for echecks.
ethem [Mon, 4 Sep 2006 12:25:21 +0000 (12:25 +0000)]
New strings for echecks.

18 years agoNew config: Echeck bank account types enabled.
ethem [Mon, 4 Sep 2006 12:09:30 +0000 (12:09 +0000)]
New config: Echeck bank account types enabled.

18 years agoNew string: adminaccepts; Select payment methods allowed and their types
ethem [Mon, 4 Sep 2006 12:09:25 +0000 (12:09 +0000)]
New string: adminaccepts; Select payment methods allowed and their types

18 years agoAutoconfigure accepted echeck bank account types. CHECKING, BUSINESSCHECKING, SAVINGS
ethem [Mon, 4 Sep 2006 09:44:00 +0000 (09:44 +0000)]
Autoconfigure accepted echeck bank account types. CHECKING, BUSINESSCHECKING, SAVINGS

18 years agoadding caapabilities
toyomoyo [Mon, 4 Sep 2006 08:45:08 +0000 (08:45 +0000)]
adding caapabilities

18 years agoMake Moodle Docs work for settings pages
moodler [Mon, 4 Sep 2006 08:33:57 +0000 (08:33 +0000)]
Make Moodle Docs work for settings pages

18 years agoFurther reductions in logic to deprectaed functions
moodler [Mon, 4 Sep 2006 08:31:07 +0000 (08:31 +0000)]
Further reductions in logic to deprectaed functions

18 years agoRe-worded comment to make more sense
vyshane [Mon, 4 Sep 2006 08:19:23 +0000 (08:19 +0000)]
Re-worded comment to make more sense

18 years agoJust some small doc changes
moodler [Mon, 4 Sep 2006 08:15:48 +0000 (08:15 +0000)]
Just some small doc changes

18 years agoTCPDF pdf library
vyshane [Mon, 4 Sep 2006 08:11:37 +0000 (08:11 +0000)]
TCPDF pdf library

18 years agoWrapper class with modifications to TCPDF for Moodle usage.
vyshane [Mon, 4 Sep 2006 08:10:08 +0000 (08:10 +0000)]
Wrapper class with  modifications to TCPDF for Moodle usage.

18 years agofixed missing global $USER
skodak [Mon, 4 Sep 2006 08:01:57 +0000 (08:01 +0000)]
fixed missing global $USER

18 years agoThis merchant accepts eCheck (ACH) transactions only; no credit card transactions...
ethem [Mon, 4 Sep 2006 07:51:15 +0000 (07:51 +0000)]
This merchant accepts eCheck (ACH) transactions only; no credit card transactions are accepted.

18 years agoAllow all payment methods as default: AN_METHOD_CC, AN_METHOD_ECHECK
ethem [Mon, 4 Sep 2006 07:33:11 +0000 (07:33 +0000)]
Allow all payment methods as default: AN_METHOD_CC, AN_METHOD_ECHECK
authorizenetlib.php autoconfigures payment method as AN_METHOD_CC if the merchant doesn't accept AN_METHOD_ECHECK. First real echeck transaction is enough for this.

18 years agoError message isn't shown when user clicked button without key if course key is set.
ethem [Mon, 4 Sep 2006 07:09:44 +0000 (07:09 +0000)]
Error message isn't shown when user clicked button without key if course key is set.

18 years agolegacy functions to use 4th parameter to by pass doanything capability
toyomoyo [Mon, 4 Sep 2006 04:50:12 +0000 (04:50 +0000)]
legacy functions to use 4th parameter to by pass doanything capability

18 years agoMerged confirmation email fix from stable
moodler [Mon, 4 Sep 2006 02:30:52 +0000 (02:30 +0000)]
Merged confirmation email fix from stable

18 years agonotice() should be allowed at install/upgrade. It stops the whole
stronk7 [Sun, 3 Sep 2006 22:32:14 +0000 (22:32 +0000)]
notice() should be allowed at install/upgrade. It stops the whole
process without need to do it. Changed to notify().

Thanks to one "orphan" forum in moodle.org (234) we detected this.

18 years agonotice() should be allowed at install/upgrade. It stops the whole
stronk7 [Sun, 3 Sep 2006 22:30:13 +0000 (22:30 +0000)]
notice() should be allowed at install/upgrade. It stops the whole
process without need to do it. Changed to notify()

18 years agotypo ;-)
stronk7 [Sun, 3 Sep 2006 21:43:37 +0000 (21:43 +0000)]
typo ;-)

18 years agoPatch submitted by Ethem:
stronk7 [Sun, 3 Sep 2006 20:16:24 +0000 (20:16 +0000)]
Patch submitted by Ethem:

Error message isn't shown when user clicked without key.
Multienrol is enabled (course enrol key with authorize)

This patch allows showing error message when user clicked button without key.

18 years agoThe custom function to convert the user table hasn't to drop/create indexes anymore.
stronk7 [Sun, 3 Sep 2006 19:20:01 +0000 (19:20 +0000)]
The custom function to convert the user table hasn't to drop/create indexes anymore.
It's handled automatically by the main utf8 script.

18 years agoNow, the UTF8 migration doesn't rely one indexes specified in the .xml files. Instead,
stronk7 [Sun, 3 Sep 2006 19:18:00 +0000 (19:18 +0000)]
Now, the UTF8 migration doesn't rely one indexes specified in the .xml files. Instead,
for each table, it fetches all the existing indexes from db, drop them all and, after
utf-8 conversion, rebuilds them.

With this, all the indexes will be exactly the same than the original present in DB, no matter
of their names nor anything else.

So, starting now, to provide a sucessful UTF8 migration we only have to keep updated the
fields .xml info. Bye, bye indexes info.

18 years agofixed language string
skodak [Sun, 3 Sep 2006 19:13:53 +0000 (19:13 +0000)]
fixed language string

18 years agominor fix
skodak [Sun, 3 Sep 2006 18:53:07 +0000 (18:53 +0000)]
minor fix

18 years agoremoved useless includes
skodak [Sun, 3 Sep 2006 18:49:13 +0000 (18:49 +0000)]
removed useless includes

18 years agoadd admin_tree to front page during install and upgrade
skodak [Sun, 3 Sep 2006 18:37:41 +0000 (18:37 +0000)]
add admin_tree to front page during install and upgrade

18 years agoAdded the feedback attribute to the execute_sql_arr() function.
stronk7 [Sun, 3 Sep 2006 17:56:34 +0000 (17:56 +0000)]
Added the feedback attribute to the execute_sql_arr() function.

18 years agoallow deleting of block when original code not present
skodak [Sun, 3 Sep 2006 17:46:27 +0000 (17:46 +0000)]
allow deleting of block when original code not present

18 years agoCutting down on the debug notices
moodler [Sun, 3 Sep 2006 16:31:46 +0000 (16:31 +0000)]
Cutting down on the debug notices

18 years agoAdded capability for showing documentation links
moodler [Sun, 3 Sep 2006 16:26:55 +0000 (16:26 +0000)]
Added capability for showing documentation links

18 years agoMerging $CFG->disablestatsprocessing from stable
moodler [Sun, 3 Sep 2006 15:46:21 +0000 (15:46 +0000)]
Merging $CFG->disablestatsprocessing from stable

18 years agoPrevent NULL fields in 1.7 to become NOT NULL after the UTF-8 migration process.
stronk7 [Sun, 3 Sep 2006 15:33:42 +0000 (15:33 +0000)]
Prevent NULL fields in 1.7 to become NOT NULL after the UTF-8 migration process.

18 years agofixed collisions in merges, sorry
skodak [Sun, 3 Sep 2006 15:21:46 +0000 (15:21 +0000)]
fixed collisions in merges, sorry

18 years agoFixed module links to suit new admin/*.php file page names
moodler [Sun, 3 Sep 2006 15:13:53 +0000 (15:13 +0000)]
Fixed module links to suit new admin/*.php file page names

18 years agoNew admin menu files
moodler [Sun, 3 Sep 2006 14:52:43 +0000 (14:52 +0000)]
New admin menu files

18 years agoProper log index.php so that admin pages work correctly
moodler [Sun, 3 Sep 2006 14:52:23 +0000 (14:52 +0000)]
Proper log index.php so that admin pages work correctly

18 years agoVarious tidying up of the admin pages.
moodler [Sun, 3 Sep 2006 14:45:57 +0000 (14:45 +0000)]
Various tidying up of the admin pages.

Reports now don't need mod.php but they should include the admin headers/footers.

There are undoubtedly bugs in this but this framework should be more sane

18 years agoThese files still need tidying
moodler [Sun, 3 Sep 2006 14:43:41 +0000 (14:43 +0000)]
These files still need tidying

18 years agonew admin block fixes and reorganisation - I guess we need something more traditional...
skodak [Sun, 3 Sep 2006 13:10:56 +0000 (13:10 +0000)]
new admin block fixes and reorganisation - I guess we need something more traditional for now

18 years agoTake out invalid </tr>. While this makes the html valid some work should still be...
gustav_delius [Sun, 3 Sep 2006 12:23:11 +0000 (12:23 +0000)]
Take out invalid </tr>. While this makes the html valid some work should still be done on the layout of this.

18 years agoThe file countries.php does not exist in lang/en, only in lang/en_utf8. Therefore...
gustav_delius [Sun, 3 Sep 2006 11:38:45 +0000 (11:38 +0000)]
The file countries.php does not exist in lang/en, only in lang/en_utf8. Therefore the fallback default in the function get_list_of_countries() should always be en_utf8.

18 years agoUpgrade_log stuff needed adminlib.php included
moodler [Sun, 3 Sep 2006 09:00:13 +0000 (09:00 +0000)]
Upgrade_log stuff needed adminlib.php included

18 years agoNew tags file
moodler [Sun, 3 Sep 2006 08:56:05 +0000 (08:56 +0000)]
New tags file

18 years agoUse proper way to get config values :)
moodler [Sun, 3 Sep 2006 08:48:39 +0000 (08:48 +0000)]
Use proper way to get config values :)

18 years agoRemoved student view
moodler [Sun, 3 Sep 2006 08:46:30 +0000 (08:46 +0000)]
Removed student view