Commit Graph

173 Commits

Author SHA1 Message Date
David Monllao 0b3b8c30e2 MDL-34464 mod_data Replace all instances of get_context_instance() with respective context_XXXX class in mod/data 2012-07-27 09:13:57 +08:00
Adrian Greeve db79db63ed MDL-33603 - data - added another sql query to allow links to records to work. 2012-06-18 10:21:38 +08:00
Adrian Greeve 0a498686c0 MDL-32126 replaced _order with sortorder to make sorting work in oracle 2012-05-18 11:37:21 +02:00
Adrian Greeve 0ba303e85f MDL-32126 - data - Fix of an error when sorting by other criteria. 2012-05-14 07:27:01 +08:00
adrian@moodle.com db546510a1 MDL-17327 - data - improved the sql query for very large advanced searches 2012-03-30 13:18:23 +08:00
Aparup Banerjee a72996fe71 Revert "MDL-17327 - data - improved the sql query for very large advanced searches"
This reverts commit 72d4340a0e.

Testing cross db compatibility failed.
2012-03-22 09:21:25 +08:00
adrian@moodle.com 72d4340a0e MDL-17327 - data - improved the sql query for very large advanced searches 2012-03-21 09:41:48 +08:00
Petr Skoda f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Andrew Davis (andyjdavis) c04b01f46f MDL-27640 rating: altered the return url provided by mod_data to ratings 2011-10-03 15:17:27 +08:00
Sam Hemelryk 8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Sam Hemelryk 6708a1f525 MDL-27810 portfolio: Added ->portfolioenabled checks before creating portfolio buttons to avoid initialising portfolio requirements 2011-06-21 10:35:53 +08: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) 2c2ff8d5fc MDL-26838 rating: remove logged in users ability to sidestep rating validity checks 2011-05-01 18:50:13 +08:00
sam marshall 6553cda7c9 MDL-26778 Change to completion should immediately affect nav block
Includes change so that updating completion resets the cache, and a debugging
warning if any module calls the completion viewed thing after it's already
printed navigation (which will mean navigation obviously doesn't update right
away). All existing modules that currently update after printing navigation
were updated.
2011-04-11 12:40:13 +01:00
Petr Skoda 431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente (stronk7) 195a0848ec MDL-26272 ratings - fix uses breaking after last modinfo changes 2011-02-04 17:30:51 +01:00
Dongsheng Cai a9f19d81b9 "DATA MODULE MDL-25564 fixed $PAGE->url, credits to Davo Smith" 2010-12-05 18:36:44 +00:00
Eloy Lafuente 80c2a742b6 MDL-21437 data - fixed navigation from list to single 2010-11-17 21:47:08 +00:00
Eloy Lafuente 6e6878b5ec MDL-21437 data - fixed the sort by fuctionality to be cross-db for all fields 2010-11-17 21:18:53 +00:00
Sam Hemelryk 1e72829db7 mod-data MDLSITE-1076 Fixed up typo causing mod-data lastname search to break 2010-10-12 06:46:55 +00:00
Petr Skoda 39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda fa7f82beda initialized objects and improved coding style 2010-09-18 12:46:11 +00:00
Petr Skoda 800bb0f70f MDL-24079 mod/data now using new sql_like 2010-09-04 14:08:03 +00:00
Petr Skoda dd88de0ebd MDL-14679 fixed remaining old style update_record()s 2010-09-03 18:01:25 +00:00
Aparup Banerjee 59e2121e16 theme MDL-23363 config setting showblocksonmodpages (theme settings) & usages now removed 2010-08-06 06:20:28 +00:00
Andrew Davis 4a9eecc446 data MDL-23488 made the database activity not available messages less scary 2010-07-30 07:51:51 +00:00
Andrew Davis 2742ffe7c9 data MDL-23488 made database activity respect availability and visibility dates
AMOS BEGIN
 CPY [expired,mod_choice],[expired,mod_data]
 CPY [notopenyet,mod_choice],[notopenyet,mod_data]
AMOS END
2010-07-29 03:26:02 +00:00
Martin Dougiamas e822f07ba2 MDL-23475 Some cleanups to make adding/editing entries a bit smoother. Fixed buttons on Delete too. 2010-07-22 06:29:14 +00:00
Andrew Davis 43b92251be rss MDL-23391 made lib/rsslib.php more generic 2010-07-21 02:11:53 +00:00
Andrew Davis aa60291e12 rss MDL-23391 alter the rss urls to be component names ie mod_forum instead of just module name ie forum 2010-07-19 10:57:52 +00:00
Dongsheng Cai 573e7e3396 revert some changes, my cvs client (smartcvs) goes wrong, commited all my local changes, MDL-8224 2010-05-20 06:35:41 +00:00
Dongsheng Cai af140288c4 MDL-8224, minor changes to tweak ui 2010-05-20 06:26:40 +00:00
Andrew Davis 9e86f2e7a9 rss MDL-22204 fixed rss autodiscovery and made the RSS UI elements placement consistent 2010-05-13 08:44:35 +00:00
Andrew Davis 198ff49840 Rating MDL-22270 Prevented fetching of ratings when ratings are turned off 2010-05-03 02:31:22 +00:00
Penny Leach c3e1b5bd5a portfolio & data MDL-21032 add leap2a to database module
This commit changes drastically the previous portfolio api support in
mod/data to get rid of csv etc and add leap2a, refactor and tidy up a
lot.
2010-05-02 18:01:19 +00:00
Andrew Davis fcce139aa3 RSS MDL-22204 committing new RSS code. Uses a token to ID the user. RSS feeds also generated/updated as needed rather than by cron.php 2010-05-02 11:43:57 +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
Dongsheng Cai 36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00
Petr Skoda 929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00
Petr Skoda 4aea3cc7cd MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout 2010-02-11 13:27:02 +00:00
Petr Skoda 60409fe103 MDL-21532 ->in_head() now really exceptional (after overrlib removal there will be just a few of them) 2010-02-06 14:09:33 +00:00
Petr Skoda 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda c046747947 MDL-21240 simplified CSS handling in requirements manager 2010-01-18 20:02:13 +00:00
Petr Skoda a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Sam Hemelryk 92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +00:00
Sam Marshall f1035deb97 MDL-21009 Group selector must use absolute links in order to work with javascript off 2009-11-30 17:12:48 +00:00
Dongsheng Cai e998effa3d "MDL-20346, comments api for data module" 2009-11-18 06:00:48 +00:00
Petr Skoda 1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
samhemelryk 6d8363c40b data MDL-19806 Upgraded deprecated calls 2009-10-16 03:19:50 +00:00
skodak ebb621f6a9 MDL-11896 added hint if entry awaits approval 2009-09-27 18:08:27 +00:00