Rajesh Taneja
096b98ba34
MDL-52279 core_lib: Remove php4 style constructor
...
filterobject is called from core and as it's
using php4 style constructor, global USER is
not set properly because of deprecation warning
2015-11-30 11:25:55 +08:00
Jun Pataleta
a33e5debe9
MDL-37308 files: Additional fixes for transparency
...
Fixed transparency support when resizing and when not resizing.
2015-11-29 20:28:19 -06:00
Jetha Chan
623c947f2b
MDL-37308 files: support transparency when not resizing; new unit test
2015-11-29 20:28:19 -06:00
Adrian Greeve
e245843193
MDL-37308 files: convert_image() now supports transparency.
2015-11-29 20:28:18 -06:00
Dan Poltawski
e746afacef
MDL-51719 atto_rtl: RTL/LTR buttons now indicate state
...
Previously the RTL buttons did not indiciate wether RTL or LTR was
selected. Thanks to Andrew Nicols for guiding how to do this.
2015-11-27 14:03:53 +00:00
Tony Levi
79d4558a58
MDL-52283 core: password_hash() deprecation in PHP7
2015-11-27 09:12:20 +08:00
Andrew Nicols
b27d4eac7f
MDL-45364 atto_rtl: Fix JS lint
2015-11-26 19:09:03 +00:00
Frederic Massart
42dcfffc4f
MDL-52160 navigation: Mark category and module settings nodes as branch
2015-11-25 13:03:25 +08:00
David Monllao
c506af7786
Merge branch 'MDL-44330' of git://github.com/NeillM/moodle
2015-11-24 17:03:06 +08:00
David Monllao
2bc40fc889
Merge branch 'MDL-45934-master' of git://github.com/danpoltawski/moodle
2015-11-24 16:53:18 +08:00
Neill Magill
3fca693751
MDL-44330 Assign: Assignment grading may not display expected student
...
Before this patch it was possible for the student displayed on the grading page to
not be the student that the user selected to grade. This would occur if:
1) The user had the table ordered by a value that could be modified,
for example Last modified (submission), Grade, Last modified (grade)
2) Another user performed an action that was recorded in Moodle in the time
between the user generating the table and clicking on a grade link.
If a user did not notice a different user had been loaded it could result in them giving
a grade to the incorrect user.
This patch ensures that the state of the table is cached every time it is viewed by a user
who has the capability to grade.
2015-11-24 08:42:00 +00:00
Jean-Philippe Gaudreau
20dde5e674
MDL-52237 navigationlib: Plugins can extend navigation user profile
2015-11-23 11:04:44 -05:00
Dan Poltawski
14248189b7
Merge branch 'wip-mdl-50163' of https://github.com/rajeshtaneja/moodle
2015-11-23 11:33:55 +00:00
David Monllao
57d4e11334
Merge branch 'MDL-52214-master-crawler' of git://github.com/mudrd8mz/moodle
2015-11-23 17:00:24 +08:00
David Mudrák
ade03c067a
MDL-52214 core: Fix case sensitivity in user agent comparison
...
The previous 2.9 implementation of is_web_crawler() used stripos() in
certain cases. The unit tests re-added in the previous commit revealed
that certain crawlers (such as BaiDuSpider) were not correctly detected
in the new refactored implementation.
It seems lesser evil and safe enough to use /i in the regex search even
though it is not 100% same logic as before - as stripos() was used in
some cases only, not always.
2015-11-23 09:44:43 +01:00
David Mudrák
182d9990f1
MDL-52214 core: Fix the is_web_crawler() regression
...
In MDL-50891, the is_web_crawler() was refactored into a core_useragent
method and the function itself was deprecated. However, there were no
unit tests kept to check the backwards compatible behaviour. It turned
out that the deprecated function leads to PHP fatal error due to a typo.
This patch fixes the typo and brings back the previous unit tests. To be
able to explicitly check the raised debugging message, the test case
now must be subclass of advanced_testcase.
Additionally fixes missing info about the function being deprecated.
2015-11-23 09:44:13 +01:00
David Monllao
dca7e05dbf
Merge branch 'MDL-52086' of git://github.com/bostelm/moodle
2015-11-23 16:10:25 +08:00
David Monllao
5269e6002d
Merge branch 'MDL-52160-master' of git://github.com/FMCorz/moodle
2015-11-23 14:07:21 +08:00
Dan Poltawski
de1519002e
Merge branch 'wip-MDL-52194-master' of https://github.com/marinaglancy/moodle
2015-11-19 06:47:30 +00:00
Henning Bostelmann
3847c105b0
MDL-52086 output renderers: show subtree only when tab is activated
2015-11-18 16:11:32 +00:00
Dan Poltawski
65b26a461e
MDL-45934 backup: do not reset completion enabled flag
...
The 'completion enabled' flag does not reflect any course data, its a
course setting. Previously when doing a backup deleteting existing
course content this was forced off when it should not have been.
2015-11-18 11:45:45 +00:00
Marina Glancy
228f66ad7f
MDL-52194 flowplayer: do not check request
...
$_REQUEST variable may contain cookies in some php configurations. See also MDL-48085
2015-11-18 15:35:55 +08:00
Eloy Lafuente (stronk7)
6d29c4acdd
MDL-52140 upgrade: add 3.0.0 separation line to all upgrade scripts
2015-11-17 17:08:56 +01:00
Rajesh Taneja
8f76de32d9
MDL-50163 behat: Return subcontext from session
...
Creating a new context with new mink context
with different session was keeping the session
and was not returning proper session information
2015-11-17 13:27:10 +08:00
rajesh Taneja
131d4ac2b0
MDL-50163 behat: Restart session after scenario with switch_window
...
Restart session after a scenario with switch window
is finished. This will close all open browser windows
and open a new browser window
2015-11-17 12:12:03 +08:00
David Monllao
08cc1ad828
Merge branch 'MDL-51988-master' of git://github.com/danpoltawski/moodle
2015-11-17 10:20:59 +08:00
Dan Poltawski
a461fcf9db
Merge branch 'MDL-52021-master-test' of git://github.com/junpataleta/moodle
2015-11-16 16:21:17 +00:00
Juan Leyva
90d50ad439
MDL-52074 ws: Add enrol_self_get_instance_info to the mobile service
2015-11-16 13:16:45 +01:00
Frederic Massart
333dcd863f
MDL-52160 navigation: Really remove module settings empty nodes
2015-11-16 19:46:48 +08:00
David Monllao
53f8e45279
Merge branch 'MDL-50687-master' of git://github.com/danpoltawski/moodle
2015-11-16 14:25:48 +08:00
Frederic Massart
3b10fa25bc
MDL-50564 atto: Require atto_menu in atto_plugin
2015-11-13 14:38:33 -06:00
Syam Mohan
77690b69f5
MDL-52021 enrollib: Removed repeated capability
...
'moodle/role:assign' replicated in the permission checking
2015-11-13 07:23:40 -06:00
Dan Poltawski
9680529069
MDL-50687 phpunit: error early if required locale not installed
2015-11-13 07:00:09 +00:00
David Monllao
a0b972ac3c
Merge branch 'MDL-52071-master' of git://github.com/jleyva/moodle
2015-11-13 07:47:58 +08:00
Juan Leyva
b8fbbc44d0
MDL-52071 ws: Add core_enrol_get_course_enrolment_methods to service
2015-11-12 13:21:58 +01:00
Ruslan Kabalin
fa29c0c3d4
MDL-51830 course: Add course section deletion event.
2015-11-12 11:19:37 +00:00
Juan Leyva
419b112832
MDL-52108 messages: New WS core_message_delete_message
2015-11-12 12:05:49 +01:00
Eloy Lafuente (stronk7)
84f7633f82
Merge branch 'MDL-36109-master' of git://github.com/danpoltawski/moodle
2015-11-11 17:10:11 +01:00
Dan Poltawski
950af0b4e0
MDL-51988 behat: select a table by <th> tag
2015-11-11 12:30:35 +00:00
David Monllao
212dc418d4
Merge branch 'MDL-51991-master' of git://github.com/ryanwyllie/moodle
2015-11-11 09:18:52 +08:00
Eloy Lafuente (stronk7)
3c6210a452
Merge branch 'wip-mdl-52077' of https://github.com/rajeshtaneja/moodle
2015-11-10 23:44:28 +01:00
Eloy Lafuente (stronk7)
2e144835bb
MDL-52059 versions: bump all versions and requires near release
...
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Ryan Wyllie
d26d0d9b7e
MDL-51991 atto_table: simplify settings
...
Cleaned up the language strings on the Atto table settings page
and reduced the number of settings options for border styling.
2015-11-10 08:15:01 +00:00
Rajesh Taneja
81676e84e6
MDL-52077 unittest: Fixed string typo
2015-11-10 13:53:47 +08:00
Ryan Wyllie
e1db2b4112
MDL-52042 autocomplete: close suggestion box
...
Close the suggestion box when the input loses focus for more
than half a second.
2015-11-09 07:32:56 +00:00
David Monllao
814809d59e
Merge branch 'wip-MDL-52008-master' of git://github.com/abgreeve/moodle
2015-11-09 13:16:06 +08:00
Adrian Greeve
9e8d0842ba
MDL-52008 accessibility: Skip link works with chrome vox.
2015-11-06 09:47:51 +08:00
Dan Poltawski
2759c1218d
Merge branch 'MDL-52036-master-resettable' of git://github.com/mudrd8mz/moodle
2015-11-05 09:03:20 +00:00
Ryan Wyllie
e24188c881
MDL-50426 behat: fix behat field manager
...
Thanks to Raj for the patch.
2015-11-05 08:20:39 +00:00
rajesh Taneja
0db240c1dd
MDL-51918 behat: Key press should be down-press-up
...
As we simulate real user key press event, the
event should down followed by press and then up key
2015-11-05 09:15:41 +08:00