667 Commits

Author SHA1 Message Date
Dan Poltawski
378b3eac83 MDL-36316 useragent: Reduce user agent sniffing
* core_useragent: Introduce is_vendor methods to improve readability
  when we are just detecting if a browser is from a vendor, rather than
  the exact version

* Remove uncessary browser version checks when we are just detecting
  vendors - this makes the intention of our sniffing clearer.

* Remove sniffing for browsers which we do not support, grades/ajax/tinymce
  all support modern browsers so there is no need to sniff for them.
2013-09-13 14:25:37 +08:00
Mary Evans
4e2b37db07 MDL-40347 grade/report/grader: cleaned up grade/report/grader/styles.css. 2013-09-08 23:17:29 +10:00
Mary Evans
edb7d5ad84 MDL-40347 grade/report/grader: Fixes: Grade report does not highlight some cells properly.
Squashed commit of the following:

commit 2c2164a7e27bd2b81102251420892386e39edecc
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Tue Aug 20 12:59:47 2013 +0100

    MDL-40347 theme: Modified upgrade.txt and created bootstrapbase/upgrade.txt.

commit 4449975a0f9249785ed152f63786bf7974c1776e
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Tue Aug 13 18:42:20 2013 +0100

    MDL-40347 grade/report/grader: added RTL css previously in bootstrapbase/less/moodle/grade.less to styles.css

commit b0af8f05a411b3dbb1d9c162a0d65c7f9c069c0f
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Tue Aug 13 12:42:02 2013 +0100

    MDL-40347_M26 grade/report/grader: cleaned up grade/report/grader/styles.css.

commit 52627137dc662d47cbfdf023d056baf102f29d8a
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Sat Jul 6 17:15:12 2013 +0100

    MDL-40347 grade/report/grader: Grade report does not highlight some cells properly.

    Merged/squashed original commit by Marina Glancy who:
    - added class 'i123' to each cell in the column
    - changed JS to highlight the cells with this class instead that cells with the column number
    - changed grade report css so the .vmarked and .hmarked classes have higher priority for all rows
    - made cells in 'average range' row td instead of th
    - little corrections to css: removed background image for some cells with .header css class
    - MyMobile theme disabled cells highlighting, make sure it disables it in all cases

    Merged/squashed original commit Mary Evans who:
    - removed theme/bootstrapbase/less/moodle/grade.less
    - removed @import "moodle/grade"; from bootstrapbase/less/moodle.less
    - removed reference to plugins_exclude_sheets for grader in both bootstrapbase/config.php and clean themes/config.php
    - commented out .hidden from bootstrapbase/less/bootstrap/responsive_utilities.less
    - made minor changes to grader/style.css
2013-09-08 23:16:47 +10:00
Sam Hemelryk
c3d2fbf9cd MDL-40931 useragent: separated user agent functionality into a lib
This commit moves user agent related functionality out of several
core libraries and combines it into a more manageable class.
All core uses are converted and functions deprecated in favor
of the new class.
2013-08-26 13:59:19 +12:00
Damyon Wiese
9ead041cdb Revert "MDL-40931 useragent: separated user agent functionality into a lib"
This reverts commit af62237d0e6e27df868d50848f7098f57c103f86.
This reverts commit 87a4194fdcd322d4aee5a6207b55a8da0864da94.
This reverts commit b2c66eb60c01805f26cc791966f05be52af7b406.

Conflicts:

	version.php
