80293 Commits

Author SHA1 Message Date
Dan Poltawski
d5d0a8028d MDL-55071 theme_boost: prevent phpcs complaints
The commenting rule is a bit weird, but we can get round it easily.
2016-09-23 10:57:54 +01:00
Dan Poltawski
dd9dd09587 MDL-55071 less: fix some lint issues we touched
(These will all be gone soon!)
2016-09-23 10:57:54 +01:00
Dan Poltawski
59652db27f MDL-55071 css: fix some lint issues 2016-09-23 10:57:53 +01:00
Dan Poltawski
0b2dc2751f MDL-55071 css: reformat some css files we touch with stylefmt 2016-09-23 10:57:36 +01:00
Dan Poltawski
46c1713c40 MDL-55071 theme_boost: fix stylelint detected issues in scss
Duplicate properties, star hacks
2016-09-23 10:57:36 +01:00
Frédéric Massart
f8ac90a753 MDL-56061 core: Permit usage of REM in CSS
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Damyon Wiese
e584e6ae46 MDL-55071 theme/output: PHPCS fixes for new theme branch
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Damyon Wiese
e8272e748c MDL-55071 theme_boost: Fix relevant JS warnings
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski
841d25a984 MDL-55071 grunt: add stylelint:scss to default css task
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski
c037f043ef MDL-55071 theme_boost: remove empty blocks in scss
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski
fde35b8f0f MDL-55071 theme_boost: fix 0px and colour shorthand
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski
f4143537a0 MDL-55071 theme_boost: Use stylefmt to fix css formating issues
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski
9cb41231fd MDL-55071 theme_boost: fix indentation in scss files
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski
773e68b0f8 MDL-55071 stylelint: Config & grunt task for scss
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Frederic Massart
8a40bc36a6 MDL-51948 admin: Guess RTL compatibility of settings using PARAM_ types
Part of MDL-55071
2016-09-23 10:57:35 +01:00
Damyon Wiese
80db019249 MDL-55071 theme_boost: We don't need the generated css
Part of MDL-55071
2016-09-23 10:57:35 +01:00
Damyon Wiese
10617d6942 MDL-55071 templates: Add correct docs for new templates
These are just the admin settings templates.

Part of MDL-55071
2016-09-23 10:57:35 +01:00
Damyon Wiese
5d9f0bb3fe MDL-55071 psr4: Use psr4 classloader for scss, rtlcss and cssparser
Part of MDL-55071
2016-09-23 10:57:35 +01:00
Damyon Wiese
ff392efc89 MDL-55071 forms: Add upgrade.txt note about submitlink
We are deprecating submitlink because it was added a long time ago
and never used in Moodle. We can't test it or maintain it.

Part of MDL-55071
2016-09-23 10:57:13 +01:00
Damyon Wiese
13075628ab MDL-55071 core_auth: Move new login renderable to core_auth
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Damyon Wiese
256edb99de MDL-55071 theme_boost: Fix stylelint issues
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Damyon Wiese
890c260307 MDL-55071 phpunit: Fix failing tests due to changes in default output
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Damyon Wiese
2ede86d797 MDL-55996 theme_boost: Rename theme noname to theme boost
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Frederic Massart
137c289a19 MDL-55593 theme_noname: Post-prod on preset default styling
Some styles were moved to be part of the core SCSS rules. Extra
variables were removed, and other styles where adapted.

Part of MDL-55071
2016-09-23 10:55:18 +01:00
Frederic Massart
a13dd17cf6 MDL-55593 core: Drag & drop accessible menu uses aria attributes
Part of MDL-55071
2016-09-23 10:55:18 +01:00
Frederic Massart
f572e724ad MDL-55593 theme_noname: Cancel button should be secondary
Part of MDL-55071
2016-09-23 10:55:18 +01:00
Frederic Massart
3264bf5b56 MDL-55593 form: Wrap skip validation variable in script tag
Part of MDL-55071
2016-09-23 10:55:18 +01:00
Barbara Ramiro
928177d139 MDL-55593 Theme: Style for the course page
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
77f5a9b01d MDL-55593 Theme: Style for the forums page
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
6e2aefd527 MDL-55593 Theme: Style for the edit settings page
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
8d923368a7 MDL-55593 Theme: Style for the frontpage
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
8e62956e10 MDL-55593 Theme: Style for the blocks heading
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
e1265d001d MDL-55593 Theme: Add top and bottom padding to region-main
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
771fe96b54 MDL-55593 Theme: Align page container and blocks with the top navbar
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
4553c8bdca MDL-55593 Theme: Style for the login page
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
7dbd1f954e MDL-55593 Theme: Remove rounded corners for the top navbar
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
463ae17699 MDL-55593 Theme: Centering navbar
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
4a59602a77 MDL-55593 Draft colour swatches and styles
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro
2876221386 MDL-55593 Theme: Copy of all variables from _variables.scss
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Frederic Massart
9189888989 MDL-55797 mod_quiz: Convert question chooser to template
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Frederic Massart
891750bcfa MDL-55797 core_question: Make static getter for chooser
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Frederic Massart
7f8b7b2bb3 MDL-55797 output: Support form method in chooser
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Frederic Massart
6f0993ccbc MDL-55797 core_question: Convert the chooser to template
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Frederic Massart
370e7637c6 MDL-55904 output: Deprecate action_menu::do_not_enhance()
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Damyon Wiese
63e4df60f6 MDL-55839 behat: Behat fixes for theme_noname
This is a squash of many small fixes.
The list of changes are:

