Commit graph

603 commits

Author SHA1 Message Date
addshore 96709fa847 Bump requirement to MW 1.25+
Due to If4044c38756f96d123cea105312a1863d8b17053

Change-Id: I28f703942e7f6aef15f65680b9f6c6c21f1c1741
2017-01-06 14:41:28 +00:00
MtDu aefde7909b Migrate away from UtfNormal in core to external UtfNormal library
In MediaWiki version 1.25, the UtfNormal library was split into a separate wikimedia/utfnormal package.
This patch changes the code to reflect this change.

Bug: T153994
Change-Id: If4044c38756f96d123cea105312a1863d8b17053
2017-01-06 07:58:51 -06:00
Translation updater bot 2976e57446 Localisation updates from https://translatewiki.net.
Change-Id: I988c18698edfe89f5220beb463f3200b8b41fb26
2017-01-04 22:36:15 +01:00
Reedy bd56120d50 Replace Job::batchInsert() call with JobQueueGroup::singleton()->push()
Decrease indenting

Change-Id: Ib8c91a6ebf9a7addba3f98300f604ee1b433d5a2
2016-11-30 00:10:58 +00:00
Translation updater bot d2d7707e02 Localisation updates from https://translatewiki.net.
Change-Id: Ie6638655a40ff566a424b7d6ef97cac78b34d4e5
2016-11-20 22:20:13 +01:00
Chad Horohoe cb4cbb3c7d Whoops, track not trace
Change-Id: I54e72475e69e38c6cef5e66ca2878d95f0ac4e57
2016-10-24 17:03:15 -07:00
Chad Horohoe b41844d3f0 Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I0dc5b11b1996bebb39920f933fe0b99647dc25e4
2016-10-24 16:38:07 -07:00
Translation updater bot aafee4cbe0 Localisation updates from https://translatewiki.net.
Change-Id: If38e68f97f0526ce5485e7b475296e6debc98ab4
2016-10-24 22:48:12 +02:00
Aaron Schulz fc5ca3c58c Add page dimension caching and avoid metadata tree loading use in doTransform()
Bug: T147296
Change-Id: Ic27f0797317f3467305f953ca6b7ae729a566041
2016-10-04 21:52:10 -07:00
Translation updater bot 62b516aae6 Localisation updates from https://translatewiki.net.
Change-Id: Ied53b2d37c2d3101a5beed655200a5c6092deac6
2016-09-19 22:59:12 +02:00
Translation updater bot a526e649b6 Localisation updates from https://translatewiki.net.
Change-Id: I913e1deb6d832436f5cbaa3d233994f6c731d4d8
2016-09-14 22:36:29 +02:00
Translation updater bot 7f4ebd2ec6 Localisation updates from https://translatewiki.net.
Change-Id: Icfe7611f94f37e14d07a920fdb58e92913e6e930
2016-09-13 22:54:26 +02:00
Translation updater bot 46320e9a0b Localisation updates from https://translatewiki.net.
Change-Id: Ib8eab5ad06341fa4a5e2ff977e7e35a903a8f687
2016-09-04 00:23:47 +02:00
Brian Wolff e1d584ec6c SECURITY: Add -dSAFER to ghostscript as a hardening measure
-dSAFER disables certain scary features of ghostscript
(like arbitrary file access). Its primarily about postscript
security, but enable it for pdfs to be safe.

Bug: T136402
Change-Id: I0ab37ddb5d134334e975bc07d3b9ba7bfc7a5659
2016-08-23 04:30:52 +00:00
jenkins-bot b3a126f55e Merge "Cast width, height, page to int as paranoia measure" 2016-06-21 20:01:21 +00:00
Translation updater bot 98a4be4ad6 Localisation updates from https://translatewiki.net.
Change-Id: I748806ae56df1ee07ea5d3b32c44456218e0b956
2016-06-13 22:58:45 +02:00
Brian Wolff e0ad7bd13d Cast width, height, page to int as paranoia measure
Everything is properly escaped so it doesn't matter, but as an
extra bit of safety, cast width/height/page to int, in order to
ensure under no circumstances would something unexpected be fed
to ghostscript.

Change-Id: I961a3dae5801dd116e1cb6c93808d49268d1e81e
2016-06-13 04:56:31 -04:00
Translation updater bot 335bda1e9c Localisation updates from https://translatewiki.net.
Change-Id: I8994dfdbafcc84d54979f6b3d365dcd185795548
2016-06-11 22:23:21 +02:00
Translation updater bot 0a1037b41f Localisation updates from https://translatewiki.net.
Change-Id: I6d5131c10154d69f80374edf4d050cf5c417652b
2016-06-10 22:19:01 +02:00
Gergő Tisza 8485da0531 Update mediawiki_api gem to 1.7.1
Required for selenium test compatibility with AuthManager

Bug: T135884
Change-Id: I94e8ec91aa211af94730ad5e5e3fd9abf22751f7
2016-05-26 12:36:56 +02:00
jenkins-bot d1818f2022 Merge "Migration of browsertests* Jenkins jobs to selenium* jobs" 2016-04-25 17:47:18 +00:00
Željko Filipin cb64fbb338 Migration of browsertests* Jenkins jobs to selenium* jobs
selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.

