1203 Commits

Author SHA1 Message Date
gustav_delius
2a2f5f1181 now the lastaccess field is also updated upon every login, closing bug 1833 2004-08-29 15:00:08 +00:00
gustav_delius
0475502255 got rid of update_user_in_db, see bug 1833 2004-08-29 14:24:05 +00:00
gustav_delius
222ac91bc9 removed unnecessary calls to get_site() 2004-08-29 14:15:40 +00:00
gustav_delius
540995b801 add_to_log now updates lastaccess if used on site. See bug 1821 2004-08-29 11:41:55 +00:00
moodler
3cac987a62 Make sure guest is always manual 2004-08-29 08:04:37 +00:00
moodler
27286aeb12 Merged authentication logic fixes from STABLE 2004-08-29 05:48:15 +00:00
thepurpleblob
963c3b552d $courseid now sent to wiki conversion properly 2004-08-27 14:31:40 +00:00
thepurpleblob
546764d89c Now gets it's courseid properly from the caller 2004-08-27 14:22:01 +00:00
julmis
c1137f58c7 Enabling image edit also in student view (Bug #1792) 2004-08-27 06:58:53 +00:00
julmis
af815ebd77 Merging changes from MOODLE_14_STABLE 2004-08-26 20:32:28 +00:00
julmis
bcdfed7384 Merged 2004-08-26 18:44:49 +00:00
moodler
eb2aa909d7 Merged from stable (sideblockheading style fix) 2004-08-26 14:35:14 +00:00
paca70
c14964b025 Fixed bug 1801
Untested on mysql, but should work with out problems.
2004-08-26 13:45:26 +00:00
moodler
76201e6648 Merged from stable 2004-08-26 12:41:46 +00:00
moodler
90e736bd2d Merged latest tweaks 2004-08-24 14:26:35 +00:00
moodler
e69ef14bf2 Merged changes from 14 STABLE 2004-08-24 04:58:06 +00:00
defacer
629b5885f7 Here buggy buggy...
General announcement:
If you 're running in debug mode and suddenly the HTML editor stops working
for no apparent reason, check your HTML source to find PHP notices embedded
in JS code, screwing it up and thus making it unexecutable. This has happened
to me more times than I can remember.
2004-08-23 13:18:39 +00:00
defacer
15a94ad920 Attention to detail: this prevents generating a warning if $focus is not set.
Of course, the warning is hidden inside JS and thus invisible to the naked eye.
2004-08-23 08:34:51 +00:00
moodler
ec51c7fb33 Don't lower-case parsed attributes 2004-08-23 02:21:59 +00:00
julmis
cd361ce562 Fix for Bug #1763 2004-08-22 22:55:06 +00:00
defacer
0e9af91794 Fix for bug 1678:
Now when the format of a course is changed, all blocks which are not
applicable for it anymore are automatically purged.
2004-08-22 16:48:28 +00:00
gustav_delius
f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
julmis
b8db385fa1 Insert Image dialog works now also in debug mode. 2004-08-22 09:49:25 +00:00
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