Commit graph

7183 commits

Author SHA1 Message Date
jenkins-bot 145f1b4d74 Merge "Add hooks for EchoEvent's" 2013-10-01 23:12:58 +00:00
Translation updater bot c0b06cdd98 Localisation updates from http://translatewiki.net.
Change-Id: I270abfab2a91da944a55284895798a69301af1c6
2013-10-01 18:57:04 +00:00
bsitu 16dbee7b26 Typo fix + conditional fix
bundleTitle['message'] defaults to empty string, it would never
be null, should just check if the string is empty

Change-Id: I6b9dd8b8a94fed114c0799004848daed472daf3a
2013-09-30 13:28:58 -07:00
Kunal Mehta 2cc6171860 Add hooks for EchoEvent's
BeforeEchoEventInsert can be used to abort or modify an
EchoEvent before it is created. If aborted, EchoEvent::create
will return false.
EchoEventInsertComplete can be used to run stuff once it's
been created.

Change-Id: I376708ac7aafc419bf87bceeff6de7de9bdc2f4e
2013-09-30 13:21:56 -07:00
Translation updater bot f68110f910 Localisation updates from http://translatewiki.net.
Change-Id: I7f80df56d46adf752e42a3479c8bff79563ff3f5
2013-09-29 19:58:44 +00:00
kaldari 4380e81afe Moving dependencies from ext.echo.base to more specific modules
mediawiki.api and mediawiki.Uri are desktop-only modules that are
not actually needed by ext.echo.base. Moving the dependency
declarations to more specific modules so that ext.echo.base is
usable by mobile notifications. ResourceLoader is smart enough to
not double-load them, so there should be no performance difference.

Also removing unused 'cancel' message.

Change-Id: I9fa8c4501e038ded9125c3b43e5207c355af2db9
2013-09-25 17:58:11 +00:00
kaldari 08fc83b6de Cleaning up Echo 'base' module.
Removing unused functions and declaring correct dependencies.

Targetting to desktop and mobile so it can be used by both.

Also removing dismiss-related code from the formatter.

Change-Id: Icccce64cfb3c564ab468a93ccdba9c5a61687fd5
2013-09-23 11:29:49 -07:00
Translation updater bot 9a5b6436b8 Localisation updates from http://translatewiki.net.
Change-Id: I62c146e8928013e608b8627a2aad4cdc63a2c187
2013-09-22 20:13:34 +00:00
Translation updater bot 8063fdcd9a Localisation updates from http://translatewiki.net.
Change-Id: I5ed9ed0d5536aed86a7cdb43053d24dd58270aa8
2013-09-21 19:37:38 +00:00
Translation updater bot 21829fada7 Localisation updates from http://translatewiki.net.
Change-Id: I7a60743678382aa58532db42d5ec2187bfe30c8c
2013-09-20 19:35:56 +00:00
bsitu 23f66ec6e8 Make html email look prettier on mobile device
Add a media query style for mobile device so the email doesn't generate
a horizontal bar.  Gmail strips out all style, that means we can't apply
the mobile style to Gmail.  Luckily, Gmail on mobile device browser
automatically fit into the entire mobile screen

bug: 53057

Change-Id: Ia4350669db2e81ee44d5b53d7cece6fcd8839e7a
2013-09-20 10:48:37 -07:00
bsitu 67959e65d2 Fix some RTL issue and add sans-serif as fallback font
bug: 54249
Change-Id: I8b0d259922680fa026969ebd81cdd62b718811c9
2013-09-20 00:55:57 +00:00
Translation updater bot bac6acc287 Localisation updates from http://translatewiki.net.
Change-Id: I61254db653a2fb2df213ab09fabc1e2fdb93c65b
2013-09-19 19:29:35 +00:00
bsitu e19e8cd5b5 Remove markread action from the read API
Don't merge till parent patch 84468 is merged and deployed

