Sara Arjona
a26cfe71d3
MDL-65809 upgrade: clean < 3.5.0 upgrade steps
...
This just deletes all the upgrade steps previous to 3.5.0. Some
small adjustments, like tweaking globals can also be applied
when needed.
Also includes an upgrade step to prevent upgrading from any
version < 2018051700 (v3.5.0) as anti-cheating measure.
Previous commits have removed/deprecated all the upgradelib functions
not used anymore in codebase. Deletion has been documented in corresponding
upgrade.txt files:
- upgrade_fix_block_instance_configuration()
- upgrade_theme_is_from_family(), upgrade_find_theme_location()
and linkcoursesectionsupgradescriptwasrun setting
- upgrade_block_positions
- upgrade_fix_config_auth_plugin_names()
and upgrade_fix_config_auth_plugin_defaults()
- format_xxx_upgrade_remove_numsections(), format_xxx_upgrade_hide_extra_sections()
and format_xxx_upgrade_add_empty_sections()
- filter_mathjaxloader_upgrade_cdn_cloudflare()
and filter_mathjaxloader_upgrade_mathjaxconfig_equal()
- get_assignments_with_rescaled_null_grades()
These have been kept because continue being used by restore:
- \core\task\refresh_mod_calendar_events_task
2019-12-20 12:20:43 +01:00
Sara Arjona
e49543e8e9
MDL-67042 customfield: Add behat tests to check hidden fields
...
Fields with the visibility different to Everyone should
be never displayed in the available filters custom field.
2019-11-22 09:57:10 +01:00
Sara Arjona
5a119f31f4
MDL-67042 customfield: Display only fields visible to everybody
...
When defining the available filters for the Dashboard, only the
fields visible to everyone should be displayed in the Custom field
filter.
2019-11-22 09:10:52 +01:00
Jake Dallimore
e9b0505720
Merge branch 'MDL-67035' of https://github.com/stronk7/moodle
2019-11-21 11:55:07 +08:00
Eloy Lafuente (stronk7)
492d047d11
MDL-67284 upgrade: add 3.8.0 separation line to all upgrade scripts
2019-11-17 11:40:19 +01:00
Eloy Lafuente (stronk7)
6783adc239
MDL-67035 tags: fix nested ternary operators to be php74 compliant
...
Nesting ternary operators without explicit parentheses is deprecated:
// Code like
$a ? $b : $c ? $d : $e
// should be replaced by (current interpretation)
($a ? $b : $c) ? $d : $e
// or (likely intended interpretation)
$a ? $b : ($c ? $d : $e)
2019-11-16 20:03:47 +01:00
Eloy Lafuente (stronk7)
d5be859063
MDL-67199 versions: bump all versions and requires near release
...
version = 2019111800 release version
requires= 2019111200 current beta (week7roll1) version
2019-11-12 17:57:08 +01:00
Juan Leyva
ff490afbff
MDL-67167 block: Force returned configuration values to be JSON encoded
...
Contributed plugins may set non-scalar values as valid instance configuration values (the core RSS client block does the same)
2019-11-07 13:29:52 +01:00
Adrian Greeve
2907f45106
Merge branch 'MDL-67047-master' of git://github.com/jleyva/moodle
2019-11-05 13:09:06 +08:00
Helen Foster
7ac4c9c1f6
MDL-66990 lang: Import fixed English strings (en_fix)
...
Significant string changes:
* hidegrader_help,mod_assign - note about setting having no effect on
comments box
* configdefaultrequestcategory, configenablecourserequests,
configlockrequestcategory, lockrequestcategory, core_admin - clearer
explanation
* configenablecompletion,core_completion - including reason for setting
activity completion conditions
* emailstop,core - clearer wording
* setuplink_desc,tool_mobile - including where the app download page
link is displayed and leaving the setting empty
2019-11-01 11:16:10 +01:00
Juan Leyva
52e0935691
MDL-67047 block_myoverview: Return custom fields selector values
2019-10-31 14:24:25 +01:00
Sara Arjona
810d7a3d2e
MDL-66609: core_h5p: Add <component>_get_path_from_pluginfile method
...
This method has been added to all the components having some exceptions
with the way they treat the itemid in the pluginfile paths.
2019-10-29 10:22:43 +08:00
Jake Dallimore
ebca610a44
Merge branch 'MDL-65400-master' of git://github.com/jleyva/moodle
2019-10-24 09:28:31 +08:00
Juan Leyva
bc72a54cb1
MDL-65400 block: Support returning settings for core blocks
2019-10-23 15:33:56 +02:00
Juan Leyva
c9acdfb6dc
MDL-65400 block: Support getting block settings via WS
2019-10-23 15:33:56 +02:00
Jake Dallimore
c3f726a0e5
Merge branch 'MDL-66612-master' of git://github.com/crazyserver/moodle
2019-10-21 16:06:50 +08:00
Pau Ferrer Ocaña
375d82cafc
MDL-66612 calendar: Change global events to site events
...
AMOS BEGIN
CPY [category,moodle],[category,calendar]
CPY [site,notes],[eventtypesite,calendar]
CPY [site,moodle],[site,calendar]
MOV [typesite,moodle],[siteevent,calendar]
AMOS END
2019-10-21 09:33:01 +02:00
Eloy Lafuente (stronk7)
7d21639465
Merge branch 'MDL-64064' of https://github.com/NeillM/moodle
2019-10-17 23:08:58 +02:00
Eloy Lafuente (stronk7)
847848909e
Merge branch 'MDL-66851-master' of git://github.com/mihailges/moodle
2019-10-13 16:34:50 +02:00
Neill Magill
af9a834d74
MDL-64064 block_timeline: Confusing when event is not in this year
...
If an event is not in the current year it can be confusing as the
months and days may appear to be in the wrong order.
This change adds the year to the displayed date to make the reason
for the order clear.
2019-10-11 08:37:31 +01:00
Davo Smith
629699355c
MDL-66017 block_myoverview: Oracle compatibility fix
2019-10-11 00:09:56 +02:00
Sara Arjona
b968900509
Merge branch 'MDL-66017_course_filter_rebase' of git://github.com/davosmith/moodle
2019-10-10 08:33:07 +02:00
Davo Smith
8d166d7745
MDL-66017 block_myoverview: filter by custom course field
2019-10-09 14:25:52 +01:00
Jake Dallimore
2cee7e2dfc
Merge branch 'MDL-64745-master-1' of git://github.com/mihailges/moodle
2019-10-09 15:58:50 +08:00
Mihail Geshoski
0b802432ca
MDL-66851 block_starredcourses: Hide 'hidden' courses from students
...
Thanks to Mark Sharp for the bug report and fix suggestion.
2019-10-08 09:52:37 +08:00
Alexander Bias
1ce19cc3ed
MDL-66753 blocks: Remove references in core to block_participants
2019-10-07 08:34:20 +02:00
Alexander Bias
7ce941a455
MDL-66753 blocks: Remove block_participants from core
2019-10-07 08:34:20 +02:00
Mihail Geshoski
0a9150c009
MDL-64745 block_online_users: Add behat tests
2019-10-07 09:00:33 +08:00
Mihail Geshoski
e94de2d6d3
MDL-64745 block_online_users: Add unit tests
2019-10-07 09:00:33 +08:00
Mihail Geshoski
e1fb8e4aec
MDL-64745 block_online_users: Option to disable users to set visibility
2019-10-07 09:00:33 +08:00
Neill Magill
b3a0f15444
MDL-65522 block_social_activities: Improve behat steps documentation
...
The documentation for these steps was not helpful in the Acceptance
testing admin tool page.
2019-09-30 08:56:31 +01:00
Sara Arjona
84d613deee
Merge branch 'MDL-64438-master-4' of git://github.com/mihailges/moodle
2019-09-18 12:52:12 +02:00
Mihail Geshoski
60983cc2a6
MDL-64438 block_starredcourses: Optionally show course category
...
AMOS BEGIN
CPY [displaycategories,block_myoverview],[displaycategories,block_starredcourses]
AMOS END
2019-09-18 17:58:24 +08:00
Mihail Geshoski
d0b237b306
MDL-64438 block_recentlyaccessedcourses: Optionally show course category
...
AMOS BEGIN
CPY [displaycategories,block_myoverview],[displaycategories,block_recentlyaccessedcourses]
AMOS END
2019-09-18 17:57:47 +08:00
Mihail Geshoski
93ad530e8f
MDL-64438 block_myoverview: Optionally display course category
2019-09-18 17:55:46 +08:00
Jake Dallimore
61de432241
MDL-66156 block_myoverview: remove orphaned course favourite records
2019-09-18 14:33:06 +08:00
Jake Dallimore
2ab6f8a87e
MDL-66156 block_myoverview: purge course favourites on course deletion.
2019-09-18 14:30:54 +08:00
Jake Dallimore
28be82a6a6
Merge branch 'MDL-66550-master' of git://github.com/andrewnicols/moodle
2019-09-11 10:39:17 +08:00
Eloy Lafuente (stronk7)
6511a64fa5
Merge branch 'MDL-65310-master' of https://github.com/tsmilan/moodle
2019-09-11 00:41:22 +02:00
Andrew Nicols
d10ed4d240
MDL-66550 behat: Standardise finding in core functionality
2019-09-10 21:29:03 +08:00
Neill Magill
d2262ecea5
MDL-64094 dashboard: Remove unnecesary behat steps
...
We do not need to explicitly log out at the end of a behat test, the
browser session is killed automatically during the scenario teardown.
2019-09-06 08:59:18 +01:00
Neill Magill
74d7ab50fd
MDL-64094 dashboard: Improve the nomenclature
...
The use of hidden for the course tiles on the course overview is
causing some users to confuse it with course visibility to students
this change aims to make it clear that the functionality only affects
the user's own instance of the block.
2019-09-06 08:59:18 +01:00
Trisha Milan
ff649d7bd4
MDL-65310 block_timeline: Hide activities without due date
2019-09-06 13:46:19 +10:00
Eloy Lafuente (stronk7)
ea1283ddca
Merge branch 'MDL-66120-master' of git://github.com/peterRd/moodle
2019-09-03 12:27:34 +02:00
Peter
1d6f041a2e
MDL-66120 block_community: Remove community block and related caps
...
With the sunsetting of moodle.net, the community block will no longer
be functional, so removing the block and related caps
2019-09-03 09:30:50 +08:00
Helen Foster
7ee90659ee
MDL-66504 lang: Import fixed English strings (en_fix)
...
Significant string changes:
- configgeneralfiles,core_backup - includes explanation of implications
of settings
- mobilenotificationsdisabledwarning,tool_mobile - location corrected
- statsreport14,core - 'views/posts' corrected to 'posts/views'
- err_nousers,core_completion - explanation of who completion
- information is displayed for errorcourselisting,block_community - note
about sunsetting moodle.net
2019-09-01 12:31:15 +02:00
Adrian Greeve
1084baf811
Merge branch 'MDL-66016-master' of git://github.com/abias/moodle
2019-08-27 09:32:42 +08:00
Alexander Bias
8196aa4437
MDL-66016 block_myoverview: Improve settings page
2019-08-23 20:44:19 +02:00
Alexander Bias
2276614cd8
MDL-66016 block_myoverview: Make course filter options configurable
2019-08-23 20:44:19 +02:00
Alexander Bias
cd4abbc740
MDL-66016 block_myoverview: Add 'All' course filter
2019-08-23 20:44:19 +02:00