94 Commits

Author SHA1 Message Date
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
Andrew Davis
67e4713ca7 rating MDL-21657 changes based on Petr's feedback 2010-03-22 02:59:06 +00:00
Andrew Davis
a8e85df64f rating MDL-21657 split the class rating into rating and rating_manager 2010-03-19 07:20:13 +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
5bdf001089 rating MDL-21657 changed rating::load_ratings so the default scale constant has a better name 2010-03-19 02:08:31 +00:00
Andrew Davis
786f3cc79b rating MDL-21657 put default scale in a constant 2010-03-18 09:26:53 +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
61b0070857 rating MDL-21657 updated aliasing and unaliasing of the fields returned by user_picture::fields 2010-03-18 08:17:21 +00:00
Andrew Davis
c538a23d9d rating MDL-21657 added aliasing and unaliasing of the fields returned by user_picture::fields 2010-03-18 08:12:13 +00:00
Andrew Davis
4e5c0484fa rating MDL-21657 improved the phpdoc comments 2010-03-18 05:54:59 +00:00
Andrew Davis
2d10c08576 rating MDL-21657 changed to make use use of user_picture::fields() 2010-03-18 04:08:52 +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
e1e613d52c rating MDL-21657 added type to phpdocs and adjusted whitespace 2010-03-16 09:48:15 +00:00
Andrew Davis
6c5fcef746 rating MDL-21657 changing from ratings (plural) to rating (singular) 2010-03-16 09:37:31 +00:00
Andrew Davis
19fae1198c rating MDL-21657 changed capabilities from ratings (plural) to rating (singular) 2010-03-16 09:02:34 +00:00
Andrew Davis
54e42e0bf2 rating MDL-21657 Switched from table ratings to rating 2010-03-16 08:57:57 +00:00
Andrew Davis
a09aeee47b rating MDL-21657 first commit for rating library 2010-03-16 05:57:51 +00:00