Change-Id: I863cf068754723701c26ba575c94a9852cac240e
2013-09-18 14:32:16 -07:00
bsitu 2b57fbd3c2 Split the Echo API into their own write/read APIs
Change-Id: I0ab85c91c6fbe17e9a1c7dc9e504980f629a5065
2013-09-18 14:28:41 -07:00
Translation updater bot b8d504e307 Localisation updates from http://translatewiki.net.
Change-Id: Ic73a13d969b495b1fb8c6a1bd1a9755de0ffb5aa
2013-09-18 19:08:28 +00:00
Translation updater bot 6688c7ef16 Localisation updates from http://translatewiki.net.
Change-Id: Icc2a729c197ebb4a121975fda8dc463ed597eb27
2013-09-17 19:44:22 +00:00
EBernhardson (WMF) 100c543396 Merge "Archive page and overlay should respect ?uselang=xxx" 2013-09-16 22:38:35 +00:00
Translation updater bot 713a807816 Localisation updates from http://translatewiki.net.
Change-Id: Ia5655fbc9703a083a14a10877d0303cd4232103d
2013-09-16 19:33:27 +00:00
Translation updater bot 1c431cc858 Localisation updates from http://translatewiki.net.
Change-Id: Ibb00fde8cf79d2156469556947c342998a616754
2013-09-15 19:21:44 +00:00
Translation updater bot 162afcf7c3 Localisation updates from http://translatewiki.net.
Change-Id: I9c29d85a0e8f06777d487e941ae28605f5c95225
2013-09-13 20:46:40 +00:00
Translation updater bot 1d07436de4 Localisation updates from http://translatewiki.net.
Change-Id: Ib3f9a1e2cabcdea788f80323b7216c85e34dc57f
2013-09-12 19:31:51 +00:00
Translation updater bot d8be6027ad Localisation updates from http://translatewiki.net.
Change-Id: Ifd2f02499fc11e68133fe01193193e6af56410ec
2013-09-10 20:04:27 +00:00
EBernhardson (WMF) 5a059d2c88 Merge "Adding Echo jobs to deferred update along with master wait" 2013-09-09 21:23:37 +00:00
bsitu 06e7317472 Archive page and overlay should respect ?uselang=xxx
In addition, any message used in the email should be
sent in the user's language.

Bug: 52992
Change-Id: I3585f28d4ec97b86a467958bdfd603791f293d52
2013-09-09 13:44:05 -07:00
Translation updater bot 85cc08310d Localisation updates from http://translatewiki.net.
Change-Id: I458779dd0894ff79f425d304fcde22f3156d306b
2013-09-09 19:48:47 +00:00
Translation updater bot 3c6dc608d9 Localisation updates from http://translatewiki.net.
Change-Id: Ie84595ed3d397588e359570c10e241cbe570576e
2013-09-09 19:24:47 +00:00
raymond 527dbbca44 Remove outdated translations
Message 'echo-email-batch-separator' is set to ignore on translatewiki.net

Change-Id: I42a77721747af76a823f7cca063589f1156e41ec
2013-09-09 20:53:27 +02:00
Translation updater bot 327f4c36c8 Localisation updates from http://translatewiki.net.
Change-Id: Ib84997a9b18f1f9cadf5fd41a3d43c9734212f12
2013-09-07 19:58:15 +00:00
Translation updater bot 37b928704d Localisation updates from http://translatewiki.net.
Change-Id: I6a77dab3870a787049f7fc98718825ff3f243d7c
2013-09-06 22:06:16 +00:00
jenkins-bot d88f834833 Merge "Improve footer separator" 2013-09-06 21:28:21 +00:00
Translation updater bot a064bd7ec1 Localisation updates from http://translatewiki.net.
Change-Id: I709b8b74cda665eefb1acf402774971ae34bb1d8
2013-09-05 20:23:59 +00:00
jenkins-bot 7591f85e43 Merge "Make items on notifications flyout behave like links" 2013-09-05 17:22:37 +00:00
jenkins-bot 8df26c9386 Merge "Updating eventlogging schema revision number for mobile data" 2013-09-05 01:47:23 +00:00
bsitu ec18d637b9 Adding Echo jobs to deferred update along with master wait
This is in case job queue is picking up the job too fast when the current
transaction is not completed and job queue is trying to access non-committed data

