46515 Commits

Author SHA1 Message Date
Dan Poltawski
15217303ae blocks/rss_client MDL-25869 Prevent sharing id
The form was generating an element id of "header", causing theme
breakage
2011-01-08 00:17:33 +00:00
David Mudrak
5c0d03ea1c MDL-25886 method to convert aliased fields returned by user_picture::fields() back to unaliased form
The new public static method user_picture::unalias() picks the user
picture fields from the given record and maps the properties back to
unaliased form so that the result can be rendered.
Also fixes a forgotten bug in previous commit and adds a unit test for
both aliasing and unaliasing.
2011-01-07 14:05:25 +01:00
David Mudrak
9958e561d8 MDL-25886 allow user_picture::fields() to be used multiple times within a single query
When user table is joined twice or more within a single query, it is
important to be able to provide aliases to all returned files. This
patch adds optional parameter that, if provided, is used as a prefix
for columns aliases. Does not apply to the 'id' column, use $idalias for
that.
2011-01-07 02:12:43 +01:00
Dongsheng Cai
365e53d1d4 QUESTION MDL-25219 fixed image links in description question type, credit to Sam Hemelryk 2011-01-06 15:29:07 +08:00
Sam Hemelryk
8e5c23e04f blocks-navigation MDL-25596 Fixed up redundant AJAX calls when navigation was limited by config 2011-01-06 11:50:01 +08:00
Sam Hemelryk
603087b87e enrol MDL-25522 Fixed up duplicate fields in search_other_users method that was causing problems in Oracle 2011-01-06 10:20:28 +08:00
Andrew Robert Nicols
218a465980 lib/ajax/ MDL-25675 Use className instead of classList.toString()
Signed-off-by: Andrew Robert Nicols <andrew.nicols@luns.net.uk>
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-01-05 23:26:28 +00:00
David Mudrak
c56ed7bb85 MDL-24561 forum: require sesskey for the course-wide subscriptions
mod/forum/index.php allows to subscribe to and unsubscribe from all
forums in the course. However, sesskey was not checked here.
2011-01-05 13:01:46 +01:00
David Mudrak
6f7d65c724 MDL-24561 forum subscription checks sesskey
The only case when sesskey is not available is when we came to
subscribe.php from a link in email. In that case, we display a
confirmation page that redirects back providing the sesskey.
All other links to subscribe.php are fixed now so they provide sesskey
as a parameter.
I also polished $mode parameter handling a bit because the check
against empty string was not correct as the value is cast to PARAM_INT.
2011-01-05 13:01:46 +01:00
Petr Skoda
46f4c3932f weekly release 2011-01-05 11:54:01 +01:00
jeromemoodle
1ede3cb37f javascript lib MDL-23224 dropdown onclick event is not trigger in Chrome 2011-01-05 16:12:52 +08:00
andyjdavis
246cc0e6b5 course MDL-25831 removed trailing whitespace 2011-01-05 15:08:18 +08:00
jeromemoodle
6a658c9173 community hub finder MDL-25768 private hubs weren't displayed in the hub list 2011-01-05 14:27:54 +08:00
Sam Hemelryk
712b55e1ba javascript MDL-24521 Fixed confirm dialog bug. Kudos to John Anderson for his work on the patch and James Brisland for help testing. 2011-01-05 14:02:42 +08:00
Sam Hemelryk
dfcf4e0819 Merge branch 'MDL-25525' of git://git.luns.net.uk/moodle 2011-01-04 13:47:55 +08:00
andyjdavis
a170818189 course MDL-25831 made course request notifications work 2011-01-04 13:35:08 +08:00
Sam Hemelryk
724125bdd4 Merge branch 'MDL-25657' of git://git.luns.net.uk/moodle 2011-01-04 13:30:32 +08:00
Sam Hemelryk
1be9192173 mod-wiki MDL-25793 Fixed database discrepancies between a fresh install and an upgraded site within the Wiki module 2011-01-04 09:43:45 +08:00
Dan Poltawski
047c3b6cd3 lib/accesslib.php MDL-25709 - fix docs 2011-01-03 23:41:10 +00:00
Dan Poltawski
e60a00f9a4 blocks/calendar_month MDL-23657 - don't assume id param is courseid
This was casuing context creation on invalid courses..

