toyomoyo
26663a2386
replacing isteacher with viewfullname capability
2006-09-06 02:14:20 +00:00
stronk7
ccda38e521
Don't use db_lowercase() anymore.
2006-09-04 22:45:12 +00:00
stronk7
6b4b356f82
Using the standard sql_as() function, although it could be not used.
2006-09-04 22:42:56 +00:00
stronk7
0703d22ede
One less reserved word. glossary->comment is out!
2006-09-04 20:37:27 +00:00
skodak
86a1ba04fd
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack
2006-09-02 11:44:04 +00:00
toyomoyo
81e956b964
added some capabilities
2006-08-30 08:43:17 +00:00
skodak
7af25328c2
fixed cosmetic typo - missing semicolon before closing tag
2006-08-27 18:38:16 +00:00
skodak
cf8eaebb06
fixed warning in glossary recent activity from deteted entries
2006-08-26 19:38:32 +00:00
skodak
b3e570450f
removing some isteacher()s from glossary
2006-08-26 19:19:36 +00:00
skodak
907cf31821
trusttext cleaning in glossary upgrade - definitions and comments
2006-08-26 18:08:18 +00:00
skodak
7d8a3cb06a
trusttext:
...
* proposed by Martin Dougiamas
* implemented by skodak
Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...
done:
* core
* glossary (without proper upgrade)
to do:
* data cleaning in upgrades
* forum, blocks and some other places (MD decides)
2006-08-26 13:00:07 +00:00
toyomoyo
b56d75dd00
fixing a typo
2006-08-23 05:52:39 +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
stronk7
2bf10cbf7b
XMLDB schema initial commit for the glossary module
2006-08-11 17:11:46 +00:00
moodler
dabfd0ed85
Removed tabs
2006-08-09 13:45:49 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +00:00
moodler
bbbf2d4015
ROLES AND PERMISSIONS - FIRST CHECK-IN
...
=======================================
WARNING: DEV IS CURRENTLY VERY UNSTABLE.
This is a mega-checkin of the new Roles system. A lot of changes have
been made in core and modules.
Currently there are a lot of rough edges and known problems. We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).
Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
95d5682927
Bug #6170 - Glossary bug: it displays nothing when autolinking to non-ascii text and other minor cleanup; merged from MOODLE_16_STABLE
2006-07-30 22:22:22 +00:00
skodak
1b4035b074
Bug #6129 - Incorrect glossary import file size limit; merged from MOODLE_16_STABLE
2006-07-17 13:35:05 +00:00
stronk7
cd58557ae0
Close properly the showentry page. Bug 5986.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5986 )
Merged from MOODLE_16_STABLE
2006-07-16 09:01:03 +00:00
skodak
afda6b5681
Bug #6087 - alphabetic problem in glossary; merged from MOODLE_16_STABLE
2006-07-12 20:29:18 +00:00
skodak
81b0eec894
Bug #6050 - import glossary entries to new glossary not creating new glossary; merged from MOODLE_16_STABLE
2006-07-07 19:54:22 +00:00
skodak
2af7f6e266
fixed warning in glossary export, merged from MOODLE_16_STABLE
2006-07-06 21:27:00 +00:00
skodak
24c1be8880
sanitize submitted numerical values; merged from MOODLE_16_STABLE
2006-05-26 11:39:12 +00:00
skodak
d33f282a5b
make sure variables are properly cleaned; merged from MOODLE_16_STABLE
2006-05-23 09:47:48 +00:00
skodak
ebb63815f8
fixed register globals issues for $sort SC #256 ; merged from MOODLE_16_STABLE
2006-05-22 16:54:11 +00:00
skodak
54eca8f2a4
proper initialisation of sqlsortkey SC#258; merged from MOODLE_16_STABLE
2006-05-21 07:42:58 +00:00
stronk7
fbaea8f354
glossary print view is now valid XHTML.
...
Merged from MOODLE_16_STABLE
2006-05-07 10:49:28 +00:00
stronk7
f84b602b44
Too much restrictive optional_param was producing
...
some undesired efects with formats. Bug 4858.
(http://moodle.org/bugs/bug.php?op=show&bugid=4858 )
Merged from MOODLE_15_STABLE
2006-04-30 10:07:36 +00:00
stronk7
60b5242a53
entrylist format now show the 'send ratings' button. Bug 4915.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=4915 )
2006-04-30 09:41:19 +00:00
vyshane
5f672a4dd8
Fixed inserts for log_display.
2006-04-24 09:05:08 +00:00
vyshane
1b51a8ed9c
Fixed inserts for log_display table.
2006-04-24 08:23:19 +00:00
skodak
9cae379921
fixed typo, undefined $ents
2006-04-22 17:33:22 +00:00
toyomoyo
fd8d5ba75f
fix for 5207
2006-04-18 07:22:18 +00:00
stronk7
ff62d70dc6
Two more uses of format_string() agains entry->concept
2006-04-15 19:28:26 +00:00
stronk7
deb59b8f95
Filter one more string if filterall is enabled.
2006-04-15 19:24:44 +00:00
stronk7
1b1858d260
htmlentities() to s()
2006-04-11 16:09:52 +00:00
stronk7
c356bb409d
Suppress pivot output from Date view. It hasn't too much sense there.
2006-04-09 11:06:19 +00:00
stronk7
30691fc3c3
Solve some upperpivot notices and wrong behaviours. More coming...
2006-04-09 10:59:39 +00:00
stronk7
f7f735b877
Some defaults applied to paramenters was preventing defaults based
...
on formats to work properly.
2006-04-09 10:45:14 +00:00
stronk7
2cf1011b25
Now searchbox table is closed by hand, because print_simple_box_xxx()
...
methods (div based) were breaking things a bit here. Bug 5087)
(http://moodle.org/bugs/bug.php?op=show&bugid=5087 )
2006-04-09 09:11:18 +00:00
stronk7
2070370cfa
Typo.
2006-03-28 23:31:12 +00:00
stronk7
b51551e794
Some excess of security was causing Bug 4713.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=4713 )
Merged from MOODLE_15_STABLE
2006-03-21 20:08:51 +00:00
skodak
9bc78f8456
fixed typo PARAM_CLEAR
2006-03-15 18:08:24 +00:00
patrickslee
cb8229d0a8
UTF8 migration - now supporting PostgreSQL
2006-03-10 03:43:33 +00:00
skodak
9f79b50f05
fixed missing global $CFG - anyway it worked even without it :-D
2006-03-08 11:20:38 +00:00
skodak
0c0849cf5f
lots of incorrect required_param()'s - there MUST be only two parameters not three!!
2006-03-08 00:08:51 +00:00
skodak
38b7336ed1
short php tags
2006-03-07 21:35:13 +00:00
skodak
c07549b6e2
fixed coding style of unicode db detection
2006-03-06 20:30:00 +00:00
skodak
1b1d34225b
incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR)
2006-03-04 12:37:29 +00:00