julmis
d11d6771f6
Larger sizes for dialogs.
2004-08-22 09:16:16 +00:00
gustav_delius
90fcc576ea
Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic.
2004-08-21 20:20:58 +00:00
julmis
67ccec433e
Add aspellpath check before printing editor config colde
2004-08-21 14:21:09 +00:00
moodler
ef132aa077
Added some more protocols to the allowed list
2004-08-21 13:31:49 +00:00
julmis
186d52b68a
Winmerge added weird extra lines?
...
Removed those extra lines.
2004-08-21 12:52:33 +00:00
gustav_delius
900df8b6a5
Some changes to user database functions:
...
1) get_course_students, get_course_users and count_course_students when called with course=site will now use get_site_users instead of get_users. This I believe was the consensus reached in the discussions of how front-page activities should behave.
2) all functions can handle a list of exceptions now.
3) get_site_users now returns users in the order admins, teachers, students. Similarly for get_course_users. This makes the sorting bug 1727 a bit more bearable
4) new function search_users
The whole thing is really a mess because each function has slightly different conventions for its arguments. But the beta is too close to tidy this up now.
2004-08-21 12:41:40 +00:00
julmis
eb2042f685
Add editor settings feature and Ludo's (Marc Alier) spellchecking functionality.
...
- Needs testing and should consider unstable.
2004-08-21 10:12:09 +00:00
moodler
3bd7ffec71
Added better cleaning of HTML attributes, using kses library.
...
Thanks to Eamon Costello for finding the library and writing the
wrapper functions.
2004-08-21 04:34:06 +00:00
gustav_delius
c117aa6c24
authenticate_user_login() function now works even if $user->auth is not yet set, fixing bug 1747
2004-08-20 18:48:05 +00:00
julmis
24d32007d0
Added text selection test, before opening insert link dialog.
2004-08-20 10:28:16 +00:00
julmis
361b68b34a
Not so nice fix for "Not allowed to write to dialogs" on FireFox!
2004-08-20 09:56:07 +00:00
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