77 Commits

Author SHA1 Message Date
Stephen Bourget
02ce2e413c MDL-45890 Blog: add additional events 2016-09-25 15:06:54 -04:00
Marina Glancy
25430f75d1 MDL-50851 core_tag: fix db query failure on oracle 2016-01-14 13:19:12 +08:00
Marina Glancy
abea2c5deb MDL-50851 blogs: use new tag API 2016-01-10 15:25:47 +08:00
Andrew Davis
0e32a56591 MDL-51239 core_blog: coding style fixes 2015-12-04 05:42:40 +08:00
Frederic Massart
077b347d6d MDL-43004 blog: Deprecation of parameter $action in add_association/s() 2014-12-17 17:30:45 +08:00
Andrew Davis
2b6e53e8e2 MDL-46346 blog: coding style fixes 2014-07-14 10:45:33 +08:00
Mark Nelson
cc033d48b5 MDL-44316 core_tag: changed the API to accept a contextid and component 2014-03-22 13:50:08 -07:00
Marina Glancy
24c32bdf2f MDL-44403 events: added public method to get eventdata 2014-03-04 15:16:15 +08:00
Ankit Agarwal
6b36411587 MDL-40040 Cleanup some blog methods and replace add_to_log
Cleaned up add_association()
cleaned up add_associations()
Replaced remaining add_to_log() in blogs with events
2013-12-02 12:06:32 +08:00
Rajesh Taneja
aa13929988 MDL-42584 Events: modified get_description in events
blog_entry_created - Removed summary field
blog_entry_deleted - Removed summary field and unwanted entry record
blog_entry_updated - Fixed single quotes and removed summary field
course_module_created - Removed subject
course_module_updated - Removed subject
user_deleted - Removed user firstname and last name
course_module_viewed - Fixed description
2013-10-29 15:24:23 +08:00
Ankit Agarwal
32dea43930 MDL-40742 blogs: Replace blog_entry_updated with events2
AMOS BEGIN
 MOV [entryupdated,core_blog],[evententryupdated,core_blog]
AMOS END
2013-09-06 11:43:01 +08:00
Ankit Agarwal
77037e27a5 MDL-41599 events: Set relateduserid instead of userid in blog events 2013-09-05 17:10:34 +08:00
Adrian Greeve
506c8d59ee MDL-41307 - tags: Update of the user object for fullname function. 2013-08-20 15:39:40 +08:00
Ankit Agarwal
6c66b7f3b3 MDL-40711 blogs: Replace blog_entry_deleted with events2 2013-08-07 10:27:01 +08:00
Ankit Agarwal
3049780a3a MDL-40682 events: Add a event for when a blog entry is created 2013-07-31 10:09:17 +08:00
Ankit Agarwal
4ef082980d MDL-27814 blogs: Deprecate associate blog caps
moodle/blog:associatemodule and moodle/blog:associatecourse should not be used
anymore as per the discussion in the issue. Everyone is free to blog about anything
they want to blog about.
2013-04-12 16:05:01 +08:00
Erik Lundberg
af7e05d6cc MDL-34436 - Blogs - Adding event triggers when adding a new entry, editing an entry or remove an entry. 2013-01-15 11:29:12 +08:00
David Monllao
207b6fc5f1 MDL-34910 blog Fixing mod level related issues 2012-10-31 12:58:42 +08:00
David Monllao
4219ffab43 MDL-34910 blog Remove new entry link when the context doesn't allows to add new entries 2012-10-29 15:04:45 +08:00
Adrian Greeve
ac31c38eed MDL-34318 - blog - Removal of blog associations from the database on delete.
Thanks to Erik Lundberg for this patch.
2012-08-28 15:57:28 +08:00
Eloy Lafuente (stronk7)
76b97631b0 Merge branch 'MDL-25012' of git://github.com/danpoltawski/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2012-08-15 00:41:04 +02:00
David Monllao
f813321718 MDL-32344 blog Replacing tables for div containers 2012-08-14 10:47:17 +08:00
David Monllao
2591c7ae3d MDL-32344 blog Adding a renderer to manage entries output 2012-08-10 08:51:21 +08:00
Dan Poltawski
850d2db82a MDL-25012 - blogs: introduce a specific 'enabled' config setting
Rather than overloading the $CFG->bloglevel setting which had a
confusing UI in the appearance subsystem.

