Petr Škoda
574fcfba8a
MDL-37152 remove bogus $mail->IsSMTP() breaking non-smtp mailing
...
Credit goes to Aurelijus Bruzas, thanks.
2013-01-08 18:03:59 +01:00
Jerome Mouneyrac
ab1623b87b
MDL-36773 timezone inconsistency => some number support decimal other don\'t - Original patch author: Nathan Mares
2012-11-30 10:14:39 +08:00
Petr Škoda
407a7bd6a9
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-09 15:51:07 +02:00
Dan Poltawski
92238a4408
Merge branch 'wip-MDL-35001-MOODLE_22_STABLE' of git://github.com/marinaglancy/moodle into MOODLE_22_STABLE
2012-09-24 10:20:09 +08:00
Marina Glancy
64346429fe
MDL-35001 removed cycle detection from convert_to_array because it causes error in data
2012-09-17 11:26:58 +08:00
Petr Škoda
14e497c06e
MDL-35454 ignore invalid $custombytes in get_max_upload_sizes()
...
This fixes installation and phpunit init regression.
2012-09-17 00:09:19 +02:00
Sam Hemelryk
b7367b9638
Merge branch 'wip-mdl-30667-m22' of git://github.com/rajeshtaneja/moodle into MOODLE_22_STABLE
2012-09-13 11:18:03 +12:00
Dan Poltawski
879c7655f2
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:59 +08:00
Eloy Lafuente (stronk7)
befce5863d
Merge branch 'MDL-29662_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE
2012-09-04 01:14:33 +02:00
Rajesh Taneja
79d375eeba
MDl-30667 Course: Maxbytes list will show current value, if it's lower then maxbytes
2012-09-03 14:45:00 +08:00
Petr Škoda
d6e2946e19
MDL-35145 add extra delete_user() parameter validation
...
We do not want to delete local admins and guest account, we need to validate the supplied parameter is valid $user record and refetch it from database.
2012-09-01 14:23:55 +02:00
Tim Hunt
fe470a231f
MDL-29662 quiz overrides: update dates during course reset.
...
Also, fix duplicate SQL clause in similar code in lib,
and fix error when saving overrides.
2012-08-29 18:43:25 +01:00
Tim Lock
91de7cb26e
MDL-31623 Course: Course reset bypass modules, which are removed
2012-08-24 11:00:16 +08:00
Petr Škoda
adf397d88a
MDL-34901 fix user login times handling
2012-08-21 12:02:48 +08:00
Eloy Lafuente (stronk7)
d60f8ef2db
Merge branch 'MDL-31957-m22' of git://github.com/sammarshallou/moodle into MOODLE_22_STABLE
2012-08-21 01:23:52 +02:00
sam marshall
eaead2aea8
MDL-31957 Course reset: Does not erase activity completion data
2012-08-17 10:41:14 +01:00
Frederic Massart
a356a5f615
MDL-28531 Backup: Automated backups run when they are scheduled
...
Conflicts:
lib/tests/backup_test.php
2012-08-17 14:46:03 +08:00
Eloy Lafuente (stronk7)
8a991d8692
Merge branch 'MDL-34704_22' of git://github.com/timhunt/moodle into MOODLE_22_STABLE
2012-08-08 01:54:12 +02:00
Tim Hunt
45c29ec08d
MDL-34704 couse, accesslib: improve $CFG->courselistshortnames
...
1. get_context_name should respect the $CFG->courselistshortnames
setting.
2. When $CFG->courselistshortnames is on, what to display should use a
language string, rather than string concatenation. This makes it
possible for people to configure the display. For example, they might
want 'My first course [M101]' instead of 'M101 My first course'.
2012-08-03 14:47:37 +01:00
Rajesh Taneja
64171aac70
MDL-30792 Files API: Cleaner approach to get maxbytes size in filepicker
2012-08-03 11:47:44 +08:00
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