Commit graph

1834 commits

Author SHA1 Message Date
Roan Kattouw 5aefeb3f2e Add Grunt infrastructure for CI
* Update package.json based on Flow's
* Add Gruntfile.js based on Flow's
* Add .csslintrc and .jscsrc with rules to silence errors for now

Change-Id: Ia8e23537d8dccbcff9ee336f667dc463590c0235
2015-05-01 20:35:23 -07:00
jenkins-bot df9de05c68 Merge "Start tests for the built-in notification types" 2015-05-01 20:51:50 +00:00
jenkins-bot 07ba07d649 Merge "Add fallback for enotiftalk in generateEventsForRevision" 2015-05-01 20:49:16 +00:00
Translation updater bot 29a886f2c4 Localisation updates from https://translatewiki.net.
Change-Id: I239cf1bf9b6e232c10a2ab952d6da5be8936d8e1
2015-05-01 22:02:35 +02:00
jenkins-bot fce9b5065f Merge "Display red badge based on time of notifications vs last time panel was opened" 2015-05-01 18:42:19 +00:00
Matthias Mullie da07893647 Display red badge based on time of notifications vs last time panel was opened
I tried to stick as close to the existing code as possible.

Special:Notifications is slightly different from the overlay,
however. I made it add .mw-echo-unread class for consistency,
but that JS doesn't record seen time (it only loads older
entries), not does the CSS fadeout apply there (it marks
everything as read as soon as it's displayed, so different
behavior from overlay)

PS: I'm not sure about browser compat for the fadeout. But
even if some obscure browsers don't support this, meh. It's
not an "important" feature that can't be missed.

Bug: T94634
Change-Id: Ibb201823fb52ef8a3d5eaa39b0b724ede8d271d1
2015-05-01 11:39:45 -07:00
Translation updater bot 712170df7b Localisation updates from https://translatewiki.net.
Change-Id: I39b0119a40b4e6ed4544f179178aa7a8fd6b81a8
2015-04-29 22:32:17 +02:00
jenkins-bot 4079fd0914 Merge "Explicitly define module position" 2015-04-28 19:45:55 +00:00
Translation updater bot 508dae8014 Localisation updates from https://translatewiki.net.
Change-Id: I48e41458c2a5116bb909236142b0c0f8987e79e9
2015-04-28 21:25:38 +02:00
Gilles Dubuc 001572b510 Explicitly define module position
Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.

Bug: T97410
Change-Id: Id972c96526a32dc4ca332e973f6bd752601c2d5f
2015-04-28 15:46:03 +02:00
jenkins-bot 9c72bc84b1 Merge "More explicit type matching in detectSectionTitleAndText()" 2015-04-28 06:53:19 +00:00
Translation updater bot c9bffcba39 Localisation updates from https://translatewiki.net.
Change-Id: Ief650e253e2bb5727f9b72f2419fc16cfaef45d0
2015-04-27 22:12:47 +02:00
Translation updater bot 659609e702 Localisation updates from https://translatewiki.net.
Change-Id: Iec4e486a94abe2f1432abaf268b3dc15e528d67a
2015-04-26 22:29:39 +02:00
Federico Leva aa3d1afda3 Add fallback for enotiftalk in generateEventsForRevision
Link the bottom of the talk page and use the edit summary as text
if the parser failed to find something. This is what core's enotif
does already.

Change-Id: Iadc7011ea2627e00f0c51472da7aad1355afeddb
2015-04-26 15:52:57 +02:00
Federico Leva fd532b82ca More explicit type matching in detectSectionTitleAndText()
Change-Id: I22c8dc5235f8b4b531c5bbd3ec98c19df7f449a6
2015-04-26 15:37:59 +02:00
Translation updater bot 658706c280 Localisation updates from https://translatewiki.net.
Change-Id: I0f6f55d2dd6a001e1e3a418aa73258157efa4578
2015-04-25 23:01:24 +02:00
Translation updater bot a5f14ce0bd Localisation updates from https://translatewiki.net.
Change-Id: I17ee14736bf921dddc8f48191462eda63fd5b5b0
2015-04-23 23:34:04 +02:00
jenkins-bot 63c3005d31 Merge "Update 'notification-page-linked-email-subject' message" 2015-04-22 22:54:04 +00:00
Translation updater bot a22133440c Localisation updates from https://translatewiki.net.
Change-Id: I9a004834f901b1cdc2def695e8cbc749078625f1
2015-04-21 22:10:52 +02:00
jenkins-bot cf8bda70fe Merge "Unreachable code in Echo hooks" 2015-04-20 21:28:13 +00:00
Tony Thomas 89b88ce61f Unreachable code in Echo hooks
Removed function EchoHooks::getDefaultNotifiedUsers

