Commit graph

899 commits

Author SHA1 Message Date
Dan Cryer 9379da1393 Fixing SensioLabs Insight 'Critical' violations. 2015-02-12 10:39:41 +00:00
vigo5190 4d91bd15e7 Update Slack plugin to support the latest version of the library it relies on.
Closes #742
Closes #747
2015-02-09 12:14:30 +00:00
Lee Willis 4f73063fb7 Redesigned build summary for the dashboard to include recent builds.
Closes #783
Closes #708
2015-02-09 11:34:25 +00:00
Luca 935ffe4473 Some Italian language translation improvements.
Closes #784
2015-02-09 11:24:21 +00:00
Dan Cryer 4a1d62b44a Make build log and meta value columns use MEDIUMTEXT data type.
Closes #777
2015-02-09 11:18:34 +00:00
Daniel Seif e531c80718 Reset the status of a duplicated build to avoid strict-mode errors.
When using SQL strict mode, mysql would complain that no default value of the status column is set. Setting the status to 0 before duplicating fixes this.

Closes #725
2015-02-03 12:21:04 +00:00
Adirelle 353c4cafdb Remove duplicates from the list of recipients in the email plugin.
Closes #731
2015-02-03 11:58:18 +00:00
Adirelle 0be37b9e85 Franch translation updates.
Closes #733
2015-02-03 11:56:45 +00:00
Adirelle cd4ff6c4ea Localisation support for dates throughout the front-end using moment.js.
Closes #734
Closes #732
2015-02-03 11:53:12 +00:00
corpsee 5dced5f990 Fixing fatal error with $this->controller->layout in Application class.
Closes #736
2015-02-03 11:49:16 +00:00
corpsee 8d2c7045a4 Update the "Manual Build" string for the Russian translation.
Closes #737
2015-02-03 11:47:07 +00:00
Adam Cooper c441e72d0a Move CSS into separate file, fix width of plugins that use tables and adds table-responsive class for smaller screens.
Closes #755
2015-02-03 11:38:16 +00:00
Sergey Linnik 96b1df55b0 Add query interpolation in PostgreSQL and SQLite plugin.
Closes #757
2015-02-03 11:33:55 +00:00
Sam Mousa 3ade895e30 Fix parameters used to check if ssh-keygen exists to prevent an indefinite hang.
Closes #764
2015-02-03 11:15:52 +00:00
Dan Cryer 731cdcce7d Fixing missing docblock error. 2015-02-03 11:10:22 +00:00
Alex Davyskiba a233c4e26c Escape commit message from XSS and broken markup.
Closes #769
2015-02-03 10:27:36 +00:00
Nikolas Hagelstein 3ddc723e1f German language translation improvements.
Closes #774
2015-02-03 10:11:29 +00:00
Dan Cryer c5bdafeaa3 Fixing login is disabled checks 2015-01-22 09:17:58 +00:00
Dan Cryer c54f22985c Merge branch 'master' of github.com:Block8/PHPCI 2015-01-13 12:38:48 +00:00
Dan Cryer c93cdf7fe5 Fixing b8 logo and link on login screen. 2015-01-13 12:38:39 +00:00
Dan Cryer e9e0ba8593 Merge pull request #722 from REBELinBLUE/slack-bug-fix
Fixing issue with status overwriting message
2014-12-23 15:41:45 +00:00
Stephen Ball 44f1445bbe Fixing issue with status overwriting message 2014-12-23 15:30:09 +00:00
Dan Cryer 3235550267 Fixing Polish language name, docblocks in Lang helper. 2014-12-23 11:53:33 +00:00
Dan Cryer 5f11e1997c Trying to reduce complexity of language init method. 2014-12-23 11:36:01 +00:00
Dan Cryer 9599759ade Adding Ukranian language. 2014-12-22 16:23:29 +00:00
Dan Cryer 94bf5c2e1c Adding Italian language, closes #721 2014-12-22 16:23:20 +00:00
Marco Vito Moscaritolo 9e474d8e7e Update all IT config. 2014-12-22 16:18:53 +00:00
Marco Vito Moscaritolo 4adf48e974 Added translations for PHPCI application. 2014-12-22 16:18:53 +00:00
Marco Vito Moscaritolo 6d28d120e8 Initial IT translation (not complete) 2014-12-22 16:18:53 +00:00
Dan Cryer 0afc28cb69 Fixes 2014-12-22 16:18:33 +00:00
Stephen Ball f78b6ae9f9 Cleanup of the disabled login mode.
Hides user menu, the navigation user panel, etc.

