Jake Dallimore
9bf91ea832
MDL-66147 mod_assign: grading table status col shows relative dates
...
The 'Status' column is sorted using 'status ASC/DESC, userid ASC',
where status does not contain the due date. Overdue assignments
have additional information displayed, but this is unrelated to
the sort, meaning we don't need to change anything with sorting.
2019-08-13 15:09:13 +08:00
Jake Dallimore
9e719b81d4
MDL-66147 mod_assign: submissions overview page shows time interval
...
Use get_time_interval_string() on the teacher only page, to show how
long after the course start the assignment is due for each user.
2019-08-13 15:09:11 +08:00
Andrew Nicols
9abc0ed875
Merge branch 'MDL-65949-master' of git://github.com/junpataleta/moodle
2019-08-13 14:39:48 +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
Jun Pataleta
29c5579db9
Merge branch 'MDL-62034-master' of git://github.com/andrewnicols/moodle
2019-08-13 14:20:42 +08:00
Andrew Nicols
24d2a49e21
MDL-62034 assign: Add hint for user tour reset
2019-08-13 14:12:29 +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
Adrian Greeve
5918473134
Merge branch 'MDL-66008-master-fix' of https://github.com/lameze/moodle
2019-08-13 10:27:31 +08:00
Simey Lameze
4d98566939
MDL-66008 core_calendar: fix behat failures
2019-08-13 09:50:48 +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
1946261fb3
Merge branch 'MDL-66288-master' of git://github.com/lameze/moodle
2019-08-12 15:15:14 +08:00
Andrew Nicols
92afad61ae
Merge branch 'MDL-65937-master' of git://github.com/junpataleta/moodle
2019-08-12 14:54:20 +08:00
Jun Pataleta
a7faa3f1c5
Merge branch 'MDL-66104' of git://github.com/stronk7/moodle
2019-08-12 14:51:59 +08:00
Simey Lameze
bcd0583e68
MDL-66008 calendar: Remove duplicated call to library funciton
...
A duplicated call to calendar_get_allowed_event_types has
been removed.
2019-08-12 14:49:40 +08:00
Shamim Rezaie
9175a97822
MDL-46317 admin: minor coding style fixes
2019-08-12 14:44:12 +10:00
Shamim Rezaie
7a8dd5664f
MDL-46317 admin: deprecating configuserquota,core_admin lang string
2019-08-12 14:44:12 +10:00
Shamim Rezaie
e945b883fa
MDL-46317 admin: convert userquota config from text to filesize widget
2019-08-12 14:44:10 +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
Jake Dallimore
db381d5c87
MDL-66147 mod_assign: Change assign to return calculated instance data
...
Changes include:
- Added a private method calculate_properties(), which calculates
per-user instance properties and stores them in an instance var.
- get_instance() now takes a userid param, and calls the
calculate_properties() method, allowing per-user instances to be
returned.
- Added a public method get_default_instance(), which returns the
non-augmented instance data (no per-user properties), so we can
still get back the raw instance data when needed.
- The get_course method has been changed to make sure we always have an
object property, not a string - which happened in some cases (when
commenting on the assign submission page, for example).
2019-08-12 09:35:51 +08:00
Simey Lameze
e4b1c14a37
MDL-66288 dataformat: prettify exported JSON data
2019-08-12 07:29:31 +08:00
Ilya Tregubov
64ce596f8c
MDL-65925 assign: Grade page broken if submission was deleted.
2019-08-12 09:28:50 +10:00
cescobedo
0504254f1d
MDL-59524 general: Remove strings deprecated in 3.4
2019-08-12 00:13:08 +02:00
Matteo Scaramuccia
463421144f
MDL-66140 search: Mitigate PECL solr extension regression
...
Refs:
- https://bugs.php.net/bug.php?id=72740
- https://bugs.php.net/bug.php?id=75631
- https://github.com/php/pecl-search_engine-solr/pull/16
2019-08-11 20:03:25 +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
AMOS bot
3d9aa96892
Automatically generated installer lang files
2019-08-10 00:11:06 +00:00
AMOS bot
ad52b7de3f
Automatically generated installer lang files
2019-08-10 00:11:05 +00:00
Jun Pataleta
8e9e9a5f7e
weekly release 3.8dev
2019-08-09 16:23:53 +08:00
Jun Pataleta
e2e7fdb4df
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2019-08-09 16:23:51 +08:00
Jun Pataleta
a6489fabbf
Merge branch 'MDL-65679-master-fix' of git://github.com/andrewnicols/moodle
2019-08-09 11:38:59 +08:00
Andrew Nicols
7be52eb255
MDL-65679 assignfeedback_editpdf: Adjust z-indexes for editpdf
2019-08-09 08:34:29 +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
Amaia Anabitarte
82ca410f23
MDL-60636 behat: Fixing modified xpath
2019-08-08 11:58:03 +08:00
Andrew Nicols
419a67aad3
Merge branch 'MDL-65933-master' of git://github.com/junpataleta/moodle
2019-08-08 11:41:50 +08:00
Jun Pataleta
d3455c0da1
Merge branch 'MDL-59470' of https://github.com/Chocolate-lightning/moodle
2019-08-08 10:40:51 +08:00
Mathew May
7456bf413b
MDL-59470 admin: Add Behat test for duplicating a tour
2019-08-08 10:30:12 +08:00
Andrew Nicols
9f0cf3e855
Merge branch 'MDL-65595-master' of git://github.com/peterRd/moodle
2019-08-08 10:28:15 +08:00
Jun Pataleta
07d00f0548
Merge branch 'MDL-64032-master-fix' of https://github.com/andrewnicols/moodle
2019-08-08 10:23:10 +08:00
Andrew Nicols
b6a226f96f
MDL-64032 user: Comment out failing behat tests
...
These are failing because of an unrelated issue which is possibly quite
an edge case.
2019-08-08 09:31:00 +08:00
Mathew May
71fd7b1139
MDL-59470 behat: Add a element comtains x occurrences step
2019-08-08 09:16:19 +08:00
Mathew May
c48fbb6c9b
MDL-59470 admin: A user tour can now be duplicated
2019-08-08 09:16:17 +08:00
Jun Pataleta
7fda7cf71b
Merge branch 'MDL-57239' of https://github.com/timhunt/moodle
2019-08-08 08:49:56 +08:00
Jun Pataleta
30c8bf169e
Merge branch 'MDL-50346-master' of git://github.com/andrewnicols/moodle
2019-08-07 17:11:31 +08:00
Andrew Nicols
08bec34297
Merge branch 'MDL-66039-master' of git://github.com/bmbrands/moodle
2019-08-07 15:31:43 +08:00
Brendan Heywood
32f805e079
MDL-66278 core: Add callback to show other password checks on signup
2019-08-07 14:12:04 +08:00
Jun Pataleta
9897d03d95
Merge branch 'MDL-56789-master' of git://github.com/rezaies/moodle
2019-08-07 14:01:39 +08:00