Commit Graph

43 Commits

Author SHA1 Message Date
Juan Leyva ac122465e0 MDL-57820 mod_feedback: Create function to get analysis for external api 2017-03-21 13:12:22 +01:00
Juan Leyva 5bbada53e3 MDL-58217 mod_feedback: API changes to allow generators
We include a new function set_date at item level so we can add the data
instead using the forms.
2017-03-10 10:51:32 +01:00
Simey Lameze 7cd65bcb76 MDL-55308 mod_feedback: Convert analysis chart to the new library
Part of MDL-54987 epic.
2016-07-25 10:43:31 +01:00
Marina Glancy c33c1ed59e MDL-53638 mod_feedback: analysis page enhancements 2016-04-27 13:28:45 +08:00
Marina Glancy c83c052230 MDL-53638 mod_feedback: change items classes
remove duplication by creating methods in the parent class
delete unused methods
add new method complete_form_element() that hooks into the moodleform
2016-04-27 13:28:44 +08:00
Marina Glancy 2aad1094b1 MDL-29303 mod_feedback: allow any characters in labels 2016-03-27 21:47:49 +08:00
Marina Glancy 42756192d7 MDL-53129 mod_feedback: forms cleanup and behat tests 2016-02-23 13:17:21 +08:00
Dan Marsden 9b4162fb1d MDL-31366 Feedback: decode htmlchars on output to excel 2014-07-11 13:28:16 +12:00
Michael Milette cba011942c MDL-42462 - Feedback - Fix for WCAG 2.0 issue with Informational and Error Content Displayed in red
1) The same code used in other Moodle forms is now used in Feedback to display the "There are required fields in this form marked (*/Required field)" message at the top of the screen and each of the asterisks next to required fields.

2) Feedback specific styles (missingrequire, feeback_required_mark), which were used to highlight required and error fields, have been eliminated. These colours are now controlled by the common Moodle styles (mform1, mform, fdescription, required, req and error) that are used throughout the rest of Moodle for a more uniform appearance.

3) Field level error reporting now displays a message instead of just highlighting the field in a similar way that other Moodle forms do.

Affected files:

- /mod/feedback/styles.css
- /mod/feedback/complete.php
- /mod/feedback/complete_guest.php
- /mod/feedback/edit.php
- /mod/feedback/print.php
- /mod/feedback/item/captcha/lib.php
- /mod/feedback/item/info/lib.php
- /mod/feedback/item/multichoice/lib.php
- /mod/feedback/item/multichoicerated/lib.php
- /mod/feedback/item/numeric/lib.php
- /mod/feedback/item/textarea/lib.php
- /mod/feedback/item/textfield/lib.php
- /mod/feedback/lang/en/feedback.php

