Commit graph

1607 commits

Author SHA1 Message Date
Željko Filipin 57241c6867 Prepare repository for running RuboCop after every push to Gerrit
For now ignoring all problems.

Bug: 69245
Change-Id: I0e411fba725ecd9aea0ef9d40a145efb62bbf0fa
2014-10-21 12:59:54 +02:00
Translation updater bot 973e21cbfe Localisation updates from https://translatewiki.net.
Change-Id: Ib1511b38cadbf8a420d20ade665e55816045a26f
2014-10-20 22:25:05 +02:00
jenkins-bot d495389a1c Merge "Use MailAddress::newFromUser()" 2014-10-20 17:25:11 +00:00
Translation updater bot 3d91ac75a4 Localisation updates from https://translatewiki.net.
Change-Id: Iee9a14896bf4b7e772725caf5c55f3dc29035d99
2014-10-19 22:05:05 +02:00
Translation updater bot 1688269aff Localisation updates from https://translatewiki.net.
Change-Id: Iee7638b8b30ed07c863929a1fe0ad7be5939691f
2014-10-17 21:14:46 +02:00
jenkins-bot b6ea35e743 Merge "SpecialNotifications: Use a constant" 2014-10-16 05:16:13 +00:00
jenkins-bot eb89852cc6 Merge "Remove unused global" 2014-10-16 05:16:11 +00:00
Translation updater bot f70d159e49 Localisation updates from https://translatewiki.net.
Change-Id: Ia97343862bf8b875a7c412e021dc8c18c3bcae88
2014-10-15 22:05:13 +02:00
Translation updater bot 0776410395 Localisation updates from https://translatewiki.net.
Change-Id: Ibf540e88dcbb620ffdefeda57558e9e08764ea04
2014-10-13 21:52:27 +02:00
Translation updater bot 833fcb5dc8 Localisation updates from https://translatewiki.net.
Change-Id: Ia95e798303db59beef7b3b02ba3b6c7ae5da9c9f
2014-10-12 22:15:35 +02:00
Translation updater bot 795c39489d Localisation updates from https://translatewiki.net.
Change-Id: I411fd5e1984e8b3fc1f0aedb249f08d7b1ba655a
2014-10-11 22:43:39 +02:00
Kunal Mehta 22a88919af SpecialNotifications: Use a constant
Change-Id: I318f6813caa3c63529d66c646a3d8e4e642bd1a7
2014-10-11 12:15:30 -07:00
Kunal Mehta e91e8fcab8 Remove unused global
Change-Id: I135730c0aa875d4bdb28e832043dfccfefbacd1e
2014-10-11 12:12:59 -07:00
Translation updater bot 6e6fd4ba1a Localisation updates from https://translatewiki.net.
Change-Id: I13acec9045096b7d45bad4b337d836e752f6e59a
2014-10-10 21:59:05 +02:00
Translation updater bot 101c801e0f Localisation updates from https://translatewiki.net.
Change-Id: I3e90871c76ecd2c284e255b2e2950be775d28f4c
2014-10-09 21:18:52 +02:00
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
Kunal Mehta d196cbf94e Use MailAddress::newFromUser()
Change-Id: I7c6ce9aade27dae66732274979d8baa9eeb0b17c
2014-09-21 18:25:14 -07: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