Commit graph

968 commits

Author SHA1 Message Date
martinlanghoff
8d13ed1414 mnet: clean_param() fixed a leftover debugging statement - x2 2007-01-18 02:31:42 +00:00
martinlanghoff
f543c0c392 mnet: clean_param() fixed a leftover debugging statement 2007-01-18 02:22:35 +00:00
martinlanghoff
9220fba598 get_config(): return a single value instead of a record when called with 2 params
get_config() was meant to return a single value when called with 2 params,
however, it never did. Change it to Do The Right Thing, and audit all callers.
2007-01-16 23:25:19 +00:00
tjhunt
b317007212 MDL-8165 - Admin setting to control which roles are synced to metacourses 2007-01-12 18:03:36 +00:00
donal72
b7b50143f3 Auth: Bugfix: MDL-8131 2007-01-10 00:50:59 +00:00
moodler
7cd2f598aa More XHTML strict - removed image borders and height/width 2007-01-05 12:58:22 +00:00
skodak
7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +00:00
moodler
81693ac7f1 Make logout work without needing openssl MDL-8070 2007-01-04 08:32:50 +00:00
martinlanghoff
63b1e3513b mnet: fixed merge typo 2007-01-04 03:26:24 +00:00
martinlanghoff
03d820c788 mnet: changes to core moode libs
- get_user_listing() is now aware of remote users
 - require_login() is now aware of remote users
 - new auth plugins infrastructure in place
 - is_internal_auth() is now a deprecated legacy call
 - create_user_record()/update_user_record()/authenticate_user_login() handle multi-auth
 - is_mnet_remote_user() checks for remoteness
 - clean_param() handles PARAM_PEM and PARAM_BASE64

Also
 - user_login_string() knows to offer a link to remote users to login @ their host
 - XMLTDBTable field creation returns the field obj so that
   the caller has a chance to set additional properties such as comment
2007-01-04 02:52:44 +00:00
moodler
f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
skodak
2a919fd7fe MDL-7977 new isguestuser() function implementation 2007-01-01 13:36:42 +00:00
skodak
b7b9786414 MDL-8029 removed obsoleted use of isadmin() from authenticate_user_login() 2006-12-30 21:32:53 +00:00
skodak
0e5215db91 MDL-8029 obsoleted html_entity_decode() and file_get_contents() emulation removed from moodlelib 2006-12-30 21:18:15 +00:00
skodak
711fb62baf MDL-7829 zipping with binary zip broken under windows when moodledata on different disk 2006-12-29 22:52:01 +00:00
skodak
feaf5d06db MDL-8015 improved file uploading
- changed file upload api in formslib
- fixed blog attachments and related code in file.php
- fixed glossary attachments
- fixed embedded images in forum posts and blogs - only gif, png and jpeg; the problme was that svg were embedded using img tag which was wrong, the same applied to other picture formats unsupported by browsers (please note that student submitted svg should be never embedded in moodle page for security reasons)
- other minor fixes
2006-12-28 21:21:44 +00:00
martinlanghoff
cd60d017ea get_performance_info(): fixup rcache stats
0 cache misses is valid and probably a good score ;-)
2006-12-27 22:40:16 +00:00
martinlanghoff
6c2f585f85 dmllib: introducing the rcache_* functions for record cache handling
Abstracted Sam's initial work with $record_cache into a series of functions
that abstract things _just enough_ that we can use an internal
in-memory-array implementation or something that is shared across
processes, like memcached or the turckmmcache/eaccelerator caches.

Also
- added hit/miss stats tracking and reporting
- removed max entries limiting as it was buggy - var names mismatches
  and not counting unset()s
2006-12-27 22:39:32 +00:00
martinlanghoff
76f3815be9 raise_memory_limit() earlier -- resolves OOM on 64-bit platforms
On 64-bit platforms the in-memory footprint of our libraries is quite a bit
larger than usual, and we hit the 8MB default memory limit before we call
raise_memory_limit(). This patch moves raise_memory_limit() and
get_realsize() to setuplib so we can call them earlier, and moves the
call to _before_ we include the libraries.

