Adam Olley
b3e4fbc011
MDL-58160 coursecat: Use set_many to populate category cache
...
When the course category cache needs to be repopulated, two entries are added
to the cache for each category. In core this is currently done in a for-loop,
resulting in N set calls to the cache (where N is twice the number of
categories in Moodle).
This change switches that code to using a single set_many cache call instead,
which makes this an O(1) operation instead of O(N).
For a site with say, 1000 categories, this results in only 1 set call to the
cachestore instead of 2000.
2017-03-06 12:04:25 +10:30
Luca Bösch
15de9ec847
MDL-57932 core: Serve the Moodle logo as SVG
...
The Moodle logo in the login page footer is served in SVG format.
Signed-off-by: Luca Bösch <luca.beosch@bfh.ch>
2017-03-04 18:54:35 +01:00
gthomas2
353e78765a
MDL-58052 behat: user session function - use to edit current profile
2017-03-03 13:57:01 +00:00
Pau Ferrer Ocaña
fb41d2f0ef
MDL-57990 course: Add sortorder as public field
2017-03-03 11:53:52 +01:00
Eloy Lafuente (stronk7)
3c45d26f58
weekly release 3.3dev
2017-03-03 10:33:35 +01:00
Eloy Lafuente (stronk7)
a516247092
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-03-03 10:33:30 +01:00
Adrian Greeve
d630c0e37b
MDL-57485 themes: Set images to default display type.
...
Imported images in atto would no longer hold a URL
tag around it. display: block was the culprit.
2017-03-03 11:15:23 +08:00
Juan Leyva
f97305b025
MDL-57914 mod_data: Refactor get_databases_by_courses
...
- Use a exporter
- Return more fields for users with the view entry capability enabled
2017-03-02 22:57:05 +01:00
Juan Leyva
44acbb815f
MDL-57914 mod_data: Allow to export properties for external_files
2017-03-02 22:57:04 +01:00
Tim Hunt
125f65259f
MDL-58106 random Q restore: avoid MySQL performance issues
2017-03-02 19:40:32 +00:00
Ankit Agarwal
4d76de6fbf
MDL-55859 assign_editpdf: cleanup htmlfile in case of errors
2017-03-02 21:23:02 +05:30
Cameron Ball
e40d5048ca
MDL-57321 theme_boost: Remove extra quotation mark
2017-03-02 16:01:01 +08:00
Russell Smith
f3789f2fb3
MDL-45584 cache: Make identifiers part of the cache creation.
...
It is now safe to cache a reference to a cache and expect consistent results.
Changing identifiers altered cache results where a reference was
held to the cache. Identifiers have been set to be cached with
identifiers included so the caches are separate.
As a consequence of this it was identified that invalidation events
and identifiers don't easily work together as an event can't determine
which identifiers should be used for cache invalidation. So invalidation
events have been made incompatible with identifiers being set. No core
code used this combination as it's not possible to understand any expected
behaviour.
Event invalidation for application and session caches was centralised to the same
location. The only difference was the name of the lastinvalidation variable. This
improves support and consistency of invalidation code.
2017-03-02 11:06:17 +08:00
Jun Pataleta
2b9d97406f
MDL-58123 mod_lesson: Fix lesson table name in refresh_events DB query
2017-03-02 10:54:49 +08:00
Andrew Nicols
1b70f778fd
MDL-53978 tool_usertours: No tours for guest or no user
2017-03-02 10:24:06 +08:00
Andrew Nicols
50dcc8af9c
MDL-53978 core: Do not run callbacks if upgrade is running
2017-03-02 10:24:05 +08:00
Eloy Lafuente (stronk7)
bb9716ccd6
Merge branch 'MDL-57321-master' of git://github.com/cameron1729/moodle
2017-03-02 00:00:37 +01:00
Juan Leyva
92f505171d
MDL-57361 auth_email: Force policy agreed on sign-up
2017-03-01 18:20:19 +01:00
David Mudrák
0355e76ffa
MDL-58114 plugin manager: Fix exception parameters
2017-03-01 15:05:44 +01:00
Brendan Heywood
f2b7572a54
MDL-58109 reports: Add security check for preventexecpath
2017-03-01 15:18:30 +11:00
Cameron Ball
df21e24f26
MDL-57321 theme_boost: Remove duplicate aria-labelledby attribute
2017-03-01 11:35:50 +08:00
Cameron Ball
32778e73de
MDL-57321 theme_boost: Fix improperly nested ul elements in footer
2017-03-01 11:35:50 +08:00
Cameron Ball
c77cdbd704
MDL-57321 theme_boost: Use div instead of span for dropdown items
2017-03-01 11:35:49 +08:00
Cameron Ball
f6d94dc01f
MDL-57321 theme_boost: Consistently apply attributes on elements
2017-03-01 11:35:44 +08:00
Andrew Nicols
7b0a41447a
Merge branch 'MDL-58072_master_tabtree_mustache' of https://github.com/mchurchward/moodle
2017-03-01 11:09:38 +08:00
Eloy Lafuente (stronk7)
b0253c3323
Merge branch 'wip-MDL-48228-master-v2' of git://github.com/abgreeve/moodle
2017-03-01 02:56:56 +01:00
Eloy Lafuente (stronk7)
b239dfd9aa
Merge branch 'MDL-53978-master-fix' of https://github.com/andrewnicols/moodle
2017-03-01 02:46:06 +01:00
Andrew Nicols
e890de5531
Merge branch 'm33_MDL-57789_Add_Cache_Control_Immutable_Support' of https://github.com/scara/moodle
2017-03-01 09:31:45 +08:00
Andrew Nicols
5d86494808
MDL-53978 core: Improve cache usage when no callbacks are defined
2017-03-01 09:18:13 +08:00
Adrian Greeve
8c1288dbdb
MDL-48228 database: Unit test addition and update.
2017-03-01 09:03:12 +08:00
Adrian Greeve
0bbefd81cd
MDL-48228 database: Make utf8mb4 the default character set for mysql.
...
Thanks to Jetha Chan for providing the initial patch that this is
based on.
2017-03-01 09:03:12 +08:00
Eloy Lafuente (stronk7)
dd6b41a5c7
Merge branch 'MDL-58071-master' of git://github.com/jleyva/moodle
2017-02-28 22:57:09 +01:00
Eloy Lafuente (stronk7)
211843420d
Merge branch 'MDL-55980-master' of https://github.com/sammarshallou/moodle
2017-02-28 22:11:16 +01:00
Eloy Lafuente (stronk7)
1e8af13516
Merge branch 'MDL-55762-master' of git://github.com/ankitagarwal/moodle
2017-02-28 20:38:56 +01:00
Stephen Bourget
c3feaf269e
MDL-51853 calendar: allow entries imported from a file to be updated.
2017-02-28 10:14:25 -05:00
Zoe Bogner
004738e03d
MDL-57999 grades: Add itemname to gradereport_user_get_grade_items
2017-02-28 21:29:59 +10:30
David Monllao
f3221d8d79
Merge branch 'wip-MDL-51833-master' of git://github.com/abgreeve/moodle
2017-02-28 11:29:33 +01:00
Rajesh Taneja
db4b59fa03
MDL-58068 testing: Whitelist alternative_file_system_class in testing
...
Unit test and behat should be allowed to
run with alternative file system
2017-02-28 14:58:49 +08:00
Ankit Agarwal
ca09e2157b
MDL-57362 assignlib: Fix minor bug in phpdocs
2017-02-28 10:34:03 +05:30
Ankit Agarwal
f445fb8fa1
MDL-57362 assignlib: Check for sep groups edge case
2017-02-28 10:34:02 +05:30
Andrew Nicols
b6cab2b505
Merge branch 'MDL-58038-master-3' of https://github.com/snake/moodle
2017-02-28 12:19:33 +08:00
Jake Dallimore
9e44cec27f
MDL-58038 email: make sure all allowedemaildomain entries are respected
...
Fixes a bug with exploding the config var, in which trailing carriage
returns were causing string matches to fail.
2017-02-28 12:17:52 +08:00
Rajesh Taneja
da52592a7b
MDL-58091 behat: Added missing @_file_upload tag
2017-02-28 11:21:13 +08:00
Andrew Nicols
3c395fe486
Merge branch 'master' of git.in.moodle.com:moodle/integration; branch 'MDL-35980-master' of git://github.com/snake/moodle
2017-02-28 10:33:40 +08:00
Jake Dallimore
2671500dee
MDL-35980 behat: fix link text in submission_comments feature
2017-02-28 10:23:21 +08:00
Andrew Nicols
d83be33f3d
MDL-55547 tool_monitor: Coding style fixes
2017-02-28 09:43:21 +08:00
Andrew Nicols
d28357fbca
Merge branch 'wip-MDL-55547-master' of git://github.com/marinaglancy/moodle
2017-02-28 09:43:14 +08:00
Eloy Lafuente (stronk7)
7002b7c320
Merge branch 'MDL-58041_master' of https://github.com/sam-moodle/moodle
2017-02-28 02:29:17 +01:00
Eloy Lafuente (stronk7)
b4472fb459
Merge branch 'MDL-57524_master' of https://github.com/nadavkav/moodle
2017-02-28 02:24:08 +01:00
Eloy Lafuente (stronk7)
06fb1df811
Merge branch 'MDL-58030' of git://github.com/aolley/moodle
2017-02-27 22:47:14 +01:00