Commit Graph

109 Commits

Author SHA1 Message Date
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Marina Glancy
b0b2c93da9 MDL-50851 mod_wiki: use new tag API 2016-01-10 15:25:46 +08:00
Adrian Greeve
40a154551f MDL-48371 editors: Option for removing managefiles
We want to remove the managefiles button from the
editors in the wiki so that students don't delete
each others files.
2015-09-07 09:59:35 +01:00
Marina Glancy
2f7b38cfb3 MDL-49267 mod_wiki: always apply filters to the wiki name 2015-03-06 13:57:55 +08:00
Marina Glancy
d8773d64fc MDL-47613 wiki: allow searching several words
Thanks to Sandeep B for suggested solution
2014-10-10 16:35:13 +08:00
Rajesh Taneja
52f061db3e MDL-30431 behat: Use table id for wiki comments in behat 2014-07-16 14:56:08 +08:00
Andrew Davis
9e6cdc0ece MDL-30431 mod_wiki: clarified the logic around editing and deleting wiki comments and added behat tests 2014-07-14 07:49:23 +08:00
Dan Poltawski
0678d09213 Merge branch 'wip-MDL-33486-master' of git://github.com/marinaglancy/moodle 2014-04-07 13:10:41 +08:00
Eloy Lafuente (stronk7)
b224448ac6 Merge branch 'wip-MDL-43398-master' of git://github.com/marinaglancy/moodle 2014-04-02 02:47:59 +02:00
Marina Glancy
d3adc16e48 MDL-33486 wiki: allow searching individual wikis 2014-03-28 14:16:13 +08:00
Jerome Mouneyrac
3ef5218b30 MDL-43398 Wiki: Choose... options cause SQL errors or seen inappropriate. 2014-03-27 14:58:28 +08:00
Mark Nelson
cc033d48b5 MDL-44316 core_tag: changed the API to accept a contextid and component 2014-03-22 13:50:08 -07:00
Eloy Lafuente (stronk7)
478baf8334 Merge branch 'wip-MDL-32699-master' of git://github.com/marinaglancy/moodle 2014-03-13 18:33:20 +01:00
Marina Glancy
2f8d26346f MDL-40721 wiki: missing page->set_url() when restoring wiki 2014-03-07 09:38:15 +08:00
Marina Glancy
846f6886f0 MDL-32699 wiki: only edit capability is required to restore wiki revision 2014-03-07 09:36:57 +08:00
Sam Hemelryk
593b838546 MDL-44159 mod_wiki: unify @package use 2014-02-21 08:32:58 +13:00
Damyon Wiese
62f641efd3 Merge branch 'MDL-41646' of git://github.com/apsdehal/moodle 2014-02-18 12:40:56 +08:00
Sam Hemelryk
7db38cd53f MDL-44103 mod_wiki: fixed copyright typo 2014-02-16 12:14:25 +13:00
Rossiani Wijaya
8c6ca6961a MDL-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08:00
apsdehal
f159bd75ad MDL-41646 Wiki: Removed unnecessary wiki_info class 2014-02-02 15:50:10 +05:30
Eloy Lafuente (stronk7)
295f7a6137 Merge branch 'MDL-43109' of https://github.com/mdikih/moodle 2014-01-13 21:51:27 +01:00
Rajesh Taneja
0e72987517 MDL-40058 mod_wiki: modified wiki_restore_page api to accept version and context 2013-12-11 13:53:04 +11:00
Rajesh Taneja
31383bcdad MDL-40058 mod_wiki: Replaced add_to_log for version restored with event 2013-12-11 13:52:58 +11:00
Michael Dikih
1d2c29ca0d MDL-43109: mod/wiki - When editing pages populate the default value for the tags input. 2013-12-10 14:15:35 +10:30
Rossiani Wijaya
f7bfb405cb MDL-41288 wiki: fix missing .rtl class for deleting comment button and improve page display for deleting comment 2013-09-13 12:56:41 +08:00
Rossiani Wijaya
14cdc25731 MDL-41288 Wiki: add additional fix for heading level 2013-09-13 11:04:08 +08:00
Marina Glancy
341e2460cd MDL-41288 Bugfix of error occuring when subwiki is not set 2013-09-10 22:02:24 +10:00
Rossiani Wijaya
876c0ac382 MDL-41288 wiki: improve heading levels and styling 2013-09-10 14:08:34 +08:00
Brian King
831ca534f4 MDL-29004 Wiki: display images in printer-friendly view 2013-08-13 10:00:46 +02:00
Petr Škoda
2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Damyon Wiese
0070cb8bca Merge branch 'MDL-40295' of git://github.com/rwijaya/moodle 2013-07-23 15:51:59 +08:00
Rossiani Wijaya
74eab231f7 MDL-40295 wiki mod: fix set_url() error for printer friendly page.
Additionally, fix wiki pagelayout for printing
2013-07-18 10:47:07 +08:00
Dan Poltawski
caf8d39b17 MDL-40604 wiki: fix use of print_container 2013-07-17 14:11:10 +08:00
Rossiani Wijaya
be27bd59d9 MDL-39815: wiki and glossary mods: update print icon and system print popup 2013-07-05 12:10:30 +08:00
Adrian Greeve
4a28ff88fb MDL-26998 - mod_wiki: the page_wiki class now stores the course module object. 2013-05-23 15:11:32 +08:00
David Monllao
83cfd14444 MDL-38089 mod_wiki: Fix incorrect links 2013-04-12 12:14:13 +08:00
Paul Campbell
4f6c447be1 MDL-38766 wiki2.0: fix redirects
Signed-off-by: Paul Campbell <pcampbell@carnegiecollege.ac.uk>
2013-04-05 09:36:46 +01:00
Andrew Robert Nicols
a6d81a73ac MDL-36749 lib Complete deprecation of old_help_icon
This deprecates the old_help_icon and helpbutton functions. Since they can
no longer be used, the renderers are removed altogether.
2013-03-05 19:07:06 +00:00
Dan Poltawski
12f756f9d7 Revert "MDL-37613 mod: changed generalbox class in table to generaltable class in mod/feedback (2 files);mod/glossary (3 files);mod/wiki (1 file)."
This reverts commit 0434dd2482.
2013-01-31 15:02:12 +08:00
Mary Evans
0434dd2482 MDL-37613 mod: changed generalbox class in table to generaltable class in mod/feedback (2 files);mod/glossary (3 files);mod/wiki (1 file). 2013-01-21 23:38:46 +00:00
Adrian Greeve
9daabc71ea MDL-35653 - mod/wiki: Force format now lets users edit wiki pages.
Thanks to Tõnis Tartes for part of this solution.

