bsitu
669080b376
Add profiling to Echo notification API
...
Change-Id: I427622aa67037e33eabab02c0adf13a2abf59377
2014-08-27 17:26:58 -07:00
jenkins-bot
e39c521750
Merge "Fallback to master lookup for title when lookup in slave fails"
2014-08-27 22:52:35 +00:00
jenkins-bot
15a6ad6591
Merge "Specify which event type to use job queue"
2014-08-27 21:08:25 +00:00
Translation updater bot
7f1bc64b08
Localisation updates from https://translatewiki.net .
...
Change-Id: I8a66fe58b9ca3c9648f47f4a7dd457818f2d133a
2014-08-27 21:23:38 +02:00
bsitu
65bb14b33e
Specify which event type to use job queue
...
This will allow us to specify which notifications to use job queue
Change-Id: I7bf576acf332f5344b35188b5262df2319d15b79
2014-08-27 11:39:53 -07:00
Cmcmahon
c982b0a4fa
QA: update to fix deprecated API token call
...
Change-Id: I8046af1add07e26e40fc000a9feeab65b75e4b68
2014-08-27 08:57:45 -07:00
bsitu
cb971c4ca0
Fallback to master lookup for title when lookup in slave fails
...
Bug: 69913
Change-Id: I5d6a4ec750dc8438c92c9e70c36554ff7dbc97f1
2014-08-26 22:33:28 +00:00
bsitu
17828f7953
Continue offset is missing in the read API
...
When the notification is retrieved without unread first,
it should have a continue offset for next batch of loading
Change-Id: I101990faaf9ed3e3786805aff3906b846d62f612
2014-08-26 13:12:22 -07:00
Translation updater bot
f9701b360f
Localisation updates from https://translatewiki.net .
...
Change-Id: I9a2b2ad53ac74bd8b964b57c4d25f12d02a043ce
2014-08-26 21:47:56 +02:00
Reedy
7859b148ce
Fix Call to protected method EchoNotificationController::isWhitelistedByUser()
...
Change-Id: I1f53172d70785c1d4def400b785442e7512ec92c
2014-08-26 19:58:34 +01:00
jenkins-bot
d807d9f62e
Merge "Hygiene: Move notification type detection to method"
2014-08-25 22:06:17 +00:00
jenkins-bot
e8fbe64853
Merge "Hygiene: Move master/slave code to MWEchoDbFactory"
2014-08-25 21:50:02 +00:00
Translation updater bot
15d75c4cdb
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie90d4c91f61c667d76bf992d5f09aa4aee792a30
2014-08-23 21:53:16 +02:00
bsitu
db218b9e1f
Set UnitTestsList hook run against files inside tests/phpunit
...
All php unit tests are inside this directory
Change-Id: Ib5ac7c31bf08e68dbc5f66b9fb06e150569e7104
2014-08-22 17:39:00 -07:00
bsitu
f29f7303d1
Make timestamp in consistent format after loaded from database
...
Notification timestamp is generated in MW format (YYYYMMDDHHMMSS)
inside the model and saved to the database in db specific format,
We need to convert it back to MW format when loading the data
from the database, it just happens that MW format is the same
as MySQL timestamp format
Change-Id: Ie881b66c8c24d57a8933c0153e9e7db5fe6aa017
2014-08-22 15:53:51 -07:00
jenkins-bot
979b3e6425
Merge "Revert "Make timestamp in consistent format after loaded from database""
2014-08-22 21:52:02 +00:00
Bsitu
271d192f69
Revert "Make timestamp in consistent format after loaded from database"
...
It should handle NULL
This reverts commit 31a986bebd
.
Change-Id: I202a7c6f8deaf0b6bbf3af1981f4f25077e916db
2014-08-22 21:50:34 +00:00
Erik Bernhardson
ae3b1f2944
Hygiene: Move notification type detection to method
...
* Moved most of the content from notify to getEventNotifyTypes
* Added phpunit test verifying per-event config overrides defaults
* Remove special-snowflake welcome handling with proper configuration
Change-Id: Ic1aae11d37f23f2b7b8abe3c1edaa414e29be021
2014-08-22 14:05:47 -07:00
Erik Bernhardson
57130aadf1
Hygiene: Move master/slave code to MWEchoDbFactory
...
Change-Id: I1b36bab2126b12359b00c5623885117ef17d0768
2014-08-22 14:01:57 -07:00
jenkins-bot
620c063910
Merge "Make timestamp in consistent format after loaded from database"
2014-08-22 18:11:00 +00:00
bsitu
31a986bebd
Make timestamp in consistent format after loaded from database
...
timestamp is generated in MW format (YYYYMMDDHHMMSS)
for notification but it's
loaded into model in the database specific format. We just need
to convert it back to MW format, it just happens that MW
format is the same as MySQL timestamp format
Change-Id: I1f7f2aeb32b63d47e92631d6daa711d9c32e4017
2014-08-22 18:09:39 +00:00
jenkins-bot
6bd1dc99b7
Merge "efLogServerSideEvent is deprecated"
2014-08-21 23:06:01 +00:00
bsitu
092127726b
Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/
...
Change-Id: I4867d09bb815d621f9feaaf7b8a541e5d817e0d2
2014-08-21 22:58:27 +00:00
Matthias Mullie
411f0151dc
efLogServerSideEvent is deprecated
...
Change-Id: I3fb95ff95dd9371d55285e64a37b32cec35b029a
2014-08-21 15:19:27 +02:00
jenkins-bot
9e71c87d5b
Merge "QA: Add missing browser test steps"
2014-08-21 07:05:36 +00:00
jdlrobson
5c73416b4c
QA: Add missing browser test steps
...
Change-Id: I3a54902ae1cf2d2b7263243722bb0b7f57bcba95
2014-08-21 00:02:42 -07:00
Translation updater bot
3e226df165
Merge "Localisation updates from https://translatewiki.net ."
2014-08-20 20:45:05 +00:00
Translation updater bot
a98d18221d
Localisation updates from https://translatewiki.net .
...
Change-Id: I3d4ec6676475c969edb465fc64f418b415a236ee
2014-08-20 22:25:56 +02:00
jenkins-bot
abb7655297
Merge "Add support to retrieve unread + read notifcations for section"
2014-08-20 17:37:51 +00:00
bsitu
8e2de3f02b
Add support to retrieve unread + read notifcations for section
...
Change-Id: Ife3750400315f545f5f3e54ac9847f56c2efe9be
2014-08-19 16:54:48 -07:00
jenkins-bot
eb74ba01a5
Merge "Reset per-user notify types for each user"
2014-08-19 23:29:58 +00:00
jenkins-bot
b392deda1d
Merge "Delete invalid records from echo_target_page"
2014-08-19 22:29:37 +00:00
jenkins-bot
6ae565e1e8
Merge "[5] Code cleanup and miscellneous fix"
2014-08-19 22:20:14 +00:00
jenkins-bot
715ad180a2
Merge "Hygiene: Mega clean up the Echo footer code"
2014-08-19 20:25:04 +00:00
jenkins-bot
5f27ea2c8d
Merge "Add waitForSlave() wrapper function to Echo Database wrapper"
2014-08-19 20:16:18 +00:00
Erik Bernhardson
768d0fc513
Reset per-user notify types for each user
...
The code was passing the notifyTypes in the hook for each user, but
the second user would get passed whatever made it through the first
user.
It is unlikely this is intended. Give each user a fresh set of the
configured notify types.
Change-Id: I13059d380ea54c71cd1c062fd803897f5e5ad2b8
2014-08-19 18:58:44 +00:00
jenkins-bot
8d5421c9cb
Merge "Fix line height/size of notifications"
2014-08-19 18:55:10 +00:00
bsitu
b35f27c291
Delete invalid records from echo_target_page
...
Remove the records:
* If a page is no longer valid
* If a notification somehow has been read
* If a notification is no longer a bundle base and has not been removed
Change-Id: I282568691d6649c6e3263aea598c3bba29119a29
2014-08-19 11:34:01 -07:00
jenkins-bot
e11614bc85
Merge "[4] Add revision local cache holder object"
2014-08-19 17:58:28 +00:00
bsitu
25d6d71a61
[5] Code cleanup and miscellneous fix
...
* cache function result in local variables
* Update the logic of generating notification date header
Change-Id: I04c3ed853076f17c819da8f27bfdb169e99b2a3a
2014-08-19 17:58:07 +00:00
jenkins-bot
bda4fd83a6
Merge "[3] Use title local cache to cache title object"
2014-08-19 17:57:29 +00:00
jenkins-bot
51dda5473c
Merge "[2] Add title local cache holder objects"
2014-08-19 17:57:22 +00:00
bsitu
55fb42b681
[4] Add revision local cache holder object
...
Change-Id: I85f68b3ca269c711a8a177e013bd8eba38833444
2014-08-19 10:28:38 -07:00
jenkins-bot
4ec639ec50
Merge "[1] Make title lazy loaded in EchoEvent"
2014-08-18 22:41:23 +00:00
bsitu
f781a594d4
Add waitForSlave() wrapper function to Echo Database wrapper
...
Plus a couple of comments update
Change-Id: I1678cd1cfde88806a15b280532ecfc6cf2672e38
2014-08-18 15:00:46 -07:00
jdlrobson
75cda20a31
Hygiene: Remove unused directory
...
Let's not use old unused things lying around... it just confuses
people.
Change-Id: I30cecb58fbdce0129e0385be3680ca4a2c6c36f8
2014-08-18 21:11:19 +00:00
bsitu
49350a5b52
[3] Use title local cache to cache title object
...
Change-Id: Ibfbe99be8ebf3ca8d7241e4ed991a183bd0e3f27
2014-08-18 14:09:15 -07:00
bsitu
1270da19e8
[2] Add title local cache holder objects
...
Core titleCache doesn't do what I expect it to do, issuing
Title::newFromId( 1 ) mulitple times would issue multiple
idential queries to the database. It doesn't return what's
already in the cache.
The goal of this patch is to batch load titles via newFromIDs,
and save the number of mysql queries
Change-Id: I8fe767ac2669e67bdf7d17eecccfc0dcb6b5fc7d
2014-08-18 13:52:40 -07:00
Translation updater bot
1242f6ec12
Localisation updates from https://translatewiki.net .
...
Change-Id: I81dfe6ab41bf2291cd2ec89a43babda8e980e5d2
2014-08-18 22:38:11 +02:00
Cmcmahon
37812e4bab
QA: add test2 tag for Jenkins builds
...
Change-Id: I3d5195e58ac4f617baa358624543ffdfdc8fb7bd
2014-08-18 10:44:00 -07:00