Commit Graph

68 Commits

Author SHA1 Message Date
sam_marshall d0afc97d3e MDL-8621 Fixed wiki locking 2007-02-22 17:46:13 +00:00
sam_marshall c32580cea0 MDL-8544 Fixed wiki locking require_js usage 2007-02-16 14:21:13 +00:00
sam_marshall d6f15b5eb3 MDL-8227 - Made wiki locking only apply to group being edited! 2007-01-19 15:25:35 +00:00
sam_marshall 7f93cff60e MDL-8225 Made it not display wiki title twice in navigation, when first page has same name as title. 2007-01-19 12:48:35 +00:00
moodler c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
toyomoyo beae179786 MDL-7861 related problems for wiki. use_html_editor() call in ewiki.php is probably causing additional problems. 2007-01-09 08:21:29 +00:00
skodak b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
toyomoyo 4aac765f4c MDL-7861, fixng broken xhtml 2006-12-21 06:01:35 +00:00
moodler a2af00edf1 Merged fix for MDL-7248 from stable 2006-10-29 13:31:27 +00:00
sam_marshall 352b1adb8c Wiki: fixed issue if you tried to set a page content to completely blank (you need to switch the html editor into text mode to get this, otherwise it puts in <br/>, but one of our QA people managed to find it anyway).
Also corrected whitespace on some of the lock stuff (weird - how did those tabs get in there? hrm)
2006-10-10 17:23:24 +00:00
sam_marshall 745c19685c Wiki: some changes to improve error messages and (slightly) behaviour when in group mode 2006-10-09 14:29:14 +00:00
sam_marshall 4db1861a8d Wiki: Improve page locking to make it more robust and support non-javascript users (not very friendlily, though...) 2006-09-27 11:22:57 +00:00
sam_marshall 22e846cde2 Wiki enhancement: edit locking (uses AJAX) 2006-09-25 17:42:32 +00:00
vyshane 73ebd5e23a Removed mod/wiki:view 2006-09-22 03:14:08 +00:00
skodak ee3cc9951c basic conversion of old wiki to new roles framework 2006-09-10 19:44:28 +00:00
moodler dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
skodak f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
martinlanghoff 51886e2fb4 wiki: Added a link to force reloading of the page (WR#515)
The link allows the page to be reloaded, which saves people from only seeing the cached copy. This is the equivalent of doing Shift+Reload in most
browsers.


Author: Luke Hudson <luke@catalyst.net.nz>
2006-07-31 04:56:12 +00:00
martinlanghoff 95900e17f2 wiki: Fix for broken view on new (empty) wiki pages.
The wiki should display the 'edit' screen when a user tries to view a page
that doesn't exist. This output should not be filtered.

Merged from MOODLE_16_STABLE

Author: Donal McMullan
2006-07-06 05:08:11 +00:00
stronk7 13ca56cf52 Solving double addslashes to DB when the site is running with
magic_quotes_gpc() disabled (because Moodle addslashes to
everything). Not a pretty hack, but it seems to work.
(http://moodle.org/mod/forum/discuss.php?d=38127)

Merged from MOODLE_15_STABLE
2006-01-27 23:01:34 +00:00
stronk7 e734dbb66b There! :-P :-D
(just looking for one BIG problem in wiki - pagename is lost, so page
is never detected, so the edit page is showed once and again and again,
and again.......)
2006-01-22 20:27:11 +00:00
toyomoyo fc7fc3c005 merged, wrong param type for $page 2005-12-21 03:26:19 +00:00
moodler aa8139414e Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
moodler fa22fd5fff BIG FEATURE - MULTIPLE GROUPS
Users can now be assigned to multiple groups.  Thanks Yu!
Break out the Bob Marley!!

Otherwise groups work more or less like they did before.

This has been pretty well tested by Yu and myself, but since Yu started
uncovering lots of existing groups bugs it's possible there may be still
a few corner cases still lurking here and there.

Please help test this thoroughly for 1.6!!
2005-11-08 07:19:27 +00:00
moodler 7328a56c81 Fix for the jumpy flickering HTML editor! 2005-05-04 10:45:39 +00:00
moodler b8a11dfff9 Only add a Wiki edit log entry when we have submitted changes. (SE) 2005-04-29 23:24:25 +00:00
stronk7 973ec7b671 Now wiki->name supports $CFG->filterall
(specifying a multilang name allows to have different start pages too!)

I've found some bad XHTML in this module and some inconsistencies
with different cased page-names. Are wikipages different if their name case is
different? If no, we should fix it.
2005-04-10 15:30:04 +00:00
moodler 41682d287c Now uses the new tab structure (SE) 2005-03-15 09:58:14 +00:00
moodler b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler 69ad0d6928 Better logging and recent activity 2005-03-10 14:11:07 +00:00
mchurch 1fb5d4b081 Added the 'get_recent_activity' function (see bug 1897). 2005-03-05 04:14:51 +00:00
stronk7 d0b95287c5 Some $ME are now out!
Merged from MOODLE_14_STABLE
2005-02-27 02:13:18 +00:00
stronk7 2231b98040 Avoid some notices breaking image display and correct redirects. Bug 2638.
(http://moodle.org/bugs/bug.php?op=show&bugid=2638)

Merged from MOODLE_14_STABLE
2005-02-25 00:11:49 +00:00
gustav_delius ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
moodler f1c1d2f166 Removing the THEME variable and adding in classes where appropriate 2005-02-10 10:41:22 +00:00
urs_hunkler 08bcdcbea2 _ added the div framework 2005-01-19 09:26:45 +00:00
gustav_delius 713492e36c corrected typo in previous commit 2005-01-15 21:59:41 +00:00
gustav_delius dc9e582553 fixed bug 1887 2005-01-15 21:55:25 +00:00
moodler b64dab0e5d Changes for XHTML and accessibility compatibility 2004-11-26 09:33:02 +00:00
gustav_delius 8f0cd6ef0f Resolved problems with previous replacement of
& to &amp; and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
gustav_delius 839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
mchurch c49ae4ae77 Fixed potential undefined variable. 2004-09-09 12:52:24 +00:00
skaldrom 5323756b05 Reactivated Cancel when editing. 2004-09-03 21:25:52 +00:00
skaldrom 1c6fc1e75f Removed Wikinews 2004-09-03 21:05:04 +00:00
skaldrom 087fef3ed4 Fix for Bug #1603 - Shortening URLs in Wiki pages
- Renamed wikipage in page (URL and variable)
- When groupid or userid is 0, it is not shown anymore (I hope I have changed all places)
2004-09-03 21:02:27 +00:00
skaldrom d9742e4071 Fix for Bug #1820 - wiki export does not keep correct links
Create filenames with + (next+page.html).
2004-09-03 20:01:47 +00:00
mchurch 24223b9eb7 Fixed some formatting issues that prevented ** and ## from working. 2004-09-02 18:43:23 +00:00
moodler 1290953e40 Merged changes from stable 2004-08-26 15:23:07 +00:00
gustav_delius 56c1fd3684 disabled email_protect plugin, see Bug #1775 2004-08-24 12:51:28 +00:00