Commit Graph

72 Commits

Author SHA1 Message Date
Rajesh Taneja 672bea4cfe MDL-29762 Blocks: Modified checks to show image in html block 2012-10-16 11:38:54 +08:00
Aparup Banerjee b574c078a6 MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts. 2012-06-29 11:37:01 +08:00
Eloy Lafuente (stronk7) c5e783e512 MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700 2012-06-18 02:37:00 +02:00
David Mudrak 957fc845b6 MDL-32471 preview thumbnails support for blocks
block_xxx_pluginfile() now accepts the $options parameter that is to be passed
to the send_stored_file() function.
2012-04-24 14:01:53 +02:00
Dongsheng Cai d2b7803e5a MDL-30973 Files API, check and update DocBlock 2012-02-15 12:48:57 +08:00
Petr Skoda b85b25ebb8 MDL-31006 fix various notices in PHP54
PHP54 compatibility
2012-01-18 01:03:20 +01:00
Sam Hemelryk 2fa7c29c06 Merge branch 'MDL-30805-master-1' of git://git.luns.net.uk/moodle 2012-01-03 10:02:18 +13:00
Petr Skoda 612d65d037 MDL-30610 remove outdated block upgrade code 2011-12-23 10:38:10 +01:00
Andrew Robert Nicols 2ee40a7018 MDL-30805 Require HTML content for the HTML block configuration 2011-12-19 12:00:54 +00:00
Aparup Banerjee 46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Petr Skoda d68b3dbe72 MDL-30007 standard version file for all blocks 2011-11-29 20:57:30 +01: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 3485687660 MDL-29006 block_html Added formatted to title printed on editing form when a hard freeze is in effect 2011-08-31 11:45:57 +12: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
Aparup Banerjee c5a8abfedd MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgrade scripts. 2011-07-07 11:40:38 +08:00
Petr Skoda c3b5e8290b MDL-25352 fix multiple issues in admin/replace.php
Make sure admins know things can go wrong, MSSQL and Oracle were never working, fix block_html config saving issue, skip a lot more tables because the data there is serialised() or can not be changed in case of config tables, more warnings and checkbox confirmation.
2011-03-14 00:51:42 +01: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
Dongsheng Cai 922973526e "MDL-23865, fixed block config when upgradeing from 1.9" 2010-08-20 05:20:34 +00:00
Dongsheng Cai b13842891f MDL-23196, fixed html block data structure problem 2010-08-06 05:22:08 +00:00
Eloy Lafuente dd0a7508d0 MDL-21432 backup - specialised blocks use the interlinks decoder 2010-07-27 23:47:12 +00:00
Eloy Lafuente a4586dae77 MDL-23478 backup - html block restore supporting serialized contents and fileareas 2010-07-24 23:03:23 +00:00
Eloy Lafuente 4a15bb7660 MDL-23478 backup - adding support for fileareas to blocks 2010-07-23 17:36:38 +00:00
Petr Skoda 758bfdf6d1 MDL-23352 hopefully fixed block noclean issues 2010-07-20 14:29:42 +00:00
Dongsheng Cai 6cb9f07288 "MDL-22659, bump version number of html block" 2010-07-19 16:10:05 +00:00
Dongsheng Cai c908995f81 "MDL-23196, fixed html block upgrade script" 2010-07-18 14:18:45 +00:00
Eloy Lafuente e2a4f9492f MDL-23196 html block - prevent this update to happen. It cleans all the HTML blocks! 2010-07-16 16:16:17 +00:00
Dongsheng Cai 74c68b7a11 MDL-23196, fixed old block configdata 2010-07-15 05:42:48 +00:00
Dongsheng Cai ce1629146d MDL-23196, fixed block config structure 2010-07-15 03:08:35 +00:00
Petr Skoda d85ab7051c MDL-22950 fixed regression - files in subdirectories not found; big thanks to Dongsheng for spotting this 2010-07-07 07:53:03 +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
Martin Dougiamas 00ab45e7a3 MDL-19844 Fixed one little glitch on new blocks 2010-05-03 16:45:56 +00:00
Dongsheng Cai 41976db384 "MDL-19844, file storage conversion for html block" 2010-05-03 15:35:42 +00:00
Martin Dougiamas 16b5fdaf17 MDL-22054 Fixed some uppercasing errors. We Never Use This Format For Strings. 2010-04-30 02:42:18 +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
Eloy Lafuente 691946222b MDL-21432 backup 2.0 - initial commit. blocks custom bits 2010-04-21 09:33:31 +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
David Mudrak 30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda 3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
David Mudrak 7a563f0f35 MDL-21694 Moving blocks lang files into the plugin scope 2010-03-29 15:33:27 +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 a60bdd8cfd blocks editing: MDL-19889 tidy up HTML form class. 2009-07-21 09:20:44 +00:00
tjhunt 1d13c75c15 blocks editing ui: MDL-19398 Can how precisely control block positioning using the edit icon
This mostly works now, but ...
* The UI needs further work. In particular we need a non-advanced mode.
* This only works for blocks that use a new edit_form.php to replace config_instance.html.
* .. and so far I have only implemented edit_form.php for the HTML block so far.
* Needs to be enabled (with no block-specific config) for blocks without instance config, so you can control their positioning.
2009-07-16 10:50:19 +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