Commit Graph

102 Commits

Author SHA1 Message Date
Dan Poltawski bdad6c4a99 MDL-57697 mod_survey: clean up data passing to js
Get rid of the ugly huge array passed to JS as it went over our debug
limit.

(It's a cleaner solution and we get rid of one globals hack.. I just was
avoiding doing to many changes in the original patch, because this whole
interface is not very usable and needs rethinking)
2017-02-15 09:51:16 +00:00
Dan Poltawski 3f037586ae MDL-57697 survery: migrate validation script from yui2
Just a modernisation of the existing yui2 code to AMD/jQuery and away from alert();
2017-02-08 11:22:11 +00:00
Damyon Wiese 64a5bc94e9 MDL-56846 mod_survey: Fix styles in boost
Add bootstrap classes to form fields and remove random centered text.
2016-11-09 10:02:26 +08:00
Juan Leyva f772b5159c MDL-51629 mod_survey: New WS mod_survey_get_questions 2015-10-15 16:17:22 +02:00
Juan Leyva 75516809d2 MDL-51629 mod_survey: New Web Service mod_survey_view_survey 2015-10-15 16:05:05 +02:00
Andrew Davis 64d45dafa1 MDL-48942 mod_survey: fixed coding style problems in mod/survey/view.php 2015-01-26 15:27:24 +01:00
Andrew Davis 9767d69680 MDL-48942 mod_survey: synced security checks in view.php and graph.php 2015-01-26 14:56:27 +01:00
Damyon Wiese 03b8d9e3c3 Merge branch 'wip-mdl-40919' of https://github.com/rajeshtaneja/moodle 2014-02-25 12:44:35 +08:00
Rajesh Taneja 9e176aa2f5 MDL-40919 mod_survey: replaced add_to_log with events 2014-02-24 15:00:00 +08:00
Sam Hemelryk da9bddbeeb MDL-44182 mod_survey: unified @package use 2014-02-21 08:33:36 +13:00
Rossiani Wijaya 8c6ca6961a MDL-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08:00
Rossiani Wijaya 5def24cf32 MDL-40736 Survey: improve heading levels and styling 2013-09-09 09:50:42 +08:00
Petr Škoda 2de3515fcc MDL-34741 use 2in3 in mod_survey 2012-08-11 20:40:11 +02:00
Ankit Agarwal 1c9691160b MDL-34468 survey: Replace all instances of get_context_instance() with respective context_XXXX class in mod/survey 2012-07-24 17:07:57 +08:00
Rossiani Wijaya 32cfd597fb fixed the ->spacer <br> param 2012-06-26 18:08:46 +08:00
Mark Nielsen 487ee886ec fixed undefined variable 2012-06-26 17:56:11 +08:00
Petr Skoda cdbea7eed1 MDL-31607 use full course object for require_login() if already available
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
sam marshall 05b7cd7ae9 MDL-27491 Add 'complete on view' support to wiki, survey 2011-08-10 10:56:14 +01:00
Petr Skoda 25e0783d6c whitespace 2010-09-18 13:58:05 +00:00
Petr Skoda 0a9d1b3b13 highlighting sloppy globals hacks 2010-09-18 13:55:56 +00:00
Rossiani Wijaya 5617e8c959 MDL-20447 - bulk upload: add heading to the page 2010-05-28 07:45:26 +00:00
Rossiani Wijaya 6438c34f36 MDL-20487 - improve accessibility issue for survey page layout and string. 2010-04-23 05:58:43 +00:00
Petr Skoda 4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
David Mudrak 16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda 1ba862ec6e MDL-21198 going back to the original spacer syntax, image component improvements, plus some regression fixes 2009-12-27 23:31:46 +00:00
Sam Hemelryk 92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +00:00
Petr Skoda c2dcbfe3a6 MDL-20901 fixed input validation 2009-11-20 08:33:33 +00:00
Petr Skoda e5dd8e3bbd MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:24:58 +00:00
samhemelryk 5956e2ef3b mod-scorm MDL-19816 Added set_url calls, replaced deprecated functions 2009-09-24 08:36:06 +00:00
samhemelryk a5cb6242ae mod-survey MDL-20262 Upgraded survey module in the following ways
* Upgraded legacy code to use PAGE and OUTPUT methods
 * Added integration with the new navigation blocks
 * Fixed up several bugs within the download script
2009-09-17 04:11:46 +00:00
samhemelryk 207e24b829 mod-survey MDL-19816 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents 2009-09-08 02:02:03 +00:00
nicolasconnault 02f78a2688 MDL-19816 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:46:16 +00:00
nicolasconnault 8b1b03820f MDL-19816 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:17:04 +00:00
nicolasconnault 8411d0aa04 MDL-19816 Converted print_box* to $OUTPUT->box* 2009-08-10 05:00:53 +00:00
nicolasconnault 641f16bafc MDL-19816 Converted all print_footer() calls 2009-08-06 14:21:09 +00:00
nicolasconnault 8d849394c8 MDL-19816 Migrated calls to print_heading 2009-08-06 08:22:15 +00:00
nicolasconnault 2cfba1a846 MDL-19816 Migrated calls to print_spacer() 2009-08-06 02:23:56 +00:00
samhemelryk 74ef4c2e5a mod-survey MDL-16706 Removed inline script in survey and added survey.js 2009-06-25 03:46:59 +00:00
tjhunt ad52c04f4c moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
skodak ac3668bfae MDL-18910 full support for module intro editor with embedded images 2009-04-22 05:10:08 +00:00
skodak 9f0e60e188 MDL-18910 normalised module intro and introformat 2009-04-20 20:08:28 +00:00
dongsheng 83b10e578e "MDL-14129, fix print_error" 2008-06-15 09:14:55 +00:00
skodak deb3a60dc3 MDL-15116 survery dml conversion 2008-06-08 14:43:39 +00:00
skodak 44e1b7d7ff MDL-14679 remoed all instances of get_records_list() 2008-06-01 15:42:48 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
tjhunt bfbef967bc Fix notice. Meged from MOODLE_19_STABLE. 2007-10-17 14:36:03 +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
mattc-catalyst 07aa205712 MDL-10888: groupings - mod/survey - updated to use groupings 2007-08-28 00:12:01 +00:00