56 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
cedb0aab5a MDL-39434 Bump all versions near 2.5 release 2013-05-01 18:03:29 +02:00
Eloy Lafuente (stronk7)
663dbbc2e6 MDL-36933 Bump everything to 2012112900
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Frederic Massart
253251a804 MDL-36446 usability: Resource icon on activity block read from page module 2012-11-14 15:00:40 +08:00
Frederic Massart
11f8718780 MDL-36323 usability: Normalising icons used in blocks 2012-11-14 14:07:40 +08:00
Dan Poltawski
42fd0b64b9 Merge branch 'MDL-34270_master' of https://github.com/markn86/moodle 2012-11-08 14:53:06 +08:00
Mark Nelson
4fc95a9fff MDL-34270 blocks: removing unnecessary capabilities 2012-11-08 14:49:28 +08:00
Dan Poltawski
e830d6f98e Merge branch 'wip-MDL-30921-m24' of git://github.com/samhemelryk/moodle 2012-11-07 10:51:06 +08:00
Mark Nelson
70c9c1956d MDL-34270 blocks: Adding clonepermissionsfrom to the new capability definitions 2012-11-05 12:28:09 +08:00
Mark Nelson
b291b59d6a MDL-34270 blocks: adding new add block capabilities 2012-11-02 14:32:01 +08:00
Sam Hemelryk
697f7bd701 MDL-30921 blocks: Added a method to inject aria roles into block structure 2012-11-02 10:58:23 +13: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
Marina Glancy
559276b153 MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)
2012-05-21 16:01:04 +08:00
Petr Skoda
d68b3dbe72 MDL-30007 standard version file for all blocks 2011-11-29 20:57:30 +01:00
Sam Hemelryk
d609d96261 MDL-28599 textlib Separated collator to collatorlib with static methods, and added support for locale aware sorting of objects 2011-09-06 15:39:00 +12:00
sam marshall
0d8b6a69ce lib MDL-25981 Improved modinfo
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields

The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
Petr Skoda
c6947ba7a5 MDL-23899 migration to new locale aware asort 2010-09-05 13:00:47 +00:00
Rossiani Wijaya
710363c97a MDL-6820 - make block icons clickable 2010-08-20 06:29:22 +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
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Petr Skoda
f956dac620 MDL-22054 startinging blocks to pluginname
AMOS START
 CPY [activities,core],[pluginname,block_activity_modules]
AMOS END
2010-04-11 10:47:04 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +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
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +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
mjollnir_
2a42e8954f MDL-18351: activity block: detect when there's no course (eg admin page) and return (merged from MOODLE_19_STABLE) 2009-02-23 14:49:05 +00:00
Francois Marier
6280ef3e58 Fix CVS-git drift (remove some files deleted in CVS) 2009-02-01 23:43:28 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
skodak
98891b9348 MDL-14679 fixed regressions 2008-05-31 18:20:05 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
moodler
433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
skodak
5c17befa61 MDL-12945 modfullnames typo; merged from MOODLE_19_STABLE 2008-02-01 09:12:33 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
moodler
9591bc3c9e Changed applicable_formats to remove certain blocks from the tags pages 2007-08-10 09:33:21 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
d7a7184730 New upgrade.php file added for this module. MDL-7214 2006-10-26 16:33:49 +00:00
skodak
02cc05a708 fixes for new admin blocks 2006-09-02 23:55:56 +00:00
vyshane
2631c1744e Fix for Bug #5541 2006-05-19 06:25:12 +00:00
stronk7
cfae73b6b4 [BugFix] Bug #4586 in the moodle bug tracker
Please, dont forget to apply bug fixes to head too. ;-)

Merged from MOODLE_15_STABLE
2006-01-14 11:27:52 +00:00
defacer
42f9b64b80 On second thought, we can be a bit more diplomatic with this one.
The best of both worlds, but a hack is a hack. ;-)
2006-01-13 16:28:19 +00:00
defacer
24acdc993b Fixing a bug, see http://moodle.org/mod/forum/discuss.php?d=37545
Instead of grabbing variables defined by the course format with
global $var; the block now recomputes them itself.

Of course this also introduces a (significant?) performance hit.

I think it's much preferable to "live with" the hit until a good
solution is developed rather than have a hacky solution that could
break anytime for any obscure reason (case in point). Objections?
2006-01-13 16:20:40 +00:00
defacer
044cdea0c6 Removing MY_MOODLE_FORMAT constant, we just play along with relative paths. 2005-10-30 01:10:08 +00:00
mjollnir_
0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +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