Petr Skoda
ac08f4f608
MDL-76577 block_html: fix incorrect use of draft files
2023-02-17 09:53:07 +01:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Juan Leyva
bc72a54cb1
MDL-65400 block: Support returning settings for core blocks
2019-10-23 15:33:56 +02:00
Juan Leyva
a9732b8977
MDL-63694 block_html: Implement get_content_for_external
2018-10-25 23:42:42 +02:00
Luca Bösch
6586118e0f
MDL-60437 blocks: HTML block title multilang
2017-11-03 16:35:59 +01:00
Marina Glancy
f5b93846af
MDL-44707 block_html: copy files when copying instance
2015-08-28 16:03:26 +08:00
Sam Hemelryk
f25a6839fd
MDL-44120 block: tidied up block @package uses
2014-02-16 12:17:14 +13:00
Aparup Banerjee
9455f48280
Merge branch 'MDL-34549-master' of git://github.com/ankitagarwal/moodle
2012-08-28 11:45:11 +08:00
Ankit Agarwal
5fbe2118bc
MDL-34549 libraries: Changing strictness of context::instance_by_id() when required
2012-08-24 11:30:35 +08:00
Ankit Agarwal
d197ea4300
MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id()
2012-08-24 11:30:10 +08:00
Aaron Barnes
055cc8353d
MDL-35042 blocks: Allow HTML block advanced setting to be toggled
2012-08-24 14:11:33 +12:00
Aaron Barnes
14bcde673d
MDL-34899 blocks/html: Allow instances to specify additional CSS classes
2012-08-20 13:27:08 +12:00
Sam Hemelryk
efe41e35c9
MDL-28292 block_html: white space fix
2011-11-07 12:33:18 +13:00
Jason Fowler
baf9c832de
MDL-28292 - Blocks - Patch supplied by Chris Follin to fix blocks with empty titles that disappear when docked
2011-11-03 16:18:39 +08:00
Sam Hemelryk
bd4624765e
MDL-25636 block_html Fixed up missing format config if block restored from early 2.0 backup
2011-08-11 11:17:37 +08:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda
99d19c13ae
MDL-25855 some more missing filelib includes
2011-01-23 18:34:41 +01:00
Sam Hemelryk
367a75fae4
themes lib MDL-24895 Multiple fixes to better handle overflow.
...
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Eloy Lafuente
a03867380d
MDL-22164 backup - cleaning old backup & restore code in blocks
2010-11-01 15:51:20 +00:00
Petr Skoda
d449b24663
MDL-23916 JS now allowed on private /my/ pages again
2010-08-24 09:14:09 +00:00
Petr Skoda
758bfdf6d1
MDL-23352 hopefully fixed block noclean issues
2010-07-20 14:29:42 +00:00
Dongsheng Cai
ce1629146d
MDL-23196, fixed block config structure
2010-07-15 03:08:35 +00:00
Petr Skoda
8571833f0b
MDL-23069 moving version and cron info into standard version.php - finally, yay!
2010-07-04 12:18:22 +00:00
Petr Skoda
64f93798d4
MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
2010-07-03 13:37:13 +00:00
Dongsheng Cai
af140288c4
MDL-8224, minor changes to tweak ui
2010-05-20 06:26:40 +00:00
Dongsheng Cai
41976db384
"MDL-19844, file storage conversion for html block"
2010-05-03 15:35:42 +00:00
Martin Dougiamas
94ee9ae007
blocks/html MDL-19844 Very minimal fixes to make HTML work. Files still not working properly, see MDL-19844
2010-04-26 07:56:23 +00:00
Petr Skoda
8c5bba16cc
MDL-22054 converting block name strings to pluginname
...
AMOS START
MOV [html,block_html],[pluginname,block_html]
AMOS END
2010-04-11 11:20:58 +00:00
Petr Skoda
4ca6cfbfd4
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 12:00:47 +00:00
tjhunt
e92c286c20
block contexts: MDL-19098 every block should have a context
...
even non-course and sticky blocks.
The parent context is block_instances.parentcontextid.
The block context should be used for checking permissions directly
related to the block, like moodle/block:view or moodle/site:manageblocks.
However, if the block is displaying information about the current page,
for example the participants block showing who 'here', then it may be
better to use the context of the page where the bloack is appearing -
in other words $this->page->context - to check permissions about the
user's ability to see participants here.
Or, if the block is displaying something stronly related to courses,
for example, a course meny block, the block should probably use the
context for $this->page->course to check permissions.
2009-07-13 08:37:34 +00:00
tjhunt
3179b0006a
blocklib: MDL-19010 Fix blocks that were relying on ->instance in an unfortunate way
2009-05-06 09:15:33 +00:00
skodak
e8a7edd7d6
MDL-17236 html block: proper cleanup of html
2008-11-19 16:46:41 +00:00
skodak
f28f2d9022
MDL-14679 towards blocks conversion
2008-06-02 20:15:51 +00:00
dongsheng
f36acb35fb
MDL-14111, multilang htmlblock title, merged from MOODLE_19_STABLE
2008-04-01 05:57:00 +00:00
stronk7
83fc40040b
Prevent cloning of non-object. Delegate to parent method as fallback. MDL-14120 ; merged from 19_STABLE
2008-03-31 22:52:17 +00:00
skodak
5cfefc9b02
MDL-8270 full block backup/restore - based on patches by Mark Nielsen and code in HEAD by Tim Hunt; merged from MOODLE_19_STABLE
2008-03-23 15:54:42 +00:00
moodler
433c242f1a
Merged new block versions from 1.9
2008-03-03 11:43:32 +00:00
poltawski
2d035282fe
remove debugging message, merged from MOODLE_19_STABLE
2007-12-29 12:07:08 +00:00
tjhunt
43457dc87c
MDL-12066 - Links in the HTML block are not recoded on backup and restore.
...
This is messy because the links are hidden in the configdata column, which is serialized and base64encoded. So we have to untangle that, then ask the block whether there are any bits of $config that need to be fixed, then re-encode it before backup up. And reverse that on restore. It needs to remain base64 encoded in the backup file, so that the file format is backwards compatible.
I disucssed this with Eloy before doing it.
Merged from MOODLE_19_STABLE.
2007-11-14 17:03:32 +00:00
defacer
e345909c50
Now that the extended multilang filter is in place (bug 2879),
...
reintroducing format_text to the HTML block (bug 2878).
2005-05-19 20:09:57 +00:00
moodler
381576d219
Undoing PJs change - sorry. HTML tags were being completely filtered out.
...
Trying to come up with another solution to work with multilang
tags (Bug 2878) (SE).
2005-05-18 01:49:56 +00:00
defacer
7c7d56bbd9
Fix for bug 2878:
...
HTML block now calls format_string to run filters as required.
2005-05-17 15:01:10 +00:00
defacer
48f7fa4a60
Small improvement to HTML block; new html blocks have a default title instead of none.
2005-03-02 19:31:11 +00:00
defacer
3ef642d96a
Implemented discussion from bug 2547:
...
* Block authors no longer need to set $this->content_type
* If you want to make a "list" block, just derive from block_list
instead of block_base
* All switch() statements gone from library code
* Overloaded method is_empty() added to block classes for convenience
2005-03-02 19:22:26 +00:00
defacer
b959599b51
Allow this in quiz pages, too.
2005-02-01 10:03:54 +00:00
moodler
63689c58b1
Some fixes to avoid notices etc
2005-01-29 03:55:29 +00:00
moodler
86db09ef85
Added Jon's html block from contrib! Thanks, Jon!
2005-01-29 03:48:45 +00:00