Commit graph

22064 commits

Author SHA1 Message Date
vinkmar
63aafc9e56 Fixing errors in admin page cleanup; working towards compatibility with PHP4 (use of interfaces, private/protected/public, instanceof all removed). 2006-08-19 01:37:38 +00:00
stronk7
465a802937 Thought this was commited. Solve one bug in trigger generation 2006-08-19 00:58:30 +00:00
stronk7
7e13be0887 Splitting datalib.php in three libraries:
- ddllib.php: Where all the DDL (install/upgrade) functions will be.
  - dmllib.php: Where all the DML (select...) functions will be.
  - datalib.php: Legacy lib. Its contents should go to other libraries soon.
For more info see: http://docs.moodle.org/en/XMLDB_Roadmap (point 1)
2006-08-18 22:56:08 +00:00
tjhunt
ef82286874 Bug #6293 - Cannot regrade a question when a teacher has added a comment with a ' - Merged from MOODLE_16_STABLE. Stupid, wreched, datalib. Why can't datalib take care of addslashes, so the whole of the rest of the code can forget about it? That is how a database abstraction layer should work. I know, it is pointless to moan about it, but it has just cost me 3 hours, so I feel I have earned the right to moan. 2006-08-18 22:34:54 +00:00
tjhunt
865b753486 Code cleanup. Merged from MOODLE_16_STABLE. 2006-08-18 22:26:04 +00:00
vinkmar
708870d3a8 added blank footer (to eliminate the notice when $footer is non-existant) 2006-08-18 22:02:09 +00:00
vinkmar
3d8ef99d9e Blocks fixed in admin pagelib, and (hopefully) many notices pointed out in the general forum board no longer show up. 2006-08-18 22:00:37 +00:00
tjhunt
4abc23b2ae Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE. 2006-08-18 21:23:15 +00:00
vinkmar
0b4073cedb trying to prevent an undefined index error 2006-08-18 19:27:02 +00:00
ethem
516b138516 Colorize all orders. 2006-08-18 17:10:30 +00:00
ethem
be4f7e7fec Colorize refunds and show refunded total.
Red: Refunded/Pending Settlement
Green: Refunded/Settled
Black: Cancelled
2006-08-18 16:01:47 +00:00
ethem
49c22bc46b Display capture/void/delete instead of 'Yes'; Merged from 16stable. 2006-08-18 14:54:08 +00:00
tjhunt
5553c2ec47 New function record_exists_select with unit tests for all the record_exists_* functions. 2006-08-18 11:28:30 +00:00
tjhunt
bc2defd5f8 Bug #3481 - wildcard problem in cloze question. Thanks to Joseph Rezeau. Merged from MOODLE_16_STABLE, not a straight merge becuase of other 1.7 changes. 2006-08-18 10:29:34 +00:00
moodler
d100b8a04d Make sure .htaccess is created in dataroot, just in case 2006-08-18 09:54:09 +00:00
vinkmar
cdb46b63d2 more bugs! incompatibility with php 5.1.2 (presumably earlier versions as well) fixed 2006-08-18 08:40:58 +00:00
vinkmar
bb14a9e3b7 admin page cleanup blocks (new ones!) 2006-08-18 08:25:02 +00:00
vinkmar
c74af0688f adding admin page cleanup blocks (new ones!) 2006-08-18 08:24:07 +00:00
vinkmar
dca7a9cfad admin page cleanup (bug fixes :) ) 2006-08-18 08:16:32 +00:00
tjhunt
1780811d55 Added todo. 2006-08-18 08:14:47 +00:00
toyomoyo
68c5252623 adding functions and interface for access control - role assignment and role overrides 2006-08-18 08:01:16 +00:00
vinkmar
4cd174bfce Reverting changes to file from admin page cleanup... whoops! Accidentally broke the install. 2006-08-18 07:52:56 +00:00
vinkmar
f8a511519b admin page cleanup (google soc 2006)... updated field name for category editing function so that it doesn't conflict with 'edit' when used for blocks 2006-08-18 07:29:19 +00:00
vinkmar
7ff99cb64f admin page cleanup (google soc 2006)... updated to use new pagelib 2006-08-18 07:27:05 +00:00
vinkmar
dd81bb350c updated for admin page cleanup 2006-08-18 07:26:25 +00:00
vinkmar
90a73bb361 Admin page cleanup (Google soc 2006) 2006-08-18 07:25:17 +00:00
vinkmar
a7c72afc04 Admin page cleanup (google soc 2006) 2006-08-18 07:23:02 +00:00
vyshane
e6416e3f12 Updated upgrade to roles system 2006-08-18 07:08:14 +00:00
vyshane
314af32a92 Forum upgrade to roles in progress (commented out). 2006-08-18 04:17:31 +00:00
skodak
408965376d still more upgrade logging fixes 2006-08-18 00:01:37 +00:00
skodak
26c91c7394 major upgrade logging speed improvement - write buffer implemented 2006-08-17 23:50:18 +00:00
skodak
7949356d64 fixed missing '}' 2006-08-17 22:49:21 +00:00
skodak
dedb2304cd upgrade logging cleanup, fixes - more improvements ahead 2006-08-17 22:37:34 +00:00
skodak
031c8ae5a0 Bug #6276 - Multiple questions not showing up from scale page; merged from MOODLE_16_STABLE 2006-08-17 21:34:39 +00:00
stronk7
1bf63d33c8 Oracle automatically builds UIXs for UKs 2006-08-17 19:40:49 +00:00
stronk7
9dcc6300a7 Now all the XMLDBxxx->geSQL functions return an array of statements to be
executed (easily to handle them in the installation/upgrade process
individually. Also, it's possible to specify one statement end.
2006-08-17 19:20:45 +00:00
stronk7
de16da7293 adding role_allow_assign , role_allow_override table and dropping role_deny_grant
NOTE: Need to confirm that both these fields:
    role_allow_assign->allowassign and
    role_allow_override->allowoverride
are pointing to role->id (this is the assumption I've done, so I've
created them as FKs)
2006-08-17 19:16:07 +00:00
tjhunt
eb9189bc2f Bug #6277 - Missed function renaming in question/format/multianswer. Merged from MOODLE_16_STABLE. 2006-08-17 17:38:31 +00:00
tjhunt
8d2054411c Tweak to unbreak unit tests. 2006-08-17 17:30:56 +00:00
stronk7
4d00e5e4ec Now admin includes all the required ddllib stuff 2006-08-17 16:59:39 +00:00
stronk7
46d42a3cc5 Now ddllib includes all the required xmldb stuff 2006-08-17 16:59:14 +00:00
stronk7
b7bc9446a9 Added JS template field for JavaScript if needed. 2006-08-17 16:40:46 +00:00
tjhunt
cfa27f4472 Fix bug in new function get_field_select(), and this time add a unittest to see if the new function works! 2006-08-17 16:28:29 +00:00
ethem
b9c3d818fe enrol_authorize.courseid must be passed to authorize_get_status_action() function to allow a user has_capacity; Joined 2 tables to get courseid field. Merged from 16stable. 2006-08-17 15:43:54 +00:00
tomflannaghan
ca20f89151 Slashes added for database entry. 2006-08-17 13:19:28 +00:00
tomflannaghan
1f9aab2e10 *** empty log message *** 2006-08-17 13:18:02 +00:00
tomflannaghan
b010085239 Javascript added 2006-08-17 09:27:51 +00:00
tomflannaghan
f0a93e5d30 jstemplate 2006-08-17 09:26:31 +00:00
tomflannaghan
5a83945ec5 Extra tab for 'jstemplate' 2006-08-17 09:26:06 +00:00
moodler
8ac4971405 Added JS template field for JavaScript if needed 2006-08-17 09:02:56 +00:00