73 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
11182e2eb1 Merge branch 'w42_MDL-42224_m26_msgredir' of https://github.com/skodak/moodle 2013-10-16 01:23:01 +02:00
Eloy Lafuente (stronk7)
9bb34fb781 Merge branch 'MDL-42226_master' of https://github.com/markn86/moodle 2013-10-15 02:09:11 +02:00
Mark Nelson
61f039ce4b MDL-42225 badges: retrieve all the name fields when viewing the recipient list 2013-10-14 12:01:20 +08:00
Mark Nelson
5241526d20 MDL-42226 badges: retrieve all the name fields when viewing an issued badge 2013-10-14 11:59:41 +08:00
Petr Škoda
f007e89961 MDL-42224 clean up message and email redirection testing 2013-10-12 13:59:07 +02:00
Sam Hemelryk
5624b054d4 MDL-42072 badges: fixed cookie use 2013-10-11 13:49:02 +13:00
Damyon Wiese
4600853128 Merge branch 'MDL-41659_master' of https://github.com/totara/openbadges 2013-10-09 13:30:40 +08:00
Sam Hemelryk
6ac0b01175 Merge branch 'MDL-42072_master' of https://github.com/totara/openbadges
Conflicts:
	badges/assertion.php
2013-10-07 15:40:48 +13:00
Yuliya Bozhko
5dcda2f871 MDL-41659 badges: Display course/site names through format_string() 2013-10-02 08:58:02 +13:00
Yuliya Bozhko
f85ce0d900 MDL-42072 badges: Fix output and headers in badges ajax scripts 2013-10-01 16:50:54 +13:00
Sam Hemelryk
7da590c11b Merge branch 'MDL-40572_master' of https://github.com/totara/openbadges 2013-10-01 11:05:59 +13:00
Sam Hemelryk
e50df55c91 Merge branch 'MDL-40848_master' of git://github.com/totara/openbadges
Conflicts:
	theme/base/style/core.css
	theme/bootstrapbase/less/moodle/core.less
	theme/bootstrapbase/style/moodle.css
2013-09-25 16:27:09 +12:00
Marina Glancy
0aab5cbc59 Merge branch 'MDL-40550_master' of https://github.com/totara/openbadges 2013-09-24 21:42:20 +10:00
Yuliya
853e506a1b MDL-40572 badges: Update badge assertion to use new specification 2013-09-24 12:29:54 +12:00
Petr Škoda
d79d5ac276 MDL-31501 rework user session architecture
List of changes:
 * New OOP API using PHP namespace \core\session\.
 * All handlers now update the sessions table consistently.
 * Experimental DB session support in Oracle.
 * Full support for session file handler (filesystem locking required).
 * New option for alternative session directory.
 * Official memcached session handler support.
 * Workaround for memcached version with non-functional gc.
 * Improved security - forced session id regeneration.
 * Improved compatibility with recent PHP releases.
 * Fixed borked CSS during install in debug mode.
 * Switched to file based sessions in new installs.
 * DB session setting disappears if DB does not support sessions.
 * DB session setting disappears if session handler specified in config.php.
 * Fast purging of sessions used in request only.
 * No legacy distinction -  file, database and memcached support the same functionality.
 * Session handler name included in performance info.
 * Fixed user_loggedin and user_loggedout event triggering.
 * Other minor bugfixing and improvements.
 * Fixed database session segfault if MUC disposed before $DB.

Limitations:
 * Session access time is now updated right after session start.
 * Support for $CFG->sessionlockloggedinonly was removed.
 * First request does not update userid in sessions table.
 * The timeouts may break badly if server hosting forces PHP.ini session settings.
 * The session GC is a lot slower, we do not rely on external session timeouts.
 * There cannot be any hooks triggered at the session write time.
 * File and memcached handlers do not support session lock acquire timeouts.
 * Some low level PHP session functions can not be used directly in Moodle code.
