Eloy Lafuente (stronk7)
fd3e11a6de
Merge branch 'MDL-66326-master' of https://github.com/sammarshallou/moodle
2019-08-28 17:24:35 +02:00
Adrian Greeve
06888cfef9
Merge branch 'MDL-66374-master' of git://github.com/jleyva/moodle
2019-08-28 13:54:03 +08:00
Adrian Greeve
ef848e0aa8
Merge branch 'MDL-66468-master' of git://github.com/jleyva/moodle
2019-08-28 08:54:26 +08:00
Eloy Lafuente (stronk7)
6d6431fa23
Merge branch 'MDL-66312-master' of git://github.com/andrewnicols/moodle
2019-08-26 19:38:45 +02:00
sam marshall
7ba2a20166
MDL-66326 Global search: Delete from index when courses are deleted
...
Adds new API support within search engines for optional methods to
delete data for courses and contexts, and implements this for the
two core search plugins (simpledb and solr).
The new API is automatically called when courses or contexts are
deleted. When a whole course is deleted, it only sends the course
delete rather than sending 1,000 separate context deletions as
each activity/block is deleted.
2019-08-23 11:51:50 +01:00
Eloy Lafuente (stronk7)
9900a6dd47
MDL-66483 lib: remove recent xmlize dep on setuplib/CFG
...
This removes the dependency added by MDL-66110 (aiming to fix
a CI job). So we keep things as they were and will fix the
CI job separately.
2019-08-23 11:21:28 +02:00
Jun Pataleta
343ffc1000
MDL-66110 core: Require setuplib.php once as it's required by xmlize.php
2019-08-23 10:14:38 +08:00
Juan Leyva
418a86c660
MDL-66468 file: Return text content when using IGNORE_FILE_MERGE
2019-08-22 13:10:39 +01:00
Jun Pataleta
669de78352
MDL-66110 dml: Undo table name fix when table name's used as parameter
2019-08-22 16:16:08 +08:00
Ryan Wyllie
f12c591807
MDL-66110 dml: use fix_table_name for all mysql table names
...
Changed all of the places that were manually prefixing the table
name to instead fix the table name with the fix_table_name
function.
2019-08-22 16:03:33 +08:00
Adrian Greeve
0052d1b666
Merge branch 'MDL-65443' of https://github.com/NeillM/moodle
2019-08-21 16:35:34 +08:00
Neill Magill
1f445d1625
MDL-65443 core: Improve class descriptions for locking events
2019-08-21 09:02:03 +01:00
Adrian Greeve
4ca1664c9f
Merge branch 'MDL-66384-master' of git://github.com/andrewnicols/moodle
2019-08-21 13:25:35 +08:00
Jun Pataleta
ff6a7345f7
Merge branch 'MDL-66110-master' of https://github.com/ryanwyllie/moodle
2019-08-21 09:57:49 +08:00
Adrian Greeve
700adfb9cf
Merge branch 'MDL-66378-master' of git://github.com/andrewnicols/moodle
2019-08-21 08:54:34 +08:00
Andrew Nicols
6fd975cc07
MDL-66378 behat: Correct grammar of resize step
2019-08-21 08:39:51 +08:00
Andrew Nicols
a6df6800d4
MDL-66378 behat: All args are required for document.evaluate
2019-08-21 08:24:08 +08:00
Neill Magill
e3ec42093a
MDL-65443 core: Log when a context is locked or unlocked
2019-08-20 08:52:35 +01:00
Adrian Greeve
5074882e13
Merge branch 'MDL-66378-master' of git://github.com/andrewnicols/moodle
2019-08-20 13:43:11 +08:00
Adrian Greeve
0ee9c67dfb
Merge branch 'MDL-65404-master' of https://github.com/aanabit/moodle
2019-08-20 10:13:31 +08:00
François Moreau
6ab44bdbc6
MDL-65404 tool_uploaduser: Add a column for enrolment time start.
2019-08-19 14:25:24 -04:00
Jun Pataleta
11b05b07c9
Merge branch 'MDL-46317-master' of git://github.com/rezaies/moodle
2019-08-19 23:32:41 +08:00
Adrian Greeve
d9ae0fdd96
Merge branch 'MDL-65604-master' of git://github.com/andrewnicols/moodle
2019-08-19 16:26:34 +08:00
Adrian Greeve
ee8f44db8c
Merge branch 'MDL-66327-master' of git://github.com/andrewnicols/moodle
2019-08-19 10:32:39 +08:00
Andrew Nicols
460a0a74c4
MDL-66378 behat: JS does not work with newlines in an xpath
2019-08-19 08:16:40 +08:00
Andrew Nicols
989f380089
MDL-66378 behat: Add partial named selector for whole autocomplete field
2019-08-17 11:44:48 +08:00
Andrew Nicols
7d6d23294f
MDL-66378 behat: Before/after detection should be constrainable
...
The default before/after detection checks the entire body. Any match of
the text will therefore be found.
Add support for specification of a container for the nodes.
2019-08-17 11:44:48 +08:00
Andrew Nicols
17a7dc9da5
MDL-66378 behat: Add non-JS fallback for before/after
2019-08-17 11:44:48 +08:00
sam marshall
5298a6bc11
MDL-66378 Behat: Speed up 'before/after' step in Chrome
...
On some Chrome versions the xpath used for before/after is slow
and (sometimes) uses a lot of memory. This change uses pure
JavaScript to do the before/after calculation, which should always
be fast.
2019-08-17 11:44:48 +08:00
Andrew Nicols
44de5278a5
MDL-66378 behat: Correct invalid uses of selection from dropdown
2019-08-17 11:44:48 +08:00
Andrew Nicols
3d18e5cfd6
MDL-66378 behat: Update screen sizes to Y2K standards
2019-08-16 11:42:45 +08:00
Andrew Nicols
6654ac1151
MDL-66312 js: Autocomplete promises were inside out
...
The pending promise should nott be resolved until the changes are
complete.
Previously the resolution of the pendingPromise was triggering the other
changes.
2019-08-16 11:40:16 +08:00
Juan Leyva
578586703f
MDL-66374 group: Add existing WS to the mobile service
2019-08-15 11:55:57 +01:00
Adrian Greeve
0a28a2f074
Merge branch 'MDL-52849-master' of git://github.com/peterRd/moodle
2019-08-14 09:03:37 +08:00
Jun Pataleta
1648b5ac6e
Merge branch 'MDL-66147-master' of https://github.com/snake/moodle
2019-08-13 16:34:34 +08:00
Adrian Greeve
2217ca91ee
Merge branch 'MDL-57623' of git://github.com/Chocolate-lightning/moodle
2019-08-13 14:27:30 +08:00
Mathew May
09dedee2e1
MDL-57623 behat: Remove deprecated step from 3.3
2019-08-13 14:24:34 +08:00
Andrew Nicols
c188ddfe93
Merge branch 'MDL-59524-master' of git://github.com/cescobedo/moodle
2019-08-13 12:56:32 +08:00
Andrew Nicols
0bbdef98ea
MDL-66384 core: Limit explode to allow subdirs in template names
2019-08-13 11:29:40 +08:00
Ryan Wyllie
30d2b9cd31
MDL-66110 dml: Fix MySQL v8 compatibility with groups table
...
MySQL v8 has added "groups" to the reserved word list. That is used
as a table name in Moodle so we have to quote it with backticks in the
SQL so that MySQL knows it's being used as an identifier.
2019-08-13 09:35:19 +08:00
Jun Pataleta
a7faa3f1c5
Merge branch 'MDL-66104' of git://github.com/stronk7/moodle
2019-08-12 14:51:59 +08:00
Shamim Rezaie
9175a97822
MDL-46317 admin: minor coding style fixes
2019-08-12 14:44:12 +10:00
Shamim Rezaie
e2d97a4659
MDL-46317 admin: Added admin\local\settings\filesize class
2019-08-12 13:22:24 +10:00
Peter
d439fac53c
MDL-52849 core: Focus reader onto popup with ajax errors
2019-08-12 10:45:08 +08:00
Jake Dallimore
612b210d76
MDL-66147 core: add get_time_interval_string()
...
Returns a formatted string representation of the difference between two
timestamps, defaulting to 'Xd Xh Xm' format, but supporting custom
format strings containing any chars from:
https://www.php.net/manual/en/dateinterval.format.php .
2019-08-12 09:35:51 +08:00
cescobedo
0504254f1d
MDL-59524 general: Remove strings deprecated in 3.4
2019-08-12 00:13:08 +02:00
Andrew Nicols
f75cb25c86
MDL-65604 repository: Kill off missing param errors
...
The file picker template included an img with a src of "#". When the
template was loaded into the modal, the browser fetches the img src, but
it's immediately removed as that section is only used as an in-place
template. The src tag does not need to be present.
2019-08-11 14:51:18 +08:00
Andrew Nicols
66fa73d84e
MDL-66327 pgsql DML: Update get_records_sql to consume less memory
...
It's more memory efficient to use `pg_fetch_assoc` for each row than to
call `pg_fetch_all` and release memory immediately. This is because we
can treat the assoc fetch like an iterator and it only fetches the
current record into memory one at a time, whilst the all fetch fetches
all records and never unsets them. Attempting to unset them is extremely
time consuming.
2019-08-08 15:48:12 +08:00
Jun Pataleta
7f18f22fac
Merge branch 'MDL-66272-master' of git://github.com/vmdef/moodle
2019-08-08 12:43:51 +08:00
Jun Pataleta
d3455c0da1
Merge branch 'MDL-59470' of https://github.com/Chocolate-lightning/moodle
2019-08-08 10:40:51 +08:00