tjhunt
f4d38d20fb
blocklib: MDL-19010 and now you can delete blocks too!
2009-05-08 06:34:40 +00:00
tjhunt
f474a4e583
blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php
2009-05-07 08:55:10 +00:00
tjhunt
cb6402296c
blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks
2009-05-06 09:28:26 +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
tjhunt
66b10689e2
blocklib: MDL-19010 upgrade database tables ready for now blocks system
2009-05-06 09:12:03 +00:00
tjhunt
f8b80dbd95
moodle_page: MDL-12212 completely remove the old tag and admin page classes
2009-05-06 09:11:07 +00:00
tjhunt
cfcfb9f3d0
moodle_page: MDL-12212 kill legacy page_allows_editing implementations
2009-05-06 09:02:48 +00:00
tjhunt
ad52c04f4c
moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
...
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
tjhunt
ccc161f8f0
filters: MDL-7336 change weblib to use the new code
...
* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib
2009-04-13 06:56:32 +00:00
skodak
795a08adb7
MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements
2009-01-31 20:07:32 +00:00
Jonathan Newman
4d933beb8a
cvsimport fixups
2009-01-20 23:53:34 +00:00
skodak
44df8fa94c
MDL-15941 block view permissions override regression fixed
2008-08-06 05:07:46 +00:00
skodak
f432bebff2
MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE
2008-07-24 21:59:13 +00:00
skodak
a5d424df7c
MDL-14679 converted some get/set_field()
2008-06-02 21:39:23 +00:00
skodak
f28f2d9022
MDL-14679 towards blocks conversion
2008-06-02 20:15:51 +00:00
sam_marshall
2f74763913
MDL-14815: Added CSS class to blocks when they have editing controls (for themeability)
2008-05-15 09:50:39 +00:00
dongsheng
e8dcf7f949
MDL-14111, fix html tag error
2008-04-02 07:21:10 +00:00
dongsheng
9c34b80d8f
MDL-14111, multilang html-block title, merged from MOODLE_19_STABLE, thanks Gordon Bateson
2008-04-01 01:39:44 +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
skodak
5c10879f55
MDL-11814 use system context for pinned blocks; merged from MOODLE_19_STABLE
2007-12-20 16:25:49 +00:00
moodler
1f967c82ff
Merged MDL-7493 further fix: strip_tags from title strings because the titles may have HTML in them.
2007-12-20 01:51:33 +00:00
nfreear
c076f4beef
Fixes reopened MDL-7493 "Make sure standard themes are visible under "Windows High Contrast Black" mode" - foreground show/hide block icon/ALT text switched with Javscript.
2007-12-18 17:18:19 +00:00
toyomoyo
b486ef1ae3
MDL-8270, full block backup/restore routine with code
2007-11-15 05:00:44 +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
moodler
dd8f4910ed
Hide role assign button from pinned blocks (always) MDL-9723
2007-08-24 02:17:28 +00:00
poltawski
25a7d98066
MDL-10573 - moodle/block:view wasn't working with switch roles or block_list class
2007-08-22 10:35:28 +00:00
tjhunt
2a4e13c5e7
MDL-10894 - Make block add/remove and edit permissions more consistent
2007-08-17 13:07:23 +00:00
poltawski
7e874772a3
MDL-10573 - Added a capability for viewing blocks, this allows role-based control of block
...
display.
Changed context capability check so that CONTEXT_BLOCK capabilities can also come from the
moodle core capability definitions
2007-08-13 10:08:15 +00:00
moodler
9591bc3c9e
Changed applicable_formats to remove certain blocks from the tags pages
2007-08-10 09:33:21 +00:00
moodler
b4483b9107
Switch arrows in blocks when in RTL mode MDL-10768
2007-08-09 08:47:09 +00:00
poltawski
a044c05ddb
MDL-9742 - changed tabs to spaces in a few places where there are one
...
or two
2007-05-08 15:07:25 +00:00
nicolasconnault
5db0cffcf6
MDL-8922: Had to modify another bunch of files to fix a simple problem:
...
when a config block contains a form, the previous form needs to be closed
properly (it was, but there were non-matching closing divs etc...).
2007-03-26 03:06:45 +00:00
nicolasconnault
e92751686f
MDL-8922 : Fixed a number of xhtml simple issues, but heaps of hard-core fixes yet to do.
2007-03-23 07:48:02 +00:00
defacer
ccd3dd0ce2
Merge from MOODLE_18_STABLE:
...
Fixing notices, I should 've done grep "BLOCK_TYPE_NUKE" earlier.
2007-02-26 14:02:21 +00:00
defacer
86ce75a8e5
Merge from MOODLE_18_STABLE:
...
Killing BLOCK_NUKE constant, since Martin nuked nuke blocks.
2007-02-26 13:29:57 +00:00
toyomoyo
217a8ee950
made some changes so that if a user has any roles assigned in context_module or context_block with moodle/site:manageblocks or moodle/course:manageactivities, he will see the "turn editting on" button without needing to have a role assigned at context_course with moodle/course:manageactivies capability. Of course this user would not be able to edit any blocks or modules he/she is not supposed to edit. Ajax for these users with partial editing privilages are locked. Please report bugs asap as we are looking at backporting this change to 1.8. Cheers.
2007-02-16 07:57:19 +00:00
toyomoyo
5e8adb25a5
merged fixed wrong context, it should be possible to manage a single block
2007-02-16 01:26:19 +00:00
skodak
84c8ede022
MDL-8343 reorganize frontpage settings in admintree - admin tree now allows to specify context together with required capability for each entry
...
MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - first part of cleanup related to frontpage
2007-01-29 21:29:27 +00:00
skodak
0d905d9f34
MDL-7861 new class .icon and .iconsmall
2007-01-08 09:14:05 +00:00
skodak
c6da8ccca3
MDL-7861 some xhtml fixes
2007-01-04 13:01:28 +00:00
moodler
d0b59e3bf6
Fixed a missing space which broken XHTML 1.0 strict
2006-12-12 07:12:11 +00:00
vyshane
5b1675f420
Fix for MDL-7493. Added html id attribute for the image button used to toggle hide and show for blocks. This is used by javascript to replace the image on the fly.
2006-12-11 07:15:30 +00:00
toyomoyo
aa5a393738
merged fix for MDL-7441, wrong size for roles icon
2006-11-13 05:43:41 +00:00
skodak
17e5635c36
fixed 'capabilitities' typos and removed forgotten debug_print_backtrace() commited with MDL-6728
2006-10-08 11:00:49 +00:00
skodak
6859360cd4
coverted /admin/ to proper /$CFG->admin/ in paths
2006-09-26 21:10:14 +00:00
sam_marshall
a82e9bc3bb
Added feature to blocks (and restorelib) so that blocks get a method call (default does nothing) after they are restored. This allows blocks to change their settings if necessary in respect of the new course roll-forward 'restore and change start date' feature that Al implemented recently. The core blocks happen not to store dates anyway so don't need this, but contributed blocks may well do.
2006-09-21 12:07:15 +00:00
skodak
6124048972
major whitespace cleanup - fixed tabs
2006-09-20 20:31:09 +00:00
moodler
09a89b01d0
Nuked nuke.
2006-09-18 03:28:02 +00:00
moodler
6d0bd10c0a
A temporary icon for roles (needs work!)
2006-09-06 02:16:48 +00:00
skodak
02cc05a708
fixes for new admin blocks
2006-09-02 23:55:56 +00:00