Commit Graph

1431 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7) cd4d387936 Merge branch 'MDL-70648-master' of git://github.com/lameze/moodle 2021-02-01 19:13:47 +01:00
Simey Lameze e8bd3b41a3 MDL-70648 calendar: upgrade step to delete wrong cat events 2021-01-20 09:36:24 +08:00
Eloy Lafuente (stronk7) 77342b96fc MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps
This just deletes all the upgrade steps previous to 3.6.0. Some
small adjustments, like tweaking globals can also be applied
when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2018120300 (v3.6.0) as anti-cheating measure.

Note that in this case, there wasn't any case of upgradelib
functions being used, hence we haven't to deprecate/remove
anything in codebase. When there is such a need, that is done
in separate commits (one for each function) and documented here.

See MDL-65809 commits for an example removing/deprecating a
good number of functions.
2021-01-13 19:11:19 +01:00
Tim Hunt a6edd14d27 MDL-70285 completion upgrade: fix performance of the MDL-69687 code 2020-11-23 20:46:48 +00:00
Peter Dias 8e3031aed0 MDL-50955 core: Reset lessons completion criteria if grade type is none 2020-11-16 15:12:34 +08:00
Peter Dias df177126af MDL-70073 badges: Fix the master upgrade savepoint 2020-11-02 10:17:30 +08:00
Jake Dallimore 62e5852f36 Merge branch 'MDL-70010' of https://github.com/stronk7/moodle 2020-10-28 11:07:19 +08:00
Andrew Nicols d5be288740 MDL-69166 core: Fix upgrade step savepoint 2020-10-27 13:12:59 +08:00
Andrew Nicols 931f36ce15 Merge branch 'MDL-69166-master-4' of git://github.com/rezaies/moodle 2020-10-27 12:47:50 +08:00
Shamim Rezaie d5a9d6e520 MDL-69166 core_payment: Rename componentid to itemid 2020-10-27 15:34:56 +11:00
Shamim Rezaie 410973cf10 MDL-69166 Replace all upgrade steps with just "create_table" steps 2020-10-27 15:34:54 +11:00
Shamim Rezaie 61766b3d11 MDL-69166 core_payment: Add paymentarea to the payment subsystem 2020-10-27 14:40:49 +11:00
Marina Glancy 409857a42f MDL-69166 core_payment: archiving accounts, triggering events, tests 2020-10-27 14:40:49 +11:00
Marina Glancy 6ff3087fe6 MDL-69166 core_payment: add payment accounts 2020-10-27 14:40:49 +11:00
Shamim Rezaie 52ed1392f8 MDL-69166 core_payment: Save general payment information 2020-10-27 14:37:28 +11:00
Sara Arjona c7d9b12994 MDL-65959 core_badges: fix unique index in upgrade.php
There was an error when creating the unique index. Apart from that,
the code has been reorganised to copy data in the new structure only
if password field hasn't been removed.
2020-10-26 23:56:04 +01:00
Sara Arjona 5deb0dad76 Merge branch 'MDL-65959-master' of git://github.com/peterRd/moodle 2020-10-26 22:39:28 +01:00
Peter Dias 3cae9421a8 MDL-65959 badges: Update the implementation to use admin set backpack 2020-10-27 00:27:19 +08:00
Peter b6435e0934 MDL-65959 core_badges: Allow ability to upload badges cross domain. 2020-10-27 00:27:18 +08:00
Eloy Lafuente (stronk7) 0dbeb9748b MDL-70010 core: reconcile MOODLE_310_STABLE and master
There are some unexpected differences between 310 and master,
better reconcile them now. Note this is not 100% critical but,
as far as nothing exclusively for 4.0 has landed to master yet
only branch/version differences should exist.
2020-10-26 10:48:53 +01:00
Michael Hawkins 840bcd8810 MDL-69559 course: Add course setting and cap to control course downloads 2020-10-26 10:00:47 +08:00
Peter 1c4620bce6 MDL-65959 core_badges: Unrestricted user's badger account
* Restructure the email to be backpack specific
* Amended table defintion and functions
2020-10-25 23:03:59 +08:00
Eloy Lafuente (stronk7) 284d0ae8f8 Merge branch 'MDL-66392' of https://github.com/paulholden/moodle into master 2020-10-21 19:43:13 +02:00
Paul Holden cecd90ffec MDL-66392 analytics: make model output directory default to empty.
Falling back to path within $CFG->dataroot/models.
2020-10-21 18:04:26 +01:00
Jake Dallimore 3d0f28ebb8 Merge branch 'MDL-69751-master' of git://github.com/mihailges/moodle 2020-10-21 10:05:16 +08:00
Adrian Greeve 33831f6e21 Merge branch 'master-MDL-68284' of https://github.com/yao9394/moodle 2020-10-20 08:48:05 +08:00
Mihail Geshoski e412f3029e MDL-69751 core: Restore deleted guest user and add missing context
This upgrade step fixes the cases where the current guest user is
labelled as 'deleted' and the related user context is missing.
2020-10-20 08:37:44 +08:00
sam marshall 4dcca1b084 MDL-69687 Course: remove_course_contents orphaned completion data
The remove_course_contents function did not delete data from
course_module_completion table in most cases, resulting in large
quantities of orphaned data.
2020-10-19 10:26:12 +01:00
Sagar Ghimire a0ffd0de5f MDL-68284 gradebook: Prevent exposing hidden quiz grade item 2020-10-16 15:08:08 +11:00
Sara Arjona 6171c4bbe8 MDL-69520 core_h5p: add example and tutorial links 2020-10-14 17:47:46 +02:00
Eloy Lafuente (stronk7) 753bda3d58 Merge branch 'MDL-69760-master' of https://github.com/inkjet2000/moodle into master 2020-10-08 00:23:47 +02:00
Justin Merrill b80d65e45a MDL-69760 core: add mdl_event index for assign adhoc tasks 2020-10-07 10:35:57 -04:00
Jake Dallimore 6502c13b4f MDL-59510 core_oauth2: add oauth2_refresh_token table 2020-10-05 09:19:28 +08:00
Claude Vervoort 5b8c646e68 MDL-66934 mod_lti: support context history param 2020-09-18 14:11:34 -04:00
Sara Arjona 6d4e245b7c MDL-68909 h5p: upgrade step to remove files in editor filearea
As temporary editor files have been moved from core_h5p/editor to
user/draft, they can be removed (to clean unused DB entries).
2020-09-10 13:41:45 +02:00
Andrew Nicols e471d82358 Merge branch 'MDL-66222-antivirus-reporting' of https://github.com/Peterburnett/moodle 2020-08-27 09:34:37 +08:00
Andrew Nicols 23517d9034 Merge branch 'master-MDL-67211_v6' of https://github.com/golenkovm/moodle 2020-08-26 09:37:16 +08:00
Mikhail Golenkov b465a541ae MDL-67211 Tasks: Record when a task is running.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
2020-08-25 17:08:03 +10:00
Victor Deniz Falcon 9aa9efbfda MDL-68921 core_h5p: Add H5P libraries metadata settings 2020-08-25 00:48:02 +01:00
Peter Burnett 8e0e99e4fd MDL-66222 antivirus: Improved error email capture 2020-08-21 12:21:09 +10:00
Nathan Nguyen adbe92ce0a MDL-66222 antivirus: Added antivirus failure reporting 2020-08-21 11:43:56 +10:00
Adrian Greeve 257b90d10c Merge branch 'MDL-68683-master-fix' of git://github.com/lameze/moodle 2020-08-20 09:54:48 +08:00
Simey Lameze f968aaf7c4 MDL-68683 competencies: fix query to delete stale files 2020-08-20 08:59:25 +08:00
Andrew Nicols ef73bfbeac Merge branch 'MDL-69170-adhoc-task-timestamp' of https://github.com/Peterburnett/moodle 2020-08-20 08:45:27 +08:00
Simey Lameze fcb899b9c8 MDL-68683 competencies: step to delete orphaned evidence files 2020-08-18 16:02:38 +08:00
Simey Lameze 629ea1f932 MDL-68683 core: fix DML exception on upgrade step 2020-08-18 16:02:04 +08:00
Peter Burnett e63b6b8665 MDL-69170 task: Added timecreated field to adhoc task table 2020-08-05 09:41:25 +10:00
Mihail Geshoski d6ec2d3e44 MDL-69079 core: Restore and set missing guest user 2020-07-24 11:08:25 +08:00
Paul Holden 8acaa4e356 MDL-68715 completion: fix form default value for course prerequisites.
Adds filtering on the completion criteria form to ensure we are only
selecting actual course instances of this type. Prior to this change
we would also get NULL values from unrelated criteria types.
2020-07-14 12:46:02 +01:00
Neill Magill b6c7a25d60 MDL-60583 webservice: Add index to improve token lookup performance
Without this index every webservice call will do a full table scan
when it tries to validate a token. On a busy site with many tokens
this adds unnecessary load to the database.
2020-06-29 07:33:12 +01:00