Commit graph

808 commits

Author SHA1 Message Date
Bsitu 6231a712e3 Revert "Bug 49269: Echo markup adjustments"
This reverts commit 8ff2c4dec3.

Change-Id: I3936c574854640c49689d42586fbddde6a9e45bb
2013-07-02 22:07:16 +00:00
jrobson 8ff2c4dec3 Bug 49269: Echo markup adjustments
separate into multiple ul elements with headings dividing them
This removes need for unnecessary styling rules in mobile web

Change-Id: I8acaef726ea0cc639054cf36d6c3649c7ab25bee
2013-07-02 11:36:02 -07:00
jrobson c2bb2a8fb4 Render dates as headings
Not doing this leads to unnecessary styling in mobile and is more
semantically correct

Bug: 49269

Change-Id: Icbb390b6c807118c1b775aa4f962de06b5f7c091
2013-07-01 21:20:29 +00:00
Raimond Spekking 343d0d9f15 Revert "Localisation updates from http://translatewiki.net."
Overwrites I94aed697e87126ed8ad6d1d416c99bafaa53ac53

This reverts commit 6da25fa480.

Change-Id: I57b3b25130c71d35bf2de0f424a407efd285b6af
2013-07-01 20:10:26 +00:00
Translation updater bot 6da25fa480 Localisation updates from http://translatewiki.net.
Change-Id: I394788f2afa6a8ca67c6753c17a397db2b4504dc
2013-07-01 19:55:51 +00:00
jenkins-bot bed40a6933 Merge "New primary and secondary link behavior for Echo" 2013-07-01 19:38:20 +00:00
Translation updater bot 6e8a9b4879 Localisation updates from http://translatewiki.net.
Change-Id: Ifde159faaca77dec09cbf58c269d04bc7054e40f
2013-06-28 13:56:15 +00:00
kaldari 972e14672f New primary and secondary link behavior for Echo
See https://www.mediawiki.org/wiki/Echo/Feature_requirements#Flyout
and https://www.mediawiki.org/wiki/Echo/Feature_requirements#HTML_single_email_notifications

Also includes some related style changes per Vibha

Also removing feedback link from overlay since it's no longer needed

Change-Id: I94aed697e87126ed8ad6d1d416c99bafaa53ac53
2013-06-27 16:12:16 -07:00
Translation updater bot 334ad33dfe Localisation updates from http://translatewiki.net.
Change-Id: I89b5eeff900cf8396fe4a628e566b8abb54afbb0
2013-06-27 19:54:43 +00:00
jenkins-bot f069514830 Merge "Adding diff link to talk page notifications for email" 2013-06-27 17:53:22 +00:00
Translation updater bot e15082fbc8 Localisation updates from http://translatewiki.net.
Change-Id: Ibda2e386fe73d90c0ac1ae039553c3b3ab775d13
2013-06-26 19:20:54 +00:00
jenkins-bot 0beaa46339 Merge "Cleanup JS" 2013-06-25 23:38:06 +00:00
Translation updater bot 79a00ae32b Localisation updates from http://translatewiki.net.
Change-Id: I9b83977b68f4094824d88a86bacda80eae7e60d2
2013-06-25 19:56:18 +00:00
Translation updater bot 7fda8c7863 Localisation updates from http://translatewiki.net.
Change-Id: I57d3cc466987c3085e4eaf7eeb27e414b8adc6ff
2013-06-24 19:55:04 +00:00
Krenair ab592dad6f Cleanup JS
* Add missing spaces after 'function'
* Remove underscores from identifiers
* Don't use typeof for undefined with local variables and object properties
* API ok/err is deprecated since MediaWiki 1.20 (< 1.22-alpha), use .done and .fail