Closes #718
2014-12-22 16:12:51 +00:00
Stephen Ball fd8f318401 Add a plugin to handle sending notifications to Slack (https://slack.com/)
Closes #720
2014-12-22 16:03:09 +00:00
Dan Cryer 094a84f9b4 Hopefully re-greening the build. 2014-12-22 15:48:35 +00:00
Dan Cryer 71addb95c3 Adding Greek and Polish language files. 2014-12-18 10:47:21 +00:00
Dan Cryer a6e2f835a6 Merge branch 'dc/languages' of github.com:Block8/PHPCI into dc/languages 2014-12-18 10:45:32 +00:00
Dan Cryer 72581aa01e Merge fixes 2014-12-18 10:45:21 +00:00
Dan Cryer d52e64d7f3 Merge fixes 2014-12-18 10:16:31 +00:00
Alex Davyskiba d2505dcef6 Update Gitlab URL parsing to no longer require a project namespace.
Closes #702
2014-12-18 10:02:43 +00:00
Lucas Gois e4bf5ee27d Added support for gitlab merge requests
Added function to verify if a gitlab merge request is sent.
If yes, then will create a build for the source branch of the request.

Closes #699
2014-12-18 09:51:09 +00:00
Stephen Ball 768a8a180c New plugin to support PHP TAL linting.
Closes #701
2014-12-18 09:45:17 +00:00
Guillaume Perréal a2e97c69ac Prepend the build path to ignored directories in PhpParallelLint.php.
Closes #710
2014-12-18 09:40:25 +00:00
Guillaume Perréal 0beb77113a Have the PhpUnit plugin reports an explicit error when no test are configured.
Closes #711
2014-12-18 09:38:36 +00:00
Guillaume Perréal f37c3450e3 In build view, only show meta of builds for the branch of the selected build. 2014-12-18 09:36:54 +00:00
Alex Davyskiba 67b2348a7a Fix word wrapping on public key.
Closes #703
2014-12-18 09:34:42 +00:00
Matthias Mullie b8a6f5255c Some minor Dutch translation improvements 2014-12-11 18:26:04 +01:00
Dan Cryer 28b24952ab Fixing Docblock checker issue 2014-12-11 17:09:55 +00:00
Dan Cryer c81c0311cb Fixing PHPMD errors 2014-12-11 17:07:06 +00:00
Dan Cryer 08ec6f8a62 Adding German language, thanks to @thormeier and @mikebronner 2014-12-11 17:01:32 +00:00
Dan Cryer 41d0138ef3 Adding Danish language, thanks to @NamelessCoder 2014-12-11 17:00:59 +00:00
Dan Cryer d2060ebe95 Adding Dutch language, thanks to @matthiasmullie 2014-12-11 17:00:12 +00:00
Dan Cryer 67b0453a30 Some language updates from Transifex 2014-12-11 16:59:27 +00:00
Dan Cryer c230d1c347 Allow admins to change the default language for their installation. 2014-12-11 16:32:42 +00:00
Dan Cryer b99b09d13c Allow users to change their Language via the Edit Profile page. 2014-12-11 16:26:09 +00:00
Dan Cryer 73ea94c7a2 Updating Gitlab to GitLab 2014-12-11 15:15:08 +00:00
Dan Cryer 9ef18f5580 Updating Github to GitHub, and MySQL name to MySQL database name 2014-12-11 15:14:11 +00:00
Dan Cryer 036501b363 Removing apparently redundant requirement for mcrypt. 2014-12-11 14:35:07 +00:00
Stéphane HULARD d59c0e1054 End of French translation
Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2014-12-10 14:05:09 +00:00
Stéphane HULARD dff8e55b41 Add the first French translations 2014-12-10 14:05:08 +00:00
Dan Cryer bfcbeabb62 Adding UTF-8 charset to login page. 2014-12-10 14:04:16 +00:00
Dan Cryer a8ec69e6dd Commenting the language helper, also fixing the default language name. 2014-12-08 14:27:53 +00:00
Dan Cryer 9de19d6bbb Merging latest master 2014-12-08 14:18:57 +00:00
Dan Cryer 7f9a09fa29 Adding Docblocks throughout the project and lowering the missing docblock limit in phpci.yml to zero.
Closes #692
2014-12-08 14:12:01 +00:00
Marc Aschmann effd6909aa reimplemented disable user 2014-12-07 17:51:00 +01:00
Marc Aschmann 2df2ca5cb5 merged current upstream/master 2014-12-07 17:50:19 +01:00
Dan Cryer 5e7301d662 Switching to using moment.js for times in JS, rather than a custom solution. Fixes #688 2014-12-07 11:51:41 +00:00
Dan Cryer 3f15c0618a Moving languages to two letter locales where the four-letter equivalent is not necessary. 2014-12-07 11:39:33 +00:00
Nikolay Kirsh 061215deed Обновление русского языка
- укорочены слишком длинные строки
- исправлены орфографические ошибки
- доработаны склонения
2014-12-07 11:14:30 +00:00
Dan Cryer b593707ef4 Making JSON_UNESCAPED_UNICODE change apply to 5.4+, whilst still supporting 5.3. 2014-12-07 11:12:56 +00:00
Nikolay Kirsh 50ed5b7e07 fix unicode strings in json 2014-12-07 11:11:32 +00:00
corpsee e11f8744ac Fixed wrong text for add plugin action 2014-12-07 11:07:07 +00:00
corpsee bb9b068ea5 Deleted duplicate key in localization 2014-12-07 11:07:07 +00:00
corpsee ea55e594b1 Improved Russian translation 2014-12-04 19:33:22 +00:00
corpsee 6fa08d7e44 Added Russian translation (+console) 2014-12-04 19:33:21 +00:00
corpsee f6dc3aad08 Added Russian translation 2014-12-04 19:33:21 +00:00
Dan Cryer 5dd42da9a0 Builder, build plugins 2014-12-04 15:48:52 +00:00
Dan Cryer 6e469b01ec Installer and Updater 2014-12-04 15:01:19 +00:00
Dan Cryer bfca6bc27a Plugins 2014-12-04 14:40:28 +00:00
Dan Cryer 5f3b1c0c53 Users and Settings 2014-12-04 14:30:43 +00:00
Dan Cryer cea124cfaa Login, forgot password and password reset. 2014-12-04 13:24:46 +00:00
Dan Cryer 4a03e01c3f View build 2014-12-04 13:08:48 +00:00
Dan Cryer 54765bf823 View Project 2014-12-04 12:19:06 +00:00
Dan Cryer cc58191048 Add/Edit/View Project languages 2014-12-04 11:42:21 +00:00
Dan Cryer f6e433a94d Dashboard updated to support languages 2014-12-04 11:14:04 +00:00
Dan Cryer 56bbf13f34 Merge branch 'master' of github.com:Block8/PHPCI into dc/languages 2014-12-04 10:23:16 +00:00
Dan Cryer 050fdda848 Initial commit 2014-12-04 10:23:10 +00:00
Dan Cryer 60dab35f1e Fixing fatal error on dashboard, also adding slim view for installs with more than 10 projects 2014-12-03 20:26:32 +00:00
Dan Cryer 9eeaabc6fe Front-End Upgrade: New UI Based on Admin LTE.
Closes #673
2014-12-03 15:30:36 +00:00
michael.schramm b5f9e906fa Improved PHPSpec plugin. Now includes a UI Plugin. 2014-12-03 12:21:55 +00:00
Tobias van Beek 1206f9c2f3 Prevent undefined errors in TapParser if output from scripts failed.
Closes #515
2014-12-03 12:12:29 +00:00
Oliver Nordbjerg 73d5da1c7d Switch build status image to use Shields.io SVG icon.
Closes #439
2014-12-03 12:08:04 +00:00
Marc Aschmann 646d2ba3d7 Make PHPCI output properly formatted JSON and Yaml files where possible, rather than one-line files.
Closes #547
2014-12-03 11:41:31 +00:00
Artjom Kurapov 91f29fb22b Make FilesPluginInformation class only try to load PHP files.
Closes #638
2014-12-03 11:06:19 +00:00
Marco Vito Moscaritolo 207411d5fc Adding non-interactive installation mode.
Closes #641
2014-12-03 10:52:14 +00:00
Dan Cryer e52093e0b7 Fix for CS issues in build 1349 2014-12-01 21:42:52 +00:00
Petr Hudik 59ff1f86a5 Adding commit message and committer e-mail to Git webhook
Closes #560
Closes #577
2014-12-01 21:35:12 +00:00
Wanderson e4c40c76af Adding Phar archive plugin.
Closes #659
Closes #106
2014-12-01 21:09:13 +00:00
Dan Cryer c211f92313 Fixing RunCommand 2014-12-01 17:36:47 +00:00
Dan Cryer 8f169ae837 Fixing support for Github and Bitbucket web hooks. 2014-12-01 17:30:44 +00:00
Dan Cryer f562de55c7 Allow PHPCI to mark builds as failed if the builder crashed, after a user-defined timeout. Limit to one build per project in RunCommand.
Fixes #623
2014-12-01 17:04:03 +00:00
Dan Cryer 28292967a8 Settings UI cleanup 2014-12-01 16:18:59 +00:00
Dan Cryer ddd46ba9ad Fixing user profile edit to display updated information after save. 2014-12-01 16:03:35 +00:00
Dan Cryer 7b792c9541 Updating session variables to add phpci_ prefix.
Fixes #652
2014-12-01 15:56:33 +00:00
Dan Cryer 084203f0cf Adding support for Github Content-Type: application/json web hooks.
See #668
2014-12-01 15:48:22 +00:00
Dan Cryer b2a6ea38ee Updating PHP Copy/Paste Detector to new parameter format
Fixes #669
2014-12-01 15:39:19 +00:00
Dan Cryer a92c72e801 Remove infinite recursion when using an array of directories in PHP Unit config.
Fixes #596
2014-12-01 15:32:50 +00:00
Sam Van der Borght 8b7b1afe71 Remove un-necessary and incorrect validator for branch field on the project add/edit form.
Closes #506
Fixes #580
Fixes #562
Fixes #573
Fixes #633
2014-11-13 17:42:39 +00:00
Stefan eb508baa4f Make IRC plugin join channel before attempting to send a message.
Closes #579
2014-11-13 17:35:58 +00:00
Wanderson 61d864e4f0 Add support for skipped tests in TAP Parser.
Closes #624
See #611
2014-11-13 17:33:27 +00:00
Jimmy Cleuren 2f4063c788 Add a commit message to builds imported via PollCommand.
Closes #626
2014-11-13 17:30:27 +00:00
Michael Schramm 404a0c1039 Fix parallel lint directory to include build path.
Closes #645

directory should be inside of build path
2014-11-13 17:27:30 +00:00
Stefan a2493bff3d Fix profile update - missing parameter in function call.
Fixes #629
Fixes #590
Fixes #591
2014-11-13 17:20:41 +00:00
Marco Vito Moscaritolo 6adbee0bc9 Fixed webhook method docs.
Closes #565
2014-10-16 16:23:17 +01:00
Stefan d21dc179e2 Add new variable %BRANCH% to interpolator.
Closes #597
2014-10-16 16:12:20 +01:00
Adam Cooper 0aa342e774 Adding a branch filter to the project page, allowing users to view builds from a specific branch.
Closes #600
2014-10-16 16:10:24 +01:00
Schorsch3000 24498d1bc4 Added Gulp JS plugin.
Closes #606
2014-10-16 16:02:36 +01:00
James Inman c02795988c Fixing support for SMTP encryption.
Closes #614
Closes #619
2014-10-16 15:44:41 +01:00
James Inman 3172b0f1d8 Adding check for a valid encryption context to MailerFactory. 2014-10-16 15:43:54 +01:00
Marc Aschmann a5d5be1a8b Merge remote-tracking branch 'block8/master' 2014-08-05 13:44:32 +02:00
Dan Cryer 980cc147ac Save the build log every time the log is updated. 2014-07-31 12:27:25 +01:00
Dan Cryer 46ed8daac5 Removing the 'error trying to execute' message and just displaying the errors themselves. 2014-07-31 12:23:44 +01:00
Dan Cryer 64fc4f0e16 Only display 'Error trying to execute' message if a command's status is not successful. See #533 2014-07-31 12:18:23 +01:00
Dan Cryer e967ae5bf7 Restoring the ability to change a project's default branch. Fixes #532 2014-07-31 12:15:26 +01:00
Dan Cryer cd5d28f7e8 Fixing the ability to delete users. 2014-07-31 12:10:34 +01:00
Dan Cryer e10901bf1d Fixing the ability to delete projects. Fixes #535 2014-07-31 12:10:22 +01:00
Dan Cryer 075550ace2 Fixing the inevitable PHPCS error 2014-07-30 15:59:16 +01:00
Dan Cryer 303aad105d Adding a new migration that adds the appropriate null / not null status and default values to all database columns.
Fixes #471
2014-07-30 15:58:09 +01:00
Dan Cryer 0e1fe3ea22 Properly handling Gitlab URLs that contain ports.
Fixes #484, closes #501
2014-07-30 15:33:05 +01:00
Dan Cryer 5c600f861e Switching project access information to use JSON instead of serialization, fixes #493 2014-07-30 15:13:50 +01:00
Dan Cryer 99dfdcdfb2 Adding a getLastError() method as a stderr equivalent of getLastOutput() to commandexecutor. 2014-07-30 14:58:07 +01:00
Dan Cryer c6529b6832 Adding handling of HTTP 401 status codes in Ajax requests. Fixes #504 2014-07-30 14:32:38 +01:00
Dan Cryer 69ea614d78 Fixing failed test. 2014-07-30 14:03:55 +01:00
Dan Cryer f117b5b6b6 Fixed a small logic bug introduced in the last commit 2014-07-30 13:57:29 +01:00
Dan Cryer b84ea1c0b5 Updating the CommandExecutor::executeCommand() method to properly catch stderr output from commands.
Fixes #456
2014-07-30 13:34:45 +01:00
Dan Cryer d9045d54a7 Adding some tests for MailerFactory to ensure it works as expected with a provided configuration. Hopefully will help in debugging #523 2014-07-30 11:58:10 +01:00
Dan Cryer 21341b632c Allow users to turn off SMTP encryption.
Fixes #495
2014-07-29 17:24:13 +01:00
Dan Cryer c3f73cc621 Fixing links to files on Github when viewing a pull request build.
Fixes #423
2014-07-29 17:19:37 +01:00
Dan Cryer 64afb043d1 Adding the ability to use a project's composer bin directory even if it isn't defined in the composer.json (/vendor/bin) 2014-07-29 16:23:48 +01:00
Dan Cryer cd12b9ee31 Remove call to non-existant function getPlugins() from the build status page.
Fixes #455
2014-07-29 16:18:36 +01:00
Dan Cryer 0b3a7cdd9f Partial fix for #504 - No error checking in the User helper 2014-07-29 15:51:53 +01:00
Tobias van Beek 17980b623b Fixes for SSH key generation.
Closes #514, fixes #512
2014-07-29 15:40:52 +01:00
Dan Cryer 98cc4af41b Quick fix for the PHPLoc directory setting 2014-07-29 15:31:27 +01:00
Daren Chandisingh 677f135b7c Add build path to phploc directory 2014-07-29 15:25:10 +01:00
Dan Cryer 6421f1428e Fixing incorrect method call BuildService::delete() and making the project page reload when a build is deleted. Fixes #528 2014-07-29 15:07:26 +01:00
Dan Cryer 04a1284117 Fixing #527 2014-07-25 20:49:42 +01:00
Dan Cryer 3f14b2e241 Reverting accidental addition of engine and parent_id columns to the Build table. 2014-07-23 16:19:45 +01:00
Dan Cryer 217d94a8c2 Migrating install and create-admin console commands to use userservice 2014-07-23 15:56:23 +01:00
Dan Cryer a9c94dd319 Moving user controller to using a service class 2014-07-23 15:50:34 +01:00
Dan Cryer 5c6aad3282 Fixing PHPCI issues for this branch 2014-07-23 14:54:49 +01:00
Marc Aschmann 1dcc483ccb resolves #497 added feature to disable auth with a default user 2014-07-15 11:39:06 +02:00
Dan Cryer dfb992de48 Updating webhooks to use build service 2014-07-14 16:08:19 +01:00