Commit Graph

430 Commits

Author SHA1 Message Date
moodler a68d660a45 fix for bug 4278 2005-11-07 09:18:34 +00:00
martinlanghoff e1a3a68059 forums/trackreads: Small optimizations to forum_tp_can_track_forums() 2005-09-02 06:36:39 +00:00
martinlanghoff 63b8c597f6 forums/trackreads: Postgres-optimized query - from many minutes to a few milliseconds 2005-09-02 06:30:24 +00:00
mjollnir_ 12c40a2f66 Backticks are not postgres friendly! :( 2005-08-26 04:41:33 +00:00
skodak 42dc0e903b removed file pop-ups 2005-07-12 18:58:01 +00:00
defacer dd05085802 Getting the hardwired <i> out of the "post edited by" HTML and putting it
in CSS. I have been meaning to do this for something like 3 eons now...
2005-06-29 23:59:41 +00:00
fiedorow a23b767ebb Sorry, committed wrong version 2005-06-23 15:22:38 +00:00
fiedorow d79aa15c71 Bug fix for bug #3614 2005-06-23 15:18:11 +00:00
mjollnir_ 89394c8d6f 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:04 +00:00
mjollnir_ c0f988a1e5 Another postgres fix -- this time forums were not being displayed 2005-06-16 03:11:51 +00:00
defacer 70057cf44f Fix for bug 3467: Adding "single discussion forum" was broken. Now works. 2005-06-14 15:50:13 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +00:00
mjollnir_ 5aa23eead3 Cache strings for my moodle, don't call get_string over and over again 2006-01-17 22:03:48 +00:00
mjollnir_ 454be164a3 My moodle forum overview small bugfix, counting new posts should not count adding discussions 2006-01-17 20:59:19 +00:00
mjollnir_ 185cfb095b Reworked the My Moodle course overview API to be MUCH more efficient.
Previously we were literally doing hundreds of database queries, now it's
very much faster.
This makes the API slightly more complicated, but it's definitely worth it!
Each module should implement modname_print_overview, which takes an array of courses
and an array to fill up indexed by [$courseid]['modname'] for the controller to loop through and print.
Each module should LIMIT the number of queries to use, all module instances can be fetched
with the new function get_all_instances_in_courses which is the same as get_all_instances_in_course
but takes an array of courses to fetch the instances for.  This means there is no need to loop
over the courses array and fetch the instances for each course (dramatically cutting down the number of queries!)
2006-01-17 20:49:43 +00:00
mjollnir_ b12d055a8f Fixing an sql sytax error in forum cron that prevented mailouts! It seems to have been introduced at 1.405 2006-01-17 00:21:29 +00:00
mjollnir_ a4f495bf86 Introducing: managed posted forums. Optional ability to 'throttle' forums by adding
three new settings: warnafter, blockafter and blockperiod.
Useful for tutors with big courses with some dominant students.
2006-01-16 08:42:09 +00:00
mjollnir_ 098d27d46e New forum type: question and answer: requires students to post their answer before being able to view other posts. After initial post, students can view & respond normally 2006-01-16 04:57:48 +00:00
toyomoyo 4d1b2016fd merged, bug fix for #4431 2006-01-04 03:08:08 +00:00
moodler e6bacdc55c Merged bugfix for bug 4431 from stable 2005-12-22 10:09:21 +00:00
toyomoyo 82fe65f20b merge merge merge 2005-12-22 01:47:41 +00:00
patrickslee 23b5a13df5 Fixed a problem creating single discussion forum related to mailnow 2005-12-20 23:27:25 +00:00
moodler 0f561844e7 Someone included two copies of forum_get_separate_modules() 2005-12-20 08:47:20 +00:00
toyomoyo 073286f06f merged fix for bug #4431 2005-12-20 05:22:59 +00:00
patrickslee c7ac6225cc Fixed missing closing parentheses in forum_search_posts() for embargoed announcements 2005-12-11 20:19:35 +00:00
patrickslee 0f620d4bf2 Some mailing related Embargoed Announcements fixes.
* The forum cron only mails posts those are created within the past two days, in which case posts those are scheduled to shown after more than two days will be ignored and not been mailed out.

* When cron is marking old posts as mailed, it supposes everything is mailed so just marks everything older than now as mailed. We DO NOT want our delayed posts been marked as mailed.
2005-11-22 04:08:02 +00:00
patrickslee 0fcac008cb Reverted changes in ver 1.401, as this is ultimately fixed by bumping the version number 2005-11-18 05:34:29 +00:00
patrickslee f3f1b00d8e Wrong logical operators used in SQL statements 2005-11-18 04:43:46 +00:00
patrickslee 6af7cc2206 Moved Embargoed Announcements related search into SQL. So that paging/counting for the search results will be accurate. 2005-11-18 04:35:14 +00:00
moodler c38c0e3b7b fix for bug #4336 2005-11-18 03:19:22 +00:00
mjollnir_ 29fbf0d5b8 My moodle - forums shouldn't print the forum header and all their nothing new stuff. Only talk when you've got something to say ;) 2005-11-16 22:20:43 +00:00
patrickslee fbc21e82be New feature: Embargoed Announcements 2005-11-10 22:50:03 +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
mjollnir_ 95d71ad3a3 Fixed a warning for empty array in forum print_overview for my moodle 2005-09-07 05:43:27 +00:00
mjollnir_ 29dc9751e3 Friendlier forum information in overview in my moodle 2005-09-06 01:34:48 +00:00
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
skodak 2a1975cbc9 removed file pop-ups; merged from MOODLE_15_STABLE 2005-07-12 18:59:21 +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
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
moodler 6ea5ebd43e Fixed some notices. 2005-05-19 15:34:08 +00:00