Commit Graph

24 Commits

Author SHA1 Message Date
David Monllao 3c26a30799 MDL-47835 block_recent_activity: Same entry keys order
insert_records() is sensitive to the order of the keys
assigned to the inserted objects (inserted as arrays in
this case). Now keys are assigned using the same order.
2014-10-29 10:54:11 +08:00
Marina Glancy 3c4b2f0b4c MDL-45083 recent_activity: fixed debugging message on removed module type 2014-04-14 15:20:24 +08:00
Marina Glancy 177052dc55 MDL-41285 blocks: capabilities to view structural changes in recent activities 2014-03-21 15:46:12 +08:00
Marina Glancy f5b4cdf91d MDL-41285 blocks: recent activity does not use log table
instead it defines it's own table and stores the necessary events
2014-03-21 15:46:07 +08:00
Mark Nelson 02ca2cada5 MDL-40649 libraries: deprecated get_recent_enrolments() 2013-07-19 18:17:31 +08:00
Marina Glancy 9ecb50e6e3 MDL-33774 instead of checking that activity is label we check that it has view url 2013-02-14 19:46:19 +11:00
Marina Glancy a3f66bdeac MDL-36968 Move function print_recent_activity() to the block recent_activity 2013-01-16 16:13:04 +11:00
Sam Hemelryk b5042ff7da NOBUG Adding missing include 2010-10-06 08:58:34 +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 83d0f6ede4 MDL-22054 fixed get_string typo 2010-04-11 11:40:56 +00:00
Petr Skoda c141a69b7c MDL-22054 converting block name strings to pluginname
AMOS START
 MOV [recentactivity,core],[pluginname,block_recent_activity]
AMOS END
2010-04-11 11:39:13 +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 cb6402296c blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks 2009-05-06 09:28:26 +00:00
moodler 433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
moodler 9591bc3c9e Changed applicable_formats to remove certain blocks from the tags pages 2007-08-10 09:33:21 +00:00
moodler 1a2ea6f488 Merged $course -> $COURSE fixes from 1.6 stable 2006-05-29 08:17:57 +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_ 347d7d2760 Recent activity block shouldn't go into my moode 2005-08-23 04:03:25 +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 e89d741af3 New naming conventions for class names to bring them in line with the
rest of Moodle. The convention for blocks is now:

class block_something extends block_base { ... }

HOWTO updated accordingly, plus some more minor polishing. More to come.
2004-11-23 18:53:34 +00:00
defacer 9b4b78fd6a Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
moodler 675dbdd9f5 FIxed some notices when installing Moodle fresh 2004-08-11 09:00:53 +00:00
defacer 7a8bcd59e8 Fix for bug #1280: the "showrecent" course setting has to go.
Don't check for this setting anymore.
2004-04-29 10:29:23 +00:00
stronk7 0f3fe4b6ad First Official realease of the "Blocks System".
Integrated with Moodle:
    - Install automatically.
    - Update course->blockinfo for each course at installation time.
    - Modified course creation to insert into blockinfo field.
    - Modified restore to insert into blockinfo field.
    - Admin options (hide, show, delete, config) from admin page.
    - Lang strings inserted (en only).
    - Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.

TODO:
=====
Support it really in backup/restore.
????

Enjoy!! Ciao :-)
2004-04-18 23:20:53 +00:00