Initial set of behat selectors overrides required for new theme.

set core behat selectors if not overridden by theme

Remove pause

Fix for checkboxes not saving properly

Custom override for click in the user menu

Fix for behat guessing the field type.

Behat fix for guessing the correct field type.

Fix for missing closeElementBefore mforms mess.

Fix for textareas not displaying their contents.

Fix availability form element

Fix action menu selectors for activities in a course page

Fix textareas not retaining their values

Fix selector for blocks

I had to change the single select template to use an input instead of a button because of a
behat bug we have not tracked down yet.

Fix for frozen attribute in form elements

Use input instead of button while behat is still broken

Fix for navigation selector override

Behat selector fixes and multi-select fixes for templated select

Fix for configure blocks selector + booleans for autocomplete

Fixes for course_summary behat tests

Allow optgroups in single_select

Behat fixes for block_navigation

Fixes for url form element and activity chooser selectors

blocks_social - fix specific selector for behat

Fix export_for_template for selectgroups element.

Dont set empty id on the form

Fix direct call to behat_navigation in backup context

Checkbox empty value fix

Fix for assign grading panel popouts

file picker overrides to find a file manager in the page

Fix chat tests to use element name

Make selectors in mod_data behat less specific

MDL-55839: recent activity behat test relies on time()

SQUASH Honour mform element "class" attribute on the container

SQUASH Fixes for behat in mod_forum

SQUASH search form template showing value as text next to the button

SQUASH undo double selectgroup fix

SQUASH - The slightly different structure to action menus breaks course drag and drop

SQUASH Wrap loading icon in a span so the selector still works.

SQUASH Fix fragile javascript in report_loglive

SQUASH Fix tabtree, and selectgroups for mod_feedback

Also - do-not enhance the action menu - we are dropping support for this.

SQUASH Fix filemanager selector and pix_icon template for mod_forum tests.

SQUASH Fixes to breadcrumb and add formid to single select (fixes mod_glossary tests)

SQUASH lesson behat fixes. 95% of lesson styles were rubbish so they were disgarded.

SQUASH Fix lti behat tests - they were cheating and using a context step from quiz

SQUASH Behat fixes for quiz with new theme

SQUASH behat fixes for mod_wiki

SQUASH Workshop behat fixes

SQUASH Frozen form elements cannot use a readonly form element because it screws with the form JS "disabledIf" stuff.

SQUASH Fixes for grades behat tests

SQUASH behat fixes for groups

SQUASH blacklist action menu tests

SQUASH Fix for tag form element missing "manage standard tags" link

SQUASH Incomplete fixes for course behat tests

SQUASH behat fixes for badges

SQUASH Tags fixes for behat

SQUASH filepicker fixes for behat

SQUASH Abort guessing field type when we hit 'html'

SQUASH Fix for admin/tool/behat tests

SQUASH fix for admin tool behat tests

SQUASH fix for availabilty conditions hiding "aria-hidden" elements

SQUASH give the blocks more room. We get behat files because nav tree nodes are not in view

SQUASH Blocks fixed

Fix behaviour of unchecked checkboxes

SQUASH Remove incorrect step in user test

SQUASH behat fixes for course tests

Part of MDL-55071
2016-09-23 10:55:16 +01:00
Damyon Wiese
428de3dcc3 MDL-55793 theme_noname: Use fixed width container
Part of MDL-55071
2016-09-23 10:55:16 +01:00
Frederic Massart
d6a5c5601b MDL-55793 theme_noname: Drop columns3 layout
Part of MDL-55071
2016-09-23 10:55:16 +01:00
Damyon Wiese
60d17ecdfc MDL-55831 blocks: Fix block headings with action menu changes
Part of MDL-55071
2016-09-23 10:55:16 +01:00
Frederic Massart
3fd04d5242 MDL-55831 mod_quiz: Contain input fields within dialogues
Part of MDL-55071
2016-09-23 10:55:16 +01:00
Frederic Massart
c2f12b0d16 MDL-55831 mod_quiz: Fix selectors to handle renderer overrides
Part of MDL-55071
2016-09-23 10:55:16 +01:00