pau.ferrer-ocana
90e30644d5
MDL-48080 email: Do not send to .invalid addresses. It is an invalid TLD
2014-12-22 10:41:58 +01:00
pau.ferrer-ocana
f1c4e3d2ba
MDL-48080 email: Remove some old error_log calls
2014-12-22 10:41:57 +01:00
John Okely
465d0b2d1d
MDL-48587 core: Fix error in getremoteaddr for unsupported php versions
2014-12-15 16:52:25 +08:00
Petr Skoda
1d658535b6
MDL-47830 auth: Add pw rotation restrictions
2014-12-01 08:53:52 +13:00
John Okely
c2a9bb3a9d
MDL-43987 core: Remove port numbers in cleanremoteaddr
2014-11-17 09:48:26 +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
John Okely
bb8d6e1a81
MDL-43274 Course: Remove ability to delete logs on a course during reset
2014-06-16 09:10:05 +08:00
Damyon Wiese
4e8a350c35
Merge branch 'MDL-45618' of git://github.com/timhunt/moodle
2014-05-20 14:59:48 +08:00
Tim Hunt
5bcfd504df
MDL-45618 Fix @since PHPdoc tags.
2014-05-19 17:03:04 +01:00
Michael Aherne
8561492010
MDL-43669 messaging Enable sending email only from no-reply address
2014-05-19 09:24:26 +01:00
Mark Nelson
f1e0f66ca8
MDL-45319 events: set the relateduserid when triggering the user_created/updated/deleted events
2014-05-07 16:28:59 +08:00
Petr Skoda
0cd189bdf3
MDL-41185 fix url in course_viewed event after course deleted
...
Includes a minor fix for course invalidation after deleting of course,
this improvement should not affect normal execution, that is why
it was not backported.
2014-04-22 11:52:37 +08:00
Dan Poltawski
4916184896
Merge branch 'MDL-44349-master' of https://github.com/lucisgit/moodle
2014-04-16 15:11:27 +08:00
Dan Poltawski
0dda3b10ea
Merge branch 'MDL-44295' of https://github.com/scyrma/moodle
2014-04-16 11:33:14 +08:00
sam marshall
8d1f33e122
MDL-44070 Conditional availability enhancements (6): core changes
...
Changes core code to use new API instead of the old one when
checking user access to activities and sections.
Includes changes to other libraries that are necessary after
adding the availability system and removing old conditional tables
etc.
2014-04-07 20:11:48 +01:00
Tony Butler
456acec4cc
MDL-44349 core_moodlelib: Improve word counting rules
...
Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
2014-04-04 17:10:45 +01:00
Mathieu Petit-Clair
e4697e1fc9
MDL-44295 auth: Update truncate_userinfo to match current DB fields size.
2014-04-03 10:20:22 -04:00
Petr Škoda
25ab60ba8e
MDL-44843 try to hack around strict locale names in OSX
2014-03-28 11:44:18 +08:00
Mark Nelson
cc033d48b5
MDL-44316 core_tag: changed the API to accept a contextid and component
2014-03-22 13:50:08 -07:00
Petr Škoda
50f5c84359
MDL-41115 add option to allow login via email
2014-03-14 11:25:09 +08:00
Eloy Lafuente (stronk7)
38c5e34c00
Merge branch 'mdl27_mdl-43497_allow_force_language_02' of https://github.com/brki/moodle
2014-03-13 18:33:15 +01:00
Brian King
c484af5aa6
MDL-43497 Language: Allow course language to be overridden
2014-03-07 09:11:18 +01:00
Marina Glancy
21d2280361
MDL-44362 recentactivity: fix regressions from MDL-44055
2014-02-28 16:39:32 +08:00