Log of /moodle/mod/forum/search.php
Parent Directory
Revision
1.86.2.6 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Apr 14 16:50:58 2008 WST (23 months ago) by
skodak
Branch:
MOODLE_19_STABLE
CVS Tags:
MOODLE_191,
MOODLE_192,
MOODLE_193,
MOODLE_194,
MOODLE_195,
MOODLE_196,
MOODLE_197,
MOODLE_19_MERGED,
MOODLE_19_WEEKLY
Changes since
1.86.2.5: +29 -27 lines
Diff to
previous 1.86.2.5
, to
branch point 1.86
, to
next main 1.121
MDL-14349 adv forum search accessibility
Revision
1.90 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 14 02:03:26 2008 WST (2 years, 1 month ago) by
skodak
Branch:
MAIN
Changes since
1.89: +14 -10 lines
Diff to
previous 1.89
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
Revision
1.89 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jan 25 05:33:50 2008 WST (2 years, 1 month ago) by
skodak
Branch:
MAIN
Changes since
1.88: +6 -18 lines
Diff to
previous 1.88
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE
Revision
1.86.2.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Oct 13 00:09:42 2007 WST (2 years, 5 months ago) by
tjhunt
Branch:
MOODLE_19_STABLE
Changes since
1.86: +4 -5 lines
Diff to
previous 1.86
MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.
Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.
If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
Backported from head. Will update merged tags in a few hours. I am late for orchestra. Sorry.
Revision
1.87 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Oct 12 23:55:52 2007 WST (2 years, 5 months ago) by
tjhunt
Branch:
MAIN
Changes since
1.86: +4 -5 lines
Diff to
previous 1.86
MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.
Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.
If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
Revision
1.72.2.6 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 23 17:10:47 2007 WST (2 years, 7 months ago) by
moodler
Branch:
MOODLE_18_STABLE
CVS Tags:
MOODLE_1810,
MOODLE_1811,
MOODLE_183,
MOODLE_184,
MOODLE_185,
MOODLE_186,
MOODLE_187,
MOODLE_188,
MOODLE_189,
MOODLE_18_MERGED,
MOODLE_18_WEEKLY
Changes since
1.72.2.5: +2 -2 lines
Diff to
previous 1.72.2.5
, to
branch point 1.72
, to
next main 1.121
Fixed a broken link to full post in searches
Revision
1.68 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Sep 24 23:28:16 2006 WST (3 years, 5 months ago) by
vyshane
Branch:
MAIN
CVS Tags:
MOODLE_17,
MOODLE_171,
MOODLE_172,
MOODLE_173,
MOODLE_174,
MOODLE_175,
MOODLE_176,
MOODLE_177,
MOODLE_17_BETA,
MOODLE_17_BETA2,
MOODLE_17_MERGED,
MOODLE_17_WEEKLY,
MOODLE_18_GROUPS_PRE,
MOODLE_18_GROUPS_PRE_MERGE
Branch point for:
MOODLE_17_STABLE,
MOODLE_18_GROUPS
Changes since
1.67: +15 -3 lines
Diff to
previous 1.67
Merged fix for MDL-6615.
Revision
1.67 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 14 16:44:45 2006 WST (3 years, 6 months ago) by
vyshane
Branch:
MAIN
Changes since
1.66: +2 -7 lines
Diff to
previous 1.66
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.
Revision
1.65 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Aug 28 04:45:04 2006 WST (3 years, 6 months ago) by
skodak
Branch:
MAIN
Changes since
1.64: +20 -2 lines
Diff to
previous 1.64
trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes
Revision
1.64 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Aug 14 13:55:43 2006 WST (3 years, 7 months ago) by
moodler
Branch:
MAIN
CVS Tags:
MOODLE_17_NEWGROUPS_PRE
Branch point for:
MOODLE_17_NEWGROUPS
Changes since
1.63: +3 -3 lines
Diff to
previous 1.63
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
Revision
1.63 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Aug 8 13:13:18 2006 WST (3 years, 7 months ago) by
moodler
Branch:
MAIN
Changes since
1.62: +13 -26 lines
Diff to
previous 1.62
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.
Revision
1.62 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jul 4 16:32:05 2006 WST (3 years, 8 months ago) by
skodak
Branch:
MAIN
Changes since
1.61: +5 -5 lines
Diff to
previous 1.61
Bug #5909 - Fix use of user_group() because it returns arrays now - part 2 forum search fixed too; merged from MOODLE_16_STABLE
Revision
1.54 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Apr 27 13:55:30 2005 WST (4 years, 10 months ago) by
moodler
Branch:
MAIN
Changes since
1.53: +1 -4 lines
Diff to
previous 1.53
Dealing with forumid and forum_print_post in a more coherent way ... bug 3047
Revision
1.50 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 26 09:57:40 2005 WST (4 years, 11 months ago) by
stronk7
Branch:
MAIN
Changes since
1.49: +4 -4 lines
Diff to
previous 1.49
Now the FIRST string working under CFG->filterall is done:
forum->name
(everything tested but email)
(I'm going to maintain a list of strings in Developers Wiki)
Revision
1.49 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 10 04:50:37 2005 WST (5 years ago) by
defacer
Branch:
MAIN
Changes since
1.48: +2 -2 lines
Diff to
previous 1.48
Simplified by removing two optional parameters from forum_print_search_form,
because everyone was using the same values for them!
Also renamed the function to simply forum_search_form, because in the end
noone was using it to PRINT html, it was just put into a variable.
Revision
1.47 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 3 20:22:13 2005 WST (5 years ago) by
moodler
Branch:
MAIN
Changes since
1.46: +61 -2 lines
Diff to
previous 1.46
Finishing off search capability with the ability to search by instance,
and in this case, by forum.
Revision
1.43 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Feb 27 17:57:30 2005 WST (5 years ago) by
moodler
Branch:
MAIN
Changes since
1.42: +198 -116 lines
Diff to
previous 1.42
Much better "full" search page. Still needs some polishing.
Also, you can now search for all posts by one user. Which brings me to my
next check-in....
Revision
1.41 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Feb 16 18:40:41 2005 WST (5 years, 1 month ago) by
gustav_delius
Branch:
MAIN
Changes since
1.40: +2 -4 lines
Diff to
previous 1.40
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)
Revision
1.40 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Feb 14 04:49:28 2005 WST (5 years, 1 month ago) by
gustav_delius
Branch:
MAIN
Changes since
1.39: +7 -3 lines
Diff to
previous 1.39
Forum search now no longer shows posts from other groups from forums that are in separate groups mode, see bug 2308
Revision
1.35 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Jan 29 17:49:41 2005 WST (5 years, 1 month ago) by
moodler
Branch:
MAIN
Changes since
1.34: +7 -16 lines
Diff to
previous 1.34
MAJOR NEW FEATURE: Tracking of read/unread posts
Many thanks to Mike Churchward for his work on this and persevering
with sending updated versions to me. :-)
Shane and I have polished it up, rewritten a few parts (display-related)
and here it is, finally in CVS!
I think there will still need to be some optimisation for the SQL,
since it's still pretty intensive. Perhaps some sort of caching in
the session that gets modified along with the database whenever
something gets read.
However if there are problems the whole thing can be switched off
in the forum module config so this is not crucially urgent.
Revision
1.32 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Sep 21 19:41:57 2004 WST (5 years, 5 months ago) by
gustav_delius
Branch:
MAIN
Changes since
1.31: +11 -11 lines
Diff to
previous 1.31
Resolved problems with previous replacement of
& to & and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
Revision
1.31 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Sep 17 01:13:24 2004 WST (5 years, 6 months ago) by
gustav_delius
Branch:
MAIN
Changes since
1.30: +6 -6 lines
Diff to
previous 1.30
XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
Revision
1.29 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Aug 22 22:38:41 2004 WST (5 years, 6 months ago) by
gustav_delius
Branch:
MAIN
CVS Tags:
MODOLE_14_MERGED,
MOODLE_13_MERGED,
MOODLE_14,
MOODLE_141,
MOODLE_142,
MOODLE_143,
MOODLE_144,
MOODLE_145,
MOODLE_14_BETA,
MOODLE_14_MERGED,
MOODLE_15_LDAP_PRE
Branch point for:
MOODLE_14_STABLE,
MOODLE_15_LDAP
Changes since
1.28: +7 -10 lines
Diff to
previous 1.28
All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.
On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
Revision
1.15 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Aug 9 11:57:46 2003 WST (6 years, 7 months ago) by
moodler
Branch:
MAIN
Changes since
1.14: +8 -9 lines
Diff to
previous 1.14
New highlighting function that is able to cope with HTML.
It's a bit slower, but links in forums no longer cause problems.
See bug #589
Revision
1.12 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Dec 23 17:39:23 2002 WST (7 years, 2 months ago) by
moodler
Branch:
MAIN
Changes since
1.11: +3 -3 lines
Diff to
previous 1.11
Changes throughout Moodle to remove any reserved words from the
Moodle tables.
ie user -> userid in many tables, plus in user_students
start -> starttime and end -> endtime
I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.
Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
Revision
1.11 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Dec 20 22:44:11 2002 WST (7 years, 3 months ago) by
moodler
Branch:
MAIN
Changes since
1.10: +2 -16 lines
Diff to
previous 1.10
Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.
Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL. I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php
Still working on forums, quizzes, surveys, resources.
The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
Revision
1.6 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Aug 7 01:23:45 2002 WST (7 years, 7 months ago) by
martin
Branch:
MAIN
Changes since
1.5: +10 -4 lines
Diff to
previous 1.5
Widespread changes throughout Moodle to make sure it works on
servers that have register_globals turned off (this is the
default setting on newer version of PHP).
In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables. Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.
So, for every request I now make a copy of these two session variables
into $USER and $SESSION. Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable. This seems to be working well now.
Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
Revision
1.5 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Aug 3 16:16:31 2002 WST (7 years, 7 months ago) by
martin
Branch:
MAIN
Changes since
1.4: +4 -2 lines
Diff to
previous 1.4
Lots of work on site display, over many files. Improved front page
and display of site modules.
Revision
1.3 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 1 11:50:27 2002 WST (7 years, 7 months ago) by
martin
Branch:
MAIN
Changes since
1.2: +2 -2 lines
Diff to
previous 1.2
A big clean up of all the forum functions (including renaming them all
to start with forum_ ) and all the follow-on effects that caused
Some miscellaneous bug fixes and code clean-ups along the way
Revision
1.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 31 22:19:35 2002 WST (7 years, 7 months ago) by
martin
Branch:
MAIN
OK, some massive changes with many files removed or changed.
Basically the changes are:
- I've merged the 'discuss' module into the forum module
which makes the interface MUCH clearer for everyone
- I've added a new 'single' forum type that replicates
what the old discuss course modules used to look like.
- I've got rid of the "discussion" forum type - it will
still exist in upgraded courses but as a normal forum.
- the 'discuss' module is completely deleted - gone.
- the 'chat' module is completely deleted - gone.
- The upgrading system has been improved, and all code
is stored in version.php.
- I've put in upgrading commands to do the best I can
(right now) to upgrade courses that used the discuss
module. It should mostly work, just leaving some
"orphan" coursemodules on you course front page. You
can easily delete these using the little 'x'.
I may have forgotten something - I've only tested on
my testing server and I'm about to test on my production
server to see how it goes.
- Forums have a lot of little new features and fixes. The
main one is the subscription process. Teachers can 'force'
subscriptions on any forum. This disallows everyone from
choosing their own mail subscription - it's just on.
- The assignment module is half-finished and not working yet
I've still some massive changes to do, mostly involving making
all the lib.php function names more standardised, so consider
this is an interim checkin to do some tests.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.