There remains a problem with previous/next buttons on non course pages.
2011-01-03 23:21:44 +00:00
Tomasz Muras
936a0ae07e roles/assign MDL-24299 Fix back link
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-01-03 21:09:32 +00:00
Sergey Vidusov
ebb32067bf MDL-25478 - stop fatal errors adding blocks on the module edit page
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-01-03 19:09:56 +00:00
Adam Olley
adc3cfc744 calendar/lib.php MDL-25525 - Tooltip icons broken
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-01-03 18:26:50 +00:00
Dan Poltawski
03a50532be user/filters MDL-25657 Obsolete reference to timestart 2011-01-03 18:08:30 +00:00
Petr Skoda
b095f16947 Merge branch 'MDL-25847' of git://git.luns.net.uk/moodle 2011-01-03 18:16:04 +01:00
Petr Skoda
89881a345b MDL-25589 removing extra align value 2011-01-03 18:08:44 +01:00
Petr Skoda
e1ce9a6670 Merge branch 'MDL-25589' of git://git.luns.net.uk/moodle 2011-01-03 18:02:44 +01:00
Petr Skoda
6a81ececb3 Merge branch 'MDL-25808' of git://git.luns.net.uk/moodle 2011-01-03 17:59:53 +01:00
Petr Skoda
01f6035ea1 Merge branch 'MDL-25822' of git://git.luns.net.uk/moodle 2011-01-03 17:53:51 +01:00
Dan Poltawski
50542ff06a user/profile.php MDL-25847 - Missing library dependency 2011-01-03 16:49:30 +00:00
Dan Poltawski
f8f384b5b4 coursereqest MDL-25589 set context 2010-12-30 15:56:35 +00:00
Dan Poltawski
b5a49647e2 course/approval.php MDL-25589 Table misaligned 2010-12-30 15:52:52 +00:00
Dan Poltawski
85fd37d396 enrol/meta MDL-25808 - error when deleting metacourse
Using incorrect dmllib function & testing on non-existant courseid column
2010-12-30 15:10:32 +00:00
Dan Poltawski
9e202d38c8 statistics MDL-25822 Fix broken navigation 2010-12-30 12:42:50 +00:00
Dan Poltawski
f9c2702ece statistics MDL-25822 Fix get_records_sql returning non-unique first column 2010-12-30 12:42:41 +00:00
Dan Poltawski
5b903967de statistics MDL-25822 multiple values in get_field_sql
A variety of get_field_sql calls returning multiple values, switched
to using MIN/MAX selects.
2010-12-30 10:30:07 +00:00
Tim Lock
6c7b6efcf6 courseoverview report MDL-25727 Graphs Broken
Typo preventing graphs from displaying

Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2010-12-30 09:50:21 +00:00
Petr Skoda
c63ebd4311 weekly version 2010-12-29 17:48:42 +01:00
Petr Skoda
07f31e9f82 MDL-25813 fixed silly typo 2010-12-28 22:33:26 +01:00
Eloy Lafuente (stronk7)
a3b474ffa0 Merge branch 'wip-MDL-25370' of git://github.com/sammarshallou/moodle 2010-12-27 17:55:35 +01:00
Eloy Lafuente (stronk7)
1ac3e1f208 Merge branch 'MDL-25720' of git://github.com/timhunt/moodle 2010-12-27 16:36:17 +01:00
Eloy Lafuente (stronk7)
e5137f247e MDL-25341 blogs import - unused vars and mktime() fix 2010-12-27 16:20:39 +01:00
Eloy Lafuente (stronk7)
b7c1da93ec MDL-25341 blogs import - minor whitespace clean 2010-12-27 15:56:58 +01:00
Eloy Lafuente (stronk7)
e38610e4d4 Merge branch 'blog_MDL-25341_entry_sync' of git://github.com/andyjdavis/moodle 2010-12-27 15:55:14 +01:00
Petr Skoda
bf97304ac3 Merge branch 'MDL-25596' of git://github.com/samhemelryk/moodle 2010-12-27 13:51:25 +01:00
Petr Skoda
c81f657b4a MDL-22449 bumping major version to lang invalidate caches and fix phpdocs 2010-12-27 13:48:10 +01:00
Petr Skoda
c03b6176a6 Merge branch 'm20_MDL-22449_wiki_help_buttons' of git://github.com/dongsheng/moodle 2010-12-27 13:44:54 +01:00
Petr Skoda
1310964bb3 Merge branch 'MDL-24860_messaging_providers' of git://github.com/andyjdavis/moodle
Conflicts:
	mod/lesson/version.php
2010-12-27 13:39:20 +01:00
Petr Skoda
8729e5999f Merge branch 'MDL-25321-R1' of git://github.com/samhemelryk/moodle 2010-12-27 12:46:01 +01:00
Petr Skoda
82517e2b78 Merge branch 'MDL-25749' of git://github.com/stronk7/moodle 2010-12-27 12:41:29 +01:00