323 Commits

Author SHA1 Message Date
skodak
1f106b3f1d MDL-13155 once more - reverting mod/xx/index.php to use get_all_instances_in_courses() again, should be now nearly the same as in 1.8.x ;-) merged from MOODLE_19_STABLE 2008-02-05 21:40:21 +00:00
danmarsden
9d265d3747 MDL-6373 add MyMoodle support for Choice module. - thanks to Stephen Bourget for partial code. 2008-02-04 22:13:01 +00:00
skodak
76cbde4138 MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE 2008-02-01 14:10:49 +00:00
skodak
52ae8c057a MDL-12945 fixing mod indexes broken by previous commit; merged from MOODLE_19_STABLE 2008-02-01 09:09:04 +00:00
moodler
2760f205c9 Merged $current notice from 1.9 2008-01-25 06:31:15 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
danmarsden
3c56a7cc93 fix for MDL-7128 - hide save button when options are all full. and tidy up of old is_guest call 2008-01-18 00:32:31 +00:00
danmarsden
06d5e7f08b MDL-12331 prevent hidden role assignments from being shown in the unanswered column of the choice, but still allow them to be shown if they have selected a choice. 2008-01-17 23:02:57 +00:00
danmarsden
ba85f6cebc MDL-12890 - patch that allows doanything users to submit a choice, but not shown in the unanswered column. 2008-01-16 18:50:20 +00:00
poltawski
5c88048813 MDL-12890 - differing values for number of choice responses link to what is
displayed
merged from MOODLE_19_STABLE
2008-01-10 14:08:19 +00:00
tjhunt
89d7d96279 MDL-12546 - The choice module was calling get_users_by_capability, which hammers the database and returns lots of data, inside a loop over users - and it was calling it with identical parameters each time. Ouch!
Actually, since the fix for MDL-12331, which changed the get_users_by_capability call at the top of this function, the check it was doing is entirely redundant anyway, so I removed it.

Merged from MOODLE_19_STABLE.
2007-12-11 18:49:56 +00:00
skodak
0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
toyomoyo
fb656c9f40 MDL-12331, hidden teacher should not be displayed in choice results 2007-11-26 06:01:26 +00:00
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
poltawski
08aeb4aa2e MDL-12070 - PARAM_CLEANHTML strips magic quotes.. 2007-11-08 22:19:47 +00:00
poltawski
39504b69f9 MDL-12070 - re-enable the use of HTML in choice options
Merged from MOODLE_18_STABLE
2007-11-08 18:32:09 +00:00
poltawski
b18921676e MDL-11124 - Allowed 'There are no [modulename]' translations. This is currently
hardcoded and can be discovered through the user interface resonably easily.

Merged from MOODLE_19_STABLE
2007-10-29 10:44:50 +00:00
danmarsden
770778a502 missed one line.
Fix for MDL-10085  and MDL-8118 Problem with number of Responses in choice wrong, and displayed users incorrect on results.
2007-10-29 00:21:53 +00:00
danmarsden
97b294f8c4 Fix for MDL-10085 and MDL-8118 Problem with number of Responses in choice wrong, and displayed users incorrect on results. 2007-10-28 23:25:54 +00:00
danmarsden
41daad7675 MDL-11397 bug with IE 6 not displaying anonymous results correctly.
- also fix for XHTML Strict.
2007-10-24 21:27:26 +00:00
danmarsden
19e559e4bc Fix for MDL-9666 totals don't appear when full names are shown. 2007-10-22 21:49:58 +00:00
danmarsden
8c74e3f676 fix for MDL-11063 - thanks to Wen for the patch. 2007-10-22 21:25:06 +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
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
iarenaza
0baafc173a Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
mattc-catalyst
6d5b7706da MDL-10888: groupings - mod/choice - updated to support groupings 2007-08-27 21:52:35 +00:00
skodak
3a233b85c5 MDL-10947 https was replaced with httpss when wwwroot already is https credit goes to Tobias Marx 2007-08-22 19:36:24 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
moodler
2b85d965a5 Merged 1.8 fix for groups in choice activity 2007-08-09 06:27:22 +00:00
skodak
602433133e MDL-10105 idnumber uniqueness tested before insert in UI now - both modedit and item edit pages 2007-08-02 10:38:18 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +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
skodak
23a7718bd1 MDL-9696 used absolute path include in mod_forms 2007-06-10 23:20:45 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
danmarsden
243ac1feb4 MDL-8394 Allow students to remove their choice when they are allowed to update their choice. 2007-05-03 00:04:53 +00:00
skodak
aa4836f438 MDL-9568 Choice does not count correct; merged from MOODLE_18_STABLE 2007-04-24 20:09: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
mattc-catalyst
161fbddf13 Breadcrumbs: mod/choice changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:02:24 +00:00
danmarsden
c12b1f67c0 Merging changes from 1.8 -
Fix for MDL-8862 - order of options in choice not logical - shift option for limiting options to aboe where limits are set.
2007-03-15 00:17:22 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
jamiesensei
3a298174e8 important security fix previous use of ['type'] in repeatedeloptions array would not have worked. 2007-01-21 10:32:42 +00:00
jamiesensei
a7f7e52fc5 changed name of moodleform_mod method 'defaults_preprocessing' to 'data_preprocessing' in line with change of set_defaults name to set_data. 2007-01-16 15:36:33 +00:00
skodak
26de8d35ce fixed text field widths in new forms 2007-01-11 19:47:08 +00:00
moodler
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
toyomoyo
95aa949b72 MDL-7861, xhtml strict fixes for choice 2007-01-09 03:14:34 +00:00
toyomoyo
d71bc1ab61 MDL-7861, fixing xhtml strict problems 2007-01-09 01:38:24 +00:00