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
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
Eloy Lafuente (stronk7)
29336fb13c
Merge branch 'MDL-26461_change_rating_scale' of git://github.com/andyjdavis/moodle
2011-02-22 11:06:23 +01:00
Andrew Davis (andyjdavis)
aafa4f324a
rating MDL-26461 fixed an off by 1 bug that made the safeguard against too high ratings not work
2011-02-21 10:48:38 +08:00
andyjdavis
7bbe971548
general MDL-26440 removed references to uid in SQL queries as its a reserved word in Oracle
2011-02-18 15:51:50 +08:00
andyjdavis
66cb20f6c0
rating MDL-26274 made rating_ajax.php use the current scale rather than the scale from the users previously submitted rating
2011-02-11 15:15:49 +08:00
Petr Skoda
5bda2d6a67
MDL-24479 fixed invalid strings, patch by Jenny Gray
2010-10-26 14:31:09 +00:00
Andrew Davis
34ceda8537
rating MDL-24648 altered the query thats executed when something requests grades for all students. Now only returns a row for users that actually have a grade.
2010-10-13 09:05:54 +00:00
Andrew Davis
d0c675f774
rating MDLSITE-1045 changed /rating/index.php page title to be more friendly
2010-10-11 08:39:19 +00:00
Andrew Davis
695719fa45
rating MDL-24558 added better handling for when there are no ratings submitted
2010-10-07 08:25:59 +00:00
Petr Skoda
6bdfef5da9
MDL-24321 switching to standard stdClass()
2010-09-21 08:54:01 +00:00
Petr Skoda
8cbef19e9a
fixed unterminated JS statements
2010-09-17 19:46:57 +00:00
Andrew Davis
07f05a04b1
rating MDL-23933 Removed a bunch of no longer used strings and moved rating strings into the rating lang file.
...
AMOS BEGIN
MOV [couldnotdeleteratings,mod_forum],[couldnotdeleteratings,core_rating]
MOV [aggregatenone,mod_forum],[aggregatenone,core_rating]
MOV [aggregateavg,mod_forum],[aggregateavg,core_rating]
MOV [aggregatecount,mod_forum],[aggregatecount,core_rating]
MOV [aggregatemax,mod_forum],[aggregatemax,core_rating]
MOV [aggregatemin,mod_forum],[aggregatemin,core_rating]
MOV [aggregatesum,mod_forum],[aggregatesum,core_rating]
AMOS END
2010-09-17 06:32:46 +00:00
Petr Skoda
5d354ded1a
standardized PHPDocs package info
2010-09-06 11:17:43 +00:00
Andrew Davis
05250a8549
rating MDL-23805 fixed an ajax bug that was preventing the rating aggregate updating for the hub
2010-08-18 03:11:51 +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
c8e142dd3c
rating MDL-23805 added set_context() call
2010-08-17 03:43:13 +00:00
Andrew Davis
1bb1e5beb7
rating MDL-23814 marking rate_ajax.php as being an ajax so the response should hopefully always be in json
2010-08-15 06:26:16 +00:00
Andrew Davis
06807529ba
rating MDL-23389 altered the grade retrieval sql to avoid something postgres doesnt like
2010-07-19 09:13:13 +00:00
Andrew Davis
55d95d90f9
rating MDL-23328 made date restriction of ratings work correctly
2010-07-16 06:30:30 +00:00
Andrew Davis
63b4eb057b
rating MDL-22283 rating_manager::get_user_grades() was only expected a single user. When you alter the forum grade settings get_user_grades() is called with user id 0 meaning all users. Updated it to handle this.
2010-07-13 08:58:48 +00:00
Petr Skoda
3a11c09f5b
MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support
2010-07-04 18:36:34 +00:00
Andrew Davis
4ca110437f
rating MDL-22162 improved the ajax rating JS
2010-06-02 06:15:11 +00:00
Andrew Davis
50e7d9da14
rating MDL-22541 fixed display of rating aggregates with count and sum aggregation methods
2010-05-24 03:41:00 +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
a6fb9d0d3f
rating MDL-21657 Fixed count aggregation
2010-05-03 06:06:02 +00:00
Andrew Davis
54bc6de2eb
Rating MDL-22270 Prevented fetching of ratings when ratings are turned off
2010-05-03 02:00:33 +00:00
Eloy Lafuente
5cc4e210d9
MDL-22270 ratings - avoid breackage in forum/glossary/data and inform to developer. Thanks Penny.
2010-05-01 17:45:20 +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
Petr Skoda
3dcdf440d7
MDL-21657 frankenstyle fix for incorrect rating plurals
2010-04-01 20:33:15 +00:00