Andrew Nicols
d26bd7c078
Merge branch 'MDL-72599' of git://github.com/paulholden/moodle
2021-10-06 09:11:58 +08:00
Andrew Nicols
529c5c2ece
MDL-71963 Core: Convert block deletion to a modal
...
Co-authored-by: Mathew May <mathewm@hotmail.co.nz>
2021-10-04 13:07:31 +08:00
Paul Holden
8f10f91bf5
MDL-72599 blocks: handle editing/deletion on admin notification page.
...
This was broken by changes in fdd5aef0, as the sesskey URL parameter
was required on admin/index.php in order for block related actions
to be performed uninterrupted by any redirections.
2021-09-17 12:17:24 +01:00
Sara Arjona
4cb297d4fd
MDL-72116 dashboard: Remove some of the current blocks
...
The following blocks have been removed from the Dashboard:
- Online users
- Upcoming events
- Learning plans
- Recently accessed courses
This change will only apply on new installations.
2021-09-13 08:27:08 +02:00
Peter Dias
f4d3606a2e
MDL-71901 core: Allow blocks to specify their own nav
...
- Part of: MDL-69588
2021-08-23 17:47:01 +08:00
Paul Holden
fdd5aef039
MDL-69807 blocks: remove redundant sesskey loading edit/delete page.
2020-10-19 22:40:48 +01:00
Andrew Nicols
5c91f31d2e
MDL-68974 blocks: Check permission before generating content
2020-09-08 08:54:26 +02:00
Mathew May
5cac5fa428
MDL-64506 templates: BS2 m-x-x to BS4 mx-x
2019-04-03 19:47:11 +08:00
Mathew May
9757c65687
MDL-64506 Javascript: Remove docking JS.
...
Deprecate related lang strings & base functions now return false.
2019-04-03 19:34:20 +08:00
Peter
917a0e282c
MDL-59629 mod_block: Set the default region in add_region
...
Check and update default region in add_region if none set.
2018-12-14 10:29:10 +08:00
Andrew Nicols
3a8cf5e67d
MDL-53566 core: Add UI for context locking
2018-11-13 21:17:40 +08:00
Víctor Déniz Falcón
41f6129358
MDL-63062 block_recentlyaccessedcourses: add block and styles
2018-11-05 23:46:57 +00:00
Ryan Wyllie
1e44de35b3
MDL-63044 block_timeline: add timeline block
2018-09-27 13:10:45 +08:00
David Monllao
297509d70c
MDL-61621 blocks: New API function
2018-04-06 13:12:30 +02:00
sam marshall
a938e4096c
MDL-60174 core_dml: fix miscellaneous incorrect recordset usage
...
The new recordset support for Postgres requires transactions and
will cause errors if recordsets are not closed correctly. This
commit fixes problems that were identified during unit tests, and
via some basic code analysis, across all core code. Most of these
are incorrect usage of recordset (forgetting to close them).
2017-11-27 11:10:33 +00:00
Neill Magill
667e6ebc20
MDL-60436 blocks: Improve performance of block loading
2017-11-17 14:40:01 +00:00
Jakob Ackermann
d674f12b7c
MDL-58744 blocks: Add system context block position in non user context.
2017-07-27 09:01:29 -07:00
sam marshall
557554f99f
MDL-58957 Global search: Add time fields to block_instances
2017-06-29 15:14:47 +01:00
Dan Poltawski
1e4e5c52d7
Merge branch 'MDL-55611-master' of git://github.com/danpoltawski/moodle
2017-04-04 17:07:41 +01:00
Juan Leyva
8446ba3641
MDL-50970 core_block: New Web Service core_block_get_course_blocks
2017-04-03 09:27:53 +02:00
Mark Nelson
932f299bc0
MDL-57437 core: upgrade code for introduction of block_myoverview
...
Part of MDL-55611 epic.
2017-04-03 11:32:57 +08:00
Tim Hunt
898da28afd
MDL-58040 blocklib: never use global in block manager class
...
This switches everything to ->page, including coverting static method to real one.
2017-02-21 15:19:11 +00:00
Dan Poltawski
caf52b578b
Merge branch 'MDL-57386-master' of git://github.com/damyon/moodle
2016-12-19 15:46:54 +00:00
Damyon Wiese
08d7c0e1ca
MDL-57386 blocklib: wrong variable in is_block_present
...
This isn't reachable code in core moodle, but themes/plugins could call is_block_present to trigger it.
2016-12-15 10:50:44 +08:00
Eloy Lafuente (stronk7)
ab73c1ddbb
Merge branch 'feature/MDL-56830' of https://github.com/fwsl/moodle
2016-12-13 12:00:46 +01:00
Grzegorz Ziółek
3118ff6f41
MDL-56830 config_log: Add block plugin visibility changes to config_log.
2016-12-06 11:29:02 +01:00
Marina Glancy
ebcff7e256
MDL-56614 behat: new steps for navigation without blocks
2016-12-06 11:49:11 +08:00
Rajesh Taneja
54348ea6d7
MDL-57232 behat: Add blocks in boost theme
...
Currently behat in boost depend on blocks
so make sure we have them.
2016-12-02 22:48:13 +08:00
Damyon Wiese
9d1402abd8
MDL-57232 blocks: Split undeletableblocktypes
...
There are 2 kinds of blocks that are undeletable. Those required by the
theme and those protected via the admin page ui. We only want the theme
ones to be auto created site wide if they don't exist - so we need to
rename the theme ones and split the logic.
2016-12-02 12:32:03 +08:00
Damyon Wiese
58ec5a315b
MDL-57176 blocks: Never never never dup blocks
...
Dont create duplicate blocks 'requiredbytheme' for any reason.
2016-11-28 14:48:02 +08:00
Marina Glancy
bf07b81543
MDL-56586 blocks: use template for non-JS add block selector
2016-11-24 14:24:59 +08:00
Marina Glancy
b1e5624ad9
MDL-56586 blocks: Fix mess with links to permissions
...
problem 1: links to blocks permissions changes were missing in boost
problem 2: when modifying link from dashboard user is returned to profile ('returnurl' passed but not respected)
problem 3: link to check permissions missing from category management page
fix: instead of respecting both 'return' and 'returnurl' parameter use only 'returnurl'
fix: use 'popup' layout when modifying permissions for a block
2016-11-24 14:24:59 +08:00
Marina Glancy
b11916d3e7
MDL-56586 blocks: allow theme to manage "Add a block" select
2016-11-24 14:24:56 +08:00
Damyon Wiese
1ac36fa9f7
MDL-56902 blocks: No theme blocks if fake blocks only
...
When showing only fake blocks, never auto create the blocks for the
theme. This would give you double blocks.
2016-11-23 11:07:32 +08:00
Damyon Wiese
51718b752d
MDL-56902 blocks: Prevent blocks returning when switching themes.
...
Now if the current theme requires some blocks that don't exist, they
will be created - but with a new flag that indicates this block should
only be returned if the current theme requires it. This allows flipping back
and forth between boost and clean without restoring the nav and settings blocks
in boost.
2016-11-22 14:53:24 +08:00
Damyon Wiese
848db61636
MDL-56006 blocks: Fix installation with no required blocks
...
Boost requires no blocks which was causing a failure on installation.
2016-10-25 10:15:20 +08:00
Damyon Wiese
c13115cbfa
MDL-55074 blocks: Remove default blocks from course and site
2016-10-21 12:40:05 +08:00
Damyon Wiese
0f73f3ab42
MDL-55074 blocks: navigation and settings blocks optional
...
This is a theme config setting.
They are forced on for behat always.
2016-10-21 12:37:33 +08:00
Michael Aherne
4582da2464
MDL-56319 blocks: Observe empty default blocks setting
2016-10-07 09:59:09 +01:00
Jun Pataleta
4eba620ae3
MDL-53425 blocklib: Perform deletion of block instances by chunk
2016-05-30 11:22:47 +08:00
Mark Nelson
581ea5013a
MDL-52035 core_block: avoid PHP error when there is no region
...
This occurs when sharing a quiz via the LTI provider when it
adds a 'fake block' for quiz navigation. There may be other
occurrences.
2016-04-26 12:08:31 +08:00
Frederic Massart
b14311b2cd
MDL-53760 competency: Set block_lp as default dashboard block
2016-04-18 11:06:01 +08:00
Mark Nelson
ea88fd4e66
MDL-48012 core: added pre_*_delete hooks
2016-03-15 16:58:46 +08:00
David Monllao
c35cf9bfcd
MDL-51702 blocks: Allow permission overrides in dashboard
2016-01-21 08:46:58 +08:00
Marina Glancy
c026a28d59
MDL-50851 core_tag: introduce tag collections
2016-01-10 15:25:43 +08:00
Frederic Massart
ad347f6874
MDL-46878 my: Allow admins to reset everyone's dashboard
2015-09-18 11:40:09 +08:00
Marina Glancy
7a4ff165cb
MDL-25451 roles: check if user can assign foles in block
2015-08-31 16:03:27 +08:00
Dan Poltawski
8930d28254
MDL-50663 blocks: minor style fixes
2015-07-21 15:42:34 +01:00
Skylar Kelty
56af0fbda8
MDL-50663 blocks: Fix /my/ page when in non-user context
2015-06-29 11:37:10 +01:00
Tim Hunt
e1ace26f11
MDL-49389 blocklib: avoid notices when moving blocks to the bottom
2015-03-13 14:27:11 +00:00