Petr Škoda
aee963dac8
MDL-34538 fix PARAM_FLOAT validation
2012-07-27 18:46:23 +02:00
Frederic Massart
5c984fd630
MDL-18301 Gradebook: Added feature for components to control grade visibility
2012-07-06 09:54:22 +08:00
Dan Poltawski
1e93a653a4
Merge branch 'MDL-33532_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE
2012-06-07 22:23:48 +08:00
Tim Hunt
a41848a445
MDL-33532 quiz editing: let uses enter locale floats.
...
So, for example, Croatian users can set the maximum grade to 65,5.
Conflicts:
mod/quiz/edit.php
2012-06-07 12:58:39 +01:00
Eloy Lafuente (stronk7)
b71e34d890
MDL-33353 make fix_utf8() to work better under some systems.
...
This is a partial backport of MDL-32586 and MDL-33007 in order
to get some systems handling utf-8 strings better:
- debian/ubuntu. Avoid some glibc iconv() implementations to
throw one PHP notice each time the //IGNORE option is used.
- redhat. Avoid some implementations to return false
each time the //IGNORE option is used.
Note this does not include any backport of the admin notification
not the configmin stuff.
2012-06-04 12:40:37 +02:00
sam marshall
e8cc54227e
MDL-32988 Lib: Course delete does availability/completion in wrong order
...
When deleting modules that failed to delete using normal method, it deleted
the course-modules table first and then the availability/completion,
which depend on the entries in course-modules table. This commit switches
the order.
2012-05-16 14:04:13 +08:00
Eloy Lafuente (stronk7)
46d732c252
Merge branch 'wip-mdl-32234-m22' of git://github.com/rajeshtaneja/moodle into MOODLE_22_STABLE
2012-05-03 00:40:23 +02:00
Rajesh Taneja
daa44ab05e
MDL-32234 Library: usergetdate return different values when timezone is set
...
usergetdate should return consistent values for different timezone. There are
two return path
1. If timezone is servertime, it returns getdate
2. If timezone other then servertime, it use gmstrftime, which returns string and
values with leading zero.
In second case, leading zero's are removed and values are type casted. One major fix
is with yday, getdate returns 0 through 365, whereas %j returns 001 through 366. This
has been fixed as well.
2012-04-30 10:54:11 +08:00
Petr Skoda
9257815ff1
MDL-32607 prevent upgrade_set_timeout abort in CLI scripts
...
Credit goes to Michael Aherne, thanks.
2012-04-27 13:46:07 +02:00
Petr Skoda
3691c0de24
MDL-31553 do not timeout CLI upgrade scripts
...
Credit goes to Michael Aherne.
2012-04-23 08:53:41 +02:00
Eloy Lafuente (stronk7)
fcc24148d6
Merge branch 'wip-MDL-29678-m22' of git://github.com/samhemelryk/moodle into MOODLE_22_STABLE
2012-04-03 23:52:32 +02:00
Aparup Banerjee
d0f6d6172a
Merge branch 'wip-MDL-30784-stable22' of git://github.com/phalacee/moodle into MOODLE_22_STABLE
2012-04-03 17:00:51 +08:00
Aparup Banerjee
3ba909de87
Merge branch 'wip-MDL-31789-MOODLE_22_STABLE' of git://github.com/marinaglancy/moodle into MOODLE_22_STABLE
2012-04-03 16:32:06 +08:00
Jason Fowler
11c5042847
MDL-30784 - lib - Patch provided by Jason Hardin to provide detection for Android Tablets to allow the theme engine to provide the tablet theme
2012-03-30 08:24:32 +08:00
Sam Hemelryk
76fae9b6ab
MDL-29678 lib: Require login now overrides to false for AJAX scripts
2012-03-30 10:23:56 +13:00
Marina Glancy
67ace38c82
MDL-31789: Allowing context object to be passed to JS using json_encode()
...
Classes with magic properties such as context do not pass through json_encode().
The solution is to implement iterator in such classes and convert what we
feed to json_encode to array using 'foreach' before we pass it to json_encode():
- class context implements IteratorAggregate
- added function convert_to_array() that converts anything to array
- before calling json_encode we convert the argument to array
2012-03-28 11:43:46 +08:00
Ankit Agarwal
d06b2e0c89
MDL-22510 libraries: Set wantsurl only when $setwantsurltome is set in
...
require_login
2012-03-26 08:56:17 +08:00
Eloy Lafuente (stronk7)
6014124ea3
Merge branch 'w11_MDL-31718_m22_shortentext' of git://github.com/skodak/moodle into MOODLE_22_STABLE
2012-03-13 13:14:48 +01:00
Petr Skoda
dd21fb11f0
MDL-31718 utf-8 support in shorten_text()
2012-03-11 21:32:07 +01:00
Petr Skoda
caec0405f4
MDL-31815 encode dots in confirm url which helps email clients with url highlighting
2012-03-10 10:47:19 +01:00
Eloy Lafuente (stronk7)
c44c8eb96b
Merge branch 'wip-MDL-31248-MOODLE_22_STABLE-v3' of git://github.com/abgreeve/moodle into MOODLE_22_STABLE
2012-03-09 09:46:35 +01:00
Eloy Lafuente (stronk7)
be0b3ea0ea
Revert "MDL-31248 - lib - Alteration to the rc4encrypt function to allow for old password use."
...
This reverts commit 6f3e759ecb .
2012-03-09 09:37:43 +01:00
Adrian Greeve
9e7fa5f2bb
MDL-31248 - lib - Retaining the old password key and creating a new cookie prefix.
2012-03-09 13:37:40 +08:00
Eloy Lafuente (stronk7)
1312ff8740
Merge branch 'wip-MDL-31248-MOODLE_22_STABLE-v2' of git://github.com/abgreeve/moodle into MOODLE_22_STABLE
2012-03-08 02:28:41 +01:00
Adrian Greeve
6f3e759ecb
MDL-31248 - lib - Alteration to the rc4encrypt function to allow for old password use.
2012-03-08 08:08:05 +08:00
Ankit Agarwal
43956b2c68
MDL-28387 logs: Log data when a user is deleted
2012-03-02 13:18:32 +08:00
Aparup Banerjee
415dd485a5
Merge branch 'MDL-31335_mtrace_email_22' of git://github.com/andyjdavis/moodle into MOODLE_22_STABLE
2012-02-28 14:15:37 +08:00
Andrew Davis
a648791534
MDL-31335 message: wrapped calls to mtrace() in email_to_user() within a check to make sure its a CLI script
2012-02-20 10:35:07 +07:00
Sam Hemelryk
908de866bd
Merge branch '22_MDL-31107_fixing_below_typos' of git://github.com/gerrywastaken/moodle into MOODLE_22_STABLE
2012-02-14 15:08:13 +13:00
Sam Hemelryk
8b927cfb8b
Merge branch 'wip-mdl-31576-m22' of git://github.com/rajeshtaneja/moodle into MOODLE_22_STABLE
2012-02-13 15:30:13 +13:00
Gerard (Gerry) Caulfield
23071bd4ab
MDL-31107 Fixing instaces of below where it is written as bellow (two L's)
2012-02-10 15:05:16 +08:00
Rajesh Taneja
2080cbc2eb
MDL-31576 core: Duplicate message definition removed from get_core_subsystem
2012-02-09 17:13:11 +08:00
Aparup Banerjee
822790437e
Merge branch 'MDL-31482-m22' of git://github.com/sammarshallou/moodle into MOODLE_22_STABLE
2012-02-08 09:59:04 +08:00
Eloy Lafuente (stronk7)
c2db2793d2
Merge branch 'MDL-27360-MOODLE_22_STABLE' of git://github.com/mouneyrac/moodle into MOODLE_22_STABLE
2012-02-07 23:49:19 +01:00
sam marshall
e455406b69
MDL-31482 Lib: IE8/IE7 (even with stupid user agent) should not be 'legacy' device type
2012-02-07 17:42:07 +00:00
Jerome Mouneyrac
28a3a568aa
MDL-27360 Web service tokens are displayed for deleted users
2012-02-02 16:23:56 +08:00
Eloy Lafuente (stronk7)
acef9e8a7f
Merge branch 'wip-MDL-31197-m22' of git://github.com/samhemelryk/moodle into MOODLE_22_STABLE
2012-02-01 00:50:38 +01:00
Eloy Lafuente (stronk7)
9e3824a63d
Merge branch 'w04_MDL-31238_m22_php54' of git://github.com/skodak/moodle into MOODLE_22_STABLE
2012-01-24 23:55:36 +01:00
Petr Skoda
5125c0e332
MDL-31202 do not try sending emails to invalid addresses
...
The use of mtrace() in email_to_user() is most probably incorrect, I am going to use it only in CLI scripts (which includes cron). This should not be considered a security issue because we should be already validating emails when accepting them from untrusted users.
2012-01-23 14:24:43 +08:00
Petr Skoda
caa4912f70
MDL-31208 fix obsolete get_record_sql() parameter
...
Credit goes to Rajesh Taneja.
2012-01-21 11:36:52 +01:00
Petr Skoda
057d39bbc1
MDL-31238 always return object for plugin settings from get_config()
...
This prevents multiple creations of objects from NULL which is note a warnings in php54
2012-01-21 11:17:18 +01:00
Sam Hemelryk
135de8d007
MDL-31197 navigation: Fixed issue withing require_login for courses that are hidden or unavailable
2012-01-20 12:51:48 +08:00
Eloy Lafuente (stronk7)
4416991914
MDL-31006 revert partially @ get_config()
...
The change from null to stdClass() in get_config() was leading to:
1) unit tests not passing.
2) non-equivalent evaluation in conditions (null evals false,
stdClassi() evals true)
2012-01-18 02:11:53 +01:00
Petr Skoda
88e2bbae6d
MDL-31006 fix various notices in PHP54
...
PHP54 compatibility
2012-01-18 01:04:45 +01:00
Aparup Banerjee
7b3dae9096
Merge branch 'w03_MDL-21992_m22_customscripts' of https://github.com/skodak/moodle into MOODLE_22_STABLE
2012-01-16 14:48:16 +08:00
Petr Skoda
7e6f69b9af
MDL-31035 fix showuseridentity notice before settings upgrade
2012-01-15 17:13:11 +01:00
Petr Skoda
7991c4c000
MDL-21992 fix custom scripts on https pages and CLI
2012-01-15 16:00:45 +01:00
Sam Hemelryk
5dff4c565f
Merge branch 'w02_MDL-30717_m22_usercreated' of git://github.com/skodak/moodle into MOODLE_22_STABLE
2012-01-09 14:03:00 +13:00
Sam Hemelryk
0ca7b84953
MDL-30928 lib: Fixed whitespace
2012-01-09 13:57:23 +13:00
Petr Skoda
2824832a18
MDL-30717 update user->timemodified in update_user_record()
2012-01-08 15:04:06 +01:00