Commit graph

6941 commits

Author SHA1 Message Date
jenkins-bot e8ab1156f6 Merge "Bundle message should show diff of all included revisions" 2013-10-03 17:32:39 +00:00
jenkins-bot 2901dc3354 Merge "Fix some notification badge related issue" 2013-10-03 13:03:35 +00:00
jenkins-bot b8e8228787 Merge "Typo fix + conditional fix" 2013-10-03 12:04:23 +00:00
bsitu 700271500a Bundle message should show diff of all included revisions
bug: 54391
Change-Id: I6c726d9d36e87fb5092b3c3e205e10ae0de557b4
2013-10-02 16:11:11 -07:00
bsitu 365ea041f2 Add a count for raw bundle data
Change-Id: I380c1e9ae61cba2ff02e4e380c3046ecc889f6aa
2013-10-02 15:28:22 -07:00
Translation updater bot 29a4e20544 Localisation updates from http://translatewiki.net.
Change-Id: Idc33fda508402ae900f54709de975d692359a6cf
2013-10-02 19:32:52 +00:00
bsitu 3b3ed1e3bc Fix some notification badge related issue
* In some languages like persian, the number 0 is represented as '.', we can't compare
  '.' with either 0 or '0' to detect the no-notification status of the badge

* The markread API doesn't respect uselang param, it would return 0 instead of . in a url with uselang=fa

Note: we need to provide raw and formatted count in the API since client side javascript
      doesn't provide fancy function like $wgLang->formatNum()

bug: 54575

Change-Id: I0a49828253ec346ed27c5b9a976f8bdff4e1fa90
2013-10-02 11:25:05 -07:00
Translation updater bot 70bbd32eea Localisation updates from http://translatewiki.net.
Change-Id: I5b326aab596bbc59d36af20f33e58ff8ce3fb64d
2013-10-02 14:01:16 +00:00
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