25 Commits

Author SHA1 Message Date
Sujith Haridasan
73d604369d MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
Andrew Davis
27dbf2628f MDL-46447 core_rate: made sure non-ajax files don't return JSON data 2014-08-04 15:12:50 +08:00
Andrew Davis
d28a6a5f4b MDL-46446 core_rating: fixed coding style problems 2014-07-23 19:30:53 +08:00
Jason Fowler
8c335cffc4 MDL-30990 - Docblock cleanup for Ratings API 2012-03-02 07:47:08 +08:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Sam Hemelryk
2b04c41c58 MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
* Added the component and ratingarea fields and implemented it throughout
  the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
  API.
2011-05-23 12:35:39 +02:00
Andrew Davis (andyjdavis)
778361c330 MDL-26838 rating: multiple fixes after a review of rating validation code 2011-05-04 15:43:30 +08:00
Andrew Davis (andyjdavis)
2c2ff8d5fc MDL-26838 rating: remove logged in users ability to sidestep rating validity checks 2011-05-01 18:50:13 +08:00
Petr Skoda
5bda2d6a67 MDL-24479 fixed invalid strings, patch by Jenny Gray 2010-10-26 14:31:09 +00:00
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda
5d354ded1a standardized PHPDocs package info 2010-09-06 11:17:43 +00:00
jerome mouneyrac
59b0f7973f rating MDL-23814 instantiate rating manager outside the "if" brackets because it is used in different "if" brackets 2010-08-17 12:51:19 +00:00
Andrew Davis
279fcfcfa4 rating MDL-23814 made an assortment of fixes to the ratings code 2010-08-17 07:18:10 +00:00
Andrew Davis
aeafd4366b rating MDL-22526 added item checks to rating submission 2010-05-21 07:50:38 +00:00
Andrew Davis
3180bc2cc1 rating MDL-22526 adding sesskey to improve security 2010-05-21 03:43:45 +00:00
Andrew Davis
d251b25937 rating MDL-21657 updated version of ratings including checks for both new system capabilities and old per module capabilities 2010-04-23 09:44:19 +00:00
Andrew Davis
63e87951e6 rating MDL-21657 updated version of ratings including forum and glossary integration 2010-04-22 05:15:23 +00:00
Andrew Davis
b1721f670b rating MDL-21657 started making ratings API more like comments and split rate.php into rate.php and rate_ajax.php 2010-03-19 06:55:47 +00:00
Andrew Davis
c82ed0a8b0 rating MDL-21657 changed ratings rendering to avoid a nonconstant element name 2010-03-19 02:24:44 +00:00
Andrew Davis
bab7e00b10 rating MDL-21657 switched from putting permissions in constants to using literal strings 2010-03-18 08:59:10 +00:00
Andrew Davis
8b69c341c0 rating MDL-21657 more changes based on Petr's feedback 2010-03-18 03:47:12 +00:00
Andrew Davis
7ac928a749 rating MDL-21657 more changes based on Petr's feedback 2010-03-17 09:12:13 +00:00
Andrew Davis
9c1f9627d8 rating MDL-21657 renamed ratinglib.php to lib.php to bring /rating in line with /comment 2010-03-17 03:54:18 +00:00
Andrew Davis
f1f6a75524 rating MDL-21657 changes based on Petr's feedback 2010-03-17 03:39:54 +00:00
Andrew Davis
a09aeee47b rating MDL-21657 first commit for rating library 2010-03-16 05:57:51 +00:00