Adam Stankiewicz
ad27112b58
Do not assume package.json location
2016-01-25 19:40:54 +01:00
Piotr Wielgolaski
f0a54d0018
set GIT_SSL_NO_VERIFY for opposite value than strictSsl
2016-01-23 20:29:28 +01:00
Piotr Wielgolaski
1d73764788
when strictSsl is false set GIT_SSL_NO_VERIFY=true for git command
...
Solves #2129
2016-01-23 14:26:48 +01:00
Adam Stankiewicz
3e3b64218d
Remove analytics from Bower, fixes #1102
...
They caused more issues than useful they were.
Instead, we'll focus on fetching statistics from
NPM registry to watch Bower's popularity, and
GitHub stars over time to watch packages' popularity.
2016-01-20 12:30:54 +01:00
Sam Saccone
d06af7a3d7
Default to ^ operator on --save
...
This fix brings us inline with how npm installs work and also brings us
more inline with how semver is supposed to be used.
Fixes #2144
2016-01-10 18:28:42 -08:00
Adam Stankiewicz
671c23ad50
Merge pull request #2130 from gronke/enhancement/absolute-paths-1914
...
support absolute path in .bowerrc directory option
2016-01-05 12:28:09 +01:00
Stefan Grönke
5384fa54b1
refactor, address feedback and add more unit tests
2016-01-05 05:23:19 +01:00
Alireza Bashiri
55d78f7928
Display the logged in user's name
2016-01-05 02:24:08 +03:30
Stefan Grönke
2110148830
support absolute path in .bowerrc 'directory' option
...
fixes #1914
2016-01-04 01:46:53 +01:00
Alireza Bashiri
afc4bfbd42
Revert "Display login message when user login via normal and 2 factor auth mode."
...
This reverts commit ed881e3f29 .
2016-01-04 00:58:03 +03:30
Alireza Bashiri
9c42a008aa
Merge pull request #2102 from reavowed/fix-extract-name-clashes
...
Fix name clashes in package extraction
2016-01-01 12:29:55 +03:30
Raja Sekar
ed881e3f29
Display login message when user login via normal and 2 factor auth mode.
...
Displaying info message when user login via bower login
Login message added for 2 factor authentication also
Fix unreachable code
Fix code quality issues
2015-12-31 23:31:16 +03:30
Roger Rodriguez Texido
6c3b7dbf58
Fixed typo.
2015-12-14 17:12:30 -05:00
Iain Monro
b1ba9be7f6
Fix name clashes in package extraction
...
Prevent extraction failing if a package archive contains a file with
the same name as the archive, or a single directory with a subdirectory
with the same name.
2015-12-14 16:58:02 +00:00
Utsav Shah
cdf45239f4
Decompress gzip files
...
Update request lib
2015-12-12 18:08:19 -06:00
Adam Stankiewicz
88758cd98c
Revert "Add bower update --save functionality"
...
This reverts commit d2ba80e6e9 .
2015-12-11 21:33:45 +01:00
Adam Stankiewicz
3bd2d62e67
Revert "Add failing tests for single package updates, optimize older tests"
...
This reverts commit 6616d09f47 .
2015-12-11 21:32:47 +01:00
Adam Stankiewicz
d3eef5772a
Revert "Only update packages requested by the user"
...
This reverts commit e3f402fc66 .
2015-12-11 21:25:15 +01:00
Adam Stankiewicz
b9718bb309
Fix search command on no arguments, fixes #2066
2015-12-11 20:15:04 +01:00
Chris Contolini
7cb88ab49f
Add renderer tests for prereleases
2015-12-08 17:59:21 -05:00
Chris Contolini
a532c55dca
Hide prereleases when showing package info
2015-12-08 17:59:21 -05:00
Adam Stankiewicz
1696cde273
Merge pull request #2074 from eppeters/bower-search-prompt-before-listing-all
...
Prompt before listing all repos when running `bower search` without a query param
2015-12-03 00:21:57 +01:00
Edward Peters
5a1e5eb9c7
Make 'bower search' show the help display when a user does not enter a
...
search term. Keep current behavior when running with config.json
enabled, or in non-interactive mode.
Rewrite bower search tests to cover the different cases of using the
command without a query parameter (interactive w/o config.json,
interactive w/ config.json, and non-interactive)
2015-12-02 17:07:27 -05:00
Chris Contolini
e3f402fc66
Only update packages requested by the user
2015-12-02 14:10:28 -05:00
Chris Contolini
6616d09f47
Add failing tests for single package updates, optimize older tests
2015-12-02 14:10:28 -05:00
Adam Stankiewicz
12258324d3
More code style rules to enforce
2015-11-30 11:06:57 +01:00
AnthonyBobsin
19fc84007d
Implements jscs to enforce a newly created style guide for the repo. Uses jscs to fix some minor style guide warnings.
2015-11-29 16:22:58 -05:00
Chris Contolini
0eadbef02d
Merge branch 'master' into update-save
2015-11-28 08:42:43 -08:00
Chris Contolini
d2ba80e6e9
Add bower update --save functionality
2015-11-28 05:40:24 -05:00
Utsav Shah
852a586d5c
Replace temp directory name with md5 hash
...
Fixes issues with characters like @ interfering with directory name
lookups
2015-11-27 13:17:36 -06:00
Utsav Shah
e8a2d92785
Remove @ in temporary directories
2015-11-27 11:36:14 -06:00
Adam Stankiewicz
ca0a36abcf
Make downloader work on all platforms, fixes #2050
2015-11-27 13:45:19 +01:00
Adam Stankiewicz
4c6fdc905f
Revert "Fix tests on Windows (cleanup of downloaded files)"
...
This reverts commit bb7c02b07b .
2015-11-27 00:33:15 +01:00
Adam Stankiewicz
cdbc4a123c
Merge pull request #2040 from bower/fix-shallow-host
...
Fix shallow clone host
2015-11-26 18:25:49 +01:00
Adam Stankiewicz
bb7c02b07b
Fix tests on Windows (cleanup of downloaded files)
2015-11-26 18:06:26 +01:00
Adam Stankiewicz
aaecbfab17
evert "Merge pull request #2027 from watilde/patch/supports-tilde"
...
This reverts commit 2ff53fc448 , reversing
changes made to 89286e628b .
2015-11-26 14:23:19 +01:00
Hector Leon Zarco Garcia
da8ec1e4ab
Move abbreviations to a different file
2015-11-25 23:58:30 +01:00
Vlad Filippov
3d4f9cd919
Fix shallow clone host
2015-11-24 14:21:27 -05:00
Daijiro Wachi
718db0309f
Supports ~/ paths to cwd field in .bowerrc
...
+ Add untildify module
+ Update config.js to convert tilde path to home path
Fixes #1784
2015-11-19 21:36:28 +01:00
Adam Stankiewicz
ce15df27ca
Properly destroy read stream for downloads
2015-11-17 12:13:26 +01:00
Piotr Wielgolaski
51a986d0d4
add test for download.js and fix download behavior to not leave temporary files in case of error
2015-11-07 18:26:48 +01:00
Piotr Wielgolaski
931b0a8905
fix passing options to request
...
options from download need to be pass to request library that make HTTP
request
Also when there is http error stream need to be closed otherwise there
is issue reported that unlink operation is not permitted on Windows
2015-10-24 16:52:22 +02:00
Adam Stankiewicz
b79034fbb9
Merge pull request #1956 from bower/strip-trailing-slash
...
strip trailing slash in urlResolver
2015-10-24 11:09:32 +02:00
Adam Stankiewicz
eaa05ac6c1
Merge pull request #1960 from bower/add-user-agent
...
add User-Agent to downloadd
2015-10-24 11:08:31 +02:00
Adam Stankiewicz
8f0a3d727e
Merge pull request #1969 from chrisjons/svn_improvements
...
use --non-interactive when running svn client
2015-10-24 10:41:21 +02:00
Thomas Walpole
43d00deb88
fix issue #1962 - ignoredDependenices multiple install run
2015-10-23 11:52:40 -07:00
Christian Jönsson
4836a0cae9
use --non-interactive when running svn client
...
If there is a problem in connecting to the Subversion server,
e.g. credential or certificate related, the CLI client will pause to
ask the user for input on the console. This is not handled by bower
Subversion Resolver, causing the install process to hang forever
with no message printed to the bower user.
Running the Subversion CLI client with the option --non-interactive
will instead cause the client to exit upon such an error.This is
detected by the bower resolver and the message printed to the user,
making it much easier to investigate and solve the underlying problem.
2015-10-23 13:05:16 +02:00
Patrick Kettner
0f790f4293
add User-Agent to downloadd
2015-10-20 13:51:50 -07:00
Patrick Kettner
452217e9fa
strip trailing slash in urlResolver
2015-10-17 21:48:10 -05:00
Adam Stankiewicz
ff0f2a8f83
Use stat instead of lstat for checking if something is directory, fixes #1951
2015-10-16 11:17:03 +02:00