Commit graph

388 commits

Author SHA1 Message Date
jenkins-bot 5398d347fe Merge "Update documentation for "LoginNotifyEnableForPriv"" 2017-04-28 23:31:18 +00:00
niharika29 7416910367 Update documentation for "LoginNotifyEnableForPriv"
Bug:T160094
Change-Id: I96ac5961ce220640b4a8028f270964f5e5f1527b
2017-04-28 16:27:36 -07:00
Translation updater bot 2b0c519b4e Localisation updates from https://translatewiki.net.
Change-Id: I887af97d947cfb708fc1376e3b68201a4323ebb5
2017-04-28 23:53:20 +02:00
niharika29 970f4bee67 Fix broken LoginNotify emails
Take out legacy strings which Echo doesn't use anymore apparently.

Bug: T163742
Change-Id: I26b7c65c798cee376ba4c750851e7e7669d96e01
2017-04-28 18:50:41 +00:00
niharika29 b0d0086a4c Add a primary link to the notification
Bug: T163856
Change-Id: Ie8d51b4f0aecb857e8ab95ed15c4d776da7e495f
2017-04-27 22:00:48 +00:00
jenkins-bot b8c7205781 Merge "Simplify getHeaderMessage() and make sure it returns a Message obj" 2017-04-27 20:51:35 +00:00
Translation updater bot 927f65b95c Localisation updates from https://translatewiki.net.
Change-Id: Ife2bcaf81b688ed83a2580efd15a9d3e84dd79ce
2017-04-27 22:43:18 +02:00
Kaldari ab0a1680f6 Simplify getHeaderMessage() and make sure it returns a Message obj
Bug: T163816
Change-Id: Ia2ce42f48d2e24f651e88ff87659b4620300b623
2017-04-27 13:05:04 -07:00
jenkins-bot e8db190147 Merge "Change default configs for LoginNotify production" 2017-04-26 21:55:24 +00:00
Translation updater bot 1085152a47 Localisation updates from https://translatewiki.net.
Change-Id: Ib0e665d9995108741a1296a1f819626c82c25dec
2017-04-25 22:47:39 +02:00
niharika29 08479c9f47 Change default configs for LoginNotify production
Bug: T160094
Change-Id: Ibb19e2569d3b3f86dfdeffb3f803cae677e7ee59
2017-04-24 22:43:41 +00:00
L10n-bot caac22f193 Merge "Localisation updates from https://translatewiki.net." 2017-04-24 20:46:32 +00:00
Translation updater bot d769f5f976 Localisation updates from https://translatewiki.net.
Change-Id: I1c21cbd2ff4db279f82ed35adbe9123b0c33a08c
2017-04-24 22:46:25 +02:00
jenkins-bot 1aec4a16bd Merge "Change wording to distinguish between new and known devices. Add PLURAL for single/multiple attempts. Separate notifications for new/known devices." 2017-04-24 20:44:34 +00:00
niharika29 86358c39ac Change wording to distinguish between new and known devices.
Add PLURAL for single/multiple attempts. Separate notifications for new/known devices.

No change of wording for known devices.

Bug: T158878
Change-Id: Ie0997123020f9c0e3190fc016e9a4990523d146f
2017-04-22 00:17:14 +00:00
Translation updater bot 27c08c5dd0 Localisation updates from https://translatewiki.net.
Change-Id: I5b5cbb5b59256837ba955aa155ba3713044469c9
2017-04-20 23:01:47 +02:00
Gergő Tisza f431bc7196 Switch TestingAccessWrapper to librarized version
Bug: T163434
Change-Id: I3bd4a725291c8d0d10ff002c481064fe67f8df39
Depends-On: I52cc257e593da3d6c3b01a909e554a950225aec8
2017-04-20 19:16:16 +00:00
jenkins-bot 8b5ea141b9 Merge "Rename functions so as to not confuse with with CheckUser extension" 2017-04-18 20:36:36 +00:00
Translation updater bot 742135269b Localisation updates from https://translatewiki.net.
Change-Id: I175b913038eaa6fb574b546c60c767ac2ff6de19
2017-04-18 22:35:14 +02:00
MusikAnimal bafd980e7d Rename functions so as to not confuse with with CheckUser extension
Bug: T162748
Change-Id: If2ad9d65cedc8124b2570e2b66574736a8f112f9
2017-04-18 16:30:48 +00:00
Translation updater bot 5784db2ebc Localisation updates from https://translatewiki.net.
Change-Id: I7001f17cec2c504e6e6b2d90a2696b942c9262f4
2017-04-17 22:33:39 +02:00
Translation updater bot edffc271d9 Localisation updates from https://translatewiki.net.
Change-Id: I783ff10087b186db8dc51d40047525cc3d23a297
2017-04-16 10:23:16 +02:00
jenkins-bot 73adad2772 Merge "Bundle notifications and show a single header message" 2017-04-13 22:18:20 +00:00
niharika29 d7f69cbab0 Bundle notifications and show a single header message
Bug: T162104
Change-Id: I6056098de7947dc450efdbbce6e42638bec4e2fd
2017-04-13 21:59:41 +00:00
Kaldari 784bd9bd14 Changing cookie name to match cookie naming conventions
We typically do extensionname_blah, see CentralNotice and
CentralAuth cookies.

Also, "logins" is more accurate than "login" as it can store
multiple user login records (default is 6).