Change-Id: I5a2d219c3daea87705776f76744a8e7753e01fac
2015-04-20 21:51:23 +05:30
jenkins-bot ed3f9587ad Merge "Made Echo respect $wgEnableEmail = false;" 2015-04-20 16:15:12 +00:00
jenkins-bot e3d87f8a9d Merge "Made EchoNotificationDeleteJob flush transactions so the slave wait works" 2015-04-20 16:03:54 +00:00
Translation updater bot 3ead1932d6 Localisation updates from https://translatewiki.net.
Change-Id: I34d5a59eb1d44de7596ca6be2345706cad892622
2015-04-19 21:21:22 +02:00
Tony Thomas f208548f83 Made Echo respect $wgEnableEmail = false;
Bug: T96143
Change-Id: I09f7cadb98633e171c23072f7282fecf377cd648
2015-04-18 19:16:47 +05:30
Aaron Schulz 992dc41f10 Made EchoNotificationDeleteJob flush transactions so the slave wait works
Change-Id: I18df9b973365cbcd7ef7f1abb816c31d0f5e2212
2015-04-17 19:55:37 -07:00
Translation updater bot 952b2958a4 Localisation updates from https://translatewiki.net.
Change-Id: I34355f08535ed0dc6770420935d36aa9c379b1c6
2015-04-17 22:21:33 +02:00
Translation updater bot af6fbc3294 Localisation updates from https://translatewiki.net.
Change-Id: I810c20fe7a1411bd58a9e3600a94a49d3d655078
2015-04-16 21:27:42 +02:00
Matthew Flaschen 0dbf078f8d Make sure eventId is int for client-side events.
Bug: T95169
Change-Id: Ic15b963a3656f8886532d1b990befe327159d56e
2015-04-15 00:18:38 -04:00
jenkins-bot 2625108d9e Merge "Remove unused default value" 2015-04-14 00:51:22 +00:00
Erik Bernhardson f21dd442e7 Remove unused default value
The default value is never used, it is overridden in the constructor.
Having it here just misleads someone looking at the code to think it
might pull all columns by default.

Change-Id: I0e743c371d4bd2fab5b89740ba1e0f082512ec34
2015-04-13 13:56:38 -07:00
Translation updater bot 32415b3be1 Localisation updates from https://translatewiki.net.
Change-Id: I8c86e3894a9c23b7ebfa23c385a9b70ef165230a
2015-04-13 22:32:21 +02:00
Translation updater bot bafc089373 Localisation updates from https://translatewiki.net.
Change-Id: I82680380f63feed9b0e3efa3ff5766b9df8ecf0f
2015-04-12 21:52:35 +02:00
Translation updater bot 7c3ee35836 Localisation updates from https://translatewiki.net.
Change-Id: Ia4aff38362c113fcac31c0fc8c3392e96a510a36
2015-04-11 21:30:47 +02:00
jenkins-bot 66a8ba58bd Merge "Missed targetpage reference in I338f3d73e" 2015-04-10 01:10:41 +00:00
Erik Bernhardson cdee0eca26 Missed targetpage reference in I338f3d73e
Missed this update in the mentioned patch, this finishes the update.

Change-Id: Iab879e63efdf48ee3cc1dc8e03d86edab137bddf
2015-04-09 16:51:07 -07:00
Translation updater bot 07a53dcd78 Localisation updates from https://translatewiki.net.
Change-Id: I9a441f581af21ef7a38ea709ebf7e8e6b9788ad9
2015-04-09 19:30:20 +02:00
Translation updater bot 90605f2ffb Localisation updates from https://translatewiki.net.
Change-Id: Ia4ea3905cbf9f85e9449358a0e8e11bbbae81091
2015-04-08 21:29:50 +02:00
Translation updater bot f39baa0c2a Localisation updates from https://translatewiki.net.
Change-Id: I9f1128af16d81a4be5c3bd3d8828bb6e8928fcf7
2015-04-07 22:13:23 +02:00
jenkins-bot 472779eb59 Merge "Title::newFromText requires string argument." 2015-04-04 04:10:01 +00:00
Translation updater bot 7942cd3890 Localisation updates from https://translatewiki.net.
Change-Id: I6c6f090bddd32bf81c9fa0cc6712f9fb864be099
2015-04-03 21:03:55 +02:00
Translation updater bot 015a67628d Localisation updates from https://translatewiki.net.
Change-Id: I93e42cd51a9ee9bf8d28b46e165ef45a8bd6a005
2015-04-02 21:22:58 +02:00
Translation updater bot 48dfed20bd Localisation updates from https://translatewiki.net.
Change-Id: I5bad54c760cb108256092805497acdbb95bdf573
2015-04-01 22:34:28 +02:00
Translation updater bot fedf5014f0 Localisation updates from https://translatewiki.net.
Change-Id: Ia31f32e67c622566e381797c80a9357aec8e4734
2015-03-31 21:44:07 +02:00
Erik Bernhardson 70639162f3 Allow multiple target pages per event
Bug: T85064
Change-Id: I338f3d73efb98a3bb66ef64fdeeb66e752a453c2
2015-03-31 07:56:52 +00:00
Translation updater bot 1558b76a98 Localisation updates from https://translatewiki.net.
Change-Id: If808a27d65a35aa20046a773d0695e5220a91cca
2015-03-29 14:59:34 +02:00
jenkins-bot 4b04cfac35 Merge "Make links in Echo's notification footer blue on hover" 2015-03-26 03:56:18 +00:00
Translation updater bot bc852b1c7b Localisation updates from https://translatewiki.net.
Change-Id: I2572e9a6e00cbe225b27cac3b15a2cb902d6448c
2015-03-25 22:18:00 +01:00
Translation updater bot bf0ba50491 Localisation updates from https://translatewiki.net.
Change-Id: Idb5f336fd68f79927f8077dee06b1182e65525dd
2015-03-24 22:24:08 +01:00
Erik Bernhardson a8c0fff41a Title::newFromText requires string argument.
Change-Id: Ieb062879e7e8e43796b7c3aa7829b5e6b00644ad
2015-03-23 15:47:45 -07:00