102 Commits

Author SHA1 Message Date
Juan Leyva
a927fcdc7b MDL-65042 rating: Fix incorrect image generated for user in rating 2019-08-16 15:41:21 +01:00
Andrew Nicols
9f3bf966c4 MDL-64652 rating: Add optional inner join option to sql 2019-03-05 10:12:22 +08:00
Andrew Nicols
c96cd71102 MDL-63924 privacy: Add shared user providers to subsytsems 2018-11-08 21:26:18 +08:00
Andrew Nicols
e2ca4224f2 MDL-63495 core_rating: Add helper to fetch users in context
This issue is a part of the MDL-62560 Epic.
2018-10-17 13:12:18 +08:00
Andrew Nicols
38e6852140 MDL-62384 core_rating: Move WHERE clauses to JOIN 2018-05-11 09:15:30 +08:00
Marina Glancy
e5ec530a44 MDL-61937 rating: delete method in privacy provider 2018-05-04 11:22:14 +08:00
Andrew Nicols
cbc6325253 MDL-61307 core_rating: Add implementation of Privacy API 2018-03-09 12:24:38 +08:00
Juan Leyva
bb7c514845 MDL-57407 core_rating: Add new external util class for handling ratings
This util class handles all the tasks related to retrieve and format
ratings for external functions.
2017-09-08 13:49:07 +02:00
Juan Leyva
1896b8009a MDL-56307 course: API changes to support retrieve by time 2016-10-25 10:10:52 +01:00
Juan Leyva
afb7799a6d MDL-55786 rating: New Web Service core_rating_add_rating 2016-10-03 12:22:29 +01:00
Juan Leyva
a497458c89 MDL-55786 rating: Move common code to new function 2016-10-03 12:17:09 +01:00
Andrew Nicols
03b5351f88 MDL-54620 rating: Add tests for get_aggregate_string 2016-05-18 12:13:52 +08:00
Kevin Wiliarty
393890e168 MDL-54620 ratings: display '0' when aggregate = 0 2016-05-18 07:21:28 +08:00
Juan Leyva
d85bedf796 MDL-49823 webservice: Support gravatar profile images 2015-10-01 09:36:31 +02:00
Ankit Agarwal
731c2712e7 MDL-50173 ratings: Use proper checks to ensure ratings are viewable.
Mainly to verify groups visibility this new callback has been created.

Note this was originally 3 commits but for amending purposes they have
been squashed.
2015-09-09 04:07:21 +02:00
Juan Leyva
d982713ad3 MDL-49763 webservices: Handle correctly deleted users for ratings 2015-04-10 22:21:34 +02:00
Juan Leyva
a955fcb608 MDL-49347 rating: Unit tests for core_rating_get_item_ratings 2015-04-07 21:13:25 +02:00
Juan Leyva
46e41e6339 MDL-49347 rating: Several fixes and code clean up
- Use correct return values types
- Fix the warnings declaration
- Fix the pluginfile URL
2015-04-07 21:13:24 +02:00
Costantino Cito
db5b697158 MDL-49347 rating: New external function core_rating_get_item_ratings 2015-04-02 17:13:44 +02:00
David Monllao
81ce169dce Merge branch 'MDL-49346-master' of git://github.com/jleyva/moodle 2015-03-10 15:31:51 +08:00
Juan Leyva
9502a19c3c MDL-49346 ratings: ratingarea should be a required parameter 2015-03-06 11:34:21 +01:00
Juan Leyva
c73b8d85c5 MDL-49351 ratings: Correct check of viewallratings permission 2015-03-06 11:33:56 +01:00
Marina Glancy
2e6188a7f2 Merge branch 'MDL-46448_rating_ajax2' of git://github.com/andyjdavis/moodle 2014-08-12 15:22:19 +08:00
Andrew Davis
c568d478db MDL-46448 core_rating: now only formats rating aggregate if user can see it 2014-08-06 18:28:56 +08:00
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
Andrew Nicols
af64bc6179 MDL-33099 Javascript: Deprecate the ajaxenabled function 2014-02-17 14:11:21 +08:00
Eloy Lafuente (stronk7)
fb1788c598 Merge branch 'MDL-40424-master' of git://github.com/FMCorz/moodle
Conflicts:
	admin/oacleanup.php
2013-07-17 01:21:51 +02:00
Petr Škoda
56da374e1e MDL-40220 use new core_component::normalize_component() 2013-07-16 22:41:00 +02:00
Frederic Massart
2e4c0c9181 MDL-40424 libraries: Deprecate context_instance_preload_sql() 2013-07-12 17:41:49 +08:00
Dan Poltawski
0e35ba6ffc MDL-36357 cleanup - remove double semicolons 2012-11-15 09:51:26 +08:00
Andrew Davis
94e40193a4 MDL-32649 rating: fixed the sorting in /rating/index.php 2012-06-04 09:13:26 +07:00
Petr Skoda
f59f03ad2d MDL-32569 drop more core simpletests that were already migrated 2012-04-21 16:27:30 +02:00
Andrew Davis
08f06b1c24 MDL-30955 rating: corrected /rating/index.php as it was determining the maximum rating incorrectly for custom scales 2012-04-10 12:01:52 +07:00
Petr Skoda
78d6314daa MDL-32149 add rating tests 2012-04-03 22:30:58 +02:00
Jason Fowler
8c335cffc4 MDL-30990 - Docblock cleanup for Ratings API 2012-03-02 07:47:08 +08:00
Eloy Lafuente (stronk7)
2c6da73106 MDL-29602 unittest - fixing other tests to work with new accesslib 2011-10-19 01:37:30 +02:00
Eloy Lafuente (stronk7)
e135797586 Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle 2011-09-27 00:00:20 +02:00
Aparup Banerjee
2a8702c158 Merge branch 'MDL-29333_rating_ajax' of git://github.com/andyjdavis/moodle 2011-09-26 13:47:20 +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
Eloy Lafuente (stronk7)
e437d9f1d9 MDL-29478 unittest - fix rating tests so they can be executed with accesslib caches cleaned 2011-09-23 01:46:38 +02:00
Andrew Davis (andyjdavis)
5e36e1045a MDL-29333 rating: prevent the ratings JS from being intialized multiple times 2011-09-21 15:49:24 +08:00
Andrew Davis (andyjdavis)
5c0452c6f8 MDL-29333 rating: refactored the ratings ajax 2011-09-21 14:54:32 +08:00
Andrew Davis (andyjdavis)
02f40510e6 MDL-27845 rating: altered the get_ratings() query to avoid possible future duplicate key problems 2011-08-05 11:12:44 +08:00
Andrew Davis (andyjdavis)
675c2f5341 MDL-27845 rating: split the get_ratings() query into two to reduce query complexity 2011-07-25 13:46:49 +08:00
Andrew Davis (andyjdavis)
a924c53e4a MDL-27845 rating: updated rating unit tests 2011-07-22 16:09:56 +08:00
Eloy Lafuente (stronk7)
d8c713885f rating/lib.php unit tests 1st cut 2011-07-21 15:58:53 +08:00
Eloy Lafuente (stronk7)
f2e725930b MDL-27471 rating - whitespace cleanup 2011-05-25 16:54:51 +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