stronk7
00d26a208b
Changed the get_course_mods function to obtain the visible property too.
2003-04-23 16:09:56 +00:00
paca70
cefc7e817e
Fix for postgresql column adding( $oldfield is always '"$oldfield"')
2003-04-18 20:50:42 +00:00
moodler
1acfbce5b6
Hide/show individual activities in any section
...
Code submitted by Eloy Lafuente (thanks!) for 1.0.8 ... I hand-merged it
into 1.0.9.
2003-04-14 15:11:09 +00:00
moodler
2d0b30a028
What was I thinking? This is much cleaner (and no duplicates).
2003-03-29 04:08:51 +00:00
moodler
adaf39283c
Changes to activate the "force subscribe" option on the Site News forum.
...
By default it is OFF, but if it is turned on, then site news is emailed
to ALL enrolled students and ALL current teachers.
2003-03-29 03:39:56 +00:00
moodler
e384fb7b73
Can now count a search of users
2003-03-21 10:10:21 +00:00
moodler
c750592ac4
Added a search form to the "edit users" admin page yay!
2003-03-21 09:42:42 +00:00
paca70
509139373e
Fixed incorrect comparison. Peter Paluch pointed this out.
2003-03-15 18:26:46 +00:00
moodler
9d5b689c8a
Added vim commands at the bottom of the file to try it out
2003-03-14 07:55:22 +00:00
moodler
31ce4b538c
Fixed quotes on column
2003-03-03 17:46:53 +00:00
paca70
1924074c76
Added support for nonadmin course creation.
...
Course creators are managed by /admin/creator.php , same way that admins.
Or if authetication module have 'auth_iscreator'-function (right now only ldap-module have) ,
users are added to creators at login time.
2003-02-24 18:48:55 +00:00
moodler
2b051f1c8e
Changes to modify_database() so it works with string input
2003-02-24 09:36:15 +00:00
moodler
5a4d292bca
Added changes to table_column from Petri Asikainen for Postgresql 7.3
2003-02-18 07:44:26 +00:00
moodler
c2a96d6b32
Fixes for the use of LIMIT in SQL for Postgres 7.3 (from Petri Asikainen)
2003-02-18 03:16:07 +00:00
moodler
9223049919
Fixes to insert_record for inserting null values.
...
Also some unfinished changes to table_column ... not recommended for use right now
2003-01-24 07:51:55 +00:00
moodler
dc8791f367
Undoing recent change to insert_record() because of some problems
2003-01-20 07:10:14 +00:00
moodler
a7e838796a
Rogue tabs
2003-01-19 06:07:05 +00:00
moodler
3c72e2f9c9
Some changes to insert_record to help Postgres 7.3
2003-01-19 05:46:49 +00:00
moodler
1c418003d7
FIxed logic problem when checking has_default variable in the database
...
when inserting new data
2003-01-14 15:36:20 +00:00
moodler
ce78926df0
Small robustness fixes
2003-01-06 13:55:37 +00:00
moodler
a3fb1c450a
New function table_column() to add or alter a column in any database.
2003-01-03 15:31:30 +00:00
moodler
e53b0823ab
More robust checking of returned $rs
2003-01-03 06:44:35 +00:00
moodler
61e96406df
Robustness fixes
2003-01-02 10:35:11 +00:00
moodler
f53af9410c
Better checks during membership checks
2002-12-31 07:16:52 +00:00
moodler
b3fa6684ea
Fixes to insert_record (from Petri) to explicitly use field default
...
values if we know them from ADOdb, to avoid some problems with PostgreSQL 7.2 onwards
2002-12-30 03:25:48 +00:00
moodler
18496c590b
New get_record_select function (for completeness) and a completely
...
revamped update_user_in_db() function
2002-12-29 16:28:09 +00:00
moodler
9d378732e4
More little fixes
2002-12-29 04:17:32 +00:00
moodler
5c63e0c4ee
Some changes to remove warnings about empty variables and cleanup
2002-12-29 04:02:42 +00:00
moodler
97485d0726
More database tweaks and improved access to forum search engine
2002-12-23 15:33:40 +00:00
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
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
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