When force format was selected in the options, trying to view the
wiki would redirect to the front page with a message saying that
you do not have permission to edit this page. Students had no way
of viewing any entries or creating the first page.

When in force format it skips a page , which would be considered
uncessary for students, but this means that the group id is not set
and this is what is causing most of the problems.

I also have included a check to see if the title is default and whether
the user has permission to view all groups. In these situations the
intermediate page is displayed.
2012-12-19 08:47:26 +08:00
Petr Škoda
1a4596e434 MDL-29442 add missing utf-8 to entity html encoding and decoding 2012-12-09 18:21:38 +01:00
Dan Poltawski
908957bc25 Merge branch 'MDL-34695' of git://github.com/rwijaya/moodle 2012-11-27 14:23:29 +08:00
Frederic Massart
ae41a70b40 MDL-36634 usability: Minor CSS fixes in Wiki and Blog 2012-11-20 13:06:09 +08:00
Huy Hoang
e8c07ff705 MDL-34695 Wiki Module: add prevention to create new record when userid is 0 2012-11-01 17:14:45 +08:00
Jonathon Fowler
70a9f27b1b MDL-34695 wiki: ensure the correct individual subwiki is used/created for a user 2012-11-01 11:47:11 +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
Petr Škoda
5f573e8efc MDL-34741 use 2in3 in mod_wiki 2012-08-11 20:40:05 +02:00
Charles Fulton
9ff5e86909 MDL-29129 wiki: fix a hardcoded string 2012-08-02 06:10:16 -07: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