Commit graph

1591 commits

Author SHA1 Message Date
Translation updater bot 3258514b7b Localisation updates from https://translatewiki.net.
Change-Id: I38f442737af389000792fdad5dba42edab151011
2014-10-08 21:24:08 +02:00
Translation updater bot f4ef97cb06 Localisation updates from https://translatewiki.net.
Change-Id: I3b2e08e330bbfeda3a31992a6b07b388ed383691
2014-10-07 20:58:19 +02:00
jenkins-bot ce51ecb8f0 Merge "Add reverse chronological ordering to unread notifications" 2014-10-07 18:01:48 +00:00
Translation updater bot 4fe477f9d4 Localisation updates from https://translatewiki.net.
Change-Id: I3830771dea718c41739d12af53b470c81804ced8
2014-10-05 22:11:01 +02:00
Translation updater bot 0c808a6760 Localisation updates from https://translatewiki.net.
Change-Id: If412fbdc86dcaa1e223407dc533c646026923f2a
2014-10-02 23:25:24 +02:00
Translation updater bot aa547e0d1a Localisation updates from https://translatewiki.net.
Change-Id: I2dee6356ce0d3a4c860e013f0a23266588ec2c7e
2014-10-01 22:05:19 +02:00
Erik Bernhardson 0cfe5ca269 Don't fatal if a notification fails to initialize
Log info to Echo debug log group instead.

Bug: 71489
Change-Id: I4a7c669ef55936e3c683d268041d828b54a5a9b2
2014-10-01 01:11:30 +00:00
S Page e0cf3b23cb Ignore browser test screenshots
Same as Flow's change I525827d2

Change-Id: Idbf09c5b6ac3a76b8e0aa89412bd1b212f15fe96
2014-09-30 13:34:28 -07:00
bsitu 371abf6430 Add reverse chronological ordering to unread notifications
Has a performance impact, so this depends on deploying the job
that deletes older notifications.

Bug: 69919
Change-Id: Ia485c853d1b04c3c85e25e6a12f5060a046e9b11
2014-09-29 23:14:42 +00:00
bsitu 55ef794d74 Add job to keep user notifications in reasonable volume
Change-Id: I4d4fa4c987a1732e5e29536a7669e28c34d4ab18
2014-09-29 23:10:18 +00:00
Translation updater bot c679929e03 Localisation updates from https://translatewiki.net.
Change-Id: I5a1ccd1ff9ca1d06f4ac4821f5178ea74da43403
2014-09-29 23:30:23 +02:00
Translation updater bot fa804d8084 Localisation updates from https://translatewiki.net.
Change-Id: If5a80093af37b3200d887a0c36e648397d299b62
2014-09-28 22:33:26 +02:00
Translation updater bot 0d1091ff11 Localisation updates from https://translatewiki.net.
Change-Id: I78d38927c1b286bcf7df321f51623a6a484adba6
2014-09-27 20:27:54 +02:00
jenkins-bot 94736491cb Merge "QA: replace hard-coded 7 seconds sleep with poll method" 2014-09-25 22:52:17 +00:00
jenkins-bot d3a093ae68 Merge "QA update feature descriptions for messages test" 2014-09-25 21:41:04 +00:00
Translation updater bot 935a9e4917 Merge "Localisation updates from https://translatewiki.net." 2014-09-25 21:10:13 +00:00
Translation updater bot c7e7ab93ed Localisation updates from https://translatewiki.net.
Change-Id: I6e6ff785e331678c61c98ce3e5400e6c4daaf657
2014-09-25 23:04:11 +02:00
jenkins-bot a769340ba7 Merge "QA: add modern assertions to flyout tests" 2014-09-25 20:56:58 +00:00
Cmcmahon 530688aa39 QA: replace hard-coded 7 seconds sleep with poll method
The step formerly know as "I come back from grabbing a cup of coffee"
is replaced by a step that reloads the page a number of times, where
that number may be set by the user.  If the notification has arrived,
the polling stops and the test continues.

In practice with a local browser pointed to beta labs, the
notification is arriving in plenty of time for the first page load
and I do not see the page reloading at all.

