296 Commits

Author SHA1 Message Date
skodak
d78f25b8c0 fixed missing semicolon typo 2006-08-30 09:17:40 +00:00
toyomoyo
81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00
stronk7
b7bc9446a9 Added JS template field for JavaScript if needed. 2006-08-17 16:40:46 +00:00
tomflannaghan
ca20f89151 Slashes added for database entry. 2006-08-17 13:19:28 +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
tomflannaghan
72184a52b8 A few fixes for the dropdown menus. 2006-08-15 11:14:07 +00:00
moodler
901dd2fb4c Merged new "Database preset" support from Tom Flannaghan.
Still needs some tidy-up work but it's working.
2006-08-15 08:42:06 +00:00
moodler
c4a333b328 Fixes from forum http://moodle.org/mod/forum/discuss.php?d=46048 2006-08-14 08:59:38 +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
danstowell
ac87088b50 Added download link for all entries as KML 2006-08-12 19:03:16 +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
danstowell
8161ac9842 Adding new data field type, latlong, to HEAD 2006-08-11 13:17:29 +00:00
skodak
8fd62c6401 Bug #6199 - A typo in edit.php; merged from MOODLE_16_STABLE 2006-08-09 19:46:32 +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
stronk7
9c642ecacb Initial XMLDB schema for data tables. Using FKs where they are obvious. 2006-08-08 17:00:44 +00:00
toyomoyo
e6723f80dc these tables should not be there,, 2006-08-08 08:04:01 +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
15a6cf334f Bug #6099 - Restore alternatively failing on data module - fixed status codes of module restore process; merged from MOODLE_16_STABLE 2006-07-13 15:38:03 +00:00
moodler
6476b0afe7 CSS templates weren't being backed up! 2006-07-09 02:03:22 +00:00
skodak
f262874bbe Bug #5909 - Fix use of user_group() because it returns arrays now - part 1; merged from MOODLE_16_STABLE 2006-07-03 21:11:17 +00:00
skodak
eb073d70ad Bug #5955 - link to help item for html editor looks funny; merged from MOODLE_16_STABLE 2006-06-29 07:00:27 +00:00
skodak
62ce993db3 Bug #5959 - save and view takes to wrong place; merged from MOODLE_16_STABLE 2006-06-29 06:53:53 +00:00
skodak
036c0fcb1a Bug #5960 - can't delete or edit comments; merged from MOODLE_16_STABLE 2006-06-29 06:48:31 +00:00
skodak
a251b76547 Bug #5931 - blocks block database; merged from MOODLE_16_STABLE 2006-06-26 21:35:05 +00:00
skodak
d12cb320b3 Bug #5659 - Problem with build-in buttons when creating templates; merged from MOODLE_16_STABLE 2006-06-06 20:55:25 +00:00
skodak
3cdd4eeba0 Bug #5535 - Database module backup error in 1.5.4, patch submitted by Patrick Pollet ; merged from MOODLE_16_STABLE 2006-06-06 15:12:51 +00:00
skodak
002ccfc7a0 Bug #5678 - Question marks, single quotes in field name cause trouble - cleaning hack ported from clean_filename(); merged from MOODLE_16_STABLE 2006-06-06 10:17:18 +00:00
skodak
f9e5457f16 Bug #5680 - Fixed duplicate field names; merged from MOODLE_16_STABLE 2006-06-06 09:35:15 +00:00
vyshane
f24eb26139 Merged from 1.6. Fix for Bug #5682 - 'Reset template' button in CSS template
adds HTML.
2006-06-02 04:29:11 +00:00
vyshane
65d169680c Merged fix from 1.6 (missing lang string) 2006-06-01 04:08:45 +00:00
skodak
4df627dfbf Bug #5582 - sort by numerical field doesn't work properly with decimals; merged from MOODLE_16_STABLE 2006-05-25 15:57:20 +00:00
vyshane
fafbcc51b5 Merged fix for bug: when a student tries to add an entry and no fields are
defined, the foreach barfs since the value of $fields is false.
2006-05-25 05:19:24 +00:00
toyomoyo
7dbc6b5891 merged backup-restore/db migrate for rsstitletemplate field 2006-05-25 02:31:15 +00:00
toyomoyo
ea6a834533 added rsstitle, merged 2006-05-24 07:03:14 +00:00
toyomoyo
6fe661e879 added rsstitletemplate field 2006-05-24 06:16:10 +00:00
stronk7
cf0403002e Solving one SQL error in data_get_participants()
plus some improved readability.

Merged from MOODLE_16_STABLE
2006-05-23 22:33:01 +00:00
skodak
c65d1af557 fixed file backup and converted other forgotten "assignments"; merged from MOODLE_16_STABLE 2006-05-23 18:38:24 +00:00
skodak
4bb6c2563b fixed broken SQL that was throwing errors in backup; merged from MOODLE_16_STABLE 2006-05-23 18:15:52 +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
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
toyomoyo
0376cc2fab merged 2006-05-16 08:22:42 +00:00
toyomoyo
82326fc1d3 merged fix for 5513 2006-05-16 07:58:47 +00:00
toyomoyo
a1e3e9894b merged fix for 5465 2006-05-15 02:03:03 +00:00
toyomoyo
9023bc7f71 merged fix for 5428 2006-05-05 05:15:18 +00:00
vyshane
cf29432dcd Fixing inserts for log_display table. 2006-04-24 08:09:00 +00:00
skodak
d2b23346c9 block editing now uses PARAM_BOOL 2006-04-23 20:58:06 +00:00