Commit graph

4047 commits

Author SHA1 Message Date
mjollnir_
f871698811 Reworked my moodle overview api to be more efficient. Note that this changes how mod_print_overview is called 2005-09-05 01:31:08 +00:00
martinlanghoff
125b1645ff forum/trackreads - small optimization to overview 2005-09-02 06:38:45 +00:00
martinlanghoff
0ce852ecfb Merged from MOODLE_15_STABLE - forums/trackreads: Small optimizations to forum_tp_can_track_forums() 2005-09-02 06:37:18 +00:00
martinlanghoff
a85168b765 Merged from MOODLE_15_STABLE - forums/trackreads: Postgres-optimized query - from many minutes to a few milliseconds 2005-09-02 06:32:18 +00:00
mjollnir_
f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
mjollnir_
3bcb678ea2 Merged from MOODLE_15_STABLE: Backticks are not postgres friendly! :( 2005-08-26 04:41:48 +00:00
mjollnir_
90558ec4a5 Fixing warning in my moodle course overview in forums 2005-08-23 03:57:12 +00:00
mjollnir_
0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00
patrickslee
4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
stronk7
98b8eba688 Now forum-start tracking,
forum-mark read and
    forum-prune post
log actions are restored properly.
Part of bug 3582.
(http://moodle.org/bugs/bug.php?op=show&bugid=3852)

Merged from MOODLE_15_STABLE
2005-08-03 19:50:49 +00:00
mjollnir_
67bbc9b7de Merged from MOODLE_15_STABLE: Postgres doesn't happily convert NULL to 0 for int fields, so we set it manually. Credit: Patrick Li 2005-08-02 22:48:20 +00:00
stronk7
bcf306f6d8 Now message forum RSS Feeds are using the category. Useful under
some RSS agregators able to group messages.
Credits go to Dmitry Pupinin.
Bug 3654
(http://moodle.org/bugs/bug.php?op=show&bugid=3654)

Merged from MOODLE_15_STABLE
2005-07-24 23:08:53 +00:00
moodler
7f9dd6b43c Merged fix from stable 2005-07-20 06:42:57 +00:00
moodler
4289078373 Merged no-id fix from stable 2005-07-13 14:21:54 +00:00
skodak
2a1975cbc9 removed file pop-ups; merged from MOODLE_15_STABLE 2005-07-12 18:59:21 +00:00
moodler
f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +00:00
stronk7
25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
defacer
7f65461c36 Merging from STABLE:
Moving <i> to CSS and small CSS improvement.
2005-06-30 00:03:03 +00:00
fiedorow
e2c1dbe922 Bug fix for bug #3614 2005-06-23 15:29:43 +00:00
mjollnir_
80d3523ed0 Merged from MOODLE_15_STABLE: fixing bug 3569: current workaround= one query for postgres, one for mysql. probably a better way to do it when someone has more time 2005-06-20 04:32:29 +00:00
stronk7
9d8caf59ec Order by rating now works. See bug 3566.
(http://moodle.org/bugs/bug.php?op=show&bugid=3566)

Merged from MOODLE_15_STABLE
2005-06-19 17:14:32 +00:00
mjollnir_
93d58b30f3 Merged from MOODLE_15_STABLE: Another postgres fix -- this time forums were not being displayed 2005-06-16 03:12:10 +00:00
defacer
93c865201a Merging from STABLE:
Fix for bug 3467: Adding "single discussion forum" was broken. Now works.
2005-06-14 15:52:49 +00:00
thepurpleblob
70e3da07fd Changed all optional_variable() and require_variable() to equivalent
optional_param() and required_param() for greater security.
2005-06-10 19:54:41 +00:00
stronk7
a9022f9e9b Generate properly RSS column. It was breaking styled (colored) rows.
Merged from MOODLE_15_STABLE
2005-06-10 09:04:59 +00:00
stronk7
b2abce7ccf Added support for forum->trackingtype
Merged from MOODLE_15_STABLE
2005-06-03 17:37:11 +00:00
moodler
a8d7ea4df3 Merged search results fix from stable 2005-05-29 04:05:53 +00:00
moodler
6ea5ebd43e Fixed some notices. 2005-05-19 15:34:08 +00:00
moodler
a4f7aac1d0 JUst realigned code while debugging 2005-05-14 03:59:11 +00:00
moodler
e62b179042 Some little style fixes bug 3222 2005-05-14 03:22:09 +00:00
moodler
acb50c1bf8 Don't save Guest forum mode to database (just session) 2005-05-13 02:06:16 +00:00
moodler
ddff098403 Fixed typo 2005-05-10 03:36:57 +00:00
moodler
fd8585a08d Modification to forum post headers to make filtering a bit easier,
and also to support more of RFC2919 and RFC2369
2005-05-10 03:34:43 +00:00
defacer
fee287f3e7 Random change while searching for something:
Removing border attribute from <img>, these are handled through CSS
(a img {border: none;})
2005-05-07 17:46:20 +00:00
moodler
b1dc6929bc 10 per page by default 2005-05-06 12:50:49 +00:00
urs_hunkler
e1ddfa6bc6 On the admin user page you select "forum posts" which becomes the active selection in the second row. This should be visualized in the tabs. Therefore I added the parameter "$activetwo" to the tabs functions to be able to set the class "activetwo" for the active tab in the second row.
added the parameter "$activetwo"
2005-05-05 09:35:21 +00:00
moodler
453b53140e Fixed some excess SQL load and duplicate returns 2005-05-04 13:39:15 +00:00
moodler
167f3fae36 Removing commented line from previous commit. (SE) 2005-05-04 08:57:22 +00:00
moodler
4dca83a703 Fix for bug where forum search would return posts by users in other groups
when the course was in separate group mode. Bug 3073. (SE)
2005-05-04 08:54:07 +00:00
moodler
524f9dbe72 Added link to mark all posts in forum as read, and also removed
error notices from markposts.php because we don't really care
2005-05-03 16:32:25 +00:00
moodler
d494dd8351 Fixed a typo 2005-05-02 03:53:18 +00:00
mchurch
4822e9d26d Added 'trackforums' to the fields retrieved for 'forum_subscribed_users' so
that emailed posts are marked as 'read' correctly.
2005-05-02 03:18:03 +00:00
mchurch
c39748f4b4 Re: Bug 3033 - fixed incorrect arguments in markposts for the forum index
screen.
2005-04-28 19:49:01 +00:00
moodler
1da8c5685a New function to update the last post in a given discussion.
Called whenever deleting posts or splitting discussions - bug 3050 (SE).
2005-04-28 07:42:14 +00:00
fiedorow
858cf14dc2 Fix for Bug 3033 2005-04-27 21:23:26 +00:00
moodler
8fbdc99251 Removed extra JOIN :-D 2005-04-27 14:45:28 +00:00
paca70
79fb043e3e Use integer instead of tinyint with postgres 2005-04-27 13:14:54 +00:00
moodler
e6ce125c68 Fixes for trackingtype upgrade and defaults 2005-04-27 06:14:01 +00:00
moodler
3ad7a8c7a8 Fixed a notice 2005-04-27 06:02:08 +00:00
moodler
77efef3e50 Dealing with forumid and forum_print_post in a more coherent way ... bug 3047 2005-04-27 05:55:30 +00:00