Bug: T128190
Change-Id: I84ba37fd3b93ef11156a84ef45de01159af60042
2016-04-25 19:28:51 +02:00
Translation updater bot 2c30bdd0a7 Localisation updates from https://translatewiki.net.
Change-Id: Id89580b446dc204fc28f387efe1487162ec011ea
2016-04-16 23:14:10 +02:00
Translation updater bot 7a71a44237 Localisation updates from https://translatewiki.net.
Change-Id: I755707af4736440c24954f34de5ec149078af0d2
2016-04-14 22:37:20 +02:00
Translation updater bot 4c1796f360 Localisation updates from https://translatewiki.net.
Change-Id: If28cb0be0cc956060bdefcae11af1842940cbc59
2016-03-27 21:21:37 +02:00
Translation updater bot 948d6372a7 Localisation updates from https://translatewiki.net.
Change-Id: Iad8d9c5a343a2a8a481ffb403c1a1fd175fae247
2016-03-05 22:59:14 +01:00
Translation updater bot 3cac240d8a Localisation updates from https://translatewiki.net.
Change-Id: I40479c2c17ff479812daf676158136c32de58e3d
2016-02-28 21:59:05 +01:00
Translation updater bot a562f60bea Localisation updates from https://translatewiki.net.
Change-Id: I24ab044d7f947ec59db39fbf79c0767682586141
2016-02-24 22:02:13 +01:00
Translation updater bot d1b1920bb3 Localisation updates from https://translatewiki.net.
Change-Id: I4d04f4c8b98742b93109384c409a7f90dbd108e0
2016-02-03 23:08:06 +01:00
Translation updater bot 5ee24f3940 Localisation updates from https://translatewiki.net.
Change-Id: Ia9a7a8035df2b5d9b1cee71d663843f941bfa0eb
2016-01-28 21:09:38 +01:00
Dan Duvall 916d753d54 QA: Target testwiki instead of test2wiki
It was proposed that test2wiki be shut down, and this is one of the few
remaining test suites that runs against it.

Change-Id: I48acf0f4ec7be40e1aead81b2c12516ae43b1336
2016-01-27 15:53:09 -08:00
Dan Duvall a37aa7f6d9 QA: Upgrade mediawiki_selenium to version 1.6.5
The new version includes a fix to the SauceLabs job URL in JUnit
log output.

Bug: T114241
Change-Id: Iaf5b653476202017b826af0f96919e118aa823be
2016-01-27 14:40:04 -08:00
Translation updater bot ab4676d398 Localisation updates from https://translatewiki.net.
Change-Id: I385077a4827169c35925bbc151b1c74d6bf5f625
2016-01-27 21:43:26 +01:00
Kunal Mehta c2acb173cd build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I1e3254a6d42cac4b169d54db02b53421b368907d
2016-01-05 10:39:09 -08:00
Translation updater bot 270463e954 Localisation updates from https://translatewiki.net.
Change-Id: Ib8976002b536739718eba95a64c155b44a8cde19
2016-01-04 22:37:12 +01:00
Kunal Mehta 46c3a13569 build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I0201552d426c04ac7ca22f9c91b1cad027c4d0d2
2015-12-29 11:47:01 -08:00
Translation updater bot 4b0688041a Localisation updates from https://translatewiki.net.
Change-Id: I533102fc4461eb0751ffdc812c7dbd904209250d
2015-12-13 22:21:36 +01:00
Translation updater bot 2b2910556a Localisation updates from https://translatewiki.net.
Change-Id: I964ed627b2ce5c671454d4f9048eb4028419cdde
2015-12-01 21:35:26 +01:00
Željko Filipin 6dc07c119a Fixed Style/StringLiterals RuboCop offense
See:
https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
Bug: T117986

Change-Id: I60b1598831bbe9fe84c40bf82434cfd22cdd7eff
2015-11-25 15:55:57 +01:00
Željko Filipin ea3c8c4f61 Updated RuboCop to the latest version
Updated config file with recommended configuration. Regenerated TODO
file.

See:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_confi
guration
Bug: T117986

Change-Id: Id3047b5dc2c9d6db520ba2863646f618a30537ac
2015-11-25 15:53:57 +01:00
Željko Filipin 0cfd2ebe68 Update mediawiki_selenium Ruby gem to the latest version
Bug: T117980
Change-Id: Ia22fdd01c596090222e85ea06b19df6271ede1a9
2015-11-25 13:48:40 +01:00
Antoine Musso 599b1b8799 composer test entry point
Just run php lint for now.

Change-Id: I2bbe7543588c25669e4d4a3958b66f3f79240ea5
2015-11-23 21:52:15 +01:00
Željko Filipin e2ea2aba7e Added Rakefile
This is needed for our continuous integration.

Bug: T117993
Change-Id: If5be7e7d7c203045403210def12e933f88e269b5
2015-11-10 12:17:13 +01:00
Translation updater bot 1e4527ab4d Localisation updates from https://translatewiki.net.
Change-Id: I9b20ec5c2232c7032a849a68be08c157ae501280
2015-11-04 21:21:51 +01:00
Translation updater bot 11354da022 Localisation updates from https://translatewiki.net.
Change-Id: I5573e9a555f18bd0f868dca9aa5e5922ff19ea43
2015-10-31 21:06:48 +01:00
jenkins-bot 81373114ca Merge "Add type hint to getPageText()" 2015-10-28 05:38:56 +00:00
Aaron Schulz 65d64d3332 Add type hint to getPageText()
Change-Id: I9f80843a5891b3f926c915ee1d46c859d91add6a
2015-10-27 13:07:51 -07:00
jenkins-bot 0b0a7a55ca Merge "Add type hint to getPageDimensions()" 2015-10-27 19:43:11 +00:00
Aaron Schulz 04301cc798 Add type hint to getPageDimensions()
Change-Id: I2eecc73f3274f684ef8c426cb4ca5b3785284368
2015-10-27 12:39:11 -07:00
Aaron Schulz ca786d9b80 Add type hint to pageCount()
Change-Id: Ia47b01d74addf394950c997117a5ed6c743befb7
2015-10-27 12:06:06 -07:00