1163 Commits

Author SHA1 Message Date
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
stronk7
c7f3fdf70c Modified the clean_filename() function to strip parenthesis and slashes.
Not really sure if the method used is 100% correct ot no so, if you can
check it....
Perhpas I should make the stripping in backup process, istead of using this
central function. What do you think?
2004-04-14 18:09:41 +00:00
stronk7
1a930732ba Exclude "db" dir when detecting plugins (to be used in blocks
registration). No problems (I think) at all with mod registration.
2004-04-10 23:44:50 +00:00
moodler
149dbaf1b3 Fix for bug 1226 2004-04-09 02:24:02 +00:00
julmis
3414788e09 Toolbar imageload fix and undo and redo fix. 2004-04-06 21:27:30 +00:00
julmis
378e453317 Form position and style updates. 2004-04-06 00:43:49 +00:00
moodler
c7ef02178e Whoah ... bad typo! Fixed bug 1214 - thanks Eloy! 2004-04-03 02:47:11 +00:00
moodler
a1d72936b1 Strip tags from module names .... sigh 2004-04-02 13:42:20 +00:00
defacer
f30fe8d063 As per Martin's suggestion:
Added new function: get_user_timezone($timezone = 99) which retrieves
the user's timezone, respecting the $USER->timezone and $CFG->timezone
settings.

Modified all date/time library functions to use this.
2004-04-01 12:27:37 +00:00
defacer
f3d142dae4 Fix for the fix: Turns out that next() returns false if an array element's
value is 0 (the php docs speak only about the key... :/). Good thing that my
test user's timezone is set to GMT+0. This should work no matter what.
2004-04-01 11:29:25 +00:00
defacer
a36166d327 The timezone selection didn't work correctly... if there WAS a $USER->timezone
set but it was set to 99, it didn't check the $CFG->timezone setting.
Fixed now. Fancy implementation, forgive me please! ;)
2004-04-01 10:39:06 +00:00
defacer
d8ba183c39 Checking for the $CFG->timezone value as a last resort in the various user
date/time functions didn't work because there was no global $CFG; :O
2004-04-01 10:11:20 +00:00
moodler
07c270c127 Upgraded to latest version and fixed some undefined variables 2004-04-01 03:16:25 +00:00
moodler
47b307976b Removing a line from stripslashes_safe ... not sure why we were replacing
these double slashes ...
2004-03-31 08:45:11 +00:00
moodler
09cbeb40a2 An improvemement, I think, in the way Javascript is stripped in clean_text 2004-03-28 06:31:27 +00:00
julmis
cfa3f2622e Cleaning up javascript and trying to make code less
memory consuming.
2004-03-26 09:29:44 +00:00
moodler
1265952149 - Fixed timezone calculations when user isn't present, and
- format_float now defaults to one decimal place
2004-03-25 15:29:40 +00:00
moodler
8dcd43f3fe Checking in Eloy's Javascript/smiley fixes from bug 1185 Thanks! 2004-03-25 06:31:44 +00:00
moodler
9a11957599 SOme fixes for formatting from Koen in bug 1183 2004-03-25 05:43:36 +00:00
julmis
85334fdc0a Adding missing slash in tr -tag line 258 2004-03-24 23:14:20 +00:00
moodler
d0ec93fbd6 Guests can no longer see email addresses if "show only to course participants"
has been set by that user
2004-03-24 12:23:43 +00:00
moodler
427fdf6669 Primary admin is now the lowest-numbered entry in user_admins, rather than
the admin with the lowest userid.  This makes it easier to change the
primary admin.
2004-03-24 09:38:47 +00:00
moodler
20439c700b Add idnumber to list of course students 2004-03-21 03:30:27 +00:00
moodler
488acd1be9 Some fixes to the functions for fetching users (some of it is backing
out Scott's changes, sorry Scott!) and some fixes to the interface
for the admin user page.
2004-03-20 06:58:52 +00:00
moodler
1579586ced Some blank index.html files to prevent browsing 2004-03-20 04:10:26 +00:00
moodler
6670a7f214 Dummy index to prevent browsing 2004-03-20 04:08:19 +00:00
moodler
36ec6afea6 Added a small security check 2004-03-20 04:04:15 +00:00
julmis
d5a55d2388 Styles enabled on table-operations dialogs 2004-03-19 19:09:35 +00:00
selliott
5a4aa257c1 On second thought, let's display the lastaccess in the lastaccess column of admin/user.php ;) 2004-03-19 04:39:20 +00:00