Commit Graph

52 Commits

Author SHA1 Message Date
skodak 683b038d09 MDL-6668 Database mod search error on Postgres; patch by Lorenzo Nicora; backported from HEAD 2006-12-10 19:28:17 +00:00
martinlanghoff ea9a729f80 mod/lesson, mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters 2006-09-26 05:11:29 +00:00
vyshane 20821a1266 Added new capabilities, renamed mod/data:readentry to mod/data:viewentry to make capability name more consistent with the rest of moodle. 2006-09-18 13:46:09 +00:00
tomflannaghan b010085239 Javascript added 2006-08-17 09:27:51 +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
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 d2b23346c9 block editing now uses PARAM_BOOL 2006-04-23 20:58:06 +00:00
moodler 9e08cf6ed1 DOn't show intro on first page of single view 2006-04-15 06:02:21 +00:00
moodler 3f9672d37c FIxes for bug 5197 2006-04-15 02:41:27 +00:00
moodler f852d652cf FIx for bug 5188 - seach with no results -> dead end 2006-04-13 10:41:12 +00:00
moodler 499ed21564 FIxed a typo 2006-04-13 08:49:31 +00:00
moodler de89899b1d Was trying Eloy's suggestion here http://moodle.org/mod/forum/discuss.php?d=43041
but wasn't working for some reason ... checking in as commented to work on later.
The lkudge seems to be working pretty well for now.
2006-04-13 01:34:26 +00:00
vyshane 56253c2d66 Fixing bug (Postgres related):
ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
2006-04-10 05:59:48 +00:00
moodler 3dec563cec Fix for bug 5132, search now no longer prevents display of
arbitrary single records
2006-04-08 16:33:16 +00:00
moodler 236d839ff1 Fixed some pretty major HTML errors :-) bug 5089 2006-04-05 08:19:09 +00:00
moodler 64452eb438 Various fixes that have accumulated 2006-04-05 01:38:06 +00:00
moodler 1d8a829a54 Better pages for hidden activities 2006-03-30 04:46:12 +00:00
moodler 3d1c33ef01 Some better security when database is hidden 2006-03-30 04:37:16 +00:00
moodler 68635e6f6d Support for a new CSS template, allowing you to use CSS in the other templates 2006-03-29 18:29:16 +00:00
moodler 52373fe74d Fixes for comments 2006-03-29 17:36:20 +00:00
moodler 3d45b8e557 Bunch of fixes including:
- separate browse / detail tabs
   - cleaner logic
   - proper sorting in all scenrios
   - settings stored in the sessions
   - better cleaner URLs
2006-03-29 08:49:28 +00:00
moodler 4431d2e036 Fixed no- display when not logged in (bug 4990) 2006-03-27 09:50:23 +00:00
ikawhero e0279f63d7 Added default sort 2006-03-27 08:42:25 +00:00
vyshane 7ddda9dbcf Fixed Bug #4985 - Guest rights to the database module. 2006-03-27 04:13:32 +00:00
vyshane 4d423a0b00 Removed the unneeded ORDER BY clauses for the queries that are COUNTing.
Fix for Bug #4979 - Errror in Browse Page.
2006-03-27 03:43:27 +00:00
moodler dbdfc3dbab Little tidyings, I should be in bed watching Scrubs! 2006-03-26 16:19:57 +00:00
moodler 33819735aa More tidying up 2006-03-26 05:36:34 +00:00
moodler 75c42c876f Properly fixed page flow for approvals and deletions 2006-03-26 05:22:16 +00:00
moodler 473dd2888b Various little fixes. 2006-03-26 05:03:10 +00:00
moodler 5bac6d10e3 Renamed fields.php to field.php 2006-03-24 02:44:05 +00:00
moodler 2b1d7c8e82 Fixed some typos 2006-03-23 05:38:53 +00:00
moodler f0497d6ff0 Various cleanups 2006-03-22 14:31:32 +00:00
moodler ed69c72326 Fixes 2006-03-22 08:32:54 +00:00
moodler 0997e51afe Lots and lots and lots of cleanup for the data module code, mostly
to do with how the field classes worked.  Now it should be even easier
for developers.

No changes for users.  :-P

The changes are not well tested yet!
2006-03-22 08:07:26 +00:00
moodler 3515ae35e2 Just spacings 2006-03-10 09:08:59 +00:00
vyshane 0a09100ff7 Update logging support. Bumped module version up. 2006-03-07 08:10:40 +00:00
vyshane 1cfc979a73 Added argument $meta to pagelib::print_header (data module) 2006-03-03 08:30:36 +00:00
vyshane c853304e52 Added support for printing <link rel="alternate" type="application/rss+xml"...
/> tag in header. Only happens if appropriate. E.g. RSS turned on etc.
2006-03-03 08:06:50 +00:00
vyshane af25f45e1a Cleaning up xhtml markup. Code now validates for xhtml 1.0 transitional. 2006-02-20 02:15:45 +00:00
vyshane a593aeee92 Added RSS support for data module. 2006-02-13 07:57:54 +00:00
toyomoyo 5d9a7c352e group 0 records are visible to all now 2006-02-06 06:30:18 +00:00
toyomoyo 27b00cd39b no page in groups, thanks 2006-02-06 06:19:00 +00:00
toyomoyo f4e101bd08 adding group support 2006-02-06 06:13:34 +00:00
moodler 6e0119dd30 Various small XHTML fixes, language fixes 2006-02-06 05:24:02 +00:00
moodler 56135f6b4c Show the intro at the top of the page 2006-02-06 04:17:30 +00:00
moodler 1291b2d54f Fixed some SQL errors on searching and sorting 2006-02-03 10:53:00 +00:00
moodler cf3e199bce changes in search, sort etc 2006-02-03 08:11:36 +00:00
vyshane 5f5bcda8b4 Added richtext support for textarea, plus relevant help buttons. Made fields
use column content1, content 2, etc. instead of packing everything into
content.
2006-01-31 03:58:42 +00:00