Change-Id: I5ca3403ee263a0c3e6709618e48e896340952337
2013-06-23 01:25:29 +01:00
Translation updater bot 52730d821a Localisation updates from http://translatewiki.net.
Change-Id: I4aee4cf894e69e8127ef5ca88e0c7d911a6c76f9
2013-06-20 18:58:27 +00:00
Translation updater bot c84c001c9d Merge "Localisation updates from http://translatewiki.net." 2013-06-19 20:42:58 +00:00
Translation updater bot 49056367bd Localisation updates from http://translatewiki.net.
Change-Id: I2db4be13dd77cb3813f30b98d039fd1ecab8c81e
2013-06-19 20:37:10 +00:00
jenkins-bot 7f7143111c Merge "Use mediawiki.api instead of $.ajax" 2013-06-19 20:33:59 +00:00
Krenair 7da252eec4 Use mediawiki.api instead of $.ajax
Change-Id: Iea98b6cb338c8b7ebbf244073bb8fe481e5e7655
2013-06-19 21:31:38 +01:00
Translation updater bot 84f711339b Localisation updates from http://translatewiki.net.
Change-Id: I24a96f1ec7794e65ef4caa2b71f6ab44ca7ba3f8
2013-06-18 20:19:56 +00:00
Erik Bernhardson 34fbeaf8c9 Respect revision suppression within Echo
Update the echo formatter to properly display suppressed revision content

Bug: 48059
Change-Id: Iee3c9a41ad24c66b0e2abdd5f1375ebdbd74314e
2013-06-18 11:00:50 -07:00
bsitu 801bde9ec3 Remove unused global variable and update function return type
Change-Id: I2f6e0388c2d1218e72b70a69b429884b39dc096f
2013-06-17 21:51:43 +00:00
Translation updater bot f45ef10045 Localisation updates from http://translatewiki.net.
Change-Id: Ifdaac3ce63e49aea660297a2127a18db845f6b98
2013-06-17 21:19:04 +00:00
Translation updater bot 67a05affc2 Localisation updates from http://translatewiki.net.
Change-Id: I77012032d9e65ee58cdfc26715e815c0bab541b9
2013-06-16 20:39:45 +00:00
jenkins-bot eb84e56e65 Merge "Never underline the badge" 2013-06-14 23:04:13 +00:00
Erik Bernhardson 052a4818f6 Rename index for sqlite support
SQLite requires unique index names across the full database.  A previous
patch I9b6468221ba6fe501b15c563f3301694262eec65 renamed the index in
echo.sql but forgot to apply the same change to existing databases. This
resolves that mistake.

Change-Id: Ibb629149afd9f4ca55cac613124fce42500aa8f9
2013-06-14 13:14:21 -07:00
jenkins-bot f5a8f1dcc8 Merge "Add overlay hook for user scripts." 2013-06-14 17:57:29 +00:00
Matthew Flaschen ecf7f1f261 Add overlay hook for user scripts.
Bug: 48502
Change-Id: I720d4fe65a6501b552dbef21cb258c027dc18867
2013-06-13 21:27:26 -04:00
Erik Bernhardson 68a4587460 Repairs necessary for echo to support Sqlite
Sqlite's lack of an 'ALTER TABLE CHANGE' statement has prevented echo from
supporting sqlite, and by relation has prevented Echo's unit tests from
running within the foundations jenkins CI environment.  This patch detects
if the database is currently an sqlite database and applies a specially
formulated patch that performs a rename/copy/delete operation to get
the equivilient of an 'ALTER TABLE CHANGE' command. Additionally renames
one index to have a more unique echo-specific name.

Bug: 41987
Change-Id: I9b6468221ba6fe501b15c563f3301694262eec65
2013-06-13 14:34:33 -07:00
jenkins-bot e1be0ace4a Merge "(bug 47666) All system messages should have sender = -1" 2013-06-13 21:09:48 +00:00
jenkins-bot 750cb30c47 Merge "Some more adjustment to timestamp in user timezone" 2013-06-13 20:36:16 +00:00
Translation updater bot 7071f0ca1e Localisation updates from http://translatewiki.net.
Change-Id: I357cc925323acbfdc2f5f3ce49300ac56b17374e
2013-06-13 19:30:01 +00:00
bsitu 12fa60fa23 Some more adjustment to timestamp in user timezone
* The timestamp used for loading more should always use UTC timestamp since
  that's the format saved in the database

