]>
git.mjollnir.org Git - moodle.git/log
thepurpleblob [Fri, 8 Sep 2006 10:27:48 +0000 (10:27 +0000)]
Merged from STABLE
toyomoyo [Fri, 8 Sep 2006 08:46:26 +0000 (08:46 +0000)]
adding capabilities
vyshane [Fri, 8 Sep 2006 02:33:02 +0000 (02:33 +0000)]
Seems that the unassign_capability function signature was changed without updating the call to that function in capabilities_cleanup(). Fixed.
mchampan [Fri, 8 Sep 2006 01:18:48 +0000 (01:18 +0000)]
Fixed couple bugs in query, and improved logic of querylib.
stronk7 [Thu, 7 Sep 2006 23:50:47 +0000 (23:50 +0000)]
Modify a bunch of INSERTs to avoid using empty fields
to allow Oracle to avoid the NULLs = empty problem.
stronk7 [Thu, 7 Sep 2006 23:48:48 +0000 (23:48 +0000)]
DIRTY HACK to convert back all the ' ' (1 space) field contents
back to '' (empty string) in order to allow Oracle to work, more
or less until all the not real NOT NULL DEFAULT '' fields were out!
TODO: Apply the same hack to some more functions...
stronk7 [Thu, 7 Sep 2006 20:17:46 +0000 (20:17 +0000)]
Solving one string concatenation typo (please, test it's ok) and
stripping the AS keyword from table aliases. You cand find more at:
http://docs.moodle.org/en/XMLDB_Problems#Table_and_column_aliases_-_the_AS_keyword
skodak [Thu, 7 Sep 2006 19:40:57 +0000 (19:40 +0000)]
double redirect prevention - if both 'meta http-equiv' and javascript redirects are used, javascript delay is 3 seconds longer to prevent accidental double redirects. The target page can still be loaded twice in case user clicks the link before the target page gets fully loaded.
skodak [Thu, 7 Sep 2006 19:18:48 +0000 (19:18 +0000)]
removed redirect message, because it was sometimes breaking upgrades due to double redirects
stronk7 [Thu, 7 Sep 2006 18:39:43 +0000 (18:39 +0000)]
Typos + drop table fully supported.
stronk7 [Thu, 7 Sep 2006 17:28:46 +0000 (17:28 +0000)]
Initial support for DROP TABLE adedd.
stronk7 [Thu, 7 Sep 2006 17:25:06 +0000 (17:25 +0000)]
If one course, hasn't teaches, both under roles and no-roles
installations, default to admin language.
vinkmar [Thu, 7 Sep 2006 16:15:35 +0000 (16:15 +0000)]
Fixed bug (sectionname mismatch) similar to MDL-6475
moodler [Thu, 7 Sep 2006 15:46:48 +0000 (15:46 +0000)]
Fixed a typo (thanks Eclipse)
vinkmar [Thu, 7 Sep 2006 14:53:07 +0000 (14:53 +0000)]
Fixed MDL-6475.
nfreear [Thu, 7 Sep 2006 09:11:55 +0000 (09:11 +0000)]
Fixes bug MDL-6478 "Unit tests (not) working.."
toyomoyo [Thu, 7 Sep 2006 08:57:56 +0000 (08:57 +0000)]
adding capabilities
moodler [Thu, 7 Sep 2006 08:35:30 +0000 (08:35 +0000)]
Added moodle/role:unassignself which replaces $CFG->allowunenroll
stronk7 [Wed, 6 Sep 2006 23:05:12 +0000 (23:05 +0000)]
Initial RenameTable caller to generators. Not ended by I needed it in CVS now.
stronk7 [Wed, 6 Sep 2006 23:04:13 +0000 (23:04 +0000)]
Initial, unfinished, not working, simple version of rename_table generator.
More coming soon, but I needed it in CVS now!
stronk7 [Wed, 6 Sep 2006 22:34:09 +0000 (22:34 +0000)]
PHP code for dropping and renaming tables added. Note that the DDL
functions doesn't exist yet. ;-)
stronk7 [Wed, 6 Sep 2006 19:49:13 +0000 (19:49 +0000)]
The XMLDBEditor is generating automatic PHP code for create_table
stronk7 [Wed, 6 Sep 2006 19:47:50 +0000 (19:47 +0000)]
Now indexes are able to return their PHP specs.
stronk7 [Wed, 6 Sep 2006 19:43:38 +0000 (19:43 +0000)]
Now keys are able to return their PHP specs.
stronk7 [Wed, 6 Sep 2006 19:31:03 +0000 (19:31 +0000)]
Now fields are able to return their PHP specs.
ethem [Wed, 6 Sep 2006 15:39:32 +0000 (15:39 +0000)]
all static functions in enrolment_plugin_authorize moved to localfuncs.php. So, no need enrol.php.
stronk7 [Wed, 6 Sep 2006 15:30:11 +0000 (15:30 +0000)]
Disable regexp searches for MSSQL and Oracle
stronk7 [Wed, 6 Sep 2006 15:29:26 +0000 (15:29 +0000)]
Now forum searches are working both under MSSQL and Oracle
(in a case-sensitive behaviour for Oracle, see code comments and
http://docs.moodle.org/en/XMLDB_Problems#Case-insensitive_searches)
skodak [Wed, 6 Sep 2006 11:36:00 +0000 (11:36 +0000)]
fixed description of configprotectusernames
skodak [Wed, 6 Sep 2006 10:15:05 +0000 (10:15 +0000)]
fixed missing if (!
skodak [Wed, 6 Sep 2006 10:11:24 +0000 (10:11 +0000)]
allow less verbose operation of forget_password.php SC#282
toyomoyo [Wed, 6 Sep 2006 08:55:23 +0000 (08:55 +0000)]
adding capabilities
vyshane [Wed, 6 Sep 2006 08:54:56 +0000 (08:54 +0000)]
Merged fix for bug MDL-5866.
skodak [Wed, 6 Sep 2006 08:41:47 +0000 (08:41 +0000)]
initial conversion of workshop to new roles and capabilities framework; groups are not functional yet (did they ever work properly ?)
moodler [Wed, 6 Sep 2006 05:24:35 +0000 (05:24 +0000)]
Some tidying up of admin blocks
mark-nielsen [Wed, 6 Sep 2006 04:04:42 +0000 (04:04 +0000)]
Added $Id$ to files
Header is not printed for all actions. Related to MDL-5403
Some redundant code removed
First attempt at separating logic and presentation in action continue (continue.html)
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
vinkmar [Wed, 6 Sep 2006 02:36:38 +0000 (02:36 +0000)]
removed pause during redirect when there are no new settings
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
vinkmar [Wed, 6 Sep 2006 02:20:16 +0000 (02:20 +0000)]
removed hard-coded language strings (MDL-6448)
vinkmar [Wed, 6 Sep 2006 02:18:51 +0000 (02:18 +0000)]
added strings for MDL-6448
moodler [Wed, 6 Sep 2006 02:16:48 +0000 (02:16 +0000)]
A temporary icon for roles (needs work!)
toyomoyo [Wed, 6 Sep 2006 02:14:20 +0000 (02:14 +0000)]
replacing isteacher with viewfullname capability
moodler [Wed, 6 Sep 2006 01:43:54 +0000 (01:43 +0000)]
Removed some tabs
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
stronk7 [Tue, 5 Sep 2006 22:37:56 +0000 (22:37 +0000)]
Now forum_get_discussions() is using $limitfrom and $limitnum
skodak [Tue, 5 Sep 2006 22:34:25 +0000 (22:34 +0000)]
fixed typo
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.
stronk7 [Tue, 5 Sep 2006 21:42:20 +0000 (21:42 +0000)]
Mark as deprecated the sql_paging_limit_function()
stronk7 [Tue, 5 Sep 2006 21:40:17 +0000 (21:40 +0000)]
One less use of old LIMIT clause. Now logs are working properly.
skodak [Tue, 5 Sep 2006 20:45:57 +0000 (20:45 +0000)]
I spent 2 hours looking for this typo :-D
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.
stronk7 [Tue, 5 Sep 2006 19:01:41 +0000 (19:01 +0000)]
No need to specify DISTINCT because u.* guaranties distinct by id.
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.
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.
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.
stronk7 [Tue, 5 Sep 2006 18:06:53 +0000 (18:06 +0000)]
Both Oracle and MSSQL don't like double quotes for literals.
stronk7 [Tue, 5 Sep 2006 17:55:59 +0000 (17:55 +0000)]
Added support to retrofit tables without prefix
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.
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)
stronk7 [Tue, 5 Sep 2006 16:09:15 +0000 (16:09 +0000)]
Deleted duplicate table label2 from XMLDB schema
stronk7 [Tue, 5 Sep 2006 16:04:50 +0000 (16:04 +0000)]
Now the sessions2 table is UTF8 migrated ok.
moodler [Tue, 5 Sep 2006 09:30:40 +0000 (09:30 +0000)]
Better robustness and basic checking for get_parent_contexts
moodler [Tue, 5 Sep 2006 09:16:19 +0000 (09:16 +0000)]
New string for blocks
moodler [Tue, 5 Sep 2006 09:15:52 +0000 (09:15 +0000)]
Cleaned up headers when editing roles for blocks
toyomoyo [Tue, 5 Sep 2006 08:50:23 +0000 (08:50 +0000)]
adding capabilities
skodak [Tue, 5 Sep 2006 08:27:14 +0000 (08:27 +0000)]
minor include cleanup
moodler [Tue, 5 Sep 2006 06:30:12 +0000 (06:30 +0000)]
Get the block name correctly
moodler [Tue, 5 Sep 2006 06:13:53 +0000 (06:13 +0000)]
Just changed the order around a bit
moodler [Tue, 5 Sep 2006 06:11:48 +0000 (06:11 +0000)]
Use the new config variable as a default for paging
moodler [Tue, 5 Sep 2006 03:28:25 +0000 (03:28 +0000)]
Added coursesperpage so paging can be controlled
moodler [Tue, 5 Sep 2006 03:27:08 +0000 (03:27 +0000)]
Use the defaultsetting if the variable isn't set yet
moodler [Tue, 5 Sep 2006 03:15:09 +0000 (03:15 +0000)]
Merged MDL-6431 into HEAD
vyshane [Tue, 5 Sep 2006 03:07:56 +0000 (03:07 +0000)]
Fixed warning
cap2501 [Tue, 5 Sep 2006 00:50:08 +0000 (00:50 +0000)]
updates to accommodate changes to commands.php
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.
stronk7 [Mon, 4 Sep 2006 22:45:12 +0000 (22:45 +0000)]
Don't use db_lowercase() anymore.
stronk7 [Mon, 4 Sep 2006 22:42:56 +0000 (22:42 +0000)]
Using the standard sql_as() function, although it could be not used.
stronk7 [Mon, 4 Sep 2006 22:40:42 +0000 (22:40 +0000)]
Mark two functions as deprecated because that's standard now.
stronk7 [Mon, 4 Sep 2006 22:30:56 +0000 (22:30 +0000)]
$CFG required.
stronk7 [Mon, 4 Sep 2006 22:17:28 +0000 (22:17 +0000)]
Typo! :-(
stronk7 [Mon, 4 Sep 2006 22:16:30 +0000 (22:16 +0000)]
MSSQL only runs under UTF8 (with the correct ODBTP driver, of course)
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.
vinkmar [Mon, 4 Sep 2006 21:38:23 +0000 (21:38 +0000)]
Changed so that the settingpage titles are shown (see MDL-6402)
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.
stronk7 [Mon, 4 Sep 2006 20:37:27 +0000 (20:37 +0000)]
One less reserved word. glossary->comment is out!
skodak [Mon, 4 Sep 2006 20:32:59 +0000 (20:32 +0000)]
merging collisions cleanup
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.
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.
ethem [Mon, 4 Sep 2006 12:31:54 +0000 (12:31 +0000)]
*** empty log message ***
ethem [Mon, 4 Sep 2006 12:25:21 +0000 (12:25 +0000)]
New strings for echecks.
ethem [Mon, 4 Sep 2006 12:09:30 +0000 (12:09 +0000)]
New config: Echeck bank account types enabled.
ethem [Mon, 4 Sep 2006 12:09:25 +0000 (12:09 +0000)]
New string: adminaccepts; Select payment methods allowed and their types
ethem [Mon, 4 Sep 2006 09:44:00 +0000 (09:44 +0000)]
Autoconfigure accepted echeck bank account types. CHECKING, BUSINESSCHECKING, SAVINGS
toyomoyo [Mon, 4 Sep 2006 08:45:08 +0000 (08:45 +0000)]
adding caapabilities
moodler [Mon, 4 Sep 2006 08:33:57 +0000 (08:33 +0000)]
Make Moodle Docs work for settings pages
moodler [Mon, 4 Sep 2006 08:31:07 +0000 (08:31 +0000)]
Further reductions in logic to deprectaed functions
vyshane [Mon, 4 Sep 2006 08:19:23 +0000 (08:19 +0000)]
Re-worded comment to make more sense
moodler [Mon, 4 Sep 2006 08:15:48 +0000 (08:15 +0000)]
Just some small doc changes
vyshane [Mon, 4 Sep 2006 08:11:37 +0000 (08:11 +0000)]
TCPDF pdf library