dependabot[bot]
02355eda28
chore(deps): bump handlebars from 4.7.6 to 4.7.7 ( #254 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 10:43:03 -06:00
Andres Watson
8b32be7acc
Update README.md ( #253 )
...
* Update README.md
Based on https://github.com/autovance/ftp-srv/discussions/250 I propose to explain that is not a HOST, must be an IP Address.
* Update README.md
* Update README.md
Co-authored-by: Matt Forster <hey@mattforster.ca >
Co-authored-by: Matt Forster <hey@mattforster.ca >
2021-05-05 09:44:58 -06:00
dependabot[bot]
5daaa9883c
chore(deps): bump y18n from 4.0.0 to 4.0.1 ( #247 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 10:28:31 -06:00
Connor Skees
02798e094f
chore: small readme typo ( #242 )
2021-01-18 08:51:57 -07:00
Tyler Stewart
720c93d088
fix(feat): lazy require registry ( #238 )
...
* chore: give mocha explicit test paths
Mocha doesn't seem to find nested paths with **
* fix(feat): lazy require registry
If requiring the registry from the module scope the result is an empty object. I assume this is caused by the circular nature of this dep
2021-01-04 16:51:02 -07:00
Ricardas Jonaitis
bffcc35299
fix: dns lookup fail with IP with zeros padding ( #237 )
2021-01-04 08:34:40 -07:00
Matt Forster
78de22f518
chore: fix semantic release dry run
v4.4.0
2020-12-16 15:36:11 -07:00
Matt Forster
2b140ecb0d
chore: condition-circle using 'branch'
2020-12-16 15:27:40 -07:00
Matt Forster
57ddfb5e08
chore: set master as release branch
2020-12-16 15:22:56 -07:00
Matt Forster
beef19af30
chore: set release branch
2020-12-16 15:15:55 -07:00
Matt Forster
e7c5f83311
chore: setup release branch
2020-12-16 15:07:06 -07:00
Matt Forster
1ab793c04e
chore: add install to release steps
...
requires some dev deps
2020-12-16 15:00:53 -07:00
Matt Forster
24f7126acf
chore: improve ci flows ( #227 )
...
current release flow doesn't work
improve supported version testing
2020-12-16 14:58:20 -07:00
Matt Forster
457b859450
fix(fs): check resolved path against root ( #224 )
...
* fix(fs): check resolved path against root
This should prevent paths from being resolved above the root.
Should affect all commands that utilize the FS functions.
Fixes #167
* test: use __dirname for relative certs
* fix: improve path resolution
* chore: remove unused package
* fix: normalize resolve path if absolute
Otherwise join will normalize
Co-authored-by: Tyler Stewart <tyler@autovance.com >
2020-12-16 10:19:28 -07:00
Matt Forster
722da60a82
chore: set deploy context
2020-12-15 12:04:35 -07:00
dependabot[bot]
9f95d60916
chore(deps): bump ini from 1.3.5 to 1.3.7 ( #223 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 10:46:24 -07:00
techmunk
4cd88b129c
fix: ensure commandSocket is set before retrieving ip address of connection ( #222 )
2020-12-08 11:05:50 -07:00
dependabot[bot]
db49063b0d
chore(deps-dev): bump semantic-release from 15.14.0 to 17.2.3 ( #220 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 15.14.0 to 17.2.3.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v15.14.0...v17.2.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-25 09:03:08 -07:00
dependabot[bot]
b55557292e
chore(deps): bump node-fetch from 2.6.0 to 2.6.1 ( #218 )
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 08:28:39 -06:00
Devonte
c87ce2fef6
fix: log errors, improved messages ( #156 )
...
Spelling errors, improved error logs.
2020-09-08 08:38:14 -06:00
Yaser
05a68cfb08
feat: pipe stream on fs write ( #206 )
...
* pipe allloewd on write stream
* code readable
* fix: 'if' statment missed curly braces
* Update src/commands/registration/stor.js
Replacing write data with pipe on STOR command
Co-authored-by: Tyler Stewart <hello@tylerstewart.ca >
* fix: socket on data replaced with socket on pipe
* fix: extra space
Co-authored-by: Tyler Stewart <hello@tylerstewart.ca >
Co-authored-by: Tyler Stewart <tyler@autovance.com >
2020-08-25 15:44:37 -06:00
Matt Forster
31290fc964
chore: security.md ( #215 )
...
* chore: security.md
* Update SECURITY.md
2020-08-18 11:44:53 -06:00
Matt Forster
a598fab03c
fix: packages updates - npm advisories ( #214 )
...
Correct NPM advisories by updating package-lock.json and package
dependencies.
Major upgrade for yargs, but did not affect our code directly.
2020-08-17 15:44:23 -06:00
Matt Forster
87e8ac6ca8
chore: fix maintenance version regex
2020-08-17 13:43:27 -06:00
Matt Forster
75e34988f4
chore: add release support for backport branches ( #213 )
2020-08-17 13:37:49 -06:00
Tyler Stewart
e449e75219
fix: disallow PORT connections to alternate hosts
...
Ensure the data socket that the server connects to from the PORT command is the same IP as the current command socket.
* fix: add error handling to additional connection commands
v4.3.4
2020-08-17 13:15:06 -06:00
Tyler Stewart
296573ae01
fix: cli arg consistency
v4.3.3
2020-08-13 08:38:01 -06:00
Tyler Stewart
be579f65d0
docs: clarify passive options and behaviour
2020-08-13 08:38:01 -06:00
dependabot[bot]
c440050945
chore(deps): bump npm from 6.13.4 to 6.14.6 ( #203 )
...
Bumps [npm](https://github.com/npm/cli ) from 6.13.4 to 6.14.6.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v6.13.4...v6.14.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Stewart <tyler@autovance.com >
2020-07-21 10:05:34 -06:00
Tyler Stewart
ca576acf2e
fix: correctly destroy socket on close ( #208 )
...
* chore: update owner references
* fix: correctly destroy socket on close
This fixes an issue where the client would never close, hanging the server and preventing shutdown
* fix: only set timeout if greater than 0
* fix: move dependency to top
* fix: notify of command that caused error
* fix: emit disconnect event on client close
v4.3.2
2020-07-20 16:30:04 -06:00
dependabot[bot]
649d582f30
chore(deps): bump lodash from 4.17.15 to 4.17.19 ( #205 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 13:59:28 -06:00
dependabot[bot]
e26caad783
chore(deps): bump https-proxy-agent from 2.2.2 to 2.2.4 ( #198 )
2020-05-01 09:04:06 -06:00
dependabot[bot]
2470db6482
chore(deps): bump handlebars from 4.1.2 to 4.5.3 ( #186 )
2020-05-01 09:01:50 -06:00
dependabot[bot]
d78fae0ce6
chore(deps): bump acorn from 6.1.0 to 6.4.1 ( #195 )
2020-05-01 08:59:54 -06:00
Tyler Stewart
c59e191a39
fix: correct OPTS error code ( #190 )
...
If an unknown option is given, the response should be 501
v4.3.1
2020-01-07 09:39:22 -07:00
Tyler Stewart
b2b1b2a0d3
fix(commands): 502 error on unsupported command ( #185 )
...
* fix(commands): 502 error on unsupported command
Fixes: https://github.com/trs/ftp-srv/issues/184
* test: update test assertion
2020-01-06 15:09:34 -07:00
dependabot[bot]
81fa7fcb89
chore(deps): bump npm from 6.11.2 to 6.13.4 ( #183 )
...
Bumps [npm](https://github.com/npm/cli ) from 6.11.2 to 6.13.4.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v6.11.2...v6.13.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-12-14 13:00:44 -05:00
Leo Bernard
a18841d770
feat: 'disconnect' event ( #175 )
...
Fixes #174
v4.3.0
2019-11-08 09:45:27 -07:00
Karoly Gossler
0dbb7f9070
docs: fixes the documentation of pasv_url behaviour ( #172 )
...
fixes #171
2019-09-26 12:16:19 -06:00
Tyler Stewart
0b9167e1e4
fix: explicitly promisify fs methods
...
`promisifyAll` will throw if a method with the suffix `Async` already
exists.
Fixes: https://github.com/trs/ftp-srv/pull/159
v4.2.0
2019-08-22 14:57:40 -06:00
Tyler Stewart
484409d2eb
feat: allow connecting from local
2019-08-22 14:57:40 -06:00
Tyler Stewart
5ffcef3312
fix: dont format message is empty
2019-08-22 14:57:40 -06:00
Tibor Papp
290769a042
Possibility to send back empty message
2019-08-22 14:57:40 -06:00
Tibor Papp
a1c7f2ffda
Return response when folder is empty.
...
If we do not send back a response, some FTP clients can fail, when they use encryption.
2019-08-22 14:57:40 -06:00
Tyler Stewart
7153ffab4d
chore: npm audit
2019-08-22 14:57:40 -06:00
Tyler Stewart
c0e132b70e
fix: ensure valid fs path resolution
2019-08-22 14:57:40 -06:00
Tyler Stewart
e661bd10e2
fix: remove socket encoding
...
By setting the encoding, there becomes issues with binary transfers
(such as photos).
2019-08-22 14:57:40 -06:00
Tyler Stewart
bece42a0c9
feat: close passive server when client disconnects
...
Since a passive server is created for an individual client, when it
disconnects from the server we can assume the server is done and should
close it.
2019-08-22 14:57:40 -06:00
Tyler Stewart
b1fe56826c
feat: disconnect passive server after timeout
...
If no client connects within 30 seconds of requesting, close the server.
This prevents multiple servers from being created and never closing.
2019-08-22 14:57:40 -06:00
Tyler Stewart
16dbc7895c
chore: audit fix
v4.1.1
2019-06-21 14:37:56 -06:00