Commit Graph

134 Commits

Author SHA1 Message Date
Marina Glancy
b0b2c93da9 MDL-50851 mod_wiki: use new tag API 2016-01-10 15:25:46 +08:00
Dani Palou
557b58b099 MDL-51886 wiki: New WS mod_wiki_view_wiki and mod_wiki_view_page 2015-12-21 08:19:24 +01:00
Dani Palou
23cbaefb24 MDL-50550 wiki: New WS mod_wiki_get_wikis_by_courses 2015-12-04 13:52:41 +01:00
Adrian Greeve
33a2512acd MDL-49028 mod_wiki: Fix for reseting pages and tags
This will ensure that both pages and tags will be
removed when all the reset options for the wiki are
selected.
2015-10-07 10:03:02 +08:00
Adrian Greeve
30836b17da MDL-49028 mod_wiki: Fully reset wiki pages.
All the wiki pages as well as comments and tags
can now be reset.

A thank you to Daniel Kosinski and Pascal Maury for
providing patches for this improvement.
2015-10-05 09:48:38 +08:00
sam marshall
9c85baa8c5 MDL-44725 Availability: Replace groupmembersonly - FEATURE_xx (6)
Remove old FEATURE_GROUPMEMBERSONLY as no longer required.
2014-09-02 13:03:17 +01:00
Mark Nelson
70279746ec MDL-41286 report_outline: updated report to use logging api
AMOS START
 MOV [neverseen, mod_folder],[neverseen, report_outline]
 MOV [neverseen, mod_page],[neverseen, report_outline]
 MOV [neverseen, mod_resource],[neverseen, report_outline]
 MOV [neverseen, mod_url],[neverseen, report_outline]