2013-08-22 13:31:25 +08:00
Sam Hemelryk
af62237d0e MDL-40931 useragent: separated user agent functionality into a lib
This commit moves user agent related functionality out of several
core libraries and combines it into a more manageable class.
All core uses are converted and functions deprecated in favor
of the new class.
2013-08-16 09:02:01 +12:00
Eloy Lafuente (stronk7)
252e545e9f Merge branch 'MDL-40626-master' of git://github.com/danpoltawski/moodle 2013-07-22 17:40:03 +02:00
Mark Nelson
4e829d48d1 MDL-40468 libraries: removed usages of get_related_contexts_string() in core
Also tidied up the functions by removing unused parameters.
2013-07-19 15:17:50 +08:00
Tim Lock
986c833743 MDL-40626 gradebook: Prevent incorrect override with multiline feedback
The quick grading option doesn't allow mutliline editing.
2013-07-19 12:00:24 +08:00
Mark Nelson
dd33f4af0a MDL-40462 libraries: deprecated get_course_context() 2013-07-11 13:28:45 +08:00
Adrian Greeve
12b4487ef3 MDL-31776 - lib: Alternate name fields - update of gradebook sql query. 2013-07-10 17:41:06 +08:00
Damyon Wiese
ef5fd5bf40 Merge branch 'wip-mdl-40400' of git://github.com/rajeshtaneja/moodle 2013-07-09 16:05:02 +08:00
Rajesh Taneja
33564ffb42 MDL-40400 Gradebook: get_toggles_html and print_toggle cannot be used anymore 2013-07-03 17:06:59 +08:00
Marina Glancy
834f4ea69d MDL-39741 Use CSS class dimmed_text instead of hidden in grader report 2013-06-27 12:37:34 +10:00
Andrew Davis
afd2efc0e8 MDL-36090 core_grade: added logging of overriding of student grades 2013-06-05 08:51:53 +08:00
Eloy Lafuente (stronk7)
cedb0aab5a MDL-39434 Bump all versions near 2.5 release 2013-05-01 18:03:29 +02:00
Rajesh Taneja
38c1dd194d MDL-31969 grades: Added user preference to show/hide/export suspended users.
User with course:viewsuspendedusers capability can now show/hide/export
enrolled users whose enrolment is suspended or enrolment time is expired.
2013-04-09 14:01:58 +08:00
Frederic Massart
a4faf4f416 MDL-38416 grade: Grader report settings expands section by default 2013-03-12 15:19:44 +08:00
Andrew Davis
ec7298a10f MDL-38149 core_grade: added a guard for when there are no old grades 2013-03-03 11:08:37 +08:00
Dan Poltawski
8450149249 Merge branch 'MDL-34800_ajax_submit' of git://github.com/andyjdavis/moodle 2013-02-18 11:07:28 +08:00
Andrew Davis
01da2d3665 MDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit tests 2013-02-11 08:49:43 +08:00
Andrew Davis
60daf98c96 MDL-34800 core_grade:switched from hiding the submit button to disabling it if ajax is enabled 2013-02-08 10:15:17 +08:00
Dan Poltawski
efd779c2c6 Revert "MDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit tests"
This reverts commit 88df34abeddb5819e82e588b3b909c0de813d6b4.
2013-02-04 15:12:30 +08:00
Andrew Davis
88df34abed MDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit tests 2013-02-01 08:31:00 +08:00
Andrew Davis
245d1d28c2 MDL-37352 core_grade:fixed some ajax display issues 2013-01-21 12:27:44 +08:00
Paul Nicholls
30793ea3bd MDL-35074: grader report - Ease limit on number of students per page
The limit imposed by max_input_vars "applies only to each nesting level of
a multi-dimensional input array"
(http://www.php.net/manual/en/info.configuration.php#ini.max-input-vars).

Turning the grader report fields into arrays (they were all top-level form
fields, i.e. elements of the top-level array) makes the number of students
become the only limiting factor, thereby allowing us to relax the limit on
number of students per page greatly (to 1 less than max_input_vars, for
safety).
2013-01-08 13:44:02 +13:00
Sam Hemelryk
ac546d63a3 MDL-36812 grader_report: Fixed whitespace on integration 2012-12-18 09:47:37 +13:00
Sam Hemelryk
a202ead124 Merge branch 'WIP-MDL-36812-master' of git://github.com/nadavkav/moodle 2012-12-18 09:46:35 +13:00
Mary Evans
e907c68530 MDL-34592 theme_magazine: Fixes the report grader fixed column misalignment in magazine/style/core.css theme, plus fixes all CORE themes with minor adjustment to grade/report/grader/style.css 2012-12-09 22:23:42 +00:00
Eloy Lafuente (stronk7)
663dbbc2e6 MDL-36933 Bump everything to 2012112900
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Nadav Kavalerchik
2bfdd57619 MDL-36812 - Enabling grade_report_fixedstudents, shows the user's list on the left side of the page, in RTL mode (theme/standard) 2012-11-24 23:12:45 +02:00
Frederic Massart
0cddd85151 MDL-36559 usability: Gradebook CSS styling for new icons 2012-11-21 17:29:14 +08:00
Frederic Massart
4cf69ee328 MDL-36559 core_grade: Deprecating unused functions print_toggle and get_toggles_html 2012-11-21 17:29:14 +08:00
Tim Hunt
1e88baa071 MDL-34204 grader report: static call to non-static method. 2012-11-15 13:42:32 +00:00
Dan Poltawski
8120a4fa72 Merge branch 'wip-mdl-34777' of git://github.com/rajeshtaneja/moodle 2012-10-31 09:59:44 +08:00
Dan Poltawski
69c9669a58 Merge branch 'MDL-34363' of git://github.com/merrill-oakland/moodle 2012-10-29 15:21:39 +08:00
David Monllao
19db454f36 MDL-30901 gradereport_grader Removing screenreader usage and adding aria elements to grader cells 2012-09-21 09:22:22 +08:00
Rajesh Taneja
7400be1b6e MDL-34777 Accessibility: Add labels to input elements in gradebook 2012-09-20 11:28:55 +08:00
Rossiani Wijaya
b1fec412e3 MDL-34777 grading: add label to select and input tag
Conflicts:

	mod/assign/lang/en/assign.php
	mod/assign/locallib.php
2012-09-18 13:18:57 +08:00
Eric Merrill
59d410ebb4 MDL-34363 gradebook Adding check to prevent incorrect override when a blank feedback is submitted. 2012-08-21 00:24:55 -04:00
Rossiani Wijaya
29bea63484 MDL-34559 accessibility compliance for grade: Add forform input text and select tag 2012-08-03 11:53:49 +08:00
Dan Poltawski
4ea5885e87 Merge branch 'wip-MDL-34463-master' of git://github.com/abgreeve/moodle 2012-07-24 16:16:45 +08:00
Adrian Greeve
d40604724b MDL-34463 - lib - Alteration of the get_context_instance function to utilize the new function context_XXXX::instance(). 2012-07-24 14:04:40 +08:00
Rajesh Taneja
071e68f93e MDL-32945 libraries: Replaced deprecated PARAM_MULTILANG with PARAM_TEXT 2012-07-19 15:44:40 +08:00
Dan Poltawski
d3faa829cd Merge branch 'MDL-33757-master' of git://github.com/ankitagarwal/moodle 2012-07-03 09:45:12 +08:00
ISHIKAWA Takayuki
69101b4392 MDL-33757 gradebook: Adding support to sort userlist by email address 2012-07-03 09:09:05 +08:00
Sam Hemelryk
d75e8e3ac8 MDL-33521 css: Fixed invalid CSS in core CSS and plugin styles.css files 2012-07-02 11:34:44 +12:00
Eloy Lafuente (stronk7)
c5e783e512 MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700 2012-06-18 02:37:00 +02:00
Jonathon Fowler
ef8c793d74 MDL-31804 duplicated columns cause Oracle error in grader report 2012-05-14 11:00:29 +07:00
Andrew Davis
1e2698f6fa MDL-26275 grade: made some equality checks more strict and added some explanatory comments 2012-05-01 10:43:09 +07:00