Eloy Lafuente (stronk7)
5669b28d59
Merge branch 'MDL-33326' of git://github.com/stronk7/moodle
2012-06-01 00:58:08 +02:00
Dan Poltawski
c9bd018825
Merge branch 'MDL-33434' of git://github.com/stronk7/moodle
2012-05-31 16:59:23 +08:00
Frederic Massart
ccc604a24d
MDL-33398 Cron: fix wrong variable type in completion criterias
2012-05-31 12:50:38 +08:00
Jerome Mouneyrac
93ce0e8296
MDL-32581 support additional format field with all text field in extrnal lib function + new possible ws params to decide how format is returned (which are stored in a singleton)
2012-05-31 12:31:27 +08:00
Eloy Lafuente (stronk7)
a3fa993212
MDL-33434 mssql: Improve handling of returned ids on insert.
...
This commit moves from the batch SCOPE_IDENTITY() way to return
the inserted ids to the OUTPUT alternative (supported and
recommended since 2005). Also the handling of possible return
values is improved, with all the alternatives leading to expected results.
2012-05-31 01:01:14 +02:00
Eloy Lafuente (stronk7)
cbdcdd4734
MDL-33434 dml: define expected results when unique constraint is violated on insert.
2012-05-31 01:00:07 +02:00
Dan Poltawski
4560fd1b66
MDL-29857 - google apis: Convert to OAuth 2.0
...
Updated the various plugins to use OAuth 2.0 for authentication
against google apis. Google are phasing out AuthSub and pushing OAuth as
the replacement.
This changes repository_googledocs, repository_picasa,
portfolio_googledocs and portfolio_picasa
The token for requests is now stored in session rather than a user
prefence and it persists less but doesn't bother the user more than
necessary.
The google docs portfolio plugin is converted to use resumable upload
API as this appears to be what Google have replaced this with.
Unfortunately unlike authsub OAuth will require some setup by admins,
this is linked as a docs page.
2012-05-31 00:00:25 +08:00
Dan Poltawski
469fb5d672
MDL-29857 - lib: Add an OAuth 2.0 client
...
A generic OAuth 2.0 for the web application flow, tested against
microsoft and google apis.
Added a callback endpoint for requests so that clients can use a single
endpoint (without GET params). I put this in /admin/ as I expect some
sites will have .htaccess denying access to /lib/.
2012-05-31 00:00:23 +08:00
Aparup Banerjee
1adb060a87
Merge branch 'MDL-32329-all-plugins-ok' of git://github.com/mudrd8mz/moodle
2012-05-30 16:48:23 +08:00
David Mudrak
3a2300f552
MDL-32329 new plugininfo_base::is_core_dependency_satisfied() method
...
The method's logic was previously implemented in all_plugins_ok() but we
will need to call it separately. Also make the code cleaner.
2012-05-30 10:35:28 +02:00
David Mudrak
927cb51166
MDL-32329 plugin manager returns plugins with unsatisfied dependencies
2012-05-30 10:35:28 +02:00
Aparup Banerjee
e4b5455738
Merge branch 'MDL-33184-master' of https://github.com/FMCorz/moodle
2012-05-30 15:18:59 +08:00
Dan Poltawski
7fd264b0d1
Merge branch 'MDL-33398b' of git://github.com/srynot4sale/moodle
2012-05-30 11:35:56 +08:00
Frederic Massart
322945e9ca
MDL-33184 Filepicker: rephrased drag and drop sentence
2012-05-30 10:05:10 +08:00
Aaron Barnes
28e0c239ec
MDL-33398 completion: Fix coding error (should be arrays not objects)
2012-05-30 13:27:51 +12:00
Eloy Lafuente (stronk7)
294d976e28
MDL-33326 filestorage tests: Coding style fixes
2012-05-30 02:26:57 +02:00
Dan Poltawski
996f8b6442
MDL-33326 filestorage tests: Add more coverage
2012-05-30 02:26:46 +02:00
Dan Poltawski
7c89a18fca
MDL-33326 filestorage tests: Actually verify results
...
Rather than the placeholder tests which were added before to trigger
DB incompatibilities
2012-05-30 02:26:36 +02:00
Andrew Davis
eb9f06f9c1
MDL-29173 grade: altered the definiton of round() in /lib/evalmath/evalmath.class.php
2012-05-29 16:38:42 +07:00
Aparup Banerjee
95a8956884
Merge branch 'w22_MDL-33089_m23_phpunitrecover' of git://github.com/skodak/moodle
2012-05-29 16:31:26 +08:00
Dan Poltawski
0ed8a933d6
Merge branch 'MDL-33212-master' of git://github.com/sammarshallou/moodle
2012-05-29 15:08:46 +08:00
Dan Poltawski
9856d05c26
Merge branch 'MDL-33378-tiff-thumb' of git://github.com/mudrd8mz/moodle
2012-05-29 15:00:21 +08:00
Dan Poltawski
fa31bfc181
Merge branch 'wip-MDL-33026-master' of git://github.com/marinaglancy/moodle
2012-05-29 14:58:31 +08:00
Dan Poltawski
e73b42ca57
Merge branch 'wip-MDL-33399-m23' of git://github.com/samhemelryk/moodle
2012-05-29 14:57:05 +08:00
Sam Hemelryk
849b9a6af7
MDL-33399 mixed: Fixed up calls to get_area_files that used empty sorts
2012-05-29 16:44:28 +12:00
Sam Hemelryk
9f4789b842
MDL-33399 files: Fixed up handling of empty sort in File API methods.
...
The following three methods of file_storage have been patched:
* get_external_files
* get_area_files
* get_directory_files
2012-05-29 16:38:47 +12:00
Dan Poltawski
f40f6c14b1
MDL-32221 - googledocs: Add support for all file types.
...
Now google supports 'file' as well as converted formats.
2012-05-29 10:13:21 +08:00
Dan Poltawski
9b27ffa042
MDL-29857 - portfolio: Fix E_STRICT errors
2012-05-29 10:13:20 +08:00
Sam Hemelryk
e6f5528585
MDL-28949 upgrade: Split course completion upgrade into smaller chunks
2012-05-29 08:50:45 +12:00
Sam Hemelryk
bd633dda9a
Merge branch 'MDL-28949d' of git://github.com/srynot4sale/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-05-29 08:49:29 +12:00
Eloy Lafuente (stronk7)
b3520a4ae7
Merge branch 'MDL-33359' of git://github.com/danpoltawski/moodle
2012-05-28 21:25:01 +02:00
sam marshall
540f89d7d4
MDL-33212 Course page: Eye icon should override other conditions
2012-05-28 16:17:39 +01:00
David Mudrak
77a439336f
MDL-33378 file thumbnail falls back to the default mimetype icon
...
If for some reason the thumbnail generation fails, the default core
mimetype icon for the given file is sent to the browser.
2012-05-28 12:19:05 +02:00
Marina Glancy
140669a9dd
MDL-33026 set default author and license in drag-n-drop upload
2012-05-28 17:05:25 +08:00
Dan Poltawski
6bea694b6c
Revert "MDL-33212 Course page: Eye icon should override other conditions"
...
This reverts commit 5d0d373733
.
2012-05-28 16:57:41 +08:00
Petr Skoda
b7c5627f5b
MDL-33089 flag test database as soon as possible in PHPUnit init
2012-05-28 10:10:32 +02:00
Petr Skoda
17b60e9d98
MDL-33089 detect more problems when initialising PHPUnit test environment
2012-05-28 10:10:32 +02:00
Dan Poltawski
f18dd15d3e
Merge branch 'wip-MDL-33321-master' of git://github.com/kwiliarty/moodle
2012-05-28 16:10:16 +08:00
Dan Poltawski
da5cd8cee8
Merge branch 'MDL-33212-master' of git://github.com/sammarshallou/moodle
2012-05-28 16:03:03 +08:00
Dan Poltawski
995e479067
Merge branch 'wip-MDL-33338-master' of git://github.com/marinaglancy/moodle
2012-05-28 15:43:33 +08:00
Marina Glancy
4c2fcbfc85
MDL-33338 recognising the mimetype for uploaded files
...
- when file is uploaded in php, the tmpname does not have initial extension and mimetype recognition by extension fails
- another issue is that import form for questions fails with fatal error when it should just say that field is required
2012-05-28 15:19:41 +08:00
Dan Poltawski
3f1bca9d56
Merge branch 'master_MDL-27368' of git://github.com/danmarsden/moodle
...
Conflicts:
version.php
lib/db/upgrade.php
2012-05-28 14:32:16 +08:00
Sam Hemelryk
bdb315cca2
Merge branch 'w21_MDL-32972_m23_avatargifs' of git://github.com/skodak/moodle
2012-05-28 17:05:10 +12:00
Sam Hemelryk
c67b08828c
MDL-18763 Fixed up typo in comments of new pic size
2012-05-28 16:52:53 +12:00
Sam Hemelryk
a2aba3f612
Merge branch 'w21_MDL-18763_m23_avatar512' of git://github.com/skodak/moodle
2012-05-28 16:50:46 +12:00
Rossiani Wijaya
8d5745fa92
MDL-32766: course view section log: fixed typo for course_sections table
...
Conflicts:
version.php
2012-05-28 16:46:29 +12:00
Dan Poltawski
287451dcd4
Revert "MDL-29173 grade: altered the definiton of round() in /lib/evalmath/evalmath.class.php"
...
Breaking unit tests.
This reverts commit 4be0947bbe
.
2012-05-28 12:37:50 +08:00
Dan Poltawski
83ae05f620
Merge branch 'MDL-29173_calc' of git://github.com/andyjdavis/moodle
2012-05-28 12:16:12 +08:00
Aaron Barnes
424a19b106
MDL-28949 course completion: Database structure fixes
2012-05-28 16:13:25 +12:00
Marina Glancy
5e11746696
MDL-33218 fixing filemanager/filepicker look in IE
...
now all YUI dialogues are under the div with id #filesskin. This way we can avoid using !important in CSS and use #filesskin instead. It will have priority over YUI skin in all browswers including IE (!important does not work in IE).
Conflicts:
files/renderer.php
theme/base/style/filemanager.css
2012-05-28 11:54:33 +08:00