27 Commits

Author SHA1 Message Date
Meirza
0d3a840154 MDL-77350 comment: Added class properties that are not declared
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-05-16 00:33:19 +07:00
Paul Holden
648b80c201 MDL-76591 comment: convert existing overview page to system report.
Re-use the entity definitions previously created in fdf2f8f3 for
custom reporting, to create a new system report class.
2023-01-30 15:53:59 +00:00
sam marshall
5e72715e4f MDL-71099 Lib: Move new user_fields class from core to core_user
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.

Since the class has only just been added to Moodle, now is a good
time to move it.
2021-03-25 13:47:23 +00:00
sam marshall
558cc1b85e MDL-45242 Lib: Replace calls to deprecated functions
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
Damyon Wiese
5d87464bc6 MDL-64651 comments: Do not send referrer
Use blanktarget option on all comments to prevent malicious links.
2019-03-05 04:24:53 +01:00
Adrian Greeve
a1b0ac60fe MDL-64339 core_comment: Update comment display to link to profile. 2018-12-07 11:13:16 +01:00
Simey Lameze
270b2e443c MDL-56988 report: review and apply boosty styles to all reports 2016-11-23 15:30:32 +08:00
Juan Leyva
1896b8009a MDL-56307 course: API changes to support retrieve by time 2016-10-25 10:10:52 +01:00
Sam Hemelryk
686d05619b MDL-27548 comments: component now recorded 2014-11-26 13:31:37 +13:00
Adrian Greeve
5e9c9e0e39 MDL-43700 reports: Update to the sql in the comment locallib to include additional name fields. 2014-01-15 12:03:19 +08:00
Rossiani Wijaya
6fc61f2d08 MDL-36554 Admin settings: make tables class consistent throughout admin settings 2013-01-14 10:10:54 +08:00
Ankit Agarwal
b512b9dee2 MDL-31010 comments: setup_course should update if passed courseid is different from the cached one 2012-10-11 10:55:37 +08:00
Ankit Agarwal
5fbe2118bc MDL-34549 libraries: Changing strictness of context::instance_by_id() when required 2012-08-24 11:30:35 +08:00
Ankit Agarwal
d197ea4300 MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
Dongsheng Cai
35453657a2 MDL-30984 comment API, check and update DocBlock 2012-02-15 11:21:35 +08:00
Dongsheng Cai
c1951ea953 MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)

AMOS BEGIN
    MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
2011-05-04 17:23:46 +08: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
Dongsheng Cai
2be0842e6b "NOBUG rename username from comment api, it supposed to be secret" 2010-08-25 09:11:36 +00:00
Sam Hemelryk
f36b47efa0 admin blog comment course MDL-22856 Minor cleanups and improvements to styles 2010-08-19 05:56:57 +00:00
Dongsheng Cai
34e20eb422 "MDL-19118, improve comments management" 2010-03-31 09:53:05 +00:00
Dongsheng Cai
b9a689e8e3 "MDL-21952, comments api, fixed delete_record" 2010-03-30 07:38:47 +00:00
Dongsheng Cai
05fe3ab530 "MDL-21958, stop using "_" prefix for private functions" 2010-03-29 05:44:48 +00:00
Dongsheng Cai
1d51d1e001 "MDL-21950 use $PAGE->coures instead of $COURSE" 2010-03-29 05:37:22 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Dongsheng Cai
24048d094e "MDL-21786, add license info to locallib.php" 2010-03-15 08:01:01 +00:00
Dongsheng Cai
36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00