Commit graph

22066 commits

Author SHA1 Message Date
moodler
7da0af9feb Fixed some obvious typos 2006-09-13 05:05:17 +00:00
moodler
040e8fd8b8 Removed duplicate defines 2006-09-13 04:13:50 +00:00
moodler
9103fd10f8 Use $COURSE and not the $course hack 2006-09-13 04:11:36 +00:00
vyshane
29ac3cc28d Capability tweaks for rss_client block 2006-09-13 04:10:41 +00:00
vyshane
73b73d2101 More capabilities tweaks 2006-09-13 04:09:31 +00:00
vyshane
48f6bcddd2 Fix for blocks capability updates. Somehow missed this commit last night. 2006-09-13 04:08:58 +00:00
mark-nielsen
fa9234e0e0 New strings (added a missing one); made the essay email string much more sane 2006-09-13 04:03:45 +00:00
vyshane
0c4d9f492e moodle/site:manageblocks tweak 2006-09-13 03:56:38 +00:00
mark-nielsen
260a56b114 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. 2006-09-13 03:42:16 +00:00
vyshane
1975d8bd3e Added $USER->id in rss_display_feeds() call 2006-09-13 03:02:57 +00:00
vyshane
7d02b43640 Fixed typo 2006-09-13 02:59:20 +00:00
stronk7
f0b50bbe89 Now the "AFTER" clause is supported by add_field() 2006-09-12 22:58:04 +00:00
stronk7
48c2be79be Now we support to use the previous attribute in fields declaration 2006-09-12 22:56:52 +00:00
stronk7
f521d32b71 Two new functions added: add_field() and drop_field() 2006-09-12 22:23:00 +00:00
stronk7
12bda5832f Two more tests added: add_field() and drop_field() 2006-09-12 22:21:51 +00:00
stronk7
0bd921db9e Added support for add_field and drop_field 2006-09-12 22:20:50 +00:00
stronk7
0dd87cfa7a Delete one trailing comma 2006-09-12 22:15:44 +00:00
stronk7
3ab2610037 Added functions to retrieve the proper add and drop field SQL. 2006-09-12 22:15:00 +00:00
stronk7
d256743c5b When dropping columns, look for check constraints and drop them too. 2006-09-12 22:13:45 +00:00
stronk7
ec68af222e Ops, forgot to delete some debug... :-/ 2006-09-12 21:30:13 +00:00
stronk7
2a02841762 MSSQL needs to drop the default constraint before being able to drop the column 2006-09-12 21:24:03 +00:00
skodak
c15f680424 partially fixed group management in workshop 2006-09-12 21:09:43 +00:00
skodak
33e7885ee0 fixed group management in wiki 2006-09-12 21:07:54 +00:00
skodak
3fde1a3d2f groups assignment now works with assigned roles instead of user_students and user_teachers 2006-09-12 20:55:58 +00:00
skodak
bc202f4390 fixed harcoded string "Select a Role" 2006-09-12 20:54:21 +00:00
skodak
be382aafb3 get_component_string() now works for all enrollment plugins MDL-6522 2006-09-12 20:03:08 +00:00
skodak
69eb59f28a Changed sort order in Role definition page MDL-6522 2006-09-12 19:54:33 +00:00
stronk7
3be91b01b6 Added support for add_field, drop_field and rename_field PHP code generation. 2006-09-12 17:45:25 +00:00
stronk7
cb78437d64 Changed some PHP comments. 2006-09-12 17:41:22 +00:00
stronk7
88bf021308 Fixed buggy condition. Now defaults are properly calculated by getPHP() 2006-09-12 16:45:46 +00:00
stronk7
9a96282f2c Added rss_client->shared 2006-09-12 15:24:41 +00:00
stronk7
8b9b510961 adding the user_lastaccess table 2006-09-12 15:19:10 +00:00
tjhunt
3542314884 Update help file to match the changes in the code and on Moodle docs I made some time ago. 2006-09-12 14:33:38 +00:00
moodler
32b9a98349 Fixed a bug that must have been there for a while, so that guest icons work again 2006-09-12 14:02:15 +00:00
moodler
1845f8b80e Revamped require_login() function to handle roles better. 2006-09-12 09:31:23 +00:00
moodler
e4d81c60a9 Tidying up a bit 2006-09-12 09:30:05 +00:00
moodler
b1ce7811ad 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.
2006-09-12 09:22:27 +00:00
toyomoyo
ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
moodler
ecf22ff31c DOn't show "Add" links if you can't use them 2006-09-12 08:28:36 +00:00
vyshane
f7cf2f8efd Fixed bug preventing capability upgrades for blocks. Typo :( 2006-09-12 08:25:03 +00:00
moodler
0f9602085b Small bump for guest role fix 2006-09-12 08:22:14 +00:00
moodler
0ad8c7850d Reload default guest 2006-09-12 08:17:33 +00:00
moodler
b0f5523038 Missed one capability for guests 2006-09-12 08:15:07 +00:00
toyomoyo
dfe603583e changed code to use the user_lastaccess table instead of the user table 2006-09-12 07:39:25 +00:00
toyomoyo
174526f4f1 changed code to use the new user_lastaccess table instead of the log table 2006-09-12 07:38:46 +00:00
toyomoyo
87e5a0cd9e changed code to use get_role_users function 2006-09-12 07:38:07 +00:00
toyomoyo
ab5c904411 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 2006-09-12 07:37:23 +00:00
moodler
8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
moodler
2e85fffeb1 FIxed some typos and other logic related to assign_capabilities 2006-09-12 07:07:30 +00:00
vyshane
93b7e8d3a7 Fake constructor for PHP5 2006-09-12 06:58:42 +00:00