Change-Id: I95dd77d4f5525645e46244e40bfcd86e9124f3b1
2014-09-24 15:07:10 -07:00
Translation updater bot de40ed7381 Localisation updates from https://translatewiki.net.
Change-Id: Ieb38149d3e385d9c6cdeba9efae4257df7bed8df
2014-09-24 22:14:51 +02:00
Cmcmahon 8f2681c01b QA update feature descriptions for messages test
Cucumber Scenario and Feature description are just plain text.
Instead of using comments, it is far better to describe in each
test step what should happen in each test step.

I believe I have described these test steps correctly. Please
advise if they need to be tweaked.

(The test itself seems to be fine, but feel free to review that
also)

Finally, since messages.feature uses the "I have no new notifications"
step, I updated those assertions for modern RSpec syntax

Change-Id: Ie884a85c1fc3f7045773a271a8d76fad6b0b3826
2014-09-24 11:50:18 -07:00
jenkins-bot c029539b98 Merge "Don't make the notifications list 5px taller than the screen" 2014-09-23 22:23:53 +00:00
Roan Kattouw e3c4ddc1ae Don't make the notifications list 5px taller than the screen
The max-height of the notifications list was hardcoded to
the height of the window minus 134 pixels. I don't know
where this value came from, but it doesn't seem to take
borders into account. The correct value appears to be
139 in Chrome and 140 in Firefox, so I changed it to 140.

Also, this really really should not be a hardcoded value.
This 140 value can be measured in JavaScript; that's how I
derived it. Even better, oojs-ui has a mixin called
OO.ui.ClippableElement that automatically does this for you
AND automatically adjusts the height when the window is resized
as well.

Change-Id: I17bc2c5333e5c3d5dd720e6bccf8cbbdbb4abe6c
2014-09-23 15:00:21 -07:00
Cmcmahon 4961e32b53 QA: add modern assertions to flyout tests
"Then" steps should always contains RSpec assertions. In the
past this meant using some version of the word "should", but
the modern convention in RSpec is to use "expect()" as I
did here.

Change-Id: I1c438a310803e29c0985328a76d2ec08578e0cb0
2014-09-23 14:14:47 -07:00
Dduvall f6eca28337 Merge "QA: Refactoring and making the nojs test dtrt" 2014-09-23 20:43:27 +00:00
Cmcmahon b3df4d0814 QA: Refactoring and making the nojs test dtrt
* add @custom_browser tag so we don't create an extra browser instance
* remove @chrome tag because this only works in Firefox
* alphabetize within G/W/T buckets in commons_steps.rb
* alphabetize flyout_steps.rb
* bring env.rb up to date with the modern situation
* make assertions about the URL and heading on the final destination page
* update Ruby gems, especially mediawiki-selenium with a @custom_browser improvement
** use modern RSpec assert syntax
*** we're going to have to update all the repos for this soon

Change-Id: I6cb20126a662bd2a20e2b4bbebe91e8f3b04c7df
2014-09-23 13:35:50 -07:00
Translation updater bot 92214c7719 Localisation updates from https://translatewiki.net.
Change-Id: I5a45692477697b24e9174150bed67fa6343846e8
2014-09-23 22:00:50 +02:00
Translation updater bot c973ccd906 Localisation updates from https://translatewiki.net.
Change-Id: I4cbbbbf9b6c1f958c828a0feb917dc9345404d66
2014-09-22 21:44:27 +02:00
Translation updater bot 3cd4e6bbd9 Localisation updates from https://translatewiki.net.
Change-Id: I9688d30c8805aa0228d412efb6800a99b433d59d
2014-09-21 21:56:13 +02:00
Translation updater bot cac254f317 Localisation updates from https://translatewiki.net.
Change-Id: Ibdb68eebd836b1f800f3379b8ee771b5340bcd71
2014-09-20 21:41:01 +02:00
grunny 3093c7a69f Remove use of deprecated "hover" pseudo-event
The "hover" pseudo-event was deprecated in jQuery 1.8 and removed in
1.9. This is logged as "JQMIGRATE: 'hover' pseudo-event is deprecated,
use 'mouseenter mouseleave'". This fix switches to using the .hover()
method which appears to be the original intent as two functions have
been used which .hover() supports, whereas .on() only accepts one
handler. Now the class change works as expected.

Change-Id: Ib28801293b72f8f344455b5f308876d185abc8bd
2014-09-19 03:02:43 +10:00
jenkins-bot 45f450ac52 Merge "QA: refactor for consistent Ruby practice" 2014-09-18 01:28:50 +00:00
Cmcmahon 50790b2965 QA: refactor for consistent Ruby practice
* use symbols not strings for element labels
* use double quotes except where single quotes required

