Commit Graph

92 Commits

Author SHA1 Message Date
skodak 4aeccc8bf8 MDL-14458 - optgroups Fields and Other in search menu; removed unused search code, html labels, added option to sort by time modified 2008-04-21 14:15:30 +00:00
skodak 12999c3311 MDL-13025 added data intro text formatting without cleaning - manage activity cap already marked with XSS risk 2008-04-21 13:25:04 +00:00
skodak 91cf92265e MDL-14018 fixed ##more## icon regression, thanks Robert Allerstorfer for all the testing! 2008-04-19 21:00:26 +00:00
skodak 8713ac5fd3 MDL-14424 - approval icon is bigger again, it is possible to sort by Approved status now 2008-04-19 20:46:56 +00:00
skodak 6ba41390ef MDL-12089 several search related problems fixed in data module 2008-04-19 15:31:16 +00:00
dongsheng 2004936d44 MDL-11511, revert changes, see tracker 2008-04-17 07:51:39 +00:00
dongsheng d77d361e3d MDL-11511, two new caps are introduced, see tracker 2008-04-17 05:39:47 +00:00
skodak 35ef2c8919 MDL-9907 searching ilike pg compatibility fix 2008-04-16 18:56:31 +00:00
skodak afece01121 MDL-14018 fixed searching when date order selected 2008-04-16 15:08:33 +00:00
skodak 38d6fc273a MDL-14018 fixed searching when date order selected 2008-04-16 15:07:12 +00:00
skodak ae65fba742 MDL-14389 fixed adv search flag storage 2008-04-16 14:08:34 +00:00
skodak 33096a7bb9 MDL-9907 searching/sorting by author name fixed when paging, MDL-14389 more transition fixes 2008-04-16 13:52:32 +00:00
skodak 05cdffa828 MDL-9907 searching/sorting by author name fixed when paging, MDL-14389 more transition fixes 2008-04-16 13:52:32 +00:00
skodak 49a60852e8 MDL-14389 fixed transition from advanced to simple view if multiple fields used 2008-04-16 13:31:00 +00:00
skodak 14e404f960 MDL-9758 backported timeadded and timemodified + improved lang strings 2008-04-16 12:03:28 +00:00
skodak 24ca59f03e MDL-9907 searching/sorting by author name 2008-04-16 11:44:52 +00:00
nicolasconnault dddf8e46ef MDL-13397 Fixed the language string. Merging from HEAD 2008-03-31 06:16:09 +00:00
nicolasconnault 311ea49f58 MDL-13397 Implemented the requiredentries parameter (previously not implemented). This includes a warning message and an SQL restriction on entries fetched for view.php 2008-02-12 15:55:34 +00:00
nicolasconnault 111c351849 MDL-13397 Implemented the requiredentries parameter (previously not implemented). This includes a warning message and an SQL restriction on entries fetched for view.php 2008-02-12 15:06:52 +00:00
nicolasconnault aebdc0bdb3 MDL-13440 fixed typo 2008-02-12 13:45:15 +00:00
poltawski 53938064c5 MDL-13255 - hidden activity capability check was wrong, but require_login()
handles it for us when passsed $cm
2008-01-30 20:57:37 +00:00
skodak d6756ebbbc MDL-12221 custom themes revisited - implemented container concept 2007-11-23 16:41:13 +00:00
tjhunt b34fc1be24 MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.

Backported from head. Will update merged tags in a few hours. I am late for orchestra. Sorry.
2007-10-12 16:09:37 +00:00
skodak 8e1ec6be58 MDL-11298 use textlib_get_instance() instead of new textlib() 2007-09-16 18:49:41 +00:00
Martin Langhoff 13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
mattc-catalyst 01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst 3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
urs_hunkler f145c2482d added/changed custom corners lib and calls to add the necessary divs 2007-05-09 15:03:01 +00:00
mattc-catalyst 70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
cataluke b99b25ea04 MDL-8569 - mod/data sorting by numerical field now works with PostgreSQL
Author: Luke Hudson <luke@catalyst.net.nz>
2007-04-18 02:11:09 +00:00
cataluke c8c765c0ab MDL-7856 - make database search case-insensitive for PostgreSQL too.
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz>
Committer: Luke Hudson <luke@catalyst.net.nz>
2007-04-17 05:41:31 +00:00
mattc-catalyst ad7767be7a Breadcrumbs: mod/data changes
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:05:21 +00:00
donal72 78e02af979 XHTML Strict fix: # MDL-8754 2007-03-05 05:04:02 +00:00
moodler 6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
toyomoyo 7900ecb02c MDL-5958, code for advanced search for db module from Elijah (HSU) 2007-02-26 06:56:05 +00:00
toyomoyo 2535bff9bd merged fix for MDL-5736, retained search string problem 2007-02-23 03:55:50 +00:00
moodler c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
skodak aab98aaff1 data mod whitespace cleanup - there are already many accessibility related changes and fixes that are not backportable anyway and merging from previous versions is not expected 2006-12-13 20:26:11 +00:00
skodak 76a2fd8251 xhtml and accessibility cleanup in data mod MDL-7813
* preference form fixes

do not search for one character in data mod MDL-7911
2006-12-13 09:38:46 +00:00
skodak a3318c36b8 MDL-7455 Database Activity Fatal Error after removing filed used for sorting 2006-12-11 09:17:05 +00:00
skodak 411f589fa7 MDL-6668 Database mod search error on Postgres; patch by Lorenzo Nicora 2006-12-10 19:25:46 +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