Adirelle
5cd29ca7fc
Allow to specify a mail template ('short' or 'long') in phpci.yml.
...
Email plugin: checks if the custom template exists before trying to use it.
Closed #933
2015-04-28 14:09:23 +02:00
Adirelle
590ab5fae5
Build::removeBuildDirectory: do not try to remove build directory of not-yet-persisted builds.
2015-04-25 21:25:50 +02:00
corpsee
21bf104587
Separated strings for 'archived'/'archived_menu'
2015-04-25 09:54:08 +06:00
alton.crossley
5133d85b99
adding windows batch file for console
2015-04-23 14:35:15 -06:00
Adam Cooper
3ca1667f12
Revert CSS file change made in error as part of the codeception update
...
Close #935
2015-04-23 17:01:44 +02:00
Adirelle
f46a8be648
LoggerConfig::getFor always returns the same instance of Logger for the same $name.
...
This avoid issues when push handlers/processors to that logger.
Use the Monolog\ErrorHandler to log errors and exceptions.
PHPCI/Logging/Handler becomes PHPCI/ErrorHandler.
And it only throws ErrorException for reported errors.
No need to initialize a second $loggerConfig in daemonise.
Close #892
2015-04-23 13:25:53 +02:00
Adirelle
5688d9c4c8
The manual build button creates build for the currently watched branch.
...
Close #927
2015-04-23 13:23:13 +02:00
Adam Cooper
408eb5b974
An attempt at making the codeception plugin a little more complete.
...
Codeception JS plugin and theme changes.
Improvements to the display. Extra total information plus some test file locations.
Close #588
2015-04-23 13:18:26 +02:00
Adirelle
209454c5f6
When starting a manual build, replace the "Manual" commit id with the HEAD hash.
...
Close #928
2015-04-23 13:13:29 +02:00
corpsee
634b246ed5
Fixed ru strings for create build command ( https://github.com/Block8/PHPCI/pull/889 )
...
Fixed ru strings for 'archived'
Close #932
2015-04-23 10:33:38 +02:00
corpsee
1b7f0bbb4b
Improved login: now you can login using name or email
...
Close #873
2015-04-22 13:54:02 +02:00
Alexander Garzon
c0568d3a4b
Update lang.es.php
...
Missing translation for "archived"
Close #931
2015-04-22 12:26:51 +02:00
Adam Henley
f7ca64bf6d
SMTP Password not masked PR #921
...
Signed-off-by: Adam Henley <adamazing@gmail.com>
Close #923
2015-04-22 12:26:06 +02:00
rm3nchaca
81fbc6a5a0
fix file link in plugins
...
Running builds leave a file link with an error like "http://gitlab.example.com/root/project/blob/master/index.php#L6 " but it is pointing to the actual file, not the file with a bug, example "97f0a6453d/index.php (L6)
"
Close #915
2015-04-22 12:24:29 +02:00
Adirelle
290c34a27d
Updated the php_codesniffer required version and added a default phpcs.xml.
...
Added a PHPMD configuration file.
Updated phpci.yml to use the configuration files.
Close #913
2015-04-22 12:22:28 +02:00
Adirelle
f25b1d25dc
Let CommandExecutor::findBinary throw an exception when the binary is missing.
...
Close #910
2015-04-22 12:19:05 +02:00
Lewis Wright
7f46b650dc
Added check for invalid key
...
Close #895
2015-04-22 12:06:26 +02:00
Jérémy DECOOL
9261f24d25
Command to create a new build
...
Close #889
2015-04-22 12:00:38 +02:00
Angel Koilov
77ba61c8bc
add pingback for IRC plugin
...
Close #886
2015-04-22 11:58:43 +02:00
Adirelle
452a5ba97c
Enforce "en" lang in tests.
...
Some tests compare the result to english strings.
Do not test UnixCommandExecutor on Windows.
PharTest: explain why PHAR writing test are skipped.
InstallCommandTest: mock checkRequirements to allow the tests to run.
Run php_parallel_lint before all other tests.
Close #846
2015-04-22 11:49:26 +02:00
Adirelle
9590336c49
Added a new configuration variable, PHPCI_BUILD_ROOT_DI.
...
This variable allows to change where the build happens.
It defaults to PHPCI_DIR.'PHPCI/build/'.
Moved build path calculate and build removal into the Build class.
Also remove the build directory when deleting the build.
Close #834
2015-04-22 11:44:54 +02:00
Martin Sadovy
60131ae7b6
Github: Support pull private repository from pull request
...
Closes #832
2015-04-22 11:41:33 +02:00
zviryatko
067a60983f
Fix archive link.
2015-04-22 11:37:38 +02:00
Marco Vito Moscaritolo
3626eabc2e
Merge pull request #871 from REBELinBLUE/fix_wipe_error
...
Preventing the wipe plugin failing due to an undefined variable
2015-04-16 18:39:30 +02:00
Marco Vito Moscaritolo
0b0589557f
Merge pull request #845 from MarkMaldaba/fix_paths_with_spaces
...
Fixed the install script, which bails-out with an error if the PHPCI path contains spaces.
2015-04-12 21:17:12 +02:00
Adirelle
f3c1a98cf1
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
zviryatko
731fd65453
Change xmpp config and message files directory
2015-04-09 12:08:27 +02:00
Angel Koilov
524341a50b
remove unnecessary code
2015-04-09 12:06:32 +02:00
Tobias van Beek
01911f11aa
Add the --recursive parameter to the git clone to get the submodules
2015-04-09 12:03:08 +02:00
Adirelle
9d4116e3c9
Reworked TapParser to be compliant and more robust.
...
Added another test case from #571 .
Updated the output of TapParser::processTestLine.
Broke TapParser::parse down in simpler methods.
TapParser: ignore leading garbage and properly complain on missing TAP log.
TapParser: detect and report duplicated TAP log.
TapParser: got rid of the "test" and "suite" values.
They are only available with PHPUnit.
TapParser: append the message from yaml diagnostic to existing message.
Reworked the dispaly of test results.
PHPUnit plugin: pretty print test data.
2015-04-09 12:00:10 +02:00
Nicolplaás
2c43cd1cac
Add spanish laguage support
2015-04-09 11:57:46 +02:00
Adirelle
d804438a87
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
039324c056
Merge pull request #842 from corpsee/feature-ui-improvements
...
UI improvements
2015-03-25 12:51:10 +01:00
corpsee
3a867eb9d5
Fixed 'start' string for ru lang
...
Fixed 'from' and 'to' strings for ru lang
2015-03-18 13:10:21 +01:00
LAHAXE Arnaud
d8df6cab4a
Fix french typo mistake
2015-03-18 12:26:27 +01:00
Adirelle
ea3b0c219a
Code style fixed.
2015-03-18 12:21:06 +01:00
Adirelle
f29ff197c6
Generate an new session identifier on successful login to prevent session fixation attacks.
2015-03-18 12:21:06 +01:00
Adirelle
3467e77e74
Use a CSRF token on the login form to prevent CSRF attacks.
2015-03-18 12:21:05 +01:00
Mark Clements
1dd1af2443
Switching tabs to spaces as per style guide.
...
No functional changes.
2015-03-18 09:47:47 +00:00
Marco Vito Moscaritolo
9d6a65b415
Merge pull request #844 from MarkMaldaba/fix_space_after_colon
...
Fixed an inconsistency in the way the prompts in the install scripts were being output.
2015-03-18 09:58:21 +01:00
Stephen Ball
fdaaa1ede4
Parsing variables in the code coverage output directory for PHPUnit
2015-03-16 11:10:03 +00:00
Stephen Ball
52b2f87df2
Parsing variables in the Wipe plugin
2015-03-16 11:09:45 +00:00
Stephen Ball
9ad0e90fa1
Preventing the plugin failing due to an undefined variable
2015-03-16 11:05:33 +00:00
Stephen Ball
70f0d2516f
Removed log output so that it matches the other plugins which don't pollute the build log, and to prevent issues with the log output not being escaped
2015-03-13 13:31:38 +00:00
Dan Cryer
ecc92b5f3e
Fixing pull request builds.
2015-03-11 07:48:22 +00:00
Dan Cryer
5f2de9a679
Update to only build the latest commit from a Github pull request webhook.
2015-03-10 20:20:54 +00:00
vsguts
a188afb0da
Fixing symlink removal.
...
Closes #854
2015-03-10 19:11:43 +00:00
Gustavo Novaro
33fc50a0b5
Remove blank style tag in header
...
Remove the tag <style> the header because it was not used
Closes #863
2015-03-10 19:04:05 +00:00
corpsee
e75ffe0b76
Fixed 'date' nl lang string
2015-03-10 15:44:33 +06:00
Igor Timoshenko
4e8dc7c87b
Fixed typos in Ukrainian language
2015-03-10 10:15:50 +01:00