Change-Id: I4eef50206c526611da535e529035c076d5bce266
2014-09-17 16:27:24 -07:00
Translation updater bot d2abb52264 Localisation updates from https://translatewiki.net.
Change-Id: Id3b5692442545c284d3fda8c4959bc4b54c874f1
2014-09-17 22:44:35 +02:00
S Page a1864d71c8 QA: Update selenium-webdriver so Firefox 32 works
I did `bundle update`.
Without this, browser tests on Firefox 32 fail with
`unable to obtain stable firefox connection in 60 seconds
(127.0.0.1:7055) (Selenium::WebDriver::Error::WebDriverError)`

Change I26190cca06ee gave Flow the same update, this Gemfile.lock is
identical except Echo has a "chunky_png" gem.

Change-Id: I0b62134d38f3262b734af83cc58b644040857645
2014-09-16 17:49:38 -07:00
Translation updater bot 01e72b82e6 Localisation updates from https://translatewiki.net.
Change-Id: Ibed94dceebd02a9ab53f898d74c5cbb386eb9cc6
2014-09-16 19:43:22 +02:00
Cmcmahon 7eacda1306 QA: get messages test to pass properly
This is lieu of

https://gerrit.wikimedia.org/r/#/c/159685/

If we merge this patch, we should abandon 159685

Change-Id: I84e0a1df6076a68ee7e97feb929195da9937c412
2014-09-15 11:07:45 -07:00
Translation updater bot eefc096490 Localisation updates from https://translatewiki.net.
Change-Id: If7fcc322db851335bb44cff0b33bd92770878de9
2014-09-15 02:02:46 +02:00
jenkins-bot 8635a9cc9f Merge "Hygiene: Dont quote object property keys" 2014-09-12 23:16:06 +00:00
Erik Bernhardson 8ee843fab5 Hygiene: Dont quote object property keys
Change-Id: I93d669a26f85b4eb5c5e0e06e314b89894f12385
2014-09-12 16:00:07 -07:00
jenkins-bot acce7cc9fb Merge "Hygiene: Alter how initialisation of the overlay works" 2014-09-12 22:59:50 +00:00
jenkins-bot 5bfdd22235 Merge "Hygiene: Convert value to constant and clarify outlier use case" 2014-09-12 22:54:36 +00:00
jdlrobson 4ff74ddd50 Hygiene: Alter how initialisation of the overlay works
Restructure code so MobileFrontend can make use of it
Kill ext.echo.desktop

Change-Id: I984373ba54206d447c54a435dbf60e8f6e814be1
2014-09-12 22:49:51 +00:00
Translation updater bot 8a6c792cb5 Localisation updates from https://translatewiki.net.
Change-Id: Id8f5a320167984b4713eb260c451fc1a4aa4dbbb
2014-09-13 00:45:58 +02:00
bsitu b63e704f79 Add emailsubject as a distribution type
so that we could skip parameters escaping  when formatting email
subject. This is not a great solution but works for now.

Probably should re-think all the use case of echo formatting and
refactor the formatter

Change-Id: Ic1f6aa0f72d637558466db5cb2ee8d36038dd0b2
2014-09-12 20:32:27 +00:00
Erik Bernhardson 0f36db727e Hygiene: Convert value to constant and clarify outlier use case
Change-Id: I7a82fa99b41362368a9f58cfb84241cca97bfb15
2014-09-11 20:07:29 -07:00
Shahyar c0446f683f Set text colors in overlay to mwui light gray, and increase title font size
Change-Id: I24f796df1abee02557db2f4817ad70c227dd8d8f
2014-09-11 19:13:44 -04:00
Translation updater bot 2909923b7e Localisation updates from https://translatewiki.net.
Change-Id: I669e3049416317430a4047dc2f834cccf7b38b01
2014-09-11 23:56:18 +02:00
bsitu b320555cb1 wfDebugLog exception if thrown during formatting
Some exception is not loggable, which won't be logged by
MWExceptionhandler::logException(), we should log it in
the debug log for debugging purpose

Change-Id: I709c45f7e47afacb98be3a869eb5b70660e18f48
2014-09-11 11:37:25 -07:00
jenkins-bot 922990408f Merge "Make plural entries correct" 2014-09-11 11:35:58 +00:00