When job is popped, some of the object is re-initialized from the database, this will
handle the replication lag

Change-Id: Ia7debb4db0103f27a3e326beb52db0f63bc7c0bc
2013-09-04 17:32:54 -07:00
Translation updater bot b82b1304b9 Localisation updates from http://translatewiki.net.
Change-Id: Ief712b7bd49ffd93f8b7b9340b1acbe3caf56f0a
2013-09-04 19:43:45 +00:00
jenkins-bot 1bb1e9ff73 Merge "Remove Echo preference change eventlogging" 2013-09-04 18:09:58 +00:00
kaldari 9793138d4f Updating eventlogging schema revision number for mobile data
Change-Id: I28b5c9bda0a97ec69d10dd24e4345b8bd1363899
2013-09-04 11:03:06 -07:00
jenkins-bot 5899f3d4f1 Merge "ext.echo.special: Cross-skin adjustments" 2013-09-04 16:22:47 +00:00
Matthew Flaschen 8f1c4299c6 Set returnto when linking anon to signup or login
Change-Id: I6bbd867f91e5cb03320b412197fdabb19adb6bcd
2013-09-03 18:05:57 -04:00
jenkins-bot 7ddf26c407 Merge "Fixing More... button so it doesn't always skip a notification Bug: 53718" 2013-09-03 21:21:06 +00:00
Translation updater bot e5b1cb77f5 Localisation updates from http://translatewiki.net.
Change-Id: If1857072a68a90f390d3af33170e50037e96e0a0
2013-09-03 20:56:03 +00:00
kaldari a4b62d8d82 Fixing More... button so it doesn't always skip a notification
Bug: 53718

Change-Id: I021580b740b90772c98d32850f5f1a2521bd1a14
2013-09-03 11:51:35 -07:00
EBernhardson (WMF) e3bdd61952 Merge "Preventing empty payloads from being created when using summary" 2013-09-03 17:40:42 +00:00
Translation updater bot 9359fbc69c Localisation updates from http://translatewiki.net.
Change-Id: I8979f94f5f390385674dd747af22f01d1446719e
2013-09-02 19:21:19 +00:00
Translation updater bot bb16f1beee Localisation updates from http://translatewiki.net.
Change-Id: I74ff7986fc4a8097c8da799f3e2b6e907efb74d3
2013-09-01 19:23:45 +00:00
Translation updater bot 6f3d376f19 Localisation updates from http://translatewiki.net.
Change-Id: I43b392a04c446ded21f8f712d76bdba634794c8b
2013-08-30 19:23:11 +00:00
jenkins-bot 44b85917fd Merge "ext.echo.badge: Remove defunct CSS rule" 2013-08-30 04:05:36 +00:00
kaldari d1463ea6a7 Preventing empty payloads from being created when using summary
Also making sure that footer has some amount of separation from
the notification title even if there is no payload.

Change-Id: I85a1a7989539044a0b0b53e76e70ddee9bb7165c
2013-08-29 15:10:06 -07:00
MatmaRex b916c85353 ext.echo.badge: Remove defunct CSS rule
The space after colon on this line is actually a non-breaking space
( ), which is not allowed in this place according to CSS syntax.
Therefore all browsers ignored this rule (logging an error like
"Invalid CSS property value") and the shadow was never shown.

We could fix the rule instead, but I'm pretty sure users are used to
this by now, and in my opinion it looks better without shadow.

Bug: 53490
Change-Id: I1fd508d2059bec5cd79a6dcdce8dc9be6e6d4229
2013-08-29 19:40:34 +00:00