Change-Id: I1e20fc2bbc713613cfa27cf37fff371dbb0be25e
2017-04-12 14:47:18 -07:00
Translation updater bot 05cdf49fc1 Localisation updates from https://translatewiki.net.
Change-Id: I8d03c206d8de7155d7feffca2115c4a81bd07819
2017-04-12 22:39:19 +02:00
Translation updater bot cfb0ccf0ee Localisation updates from https://translatewiki.net.
Change-Id: Ib68fcfce22dad0efe3fdf45cd67721ebf84b06cb
2017-04-07 22:39:43 +02:00
jenkins-bot a9f9d1ed03 Merge "Fix various docblock formatting" 2017-04-05 13:03:45 +00:00
Translation updater bot 733fb5eb2f Localisation updates from https://translatewiki.net.
Change-Id: Id7f58a159ec88373c0e999f1cf1a656603ef4496
2017-04-01 22:50:34 +02:00
Translation updater bot 02fde0eec4 Localisation updates from https://translatewiki.net.
Change-Id: I3e1e88026a7a6b6da5d36dc0f6c0374ba496438d
2017-03-27 23:33:40 +02:00
Translation updater bot 80888752cf Localisation updates from https://translatewiki.net.
Change-Id: I480b55cd74bfbebc5ed50d5ce1c6f48373c9e9f7
2017-03-26 22:33:19 +02:00
jenkins-bot 2db877de3c Merge "Complete documentation of config variables" 2017-03-25 03:42:51 +00:00
Sam Wilson 8a10910992 Fix various docblock formatting
This fixes some errors in docblock formatting to bring things into
line with MediaWiki coding standards (not all of which are yet
caught by phpcs).

Change-Id: I06b7fc3a9fe09e412b3200b597ce01ef7e7d5ae3
2017-03-25 00:56:01 +00:00
Translation updater bot 0d8536341c Localisation updates from https://translatewiki.net.
Change-Id: Ie9c223a4773af808fe786266be63313dfa9ac286
2017-03-24 22:48:28 +01:00
MusikAnimal 0a4cd510e4 Complete documentation of config variables
Bug: T160094
Change-Id: Icf312685419fb314943ef7b978caf6707724e838
2017-03-24 17:48:20 +00:00
Translation updater bot 3224fe0e8c Localisation updates from https://translatewiki.net.
Change-Id: I8dfcea672064494e3d1b0f9535deebdfb5f23ce1
2017-03-23 22:48:54 +01:00
MusikAnimal 4d4e09ccb8 Simplify messages in login notification, still having two
separate messages so wikis can configure them as desired.

Use UserAvatar image instead of padlock in notification

Add link to Special:ChangePassword

Bug: T160031
Change-Id: I3ce1f40993eb82c843823eb62e160a03041eb799
2017-03-23 09:47:16 -07:00
jenkins-bot 565effb3af Merge "Add README" 2017-03-09 22:39:44 +00:00
niharika29 4fae81abed Update AddNewAccount->LocalUserCreated hook for LoginNotify
Bug: T135270
Change-Id: I0efbacac13807d802e5cc6e4d226d75050f01d2d
2017-02-23 17:47:03 +00:00
Florian Schmidt 3a1a488b23 Use ExtensionRegistry to check, if Echo is installed
Instead of checking, if an internal class exists, it's more
accurate to require an extension and Extensionregistry will
check, if the requirements are fulfilled. If not, it will throw
and exception.

Depends-On: I2bde10ed08048bc0164446dd59d0d4575870fa54
Change-Id: I85a84988c75290d7df63dec27b69b250e305c896
2017-02-05 11:03:19 +00:00
Umherirrender 57bc309d83 Make LoginNotifyHooks::onUserSaveOptions static
call_user_func_array() expects parameter 1 to be a valid callback,
non-static method LoginNotifyHooks::onUserSaveOptions() should not be
called statically

Change-Id: If1242ff69c65fc4ae48fba990a14b02723867dbd
2017-02-05 11:55:55 +01:00
jenkins-bot 0424755035 Merge "Remove EchoBasicFormatter - no longer in use" 2017-02-01 03:37:08 +00:00
niharika29 03839f7d96 Remove EchoBasicFormatter - no longer in use
Cleanup LoginNotify

Bug: T151414
Change-Id: Idc8913ebd80418dc40fb97d0a92fb51de5b07abf
2017-02-01 03:34:42 +00:00
Translation updater bot fb5b92c09e Localisation updates from https://translatewiki.net.
Change-Id: I5a2d9af2f85eb21b7b31c7fb3d8ab69d74d7d0bd
2017-01-31 22:40:51 +01:00
Umherirrender 0682e17314 Add grunt-jsonlint and grunt-banana-checker
jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: I68f76b69bf6a3d466ca87c83f0ab86998ef8ef74
2017-01-09 16:37:01 +01:00
Umherirrender 637cd2da5f Avoid duplicate @doc in extension.json
External JSON reader can have problems with duplicate keys in json.

Change-Id: I80c18a77ceafef681708f7656db465fb3717e0c0
2016-12-17 00:48:15 +01:00
niharika29 92016270b2 Add README
Change-Id: I11a0592eeb59a8c4876ac1e01f421fb1aa8decde
2016-12-15 07:40:09 +00:00
Translation updater bot 9f8ecda205 Localisation updates from https://translatewiki.net.
Change-Id: If1585dcafe68966fbb729d4a3d923aeb839445f9
2016-11-29 22:22:37 +01:00
Translation updater bot 9cd6b33be1 Localisation updates from https://translatewiki.net.
Change-Id: I59f77a53da97eccc34b5d98dd2fe8353bd3ceda5
2016-11-25 22:51:34 +01:00
Translation updater bot c330dfc953 Localisation updates from https://translatewiki.net.
Change-Id: Iac91e3f041f79ce259286a31d95a515e828f7ba1
2016-11-24 22:20:33 +01:00