Commit graph

154 commits

Author SHA1 Message Date
idradm 508635c08f DAT-4018 make europa theme solely var dependent 2016-03-29 12:31:03 +02:00
Rafal Leszczynski 677b272351 add pi-europa class to infobox if europa is enabled 2016-03-29 12:12:11 +02:00
idradm af041c9196 DAT-3934 provide a way to decide on image size while infobox rendering 2016-03-17 10:37:18 +01:00
Rafal Leszczynski 604e9da6df DAT-3937, remove special case for europa thumbnail width 2016-03-14 10:36:08 +01:00
Rafal Leszczynski 5c75f627a2 DAT-3937, set different image width for europa theme only 2016-03-14 08:57:58 +01:00
Bogna Knychala 402d4e3c8c XW-41 add template to experimental image collection 2016-02-15 18:44:02 +01:00
Tomasz Napieralski 2e5f90f543 hide changes after flag 2016-02-08 15:57:57 +01:00
Tomasz Napieralski 1b2a5bb417 use SEO friendly images for mobile in infoboxes 2016-02-05 18:02:02 +01:00
Sebastian Marzjan 168bf09348 DAT-3621 Unified tests for hero image and regular caption
* Disable sanitization on Oasis
* Handle previously unsupported case of nested tag ( <b><a></a></b> )
* Unify test formatting
* Change list handling (yes, I am not proud of that)
2016-01-12 09:21:21 +01:00
Sebastian Marzjan 0ce0b500fe Use the Builder for Sanitizers.
Cover the sanitizer build step in tests too
2015-12-28 12:04:36 +01:00
dianafa 8afcb73d10 move sanitizers to a separate folder 2015-12-23 15:54:03 +01:00
dianafa ed73d4f525 move sanitizing to PortableInfoboxRenderService 2015-12-23 13:20:55 +01:00
dianafa 0de509246f add caption sanitization in getImageData 2015-12-23 11:20:39 +01:00
Diana 49feb54689 change method name to sanitizeInfoboxFields and refactor 2015-11-05 13:21:20 +00:00
dianafa 649895d4cf change variable names and add missing PHPdocs 2015-11-03 17:19:29 +01:00
dianafa 653a64942d change function invocation in RenderService 2015-11-03 16:13:45 +01:00
Inez Korczynski 3d05ec1758 VE-1994: Add appropriately pi-collapse and pi-collapse-[open|closed] CSS classes to PI groups wrappers 2015-10-26 21:59:34 +00:00
Inez Korczyński 9733548c0d Merge pull request #8840 from Wikia/VE-1961
VE 1961: Render image collection tabs in infobox
2015-10-22 11:23:43 -07:00
Paul Oslund f9055fe97c VE-1961: Handle multiple image collections in infobox 2015-10-21 02:55:23 +00:00
Paul Oslund d097426242 VE-1960: Template for mobile image collections 2015-10-20 23:09:23 +00:00
Inez Korczynski a692e008b3 VE-1975: Modified NodeImage to return array of images instead of one image
Added support for <tabber>
Hero image still works correct
2015-10-16 01:15:52 +00:00
Diana Falkowska dfe25a33df remove newline 2015-10-07 15:12:56 +02:00
Diana 00360174b5 add context to proper field 2015-10-07 09:42:38 +00:00
dianafa 33414c3dbb change hook name and move context to PIRenderService 2015-09-30 10:10:31 +02:00
Diana ff16c2346f change order 2015-09-28 16:42:27 +00:00
dianafa 4536458992 move hook to render service 2015-09-28 17:46:40 +02:00
Rafal Leszczynski 96129feb6b add support for horizontal group in mercury 2015-09-04 17:30:54 +02:00
Rafal Leszczynski 3a1eed4a25 Revert "add support for horizontal group on mercury"
This reverts commit 720be436cab4d8a7492913f1b5efd8cd481f4fcf.
2015-09-04 17:29:59 +02:00
Rafal Leszczynski ab579bb0a8 add support for horizontal group on mercury 2015-09-04 17:26:18 +02:00
idradm 1dd65e803c DAT-3147 change formatting 2015-08-27 10:47:43 +02:00
idradm af0d7821a4 DAT-3147 make render service use getTemplates method 2015-08-27 10:46:38 +02:00
idradm 9b020ee4fb DAT-3147 assets entry point added 2015-08-27 10:30:25 +02:00
Rafal Leszczynski f59fd6b69f refactor and simplify portable infobox templates and desctip styling 2015-07-29 17:17:20 +02:00
Rafal Leszczynski 07aca42051 Merge branch 'DAT-3003-cleanup-feature-branch' into DAT-3004-simplify-infobox-classes 2015-07-29 15:32:52 +02:00
Rafal Leszczynski a2680407f3 fix error after solving merge conflicts 2015-07-29 15:22:28 +02:00
Rafal Leszczynski 9ecc835603 Merge branch 'dev' into DAT-3003-cleanup-feature-branch 2015-07-29 15:04:51 +02:00
Rafal Leszczynski c773f43c9c address CR comments 2015-07-29 13:51:55 +02:00
Rafal Leszczynski 22371f6bf3 change render service helper fron singleton to instantiable class and refactor tests 2015-07-28 16:13:36 +02:00
Rafal Leszczynski 1324073ccb move helper methods from render service to separate class and refactor tests in progress 2015-07-28 13:51:30 +02:00
Rafal Leszczynski a32bb6831c change the template and styling for horizontal groups 2015-07-28 11:46:41 +02:00
Rafal Leszczynski 74c65d179a fix whitespaces 2015-07-27 12:59:57 +02:00
Rafal Leszczynski bc22980d2a Merge branch 'dev' into DAT-3025 2015-07-27 11:39:40 +02:00
dianafa 654b8da8ce merge with dev 2015-07-22 15:28:39 +02:00
Diana cf22303f9d don't render image inside hero module title 2015-07-21 23:13:28 +00:00
Rafal Leszczynski 13a39b3165 add logic for video rendering in infobox 2015-07-21 16:29:46 +02:00
Diana e8bfd73381 change MAIN to PLATFORM ticket 2015-07-21 12:11:36 +00:00
Diana d12cea9be6 add comments TODO 2015-07-21 12:02:51 +00:00
Diana fe85628f0e fix logic & tests 2015-07-21 11:33:24 +00:00
Diana 6425ac0299 move sanitizeInfoboxTitle to renderService 2015-07-20 13:00:35 +00:00
Diana 225321ca8a refactor & test update 2015-07-20 09:52:32 +00:00
Diana 57279eb5da fast fix, test will not pass but works 2015-07-17 16:02:24 +00:00
Diana ece0d06c84 render hero module only for images big enough 2015-07-17 13:43:08 +00:00
Diana 403ff30d2a fix tests after merge 2015-07-16 11:21:20 +00:00
dianafa 2e0e607b73 merge with dev 2015-07-16 13:06:17 +02:00
Diana e0bc6c0087 update returned type 2015-07-11 10:59:56 +02:00
Diana 837b67bbb3 fix functionality of renderImage 2015-07-10 12:10:03 +00:00
Diana b1e13f6a4e add else 2015-07-09 16:06:22 +00:00
Diana 238a28a071 mock methods 2015-07-09 13:50:12 +00:00
dianafa af231a3226 refactor 2015-07-08 18:31:56 +02:00
dianafa d830ded77d refactor and add PHPdoc 2015-07-08 13:22:12 +02:00
dianafa e2aeb56cff add width and height attrs 2015-07-07 16:28:53 +02:00
dianafa bf790b3322 Merge branch 'dev' into DAT-2909 2015-07-06 18:46:02 +02:00
Sebastian Marzjan 86bfcc7592 Cherry-picking 9eb06cc 2015-07-03 12:16:18 +02:00
idradm 1ba1378d6b DAT-2909 syntax fix 2015-07-03 12:05:59 +02:00
idradm e065533850 Merge remote-tracking branch 'origin/dev' into DAT-2909
# Conflicts:
#	extensions/wikia/GameGuides/assets/GameGuidesAssets.json
#	extensions/wikia/PortableInfobox/services/PortableInfoboxRenderService.class.php
2015-07-03 10:51:32 +02:00
idradm 339c7e97f0 DAT-2909 formatting 2015-07-02 13:55:39 +02:00
Rafal Leszczynski 22b1846820 move image data extend logic to separate method 2015-07-01 18:03:34 +02:00
idradm 26269c9150 DAT-2940 rename footer tag to navigation 2015-07-01 16:19:31 +02:00
Rafal Leszczynski 8afbf3a45d add logic for rendering hero component inside infobox 2015-07-01 15:18:20 +02:00
Rafal Leszczynski 26912d1bb6 clean up thumbnail creating logic for portable infoboxes - special case for Vignette no longer needed 2015-06-22 17:45:44 +02:00
Rafal Leszczynski f569991469 Merge pull request #7488 from Wikia/DAT-2857
DAT-2857 Horizontal group
2015-06-12 15:23:44 +02:00
dianafa 76b4b3fbb7 change theme to layout 2015-06-10 17:24:49 +02:00
dianafa 6e8518637c working class assigment 2015-06-09 13:37:03 +02:00
Diana 7342ffbeb0 add tests and functionality 2015-06-03 13:48:44 +00:00
Diana bcf9f59b0e missing bracket 2015-05-26 11:07:33 +00:00
Diana 47994ffdb3 merge with dev 2015-05-26 10:57:00 +00:00
Diana 2085bc69a7 Revert "merge with dev"
This reverts commit b369971b4cc0d219803eb94382f02f154ac430a6.
2015-05-26 10:53:38 +00:00
Diana 01ccae3e79 merge with dev 2015-05-26 10:51:41 +00:00
Diana 8e1834c810 unify the file creation method 2015-05-25 11:02:35 +00:00
Diana ff623260e7 refactoring 2015-05-22 16:30:33 +00:00
Diana 72c1fd06ab refactoring 2015-05-22 16:25:21 +00:00
Diana 9d1c6031cd whitespaces2 2015-05-22 15:46:54 +00:00
dianafa c3073c0b17 whitespaces 2015-05-22 17:34:12 +02:00
dianafa 4525aea3e5 suppord old img provider 2015-05-22 17:27:20 +02:00
Rafal Leszczynski af79107afd Merge branch 'dev' into DAT-2812 2015-05-22 16:32:02 +02:00
Rafal Leszczynski 8c0edf4b16 Merge pull request #7253 from Wikia/DAT-2811
DAT-2812 add custom theming
2015-05-22 12:31:31 +02:00
Rafal Leszczynski 8cb897bb00 add todo comment about generating thumbnail 2015-05-21 13:20:57 +02:00
Rafal Leszczynski 4a61928991 remove issues after cherry-picking 2015-05-21 12:13:34 +02:00
Rafal Leszczynski abb9f4499a prevent image upsampling in infobox 2015-05-21 12:07:40 +02:00
Rafal Leszczynski 861dcf833b add htnl escaping before rendering + add additional tests for render service 2015-05-20 13:56:56 +02:00
Adam Robak 77679f2b9f DAT-2812 add custom theming 2015-05-19 17:20:15 +02:00
Rafal Leszczynski 7331f2640f add mobile image template 2015-05-12 13:32:42 +02:00
Rafal Leszczynski e97750a3bc add different size of thumbnail for mobile 2015-05-07 17:16:07 +02:00
jacek 5126ac630d remove isempty checks in render service 2015-05-07 15:25:26 +02:00
jacek 0a5908775c typo fix 2015-05-07 15:01:48 +02:00
jacek a65ff09246 tests 2015-05-07 14:36:30 +02:00
Rafal Leszczynski eca796b4ce add todo comment for image render logic 2015-05-06 16:31:57 +02:00
Rafal Leszczynski fc1db8f15a call proper vignette scaling method 2015-05-06 16:21:11 +02:00
Rafal Leszczynski 7b852d80b4 add missing thumbnail width cont 2015-05-06 16:16:16 +02:00
Rafal Leszczynski 7221cfacb9 add thumbnail url to image data 2015-05-06 16:02:44 +02:00