Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
2016-01-29 10:14:12 +00:00
Jordi Boggiano
593b88e414
Let users configure *any auth* via COMPOSER_AUTH and add it to the docs, refs #4546
2016-01-26 19:09:57 +00:00
Oliver Vartiainen
b39b113fc3
Handle envvar auth credentials as a JSON blob
...
As well as move the handling to a proper place
2016-01-19 20:53:07 +02:00
Jordi Boggiano
47b05eab7a
Fix type errors
2016-01-09 17:59:22 +00:00
Jordi Boggiano
29312be4df
Strict typing fixes
2015-12-16 17:48:12 +00:00
Jérôme Tamarelle
ac68a721f4
Merge remote-tracking branch 'composer/master' into gitlab
...
Conflicts:
doc/04-schema.md
src/Composer/Util/RemoteFilesystem.php
2015-11-14 14:13:39 +01:00
Jordi Boggiano
ce08582671
Fix CS
2015-09-28 10:53:24 +01:00
Andreas Möller
eac5fbdee4
Fix: Remove unused imports
2015-06-28 23:20:54 -04:00
Jordi Boggiano
b7c827c2e5
Use external lib for hidden cli prompting
2015-05-01 15:50:01 +01:00
Rob Bast
e7c044d4b2
Remove dead code
2015-04-30 12:17:14 +02:00
Rob Bast
fb5394ce70
Use constants directly
2015-04-30 12:17:13 +02:00
Rob Bast
7279c25839
Switched to QuestionHelper
2015-04-30 12:17:13 +02:00
Rob Bast
ee4044efcd
Adjusted interface to reflect values from Console
2015-04-30 12:17:13 +02:00
Jordi Boggiano
2e73811211
Fix process timeout not being initialized correctly when loading a config without creating a full composer instance, closes #3952 , fixes #3946
2015-04-21 21:02:17 +01:00
Jordi Boggiano
dbfd47eeca
CS fixes
2015-04-15 01:22:19 +01:00
Roshan Gautam
f870396568
Add oauth2 support for gitlab
2015-04-10 21:45:24 +00:00
Jordi Boggiano
66b73ea456
Revert "Disable overwrites when no-ansi is present, fixes #3612"
...
This reverts commit e0d36e19eb
.
Conflicts:
src/Composer/IO/ConsoleIO.php
2015-03-24 01:31:53 +00:00
Jordi Boggiano
ad40cdc3fe
Fix overwriteError behavior, fixes #3817
2015-03-05 14:40:29 +00:00
Henrik Bjørnskov
782c6303bc
Initial GitLab Driver
...
This is a proof of concept, and mostly done to gather feedback on the
structure of the driver and to see if this is something that Composer
should include in core.
Various review changes based on Stof comments.
* Remove cleanup() as it is implemented by the abstract class.
* Remove wrong comment in getReferences
* Implement getSource (as GitHubDriver does)
* Finish phpDocs for methods.
2015-03-04 00:08:30 +01:00
Rob Bast
3c7a617753
overwriteError + ask[X]() to stderr
2015-02-25 11:00:35 +01:00
Rob Bast
ec434e4576
Formatting only
2015-02-25 11:00:35 +01:00
Rob Bast
cb336a5416
Implement writeError throughout Composer
2015-02-25 11:00:35 +01:00
Xavier Fornes
2936dc0e55
some micro-optimizations made
...
refs issue #3657
2015-01-28 14:43:58 +01:00
Xavier Fornes
a4ffda699f
remove by reference on message parameter
...
refs issue #3657
2015-01-28 13:38:43 +01:00
Xavier Fornes
3f59c007f7
fix implementation for php 5.3
...
refs issue #3657
2015-01-28 11:50:54 +01:00
Xavier Fornes
bb0a2df293
fix for issue #3657
...
ConsoleIO writing a message which contains end of lines characters
2015-01-28 08:49:38 +01:00
Jordi Boggiano
e0d36e19eb
Disable overwrites when no-ansi is present, fixes #3612
2015-01-05 16:17:15 +00:00
fduch
18be54693f
add support of select from option list in ConsoleIO and NullIO
2014-08-12 13:12:07 +04:00
Tom Kay
526a4d7c9e
read and discard zero chars to initialise STDIN
...
Resolves issue in cygwin on windows 8.1 where password field is skipped. See later comments of issue #2831 .
2014-07-05 13:49:45 +01:00
Jordi Boggiano
90d1b6e08a
Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862
2014-05-27 13:50:47 +02:00
Jordi Boggiano
f56d315036
Ensure both bash and stty are present to assume cygwin, fixes #2857
2014-03-31 15:14:47 +02:00
Jordi Boggiano
3e8a767f8a
Attempt using bash on windows if it is available, fixes #2831
2014-03-29 17:26:43 +01:00
Paweł Małolepszy
30502f1cb4
changes size of the line default value
2013-10-30 22:03:14 +01:00
Nicolas Bastien
52711d121c
Remove unused use statement.
2013-10-07 17:11:57 +02:00
Jordi Boggiano
d2ef829cc6
Fix typo
2013-08-18 15:40:00 +02:00
Jordi Boggiano
70523a191d
Mark class as abstract
2013-08-18 15:38:57 +02:00
Jordi Boggiano
14fcff8aa8
Allow the authentications to be loaded in the IO independently
2013-08-18 15:33:05 +02:00
Jordi Boggiano
8d0b7f278e
CS fixes
2013-06-13 13:28:24 +02:00
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
2013-06-13 11:05:44 +11:00
Jordi Boggiano
b1989a5fc0
Remove leftover copy
2013-04-28 17:05:30 +02:00
Jordi Boggiano
566313834a
Add workaround for php bug 64634 in copy
2013-04-28 17:03:05 +02:00
Jordi Boggiano
37894f66a1
Avoid conflicts when composer is wrapped in older sf versions, fixes #1835
2013-04-27 12:30:58 +02:00
Jordi Boggiano
3b97e2e260
Add support for new verbosity levels, and initial debug output
2013-04-26 23:23:35 +02:00
Jordi Boggiano
b474944155
Add more output to the profiled runs, refs #1659
2013-03-05 15:21:54 +01:00
Jordi Boggiano
b7fb60494d
Add handling for backspace chars in BufferIO
2012-11-11 15:05:27 +01:00
Igor Wiedler
4959c2bdc6
Replace references of a11n with a12n where appropriate
...
Authorization => Authentication.
2012-11-07 13:34:31 +01:00
Jordi Boggiano
a7b14952b8
Allow passing a custom output formatter to the BufferIO
2012-11-05 13:52:15 +01:00
Jordi Boggiano
99b7ab4021
Rename ArrayIO to BufferIO
2012-11-04 17:10:42 +01:00
Jordi Boggiano
6549360dac
Add ArrayIO helper to capture output
2012-11-02 18:13:08 +01:00
Jordi Boggiano
28053504e5
Fix ConsoleIO::isVerbose behavior
2012-11-02 18:12:08 +01:00
Wes Mason
169bb2d60e
Use -r option of read shell builtin to avoid escaping of backslashes on password input
2012-10-21 18:07:26 +02:00
Jordi Boggiano
fc8d92e7a2
Make sure no error is output if env is missing
2012-06-24 15:55:23 +02:00
Smasty
58f0d4aeac
fix CS
2012-06-24 13:00:35 +03:00
Smasty
bd83eb93bf
ConsoleIO::askAndHideAnswer - added support for zsh, ksh and csh shells.
2012-06-24 12:14:13 +03:00
Jordi Boggiano
66e9dcddf4
CS fixes
2012-06-23 11:58:18 +02:00
Jordi Boggiano
c440b4594a
More PSR-2 goodness
2012-05-22 17:13:15 +02:00
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
2012-05-22 12:07:08 +02:00
Jordi Boggiano
c754f96677
Removed last password/username from IOInterface
2012-05-06 17:17:36 +02:00
Jordi Boggiano
66a202083e
Add IOInterface::isDecorated()
2012-04-26 14:54:34 +02:00
Nils Adermann
722724c2c3
Merge pull request #519 from Seldaek/hide_input
...
Improve password prompts on windows
2012-04-01 14:07:46 -07:00
Jordi Boggiano
fd93f6d648
Clean up temp dir
2012-04-01 21:34:09 +02:00
Jordi Boggiano
26b3a1711f
Add handling for phar
2012-04-01 20:59:50 +02:00
Jordi Boggiano
3210da0b84
Cleanups
2012-04-01 20:47:31 +02:00
Tiago Ribeiro
67885d8585
Added isDebug to IOInterface and improved debug messages for VcsRepositories
2012-04-01 13:37:26 +01:00
Jordi Boggiano
e36dfb150c
Add support for hidden prompts on windows
2012-03-25 18:57:19 +02:00
Konstantin Tjuterev
0b7896cdad
Simplified & fixed ConsoleIO->overwrite, corrected output when downloading with progress
2012-03-06 23:01:51 +02:00
Christophe Coevoet
28d3d4b130
Added a NullIO
2012-02-18 00:00:38 +01:00
Jordi Boggiano
35cca1ed7f
Do not reveal input length
2012-02-17 12:18:48 +01:00
Jordi Boggiano
a41fefd1d9
Fix way of checking for Windows
2012-01-22 20:21:14 +01:00
Roberto Ricci
ec665a01ab
Fixed detection of hidden password input capability
2012-01-19 21:10:10 +01:00
François Pluchino
76deb2d302
Fix bug on askAndHideAnswer() (because of the writeln() deletation)
2012-01-18 13:07:49 +01:00
François Pluchino
3cbe7cf590
Fix bug display in FileDownloader
2012-01-18 12:51:37 +01:00
Jordi Boggiano
6c2ec966ff
Fix ConsoleIO::overwrite
2012-01-18 10:35:02 +01:00
Jordi Boggiano
e4dbee2648
Fix tests
2012-01-17 23:13:35 +01:00
Jordi Boggiano
434c9ecdeb
Cleanups of IOInterface
2012-01-17 23:08:12 +01:00
François Pluchino
03f5eee3fa
Fix some improvements
2012-01-17 14:53:50 +01:00
François Pluchino
a5fb4abb36
Fix some improvements
2012-01-17 10:29:54 +01:00
François Pluchino
a10f92aafe
Convert Wrapper class to ConsoleIO class
2012-01-16 14:14:15 +01:00