Commit graph

222 commits

Author SHA1 Message Date
Adirelle fb978c6c51 Detailed webhook responses.
Fixed docblocks.

Reworked WebhookController to enforce Json responses in ::handleAction.

Check the project type match the webhook.

When creating several builds, do not stop on first error.

Try to create every builds and report 'ok' if at least one succeeds.

CS fix.

Fixed Uses.

Fixed the types accepted by the git webhook.

Added some really basic test.
2015-04-09 13:09:03 +02:00
Adirelle df5e378b8a Use sensiolabs/ansi-to-html to parse the build logs.
Added an AnsiConverter helper.

Use the AnsiConverter in the email and page templates that display the build log.

Use a dedicated stylesheet for the ANSI converter.

It can be customized.
It can be inlined in the notifications.

Do not use ProphecyTestCase when not needed.
2015-04-09 11:54:57 +02:00
Marco Vito Moscaritolo 800f0539af Merge pull request #842 from corpsee/feature-ui-improvements
UI improvements
2015-03-25 12:51:10 +01:00
Adirelle 52ac087ec8 Code style fixed. 2015-03-18 12:21:06 +01:00
Adirelle 97838fbaad Generate an new session identifier on successful login to prevent session fixation attacks. 2015-03-18 12:21:06 +01:00
Adirelle 54b4a8d081 Use a CSRF token on the login form to prevent CSRF attacks. 2015-03-18 12:21:05 +01:00
Dan Cryer 8d3ca874cd Fixing pull request builds. 2015-03-11 07:48:22 +00:00
Dan Cryer 10502493ac Update to only build the latest commit from a Github pull request webhook. 2015-03-10 20:20:54 +00:00
Dmitry Khomutov 74cc16b83f Added default value in profile language select (current language) 2015-03-10 09:51:22 +01:00
Thomas Frei 985a21479c Remove short array syntax to keep backwards compatibility with php5.3 2015-03-06 17:44:22 +01:00
Dmitry Khomutov 09e8331fc5 Code style fix 2015-02-28 23:51:04 +06:00
Dmitry Khomutov 39d386a629 Added total builds count to index and project page 2015-02-28 23:13:02 +06:00
Dan Cryer e7a270f60a Fixing PHPCS errors. 2015-02-26 08:45:42 +00:00
Dan Cryer 820d3831b8 Updating Settings Controller to use the configured config file, rather than assuming config.yml 2015-02-25 14:18:05 +00:00
Alex Davyskiba 36b39bfc0d Allow projects to be archived.
Closes #771
2015-02-23 19:37:11 +00:00
Dzhilkibaev Nadir 7756066050 Add SVN support to PHPCI.
Closes #759
2015-02-20 14:14:36 +00:00
Tobias van Beek 24590265a5 Render the public key on the project edit page. CLose #722 done by @leewillis77 2015-02-16 15:00:37 +01:00
Dan Cryer a84cde0cb5 Lots of cleanup. 2015-02-12 14:15:19 +00:00
Dan Cryer 9f93db9f35 Lots of cleanup. 2015-02-12 14:11:58 +00:00
Dan Cryer 7820ccdf9e Fixing FIXMEs 2015-02-12 13:30:32 +00:00
Dan Cryer b9407b70ff Cleanup 2015-02-12 13:20:08 +00:00
Dan Cryer fe2a029d1e Fixing some bugs related to the last round of changes. 2015-02-12 13:17:42 +00:00
Dan Cryer 2d5659d613 Cleaning up unnecessary use of 'die' and 'exit' 2015-02-12 12:37:56 +00:00
Dan Cryer c1ac322d93 Fixes 2014-12-22 16:18:33 +00:00
Dan Cryer ead24da1a5 Hopefully re-greening the build. 2014-12-22 15:48:35 +00:00
Dan Cryer 5a9e71adc5 Merge fixes 2014-12-18 10:45:21 +00:00
Dan Cryer e2d901a54a Merge fixes 2014-12-18 10:16:31 +00:00
Lucas Gois b5f6e07068 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
Guillaume Perréal 481f8d7d4c In build view, only show meta of builds for the branch of the selected build. 2014-12-18 09:36:54 +00:00
Dan Cryer 3ef23a8c46 Allow admins to change the default language for their installation. 2014-12-11 16:32:42 +00:00
Dan Cryer 59be90d4a2 Allow users to change their Language via the Edit Profile page. 2014-12-11 16:26:09 +00:00
Dan Cryer a2a89df4c0 Removing apparently redundant requirement for mcrypt. 2014-12-11 14:35:07 +00:00
Dan Cryer 28d09275fd Merging latest master 2014-12-08 14:18:57 +00:00
Dan Cryer 9fda9ed989 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 1857007f81 reimplemented disable user 2014-12-07 17:51:00 +01:00
Marc Aschmann b320a915d2 merged current upstream/master 2014-12-07 17:50:19 +01:00
Dan Cryer 9faa7e7f39 Plugins 2014-12-04 14:40:28 +00:00
Dan Cryer 5635c38ed0 Users and Settings 2014-12-04 14:30:43 +00:00
Dan Cryer cfe4566af2 Login, forgot password and password reset. 2014-12-04 13:24:46 +00:00
Dan Cryer 62b957fb83 View build 2014-12-04 13:08:48 +00:00
Dan Cryer 261806109d Add/Edit/View Project languages 2014-12-04 11:42:21 +00:00
Dan Cryer 95b7f271d1 Dashboard updated to support languages 2014-12-04 11:14:04 +00:00
Dan Cryer 43fef1539f Front-End Upgrade: New UI Based on Admin LTE.
Closes #673
2014-12-03 15:30:36 +00:00
Oliver Nordbjerg 71ce377352 Switch build status image to use Shields.io SVG icon.
Closes #439
2014-12-03 12:08:04 +00:00
Marc Aschmann 6ab7973fd2 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
Dan Cryer bb43148280 Fix for CS issues in build 1349 2014-12-01 21:42:52 +00:00
Petr Hudik bfebf74dee Adding commit message and committer e-mail to Git webhook
Closes #560
Closes #577
2014-12-01 21:35:12 +00:00
Dan Cryer 6b6712f82a Fixing support for Github and Bitbucket web hooks. 2014-12-01 17:30:44 +00:00
Dan Cryer bd47766d63 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 1fae0a26af Settings UI cleanup 2014-12-01 16:18:59 +00:00