Dan Poltawski
ae4e4e11ff
Merge branch 'MDL-51467-m28' of https://github.com/sammarshallou/moodle into MOODLE_28_STABLE
2015-10-14 13:41:03 +01:00
sam marshall
378f34a469
MDL-51467 Availability: Course reset should change restrict dates
2015-10-12 17:36:00 +01:00
Kevin Wiliarty
36d44b206a
MDL-49189 auth: Map data to profile fields with uppercase shortnames
2015-10-03 08:25:06 -04:00
David Monllao
3e08b5c04e
Merge branch 'MDL-50921-28' of git://github.com/ryanwyllie/moodle into MOODLE_28_STABLE
2015-09-15 14:27:32 +08:00
Petr Skoda
5337b22952
MDL-50860 core: improve creation of random strings
2015-09-08 01:09:13 +02:00
Marina Glancy
f19717481d
MDL-50921 message: allow popup messages from noreply user
...
Thanks Gary Harris for the patch
2015-09-07 08:15:10 +00:00
Michael Aherne
53eaea5944
MDL-51016 messaging: Fix email attachments on Windows
2015-08-06 13:07:25 +01:00
Dan Poltawski
96b529314f
Merge branch 'MDL-43785-28' of git://github.com/andrewnicols/moodle into MOODLE_28_STABLE
2015-07-27 14:49:42 +01:00
Dan Poltawski
e205936ac9
Merge branch 'MDL-49360-28' of git://github.com/lameze/moodle into MOODLE_28_STABLE
2015-07-27 12:08:47 +01:00
Frederic Massart
74e083713e
MDL-46232 user: Handle bulk delete of users without email addresses
2015-07-27 15:48:16 +08:00
Andrew Nicols
ea2e3f1c82
MDL-43785 lib: Improve session timeout warnings
2015-07-27 14:30:37 +08:00
Simey Lameze
185f689f77
MDL-49360 core_lib: add new method get_local_referer()
...
This commit also replace all usages of $_SERVER['HTTP_REFERER'] and get_referer().
2015-07-27 11:58:11 +08:00
Petr Skoda
980bd08bdc
MDL-50688 lib: fix local url validation bug
...
Change-Id: I350bb8c9ace5cc0403f083f728c100097be7aa7e
Reviewed-on: https://review.totaralms.com/8101
Tested-by: Jenkins Automation <jenkins@totaralms.com >
Reviewed-by: Sam Hemelryk <sam.hemelryk@totaralms.com >
Reviewed-by: Alastair Munro <alastair.munro@totaralms.com >
2015-06-29 17:50:00 +02:00
Dan Poltawski
d4f82690a5
Merge branch 'MDL-49787_email_attachments_symlink_fix_28' of https://github.com/iamandrew/moodle into MOODLE_28_STABLE
2015-05-26 12:56:32 +01:00
David Mudrák
5157d7e013
MDL-50313 docs: Fix the documentation for the FEATURE_IDNUMBER constant
...
The constant is used by course/moodleform_mod.php to decide whether the
field 'ID number' (cmidnumber) should be included in the common module
settings section of the activity settings form. Activity modules that do
not use grades (such as the Label) can explicitly return false when
checking for this feature support. By default, all activity modules are
supposed to support it.
2015-05-21 16:50:15 +02:00
Andrew Davidson
4ee8f04bef
MDL-49787 email: Updated email attachement path check to use realpath() in order to allow for symlinked temp directories
2015-05-18 12:04:50 +01:00
Frederic Massart
9bf7fea937
MDL-49401 moodlelib: PARAM_LOCALURL supports loginhttps
2015-05-05 18:31:14 +08:00
Petr Skoda
4f431ffe43
MDL-49631 fix incorrect whitespace remplacements
2015-03-23 17:40:45 +13:00
Marina Glancy
2d73956d8e
MDL-49418 core: partial revert of MDL-48804
...
this is a quick fix for the issue 'Course module with two or more availability restrictions is not accessible'
MDL-49434 is created to deal with the renderer access inside availability check
2015-03-09 11:26:18 +08:00
Marina Glancy
4ab4ec652c
MDL-48804 core: do not set current course until login validated
2015-03-02 16:49:44 +01:00
John Okely
ef19d61d4d
MDL-48587 core: Fix error in getremoteaddr for unsupported php versions
2014-12-15 16:56:44 +08:00
John Okely
e92d84244c
MDL-43987 core: Remove port numbers in cleanremoteaddr
2014-11-17 09:48:32 +08:00
Adrian Greeve
afc3431413
MDL-47647 lib: Fix message unit test failure.
...
Messaging unit tests on Windows were failing because
of a comparison between two file paths. Part of the
path would have a forward slash instead of a backslash
and so would fail.
2014-10-27 16:35:06 +08:00
Adrian Greeve
e622b1a14b
MDL-46921 lib: Update get_all_user_name_fields() plus unit tests.
2014-10-09 08:07:44 +08:00
Andrew Nicols
84b02e6efd
MDL-47214 core: IPs should be cleaned
2014-10-01 15:27:53 +08:00
zbdd
77218e4a52
MDL-42993 auth: spaces removed from usernames by default only
...
Functionality by default does not change with this patch.
However spaces are no longer stripped when cleaning usernames IF
$CFG->extendedusernamechars has been set.
Also included 2 trim statements where small issues were found with reading
external usernames in that were not filtered for trailing whitespaces.
2014-10-01 08:24:54 +13:00
Michael Hughes
ad2fc0d83f
MDL-47214 General: Multiple IP addresses in X-Forwarded-For Fixed
...
Fixed getremoteaddr() function handle multiple IP addresses
Addressed point 2 on Dan's list
Stopped changing $CFG value after started test.
2014-09-26 16:28:57 +01:00
Dan Poltawski
bd75ef826e
Merge branch 'wip-MDL-40356-master' of git://github.com/abgreeve/moodle
2014-09-22 15:02:51 +01:00
Damyon Wiese
ffd9e5d269
MDL-44257 Message: Update phpdocs for email_to_user function
2014-09-16 15:08:08 +08:00
Adrian Greeve
b3d5f7bc50
MDL-40356 lib: New setting to display full names.
...
This adds a new setting to display more name information for users
with the viewfullnames capability.
2014-09-16 11:01:42 +08:00
Simey Lameze
9a2c52571e
MDL-44257 message: added test to make sure the stored file still exists
2014-09-16 10:07:17 +08:00
Marina Glancy
e0dfc380c6
Revert "Merge branch 'wip-MDL-40356-master' of git://github.com/abgreeve/moodle"
...
This reverts commit 4b5fd6eb6d , reversing
changes made to a788aade7c .
2014-09-11 10:54:40 +08:00
Adrian Greeve
ea6f548081
MDL-40356 lib: Added a new setting to display more information from the fullname function.
2014-09-09 09:22:43 +08:00
sam marshall
48c79eb3e9
MDL-44725 Availability: Replace groupmembersonly - login (5)
...
Remove groupmembersonly option from require_login.
NOTE: This code, and another branch (both related to login when
accessing activities on the site course), are not actually
necessary because there is code above which already checks
$cm->uservisible.
NOTE: You can see this change more simply by doing
git diff --ignore-space-change; indent was altered.
2014-09-02 13:03:15 +01:00
sam marshall
061e6b2864
MDL-44725 Availability: Replace groupmembersonly - upgrade, core (1)
...
* Upgrades existing data so that the groupmembersonly option is
replaced with equivalent data for the new availability API.
* Removes the database field and admin setting used for
groupmembersonly.
* Changes core modinfo library to remove/deprecate groupmembersonly
data and functions.
* Changes other core library files to remove groupmembersonly
references.
Includes deprecation of several functions, listed in lib/upgrade.txt.
2014-09-02 13:03:07 +01:00
Eloy Lafuente (stronk7)
f034d6d113
Merge branch 'MDL-43639_updatePassEveryLogin' of https://github.com/moodlerooms/moodle
2014-09-02 01:07:36 +02:00
Marina Glancy
fb71171fc6
MDL-46589 scheduled task does not send emails
...
Thanks to Luděk Šulák for the patch
2014-08-16 11:29:34 +08:00
Mark Nielsen
b5bad169c2
MDL-43639: Prevent user updated event on every login
...
If auth plugin prevents local passwords, then user
is updated and event is triggered on every login.
2014-08-01 13:36:55 -07:00
Eric Merrill
3388a4f59e
MDL-46620 messages Make sure full message is used for read marking
...
message_mark_message_read needs to have the full message object,
otherwise data will be lost.
2014-07-30 15:56:52 -04:00
Sam Hemelryk
8d3a4d7597
Merge branch 'MDL-45339-master' of git://github.com/xow/moodle
2014-07-21 10:49:25 +12:00
John Okely
08b51dd06b
MDL-45339 Libraries: Add a note to docblock of get_config, set_config, and unset_config to note they are used in lib/db/upgrade.php
2014-07-17 16:42:42 +08:00
Sam Hemelryk
ceeb287740
Merge branch 'MDL-42214_popup_blocked' of https://github.com/andyjdavis/moodle
2014-07-14 15:27:16 +12:00
Andrew Davis
727c69ca9e
MDL-42214 core_message:prevented popup notifications of messages from blocked users
2014-07-14 09:49:47 +08:00
Sam Hemelryk
eb5942ea9d
Merge branch 'wip-MDL-46247-master' of https://github.com/mackensen/moodle
2014-07-14 11:55:02 +12:00
Charles Fulton
65d7932ca3
MDL-46247 auth: Add new language for unauthorised external user
2014-07-07 10:16:09 -07:00
Dan Poltawski
20490cbb2b
MDL-43848 messages: do not display message content in popups
...
The user is not in control of when these popups show up and it
may not be appropiate to have part of this content display whilst
in the presence of other users.
2014-07-07 13:37:10 +08:00
Sam Hemelryk
a0145560b9
Merge branch 'MDL-40805-master' of git://github.com/lameze/moodle
2014-07-01 09:06:12 +12:00
Rajesh Taneja
9363073b22
MDL-45641 event: Manually trigger event where needed.
...
Some places, user_created_user and user_updated_user
events should be triggred after profile data is saved.
2014-06-27 15:44:56 +08:00
Rajesh Taneja
a7466eb448
MDL-45641 event: Removed multiple user_updated event trigger
...
user_updated event was being triggred while
setting password, which is not correct. It now
trigger user_password_updated event. Few more
modifications done:
1. Correct event is being triggred.
2. Event is only triggred when password is chnaged.
3. Password is updated via single api.
4. Updated unit test
2014-06-27 15:44:56 +08:00
Simey Lameze
f9f9d187f8
MDL-40805 auth_cas : Method postlogout_hook created to be executed after user_loggedout event trigger.
2014-06-24 11:00:32 +08:00