- 21 Apr, 2016 2 commits
-
-
Robert Lyon authored
1) Allowing $CFG to accept json encoded strings and to be decoded back to php 2) Making the $cfg->openbadgedisplayer_source a json encoded string 3) Allowing the openbadges have the defaults only on one place and warn when they are missing behatnotneeded Change-Id: Ica0349d6343d9f608b2272117d7412b288799278 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Liam Sharpe authored
behatnotneeded Change-Id: I7f4f040abb6e9989eac6077ed28f946c44813927
-
- 18 Apr, 2016 7 commits
-
-
- Fixed 'Remove' button for existing attachments - Fixed reloading of modal popup for 'Add a file' if form reloads with error behatnotneeded Change-Id: Ib68e6a33beb6f85701281fcdf337fafd079c9528
-
behatnotneeded Change-Id: Ic839970344a7b09d742f3f609ef2a80e6ea500af
-
Aaron Wells authored
Bug 1570744: Accidentally used set_cookie() instead of setcookie(). This makes the cookie break if you use the $cfg->cookieprefix setting. behatnotneeded: Covered by existing tests Change-Id: Idec3676222e3ff4eb22f7925de6bec10cfa35755
-
Make it clearer that changes are saved automatically and shorten 2nd sentence. behatnotneeded Change-Id: I875afae34d950e77e43bf3b4ece895d42c23e1ec
-
Aaron Wells authored
We have existing code that tries to regenerate your session ID when you log in. But it stopped working in PHP 15.04 because the session has usually been closed when it gets called. Change-Id: I5f99cdf355892040866bb0113fd934e3d37bf33c behatnotneeded: Can't be tested by behat
-
Aaron Wells authored
This patch does 2 things: 1. It loads the session much earlier during init.php. We wind up creating one on *every* script load anyway, due to LiveUser's constructor. Sometimes it gets created earlier if other code tries to use it before then, which adds some unpredictability to things. Moving it up to the top of init.php reduces that unpredictability. 2. It turns out that in PHP 5.3, using header_remove('Set-Cookie') to only doesn't remove session headers. But header_remove() (with no params) to remove *all* cookies does remove them. So I'm changing remove_duplicate_cookies() to use that instead. 3. Also in PHP 5.3, session headers are visible in headers_list(). In situations where your session id changes (due to session_destroy() and session_regenerate_id()), our use of array_unique() meant we would preserve the old and new session IDs and send both back to the browser. This patch makes remove_duplicate_cookies() aware of the current session ID, and it only preserves that one. Change-Id: I7a90b8692a5f97429415aa9a17451a44cd2109dd behatnotneeded: Covered by existing tests
-
Aaron Wells authored
Need to give the browser a chance to proceed, in case the popup makes the page reload. Change-Id: I271a00e38be3cb65f236f6aa46f20a14105ca230
-
- 17 Apr, 2016 1 commit
-
-
Tobias Zeuch authored
Bug 1571421: In the exists-subquery the join-condition contains a reference to an outer table alias, which is not supported in MySql (though it seems to work in Postgres). This leads to a "site unavailable" e.g. when searching on the "shared with me" page. The solution is to move the condition into the WHERE-part. This might actually improve performance because it allows the database engine to precalculate the join one single time and reuse it for each Exists-subquery behatnotneeded Change-Id: I5097154d939bf7ddba01d5845af7e8cbb42681b8 Signed-off-by:
Tobias Zeuch <tobias.zeuch@rwth-aachen.de>
-
- 15 Apr, 2016 1 commit
-
-
behatnotneeded Change-Id: I15041cdfbaf3f8cd3519794dd1102928201c7551
-
- 14 Apr, 2016 2 commits
-
-
Both from the block config and the extensions -> plugin config behatnotneeded Change-Id: I91413422b0416683898d9742f00936a806ea723e signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Liam Sharpe authored
behatnotneeded Change-Id: I19e0890d0129f5e77cc2f73bfc65a4d3e9c16ce1
-
- 13 Apr, 2016 1 commit
-
-
Liam Sharpe authored
behatnotneeded Change-Id: I10dc5393b078efa3661d710809cdadf9721c0f43
-
- 12 Apr, 2016 1 commit
-
-
Aaron Wells authored
This setting kills your Mahara session whenever you navigate to Mahara from a link or redirect on another page. This totally prevents SAML and other redirect-based auth methods from working, makes it annoying to use links in email, and while it is mentioned on the PHP manual's "Securing Sessions" page, it's only recommended there if you also have "session.use_trans_id" enabled, which we do not. Change-Id: I8b3b14bae8043c5004cc8f36766f2db9422eac1c behatnotneeded: Can't be tested by behat
-
- 11 Apr, 2016 2 commits
-
-
Robert Lyon authored
And not record the constraint also behatnotneeded - existing tests will do Change-Id: Ia0ec5c9d6c99d2560bb5186b905e98ec47f04407 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
behatnotneeded Change-Id: Id81a439cf2166ed04663099331540e579feec13c Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 07 Apr, 2016 1 commit
-
-
Allowing the select button to appear on group/institution places behatnotneeded Change-Id: Ie58ff61b915753c2de5e9f60cf8d17b345b0b6e4
-
- 06 Apr, 2016 1 commit
-
-
Robert Lyon authored
In other places we check the LOWER(username) but for some reason in find_by_username() we don't. We should do it here as well for consistency. behatnotneeded Change-Id: Ie692aeace0c8aa2f6989683e094ac6625f153b98 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 05 Apr, 2016 2 commits
-
-
Kristina Hoeppner authored
Making all elements named "tags" use ANY.tags.html by default. Also add a tag help file when viewing a note under "Content" -> "Notes" and for "Plans" and "Tasks" under "Plans". behatnotneeded Change-Id: Ib71b04d65507cc3b2c38ac9db87db2727521cb82
-
Aaron Wells authored
Bug 1566127 Change-Id: I8e249a93fbff7c3bf914099e53f1f29068a36a15 behatnotneeded: Covered by existing tests
-
- 04 Apr, 2016 2 commits
-
-
Pat Kira authored
behatnotneeded Change-Id: I2525b475e8857f8e5f56d3e84759fcf56093f5c5
-
behatnotneeded Change-Id: Id08d4da5523f57b296d6135e521526e3c7c6faf0
-
- 01 Apr, 2016 2 commits
-
-
Robert Lyon authored
Change-Id: Iaf073a9271ccd2402934dd25338600330dbce960 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
To avoid not including artefact/lib.php behatnotneeded Change-Id: I1f675ab6f42f638d18e448e8a841e3bc59259399 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 31 Mar, 2016 15 commits
-
-
behatnotneeded Change-Id: I2484ca19a56ebf2e25345f86f596e7cc7c41c093 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
1) Moving the template files to correct theme/raw/plugintype subdir 2) Removing the old thumb image 3) Removing the non english translation files - they should be translated as part of the lang pack 4) Adding a basic behat test 5) Adding some warning styles to messages where there are no badges to choose from Change-Id: I897f02bc233879296f3156cd282d84a61fc1df45 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
behatnotneeded Change-Id: I82dcce85a26722d6466b87e2b039bac28710ee6c
-
TODO: Currently a DB constraint on our mimetypes table prevents us from having two file suffixes mapped to the same mimetype, which means we can either support .ogg or .oga files, but not both. Since .oga files are already in our table, I'm going with that for now. behatnotneeded Change-Id: Ie364b111f7b4dc956712b179fefca6e76b23d5e9
-
Aaron Wells authored
Bug 1397131: iOS needs byte ranges for media files. We have some very old code that prohibits byte ranges when cacheing is disabled, which in turn is inherited from some very old code in Moodle. But it doesn't appear to be actually necessary to *ever* prohibit byte ranges. behatnotneeded: Can't be tested in Behat Change-Id: Id3bba20305204f87cee50ec664893f53cfb2337e
-
Aaron Wells authored
Bug 1397131 behatnotneeded Change-Id: I90381d94eae44abae300082a77277b0f5b045f7d
-
Aaron Wells authored
Bug 1397131: Some of the old code here is preventing videojs from working correctly. behatnotneeded Change-Id: Id3d24fdffc4d254019ce0b991d3865b15bec0d74
-
behatnotneeded Change-Id: Ia4f0652fbfb96f6154e7f29747f181f682523688
-
Replace flow_player by html5_player behatnotneeded Change-Id: If067e9723857d5c596a30a52752d44a3c05040a2
-
1. Move style.css to htdocs/theme/raw/plugintype/blocktype/openbadgedisplayer/style 2. Move js code from tpl to a js file htdocs/blocktype/openbadgedisplayer/js/showdetails.js behatnotneeded Change-Id: I21f18e44581d11652553334760bdc1e6a3e5b206
-
behatnotneeded Change-Id: I4205f8fa54fbd50a43b8cd649ad34a82ddc1c1c1
-
Allow loading openbadgedisplayer block via ajax. Dynamically load badge groups from sources. Cache badge details in database for one day if $fromcache is true. behatnotneeded Change-Id: I36c8054fd6daf7ca1fcf1fe3a22672c9eb009c6e
-
behatnotneeded Change-Id: Ie42a7892aa759e8a3af6486dbb8f3506b71efcc0
-
behatnotneeded Change-Id: I45e62490cf284743b758e847e95991cc56855ead
-
behatnotneeded Change-Id: I2bf98999f352747ecc5e16b5dbee34565f058573
-