AMOS END
2014-04-15 22:42:59 -07:00
Marina Glancy
d3adc16e48 MDL-33486 wiki: allow searching individual wikis 2014-03-28 14:16:13 +08:00
Marina Glancy
c7a8cef65e MDL-44471 Revert "MDL-42238 mod_wiki: Alternate name sql update to wiki_print_recent_activity"
This reverts commit 6d3d9bd927.
2014-03-07 09:56:29 +08:00
Marina Glancy
3a7b9b76c2 MDL-39990 wiki: more detailed validation of view/edit access rights 2014-03-03 14:45:03 +08:00
Sam Hemelryk
593b838546 MDL-44159 mod_wiki: unify @package use 2014-02-21 08:32:58 +13:00
Sam Hemelryk
7db38cd53f MDL-44103 mod_wiki: fixed copyright typo 2014-02-16 12:14:25 +13:00
Petr Škoda
0c431257e9 MDL-42387 standardise file lifetime handling 2013-11-01 10:42:18 +01:00
Adrian Greeve
6d3d9bd927 MDL-42238 - mod_wiki: Alternate name sql update to wiki_print_recent_activity 2013-10-10 14:02:32 +08:00
Jason Fowler
beff3a9dd5 MDL-35885 - Wiki - add a legend element to the search wikis form 2013-01-11 15:29:35 +08:00
Gilles-Philippe Leblanc
033e8461ab MDL-31708 wiki: Wiki 2.0 non-group member can see edit option in navigation block 2012-10-19 09:38:28 -04:00
Rossiani Wijaya
85bc1f4848 MDL-34569 - add label for search wiki input text 2012-08-17 11:35:11 +08:00
Ankit Agarwal
1df2362669 MDL-34470 wiki: Replace all instances of get_context_instance() with context_xxx::instance() in mod/wiki 2012-07-23 15:10:07 +08:00
Sam Hemelryk
b945325339 Merge branch 'MDL-31850-master' of https://github.com/mackensen/moodle 2012-05-17 14:49:03 +12:00
Juho Viitasalo
e566bfa1ae MDL-31850 wiki: extra whitespace removed from form 2012-05-16 03:43:17 -07:00
Ankit Agarwal
3afe75a79c MDL-31902 general: Removing deprecated functions 2012-05-11 10:30:40 +08:00
David Mudrak
261cbbacc1 MDL-32471 preview thumbnails support for activity modules
Activity module's xxx_pluginfile() now accepts the $options parameter
that is to be passed to the send_stored_file() function.
2012-04-24 12:09:45 +02:00
Petr Skoda
f20edd5208 MDL-32094 fix various E_STRICT compatibility problems 2012-03-18 18:37:24 +01:00
Eloy Lafuente (stronk7)
d395ad7042 Revert "[MDL-31708] - wiki 2.0 non-group member can see edit option in navigation block."
This reverts commit ebadb9b9a6.
2012-03-09 01:58:09 +01:00
Eloy Lafuente (stronk7)
61b0512c44 Revert "MDL-31708 wiki groups: whitespace fix"
This reverts commit 6273fb8377.
2012-03-09 01:58:01 +01:00
Eloy Lafuente (stronk7)
6273fb8377 MDL-31708 wiki groups: whitespace fix 2012-03-06 11:45:34 +01:00
Gilles-Philippe Leblanc
ebadb9b9a6 [MDL-31708] - wiki 2.0 non-group member can see edit option in navigation block. 2012-03-06 10:20:42 +08:00
Eloy Lafuente (stronk7)
d8c9ff403b Merge branch 's17_MDL-30973_file_docblock_master' of git://github.com/dongsheng/moodle 2012-03-01 00:25:18 +01:00
Dongsheng Cai
d2b7803e5a MDL-30973 Files API, check and update DocBlock 2012-02-15 12:48:57 +08:00
Dongsheng Cai
35453657a2 MDL-30984 comment API, check and update DocBlock 2012-02-15 11:21:35 +08:00
Eloy Lafuente (stronk7)
4a94d2c61f Merge branch 'MDL-27001-master' of git://github.com/sammarshallou/moodle 2011-09-06 15:50:26 +02:00
sam marshall
3e4c243500 MDL-27001 'Show description' feature part 3: Implementation for all modules
For modules that still used the 'old' generic object return from _get_coursemodule_info instead of returning a cached_cm_info object, I changed them to use the new format as part of this. This made a few areas of code regarding onclick links slightly nicer.
2011-09-06 11:03:06 +01:00
Rajesh Taneja
ac0a82cf92 MDL-23520 mod-wiki-2.0: Added delete page and version feature as it was in 1.9 2011-08-31 13:54:05 +08:00
sam marshall
05b7cd7ae9 MDL-27491 Add 'complete on view' support to wiki, survey 2011-08-10 10:56:14 +01:00
Andrew Davis (andyjdavis)
b38e2e28a1 MDL-27829 blocks: altered the algorithm used to find plugin page types 2011-06-27 12:27:41 +08:00
Sam Hemelryk
46d3b9be73 Merged branch 's7_MDL-26105_block_settings_master' git://github.com/andyjdavis/moodle.git with changes 2011-06-13 16:54:52 +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
Dongsheng Cai
12c9bbbdd2 MDL-26392 WIKI added file managment support to wiki editor 2011-06-03 11:22:18 +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
c1951ea953 MDL-26854 COMMENT
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)

AMOS BEGIN
    MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
2011-05-04 17:23:46 +08:00
Dongsheng Cai
f0f77dfaae MDL-24888, wiki tags' itemtype should be wiki_pages, taglib will try to query table by itemtype in cron 2010-10-28 07:51:59 +00:00
Sam Marshall
1c79d7db3b survey, wiki MDL-24712 Survey and wiki claim to support grades, outcomes but in fact do not 2010-10-18 10:57:41 +00:00
Dongsheng Cai
7c61b94c1c WIKI MDL-24162 added comments deletion to wiki reset function, added $data->reset_wiki_tags switch 2010-09-20 06:30:24 +00:00
Aparup Banerjee
0cdbbc17df course MDL-24162 added wiki_reset_userdata() to delete tag instances during course reset. 2010-09-20 06:02:14 +00:00
Jordi Piguillem
f6e56f2890 [MDL-23556]
Fixing this issue at wiki creation.
2010-08-03 17:28:17 +00:00
Jordi Piguillem
621f3ef519 [MDL-23130]
Fixing sql code style and sql injection problems
2010-07-30 10:49:41 +00:00
Dongsheng Cai
16b86ae420 MDL-23187, added extra comments caps to modules (glossary, data and wiki) 2010-07-27 10:05:12 +00:00
Jordi Piguillem
532d319d50 MDL-23136
I moved the require to the function that needed it.
2010-07-26 10:09:22 +00:00
Andrew Davis
e8930396ee course MDL-22973 altering a pointless 2.0 function to match the equally pointless 1.9 version to at least avoid a php error 2010-07-25 05:05:44 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00