1169 Commits

Author SHA1 Message Date
moodler
173cc1c342 New library for admin-only functions 2004-08-19 09:37:42 +00:00
moodler
80035a89e1 Disallow dots being passed to lang (path disclosure) 2004-08-18 05:52:01 +00:00
julmis
e78e3d90b8 Removed duplicate link_std line from switch block ;-) 2004-08-17 19:37:01 +00:00
moodler
61260ef73d Trying a plainer icon 2004-08-17 09:40:04 +00:00
moodler
fcbbaeef2e Strings and spacing and stuff 2004-08-17 09:25:17 +00:00
moodler
76add072fe Add spaces for web addresses to help bodgy clients that get
confused about the trailing ] bracket.

bug 1649
2004-08-17 08:09:13 +00:00
moodler
39a5a35d6d Finalise the switchover to using the user->auth field when authenticating.
Thanks, Howard Miller!
2004-08-16 15:41:57 +00:00
julmis
7ada3fea23 Don't ever try to load editor when using safari.
Safari isn't supported.
2004-08-16 09:44:43 +00:00
moodler
22d42bf0ce If possible, increase the memory limit at run-time. doh!
Not many servers have this compiled into PHP though.
2004-08-16 07:26:19 +00:00
moodler
8b10824c18 Moved Anchors thing down ... 2004-08-15 15:21:22 +00:00
moodler
aa94692460 Fixed Browse button (added ellipsis) and missing string "Anchor" 2004-08-15 14:31:28 +00:00
julmis
b3d3ca5b79 Big update for the editor!
Code is closer to HTMLArea 3.0 RC1.
- Updated dialog behavior (no more showModalDialogs)
- Cleaner XHTML coding in dialogs
- Unnecessary comment stripped off from htmlarea.php
- New anchor feature.
2004-08-15 11:56:45 +00:00
julmis
31b6f565df Add anchor image. 2004-08-15 11:51:22 +00:00
moodler
4e11ad4faa Added a new "auth" field to the user table. This field contains the
authentication mechanism used to create that user record.

Also added code to upgrade existing systems to have entries in that
field, and for new users to also have that field defined.

This will allow us to later improve the login procedure to be able to
handle various types of authentication.
2004-08-15 07:27:52 +00:00
moodler
66f9a82c60 You can choose not to show notices on make_upload_directory
The installer script uses this.
2004-08-12 15:54:43 +00:00
julmis
ad23e80a3b Fix for wordClean. Don't strip all h -tags 2004-08-12 07:40:57 +00:00
defacer
fe78a3dc30 Ooops! Silly mistake... NOW bug 1736 is fixed. 2004-08-12 07:17:46 +00:00
defacer
0c9c6363bc Fix for bug 1736:
Invisible blocks are now not contributing to block column width calculations.
2004-08-12 07:09:18 +00:00
moodler
9fb216e8b6 Fixed some version numbers on three blocks 2004-08-12 04:44:14 +00:00
moodler
ed5bdd6585 Some filters add javscript, we and certainly do not want to clean
those out.

Moving the cleaning to just before the other filters are run.
2004-08-10 09:16:16 +00:00
moodler
d05024a72b Added Petri's patch that allows us to finally change type of PostgreSQL columns!
Yay!   Thanks, Petri!

Bug 1721
2004-08-09 16:00:10 +00:00
moodler
9d40806d0e format_text now does a clean_text after all the filters, for added safety
Practically all printed text in Moodle should use this function

If you don't want to clean the text of unwanted tags and scripts, then
set the parameter $options->noclean
2004-08-09 14:54:39 +00:00
defacer
5a59303726 This seems to improve the regexp filtering by solving some problems where
it was killing unarmed population... hope it works "better" now!
2004-08-09 08:51:47 +00:00
moodler
df1c46115b Improvement to filters, providing speed boost AND better compatibility
with Turck MMCache.

Filter function must now have a particular name

   eg resource_filter

where "resource" is the name of the directory that filter.php is in.
2004-08-08 06:57:44 +00:00
moodler
fab7e07e19 Upgraded to ADOdb 4.5.1. Contains a lot of small fixes and speed-ups. 2004-08-07 14:10:19 +00:00
moodler
51a96819cc COntinue buttons should break out of frames 2004-08-07 13:43:01 +00:00
moodler
6527c077b6 Ficed a PHP5 notice 2004-08-07 13:39:36 +00:00
moodler
e1f3202adb FIxed a PHP5 notice 2004-08-07 13:36:57 +00:00
moodler
1284a926f9 More mtrace statements 2004-08-07 06:05:37 +00:00
moodler
622ebc6a7c mtrace now works properly for web display too 2004-08-07 03:59:53 +00:00
moodler
defaac4cee Added mtrace function for printing information to standard output 2004-08-05 17:08:46 +00:00
moodler
53f046e9ce FIxed translation of "Browse" 2004-08-05 13:49:31 +00:00
moodler
ce04df6ba6 Fixed detection of no groups as per bug 1692 - thanks, Ray! 2004-08-04 12:32:43 +00:00
gustav_delius
09d4c9a984 postgres should use INT8 only for very large integers, see bug1590 2004-08-03 09:30:04 +00:00
moodler
780dd11cfb Single more concise string for login error notification emails 2004-08-03 06:53:04 +00:00
moodler
b4d4e4aac5 helps wiki find global course 2004-08-03 04:08:11 +00:00
moodler
579dcca41e Email function now returns an "emailstop" error if email was blocked 2004-08-03 04:03:01 +00:00
moodler
1f2eec7b65 Fixes to helpbuttons and popups 2004-08-02 19:09:06 +00:00
moodler
f8f4992e14 Fixed some lowercased variables 2004-08-02 19:08:05 +00:00
moodler
3831de5237 First pass at a function to empty a course remove_course_userdata()
To be called from course/empty.php
2004-08-01 07:34:39 +00:00
moodler
7064e18f45 Fixed a notice in isstudent() 2004-08-01 06:21:59 +00:00
moodler
f29667f638 Hide "Unenrol" when we're not in a course 2004-07-31 13:02:06 +00:00
moodler
e7cdcd1892 Added support for Markdown - thanks to David Scotson! 2004-07-30 04:02:58 +00:00
gustav_delius
609ba03702 adding <th> to allowed tags, fixing bug 1635 2004-07-29 22:46:32 +00:00
moodler
f28db22d06 Fixed duplicate in log_display, and improved installation
for non-English users
2004-07-29 18:44:57 +00:00
moodler
2eb68e6f6b Various cleanups of the installation process 2004-07-29 18:01:32 +00:00
moodler
b40bc478d9 Fixed a few notices and extended some functions a little 2004-07-29 14:54:25 +00:00
moodler
18763fd41f Added a new course field called enrolperiod that allows a teacher to specify
an enrolment period for new students.
2004-07-29 14:47:05 +00:00
julmis
d82ead4621 Switch if/else to switch structure
- reducing lines
2004-07-26 18:04:15 +00:00
moodler
27106bac92 FIxed some variables for login error logging 2004-07-25 14:39:19 +00:00