Commit graph

9541 commits

Author SHA1 Message Date
moodler
a32c99e288 To prevent notices in unusual situations (empty lang files) bug 1404 2004-05-16 09:28:41 +00:00
moodler
16a5602cd7 1. Directory Resources now support sub directories
2.  Subdirectories in File Manager now display their total size
2004-05-16 08:52:32 +00:00
stronk7
2127fedda8 Step 2 of Bug 1223 done.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
2004-05-16 00:36:00 +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
58d2472072 Some fixes for confirmation emails on sites with long names
- include a HTML version of the email

   - wrap all text emails at 79 characters now, not 70
     I think quoting of text based emails on 80-character terminals
     would be pretty rare these days
2004-05-13 03:09:47 +00:00
stronk7
ab892a4fa2 Modified slighty the format_text() function!!
Now, in PLAIN AND WIKI formats, the rebuildnolinktag() function
is called to rebuild:

    &lt;nolink&gt;  to <nolink> again (open and close tags)

This should avoid showing the "<nolink>" word always in this formats!!

Used to solve Bug 1232 and potentially, others...
(http://moodle.org/bugs/bug.php?op=show&bugid=1232)

Please check it because it's really a CORE change!!
2004-05-11 23:17:25 +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
julmis
9b9e3f1037 Removing unnecessary files 2004-05-10 21:36:15 +00:00
julmis
285ce16112 Removing hard coded strings 2004-05-10 21:16:16 +00:00
moodler
99ef3747fd Removed short tag 2004-05-10 17:37:33 +00:00
julmis
ccf9102153 Some minor fixes (HTMLArea 3.0RC1) 2004-05-09 23:05:21 +00:00
gustav_delius
78d7fa79cf implemented a provisional hack by roger to avoid division by zero reported in bug 1231. 2004-05-08 21:27:33 +00:00
julmis
92ff72590c Prefilled textbox added (bug id 1339) 2004-05-08 18:23:18 +00:00
moodler
0b5e8ed7d5 bug 753 2004-05-08 14:02:18 +00:00
gustav_delius
8644437d66 fixed bug 1037 by improving clean_filename() 2004-05-07 17:07:31 +00:00
moodler
b68dca1934 Moodle mail can set precedence levels for email 2004-05-07 03:29:11 +00:00
moodler
a9688f538f Mailer handles precedence header 2004-05-07 03:25:04 +00:00
moodler
319b472958 Fix for bug 1312 ... just for robustness in the URLs 2004-05-06 03:11:15 +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
bf5c2e8445 FIxed a logic bug when getting files ... bug 1305 2004-05-04 01:21:17 +00:00
moodler
55fd81779e This is required for directory resources 2004-05-02 15:31:23 +00:00
stronk7
67591c6706 Small change in navmenu() to hide hiddensections,
aplying latest Martin's changes... Ciao :-)
2004-05-01 23:46:02 +00:00
moodler
464fd803fa Sorry, Eloy, my directions were wrong.
I've changed hiddentopics to hiddensections ...
2004-04-30 12:10:46 +00:00
moodler
acaad8a283 Added enablerssfeeds 2004-04-30 11:58:57 +00:00
defacer
10ee08cc65 Fix for bug #1280: the "showrecent" course setting has to go.
The pgsql .php update script needs to be updated, but I 'm not sure about
the pgsql alter table syntax... mysql works, oracle is still under dev, so
no problem there.
2004-04-29 10:28:19 +00:00
moodler
5d2ae09da9 A very nice default Unicode font under the GPL licence
http://www.nongnu.org/freefont/
2004-04-28 15:59:25 +00:00
moodler
b3fc547b68 Allow a big catch-all Unicode font to be placed in lib/default.ttf
eg ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP
2004-04-28 15:39:32 +00:00
moodler
e226c03b7e SMall fix to make new cached encoding work with course languages 2004-04-28 15:02:14 +00:00
moodler
6ebd2c691b Uses iconv by default to convert texts into UTF-8 to keep GD happier. 2004-04-28 14:18:25 +00:00
moodler
931d5119f5 Minimum rows can be smaller 2004-04-28 02:57:37 +00:00
moodler
0b0be145f9 Small sorting fix when getting site users 2004-04-27 17:31:12 +00:00
stronk7
19a4030924 As changes to version are comming very often, I save this
now. To be used in rss feeds...
2004-04-27 17:21:02 +00:00
moodler
cda21d485c Added a format field to the event table 2004-04-27 16:41:16 +00:00
stronk7
ca189cecf8 Now, in topics format, every course can decide about how to
display hidden topics (collapsed or invisible)
Small change to navmenu() to support it
2004-04-27 16:29:21 +00:00
stronk7
009cc72698 Now, in topics format, every course can decide about how to
display hidden topics (collapsed or invisible)
2004-04-27 16:27:11 +00:00
moodler
48151fd02e Whoops, forgot part of the optimisation. 2004-04-27 13:58:54 +00:00
moodler
cec0a0fc30 New developmental setting to force UTF for the whole server
Plus, some optimisation on the way encoding is stored (in the session).
2004-04-27 13:57:46 +00:00
moodler
37aaf07463 Change all the lang fields to 10 characters ... to make room for utf
versions.
2004-04-27 13:39:33 +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
5bb18f6835 Renamed Czechj to cs 2004-04-27 09:04:32 +00:00
moodler
822ede9244 Update all the modinfo fields to make the resource icons work 2004-04-26 15:45:02 +00:00
moodler
48bef97ce6 Deleted a bad line to fix bug 1237 2004-04-24 15:45:39 +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
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
81fcd0f019 Bug fix in get_directory_list() for files named 0 :-) 2004-04-17 14:01:53 +00:00
moodler
bbf4d8e656 Simplification and improvement of clean_filename, thanks to suggestions
from Martin Langhoff <martin@catalyst.net.nz>
2004-04-16 06:30:01 +00:00
fiedorow
1af376eca4 Fix for bug on Windows and Mac servers while generating quiz reports 2004-04-15 15:41:06 +00:00
moodler
39e1c4158f I think this might solve the mysterious problems with
session garbage collection and timeouts not working.

Note: upgrading to this will KILL all current sessions, so
you will need to log back in.
2004-04-15 14:46:54 +00:00