688 Commits

Author SHA1 Message Date
moodler
7613890851 BRANCH MERGE
These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
defacer
08cebf196e Fix all requires() to use absolute paths (Sun boxes have problems with relative
paths, it seems). Also, login is required to view the calendar of any course
other than the site.
2004-06-02 08:13:26 +00:00
moodler
b8933ec3c2 Unset $course to avoid language problems 2004-06-01 06:49:11 +00:00
gustav_delius
d33a2a6f39 It is now possible to duplicate a course module. See http://moodle.org/mod/forum/discuss.php?d=8468 2004-05-30 23:09:21 +00:00
gustav_delius
f7f2ff6dba Only editing teachers are allowed to unenrol students 2004-05-30 20:54:58 +00:00
gustav_delius
c4936225c4 Fixed breadcrumbs and some of the many undefined variables notices 2004-05-30 11:24:00 +00:00
gustav_delius
761b1f8469 Fixed relative links in recent activity, see bug 1497 2004-05-30 11:22:06 +00:00
gustav_delius
6bc502cca7 List of courses is now always ordered according to sortorder, see http://moodle.org/mod/forum/discuss.php?d=7034 2004-05-30 00:33:45 +00:00
defacer
89adb17442 Merging the changes from 1.4 dev branch (site index blocks + various bugfixes) 2004-05-28 10:53:54 +00:00
moodler
51f9729eb0 Fixed missing style 2004-05-27 01:30:30 +00:00
moodler
af62781bca FIxed defaulting $SESSION->cal_show_user 2004-05-25 06:35:49 +00:00
moodler
5e8eb9e2f6 Remove override of fullname order .... not sure why it was there....? 2004-05-24 06:15:22 +00:00
moodler
a18ebcc3c0 Blocks admin to bottom 2004-05-22 09:18:12 +00:00
moodler
9743a982b3 Print Blocks admin down the bottom ... hopefully less
confusion for new teachers just trying to add activities

