stronk7
0217757b09
DeLIMITing Moodle core. Now the new $limitfrom,
...
$limitnum parameters are used instead. MDL-7168
Merged from MOODLE_17_STABLE
2006-10-24 22:00:29 +00:00
skodak
8e9eebe629
fixed risks associated with capabilitites in modules MDL-7174; merged from MOODLE_17_STABLE
2006-10-24 08:06:56 +00:00
toyomoyo
6cb34d443d
merged replacing studentcanpost with capability
2006-10-23 02:49:05 +00:00
toyomoyo
7f75d5fd2f
merged, student_can_post should be done properly using capabilities
2006-10-23 02:25:32 +00:00
skodak
f8b922413a
Seeing ####TRUSTTEXT#### in RSS feeds MDL-7147 - fixed RSS feeds in glossary; merged from MOODLE_17_STABLE
2006-10-21 21:15:26 +00:00
stronk7
b4c7bb78fc
Deleting some old oci8po files from CVS.
2006-10-21 18:28:28 +00:00
toyomoyo
dc07b83298
merged fix for MDL-7106, glossary capability check
2006-10-20 07:01:51 +00:00
skodak
efa0eb1dcd
improved validation when deleting comments from glossary SC#325 ; merged from MOODLE_17_STABLE
2006-10-18 20:21:28 +00:00
thompson697
cf0b1faded
Apply modularity to the creation of the log file during restore to a new course.
...
Remove the responsibility for loging the application of the course start date offset, from activity modules to the backup module.
Merged from stable branch
2006-10-17 10:05:41 +00:00
toyomoyo
627dc89d22
merged fix for warnings
2006-10-12 08:26:19 +00:00
toyomoyo
2df5f8f53d
merged fix warnings during restore
2006-10-12 03:30:43 +00:00
moodler
2d5a4f255b
Merged fixes for MDL-6907 from stable
2006-10-11 06:21:58 +00:00
toyomoyo
b1e68bff0e
removing some debugging statements
2006-10-05 03:26:22 +00:00
thompson697
eb87ac71c5
Change creation of restorelog file location to protected backupdata folder.
...
Reassign style and language links
2006-10-04 14:50:50 +00:00
skodak
310471950e
Cannot add glossary category MDL-6713
2006-10-01 19:35:27 +00:00
martinlanghoff
a8f4522dfa
data, forum, glossary: use sql_ilike() for a portable LIKE operator
2006-09-26 05:08:18 +00:00
martinlanghoff
d2715c70b6
mod/glossary, mod/hotpot: use sql_concat() and sql_concat_join()
...
Cleaned up several dbtype conditionals too.
2006-09-26 05:06:44 +00:00
vyshane
583b57b42d
Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now?
2006-09-24 14:01:50 +00:00
skodak
7eb0b60a1f
debugging and error reporting level fixes and improvements MDL-6671
2006-09-23 09:38:39 +00:00
vyshane
7949f21b5f
Removed 'mod/glossary:view' capability
2006-09-22 02:52:48 +00:00
skodak
eef868d17d
major whitespace cleanup - fixed trailng whitespace in new files and admin area
2006-09-20 21:00:45 +00:00
toyomoyo
9c37662f22
replacing deprecated funciton calls with capability calls
2006-09-19 09:16:24 +00:00
skodak
21b6db6eff
added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum
2006-09-18 21:32:49 +00:00
moodler
fdb1cf2cc1
FIxed to use the new debugging function
2006-09-18 09:13:04 +00:00
thompson697
163ff97e84
Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
moodler
0f9602085b
Small bump for guest role fix
2006-09-12 08:22:14 +00:00
moodler
8d158ed44f
Reload the guest role using new defaults
2006-09-12 07:10:49 +00:00
moodler
00adf177ad
Changed some default permissions for the guest role
2006-09-12 05:58:42 +00:00
toyomoyo
d02eededf7
adding capabilities
2006-09-06 08:55:23 +00:00
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