3150 Commits

Author SHA1 Message Date
gustav_delius
9b88d1a07c added editing icon in course summary block 2004-06-30 12:41:05 +00:00
gustav_delius
9cb883d53d small bug fix: $USER was not laoded in course admin block 2004-06-09 22:00:51 +00:00
gustav_delius
e44497f329 Fixed bug 1531, section links to invisible sections now greyed out or hidden 2004-06-05 12:04:02 +00:00
gustav_delius
319225a714 Fixed bug 1531, section links to invisible sections now greyed out or hidden 2004-06-05 11:57:11 +00:00
defacer
4e60e777a3 As per Gustav's suggestion in bug 1507, changing the default behavior for
blocks to make them available in the site page, too. Also, minor spelling correction.
2004-06-01 10:45:12 +00:00
gustav_delius
c293c07a5e Make sure course list block is never empty. 2004-06-01 09:47:28 +00:00
gustav_delius
c4f8793ece Fixed relative links in People block so that they work on the site home page. 2004-05-30 11:43:29 +00:00
gustav_delius
c96a69542a Removed spurious characters from start of file (introduced by myself) 2004-05-30 10:48:11 +00:00
gustav_delius
58bed599f3 Configuration option for block_course_list to determine what admin sees 2004-05-30 09:01:56 +00:00
moodler
4588b7d2e5 Undoing Gustav's checkin ... the admin needs to see all courses 2004-05-30 05:52:26 +00:00
gustav_delius
fad21b7c7b Also admin now sees only his or her own courses in the "My courses" block. Fixes bug 526 2004-05-30 01:02:39 +00:00
gustav_delius
f1020d0dd2 section links now preserve focused view, see http://moodle.org/mod/forum/discuss.php?d=7648#37555 2004-05-29 10:40:07 +00:00
gustav_delius
e48550e0b8 fixed empty boxes bug reported in http://moodle.org/mod/forum/discuss.php?d=8432 2004-05-29 10:35:57 +00:00
moodler
facf75c18c Fixed activity blocks for social format and site format so that they
- display icon properly when moving items

  - display custom icons  (eg on resources)
2004-05-29 06:22:30 +00:00
defacer
22931cf410 Bugfix: blocks with no content at all show up as shadows when editing. 2004-05-28 13:57:09 +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
defacer
4153708fd9 If a block forgets to set the footer, we won't get a warning in debug mode. 2004-05-25 10:01:41 +00:00
defacer
a2e1ee6d92 Bump 2004-05-24 10:38:16 +00:00
defacer
227bc46b51 Preliminary fix for bug 1451 (needs some more work).
Also a couple of notices removed.
2004-05-24 09:20:01 +00:00
moodler
3cb9ee3949 Fix for bug 1442
- notices
   - course is now properly passed to calendar_filter_controls from block
2004-05-24 01:28:28 +00:00
stronk7
e41ba0024b Bump to possible release day.
Note: not relevant, but my 2nd Wedding Anniversary!! :-)
2004-05-23 19:28:22 +00:00
defacer
09462fcadc Small polishing change: the "go to calendar" link takes you to the
upcoming events screen.
2004-05-21 12:03:06 +00:00
defacer
4c479acb6c Bump 2004-05-21 11:25:56 +00:00
defacer
c5507e52f4 Small addition for the future: blocks will be able to define their own
HTML attributes.
2004-05-21 10:59:40 +00:00
defacer
43c3ffbe22 Major calendar overhaul:
1. Much better and more intuitive handling of filters.
2. Simplified user interface for guests.
3. Feature request implemented: bug #1431
4. A number of significant bugfixes
2004-05-20 15:16:42 +00:00
defacer
e1ce345e40 Fix for bugs 1423, 1424 (duplicated):
Now hiding/showing course events in the course view works once more.
Ready for a release, it seems....
2004-05-20 10:02:49 +00:00
defacer
d4950608dd Update, better and simpler handling. 2004-05-12 07:33:06 +00:00
defacer
828c4e095a Preparation for Nuke blocks integration, and relaxing of requirements for
block db upgrade scripts. We 're getting to a point where you can really
have a directory with just a single 20-line file for your block and Moodle
will do all the rest. Much like Nuke does now. That is A Good Thing! :-)
2004-05-11 16:08:03 +00:00
moodler
d13403fb1b Some tweaks for formatting sideblock footers (esp upcoming events) 2004-05-10 17:09:06 +00:00
defacer
acc61dc449 Added small links for the monthly calendar and adding a new event at the
bottom of the block, as discussed in the forums.
2004-05-10 16:29:20 +00:00
moodler
56e29ea0f4 Added a CVS version number 2004-05-10 13:27:09 +00:00
defacer
bacafa1ca9 Modified the behavior of upcoming events block to be the same as month block,
even though there is no way to go from it to the detailed month view right now.
2004-05-07 10:42:11 +00:00
defacer
51f8a12f28 Fix for bug 1321:
When clicking the month name from the month view block and go to detailed
month view, only events from the course you where in are shown by default.
2004-05-07 10:39:30 +00:00
defacer
bd1195678c Fix for bug 1320:
Upcoming events were not displayed before calendar_session_vars() was called
at least once. The upcoming events block did not do that, because once upon a
time it was displayed below the month view, which was known to do it :)

Solution: calendar_session_vars() is now called directly from lib.php.
2004-05-07 10:15:10 +00:00
moodler
d208d07b7f Renamed "weeks_topics" to "section_links" 2004-05-07 02:27:56 +00:00
defacer
7a8bcd59e8 Fix for bug #1280: the "showrecent" course setting has to go.
Don't check for this setting anymore.
2004-04-29 10:29:23 +00:00
stronk7
723507f36e Bump because some changes have arrived...:-) 2004-04-27 17:23:45 +00:00
moodler
9cc67480a5 Me being fussy :-) 2004-04-27 17:16:33 +00:00
moodler
4fad7af8e1 Bold teachers 2004-04-27 10:18:11 +00:00
moodler
ce4ec6dc2e Trying some sorting of users 2004-04-27 09:43:46 +00:00
defacer
381b379798 Removed obsolete function from pre-OO days. 2004-04-26 09:03:40 +00:00
stronk7
229f852a8a Now blockinfo is fully supported in backup & restore. For old backups
(without blockinfo field, default blocks are applied). Every block
visibility is mantained in the process.
Bump versions a bit (2004042100) :-)
2004-04-20 23:28:46 +00:00
defacer
d7baeddac5 Grand Bugslayer Eloy at work again: Hiding the blocks if they have no content
should mean "if they have no content AND no footer".
2004-04-20 08:38:56 +00:00
defacer
ca319818fc Don't display blocks that have no content at all. I 'm not sure if this
could cause any confusion, but it solves the problem with the admin block
being displayed to guests.

The thought about a "display only to X and Y kinds of users" feature came
to mind, but maybe that would be more confusing than useful.
2004-04-20 07:43:26 +00:00
defacer
6757c3cdc6 Added content "caching", same as all other blocks have. 2004-04-19 09:36:07 +00:00
defacer
59d2a75d99 Fixed/added some things so that the instructions are mostly correct. 2004-04-19 07:39:43 +00:00
paca70
a595c0b6ea Files for postgresql 2004-04-19 04:30:55 +00:00
paca70
ce24161b7e First versions for postgressql 2004-04-19 04:15:24 +00:00
stronk7
7ef144842f Forgot this BUMP !! :-) 2004-04-18 23:33:00 +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