97 Commits

Author SHA1 Message Date
sam_marshall
18a2a0cb3a MDL-15498: Completion: added support for basic completion-on-view and on grade (where applicable) to assignment, choice, data, glossary, lesson, and resource. 2008-07-29 17:22:47 +00:00
moodler
4ea69f88f3 MDL-15702 SQL efficiency fix Merged from 1.9 2008-07-18 07:52:36 +00:00
dongsheng
29c1bb159a "MDL-14129, fix print_error" 2008-06-25 14:52:39 +00:00
skodak
245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak
e348793639 MDL-15106 towards data mod dml conversion 2008-06-06 08:39:44 +00:00
skodak
3223bc9e9b MDL-15106 towards data mod dml conversion 2008-06-06 07:36:17 +00:00
skodak
3239b0104e MDL-14458 - optgroups Fields and Other in search menu; removed unused search code, html labels, added option to sort by time modified; merged from MOODLE_19_STABLE 2008-04-21 14:17:02 +00:00
skodak
ea6073bb48 MDL-13025 added data intro text formatting without cleaning - manage activity cap already marked with XSS risk; merged from MOODLE_19_STABLE 2008-04-21 13:26:08 +00:00
skodak
029cf8469b MDL-14018 fixed ##more## icon regression, thanks Robert Allerstorfer for all the testing!; merged from MOODLE_19_STABLE 2008-04-19 21:02:10 +00:00
skodak
bb5740f4c8 MDL-14424 - approval icon is bigger again, it is possible to sort by Approved status now; merged from MOODLE_19_STABLE 2008-04-19 20:48:48 +00:00
skodak
eeeb4f2ad9 MDL-12089 several search related problems fixed in data module; merged from MOODLE_19_STABLE 2008-04-19 15:33:06 +00:00
dongsheng
046dd7dcf6 MDL-11511, revert the changes, see tracker 2008-04-17 08:11:23 +00:00
dongsheng
f752e2fd72 MDL-11511, two new caps are introduced, see tracker, merged from MOODLE_19_STABLE 2008-04-17 05:42:13 +00:00
skodak
026d562efc MDL-9907 searching ilike pg compatibility fix; merged from MOODLE_19_STABLE 2008-04-16 18:57:15 +00:00
skodak
6a5357f492 MDL-14018 fixed searching when date order selected; merged from MODOLE_19_STABLE 2008-04-16 15:09:21 +00:00
skodak
fb9d1e0942 MDL-14018 fixed searching when date order selected; merged from MODOLE_19_STABLE 2008-04-16 15:08:03 +00:00
skodak
832123e166 MDL-14389 fixed adv search flag storage; merged from MOODLE_19_STABLE 2008-04-16 14:09:15 +00:00
skodak
de8ff5813d MDL-9907 searching/sorting by author name fixed when paging, MDL-14389 more transition fixes; merged from MOODLE_19_STABLE 2008-04-16 13:54:01 +00:00
skodak
69c0a60994 MDL-14389 fixed transition from advanced to simple view if multiple fields used; merged from MOODLE_19_STABLE 2008-04-16 13:32:14 +00:00
skodak
714bec7418 MDL-9907 searching/sorting by author name; merged from MOODLE_19_STABLE 2008-04-16 11:51:50 +00:00
dongsheng
c95034f28c MDL-9758, add 2 new tags, see tracker. 2008-04-11 02:34:11 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault
013a8774a0 MDL-13397 Fixed the language string. 2008-03-31 06:15:51 +00:00
nicolasconnault
87518137bf MDL-13397 Implemented the requiredentries parameter (previously not implemented). This includes a warning message and an SQL restriction on entries fetched for view.php; merging from MOODLE_19_STABLE 2008-02-12 16:04:57 +00:00
nicolasconnault
450a87c566 MDL-13440 fixed typo; merging from 1.9 2008-02-12 13:46:57 +00:00
poltawski
ae082716c7 MDL-13255 - hidden activity capability check was wrong, but require_login()
handles it for us when passsed $cm
2008-01-30 20:58:55 +00:00
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
tjhunt
38e179a4ed 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.
2007-10-12 15:55:49 +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