On AMD64, for MOODLE_17_STABLE the footprint is about 9.5MB. Diet time? :-)
2006-12-26 22:48:36 +00:00
tjhunt
9dae915acb New param type: PARAM_NUMBER, for floating point numbers. 2006-12-22 13:29:20 +00:00
toyomoyo
077f381461 accessiblity, associating <th> with respective row or col 2006-12-13 08:24:23 +00:00
sam_marshall
ae628043a0 MDL-7401 Course format database/backup/lang/stylesheet/capability support 2006-12-11 15:47:23 +00:00
skodak
f71346e29a require_login not working properly MDL-7800 2006-12-05 09:19:26 +00:00
skodak
5301205a24 MDL-7757 URL check is too restrictive, allow port 2006-12-03 10:23:56 +00:00
skodak
1437f0a5e3 conversion of login/change_password.php to new formslib and other changes:
* new formslib
* works only when logged in - added redirection to login page for guests or not logged in yet
* fixed redirects when logging in and on forced password change
* "Logged in as" users are not allowed to use this form
* general cleanup
2006-12-02 14:38:31 +00:00
skodak
81f5d4a102 MDL-7234 Smilies don't load in HTML editor for some languages 2006-12-01 09:48:40 +00:00
skodak
9cdb766d61 Broken handling of magic quotes in admin settings and set_config in general MDL-7668 2006-11-27 08:44:38 +00:00
toyomoyo
b6c59cf796 merged, fixed hard coded auth method "ldap" 2006-11-21 02:08:59 +00:00
tjhunt
123545bc4f MDL-7607 - sync_metacourse is unnecessarily slow 2006-11-20 16:45:24 +00:00
vyshane
f68a7947bd Merged from 1.7 2006-11-15 08:07:32 +00:00
toyomoyo
4158fd81ce merged fix for MDL-6928, correcting checks for auth_iscreator 2006-11-15 03:40:18 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
skodak
fb77310635 we are going 100% unicode now - romoved use of $CFG->unicodedb and current_charset() which is now obsole and always returns UTF-8; MDL-7439 2006-11-11 16:07:53 +00:00
toyomoyo
c768b61057 merged fix for MDL-6928, LDAP course creation error 2006-11-01 03:51:04 +00:00
toyomoyo
39474844cb merged, do not remove context information when deleting the site course 2006-10-30 06:34:14 +00:00
skodak
58e8f85ba6 Cron.php workaround for IE & RFC2616 - MDL-7221; merged from MOODLE_17_STABLE 2006-10-26 08:55:56 +00:00
moodler
b1f318a67f Merged guest key enrolment fix from stable MDL-6881 2006-10-23 06:38:15 +00:00
moodler
721d14cbfe Merged fixes for recent activity from stable MDL-7134 2006-10-22 07:42:04 +00:00
skodak
6a1cfff27e Internal zipping broken on win32 MDL-7105 ; we are now using the new method to specify file names in zip archive because the old PCLZIP_OPT_REMOVE_PATH option is broken on win32 platforms 2006-10-19 22:13:03 +00:00
skodak
20d55a1b7b fix course reset unenrollment in to work with roles MDL-7069 ; merged from MOODLE_17_STABLE 2006-10-18 09:20:16 +00:00
skodak
1bacd276a7 fixed role_capabilities table name typo; merged from MOODLE_17_STABLE 2006-10-17 21:41:24 +00:00
tjhunt
df90796155 MDL-6249 - easier way for human beings (as opposed to network engineers) to specify IP ranges. Merged from MOODLE_17_STABLE. 2006-10-16 13:38:36 +00:00
skodak
c4ea5e7801 PARAM_MULTILANG is now alias of PARAM_TEXT; merged from MOODLE_17_STABLE 2006-10-16 07:46:35 +00:00
moodler
215965673b Merged MDL-6885 from stable 2006-10-12 07:28:22 +00:00
skodak
a44091bffe Fixing Theme Config Variables MDL-6784 2006-10-09 10:12:41 +00:00
stronk7
dd00dbd799 Allow load average to be displayed in servers using the comma as
decimal separator.
2006-10-07 10:33:58 +00:00
moodler
881a77bfcf Fix to ignore hidden courses when using switchrole in a course MDL-6841 2006-10-05 08:41:06 +00:00
toyomoyo
7f8691201c fixed a bug where block instances aren't deleted properly 2006-10-04 02:43:11 +00:00
moodler
53d052d029 Be a bit more flexible with the extra paths (can be a string or an array) 2006-10-02 15:15:23 +00:00
moodler
b53b73bdb8 Additional paramter for get_string() that allows the calling code to
specify extra locations for strings
2006-10-02 15:08:25 +00:00