Change-Id: I249725a6972b95dddd9074ffe08343b1a805c111
2013-06-13 11:32:06 -07:00
jenkins-bot a334ca1350 Merge "LIMIT is not a supported DatabaseBase::update option" 2013-06-13 17:24:21 +00:00
kaldari d43e19cb51 Adding diff link to talk page notifications for email
We'll also be adding diff links for the flyout and archive, but
not in this change.

Bug: 48183
Change-Id: Iacd269a489c93b4fc4d28306915658fad372f50d
2013-06-12 23:36:07 -07:00
bsitu 09c531a11f (bug 47666) All system messages should have sender = -1
Change-Id: I0f7458b0e76c600c6bb383bd320b483adfd76d98
2013-06-12 19:26:57 -07:00
kaldari 0fd7915801 Switching to short date headers based on user prefs (and timezone)
This change will allow people to switch between 'May 10' and
'10 May' as requested in bug 47211. It also now corrects for the
user's timezone settings.

Bug: 47211

Change-Id: I7c5eae52857fac2d82ff1cb0b10864a1e1b30b6a
2013-06-12 17:45:40 -07:00
jenkins-bot aa5771bceb Merge "Remove quote around javascript object property name" 2013-06-12 21:59:10 +00:00
jenkins-bot 8d02205b16 Merge "Preventing FOUC on Special:Notifications page" 2013-06-12 21:20:23 +00:00
kaldari 1bfe147708 Preventing FOUC on Special:Notifications page
To prevent flash of unstyled content.

Bug: 49496
Change-Id: I6a7bf510256a84ef7ad0ec9cd03d1ccae1fe149c
2013-06-12 14:10:56 -07:00
bsitu 0947cfda34 Update mention notification threshold from 300 to 100
Change-Id: Iab02b076e4463d61a2986f16f1a756c48ecde0a6
2013-06-12 13:59:02 -07:00
bsitu 01e244c8a3 Remove quote around javascript object property name
Change-Id: I5cc7f4179066ab694a67d4c578ed4a562f533ade
2013-06-12 10:51:55 -07:00
kaldari 0558ab1571 Calling functions explicitly due to context
When I changed mw.echo.special.initialize to be called as a
callback from $( document ).ready(), rather than being called
explicitly from the closure, it changed the context, which got
assigned to _this. This broke some of the function calls.

Change-Id: I602a58a82ee91646901d0ab1c8b7bb4b22b3437a
2013-06-11 18:01:41 -07:00
jenkins-bot 0f62158d03 Merge "Don't run mw.echo.special.initialize until DOM is ready" 2013-06-11 21:24:43 +00:00
kaldari 902ce9cc04 Don't run mw.echo.special.initialize until DOM is ready
To fix rare race condition in Safari

Change-Id: I2ae556ff6e44f291e761d2937203a3376f4a3177
2013-06-11 14:20:08 -07:00
Translation updater bot adc5068158 Localisation updates from http://translatewiki.net.
Change-Id: Id52377dd92b94aa2495cef47b30766cde1c55425
2013-06-11 20:53:05 +00:00
jenkins-bot dc6e8394fc Merge "Add clickthrough eventlogging to Echo" 2013-06-11 17:53:00 +00:00
bsitu 6ffc1cac4b Add clickthrough eventlogging to Echo
Change-Id: I3d05d1aeca92f9a0265a522cc5027ae18394c5b4
2013-06-11 10:46:41 -07:00
jenkins-bot 8d358ac16b Merge "(bug 49142) Notifications Productivity A/B Test" 2013-06-11 00:24:23 +00:00