58 Commits

Author SHA1 Message Date
Andrew Davis
99fa98899b forum MDL-24850 added ratings to mod/forum/user.php 2010-11-09 08:34:30 +00:00
Sam Hemelryk
241ce9c4b4 mod-forum MDL-24569 Improved forum posts/discussions links within navigation 2010-10-11 06:28:41 +00:00
Martin Dougiamas
954035a9f1 MDLSITE-996 Fixed bad call to forum_print_user() 2010-10-03 21:33:05 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Martin Dougiamas
246c082a4c NOBUG course is not a required param (we assume site level if none specified) 2010-07-02 08:43:27 +00:00
Martin Dougiamas
03d9401e7d My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them.  I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.

There's still work to do.  Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0.  We also could use a much better course overview block and better CSS styling of the profile pages.  But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +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
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
8c271b2900 fixed dml typo 2009-12-28 19:38:00 +00:00
Sam Hemelryk
7a7e209df0 navigation MDL-20649 Revised the way in which navigation works for users
When logged in there is a my moodle dashboard branch, when viewing a site profile there is a users branch, and when viewing a course profile there the user is shown under the participants branch
2009-12-23 01:22:48 +00:00
Sam Hemelryk
8f685009b3 forum MDL-21086 cleaned up boilderplates and php doc packages 2009-12-10 03:11:18 +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
cd4e6b1769 mod-forum MDL-19808 Added set_url calls, replaced deprecated functions 2009-09-24 06:41:04 +00:00
samhemelryk
15ca5e5e0d forum MDL-19808 Upgraded print_header and build_navigation calls to OUTPUT/PAGE equivilants 2009-09-04 05:50:21 +00:00
nicolasconnault
4e412c459d MDL-19808 Converted calls to print_paging_bar 2009-08-07 01:37:44 +00:00
nicolasconnault
396fb912ff MDL-19808 Converted all print_footer() calls 2009-08-06 14:14:09 +00:00
nicolasconnault
f43f1834d3 MDL-19808 Migrated calls to print_heading 2009-08-06 08:23:02 +00:00
moodler
bb8f37595a Some old fixes for whitespaces etc (coding style) 2009-06-22 03:53:02 +00:00
dongsheng
12e57b92ea "MDL-14129, fix error() in forum module" 2008-12-12 02:30:56 +00:00
skodak
f5fc83e818 MDL-15516 prvent access to deleted profiles and other user areas 2008-07-05 14:52:39 +00:00
nicolasconnault
4e44535526 MDL-15108 Upgrade finished, preliminary tests successful. Please continue testing. 2008-06-05 20:16:09 +00:00
dongsheng
846fb67937 "MDL-14262, fix optional_param, and fix link in restorelib.php, merged from MOODLE_19_STABLE" 2008-04-30 01:47:50 +00:00
dongsheng
95bc81ebf4 "MDL-14262, fix wrong logged link, see tracker, merged from MOODLE_19_STABLE" 2008-04-30 01:15:30 +00:00
dongsheng
db1b15ce0e MDL-14262, fix incorrect link, see tracker, merged from MOODLE_19_STABLE 2008-04-27 17:11:20 +00:00
skodak
2011a95b44 MDL-13004 post ratings in user profile page; merged from MOODLE_19_STABLE 2008-04-14 12:04:34 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
tjhunt
b26adbef4c MDL-12373 - More instances of links to the participants list being shown in the navigation bar to people without the necessary capability.
I have not copied and pasted the same code into lots of different places. That sucks. We really need to refactor this into a function that builds the navigation up to, and including the user's name. However, I don't have time now. A list of the places touched by this bug (MDL-12373) will at least give a complete list of places that such a refactoring would have to touch.
2008-01-10 10:58:16 +00:00
moodler
4d46304821 Merged "no posts" string fix from stable 2007-07-13 03:05:17 +00:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
mattc-catalyst
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst
e3f58dfb4e Breadcrumbs: mod/forum changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:12:29 +00:00
nicolasconnault
ff406a88da MDL-9220 Only fixed 1.8, since 1.7 doesn't seem affected. 2007-04-13 02:42:49 +00:00
moodler
9de96c06e6 Merged user post link to context 2007-03-15 13:38:26 +00:00
toyomoyo
7034b46c8a do not force parents to enrol 2007-03-07 06:22:58 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
vyshane
aa91a2f22c Merged from 1.7. 2007-02-14 02:57:37 +00:00
vyshane
02cb4f393d Merged from 1.7. 2007-02-02 07:56:45 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
skodak
da5104e60a better param handling SC#331; merged from MOODLE_17_STABLE 2006-11-06 20:35:01 +00:00
vyshane
67875aa108 Fixed bug in forum_search_posts(). More testing needed still. 2006-09-15 06:04:23 +00:00
vyshane
42fb3c858f Converted forum searches so that they take into account the new Roles system. Search results will only include what the searcher should be able to see based on his/her capabilities. 2006-09-14 08:44:45 +00:00
toyomoyo
b3e900cee6 some more UI change 2006-08-16 09:11:43 +00:00
vyshane
951e1073da Added has_capability calls. Reverted forum_search to pre-roles until the
function is totally converted to work with roles.
2006-08-14 07:37:53 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
bc1544bfc7 Bug #5909 - Fix use of user_group() because it returns arrays now - part 2 forum search fixed too; merged from MOODLE_16_STABLE 2006-07-04 08:32:05 +00:00
stronk7
2dbd7916e0 Adding propper support for the forum->user report log action. It was
a bit wrong. Code credits go to Petr!

Merged from MOODLE_16_STABLE
2006-06-01 23:16:08 +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