Eloy Lafuente (stronk7)
c9236c6860
Moodle release 3.4.1
2018-01-12 20:35:46 +01:00
Eloy Lafuente (stronk7)
5dcd9c53e3
weekly release 3.4+
2018-01-12 02:12:44 +01:00
Jake Dallimore
758066eda4
Merge branch 'MDL-61177-34' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
2018-01-11 09:22:47 +08:00
Cameron Ball
6a12f2de83
MDL-61143 core_files: Don't append dot when checking domain names or IP addresses.
...
Previously we appended a dot at the end of IP addresses and domain names in the
cURL security helper, but it causes issues with Google OAuth so this patch removes it.
2018-01-10 15:23:20 +08:00
Andrew Nicols
fe8663110a
Merge branch 'MDL-61061_hideif_group_34' of git://github.com/davosmith/moodle into MOODLE_34_STABLE
2018-01-10 08:55:24 +08:00
Andrew Nicols
0f6761962a
MDL-61177 badges: JS pending checks in connection test
2018-01-10 08:13:45 +08:00
Adrian Greeve
bc066df1f6
MDL-61131 repositories: Added a key to verify incoming urls.
2018-01-09 11:34:44 +01:00
Cameron Ball
246b39cba9
MDL-61143 core_files: Update unit tests for curl_security_helper
...
Previously some of the unit tests were passing "by accident" becuase
we had the security helper letting through domains where the DNS lookup
failed. That behaviour has changed and now such domains are blocked.
Additionally tests for domains with multiple A records and weird Unicode
stuff have been added.
This patch also mocks the DNS resolution in the test, rather than actually
resolving the domain.
2018-01-09 16:54:31 +08:00
Cameron Ball
facd24b4c7
MDL-61143 core_files: Block hosts that cannot be determined to be an IP address of domain name
...
Freaky deaky Unicode/octal/hex domains can be resolved by cURL but are technically not valid.
This patch causes anything that Moodle does not consider to be a valid domain or IP to be blocked
by the cURL security helper.
2018-01-09 16:54:31 +08:00
Cameron Ball
b7b3b75b2c
MDL-61143 core_files: Check all A records when testing blocked IPs
2018-01-09 16:54:31 +08:00
Juan Leyva
98ac97e2a0
MDL-60908 mod_quiz: Return question state only when configured
...
The question state should be returned following the quiz review options
settings.
2018-01-09 16:54:31 +08:00
David Monllao
9aa6e8bfa4
Merge branch 'wip-MDL-60742-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2018-01-09 09:52:56 +01:00
Davo Smith
03a65d8916
MDL-61061 formslib: make sure hideIf rules hide labels within groups
2018-01-09 08:48:23 +00:00
Davo Smith
5e430e98cb
MDL-61061 formslib: add data-groupname to groups to fix hideIf rules
2018-01-09 08:48:23 +00:00
David Monllao
068f22aee0
Merge branch 'MDL-60079-34' of https://github.com/nashtechdev01/moodle into MOODLE_34_STABLE
2018-01-09 08:10:43 +01:00
Andrew Nicols
99d570fef4
Merge branch 'wip-MDL-60415-34' of git://github.com/abgreeve/moodle into MOODLE_34_STABLE
2018-01-09 14:31:01 +08:00
David Knuplesch
4a2bc331fb
MDL-60415 mod_lti: avoid confusing error-message
2018-01-09 14:02:09 +08:00
Thinh Pham
3fef39fc68
MDL-60079 User tours: leave unnecessary aria tags in the page
2018-01-09 10:35:57 +07:00
Jun Pataleta
5d434d4d19
Merge branch 'MDL-61068-34' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
2018-01-09 09:53:31 +08:00
Andrew Nicols
440113b457
MDL-61068 mod_forum: Fix neighbour test dates
2018-01-09 09:49:14 +08:00
Eloy Lafuente (stronk7)
41ff45a7a7
Merge branch 'MDL-60943-m34' of https://github.com/sammarshallou/moodle into MOODLE_34_STABLE
2018-01-09 00:52:29 +01:00
Eloy Lafuente (stronk7)
fa4274319d
Merge branch 'MDL-61098-34' of git://github.com/jleyva/moodle into MOODLE_34_STABLE
2018-01-08 21:06:34 +01:00
Eloy Lafuente (stronk7)
06c5a9e6ff
Merge branch 'm34_MDL-61050' of https://github.com/danmarsden/moodle into MOODLE_34_STABLE
2018-01-08 20:38:43 +01:00
Eloy Lafuente (stronk7)
ca3605500e
Merge branch 'MDL-61068-34' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
2018-01-08 19:56:33 +01:00
David Monllao
6beb56ba1f
Merge branch 'MDL-61169-34' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
2018-01-08 14:59:07 +01:00
Andrew Nicols
f83fc14e4d
MDL-61169 iplookup: Change to github.com IP
2018-01-08 17:15:57 +08:00
Eloy Lafuente (stronk7)
844eae52fb
Merge branch 'MDL-61046-34-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_34_STABLE
2018-01-08 10:07:30 +01:00
Andrew Nicols
cf304a8870
Merge branch 'MDL-57786-34' of git://github.com/zig-moodle/moodle into MOODLE_34_STABLE
2018-01-08 15:17:25 +08:00
Andrew Nicols
8ec36b0fe2
Merge branch 'MDL-43042-34' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
2018-01-08 15:13:21 +08:00
Andrew Nicols
31a9ee8172
Merge branch 'MDL-53985-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2018-01-08 12:50:12 +08:00
Andrew Nicols
d0308d8d76
MDL-61068 mod_forum: Round timed posts to nearest 60 seconds
...
This slightly reduces the effectiveness of the DB query cache, but gives
us correct results every time.
2018-01-05 16:43:34 +08:00
Mihail Geshoski
144c240841
MDL-43042 lesson: Confusing feedback order in multiple answer questions
2018-01-05 15:35:27 +08:00
Dan Marsden
434c5f8a56
MDL-61050 auth_ldap: fix regression caused by MDL-42834
2018-01-05 10:42:50 +13:00
sam marshall
0ce4a24888
MDL-60943 core_search: Improve exception for preg_replace errors
2018-01-04 17:28:45 +00:00
Helen Foster
bfd1dd07d8
MDL-61046 lang: Merge English strings from the en_fix language pack
...
Significant string changes:
* pluginname_desc, enrol_category - improved explanation
* pathtopythondesc, core_admin - mentioning Python version
* configdeleteunconfirmed, core_admin - setting applies to more than
just email-based self-registration
2018-01-04 11:56:43 +01:00
David Monllao
51e05c09c3
weekly release 3.4+
2018-01-04 11:02:43 +01:00
David Monllao
02990bd6b9
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
2018-01-04 11:02:42 +01:00
Marina Glancy
a66195b8b9
MDL-60742 calendar: allow customisation of 12/24h time format strings
2018-01-04 15:15:30 +08:00
Jun Pataleta
ae7953ff01
Merge branch 'MDL-40613-34-ldap' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
2018-01-04 14:57:50 +08:00
Andrew Nicols
e5dc80a10c
MDL-40613 auth_ldap: Call update_user_record on create
2018-01-04 14:41:03 +08:00
Jun Pataleta
f080964380
Merge branch 'MDL-40613_34-fix' of git://github.com/markn86/moodle into MOODLE_34_STABLE
2018-01-04 09:58:05 +08:00
AMOS bot
2ea79c66cf
Automatically generated installer lang files
2018-01-04 00:07:02 +00:00
Mark Nelson
36b738c185
MDL-40613 auth_ldap: removed usage of profile_load_custom_fields()
2018-01-03 18:08:57 +08:00
AMOS bot
1a89875c36
Automatically generated installer lang files
2018-01-03 00:06:24 +00:00
Eloy Lafuente (stronk7)
c29b6e8c15
Merge branch 'MDL-23887-34-2' of https://github.com/snake/moodle into MOODLE_34_STABLE
2018-01-03 00:24:59 +01:00
David Monllao
ff710b83c3
Merge branch 'MDL-57727-34' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
2018-01-02 12:33:56 +01:00
Jake Dallimore
c619279f5e
MDL-23887 database: fix use of deprecated system tables for mssql
...
Catalog views are available which we should use instead.
2018-01-02 17:20:25 +08:00
Jun Pataleta
5772b0fba2
Merge branch 'MDL-40613_34' of git://github.com/markn86/moodle into MOODLE_34_STABLE
2018-01-02 16:50:59 +08:00
David Monllao
c89d473133
Merge branch 'MDL-61107_34' of git://github.com/timhunt/moodle into MOODLE_34_STABLE
2018-01-02 08:34:48 +01:00
Zig Tan
0e540897e6
MDL-57786 mod_assign: Fix word count for online text submissions
2018-01-02 13:12:34 +08:00
David Monllao
27e2fe6981
weekly release 3.4+
2017-12-28 12:35:19 +01:00
David Monllao
e35bc644de
MDL-51089 mod_quiz: Hide first page last node
2017-12-28 11:46:50 +01:00
Eloy Lafuente (stronk7)
5d7d6cb52b
Merge branch 'MDL-60363-34' of https://github.com/Kathrin84/moodle into MOODLE_34_STABLE
2017-12-27 17:56:11 +01:00
David Monllao
913abd448b
Merge branch 'MDL-51089-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-12-27 17:56:10 +01:00
David Monllao
dfe9aa213b
Merge branch 'MDL-58983-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2017-12-27 17:56:10 +01:00
David Monllao
dc24b81fef
Merge branch 'MDL-61056-34-feedbackresponsenav' of git://github.com/mudrd8mz/moodle into MOODLE_34_STABLE
2017-12-27 17:56:09 +01:00
David Monllao
cff1f1943e
Merge branch 'MDL-33886-34' of git://github.com/zig-moodle/moodle into MOODLE_34_STABLE
2017-12-27 17:56:09 +01:00
David Monllao
fe5d17b166
MDL-60439 block_tags: Removing extra var assign
2017-12-27 17:56:09 +01:00
David Monllao
cdda22dad7
Merge branch 'MDL-60439-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-12-27 17:56:08 +01:00
David Monllao
641a281bef
Merge branch 'MDL-60942-34' of git://github.com/ryanwyllie/moodle into MOODLE_34_STABLE
2017-12-27 17:56:07 +01:00
David Monllao
e70b33b720
Merge branch 'MDL-60359-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-12-27 17:56:07 +01:00
David Monllao
8578d28631
MDL-61062 analytics: Fix unit test wrong statement
2017-12-26 00:53:12 +01:00
Eloy Lafuente (stronk7)
c7a1ecd9f6
Merge branch 'MDL-61055-34-v2' of git://github.com/lameze/moodle into MOODLE_34_STABLE
2017-12-26 00:45:52 +01:00
Eloy Lafuente (stronk7)
829adb5f21
Merge branch 'MDL-43827-34' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
2017-12-26 00:25:37 +01:00
Tim Hunt
b6e79ab8d8
MDL-61107 quiz editing: handle invalid Maximum grade input
2017-12-22 13:35:48 +00:00
Kathrin Osswald
2ba2d02202
MDL-60363 conditional activities: Dim the icon also in student's view.
...
The class dimmed_text would only dim the activity's title and not the icon.
The teacher has both, icon and text, dimmed. So I added the class dimmed
to the class dimmed_text, what dims both elements for the students.
2017-12-22 13:11:15 +01:00
Luca Bösch
2d117605b8
MDL-60439 blocks: Tags block title multilang
2017-12-22 09:24:21 +01:00
Luca Bösch
237e1a85ce
MDL-51089 quiz: "Add" menu in edit quiz more keyboard accessible
2017-12-22 09:23:00 +01:00
Luca Bösch
5cb64c1faa
MDL-60359 theme_boost: have correct mc question check mark not overlap
2017-12-22 09:20:41 +01:00
Zig Tan
e714f3cee9
MDL-33886 backup: Add backup filename length < 255 char validation
2017-12-22 13:12:43 +08:00
Jun Pataleta
16deaa8611
weekly release 3.4+
2017-12-22 14:42:06 +13:00
Jun Pataleta
ffa36a4bbe
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
2017-12-22 14:42:05 +13:00
Juan Leyva
5ed65e12e1
MDL-61098 repository: Retrieve correct context for repo instance
...
The repository instance was being retrieved without specifying a valid
context that is required in further API checks.
2017-12-21 11:35:30 +01:00
Mihail Geshoski
d1c15a50c9
MDL-43827 filepicker: Multiple actions not accessible using keyboard
2017-12-21 14:08:43 +08:00
Simey Lameze
bc121625c3
MDL-61055 calendar: guest user cannot create events
2017-12-20 12:44:35 +08:00
Damyon Wiese
251a824d8e
MDL-60567 competencies: test list_competencies
2017-12-19 11:30:35 +01:00
Damyon Wiese
efde049bdf
MDL-60567 competencies: list_competencies wrong type
...
"validate_params" returns arrays in external functions.
2017-12-19 11:30:34 +01:00
David Monllao
88498220a1
Merge branch 'MDL-60938-34-2' of git://github.com/junpataleta/moodle into MOODLE_34_STABLE
2017-12-19 07:53:20 +01:00
Mark Nelson
dfdadbdbe2
MDL-40613 auth_ldap: sync user profile fields
2017-12-19 14:22:23 +08:00
David Monllao
fb8b947963
Merge branch 'MDL-61045_34' of git://github.com/timhunt/moodle into MOODLE_34_STABLE
2017-12-19 06:43:27 +01:00
David Monllao
b844baf8be
Merge branch 'MDL-61016_hideif_disabledif_34' of git://github.com/davosmith/moodle into MOODLE_34_STABLE
2017-12-19 06:16:23 +01:00
Simey Lameze
0c794fc199
MDL-57431 mod_quiz: remove unnecessary class from selector
2017-12-19 12:49:45 +08:00
Damyon Wiese
2f4feacac7
Merge branch 'MDL-60767-34-3' of https://github.com/snake/moodle into MOODLE_34_STABLE
2017-12-19 11:26:12 +08:00
Damyon Wiese
7d7edc8820
Merge branch 'MDL-59999-34' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
2017-12-19 11:04:01 +08:00
Marcus Fabriczy
18c838f586
MDL-59709 mod_assign: Export to portfolio button not working
...
Changed the button to a text link
2017-12-19 13:29:48 +13:00
Eloy Lafuente (stronk7)
21c63124ab
Merge branch 'MDL-59200-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2017-12-19 01:10:33 +01:00
Eloy Lafuente (stronk7)
350cefe41e
Merge branch 'MDL-58888-34' of git://github.com/junpataleta/moodle into MOODLE_34_STABLE
2017-12-19 01:05:01 +01:00
Eloy Lafuente (stronk7)
47c56f3475
Merge branch 'MDL-60750-34' of git://github.com/lameze/moodle into MOODLE_34_STABLE
2017-12-19 00:59:36 +01:00
Eloy Lafuente (stronk7)
4b5ac4ceae
Merge branch 'wip-MDL-60594-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-12-19 00:46:05 +01:00
Jun Pataleta
8ed193c3ee
Merge branch 'm34_MDL-60793_Mod_Chat_Reserved_Words_In_MySQL8p0p3_And_Above' of https://github.com/scara/moodle into MOODLE_34_STABLE
2017-12-19 12:13:57 +13:00
David Mudrák
40e430e634
MDL-61056 feedback: Fix the response navigation links
...
Floats are evil and unreliable. Even with the clearfix class added to
the response_navigation wrapper, the Next link would remain unaligned.
We need a proper three columns layout here.
It did not feel necessary to introduce a special template here so I'm
making use of the core one.
2017-12-18 21:54:47 +01:00
David Monllao
aaf94b8f75
Merge branch 'MDL-60653-34' of git://github.com/rezaies/moodle into MOODLE_34_STABLE
2017-12-18 17:59:48 +01:00
David Monllao
18e6878f5a
Merge branch 'MDL-61042-34' of git://github.com/junpataleta/moodle into MOODLE_34_STABLE
2017-12-18 17:26:55 +01:00
David Monllao
1041ccaf2e
Merge branch 'MDL-61040-34' of git://github.com/junpataleta/moodle into MOODLE_34_STABLE
2017-12-18 17:25:07 +01:00
Eloy Lafuente (stronk7)
fb7b0157c1
Merge branch 'wip-MDL-60161-34' of git://github.com/abgreeve/moodle into MOODLE_34_STABLE
2017-12-18 16:11:47 +01:00
Matteo Scaramuccia
8827e7fc3f
MDL-60793 mod_chat: Renamed 'system' into 'issystem'
...
'system' is now a reserved word in MySQL 8.0.3+.
2017-12-18 15:26:20 +01:00
David Monllao
b85ec901dd
Merge branch 'MDL-31521-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-12-18 13:14:33 +01:00
Eloy Lafuente (stronk7)
2faa795209
Merge branch 'MDL-56932-34' of git://github.com/lameze/moodle into MOODLE_34_STABLE
2017-12-18 12:15:22 +01:00
Damyon Wiese
ca5a9de8c5
MDL-61022 recyclebin: Verify groups are restored
2017-12-18 10:22:12 +01:00
David Monllao
b9287872eb
Merge branch 'wip-MDL-52100-34' of git://github.com/abgreeve/moodle into MOODLE_34_STABLE
2017-12-18 10:08:21 +01:00
Davo Smith
8b448de4b0
MDL-61016 form: fix handling disabledIf + hideIf with same dependency
2017-12-18 08:03:31 +00:00
Andrew Nicols
06588b2cc0
Merge branch 'MDL-42676-34' of git://github.com/zig-moodle/moodle into MOODLE_34_STABLE
2017-12-18 15:32:51 +08:00
Adrian Greeve
e8e4566aaa
MDL-52100 filelib: Update to unit tests for maxbytes.
2017-12-18 13:16:43 +08:00
Adrian Greeve
94ccf35860
MDL-52100 filelib: Files that are oversized are checked with user.
...
Files that are oversized could have been uploaded by a user who
can ignore the file size limits. These files should not be deleted
in these situations.
2017-12-18 13:16:14 +08:00
Damyon Wiese
cf0386e763
Merge branch 'MDL-34389-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-12-18 13:00:10 +08:00
Damyon Wiese
a603f86d65
Merge branch 'MDL-57431-34' of git://github.com/lameze/moodle into MOODLE_34_STABLE
2017-12-18 12:54:03 +08:00
Damyon Wiese
265e374204
Merge branch 'MDL-54967-34' of git://github.com/zig-moodle/moodle into MOODLE_34_STABLE
2017-12-18 12:48:16 +08:00
Damyon Wiese
e62e93aa0d
Merge branch 'wip-MDL-49995-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-12-18 12:01:28 +08:00
Andrew Nicols
d00a6f52b4
Merge branch 'MDL-57564-34-courseorder' of git://github.com/mudrd8mz/moodle into MOODLE_34_STABLE
2017-12-18 11:24:02 +08:00
Jake Dallimore
0c75121648
MDL-60767 admin: fix usage of admin_write_settings
...
Make sure we always checks for failed validation, before redirecting.
A positive return value does not signal that all settings were able
to be written, only that at least one was - errors still need to be
checked!
2017-12-18 09:23:30 +08:00
Mihail Geshoski
5681222a0b
MDL-59999 lesson: Boost grade essays page not indicating grade status
...
AMOS BEGIN
CPY [graded,assign],[graded,lesson]
CPY [notgraded,assign],[notgraded,lesson]
AMOS END
2017-12-18 09:17:06 +08:00
AMOS bot
a45b7aa7ee
Automatically generated installer lang files
2017-12-18 00:06:19 +00:00
Tim Hunt
3093cc28f1
MDL-61045 quiz settings: add back missing disabledIf
...
This got broken in Moodle 2.1 by MDL-20636.
2017-12-15 13:15:12 +00:00
Jun Pataleta
0ff581cece
MDL-61042 mod_lesson: Initialise pageid variable
2017-12-15 17:42:08 +13:00
Damyon Wiese
b93a787b3e
MDL-53985 assign: Do not remove annotations
...
When an assignment submission is reverted to a draft, the timemodified on
the submission should not be modified. Changing the timemodified causes the
editpdf code to assume the pdf is stale, and forces all annotations to be removed.
2017-12-15 11:52:32 +08:00
Jun Pataleta
4ab37af070
MDL-58888 mod_choice: Sort choice_get_my_response() results by optionid
2017-12-15 15:56:28 +13:00
Jun Pataleta
f85f002b37
MDL-58888 mod_choice: Verify sorting when testing multiple selections
...
* Improve test_choice_get_my_response() to verify the sorting of the
responses returned by choice_get_my_response().
* Fix correct usage of choice_get_my_response().
2017-12-15 15:56:28 +13:00
Zig Tan
f7bdcf959f
MDL-54967 backup: Fix IMS CC import URL decoding for XML format
...
HTML encoding special characters to avoid XML compatibility issues during
Course backup restoration and avoid double encoding.
2017-12-15 09:37:31 +08:00
Jun Pataleta
64abea941e
MDL-61040 mod_choice: Save my choice button needs some space
2017-12-15 13:07:30 +13:00
Jun Pataleta
b9bebd0e36
MDL-60938 mod_choice: Fix rendering of users for choice results
2017-12-15 12:52:54 +13:00
Matteo Scaramuccia
de703e70e7
MDL-60793 core_ddl: Added the new MySQL 8 reserved words
2017-12-14 22:58:22 +01:00
Luca Bösch
b35acd2249
MDL-31521 questions: Allow more than one unit with multiplier equal to 1
2017-12-14 22:34:01 +01:00
Eloy Lafuente (stronk7)
a45c466000
weekly release 3.4+
2017-12-14 14:47:47 +01:00
Eloy Lafuente (stronk7)
3b7f331372
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
2017-12-14 14:47:46 +01:00
Marina Glancy
3145f21de1
MDL-31436 registration: do not send false in update request
2017-12-14 16:05:45 +13:00
AMOS bot
f8550e7982
Automatically generated installer lang files
2017-12-14 00:06:11 +00:00
Simey Lameze
ab0847d328
MDL-56932 theme_boost: fix quiz max mark input height
2017-12-13 11:48:53 +08:00
Adrian Greeve
54339683ac
MDL-60161 filelib: Unit test for duplicate curl headers.
2017-12-13 11:13:12 +08:00
Carson Tam
65e260281b
MDL-60161 class curl in filelib: Cleaned up doc block.
2017-12-13 11:13:00 +08:00
Carson Tam
f29bd28d6a
MDL-60161 class curl in filelib: Avoid duplicate params in http header
2017-12-13 11:12:37 +08:00
AMOS bot
9654f2cd71
Automatically generated installer lang files
2017-12-13 00:06:16 +00:00
Jun Pataleta
2337078a30
Merge branch 'MDL-58200-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2017-12-12 19:13:25 +13:00
Jun Pataleta
29d9535277
Merge branch 'MDL-59970-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2017-12-12 18:52:43 +13:00
Andrew Nicols
4b162c766d
Merge branch 'M3.4-MDL-59866' of https://github.com/marcusboon/moodle into MOODLE_34_STABLE
2017-12-12 13:47:54 +08:00
Andrew Nicols
606c17e6ef
Merge branch 'wip-MDL-56864-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-12-12 13:39:50 +08:00
Damyon Wiese
daf44482e9
Merge branch 'MDL-44660-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-12-12 12:50:38 +08:00
Marcus Boon
7da0e04ca3
MDL-59866 session: Add retry for redis sessions
...
There is an edge case whereby redis will fail
to accept connections on the first try but
retrying the connection seems to make it work
Included in this commit:
* Retry functionality in the session init
2017-12-12 14:48:26 +10:00
Damyon Wiese
45c42e01a3
Merge branch 'MDL-60861-34' of git://github.com/ankitagarwal/moodle into MOODLE_34_STABLE
2017-12-12 12:38:39 +08:00
Tyler Bannister
74af3b176d
MDL-60653 Navigation: Fixed loose string comparison.
...
The previous comparison would sometimes evaluate to true when the
navigation key was not a string.
2017-12-12 12:34:57 +08:00
Simey Lameze
7e9f55f138
MDL-60750 mod_quiz: only apply form css rules on clean theme
2017-12-12 12:14:02 +08:00
Damyon Wiese
7354b4ea0e
Merge branch 'MDL-58058-34' of git://github.com/lameze/moodle into MOODLE_34_STABLE
2017-12-12 12:10:40 +08:00
Damyon Wiese
9f6edf2171
Merge branch 'MDL-60945-m34' of https://github.com/NeillM/moodle into MOODLE_34_STABLE
2017-12-12 11:35:34 +08:00
Damyon Wiese
511c9addfa
Merge branch 'MDL-60965-34' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
2017-12-12 11:15:36 +08:00
Damyon Wiese
8616e10e89
Merge branch 'MDL-60969_34' of git://github.com/markn86/moodle into MOODLE_34_STABLE
2017-12-12 11:08:30 +08:00
Andrew Nicols
91406c9103
Merge branch 'MDL-60983_34' of git://github.com/timhunt/moodle into MOODLE_34_STABLE
2017-12-12 10:57:55 +08:00
Damyon Wiese
aa383f1b47
Merge branch 'MDL-52538-34' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
2017-12-12 10:40:35 +08:00
Damyon Wiese
8bb22c4544
Merge branch 'MDL-44667-34' of https://github.com/snake/moodle into MOODLE_34_STABLE
2017-12-12 10:26:18 +08:00
Damyon Wiese
ff383cdd57
Merge branch 'MDL-60968-34' of git://github.com/lameze/moodle into MOODLE_34_STABLE
2017-12-12 10:19:24 +08:00
Matt Clarkson
23e190ead5
MDL-60976 dml: Optimise replace_all_text()
...
Avoid updating fields that do not match the search string.
2017-12-12 10:07:40 +08:00
Mathew May
d997069c62
MDL-57431 mod_quiz: Quiz editing help icon fix
2017-12-12 09:57:46 +08:00
Mihail Geshoski
96cc77d435
MDL-57727 reports: Activity completion report sorting problem
2017-12-12 09:53:16 +08:00
Brendan Heywood
1daf3fafc0
MDL-60968 auth: Allow more flexibility with mapping attributes
2017-12-12 09:38:20 +08:00
Damyon Wiese
7522b6a2e3
Merge branch 'MDL-60041-m34' of https://github.com/NeillM/moodle into MOODLE_34_STABLE
2017-12-12 09:21:59 +08:00
Zig Tan
ece94bb4e2
MDL-42676 mod_assign: Display message fix when using grade override
...
Logic fix in mod_assign locallib.php to correctly set the submissionlockedstatus,
and added associated unit test in test_grade_submission_override()
2017-12-12 09:04:59 +08:00
Mihail Geshoski
cd44d4e463
MDL-52538 lesson: Grade info displayed while ongoing score disabled
2017-12-12 09:03:23 +08:00
Damyon Wiese
395c985759
Merge branch 'MDL-54021-34' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
2017-12-12 08:59:23 +08:00
Damyon Wiese
684d866e20
Merge branch 'MDL-40790-34' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
...
Conflicts:
theme/boost/scss/moodle/modules.scss
2017-12-11 16:56:33 +08:00
Damyon Wiese
3b2e8b4a0a
Merge branch 'MDL-56197-34' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
2017-12-11 16:47:40 +08:00
Neill Magill
816e06e809
MDL-60945 Web services: Too many progress records retrieved
...
The core_completion_get_activities_completion_status was getting the
progress for all users on the course called, and then discarding all
the records but one.
This change ensures that only progress for the user we are interested in
is retrieved from the database.
This has a side benefit of removing a full table scan from the query
finding the users inside the get_progress_all() method.
2017-12-11 08:42:39 +00:00
Neill Magill
6924954471
MDL-60041 dml: MOODLELIB sql file must have Unix line endings
...
If the file does not have Unix line endings then the regular expression
in oci_native_moodle_database::attempt_oci_package_install() does
not split it correctly.
This leads to an invalid package being created in Oracle.
The .gitattribute file changes for oci_native_moodle_package.sql
force it to have Unix style line endings when the branch is checked
out and the file does not already exist.
The file has been modified so that the Unix style line endings are
applied even if the file already exists, for example when pulling in
this change to an existing branch.
2017-12-11 08:42:24 +00:00
Mihail Geshoski
2875ff2934
MDL-56197 lesson: Multichoice answers not on same line as radio button
2017-12-11 15:52:44 +08:00
Andrew Nicols
b1ddacfc8e
Merge branch 'MDL-58272-34-2' of https://github.com/snake/moodle into MOODLE_34_STABLE
2017-12-11 15:02:27 +08:00
Marina Glancy
6d353a7918
MDL-60594 xmlrpc: wrapper for buggy xmlrpc_decode
2017-12-11 14:26:29 +08:00
Ankit Agarwal
f9e09bd963
MDL-60861 analytics: Remove enable menu, if no timesplitting method
2017-12-11 10:47:44 +05:30
Ankit Agarwal
4f657eeed9
MDL-60861 analytics: Enabling a model requires timesplitting
2017-12-11 10:47:44 +05:30
Damyon Wiese
60e57b8448
Merge branch 'wip-MDL-45500-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-12-11 13:14:05 +08:00
Damyon Wiese
628f99bf45
Merge branch 'MDL-60948-34' of git://github.com/andrewnicols/moodle into MOODLE_34_STABLE
2017-12-11 12:53:18 +08:00
Andrew Nicols
68e670d8ea
MDL-60948 tool_httpsreplace: Correct use of test URLs
2017-12-11 12:06:22 +08:00
Damyon Wiese
af9b21a388
Merge branch 'MDL-54106-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-12-11 11:38:04 +08:00
Damyon Wiese
de08d71fc8
Merge branch 'wip-MDL-31436-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-12-11 11:29:20 +08:00
Luca Bösch
4846674f5c
MDL-44660 grade: Typos @package core_grade instead of core_grades
2017-12-08 14:21:28 +01:00
Luca Bösch
ac66136751
MDL-54106 task: Deleting unconfirmed users after $CFG->deleteunconfirmed
2017-12-08 14:12:49 +01:00
Tim Hunt
5617f26568
MDL-60983 get_user_capability_course: fix buggy edge cases
...
There were basically two problems, which are demostrated by
the new test users u7 and u8 in the unit test.
1. There was a problem if a role was overridden in a context above the
one where it was assigned. E.g. User has teacher role in a course, and
there is a role override in the course-category context. That was being
ignored.
2. Problems with the handling of PROHIBITs. It should be the case that
if there is a PROHIBIT in force, then it cannot be overridden by another
role, or by a role override. However, this was not working in all cases.
Also, I had to add comments to the unit test so that I could understand
it. Hopefully these will be hepful to other developers too.
2017-12-08 12:07:27 +00:00
Simey Lameze
ad81f22148
MDL-58058 competency: replace other sortorder usages
2017-12-08 16:01:12 +08:00
Frederic Massart
aabf264460
MDL-58058 competency: Allow unspecified sortorder for new competencies
2017-12-08 16:01:12 +08:00
Mihail Geshoski
c22d3a30a1
MDL-40790 lesson: Lesson content button runs off the edge of the page
2017-12-08 09:57:25 +08:00
Mihail Geshoski
64d3271039
MDL-54021 blocks: Course completion block lang problem
2017-12-08 09:26:11 +08:00
AMOS bot
c83c2c0f47
Automatically generated installer lang files
2017-12-08 00:09:50 +00:00
Jun Pataleta
5fdb912a82
weekly release 3.4+
2017-12-08 09:10:06 +13:00
Mark Nelson
7a06e15952
MDL-60969 auth_ldap: replace hardcoded strings in config settings
2017-12-07 14:04:31 +08:00
Jun Pataleta
b64f314662
Merge branch 'MDL-60951-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2017-12-07 17:33:30 +13:00
David Mudrák
e5994e8c04
MDL-57564 enrol: Fix the course ordering on the dashboard
...
The list of courses displayed at the user's dashboard - course overview
block, had the sorting hard-coded to order by fullname. This did not
respect the site setting "navsortmycoursessort" and led to inconsistent
behaviour with "My courses" list in the navigation.
2017-12-06 23:51:52 +01:00
Damyon Wiese
1fb4f49cca
MDL-60951 travis: Disable redis on travis
...
Redis unit tests are currently failing on php 7.2 due to https://bugs.php.net/bug.php?id=75628
2017-12-06 11:23:35 +08:00
Andrew Nicols
32b4b57b26
Merge branch 'MDL-59159_34' of git://github.com/stronk7/moodle into MOODLE_34_STABLE
2017-12-06 10:04:42 +08:00
Jun Pataleta
fd7e75a8a5
Merge branch 'MDL-32350-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-12-06 11:30:52 +13:00
Luca Bösch
abd7d4394b
MDL-32350 admin: Sort users by country ASC and DESC
2017-12-05 07:22:56 +01:00
Jun Pataleta
e4256cd769
Merge branch 'wip-MDL-60926-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-12-05 19:03:36 +13:00
David Herney
5a6a4cef8b
MDL-60443 dataformat lib: Change a wrong variable name
...
The variable $type really is $dataformat. I have changed it for
prevent the error and show a correct error message.
2017-12-05 13:52:36 +08:00
Jun Pataleta
8721afb2c6
Merge branch 'wip-MDL-34161-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-12-05 17:59:53 +13:00
Andrew Nicols
0e199a5aec
Merge branch 'MDL-60801_34' of https://github.com/andrewhancox/moodle into MOODLE_34_STABLE
2017-12-05 12:52:25 +08:00
Andrew Nicols
320947908b
Merge branch 'MDL-60899-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2017-12-05 11:55:16 +08:00
Andrew Nicols
2e55209603
MDL-60965 behat: Correct strlen use
2017-12-05 11:19:42 +08:00
Andrew Nicols
f8979fac97
Merge branch 'MDL-47114-34' of git://github.com/rezaies/moodle into MOODLE_34_STABLE
2017-12-05 09:52:42 +08:00
Adrian Greeve
6a33a850fc
MDL-37757 repositories: Deleting a repository deletes files.
...
If the user decides to remove a repository all of the linked
files are now deleted along with file references. This was causing
problems such as the course page displaying an error with no recourse
to fix the problem.
2017-12-05 09:46:31 +08:00
Jake Dallimore
9164ab6e39
MDL-44667 database: fix incorrect usages of $DB->get_field
...
Some places were passing 5 params, meaning the strictness param was
lost. This fixes those usages.
2017-12-04 18:01:34 +08:00
Damyon Wiese
2af1421e34
Merge branch 'MDL-60219-34' of https://github.com/abias/moodle into MOODLE_34_STABLE
2017-12-04 16:28:39 +08:00
Marina Glancy
5a9fa0fe57
MDL-34161 mod_lti: backup and restore of submissions
2017-12-04 15:05:58 +08:00
Marina Glancy
c1db07d55b
MDL-34161 mod_lti: backup/restore of lti types
...
Only course tools are backed up, site tools and registrations
can be matched by id if they are restored to the same site only.
For predefined course tools the secret is backed up encrypted
and can be restored on the same site only.
2017-12-04 15:05:58 +08:00
Tim Lock
c5b7a25ee6
MDL-34161 mod_lti: Added Behat tests
2017-12-04 15:05:58 +08:00
Gregory Faller
7cc665e9c7
MDL-34161 mod_lti: Add support for restoring site tool
2017-12-04 15:05:57 +08:00
Jun Pataleta
05fd85142e
Merge branch 'wip-MDL-60887-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-12-04 18:23:52 +13:00
Jun Pataleta
e62ea2b803
Merge branch 'MDL-60925-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2017-12-04 14:32:00 +13:00
Eloy Lafuente (stronk7)
972142a9af
MDL-59159 environment: 3.1 (LTS) required
2017-12-04 02:03:34 +01:00
Eloy Lafuente (stronk7)
b25f3693bb
MDL-59159 environment: 3.5 base information
...
This is a direct copy of the 3.4 branch to
have changes under control easier in next commits.
2017-12-04 02:03:17 +01:00
Jun Pataleta
369caa6183
Merge branch 'MDL-60914_34' of git://github.com/markn86/moodle into MOODLE_34_STABLE
2017-12-04 12:49:48 +13:00
Shamim Rezaie
00268741c2
MDL-47114 core: Improved function description
2017-12-02 07:44:27 +08:00
Marina Glancy
605b0547de
MDL-60926 auth: do not map very long profile fields
2017-12-01 17:51:54 +08:00
Ryan Wyllie
eea1aff443
MDL-60942 filters: include filter in format_string cache key
2017-12-01 06:51:58 +00:00
Eloy Lafuente (stronk7)
1bc5a5abe9
weekly release 3.4+
2017-11-30 17:05:23 +01:00
Marina Glancy
be4ea98f29
MDL-31436 hub: never use xmlrpc, always use REST
2017-11-30 11:27:41 +08:00
Damyon Wiese
845215d826
MDL-60925 theme: Fix SCSS precompilation.
...
There is no point pre-compiling the theme SCSS if it is not stored somewhere that is available
to all webserving nodes. Localcache needs to be backed by the MUC cache.
2017-11-29 17:08:23 +08:00
Alexander Bias
2a9c11965b
MDL-60219 lti: Replace pagelayout frametop with incourse
2017-11-29 09:58:45 +01:00
Damyon Wiese
8c3d8a68f7
MDL-58200 competencies: Student can view linked courses
2017-11-29 16:07:42 +08:00
João Umberto Ciocca de Almeida
969010296d
MDL-60654 calendar: Clean up lines 140-154
...
The if+switch code between lines 140 and 154, even though they selected 3 different choices, all of them gave the same result.
Therefore, it'd be cleaner to replace those 16 lines for just two.
2017-11-29 06:56:16 +01:00
Jun Pataleta
87186b9710
Merge branch 'wip-MDL-45068-34-fix' of https://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-11-29 16:59:41 +13:00
Marina Glancy
539ad434cb
MDL-45068 groups: corrected check for idnumber '0'
2017-11-29 11:53:56 +08:00
Eloy Lafuente (stronk7)
af4fa2a55b
Merge branch 'wip-MDL-60591-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-11-28 22:38:37 +01:00
Eloy Lafuente (stronk7)
15aec0b054
Merge branch 'MDL-60738-34' of git://github.com/jleyva/moodle into MOODLE_34_STABLE
2017-11-28 20:59:34 +01:00
Eloy Lafuente (stronk7)
7974bbcaf7
Merge branch 'MDL-60838-m34' of https://github.com/sammarshallou/moodle into MOODLE_34_STABLE
2017-11-28 20:48:27 +01:00
Damyon Wiese
b4cbad15de
MDL-58983 assign: Hide grade button if no cap
...
If the current user cannot grade students, don't show them the button.
2017-11-28 15:48:55 +08:00
Marina Glancy
fe1eb00c0f
MDL-49995 files: delete old file when overwriting
2017-11-28 15:03:29 +08:00
Damyon Wiese
03df75c0de
MDL-59200 assign: add feedback when grade locked
...
We are including a hidden field when the grade is locked in the gradebook for a student. This field fails validation, so
the form cannot be submitted.
2017-11-28 14:37:33 +08:00
Damyon Wiese
21c6513a7c
MDL-60899 block_lp: no permissions - empty block
...
Show an empty block if the current user does not have the capability to see any plans.
2017-11-28 14:33:18 +08:00
Damyon Wiese
8938d826d9
Merge branch 'MDL-53004-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
...
Conflicts:
mod/assign/styles.css
2017-11-28 12:50:57 +08:00
Marina Glancy
e71a526011
MDL-45500 gradingform: allow plugin uninstall
2017-11-28 12:27:26 +08:00
Jun Pataleta
f3f6960d3e
Merge branch 'MDL-46768-34' of git://github.com/sarjona/moodle into MOODLE_34_STABLE
2017-11-28 17:19:00 +13:00
Damyon Wiese
8952d3f100
Merge branch 'MDL-24678-MOODLE_34-chat_get_latest_message' of https://github.com/bozoh/moodle into MOODLE_34_STABLE
2017-11-28 12:14:49 +08:00
Tobias Reischmann
0bb9e2d8d7
MDL-60669 forum: Added duplicate check for restoring forum subscriptions
...
Before MDL-59854 it was possible to have duplicate forum subscriptions.
Trying to import backups created from back then, caused a DB exception
due to unqiue key constraints. Now only one of multiple identical forum
subscritions is restored.
2017-11-28 12:06:25 +08:00
Mark Nelson
07b6c89868
MDL-60914 mod_lti: ensure grade_update() is defined during upgrade
2017-11-28 11:38:09 +08:00
Marina Glancy
ffba0168b1
MDL-60887 registration: allow plugins to register on custom hubs
2017-11-28 11:21:46 +08:00
Eloy Lafuente (stronk7)
26a276cea1
Merge branch 'MDL-60249-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2017-11-28 00:48:55 +01:00
Damyon Wiese
3e2eb62931
Merge branch 'MDL-60188-34' of git://github.com/rezaies/moodle into MOODLE_34_STABLE
2017-11-27 15:56:53 +08:00
Jun Pataleta
62104652c8
Merge branch 'MDL-57569-34' of git://github.com/sarjona/moodle into MOODLE_34_STABLE
2017-11-27 19:43:57 +13:00
Jun Pataleta
c950c91696
Merge branch 'wip-MDL-45068-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2017-11-27 19:36:10 +13:00
Marina Glancy
73e4f14d1b
MDL-60591 mod_forum: inline attachments are not displayed in plain text
2017-11-27 14:29:33 +08:00
Marina Glancy
87d3c32f2e
MDL-45068 groups: fixes to group import
...
- If 'coursename' is specified in the CSV it should match the course short name - thanks Yusuf Yılmaz for the patch
- If 'idnumber' is specified but 'groupidnumber' is not, idnumber should be used for matching the course idnumber only
- If 'groupingname' is not specified, there should be no notices (regression from MDL-42514)
- If 'coursename' or 'idnumber' column is present, it can contain empty values in some/all lines
2017-11-27 14:26:19 +08:00
Shamim Rezaie
b8e0488c90
MDL-60188 groups: cache user's groups and groupings
...
The function groups_get_user_groups is called too often both before rendering the page and after the page is rendered (using ajax).
The function was executing a query joining 3 tables in each call. The plementation of the function has now modified to store the
query result in a request cache.
2017-11-27 10:42:56 +08:00
Jake Dallimore
6c23087aa7
Merge branch 'MDL-60830-34' of git://github.com/sarjona/moodle into MOODLE_34_STABLE
2017-11-27 10:30:24 +08:00
Jun Pataleta
a6d9966786
Merge branch 'MDL-58887-34' of git://github.com/ryanwyllie/moodle into MOODLE_34_STABLE
2017-11-27 15:06:11 +13:00
Jake Dallimore
1a8167e781
Merge branch 'MDL-27230-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-11-27 09:44:18 +08:00
Ryan Wyllie
47dd1d85aa
MDL-58887 core: fix default title for action menu
...
Thanks to Michelle Melton <meltonml@appstate.edu > for the original
version of this patch.
2017-11-27 01:28:54 +00:00
Andrew Hancox
c29edc7551
MDL-60801 tool_uploaduser: Fix issue with defaults being ignored
2017-11-25 11:40:56 +00:00
Carlos Alexandre S. da Fonseca
fdddb80b70
MDL-24678 mod_chat: Fixed race condition on chat module
2017-11-24 10:36:15 -02:00
sam marshall
70a804d98e
MDL-60838 core_search: File upload does not honour timeout
2017-11-24 11:02:32 +00:00
Sara Arjona
c12caea3d4
MDL-57569 core_files: Fix to let show generated f3 image
2017-11-24 11:51:29 +01:00
Sara Arjona
191a7fd205
MDL-46768 core_badges: changed badge name type from FILE to TEXT
2017-11-24 11:37:59 +01:00
Luca Bösch
b0cb0168f4
MDL-34389 course: switch to subcategory w/ course:changecategory perms
2017-11-23 16:50:28 +01:00
Luca Bösch
fb762d4e5c
MDL-53004 assignment: Separate label and pulldown in grading (Clean)
2017-11-23 16:42:11 +01:00
Luca Bösch
ed0e988020
MDL-27230 quiz: remove and update group overrides in calendar
2017-11-23 16:42:05 +01:00
David Monllao
20cb5f4086
weekly release 3.4+
2017-11-23 13:35:20 +01:00
David Monllao
de5d2667ab
Merge branch 'install_34_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_34_STABLE
2017-11-23 13:35:18 +01:00
Marina Glancy
4a54efd42a
MDL-27886 backup: When setting is unlocked set it to original value
2017-11-23 12:29:59 +08:00
Jake Dallimore
5769d5fc86
Merge branch 'MDL-60831-34' of git://github.com/ankitagarwal/moodle into MOODLE_34_STABLE
2017-11-22 13:25:33 +01:00
Adrian Greeve
0225f34969
MDL-60546 mod_choice: Update to select all functionality.
2017-11-22 13:25:33 +01:00
Marcus Fabriczy
23c69f1ef0
MDL-60546 mod_choice: Fixed select all functionality
...
Fixed the functionality which ticks or unticks all checkboxes when
clicking the Select all or Deselect all elements when viewing the
responses.
Caused by deprecating checkall and checknone functions in
MDL-57490.
2017-11-22 13:25:32 +01:00
Jun Pataleta
6e6b38e0b5
Merge branch 'MDL-60813-34' of git://github.com/jleyva/moodle into MOODLE_34_STABLE
2017-11-22 13:25:32 +01:00
Jun Pataleta
2e3892e951
Merge branch 'MDL-60526-34-fix1' of http://github.com/damyon/moodle into MOODLE_34_STABLE
2017-11-22 13:25:31 +01:00
Matteo Scaramuccia
abe62e33e6
MDL-60745 phpunit: Bump phpunit from 6.4.3 to 6.4.4
...
$ php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 3 updates, 0 removals
- Updating sebastian/comparator (2.0.2 => 2.1.0): Downloading (100%)
- Updating phpunit/php-code-coverage (5.2.2 => 5.2.3): Downloading (100%)
- Updating phpunit/phpunit (6.4.3 => 6.4.4): Downloading (100%)
Writing lock file
Generating autoload files
2017-11-22 13:25:31 +01:00
Damyon Wiese
78731d0b96
MDL-60526 forms: Button elements should have type
...
The mform "buttons" should be of type "button", instead it's not specified so they get
the default of "submit". This is causing behat fails.
2017-11-22 13:25:31 +01:00
David Monllao
56a58d538c
MDL-59512 version: Following 2 digits scheme
2017-11-22 13:25:30 +01:00
David Monllao
ef1c918973
Merge branch 'MDL-59512-34' of git://github.com/Dagefoerde/moodle into MOODLE_34_STABLE
2017-11-22 13:25:30 +01:00
Jun Pataleta
3b9fce4e1c
Merge branch 'mdl58817-moodle34' of https://github.com/tlock/moodle into MOODLE_34_STABLE
2017-11-22 13:25:29 +01:00
Jun Pataleta
7b9e9eb98d
Merge branch 'MDL-60637-34' of git://github.com/lameze/moodle into MOODLE_34_STABLE
2017-11-22 13:25:29 +01:00
Ankit Agarwal
0456d880f0
MDL-60796 analytics: Fix phpdoc issues
2017-11-22 13:25:29 +01:00
Jun Pataleta
705776211a
Merge branch 'MDL-60780_34' of git://github.com/dmonllao/moodle into MOODLE_34_STABLE
2017-11-22 13:25:28 +01:00
Simey Lameze
94b8228ba1
MDL-60751 core_calendar: remove useless NULL_ALLOWED parameter
2017-11-22 13:25:28 +01:00
Sara Arjona
0b7d0d0f79
MDL-60830 core_enrol: Added email when searching users in course enrol
2017-11-22 13:19:49 +01:00
Damyon Wiese
c29501c06d
MDL-59970 competencies: performance
...
Remove useless get_records call in get_least_proficient_competencies_for_course function.
On big sites this would cause huge memory usage.
2017-11-22 15:37:19 +08:00
Ankit Agarwal
c152025706
MDL-60831 search: add BS classes to block elements
2017-11-22 12:31:56 +05:30
AMOS bot
0444dd2b70
Automatically generated installer lang files
2017-11-22 00:05:56 +00:00
Marina Glancy
15aded1e2a
MDL-56864 forms: allow to remove last tag with forced standard tags
2017-11-21 15:21:50 +08:00
Marina Glancy
cbff142b8e
MDL-56864 forms: boost templates don't allow remove last tag
2017-11-21 15:21:50 +08:00
Simey Lameze
ee16cb39bf
MDL-60637 core_group: fix unit tests failures
2017-11-21 10:02:16 +08:00
Simey Lameze
7f0eba32de
MDL-60637 group: remove useless id number validation on web services
2017-11-21 10:02:16 +08:00
David Monllao
144c9ba7c3
Merge branch 'MDL-60526-34' of git://github.com/damyon/moodle into MOODLE_34_STABLE
2017-11-20 13:44:02 +01:00
David Monllao
b676ff39a4
Merge branch 'MDL-60436-m34' of https://github.com/NeillM/moodle into MOODLE_34_STABLE
2017-11-20 13:26:12 +01:00
David Monllao
fe709d665d
Merge branch 'MDL-56253-34' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-11-20 12:55:39 +01:00
Simey Lameze
d692104051
MDL-60823 calendar: use first day of week on prepadding calc
2017-11-20 12:08:30 +01:00
Jake Dallimore
17ebd603e1
Merge branch 'MDL-60708-34' of git://github.com/jleyva/moodle into MOODLE_34_STABLE
2017-11-20 17:58:07 +08:00
David Monllao
b24eb6c565
Merge branch 'MDL-60842-34' of git://github.com/lameze/moodle into MOODLE_34_STABLE
2017-11-20 10:30:28 +01:00
Juan Leyva
c449504287
MDL-60708 mod_workshop: Return author feedback for submission
...
The feedback and grade information for submission should be returned
for teachers in the evaluation and closed phases.
2017-11-20 10:08:20 +01:00
Simey Lameze
8df6b374bb
MDL-60842 calendar: do not load all course fields
2017-11-20 16:55:24 +08:00
Juan Leyva
e84e1bbff3
MDL-60738 webservice: Clean theme and lang properly
...
Sometimes the "theme" and "lang" fields in the user and course tables
in the database are set to incorrect values (uninstalled or
non-existent themes and language packs).
This makes Web Services functions to fail because the WS server
validate the returned data using the validate_param function that clean
parameters.
2017-11-20 09:38:03 +01:00
Jakob Ackermann
3cfc322bdf
MDL-60187 mod_lti: Do not create a grade item when grades are disabled.
...
If the privacy option "Accept grades from the tool" is disabled, the
module should not appear in the gradebook when edited inline or when
recover grades is running during enrolment.
2017-11-20 21:33:50 +13:00
Damyon Wiese
6da402bf34
Merge branch 'MDL-60810_master' of git://github.com/markn86/moodle into MOODLE_34_STABLE
2017-11-20 15:58:58 +08:00
Damyon Wiese
126c58ede4
Merge branch 'MDL-60809-34' of git://git.cameron1729.xyz/moodle into MOODLE_34_STABLE
2017-11-20 15:31:08 +08:00
Damyon Wiese
6217d91173
Merge branch 'MDL-60806-34' of git://github.com/lameze/moodle into MOODLE_34_STABLE
2017-11-20 15:25:44 +08:00
Jake Dallimore
d28be61fb5
Merge branch 'MDL-60824-34-profilefield' of git://github.com/mudrd8mz/moodle into MOODLE_34_STABLE
2017-11-20 15:07:00 +08:00
Luca Bösch
a96ef27857
MDL-56253 grade: have coursemodule name pass filters.
2017-11-20 06:44:25 +01:00
Damyon Wiese
255541d592
Merge branch 'MDL-27886-master' of git://github.com/tobiasreischmann/moodle into MOODLE_34_STABLE
2017-11-20 13:26:06 +08:00
Simey Lameze
19b4c997e9
MDL-60806 core_calendar: return hidden categories
2017-11-20 12:18:24 +08:00
Jake Dallimore
93819366a4
Merge branch 'MDL-60835-34' of git://github.com/crazyserver/moodle into MOODLE_34_STABLE
2017-11-20 11:31:57 +08:00
Jun Pataleta
7726e2e2d6
Merge branch 'master_MDL-60253' of https://github.com/CengageEng/moodle into MOODLE_34_STABLE
2017-11-20 13:21:47 +13:00
AMOS bot
d95ccdd4ec
Automatically generated installer lang files
2017-11-20 00:05:51 +00:00
Jun Pataleta
5698d90e6a
Merge branch 'MDL-55808_master' of git://github.com/juancs/moodle into MOODLE_34_STABLE
2017-11-20 10:35:54 +13:00
Neill Magill
44b87b5d95
MDL-60436 blocks: Unit test for dashboard block positioning
2017-11-17 14:11:01 +00:00
Neill Magill
334412f1cc
MDL-60436 blocks: Improve performance of block loading
2017-11-17 14:10:12 +00:00
yair.spielmann
afcb4cd69a
MDL-59512 tool_oauth2: add option for basic authentication
2017-11-17 10:22:01 +01:00
Damyon Wiese
d8a7c52ee6
MDL-60249 assign: resize quickgrade textareas
...
The Bootstrap CSS reset prevents horizontal resizing of textareas. We want to allow it in the quickgrading ui.
2017-11-17 14:55:46 +08:00
Andrew Nicols
05a70bac38
MDL-60773 core: Add pendingJS checks for autocomplete interactions
2017-11-17 14:11:56 +08:00
David Mudrák
951f10fd3e
MDL-60824 profile: Fix handling of to-be-created user id
...
The script user/editadvanced.php uses special value of userid = -1 for
the case when a new user is being created. Such a value passes the
non-empty check and would lead to "invaliduser" error.
2017-11-16 22:11:13 +01:00
Juan Leyva
10a5e2a8de
MDL-60813 calendar: Fix core_calendar_get_calendar_events for categories
...
Users couldn’t see category events when filtering by categories in the
core_calendar_get_calendar_events WS.
2017-11-16 19:16:46 +01:00
Pau Ferrer Ocaña
82c32f9a80
MDL-60835 completion: Add overrideby field to completion status WS
2017-11-16 16:37:35 +01:00
David Monllao
17ae93679d
MDL-60780 analytics: Prevent timing issues
2017-11-16 09:18:31 +01:00
Jake Dallimore
27ffa62131
MDL-58272 core_files: get converters from file extension not mimetype
2017-11-16 15:50:58 +08:00
Cameron Ball
97a4db9c97
MDL-60809 xmlrpc: Include filelib when making xmlrpc call
2017-11-16 14:47:41 +08:00
Jake Dallimore
6f1a49b8b7
weekly release 3.4+
2017-11-16 11:13:12 +08:00
David Monllao
740807d2e3
Merge branch 'MDL-60789-34' of git://github.com/sarjona/moodle into MOODLE_34_STABLE
2017-11-15 10:37:57 +01:00
Damyon Wiese
066b01a788
Merge branch 'wip-MDL-59876-34' of git://github.com/abgreeve/moodle into MOODLE_34_STABLE
2017-11-15 10:37:56 +01:00
Damyon Wiese
e7b4c991ee
MDL-60526 forms: Prevent duplicate type attributes
...
The exporter for mform elements does not skip "type" (which is included as a separate value).
2017-11-15 11:54:21 +08:00
Adrian Greeve
42ee1fc276
MDL-59876 core_user: Add required library for function.
...
The external service create_users has a function call to
useredit_update_user_preference() that requires editlib.php
2017-11-15 11:49:18 +08:00
Damyon Wiese
d56935d66f
Merge branch 'MDL-60675-34' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
2017-11-14 17:07:08 +08:00
Mihail Geshoski
9e2565d84d
MDL-60675 analytics: Apply strict comparison check
2017-11-14 16:31:13 +08:00
Sara Arjona
73c72b4148
MDL-60789 workshop: Check title submission maxlength
2017-11-14 08:46:46 +01:00
Jake Dallimore
244af9a0da
Merge branch 'MDL-60741' of git://github.com/timhunt/moodle into MOODLE_34_STABLE
2017-11-14 15:28:38 +08:00
Jun Pataleta
2eb043fb36
Merge branch 'm34_MDL-59099_MySQL8_InnoDB_Params_Removed' of https://github.com/scara/moodle into MOODLE_34_STABLE
2017-11-14 12:23:09 +13:00
Damyon Wiese
2454da368a
Merge branch 'MDL-60693_34-backup-multilang-activities' of https://github.com/lucaboesch/moodle into MOODLE_34_STABLE
2017-11-13 14:38:04 +08:00
Damyon Wiese
8e899e949d
Merge branch 'MDL-60675-master' of git://github.com/mihailges/moodle into MOODLE_34_STABLE
2017-11-13 14:11:33 +08:00
Jake Dallimore
6b0b697fb8
Merge branch 'MDL-60707' of git://github.com/aolley/moodle into MOODLE_34_STABLE
2017-11-13 13:27:14 +08:00
Damyon Wiese
9a854a2fc9
Merge branch 'MDL-59876-master' of git://github.com/jleyva/moodle into MOODLE_34_STABLE
2017-11-13 11:07:25 +08:00
Damyon Wiese
b6f1cf03e3
Merge branch 'MDL-60784_34' of git://github.com/stronk7/moodle into MOODLE_34_STABLE
2017-11-13 10:41:05 +08:00
Tim Lock
d26cdca687
MDL-58817 mod_lti: cartridge: maintain custom icons
2017-11-13 10:18:02 +10:30
Eloy Lafuente (stronk7)
dbeee32b59
MDL-60784 upgrade: add 3.4.0 separation line to all upgrade scripts
2017-11-12 18:46:00 +01:00
Luca Bösch
0a8663b425
MDL-60693 backup: Use multilang with course activities
...
On backup and restore, activities are shown after passing format_string,
supporting multilang.
2017-11-12 14:56:14 +01:00
Eloy Lafuente (stronk7)
665c3ac59c
Moodle release 3.4
2017-11-11 19:31:19 +01:00
Eloy Lafuente (stronk7)
07c0bb10fb
NOBUG: Change travis.yml to MOODLE_34_STABLE
2017-11-11 19:31:18 +01:00
Eloy Lafuente (stronk7)
cf57ee9285
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-11-11 19:31:14 +01:00
Eloy Lafuente (stronk7)
d334aea208
Merge branch 'MDL-60779-master' of git://github.com/junpataleta/moodle
2017-11-11 13:03:54 +01:00
Jun Pataleta
0cf288757d
MDL-60779 calendar: Pass correct parameters for get_calendar_X_view()
2017-11-11 22:28:38 +13:00
AMOS bot
695cd06817
Automatically generated installer lang files
2017-11-11 00:05:36 +00:00
David Monllao
ab9936962e
Moodle release 3.4rc3
2017-11-10 15:15:37 +01:00
David Monllao
d39fcc420e
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-11-10 15:15:35 +01:00
David Monllao
08641175b3
Merge branch 'MDL-60764' of git://github.com/stronk7/moodle
2017-11-10 10:20:25 +01:00
Eloy Lafuente (stronk7)
66aee746e3
MDL-60764 versions: remove some outdated releases in requires
2017-11-10 09:45:56 +01:00
Damyon Wiese
f738fc8efd
Merge branch 'MDL-60763-master' of git://github.com/andrewnicols/moodle
2017-11-10 13:57:04 +08:00
Andrew Nicols
27973b545c
MDL-60763 calendar: Use PHP concat, not JS
2017-11-10 13:56:39 +08:00
Damyon Wiese
3192438075
Merge branch 'MDL-60763-master' of git://github.com/andrewnicols/moodle
2017-11-10 13:47:05 +08:00
Andrew Nicols
41b7375c07
MDL-60763 core_calendar: Deprecate calendar_get_upcoming
2017-11-10 13:45:32 +08:00
Jun Pataleta
cb04dcf4ce
Merge branch 'MDL-60771-master' of git://github.com/lameze/moodle
2017-11-10 18:03:49 +13:00
Jun Pataleta
c3925187ed
Merge branch 'MDL-60758_master' of git://github.com/dmonllao/moodle
2017-11-10 17:21:15 +13:00
Damyon Wiese
4ceece6ea1
Merge branch 'MDL-60749-master' of git://github.com/sarjona/moodle
2017-11-10 12:05:46 +08:00
Jun Pataleta
cfbc820e1b
Merge branch 'MDL-60766-master' of git://github.com/ryanwyllie/moodle
2017-11-10 17:02:41 +13:00
Simey Lameze
fbbcf45ef2
MDL-60771 mod_scorm: typecast score to integer
2017-11-10 12:00:17 +08:00
Andrew Nicols
6e2d8c121b
Merge branch 'MDL-52838-master' of git://github.com/damyon/moodle
2017-11-10 11:38:13 +08:00
Damyon Wiese
6b2a9a6fb8
Merge branch 'MDL-60765-master' of git://github.com/andrewnicols/moodle
2017-11-10 10:55:09 +08:00
Mihail Geshoski
ae4522ff55
MDL-60675 analytics: Error when selecting invalid insight
2017-11-10 10:43:51 +08:00
Andrew Nicols
fb5bbf1424
MDL-60765 theme: Make inplace-autocomplete rule more specific
...
This change was intended to fix an issue with the autocomplete in RTL,
but was applied to all inplace-editables.
2017-11-10 10:29:11 +08:00
Damyon Wiese
ce225e1c5e
MDL-52838 workshop: Each criterion > 0 levels
...
Add validation to the edit assessment form so each criterion in a rubric requires at least one level.
2017-11-10 10:22:27 +08:00
Ryan Wyllie
08b7558483
MDL-60766 block_calendar_upcoming: stop summary modal not logged in
...
Stopped the JS from running on the block when the user is not logged in
because it attempts to load a summary modal when an event is clicked on
which results in a failed call to a webservice.
2017-11-10 02:20:32 +00:00
Andrew Nicols
9dead25fd5
MDL-60763 core_calendar: Revert removal of calendar_get_upcoming
...
This reverts part of commit 522b84be04 .
2017-11-10 10:11:42 +08:00
Ryan Wyllie
eac88b955f
MDL-60766 block_calendar_month: hide nav when not logged in
2017-11-10 02:07:50 +00:00
Eloy Lafuente (stronk7)
438c98cc98
MDL-60764 versions: main version bump
2017-11-10 02:56:14 +01:00
Eloy Lafuente (stronk7)
ba854606e6
MDL-60764 versions: bump all versions and requires near release
...
version = 2017111300 release version
requires= 2017110800 current rc2 version
2017-11-10 02:52:53 +01:00
Jake Dallimore
f5b63fc829
Merge branch 'MDL-60760_master' of git://github.com/dmonllao/moodle
2017-11-10 09:32:17 +08:00
Andrew Nicols
6996fbaa0e
MDL-60763 core_calendar: Revert removal of calendar_get_upcoming
...
Revert "MDL-60092 core_calendar: remove unused calendar_get_upcoming method"
This reverts commit 4259387ebb .
2017-11-10 08:11:36 +08:00
David Monllao
20305a8a8f
MDL-60758 tool_analytics: Skip guess start if higher than guess end
2017-11-09 17:11:34 +01:00
David Monllao
5da020169e
MDL-60760 tool_analytics: No onlycli link for managers
2017-11-09 17:05:08 +01:00
Sara Arjona
2f673d8b6a
MDL-60749 scorm: Remove from files when downloading
2017-11-09 10:15:03 +01:00
Sara Arjona
4bcb0a9a1d
MDL-60550 user: Add more restrictions in keyword searches
...
Original patch provided by Tim Schroeder.
2017-11-09 16:29:29 +08:00
David Monllao
a4e0b7468c
Merge branch 'MDL-60718-master' of git://github.com/sarjona/moodle
2017-11-09 09:27:01 +01:00
David Monllao
7fdcdc04ff
Merge branch 'MDL-60615-master' of git://github.com/damyon/moodle
2017-11-09 08:48:48 +01:00
Damyon Wiese
bef5a8ca10
Merge branch 'MDL-60752-master' of git://github.com/andrewnicols/moodle
2017-11-09 15:08:11 +08:00
Damyon Wiese
246698e779
MDL-60615 imscc: string to array fix
...
Sloppy typing in the imscc converter is causing errors on php7.1
Variable is initialised as a string and then used as an array.
2017-11-09 15:05:36 +08:00
Jake Dallimore
4f3262fede
Merge branch 'MDL-60753_master' of git://github.com/markn86/moodle
2017-11-09 14:47:23 +08:00
Andrew Nicols
f169f4fd21
MDL-60752 lti: Compare text in types_config properly
2017-11-09 14:25:51 +08:00
Mark Nelson
d48d1ba19a
MDL-60753 report_competency: fixed dialogue failing to show
2017-11-09 14:11:24 +08:00
Jun Pataleta
7a571b813a
Merge branch 'MDL-60628-master' of git://github.com/lameze/moodle
2017-11-09 17:08:46 +13:00
Simey Lameze
754016ab33
MDL-60628 calendar: amend web service unit test
2017-11-09 11:43:49 +08:00
Simey Lameze
10c17dcc10
MDL-60628 calendar: support category events on get_calendar_events ws
2017-11-09 11:29:07 +08:00
Andrew Nicols
5518a32de5
Merge branch 'MDL-60579-master-fix2' of https://github.com/damyon/moodle
2017-11-09 11:18:14 +08:00
Damyon Wiese
56f05f23c6
MDL-60579 user: Don't lose text filters
...
When replacing a group filter with a different group filter - don't forget all the current text filters that have
been applied.
2017-11-09 11:06:30 +08:00
Damyon Wiese
bb869f05e8
MDL-60579 user: Move defines into library
...
Entry page user/index.php was defining constants that were used by the renderer.
This means the renderer was tied to user/index.php.
2017-11-09 11:06:30 +08:00
Andrew Nicols
7cf4331a6f
MDL-60579 user: Correct PARAM type for filters
...
Damyon pointed out during the integration of this fixset, that the
PARAM type is incorrect.
2017-11-09 10:07:13 +08:00
Andrew Nicols
762f8dc1db
MDL-60579 user: Add missing case breaks
2017-11-09 09:07:34 +08:00
Andrew Nicols
a997dc9da5
MDL-60579 user: Correct search for strings
2017-11-09 09:07:21 +08:00
Andrew Nicols
446b21b512
MDL-60579 user: Check filter strings have correct part count
2017-11-09 09:07:02 +08:00
Andrew Nicols
3968d2ca7e
MDL-60579 user: Prevent behat from interacting til setup complete
2017-11-09 09:05:22 +08:00
Adam Olley
7f83e99e5f
MDL-60707 core_search: In tests, use faked time for indexing length
...
Without this change its possible that the unit tests will fail at any time.
Before this change the indexing time is measured by real-time, not fake time,
making all index timings 0.
This happens as PHP offers no guarantee around the sort-order of an array for
any given two members that equate as equal. It just happens to pass for the
current array of search areas in vanilla Moodle.
2017-11-09 10:49:53 +10:30
AMOS bot
68c580c903
Automatically generated installer lang files
2017-11-09 00:05:00 +00:00
Sara Arjona
0c0d460e8b
MDL-60718 analytics: Avoid duplicates for users with 2 enrolments
2017-11-08 19:12:59 +01:00
David Monllao
ed0e2cea00
Merge branch 'MDL-60732-master' of git://github.com/damyon/moodle
2017-11-08 17:48:07 +01:00
David Monllao
7effd6dd79
Merge branch 'MDL-60720-master' of https://github.com/sammarshallou/moodle
2017-11-08 17:27:15 +01:00
David Monllao
29adfbc3c8
Merge branch 'MDL-58699-master' of git://github.com/damyon/moodle
2017-11-08 15:56:25 +01:00
Tim Hunt
d00007bc45
MDL-60741 purgecaches: did not correctly setup the admin page
...
Note that, admin_externalpage_setup does the right capability check.
2017-11-08 14:30:27 +00:00
David Monllao
4e73acf3cf
Merge branch 'MDL-60579-master' of https://github.com/mihailges/moodle
2017-11-08 12:16:20 +01:00
David Monllao
fcafb22c22
MDL-60733 oauth: Remove outdated comment
2017-11-08 12:04:31 +01:00
David Monllao
6463a047a2
Merge branch 'MDL-60733-master' of git://github.com/damyon/moodle
2017-11-08 12:03:43 +01:00
Damyon Wiese
a471bc4971
MDL-60732 core_user: Show group filters
...
Always show the group filters, even if the course is in NO_GROUPS mode.
2017-11-08 16:45:42 +08:00
Damyon Wiese
d3882ea4a3
MDL-60733 core: B/C for google_oauth
...
The google_oauth class extends oauth2client which was modified to send "Accept" headers.
The "Accept" headers break picasa and could break any other plugin that was using google_oauth.
2017-11-08 15:41:53 +08:00
sam marshall
4b0facc984
MDL-60720 core_search: Indexing halts on failed get_document
...
The recordsets used for search indexing sometimes return results
which are invalid (e.g. cannot be found in database). When this
happens, the result in the iterator for the recordset will be
false. Due to a bug, the iterator used to stop when it encountered
a false value, which prevented indexing from getting past the
problematic record.
In addition, the iterator that skips future data resulted in the
current() function of its parent indicator being called twice per
entry, which meant that search indexing called get_document()
twice as many times.
2017-11-07 16:36:37 +00:00
Juan Leyva
abdb8f59a5
MDL-59876 webservice: Fix the user preference name field type
...
Web Services from user and enrol components has been updated to change
the user preference name field type from PARAM_ALPHANUMEXT to
PARAM_RAW.
The old type was not matching the core functionality.
2017-11-07 16:44:48 +01:00
Mihail Geshoski
c835126185
MDL-60579 enrolments: Applied filters lost on certain actions
...
AMOS BEGIN
CPY [invalidrequest,enrol_lti],[invalidrequest,enrol]
AMOS END
2017-11-07 16:17:00 +08:00
Damyon Wiese
65c52e05d1
MDL-58699 mod_quiz: Require javascript for popup
...
If any of the access rules require the attempt to open in a new window, assume we
require javascript to attempt the quiz. This makes it harder to bypass the javascript
pseudo security restrictions.
2017-11-07 12:48:21 +08:00
Tobias Reischmann
34eb2faa0d
MDL-27886 backup: Decision if a setting is fixed based on level
...
Previously, when a during backup/restore the "Schema"-stage is loaded,
some settings are fixed if they are LOCKED_BY_HIERARCHY. However, user
data fields of activities can be locked, when the section they are
contained in has user data set to false. When this setting is changed on
the same screen, the fixed setting of the activity can not be "unfixed"
by javascript.
This patch adds a settings-level to the call of is_changeable. With this
only those dependency_settings are considered, which belong to parent
settings, which are not changeable on the current stage.
2017-11-06 12:07:20 +01:00
Tobias Reischmann
8c067bb86d
MDL-27886 backup: Enabled unlocking of backup settings
...
The function is_locked was changed to determine only, if the
dependency_setting want's the dependent setting to be locked.
In the previous version, is_locked did not only check, if the
dependency_setting want's the setting to be locked, but also if the
setting was already locked. A recursive call to the status of the
dependent setting leaded to problems, when unlocking locked settings.
Also the PHPDOC of the is_locked was adjusted to coincide with the current
usage in backup_ui_settings->is_changeable() and
base_setting->set_status(). In both functions all dependency_settings of
a setting are iterated to check if this setting should be or is LOCKED_BY_HIERARCHY.
The actual state of the setting was therefore either checked beforehand
or is not interesting, since the question is, if it shall be changed.
2017-11-06 12:07:20 +01:00
Tobias Reischmann
77a4d33755
MDL-27886 backup: Added behat tests for user data settings
...
This new test defines different combinations of global and local user
data settings during the restore process and tests that global defaults
can be overriden.
2017-11-06 12:07:20 +01:00
Matteo Scaramuccia
740a9315c3
MDL-59099 dml: MySQL8 supports only the Barracuda file format.
...
The following InnoDB file format configuration parameters were deprecated
in MySQL 5.7.7 and are now removed:
- innodb_file_format
- innodb_file_format_check
- innodb_file_format_max
- innodb_large_prefix
File format configuration parameters were necessary for creating tables
compatible with earlier versions of InnoDB in MySQL 5.1.
Now that MySQL 5.1 has reached the end of its product lifecycle,
the parameters are no longer required.
The FILE_FORMAT column was removed from the INNODB_SYS_TABLES and
INNODB_SYS_TABLESPACES Information Schema tables.
Ref: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-0.html
2017-10-27 17:38:36 +02:00
Juan Segarra Montesinos
f8c0b9e71f
MDL-55808 mod_glossary: Search glossary entries with ratings enabled doesn't work
2017-10-13 17:12:37 +02:00
Vervoort, Claude
18ae59bea1
MDL-60253 lti: also consider securetoolurl for URL match
2017-09-27 13:26:42 -04:00