Akinsaya Delamarre
4eb084f1a2
MDL-41170: Added user updated event triggers to password updating functions.
2013-10-14 13:22:15 +08:00
Petr Škoda
74d458916b
MDL-40676 ignore null bytes
2013-09-02 12:28:15 +08:00
Eloy Lafuente (stronk7)
392aa3ff35
Merge branch 'MDL-33562-24' of git://github.com/danpoltawski/moodle into MOODLE_24_STABLE
...
Conflicts:
version.php
2013-06-18 00:46:59 +02:00
Petr Škoda
d1bb51aaad
MDL-39416 do not try to get detailed perflog info before PAGE int
2013-06-02 13:30:02 +02:00
Dan Poltawski
27bab164f2
MDL-33562 lib: remove private keys when user deleted
2013-05-31 10:27:01 +08:00
Gilles-Philippe Leblanc
e60224a32a
MDL-38239 gradebook: Importing grades from a .txt file with commas for decimals causes an error
2013-05-21 14:13:16 -04:00
Tim Hunt
2ec2d00dc8
MDL-39445 get_plugin_list clean_param use is slow
...
get_plugin_list was calling clean_param($pluginname, PARAM_PLUGIN) a
lot (600+ times per page), and that is much slower than you would guess.
A specific function for this case, (which we then also use from
clean_param) is a performance win.
2013-05-02 15:47:28 +01:00
Tim Hunt
0dc15de222
MDL-39444 get_string: remove unnecessary clean_param
...
This clean_param was added as part of MDL-22015. It is a good idea when
developer debug is turned on, but it showed up as a surprisingly
expensive cost in our profiling.
This change:
1. Removes the check during string_extist. This will not change
behaviour, the method returns false if the string does not exist.
2. In get_string, it only does the check if debugging is set to
DEVELOPER level.
2013-05-01 10:17:34 +01:00
Tim Hunt
79ed1fe6c6
MDL-35364 shorten text: don't return invalid HTML.
...
I also broke the unit tests into more, smaller, named tests, so that
when things start failing, more tests are run, and it is clearer what
the problem is.
In a couple of cases, I adjusted the $ideal lenght in the test. A
careful counting of the characters in the test input (added as comments)
suggests that the new values make for better tests.
2013-04-22 19:24:50 +01:00
David Mudrák
5c0877079c
MDL-39023 Make get_language_dependencies() aware of circular dependency risk
...
The patch reimplements the core_string_manager::get_language_dependencies()
so that potentially mis-configured language packs with circular
dependencies or self dependency do not make the site unavailable.
Unit tests for the expected behaviour are added.
2013-04-08 14:26:23 +02:00
Tim Hunt
2de3659810
MDL-37896 qtype_essay: correct PARAM_CLEANHTML -> PARAM_RAW.
...
It turns out that you should almost never use PARAM_CLEANHTML.
2013-02-08 12:49:58 +00:00
Petr Škoda
17c88e6ec9
MDL-37483 improve require_login redirect when activity not accessible
2013-01-14 23:30:28 +01:00
Eloy Lafuente (stronk7)
844cb63fed
Merge branch 'w51_MDL-37152_m24_smtp' of git://github.com/skodak/moodle into MOODLE_24_STABLE
2013-01-08 18:02:37 +01:00
Petr Škoda
ef227f1e0f
MDL-35893 do not track performance before installation
2013-01-01 15:51:06 +01:00
Petr Škoda
ab7d4ea7ba
MDL-37152 remove bogus $mail->IsSMTP() breaking non-smtp mailing
...
Credit goes to Aurelijus Bruzas, thanks.
2012-12-22 14:48:25 +01:00
Jerome Mouneyrac
2e8b836243
MDL-36773 timezone inconsistency => some number support decimal other don\'t - Original patch author: Nathan Mares
2012-12-11 09:57:22 +08:00
Petr Škoda
8cd6d1aa6e
MDL-36780 fix login redirect in require_login()
...
We can not redirect to login page when user is already logged in.
2012-11-22 11:27:10 +01:00
Petr Škoda
0b37fe466a
MDL-36682 remove old unused shared memory caching support
2012-11-18 14:46:31 +01:00
Dan Poltawski
aeb8e78785
Merge branch 'wip-MDL-36407-m24' of git://github.com/samhemelryk/moodle
2012-11-16 15:04:17 +08:00
Sam Hemelryk
5dd68a7523
MDL-36407 cache: unit tests + checks + improved string cache
2012-11-16 09:46:49 +13:00
Dan Poltawski
3c9b489820
Merge branch 'wip-MDL-35260-master' of git://github.com/marinaglancy/moodle
2012-11-12 11:04:23 +08:00
Marina Glancy
3776335ce2
MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled
2012-11-10 15:34:29 +08:00
Petr Škoda
3c1405a1ee
MDL-36481 improve IE version sniffing
2012-11-09 15:23:22 +01:00
Sam Hemelryk
db0a71d699
MDL-34342 cache: fixed issue within string cache key
2012-11-09 10:48:39 +08:00
Sam Hemelryk
468cc57297
MDL-34342 cache: Added missing include and fixed old lang manager setting
2012-11-06 17:24:20 +13:00
Dan Poltawski
61d49846a1
Merge branch 'wip-MDL-34342-m24' of git://github.com/samhemelryk/moodle
2012-11-06 11:26:45 +08:00
Dan Poltawski
918085d048
Revert "MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled"
...
This reverts commit 45f93db912 .
This reverts commit 3f798d4a3d .
2012-11-05 15:20:22 +08:00
Dan Poltawski
1fc59b22de
Merge branch 'wip-MDL-35260-master' of git://github.com/marinaglancy/moodle
2012-11-05 15:04:25 +08:00
Marina Glancy
45f93db912
MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled
2012-11-05 11:46:34 +08:00
Dan Poltawski
3bd6e74afd
Merge branch 'w42_MDL-35469_m24_geckover' of git://github.com/skodak/moodle
2012-11-02 12:07:11 +08:00
Dan Poltawski
81bfb046af
Merge branch 'MDL-34965_master' of git://github.com/dmonllao/moodle
2012-10-30 16:05:43 +08:00
Sam Hemelryk
d90bbe6fce
MDL-25290 conversion: Converted string cache to MUC
2012-10-19 08:08:50 +08:00
Frederic Massart
c5f2d11969
MDL-35412 core: Moving get_string out of if statement
2012-10-16 11:50:25 +08:00
Frederic Massart
15396bba9b
MDL-35171 Forms: Date selector always gets UTF-8 strings
2012-10-15 09:46:02 +08:00
Petr Škoda
5afe9a6226
MDL-35469 fix Gecko based browser checks
...
The problem is that latest firefox versions stopped using dates because they lost the meaning over the time.
2012-10-13 09:59:28 +02:00
Sam Hemelryk
34c84c723a
MDL-25290 cache: Added cache locking plugin and converted locking implementations to that
2012-10-08 09:53:51 +13:00
Sam Hemelryk
6fec18203b
MDL-25290 cache: Renamed plugin from cache => cachestore
2012-10-08 09:53:51 +13:00
Sam Hemelryk
52642d0d24
MDL-25290 cache: Fixed up issue with unit test blowing away cachedir
2012-10-08 09:53:51 +13:00
Sam Hemelryk
d6a1f63bdd
MDL-25290 cache: Cache API integration with core
2012-10-08 09:53:50 +13:00
Sam Hemelryk
d324d74e39
Merge branch 'MDL-30901_master' of git://github.com/dmonllao/moodle
2012-09-24 15:15:05 +12:00
David Monllao
13cd661f1b
MDL-30901 report_progress Removing screenreader setting usage and adding a title attribute for screen readers
2012-09-21 09:22:21 +08:00
Marina Glancy
9367fd911d
MDL-35001 removed cycle detection from convert_to_array because it causes error in data
2012-09-20 15:37:25 +08:00
Petr Škoda
adc75629e4
MDL-35454 ignore invalid $custombytes in get_max_upload_sizes()
...
This fixes installation and phpunit init regression.
2012-09-15 11:13:04 +02:00
Sam Hemelryk
fd9a54c2e3
Merge branch 'wip-mdl-30667' of git://github.com/rajeshtaneja/moodle
2012-09-13 11:19:30 +12:00
Eloy Lafuente (stronk7)
513480c22a
Merge branch 'MDL-35257-master' of git://github.com/danpoltawski/moodle
2012-09-11 01:53:17 +02:00
Petr Škoda
6dd4241f81
MDL-35318 fix lang revision incrementation conditions
2012-09-10 20:23:14 +02:00
Petr Škoda
a46e11b5df
MDL-35318 add lang revision counter and improve PHPUnit test reset
...
We need this for hacks that need to find out if strings changed.
2012-09-09 12:15:30 +02:00
Dan Poltawski
4501a081d3
MDL-35257 lib: if $CFG->logguests is disabled, avoid some log actions
...
This is for performance, else there can be great contention on the guest
user record as we've seen on moodle.org.
2012-09-07 10:25:22 +08:00
Eloy Lafuente (stronk7)
b448cf475e
Merge branch 'MDL-29662' of git://github.com/timhunt/moodle
2012-09-04 01:14:06 +02:00
Rajesh Taneja
732c25ade9
MDl-30667 Course: Maxbytes list will show current value, if it's lower then maxbytes
2012-09-03 14:43:33 +08:00