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
martinlanghoff
897e0712e8
Comments.
2006-09-28 00:13:07 +00:00
martinlanghoff
c0adb54de4
Allow Chinese/Japanese UTF-8 strings to be truncated at character
...
boundaries instead of word boundaries. (fix MDL-5378)
2006-09-28 00:10:23 +00:00
skodak
6859360cd4
coverted /admin/ to proper /$CFG->admin/ in paths
2006-09-26 21:10:14 +00:00
skodak
9a76d7b9ea
fixed autologinguests warning
2006-09-26 06:34:29 +00:00
moodler
73b998684b
FIxes related to strange default languages
2006-09-25 06:04:02 +00:00
skodak
7eb0b60a1f
debugging and error reporting level fixes and improvements MDL-6671
2006-09-23 09:38:39 +00:00
moodler
9991d157ea
Further fixes for MDL-6601 ... that should be complete now.
2006-09-23 06:10:48 +00:00
moodler
eaa79489a8
First pass at a fix for MDL-6601 (delete contexts when deleting course)
2006-09-22 17:49:45 +00:00
skodak
ba4e0b059d
fixed warning caused by missing fields in $course; tweaked mime info for firefox when forcing download - it should use default system mime associations which should be safe in case of firefox.
2006-09-20 17:51:59 +00:00
tjhunt
df44078448
Another typo.
...
A pity, I would love to know what a delect_records function did ;-)
2006-09-20 16:36:40 +00:00
tjhunt
9fd73f0c26
Fixed typo CONTEXT_COUSE -> CONTEXT_COURSE
2006-09-20 16:19:57 +00:00
moodler
b0270f84eb
Added unset_config as a companion to set_config
2006-09-20 02:17:27 +00:00
toyomoyo
9c37662f22
replacing deprecated funciton calls with capability calls
2006-09-19 09:16:24 +00:00
vyshane
f2269f311d
Typos
2006-09-19 08:10:46 +00:00
skodak
b79da3ac68
moodle/course:managemetacourse is now singular
2006-09-19 06:35:52 +00:00
toyomoyo
d76a5a7fed
replacing references to user_* tables
2006-09-19 01:44:33 +00:00
skodak
31f267963a
MDL-6568 shortname added to roles
2006-09-18 17:40:22 +00:00