Commit graph

1721 commits

Author SHA1 Message Date
Petr Skoda
51b7297b7e MDL-32586 silence buggy glibc when fixing utf-8 strings 2012-04-27 13:41:12 +02:00
Dan Poltawski
f488088109 Merge branch 'w17_MDL-32569_m23_phpunit5' of git://github.com/skodak/moodle 2012-04-23 11:21:06 +08:00
Petr Skoda
bc5c10f69e MDL-32575 import latest Typo3 libs for textlib and other improvements
Includes new textlib reset, new test for faulty integer lower/upper casing.
2012-04-21 21:31:03 +02:00
Petr Skoda
4ca04fb58b MDL-32569 remove remaining references to simpletest and improve events test 2012-04-21 17:08:30 +02:00
Petr Skoda
d7b44d5e95 MDL-32377 do not rewrite on-disk string cache when double checking if string really does not exist in get_string()
This should help with performance on production sites and may indirectly resolve race condition problems in MDL-31904.
2012-04-16 23:58:50 +02:00
Petr Skoda
ea7d4b0972 MDL-32377 do not store incomplete component strings without local packs in on-disk string cache 2012-04-16 23:55:35 +02:00
Petr Skoda
0c5406ca93 MDL-32293 move the upgrade_set_timeout() function to lib/upgradelib.php
Credit goes to Eloy Lafuente.
2012-04-09 18:14:27 +02:00
Dan Poltawski
a973d320f1 Merge branch 'MDL-20438-update-notification' of git://github.com/mudrd8mz/moodle 2012-04-04 11:17:43 +08:00
Eloy Lafuente (stronk7)
2000cd85da Merge branch 'w14_MDL-32149_m23_phpunit2' of git://github.com/skodak/moodle 2012-04-04 01:32:15 +02:00
Eloy Lafuente (stronk7)
eeb3295fd8 Merge branch 'wip-MDL-32265-m23' of git://github.com/samhemelryk/moodle 2012-04-03 23:59:07 +02:00
Eloy Lafuente (stronk7)
6643e10f39 Merge branch 'wip-MDL-29678-m23' of git://github.com/samhemelryk/moodle 2012-04-03 23:52:10 +02:00
Petr Skoda
a3d5830a0a MDL-32149 PHPUnit test support - part 2
Includes:
* constants refactoring
* reworked db table init
* support for $CFG->debug = -1
* functional DB tests
* fixed $DB->get_indexes() to not throw exceptions when table does not exist
* fix handling of user passwords in test db
* add debug info to exception messages
* removed unnecessary PHP debug errors from mathslib
* fixed @error suppression in get_string
* fixed PHPUnit error handler setup
* added timezone info to default install
2012-04-03 22:30:53 +02:00
Aparup Banerjee
c82745d016 Merge branch 'wip-MDL-30784-master' of git://github.com/phalacee/moodle 2012-04-03 17:00:47 +08:00
Aparup Banerjee
82d5042a73 Merge branch 'wip-MDL-31789-master' of git://github.com/marinaglancy/moodle 2012-04-03 16:31:53 +08:00
Eloy Lafuente (stronk7)
39b90b5152 MDL-30981 Upgrade API: Added related phpdocs 2012-04-02 00:40:13 +02:00
David Mudrak
9c26cf7060 MDL-20438 New moodle_major_version() function
We will need to know our major version to fetch the relevant data from remote
servers. This patch also fixes yet another place where the version used
to be hard-coded.
2012-03-30 11:05:40 +02:00
Marina Glancy
b2cb00c2e9 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-30 08:27:53 +08:00
Jason Fowler
27c3b8d8c7 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:16:38 +08:00
Sam Hemelryk
aa4a6566a5 MDL-29678 lib: Require login now overrides to false for AJAX scripts 2012-03-30 10:23:46 +13:00
Sam Hemelryk
dd57a4de08 MDL-32265 moodlelib: Improved performance of moodle_needs_upgrading 2012-03-30 10:19:12 +13:00
Sam Hemelryk
a7cd1f5a53 Merge branch 'MDL-22510-master' of git://github.com/ankitagarwal/moodle 2012-03-27 11:03:19 +13:00
Sam Hemelryk
5dc1a544ea Merge branch 'MDL-11378-master-2' of git://git.luns.net.uk/moodle 2012-03-27 10:05:43 +13:00
Ankit Agarwal
af572078cf MDL-22510 libraries: Set wantsurl only when $setwantsurltome is set in
require_login
2012-03-23 14:40:35 +08:00
Ruslan Kabalin
70ad827c6c MDL-11378 Add SMTP security protocol setting to email configuration 2012-03-22 15:29:17 +00:00
Sam Hemelryk
3222f6eca1 Merge branch 'w12_MDL-31857_m23_phpunit' of git://github.com/skodak/moodle 2012-03-22 10:44:04 +13:00
Petr Skoda
5bd4040866 MDL-31857basic phpunit support
Thanks Eloy Lafuente, Tim Hunt and Sam Hemelryk for valuable feedback and ideas.
2012-03-21 10:31:37 +01:00
Petr Skoda
2e15b12b81 MDL-32045 allow unenrolment of users without role via course reset 2012-03-16 10:55:30 +01:00
Eloy Lafuente (stronk7)
b39877ef10 Merge branch 'w11_MDL-31790_m23_resetunenrol' of git://github.com/skodak/moodle 2012-03-13 18:13:52 +01:00
Eloy Lafuente (stronk7)
45c41bdc06 Merge branch 'w11_MDL-31718_m23_shortentext' of git://github.com/skodak/moodle 2012-03-13 12:51:41 +01:00
Petr Skoda
5b8a9d1329 MDL-31790 prevent removing of protected role assignments from subcontexts 2012-03-13 12:30:13 +01:00
Petr Skoda
e235f2a36e MDL-31718 utf-8 support in shorten_text() 2012-03-11 21:31:33 +01:00
Petr Skoda
dcc27dd143 MDL-31790 add more support for user unenrolments in course reset 2012-03-10 15:25:53 +01:00
Petr Skoda
3d951178fc MDL-31815 encode dots in confirm url which helps email clients with url highlighting 2012-03-10 10:46:36 +01:00
Eloy Lafuente (stronk7)
e45cad3e5e Merge branch 'wip-MDL-31248-master-v3' of git://github.com/abgreeve/moodle 2012-03-09 09:44:30 +01:00
Eloy Lafuente (stronk7)
a0808e8eda Revert "MDL-31248 - lib - Alteration to the rc4encrypt function to allow for old password use."
This reverts commit 6aa13eb36b.
2012-03-09 09:37:06 +01:00
Adrian Greeve
40fe364713 MDL-31248 - lib - Retaining the old password key and creating a new cookie prefix. 2012-03-09 13:38:51 +08:00
Eloy Lafuente (stronk7)
2583b7d22f Merge branch 'wip-MDL-31248-master-v2' of git://github.com/abgreeve/moodle 2012-03-08 02:27:55 +01:00
Adrian Greeve
6aa13eb36b MDL-31248 - lib - Alteration to the rc4encrypt function to allow for old password use. 2012-03-08 08:09:39 +08:00
Sam Hemelryk
c607258ae4 Merge branch 'MDL-28387-master' of git://github.com/ankitagarwal/moodle 2012-03-07 11:46:42 +13:00
Petr Skoda
6f3451e540 MDL-31301 remove all uses of moodle_strtolower() and deprecated it 2012-03-03 11:46:26 +01:00
Petr Skoda
f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Ankit Agarwal
20a2f7596c MDL-28387 logs: Log data when a user is deleted 2012-02-29 14:15:59 +08:00
Eloy Lafuente (stronk7)
dde82858b8 Merge branch 'w09_MDL-30964_m23_access' of git://github.com/skodak/moodle 2012-02-28 12:44:03 +01:00
Aparup Banerjee
20a903c34f Merge branch 'MDL-31335_mtrace_email' of git://github.com/andyjdavis/moodle 2012-02-28 14:15:28 +08:00
Petr Skoda
f76249cc25 MDL30964 fix core_access API docs 2012-02-27 07:19:03 +01:00
Sam Hemelryk
26aca872ca Merge branch 'm_MDL-30988_adding_preference_api_phpdocs' of git://github.com/gerrywastaken/moodle 2012-02-21 11:59:48 +13:00
Andrew Davis
fc28177f4d 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:30:02 +07:00
sam marshall
d9498b3805 MDL-31514 Lib: Time format to remove unwanted zeros caused errors on Windows servers 2012-02-17 10:33:07 +00:00
Gerard (Gerry) Caulfield
4d6b40a020 Updating phpdoc comments to Rajesh's specifications. 2012-02-15 11:07:38 +08:00
Sam Hemelryk
24768e4658 Merge branch 'm_MDL-31107_fixing_below_typos' of git://github.com/gerrywastaken/moodle 2012-02-14 15:07:57 +13:00