2013-09-21 13:11:56 +02:00
Simon Coggins
f6ebcd34f2 MDL-40848 badges: Validate backpack connection via Persona
Instead of trusting that the user owns the email address they
supply, we now require them to login via Persona before
connecting them to the backpack
2013-09-16 20:15:32 +12:00
Yuliya Bozhko
4d7d17ddcc MDL-40550 badges: Change wording of badge activation message
Add confirmation check when activating badge from management page
2013-09-16 15:37:00 +12:00
Sam Hemelryk
efc2c51712 Merge branch 'MDL-41637_master' of https://github.com/totara/openbadges 2013-09-16 13:51:12 +12:00
Sam Hemelryk
c4f5f0ee59 Merge branch 'MDL-40471_master' of https://github.com/totara/openbadges 2013-09-11 08:42:37 +12:00
Yuliya Bozhko
4c3f809b21 MDL-41637 badges: Update modules ids retrieval 2013-09-09 11:55:47 +12:00
Mark Nelson
1eee7ee3a0 MDL-40924 badges: added a print_error call to prevent PHP notices when no badges are found 2013-09-05 10:05:37 +08:00
Yuliya Bozhko
a72c2cd681 MDL-40471 badges: Fixes around badge capabilities and navigation 2013-09-04 11:03:35 +12:00
Rajesh Taneja
bb78e249cd MDL-39961 Events: Replace Legacy events - User
This change includes:
* Added user_updated event, replacing old event
* Added user_created event, replacing old event
* Added user_deleted event, replacing old event
* Added user_loggedout event, replacing old event
* Added user_enrolment_created event, replacing old event
* Added user_enrolment_deleted event, replacing old event
* Added user_enrolment_updated event, replacing old event
2013-09-02 16:10:05 +08:00
Yuliya Bozhko
737a352ff8 MDL-40712 badges: Display recipient information 2013-09-02 13:43:51 +08:00
Yuliya Bozhko
2d3c0faef1 MDL-40924 badges: Add caching to external badges 2013-09-02 13:40:41 +08:00
Dan Poltawski
144f35d9a2 Merge branch 'MDL-41136-master' of git://github.com/FMCorz/moodle 2013-08-20 17:51:18 +08:00
Rajesh Taneja
1cb1e5fe32 MDL-39955 completion: Added unittest for course_completed event 2013-08-13 09:43:38 +08:00
Rajesh Taneja
06f8ea7bf4 MDL-39955 completion: Added course_completed event 2013-08-13 09:43:38 +08:00
Frederic Massart
fe5204f92c MDL-41136 badges: Prevent extra loading due to unnecessary includes 2013-08-12 13:31:21 +08:00
Rajesh Taneja
cdc541990e MDL-39955 completion: Added unittest for course_module_completion_updated event 2013-08-09 17:06:12 +08:00
Rajesh Taneja
137d94f335 MDL-39955 completion: Added course_module_completion_updated event
Conflicts:

	lib/tests/completionlib_advanced_test.php
2013-08-09 17:04:34 +08:00
Petr Škoda
8252b7c291 MDL-40901 standardise core test case class and file names
This finally allows us to type only the class name when executing individual core test cases.
2013-08-04 22:10:31 +02:00
Sam Hemelryk
6cef3dfe8e Merge branch 'MDL-39461_dev' of https://github.com/totara/openbadges 2013-07-30 08:59:58 +12:00
Yuliya Bozhko
3752d8236d MDL-39461 badges: Fix cURL expectation failed error when trying to connect to backpack 2013-07-23 08:21:04 +12:00
Dan Poltawski
27e2400782 Merge branch 'MDL-38837_dev' of https://github.com/totara/openbadges 2013-07-22 15:01:26 +08:00
Yuliya Bozhko
2c9108611d MDL-38837 badges: Check for http or https in badges backpack support 2013-07-18 13:38:18 +12:00
Eloy Lafuente (stronk7)
e780e5cb8f Merge branch 'MDL-40112_master' of https://github.com/totara/openbadges
Conflicts:
	lib/db/upgrade.php
	version.php
2013-07-16 01:29:01 +02:00
Damyon Wiese
a6673a8b04 Merge branch 'MDL-40369-master' of git://github.com/FMCorz/moodle 2013-07-09 15:28:31 +08:00
Yuliya Bozhko
e50220f840 MDL-40112 badges: Drop unused image field from badge table 2013-07-05 09:18:59 +12:00
Frederic Massart
a8dd22a7d7 MDL-40369 theme: Fix core using deprecated icons 2013-07-03 16:47:35 +08:00
Yuliya Bozhko
19a9f2eada MDL-39986 badges: Show badge navigation to users with awardbadge capability
Also fixes an arror when a user with this capability tries to award a badge,
but their role is not among the criteria set up for a badge
2013-07-03 13:13:55 +08:00
Yuliya Bozhko
111c5fd93f MDL-40022 badges: Fix missing calls to setType in course criteria settings 2013-06-18 11:38:22 +12:00
Damyon Wiese
826cf99fb8 Merge branch 'MDL-39189_master' of git://github.com/totara/openbadges 2013-05-13 15:10:49 +08:00
Damyon Wiese
a02e36d682 Merge branch 'MDL-39209_master' of git://github.com/totara/openbadges 2013-05-13 14:59:37 +08:00
Yuliya Bozhko
85d7399e20 MDL-39209 badges: Fix course badges page access and navigation when course badges are disabled 2013-05-10 08:41:22 +12:00
Yuliya Bozhko
71fd443b34 MDL-39189 badges: Allow users with multiple roles choose their role when awarding a badge 2013-05-10 08:33:45 +12:00
Eloy Lafuente (stronk7)
474e0d3cd2 Merge branch 'MDL-39397_master' of git://github.com/totara/openbadges 2013-05-09 00:20:06 +02:00
Yuliya Bozhko
7deff81f80 MDL-39397 badges: Handle course badges when course is deleted 2013-05-08 16:12:44 +12:00
Eloy Lafuente (stronk7)
ddb8041433 MDL-39538 take rid of unused global 2013-05-07 21:43:06 +02:00
Eloy Lafuente (stronk7)
5304ded836 Merge branch 'wip-MDL-39538-master' of git://github.com/marinaglancy/moodle 2013-05-07 21:38:24 +02:00