6607 Commits

Author SHA1 Message Date
stronk7
56eea82e08 First version of inter-activities mantained in backup/restore.
All the conversion to some pseudo-codes are done at backup time.
In the restore process, every link is decoded to new ids.
For now, this is supported:
- In backup:
  -all links to forums are encoded.
- In restore:
  - all links to forums are decoded.
      - from forums (post->message).
      - from resources (resource->alltext).
The process requires a backup made with the same version (because it
has to be properly encoded at backup time). Old backups will work
without conversions at all.
Only tested with some little courses.
It would be perfect to have some "big" course to test it.
Please, test and feedback, ciao :-)
2004-04-24 00:40:45 +00:00
martignoni
3f00574fc6 Typo corrected 2004-04-23 20:44:51 +00:00
martignoni
dc8ebcb9eb Strings for handling the time display format. 2004-04-23 06:45:47 +00:00
moodler
cf55faf8e8 Deal with apostrophes better in assignments 2004-04-22 16:30:01 +00:00
stronk7
e91e2b6a36 Now the scheduled_backup needs lib/blocklib.php to be able to
backup & restore blocks configuration. Done!!
2004-04-22 13:49:45 +00:00
carlesbellver
d192fce493 *** empty log message *** 2004-04-22 12:00:41 +00:00
carlesbellver
0a9398c167 *** empty log message *** 2004-04-22 11:40:25 +00:00
andreabix
293c959426 Changed group event color to better differentiate Group and Course event 2004-04-22 11:37:02 +00:00
defacer
1b0ebe79b1 Addressing bug 1257:
Changed the handling of time display format; now it's read from the language
file by default, and a new preference has been added to allow each user to
manually specify his preferred time format.
2004-04-22 09:02:23 +00:00
defacer
c867774d76 Changed the way the fix for bug 1255 works, while making sure it still works :)
It just didn't feel right to intrusively set object properties from "outside",
and since it's now one variable assignment less, I thought why not... :)
2004-04-22 07:11:55 +00:00
moodler
72957fa54b FIxed a character escpaping problem, recently introduced bug 1250 2004-04-22 06:02:41 +00:00
koenr
701f6a7e38 pollishing translation
Special thanks to Marie Lesy for rereading.
2004-04-21 21:38:55 +00:00
koenr
951ed6e974 typo (mising < can mess things up) 2004-04-21 17:50:54 +00:00
stronk7
acf4fe1773 Solved one issue that caused the show/hide option to fail.
See bug 1255 (http://moodle.org/bugs/bug.php?op=show&bugid=1255)
2004-04-21 16:18:51 +00:00
moodler
2aa3970439 Blank 2004-04-21 12:19:53 +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
stronk7
5216e2c63c This hasn't sense because get_list_of_plugins() exclude it
using its new parameter.
2004-04-20 17:47:36 +00:00
moodler
0cb77f5adf Fixing a recent change to get_list_of_plugins that was causing
auth/db to be invisible    bug 1245
2004-04-20 15:14:15 +00:00
defacer
95a892257c Corrected a bug that prevented admins from seeing events for ALL site courses
(today's functionality was not complete yet).

Also, minor sorting change to display the course filter sorted by shortname.
2004-04-20 13:00:39 +00:00
defacer
053c98cff9 Fixed a whole bunch of warnings and minor bugs, which all shared a common cause:
The preferences screens weren't handling filter changes correctly.
2004-04-20 12:49:02 +00:00
defacer
562727705f Upgrade with more intelligent CSS rules.
Maybe needs some color changes, but I 'm not really much of an interior decorator... :)
2004-04-20 12:14:57 +00:00
defacer
9087d5e219 Upgrade with more intelligent CSS rules.
This one needed color changes.
2004-04-20 12:03:20 +00:00
defacer
ec1a875cbb Upgrade with more intelligent CSS rules.
I tried very hard not to undo any of Andrea's changes. Took a couple of
guesses along the way. Sorry if I guessed wrong!
2004-04-20 11:57:41 +00:00
defacer
65660de888 Upgrade with more intelligent CSS rules.
Maybe needs some color changes, but I 'm not really much of an interior decorator... :)

Coincidentally fixed a typo in the theme: "0" was "o".
2004-04-20 11:41:18 +00:00
defacer
66c785e1a5 Upgrade with more intelligent CSS rules.
Looks like no calendar colors need to be changed from standard.
2004-04-20 11:18:35 +00:00
defacer
496659193f Upgrade with more intelligent CSS rules. 2004-04-20 11:17:31 +00:00
defacer
92668ad2e5 Revision of the calendar tables HTML. Current version outputs a LOT less HTML
(mainly class attributes) but requires ALL themes to update their CSS rules.

Coming up next... can you guess? ;)
2004-04-20 11:14:55 +00:00
defacer
2b7591ccbc Fixed an "unset variable" warning in the filter controls in the upcoming events calendar screen. 2004-04-20 09:27:59 +00:00
defacer
1f695119c5 Admins can now filter events by course and set events for groups and courses
regardless of whether they are course members.
2004-04-20 09:21:30 +00:00
defacer
6c127628a7 Removed some long-dead code and commented out some newly-dead code, now that
we have the blocks system. Making the file parse faster... yum! :)
2004-04-20 08:44:06 +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
48f508ab94 If group mode is no groups and forced, there is no point in displaying the
group events filter. Just a nice touch, fixed only in course view for now.

Also, minor code rewrite for clarification.
2004-04-20 08:24:37 +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
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
ralf-bonn
fc4458a244 Änderungen, damit Blöcke gleich breit sind 2004-04-19 19:05:26 +00:00
koenr
dca2c8298b filling in missing strings... 2004-04-19 19:00:05 +00:00
ralf-bonn
f5ea0302d5 Übersetzung optimiert 2004-04-19 18:15:00 +00:00
mits
38370cec4c New translation. 2004-04-19 18:06:54 +00:00
stronk7
9f336d716d Forgot to include blocks in this page.
Closing bug 1246.
2004-04-19 17:40:57 +00:00
martignoni
0356ba4c6e Strings for first official release of the "Blocks System". 2004-04-19 11:54:37 +00:00
martignoni
bb2de3c054 Strings for the first Official release of the "Blocks System". 2004-04-19 11:46:18 +00:00
defacer
6757c3cdc6 Added content "caching", same as all other blocks have. 2004-04-19 09:36:07 +00:00
bobopinna
7cd0cc52b2 Updated by Bobo 2004-04-19 09:28:29 +00:00
bobopinna
68c208043c Update and review by Claudio Maggi 2004-04-19 08:46:19 +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