In order to achieve this we modify take the defaults from the existing
bloglevel setting and set that for $CFG->enableblogs. Note that in order
to prevent a bad default settings from being set we also set
$CFG->bloglevel to a valid 'enabled' setting.
2012-08-06 11:25:22 +08:00
Adrian Greeve
41b3836067 MDL-33061 - lib - Replacement of get_context_instance with the new function call (group 3) 2012-07-24 09:52:41 +08: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
Dan Poltawski
a98ff41f1a Merge branch 'wip-MDL-27427-master' of git://github.com/phalacee/moodle 2012-04-10 12:04:06 +08:00
Jason Fowler
4def8463fe MDL-27427 - Blog - Adding ability to delete entries from external blogs 2012-04-03 12:54:25 +08:00
Petr Skoda
caee6e6c26 MDL-32251 E_STRICT fixes part 3 2012-03-29 15:24:30 +02:00
Petr Skoda
e922fe23b6 MDL-29602 accesslib improvements
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.

More details are available in tracker subtasks.
2011-10-16 14:05:18 +02:00
Aparup Banerjee
fce7424beb MDL-27372 moved blog comments to end of body of blog entry. we now see the entire blog entry without comments in the way. 2011-05-05 15:27:38 +08:00
Aparup Banerjee
20b503841b MDL-25840 blog - fixed broken image file image attachment display 2011-04-27 11:39:01 +08:00
Petr Skoda
9015609696 Revert "MDL-25840 fixed image files link not rendered correctly when attached as file (instead of inline)."
The reason is failed testing. This reverts commit c9b0e31ff29adef113a4adc746bc9169cdddd259.
2011-04-13 15:06:39 +02:00
Petr Skoda
de57ec3926 Merge branch 'MDL-25840' of git://github.com/nebgor/moodle 2011-04-11 13:31:45 +02:00
Aparup Banerjee
c9b0e31ff2 MDL-25840 fixed image files link not rendered correctly when attached as file (instead of inline). 2011-04-11 14:14:03 +08:00
Ankit Agarwal
899d5e2d50 MDL-26931 Order blog entries by the creation date 2011-03-31 11:50:57 +02: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
Petr Skoda
e463f508cb MDL-24321 switching to stdClass in /blog/ 2010-09-21 08:11:06 +00:00
Petr Skoda
320ae23ac1 fixed missing global 2010-09-17 11:29:29 +00:00
Petr Skoda
c014d57c4f MDL-24079 blog now using new sql_like() 2010-09-04 12:04:01 +00:00
Petr Skoda
9d97f08e99 MDL-14679 fixed multiple old style insert_record calls, we throw exceptions now from DML 2010-09-03 16:26:04 +00:00
Dongsheng Cai
d846488e65 "MDL-23917, display comments for not logged in users" 2010-08-25 03:50:19 +00:00
Petr Skoda
ede7252234 MDL-23784 finally getting rid of all legacy .gif and .png extensions, yay! fixing issues with incorrect & in JS code 2010-08-12 20:37:24 +00:00
Petr Skoda
35716b8682 MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;Êimproved php docs; fixed upgrade of filters (should be in plugins, not core) 2010-07-30 20:51:01 +00:00
Andrew Davis
e858c368ff rss MDL-23473 made blog rss feeds work 2010-07-28 02:32:11 +00:00
Andrew Davis
43b92251be rss MDL-23391 made lib/rsslib.php more generic 2010-07-21 02:11:53 +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
David Mudrak
995f2d51d7 MDL-12192 Language specific label separator instead of hardcoded ': '
New string is available. Use get_string('labelsep', 'langconfig') to be used
as a separator between a label and the labelled text. If you want to
produce <label> HTML element, you may be interested in the new
html_writer::label() method. Simple selects and URL selects now use it.

There are bambillion places where ': ' is hardcoded as a separator. I do
not think we have to fix them manually now (and mass search and replace
would be tricky) but everybody should stop adding new.

Do not abuse 'labelsep' for any other purposes. Note that it may not be
colon in some languages or sites.
2010-07-02 12:15:36 +00:00
Martin Dougiamas
8397492bd0 MDL-22864 More tidying up of blog display 2010-06-29 03:19:22 +00:00