Also, the new blocks appear there anyway
2004-05-22 09:17:06 +00:00
moodler
a5daf57cdc Remember timeaccess settings even after returning from logging as
another person
2004-05-21 15:10:47 +00:00
defacer
0784eb7ef1 Now we can get a list of the blocks being on display in the course page.
Could be used by one block to detect the existence of another, for example.
2004-05-21 11:06:49 +00:00
moodler
fcc0e250bc Just fixing the footer link on course list blocks 2004-05-20 00:55:11 +00:00
stronk7
b66dcd725d Fixed bug avoiding teachers create new scales...
NEED BUG 1425 SOLVED!!
(http://moodle.org/bugs/bug.php?op=show&bugid=1425)
2004-05-18 17:08:41 +00:00
moodler
6be91aab91 Changed some CSS to font tags, so that IE looks more consistent 2004-05-18 07:10:17 +00:00
stronk7
9c00263349 Completely rewritten scales interface. It allows to delete unused
scales, edit and move them between custom and standar (only admins).
Editing teacher can modify only custom scales.
Bug 1223.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
Please, test and decide...
2004-05-17 22:19:23 +00:00
moodler
6f80940b1e Simpler method for recent activity .... I had problems with the other
Use last access to course if it exists, otherwise two days ...
2004-05-16 10:34:17 +00:00
stronk7
4f006bc149 Added support for CFG->forcelogin in some files. Bug 1396
(http://moodle.org/bugs/bug.php?op=show&bugid=1396)
2004-05-16 10:26:04 +00:00
stronk7
d9ddff71d7 Change one comment. Simply. Bug 1393
(http://moodle.org/bugs/bug.php?op=show&bugid=1393)
2004-05-15 18:52:12 +00:00
moodler
9e51847a18 Slight change to recent activity calculations in RA block.
Upon login, the last access to each course is stored in the USER session
variable.

The earliest date of recent activity now shown is now the earliest of:

   - this last access time
   - the last login time

If this value is older than two days, then just use two days instead.
2004-05-15 14:58:12 +00:00
moodler
26bba779ff Tweaking the formatting of the footers a bit 2004-05-10 18:12:32 +00:00
moodler
d13403fb1b Some tweaks for formatting sideblock footers (esp upcoming events) 2004-05-10 17:09:06 +00:00
moodler
91ba8c9878 MOve hidden sections setting down a bit 2004-05-10 16:29:27 +00:00
moodler
f39b489656 Print footers in side_blocks even when non-list $content is supplied 2004-05-10 15:15:44 +00:00
gustav_delius
4bb0a732cc got rid of undefined variables warnings 2004-05-08 18:56:45 +00:00
gustav_delius
c9e2967077 fixed bug 990 which allowed students to see grades even when they were not supposed to by typing in the URL 2004-05-08 15:56:37 +00:00
gustav_delius
fab178a10b add anchors to week/topics on course homepage 2004-05-06 19:02:25 +00:00
gustav_delius
dcd338ffdc Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden. 2004-05-05 07:07:56 +00:00
moodler
cf5f5cb0b6 Removed some old crap 2004-04-30 13:33:26 +00:00
moodler
db7da819d5 Use $course->hiddensections in topics and weeks 2004-04-30 12:17:49 +00:00
moodler
464fd803fa Sorry, Eloy, my directions were wrong.
I've changed hiddentopics to hiddensections ...
2004-04-30 12:10:46 +00:00
defacer
9ac503147c Fix for bug #1280: the "showrecent" course setting has to go.
Updated script and editing page.
2004-04-29 10:28:58 +00:00
stronk7
eccc37c033 Now, in topics format, every course can decide about how to
display hidden topics (collapsed or invisible)
Now it can be set in every course and it's applicable in topics format
2004-04-27 16:36:01 +00:00
moodler
c598d270de The "Add" block is now called "Blocks" ... other block admin stuff can
go in this block later.
2004-04-27 09:30:44 +00:00
moodler
9d361034ec Much requested: Uploaded resources are now shown using the relevant icon. 2004-04-26 15:31:22 +00:00
moodler
bd23e396a4 You can now unenrol all students quickly with one button
bug 1238
2004-04-26 14:16:05 +00:00
defacer
46fec6a3f9 Well, this is a bug FIX at least! :)
All teachers showed up as having editing rights... corrected now.
2004-04-26 09:31:02 +00:00
defacer
ce557a6eac Rollback the previous change: I introduced a bug by mistake! :/
But the system is a bit... strange... shouldn't the "editing mode" flag be
propagated in the session variables or something? It confused me having to
click "Edit" a second time after I 'd just clicked it in the course view.
2004-04-26 09:28:28 +00:00
defacer
dfd479fd67 Fixed an unset property warning if you are an editing teacher but no edit
variable is set in the URL.
2004-04-26 09:20:41 +00:00
defacer
82b181f265 Eloy is probably right, the preferred width calculation should be cached. 2004-04-20 07:32:57 +00:00
stronk7
1eb25080df Detected a display bug when looking for possible causes of
bug 1248. Widhts were only calculated in teacher mode and
they were down to 100px in student mode!!
Perhaps we could make some session caching to avoid some
calculations every time the course is displayed. Seems to
work fine now.
Anyway, if I compare the right column width
in my server (with blocks running) against moodle.org (without
blocks), it seems that the right column is narrower in my test server...
2004-04-19 19:24:42 +00:00
stronk7
0f3fe4b6ad First Official realease of the "Blocks System".
Integrated with Moodle:
    - Install automatically.
    - Update course->blockinfo for each course at installation time.
    - Modified course creation to insert into blockinfo field.
    - Modified restore to insert into blockinfo field.
    - Admin options (hide, show, delete, config) from admin page.
    - Lang strings inserted (en only).
    - Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.

TODO:
=====
Support it really in backup/restore.
????

Enjoy!! Ciao :-)
2004-04-18 23:20:53 +00:00
moodler
b124c95ab4 clean the filenames to make sure there aren't funny characters 2004-04-17 03:30:26 +00:00
moodler
450c3d39cc Link to teacher forum is now shown in the current langage always 2004-04-16 07:13:10 +00:00
moodler
695f71e1bd Fix problem editing category names containing html 2004-04-14 02:41:22 +00:00
moodler
196ca3fe59 Fixed a bad bug where the Recent News block wasn't obeying Groups properly. 2004-04-12 09:57:14 +00:00