Signed-off-by: Michael Milette <michael.milette@instruxmedia.com>
2014-04-03 09:25:37 -04:00
Andreas Grabs bb4191ff4d MDL-42210 mod_feedback - convert tabs to space 2013-10-20 10:22:56 +02:00
Michael Milette 690266bcf7 MDL-42210-Feedback-Input-Labels
Adds labels to the input fields in the Feedback module including: multichoice, multichoicerated, numeric, textarea and textfield.
2013-10-20 10:22:54 +02:00
Sam Hemelryk d2448b8bd2 Merge branch 'MDL-27675_master' of git://github.com/grabs/moodle 2012-06-21 11:25:07 +12:00
Andreas Grabs e7fc2ff42e MDL-27675 - Feedback module abuses data_submitted 2012-06-06 23:17:35 +02:00
Sam Hemelryk 378eb6f6a2 Revert "Merge branch 'MDL-27675_master_wip' of git://github.com/grabs/moodle"
This reverts commit a09a9be812, reversing
changes made to 08e0aaa173.
2012-05-30 16:34:11 +12:00
Sam Hemelryk 064cac7866 MDL-27675 mod_feedback: Tidy up of phpdocs and scope within feedback mod 2012-05-28 13:38:36 +12:00
Andreas Grabs 9a2c4dbd00 MDL-27675 - Feedback module abuses data_submitted 2012-05-28 00:40:04 +02:00
Petr Skoda 411fd747cf MDL-32735 fix multiple E_STRICT feedback issues 2012-05-06 12:02:54 +02:00
Andreas Grabs 9c5bc7a580 MDL-29804 - Clean up Feedback modules coding style 2011-10-28 00:30:42 +02:00
Aparup Banerjee b692e4aa29 Performance MDL-25637 moved static count/sizeof functions out of for loop conditions 2011-01-24 14:51:21 +08:00
Andreas Grabs b8baf0ad03 MDL-23275 - Feedback error also when update a question 2010-08-11 19:25:58 +00:00
Andreas Grabs 9e1aed5330 existing questions now can be saved as new question 2010-06-04 21:12:27 +00:00
Andreas Grabs 6cc1599e09 captcha now uses the recaptcha-plugin and
some code cleanups
2010-06-04 20:21:08 +00:00
Andreas Grabs 5e97c34df7 optimized the code of item_form. put the common calls into the parrent class "feedback_item_form_class.php" 2010-06-04 11:13:36 +00:00
Andreas Grabs 73043833e9 MDL-19489 - add conditional branching (my first try) 2010-05-16 20:05:51 +00:00
Andreas Grabs afdb192056 Start replacing tables with div-tags and css-classes 2010-04-30 23:02:30 +00:00
Andreas Grabs 45c2f92aa3 MDL-21227 - convert Feedback to new files api 2010-04-23 23:18:56 +00:00
Andreas Grabs 271fdd6212 MDL-21227 - convert Feedback to new files api 2010-04-23 22:58:44 +00:00
Andreas Grabs 9d5fbd6554 the function feedback_print_item() now is splitted into 3 functions
feedback_print_item_preview()
feedback_print_item_complete()
feedback_print_item_show_value()
Now there is more control over the output
2010-04-21 11:48:49 +00:00
Petr Skoda e372f4c7c1 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [thisdirection,core],[thisdirection,core_langconfig]
AMOS END
2010-04-10 18:26:20 +00:00
Andreas Grabs 51859310b3 no more modification of form outside the form class. All needed data are passed by the _customdata array 2010-04-08 19:32:43 +00:00
Andreas Grabs 01910dff66 changed line - defined('FEEDBACK_INCLUDE_TEST') ... to defined('MOODLE_INTERNAL')... 2010-03-28 10:00:24 +00:00
Andreas Grabs 51129b9922 MDL-21740 - excel-export should use the moodle-excel library 2010-02-28 22:19:30 +00:00
Petr Skoda 1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
samhemelryk ab5bd34d18 mod-feedback MDL-20254 Upgrade feedback module to make use of new navigation blocks
At the same time I also took the oppertunity to fix up the bugs within the feedback module that were making it un-usable
2009-09-11 02:04:38 +00:00
nicolasconnault 9fad7b201e MDL-19807 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:14:12 +00:00
nicolasconnault d4b1d58ca3 MDL-19807 Converted print_box* to $OUTPUT->box* 2009-08-10 04:59:26 +00:00
agrabs b7a479588a MDL-17721 - feedback items now have a label which is printed on analysing and excel
export
2009-03-13 14:35:25 +00:00
agrabs d558080856 MDL-15202
-
 The item textarea print out a notice while the excelexport if there are no values
2008-06-10 13:04:34 +00:00
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak 0085fff8b2 MDL-15107 feedback dml conversion 2008-06-07 22:22:06 +00:00
agrabs efc5916754 fixed issue MDL-14531
added an option to switch autonumbering on or off
2008-04-30 22:17:04 +00:00
agrabs 6ee09cfe8b merge the items dropdown, radio and check to multiplechoice item
merge the items dropdownrated, radiorated to multiplechoicerated item
the creating or editing of an item now use the formslib
2008-04-28 09:58:09 +00:00
moodler c70ad9f736 MDL-14493 First checkin of Feedback module into HEAD.
I made a number of small tidy-ups to the contrib version before adding this here:

  - fixed some language string names
  - renamed a capability from deletecompleteds to deletesubmissions (can we use "submissions" everywhere?)
  - got rid of language packs (moved english to correct location)
  - deleted 'pics' type (it needs to be rewritten to use user files in moodledata)
  - moved changelog into README.txt
  - moved captcha font out of subdir
  - bumped version to today

Thanks very much to Andreas Grabs for all your work on this module so far, and congratulations!   :-)
2008-04-23 09:33:54 +00:00