Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from asapach:master #1

Merged
merged 192 commits into from
Nov 24, 2022
Merged

[pull] master from asapach:master #1

merged 192 commits into from
Nov 24, 2022

Conversation

pull[bot]
Copy link

@pull pull bot commented Nov 24, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

asapach and others added 28 commits August 26, 2018 23:58
* Support for M3U with reverse proxy and https

When downloading M3U files, if the reverse proxy exposes https, the generated URL is exporting the wrong protocol.
This change checks for x-forwarded-proto in the original request and creates the M3U list with the proxy reported protocol.

To allow for this to work with NGINX it sufficent to add the following lines:

                proxy_set_header X-Forwarded-Host $http_host;
                proxy_set_header X-Forwarded-Proto https;

The first line let peerflix know the original exposed FQDN:PORT name the client used to reach the proxy, the second header let peerflix know that request was https and not http.

* New approach for proxy

Changed to use X-Forwarded-* headers if available, or fallback to previous code if not.
Generate magnet from hash only
Inserting the torrent's magnet hash in the download input will work as if it was a valid magnet link
Also match a fixed length of either 32 or 40 characters
Bumps [bl](https://github.com/rvagg/bl) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](rvagg/bl@v3.0.0...v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.0/CHANGELOG.md)
- [Commits](socketio/socket.io@2.3.0...2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.15...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
….17.21

Bump lodash from 4.17.15 to 4.17.21
…o-2.4.0

Bump socket.io from 2.3.0 to 2.4.0
…xy-1.18.1

Bump http-proxy from 1.17.0 to 1.18.1
* add torrent completed download ETA

Co-authored-by: Aliaksei Sapach <1755336+asapach@users.noreply.github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.15...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [bl](https://github.com/rvagg/bl) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](rvagg/bl@v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: bl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](http-party/node-http-proxy@1.17.0...1.18.1)

---
updated-dependencies:
- dependency-name: http-proxy
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
* Process title added

* Docker enhancements

Added PEERFLIX_CONFIG_PATH env variable
Minimized docker image
Can be run from any user with -u flag, default node(1000):node(1000)

Co-authored-by: Aliaksei Sapach <1755336+asapach@users.noreply.github.com>
@pull pull bot added the ⤵️ pull label Nov 24, 2022
@pull pull bot merged commit adbc91e into dreamstu:master Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.