moodler
99988d1a87
This version installs smoothly for me on PostgreSQL
2002-12-23 14:19:45 +00:00
moodler
31fefa636d
More database tweaking ... looking pretty good with PostgreSQL now
2002-12-23 13:48:31 +00:00
moodler
a3eea09cc9
More fixes for postgreSQL etc
2002-12-23 11:47:17 +00:00
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
1d881d926b
More moving functions around and removal of hardcoded SQL
2002-12-23 03:07:01 +00:00
moodler
1523be781f
Changes to get a more reliable insert ID for any table
2002-12-22 06:33:30 +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
df28d6c5e6
Contains database functions split-off from moodlelib, just so you can see
...
what I'm doing ...
Some functions have been extended and cleaned up ...
I need to do more testing on it all before checking in all the other
changed files like moodlelib.php and setup.php
2002-12-17 04:41:18 +00:00
gregb_cc
8caf7e0430
Since the reimplementation of check_php_version will probably never be used, I
...
have removed it.
2002-12-17 03:04:07 +00:00
gregb_cc
709c0cb359
added in a commented out reimplementation of check_php_version, that will most
...
likely never be used.
2002-12-17 03:02:53 +00:00
moodler
a4064f5755
Moved the view source button to solve problems with other languages
...
pushing it off the screen
2002-12-15 17:59:40 +00:00
moodler
fd790dfb55
Database and upgrade files for PostgreSQL 7 support!
2002-12-15 02:41:07 +00:00
moodler
a3e175eea5
performance improvement when checking gd version
2002-12-15 02:40:25 +00:00
moodler
778c28671a
Added new configuration setting "country" to set a default country
...
for the site. If this is set then user menus are pre-selected.
eg when signing up or filling out profile after external authentication.
2002-12-14 08:18:18 +00:00
moodler
7be475f601
New consistent help buttons for textarea fields throughout all modules
2002-12-13 09:06:30 +00:00
moodler
45f21f94d7
config.php not required ... just in case themes move or something ...
2002-12-13 03:15:28 +00:00
moodler
8ab95b7186
Style hooks for print_simple_box
2002-12-13 03:14:49 +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
cf3f6bcc2c
Removed makeclass stuff completely. It's now in contrib/crown_college
2002-12-11 06:31:59 +00:00
moodler
e6f10ec582
Theme not working for brand-new setup.
2002-12-10 13:37:37 +00:00
moodler
2338465770
Tweak to etxt in box
2002-12-09 13:48:31 +00:00
moodler
7541bc3e87
More styles
2002-12-09 13:36:55 +00:00
moodler
21ba1d796b
testing wrong thing
2002-12-09 12:12:42 +00:00
moodler
469e5eb18e
More style and layout tweaking
2002-12-09 12:09:33 +00:00
moodler
2e4b204b26
Changes to make makeClassFromFile() in makeclass.php work better
2002-12-09 02:12:37 +00:00
moodler
339bb5599f
New code to use locale information from language packs if necessary
2002-12-08 17:26:21 +00:00
moodler
86400f05f5
Small changes to help display of Japanese and on Netscape
2002-12-07 08:44:21 +00:00
moodler
a8a71844e4
If the database doesn't work then just die before anything else
2002-12-07 07:27:58 +00:00
moodler
2348daf12c
Updated the dox
2002-12-07 04:37:21 +00:00
moodler
ec2e229a0f
General purpose function to produce a class based on a library
...
of simple functions. Can be used to provide a class interface
to Moodle functions.
Thanks to Greg Barnett!
2002-12-07 04:31:23 +00:00
moodler
3e8ff7019f
Fixed up CVS Id tag
2002-12-06 11:36:20 +00:00
moodler
2ccb36740b
Wrapper file to make moodlelib.php functions accessible as a class
...
called moodlelib. Based on idea from Greg Barnett:
http://moodle.com/mod/forum/discuss.php?d=356
2002-12-06 11:23:42 +00:00
moodler
035cdbff1a
Improved removal of leading zeroes, but with some efficiency lost
2002-12-02 01:35:18 +00:00
moodler
bea7a51e3c
Slight change to get rid of leading zeroes in dates
2002-12-02 01:13:14 +00:00
moodler
666122b94b
Upgraded ADOdb to 2.50 because it fixes some bugs with PHP 4.3.0
2002-11-30 13:23:39 +00:00
moodler
64efda84b5
Fixes to increase the number of options available to limit assignment
...
upload size, and also to limit the list based on PHP limits
2002-11-28 02:41:56 +00:00
moodler
fc05fccb64
Strip slashes from filenames
2002-11-26 02:11:05 +00:00
moodler
92710226a5
Tidy up some of the dox
2002-11-22 09:38:15 +00:00
moodler
466558e349
Changes to allow admin to control the "forgot password" function
...
and a bug fix for set_config
2002-11-22 08:43:35 +00:00
moodler
89b5432563
Allow admin user to always get in, no matter what the authentication method
2002-11-21 12:39:33 +00:00
moodler
6ae24de0e1
No longer need the getuserinfo parameter
2002-11-21 11:28:46 +00:00
moodler
34daec9b3b
Tweaks to authentication system. Database method now allows other
...
fields to be specified so that things like email, names etc can be
pulled in from external database when new Moodle accounts are created
2002-11-21 07:37:21 +00:00
moodler
780db23080
Slight improvements to file security (scan for more bad characters)
2002-11-21 02:51:50 +00:00
moodler
d26c7f1740
Forgot a comma
2002-11-20 15:16:03 +00:00
moodler
bb90c4e867
Added guestloginbutton as default
2002-11-20 15:04:21 +00:00
moodler
277d2d9f3e
Make sure guestloginbutton is set to 1 as a default
2002-11-20 15:03:06 +00:00
moodler
15e4b2ecd9
User pictures no longer are links on main view page
2002-11-20 14:58:24 +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
60f18531c8
A default format for format_text() and a workaround embedded
...
for sites with the buggy referer problem :
define $CFG->buggy_referer = true in the config.php to activate it
2002-11-17 10:45:34 +00:00