Commit Graph

189 Commits

Author SHA1 Message Date
Andrew Davis (andyjdavis) b38e2e28a1 MDL-27829 blocks: altered the algorithm used to find plugin page types 2011-06-27 12:27:41 +08:00
Dongsheng Cai b1627a92e5 MDL-26105 Block settings should contains less options, and be more user friendly
AMOS BEGIN
    MOV [page-blog-index, pagetype], [page-blog-index, blog]
    MOV [page-blog-x, pagetype], [page-blog-x, blog]
    MOV [page-tag-x, pagetype], [page-tag-x, tag]
    MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
    MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
    MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
    MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +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
Dongsheng Cai 1d5bd3d2ed MDL-24941, fixed nopermission error when student entering scheduled chat session 2010-11-17 07:56:40 +00:00
Dongsheng Cai a8e3b008ff MDL-25069 CHAT added event handler to handler user logout event. 2010-11-08 02:54:42 +00:00
Sam Marshall 3a7507d081 chat, workshop MDL-24736 'require view' completion missing from these modules 2010-10-18 14:20:44 +00:00
Petr Skoda 6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda 39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda 0b21e5885e improved PHPDocs 2010-09-18 12:15:36 +00:00
Petr Skoda 72d2982eb1 hmm, it is reset course not courses 2010-09-18 12:08:16 +00:00
Petr Skoda 91421f3ead a few spelling fixes 2010-09-18 12:07:01 +00:00
Petr Skoda dd88de0ebd MDL-14679 fixed remaining old style update_record()s 2010-09-03 18:01:25 +00:00
Petr Skoda a9637e7df4 MDL-14679 fixed a lot more old style uses of insert_record() 2010-09-03 17:47:41 +00:00
Sam Hemelryk ea2bc3599b navigation MDL-23831 Always show activity icons on the navigation 2010-08-17 02:43:09 +00:00
Dongsheng Cai 3c3913acc2 "MDL-23476, fixed course module id for chat" 2010-07-26 09:10:16 +00:00
Dongsheng Cai 5605789aad "MDL-23374, fixed class name" 2010-07-26 05:50:11 +00:00
Petr Skoda 3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Dongsheng Cai af140288c4 MDL-8224, minor changes to tweak ui 2010-05-20 06:26:40 +00:00
Martin Dougiamas 765a1d4ba8 MDL-19628 getremoteaddr() now normally returns 0.0.0.0, which is good for logs and so on. It can be made to return null when that is required, by a new parameter. 2010-05-20 02:36:20 +00:00
Dongsheng Cai 79447c50a3 MDL-22151, backup for chat module 2010-05-06 09:30:42 +00:00
David Mudrak a48bf07993 Fixing Chat event type + handling illegal eventtype displaying
Without this fix, chat created events with eventtype set to boolean.
Such value was then used by calendar block to get a string, which
now produces coding_exception.
2010-04-30 10:53:39 +00:00
Dongsheng Cai 50d7699489 "MDL-8224, fixed chat module" 2010-04-25 15:14:36 +00:00
Sam Hemelryk 3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda 98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +00:00
Petr Skoda 4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Sam Hemelryk 0b29477be9 navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
Petr Skoda c63923bddb MDL-20204 converted action_icon 2010-02-16 16:24:49 +00:00
Sam Hemelryk 579a4976cc mod-chat MDL-21534 Converted JS to YUI3 and new coding style also fixed several regressions. 2010-02-15 05:56:36 +00:00
Petr Skoda f9fc1461ba MDL-21590 fixed recent regression in nav icons - now using new pix_icon instead of urls, have to rework extra icon handling in resources though 2010-02-14 09:29:44 +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
Petr Skoda 812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Petr Skoda b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Penny Leach 24ba58ee9a portfolio MDL-21079 be more selective about including libraries.
this involves moving all formslib includes to where they're actually needed.
it also moves the portfolio stuff from assignment,data,chat,forum and glossary
into a locallib.php which involved creating it for many of those modules.
2009-12-12 11:27:07 +00:00
Sam Hemelryk 89b8211e5a chat MDL-19804 Fixed deprecated event calls 2009-12-07 06:04:53 +00:00
Penny Leach 59dd457e4b portfolio: MDL-21030 - leap2a portfolio format support.
This commit includes:

- leap2a portfolio format, and xml writer
- proof of concept implementation in forum and assignment modules
- a lot of refactoring of the portfolio formats in general:
    - addition of "abstract" formats - this is necessary for plugins to be able to support groups of formats
    - addition of the idea of portfolio formats conflicting with eachother - eg richhtml & plainhtml

it touches modules other than assignment and forum, because the format api
changed and now each place in moodle that exports portfolio content has to deal
with the formats it supports slightly differently.

At the moment the Mahara portfolio still doesn't support this format, because I
haven't done the Mahara side yet. The "file download" plugin supports it
though.

Still todo:

- Add support for the other places in Moodle (glossary, data, etc)
- Write tests, once the rest of the portfolio tests have been updated to use the new DB mocking stuff
- Fix a bunch of TODOs
2009-12-03 14:26:37 +00:00
Petr Skoda e7521559ed MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 13:17:47 +00:00
samhemelryk d32229555f chat MDL-19804 Upgraded deprecated calls 2009-10-16 03:19:32 +00:00
dongsheng 75d07096d3 "MDL-14651, improved chat module interface" 2009-10-08 06:37:00 +00:00
samhemelryk b14ae498b9 mod-chat MDL-20243 Upgrade chat module to make use of the two navigation callbacks
Note: I also took the oppertunity to extend navigation_node action handling, so that navigation nodes can accepts
moodle_url, html_link, or strings for actions
2009-09-10 03:50:51 +00:00
dongsheng ff0e58c8ae "MDL-14651, fixed chat_format_userlist" 2009-09-07 02:20:42 +00:00
dongsheng 83064f9c24 "MDL-14651, improve ajax chat module" 2009-09-05 18:41:25 +00:00
nicolasconnault af7bad7997 MDL-19804 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:42:59 +00:00
dongsheng e8041d2c0d "MDL-14651, update chat module to work in new API" 2009-08-15 11:20:35 +00:00
nicolasconnault e09fc68ba7 MDL-19804 Upgraded calls to print_headline 2009-08-06 01:37:33 +00:00
skodak 17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
skodak 7826abc79f MDL-18293 $DB->something is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:25:27 +00:00
samhemelryk b2d5a79a35 mod MDL-19294 Corrected package tags to docs spec 2009-05-27 05:33:12 +00:00
samhemelryk 848bb1134b chat lib MDL-19294 Boilerplate and Phpdocs 2009-05-27 02:40:00 +00:00
tjhunt c85acc871f pagelib: MDL-12212 eliminate chat_page 2009-05-06 09:25:54 +00:00