21048 Commits

Author SHA1 Message Date
toyomoyo
7e2d7c92ad some UI changes 2006-08-14 08:46:44 +00:00
skodak
b367b152ad fixed warning during installation when creating admin account 2006-08-14 08:44:30 +00:00
moodler
339a9129ec Only need to pass contextid to this script 2006-08-14 08:41:54 +00:00
moodler
e957cc2644 Cleaned up a bunch of notices and some logic 2006-08-14 08:38:49 +00:00
skodak
8549af11d1 fixed upgrade success notification, backup and blocks success messages are not red anymore... 2006-08-14 08:37:19 +00:00
moodler
5c524305e3 FIxed 'assign roles' link from course admin 2006-08-14 08:34:11 +00:00
moodler
218564acfc Fixed bug #6238, bad debug statements 2006-08-14 08:26:58 +00:00
moodler
e4dd322255 Function to get roles used in a context 2006-08-14 08:14:02 +00:00
skodak
9fecfdfb83 Bug #6245 - rewritten multilang filter 2006-08-14 07:46:03 +00:00
vyshane
951e1073da Added has_capability calls. Reverted forum_search to pre-roles until the
function is totally converted to work with roles.
2006-08-14 07:37:53 +00:00
vyshane
d7bf6d17d9 Fixes for capability checks. 2006-08-14 07:25:18 +00:00
vyshane
cee0901c06 Formatting cleanups and comments 2006-08-14 07:15:03 +00:00
skodak
33851b5c16 prevent access to filters when disabled in filter settings SC#291; merged from MOODLE_16_STABLE 2006-08-14 06:24:34 +00:00
moodler
65f4d137a7 Fixed a typo 2006-08-14 06:22:29 +00:00
moodler
f2e21e6c03 Fix error string 2006-08-14 06:03:30 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
mchampan
6e7805628e Advanced search page added. 2006-08-14 02:29:43 +00:00
tjhunt
a7c3953d1c SC 289, small, but non-exploitable hole in backup permissions checking. Merged from MOODLE_16_STABLE. 2006-08-13 20:39:21 +00:00
moodler
acee2e2491 Temporayr debug a bit more sensible 2006-08-13 15:50:58 +00:00
moodler
340ea4e89e Some wider caching 2006-08-13 15:48:57 +00:00
moodler
e5605780cf Cache context lookup per page for performance 2006-08-13 13:28:01 +00:00
moodler
b63ec9db78 Adding roles to front page course list "add" button 2006-08-13 13:17:38 +00:00
moodler
624f2fea76 Removed some old calls to isadmin 2006-08-13 13:12:51 +00:00
moodler
7fad699525 Tidying up some spelling 2006-08-13 09:29:33 +00:00
moodler
8737be587d More language-related tidyups and a new get_local_override() function 2006-08-13 09:25:45 +00:00
moodler
ceb83c70ba Changes to string format for capabilities 2006-08-13 09:11:45 +00:00
moodler
f9a67ea1e2 New strings for Roles and Capabilities 2006-08-13 09:10:52 +00:00
moodler
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
moodler
f633ae28ae Automatic installer.php lang files by installer_builder (20060813) 2006-08-13 02:49:19 +00:00
stronk7
6750328ba0 Latest changes added + some polish in keys. 2006-08-12 23:03:59 +00:00
stronk7
d236d4f577 Initial version of the XMLDB file for this plugin 2006-08-12 22:26:05 +00:00
stronk7
9bd4d98bc2 Initial version of the XMLDB file for this plugin 2006-08-12 22:19:10 +00:00
stronk7
42173f5121 Initial version of the XMLDB file for this plugin 2006-08-12 21:41:46 +00:00
stronk7
6f398232e6 Added une foreign+unique key 2006-08-12 21:40:30 +00:00
danstowell
ac87088b50 Added download link for all entries as KML 2006-08-12 19:03:16 +00:00
danstowell
94682d3e58 Another couple of latlong strings 2006-08-12 19:02:39 +00:00
danstowell
5cd48bf480 Another couple of latlong strings 2006-08-12 17:37:08 +00:00
danstowell
3af692dba0 Now latlong data types allow you to choose which labels appear in Google Earth 2006-08-12 17:36:22 +00:00
skodak
b8a607d691 fixed format_text caching - now respects text format, current language and course id (lang fix is needed for my multilang filter rewrite ;-); merged from MOODLE_16_STABLE 2006-08-12 12:44:19 +00:00
stronk7
615b4a1391 An example of how one unitialized variable can generate really
dificult-to-trace bugs. Thanks to Jens Gammelgaard and support  B-)
(http://moodle.org/bugs/bug.php?op=show&bugid=6233)

Merged from MOODLE_16_STABLE
2006-08-12 09:14:40 +00:00
stronk7
613f306d1d XMLDB schema initial commit for the quiz module.
Some doubts are pending to finish it properly.
2006-08-11 19:29:47 +00:00
stronk7
b08eda731b Added one FK (recursive) to course_categories 2006-08-11 18:41:39 +00:00
stronk7
49025df359 Added one comment about recursive FK for the future. 2006-08-11 18:36:47 +00:00
stronk7
401846cca7 XMLDB schema initial commit for the lesson module 2006-08-11 17:56:18 +00:00
stronk7
a2a4bfc567 XMLDB schema initial commit for the lams module 2006-08-11 17:39:38 +00:00
stronk7
e0996851da XMLDB schema initial commit for the label module 2006-08-11 17:37:17 +00:00
stronk7
01c3c55960 Oops, filled now. I forgot to save changes before commit. 2006-08-11 17:31:11 +00:00
stronk7
4121848035 XMLDB schema initial commit for the journal module 2006-08-11 17:29:47 +00:00
stronk7
540c65ba43 XMLDB schema initial commit for the hotpot module 2006-08-11 17:24:55 +00:00
stronk7
2bf10cbf7b XMLDB schema initial commit for the glossary module 2006-08-11 17:11:46 +00:00