Commit graph

92 commits

Author SHA1 Message Date
moodler
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
d26d7ed0c3 Changes to make things work again :-) 2002-12-22 06:15:44 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
393cc5088b Improved course listing display when no courses 2002-12-15 06:00:58 +00:00
moodler
d7facad81e Modifications from Greg Barnett at Crown College to add more admins.
See http://bugs.moodle.org/bug.php?op=show&bugid=202
2002-12-11 14:59:37 +00:00
moodler
7541bc3e87 More styles 2002-12-09 13:36:55 +00:00
moodler
469e5eb18e More style and layout tweaking 2002-12-09 12:09:33 +00:00
moodler
fb23e3cbb9 Slight changes 2002-12-09 08:53:49 +00:00
moodler
776dc2709f Allow print_all_courses to have width 2002-12-09 07:52:47 +00:00
moodler
5e367a2d56 Various little tweaks to improve the display of course home
pages and front page ... still have some work to do though
2002-12-09 07:35:40 +00:00
moodler
39246b72f8 Some colour difference for my courses .... I'm not sure about it ... 2002-11-29 14:22:34 +00:00
moodler
85098089d1 Some improvements to the layout of courses when there are categories
and they are on the front page
2002-11-29 14:17:36 +00:00
moodler
bd4707bf29 Er.. aligned center works better ;-) 2002-11-20 09:41:02 +00:00
moodler
68e1b65291 Fixed alignment on category boxes in some circumstances 2002-11-20 07:18:55 +00:00
moodler
62c13a2f3e Changed all references of %e to %d to fix strftime on Windows 2002-11-19 14:27:57 +00:00
moodler
60459ef768 Added Authentication to admin_links 2002-11-19 09:55:54 +00:00
moodler
7c0f298426 Update course cache when modules are moved up or down 2002-11-10 14:45:11 +00:00
moodler
c408b0c49b print_section now uses cached course modinfo to lessen load in database 2002-11-10 08:55:11 +00:00
moodler
d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
4313922f65 Fix for category box display on IE 2002-10-24 12:49:53 +00:00
moodler
e5dfd0f31f Improvements to help, and addition of new "Activity modules" help
for teachers adding new modules.
2002-10-21 03:00:40 +00:00
moodler
2a439ba7f6 ***NOTE NOTE NOTE **********************************************************
THIS IS A BIG CHANGE!

I've renamed the "reading" module to "resource".

This meant changing quite a few references throughout Moodle.

The automatic upgrade process should work OK (it worked OK on my
development server) and there shouldn't be any problems.

BUT PLEASE PROCEED WITH CAUTION AND KEEP BACKUPS OF EVERYTHING
UNTIL I HAVE A FEW MORE TESTS!   If you upgrade please let me know.

One thing that will break are any hard-coded links within forum messages.

What I will be doing to fix this on my apache server is to add this to
httpd.conf:

Redirect /mod/reading/ http://moodle.com/mod/resource/

Sorry about any inconvenience, but it's better this is done sooner than later.
2002-10-17 14:03:59 +00:00
moodler
3486b7bee5 Added a new grading tool for teachers to see all grades on one page.
Grades are collected from each module using the module_grades function in
each mod/*/lib.php.
2002-10-17 07:23:12 +00:00
martin
077f9a67d0 Add manage database link to home page admin links if necessary 2002-09-27 06:19:49 +00:00
martin
f25f1e1b66 Little bug that caused the guest icon to display even when guest was turned
off (if the password was null)
2002-09-26 11:10:20 +00:00
martin
d578afc883 Major cleanup of user administration and display, including sortable listings,
confirmation on deletions, removing deleted user from all student lists,
teacher lists and subscription lists and freeing up their username and
email to be used again.
2002-09-22 14:06:38 +00:00
martin
3869a2ac3d Changes to print_recent_activity in course/lib.php. It is now more
modular (at slight cost to performance) and every modules can now
have a module_print_recent_activity() function.  This function
takes a list of logs, searches for things to display and does so.

So far I've done forum and journal functions
2002-09-21 17:11:08 +00:00
martin
74944b734d Most of the configuration variables have been moved out of the config.php
file and into a database, where they can be edited using a new admin form
called "Configure variables".
2002-09-19 12:01:55 +00:00
martin
7ef459ebed Fixed bug with category links on front page 2002-09-12 02:42:22 +00:00
martin
122cffc938 Include guest user in list of users 2002-09-11 02:26:56 +00:00
martin
0c6561819b Changes to course display on front page when there is more than one category 2002-09-10 13:47:56 +00:00
martin
0a26320532 Tweaks to category display 2002-09-09 12:37:34 +00:00
martin
ba2e5d7347 Categories upgrade. Admin can now create/edit/delete categories, and
these are diesplayed wherever courses are listed
2002-09-09 11:48:11 +00:00
martin
b4d7002e66 Changes to allow much better control over what "teachers" are called
in a course.  Firstly, the course settings page now allows the teachers
to specify the word they want to use in place of "teachers" and "students"
as well as "teacher" and "student".  Secondly, a new teacher admin tool
allows any teacher to modify the order and displayed role of teachers
in that course.  This affects the display on the course listings, the
participants page and so on.
2002-09-08 03:24:38 +00:00
martin
31410e9a16 Added a new administration page that can check the current language
pack against the English language pack.  It prints any missing strings
or files.  This should help language pack developers.
2002-09-03 14:29:39 +00:00
martin
cf38360f58 Language fixes, added english strings etc 2002-09-03 13:11:40 +00:00
martin
0c71c9ae0e Hide no-authority teachers from course listings too 2002-09-01 14:47:03 +00:00
martin
ee1ddef672 Tweak to side boxes 2002-08-26 20:45:01 +00:00
martin
670fddf176 Fix for front page case when no left column 2002-08-26 20:38:56 +00:00
martin
ef4743b9bf Slightly bigger window 2002-08-26 09:28:01 +00:00
martin
57fa46e2a2 Nicer display of earth plot now contains user's name as well 2002-08-26 09:25:24 +00:00
martin
ebea4e27cc Added popup links for IP addresses in logs (display IP location on world map) 2002-08-26 09:00:57 +00:00
martin
19a55d6776 Changes to improve layout and formatting on old Netscape (eg version 4) 2002-08-23 03:55:49 +00:00
martin
3c7331da30 Make the Help link in the course look like a seamless part of the course. 2002-08-18 16:31:23 +00:00
martin
44dad7350b Added help link to course pages (for teachers) and tidied up the
course admin links in general (new fucntion and reorder)
2002-08-18 16:16:24 +00:00
martin
1e3e716f1d Changes related to new way of setting and recalling themes.
The CFG->theme variable is now obsolete in config.php - use the
admin page to set themes interactively.
2002-08-17 13:01:06 +00:00
martin
f58d18bc83 Log formatting 2002-08-15 13:05:14 +00:00
martin
2ff66427bc Make the IP more visible in logs 2002-08-15 13:03:42 +00:00
martin
97c270e9a8 Changes related to language support ... get_string()
Minor little interface cleanups along the way
2002-08-11 15:41:54 +00:00
martin
27038d9fe0 Changes to strings in print_recent_activity (added, updated, deleted activities) 2002-08-11 05:24:25 +00:00