140 Commits

Author SHA1 Message Date
Patrick Kishino
9123cf04f6
Strip double quotes from umask check (#2601) 2023-05-11 21:01:30 +09:00
Geoff
30d070dce5
Check for update-port script existing instead of being executable (#2593)
#2459
2023-04-22 16:32:15 +02:00
Anastasiya Polina Soyka
05cea0aed9
Add Transmissionic Web UI & New Documentation (#2589) 2023-04-19 11:22:09 +09:00
Patrick Kishino
0284aec036
Merge branch 'master' into dev 2023-04-15 22:21:17 +09:00
Patrick Kishino
c763be0196
Update master with Transmission 4 (#2576)
* Image with Transmission 4.0.0-beta

* Build in separate stage

* Updated to beta2

* Update Dockerfile

* Updated transmission to 4.0.0 release

* Update Dockerfile

* update beta (#2554)

* Bump docker/build-push-action from 3 to 4 (#2534)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Socks5 example doc (#2541)

* fixing some heading sizes

* adding socks5-proxy example

---------

Co-authored-by: Jonathan Fair <jonathaf@netapp.com>

* Docs: add capabilities for Podman to tips&tricks (#2546)

Co-authored-by: Tomas Vik <tvik@gitlab.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JtMotoX <7191259+JtMotoX@users.noreply.github.com>
Co-authored-by: Jonathan Fair <jonathaf@netapp.com>
Co-authored-by: Tomas Vik <tvik@gitlab.com>

* Update Dockerfile

4.0.2

* Update configure-openvpn.sh (#2567)

Same changes to master going to beta for beta tests w latest Transmission

* Transmission->4.0.3

* prep new master (#2575)

* Bump docker/build-push-action from 3 to 4 (#2534)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Socks5 example doc (#2541)

* fixing some heading sizes

* adding socks5-proxy example

---------

Co-authored-by: Jonathan Fair <jonathaf@netapp.com>

* Docs: add capabilities for Podman to tips&tricks (#2546)

Co-authored-by: Tomas Vik <tvik@gitlab.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JtMotoX <7191259+JtMotoX@users.noreply.github.com>
Co-authored-by: Jonathan Fair <jonathaf@netapp.com>
Co-authored-by: Tomas Vik <tvik@gitlab.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Kristian Haugene <kristian@haugene.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JtMotoX <7191259+JtMotoX@users.noreply.github.com>
Co-authored-by: Jonathan Fair <jonathaf@netapp.com>
Co-authored-by: Tomas Vik <tvik@gitlab.com>
Co-authored-by: Derek Gordon <derek@derekgordon.com>
2023-04-14 13:04:30 +09:00
phesster
2322fd117d
simple adjustments to "openvpn/modify-openvpn-config.sh" and "transmission/start.sh" that can make the verbosity of logging user-adjustable (#2564)
* Bump docker/build-push-action from 3 to 4 (#2534)

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Socks5 example doc (#2541)

* fixing some heading sizes

* adding socks5-proxy example

---------

Co-authored-by: Jonathan Fair <jonathaf@netapp.com>

* Docs: add capabilities for Podman to tips&tricks (#2546)

Co-authored-by: Tomas Vik <tvik@gitlab.com>

* Change CONFIG_MOD_VERBOSITY usage

This change causes ${CONFIG_MOD_VERBOSITY} to become a variable used directly in the .ovpn config file.  The default value remains '3'.

* Insert ${TRANSMISSION_LOGGING} into exec'd command

This change allows for executing 'transmission-daemon' with '--log-level' set.  Utilizing a case-statement and forced lowercase, only valid values are accepted.  Default is no logging.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JtMotoX <7191259+JtMotoX@users.noreply.github.com>
Co-authored-by: Jonathan Fair <jonathaf@netapp.com>
Co-authored-by: Patrick Kishino <patrick.a.kishino@gmail.com>
Co-authored-by: Tomas Vik <tvik@gitlab.com>
2023-03-28 22:02:35 +09:00
J.P. Hutchins
1a7810e413
Fix bitwise decimal & octal (#2457)
* Fix bitwise decimal & octal

The issue is tracked here: https://github.com/haugene/docker-transmission-openvpn/issues/2450#issuecomment-1336259355

Also uses the TRASNMSISSION_UMASK variable instead of settings.json since updateSettings.py is called after userSetup.sh causing the TRANSMISSION_UMASK in settings.json to be stale when userSetup.sh accesses it.

* fix: missing {} in sh variable

* fix: missing {} in sh variable
2023-01-21 08:04:25 +09:00
Kristian Haugene
0d2810850f Fix fallback of transmission-home #2409 2022-12-21 00:18:31 +01:00
Henry Fraser
9e0fb883f7
Handle malformed settings.json (#2189)
- Generates new file in the same manner as if it were to not exist, using the default settings.
- Fixes issue #1484.

(cherry picked from commit 952b8e4bd1712df5339c27f5521add5c99a73b35)
2022-02-18 09:19:51 +09:00
Josh S
ff664f4fd4
Add ability to run custom script after routes are added (#2100)
* Fixed typo in line 95

`form` to `from`

* supported setting DISABLE_PORT_UPDATER to false

previously DISABLE_PORT_UPDATER had to not exist..now it can also be set to false

* Fix minor typos (#2074)

* Fixed missing $ from UFW variable use

There were a number of variable references missing $

* Fixed some more variables missing $

* Removed outdated typeset

this fixes and closes #2095

* add capability for routes-post-start.sh

* update docs

* amended position

placed entry where it should be in logical order when thinking about container lifecycle

Co-authored-by: Kobi <kobirosenstein@gmail.com>
Co-authored-by: Kristian Haugene <haugene@users.noreply.github.com>
Co-authored-by: Patrick Kishino <patrick.a.kishino@gmail.com>
Co-authored-by: Sean Kelly <xconverge@users.noreply.github.com>
2021-12-10 13:02:49 +09:00
edgd1er
af3d905b3a
DEBUG: print all lines before execution (#2096)
* DEBUG: print all lines before execution

if var DEBUG is set to anything other than false, each bash script will be run with a set -x. This would ease debugging

* DEBUG: centralize commands in utils.sh
2021-12-05 08:25:22 +09:00
XMB5
22f199814d
Fix scripts to work with --route-up, and update settings.json in transmission-home folder (#2082)
* Fix scripts to work with --route-up

* Update settings.json in transmission-home folder
2021-11-28 10:05:40 +09:00
Patrick Kishino
53f9a3872a Clarified transmission-home changes 2021-10-22 14:17:09 +09:00
Patrick Kishino
86eb6a8727
Added fallback and more explicit warning message (#2020)
* Added fallback and more explicit warning message
2021-10-21 15:46:30 +09:00
Patrick Kishino
317a0a78ad
Mount point changed to /config (#1974)
This changes the default mountpoint for transmission-home to /config
2021-10-16 12:34:12 +09:00
Kristian Haugene
07f220164c Merge branch 'master' into dev 2021-09-04 12:06:05 +02:00
Patrick Kishino
2affaf7cd0
Added support for Shift UI (#1926)
* Added support for Shift UI

* docs added
2021-09-04 12:25:27 +09:00
Patrick Kishino
92ed11b69c
Supports folder names with spaces
fix for #1913
2021-08-23 09:52:45 +09:00
dgcampea
283f7eb419
fix TRANSMISSION_TIMEOUT_SEC (#1860) 2021-06-30 11:20:19 +09:00
Babis K
f8b632fbe0
Replaced "route" command with "ip route". (#1837)
Fix #1836
2021-05-31 21:32:44 +09:00
wriches
77d307df1f
Apply Transmission umask setting to download directories (#1518)
* Apply Transmission umask setting to download directories

Co-authored-by: Patrick Kishino <patrick.a.kishino@gmail.com>
2021-04-30 08:43:12 +09:00
Kristian Haugene
cc96f7697e Follow up on #1776, remove fallback for 4.0 2021-03-18 00:31:17 +01:00
Kristian Haugene
720dda941d Rename flood ui config option to flood-for-transmission #1759 2021-03-17 00:33:10 +01:00
Johan
6efdf5d4e1
Use the build release version from Flood instead of building ourselves (#1759) 2021-03-08 17:12:21 +09:00
Patrick Kishino
b68db41955
Fixed duplicate default route drop causing problems (#1723) 2021-02-17 20:44:36 +09:00
Paweł Krupa
7b453b9d31
transmission: fix settings ratio limits to float values (#1610) 2021-01-19 10:47:28 +09:00
Paweł Krupa
6ef31158de
transmission: hard fail when settings cannot be converted (#1611) 2021-01-19 10:47:00 +09:00
Joshua Arulsamy
ab91d6735a
Flood UI (#1663)
* Bundle Flood WebUI

Add the Flood WebUI to the default installation of the container.

The Flood UI offers no pre-built tarball for installation, so the source
is cloned and compiled in a separate stage container. Then the resulting
build files are copied to the final image. Build size only increases by
~1MB, but build times are slightly longer due to the added complexity.

Resolves #1661

* Update docs to include new supported WebUI
2021-01-19 10:41:13 +09:00
Kristian Haugene
8569b9f1a3 Update documentation, add debugging guide #1558 2020-12-05 02:18:16 +01:00
Kristian Haugene
caf892d141 Reduce default timeout, shellcheck quote fixes #1530 2020-11-26 23:16:45 +01:00
Clément Zrounba
43cd0c6d27 Fix indentation 2020-11-19 12:24:43 +01:00
Clément Zrounba
10233ae24e After transmission timeout is reached, send SIGKILL if it is still alive 2020-11-19 12:24:42 +01:00
Clément Zrounba
768ecb0aac Add variable to specify transmission exit timeout
Defaults to 10s but can be overridden by setting it from the environment if needed.
2020-11-19 12:24:41 +01:00
Clément Zrounba
522c88ba9e Fix invalid use of ps -p on alpine
On alpine (armhf), `ps` from `busybox` doesn't support `-p`
`ps -p` calls always returned an error, thus it was always assumed that
transmission had shut down
2020-11-19 12:24:40 +01:00
ilike2burnthing
32e7fd4a66
transmission: update default settings 2020-11-17 23:31:17 +00:00
ilike2burnthing
e5cba237e0
transmission: remove legacy settings 2020-11-16 02:25:00 +00:00
Utku Ozdemir
a9c4e23a84 Prevent logging rpc-password to stdout 2020-11-06 20:42:58 +01:00
tallzoologytortbatik
852d598b44 Remove pointless comparison to "True"
- We lower the string so it would always be converted
to "true"
2020-10-23 12:09:12 -04:00
tallzoologytortbatik
6d1ddd4e01 Coerce env var values to expected types by settings.json
- Avoid values being written as the wrong type and then
being misinterpreted by Transmission.
2020-10-23 10:22:05 -04:00
Kusha Gharahi
4a8333b20e Remove DOCKER_LOG infavor of LOG_TO_STDOUT 2020-10-10 14:26:33 -05:00
Kristian Haugene
51f45b1413 Merge branch 'master' into merge/master-into-dev 2020-10-10 14:04:31 +02:00
Kusha Gharahi
e3d27e8172
Add LOG_TO_STDOUT variable + documentation (#1379) 2020-09-29 08:51:59 +09:00
Kristian Haugene
26fc8843fb Better logging 2020-08-22 15:56:12 +02:00
Kristian Haugene
d763ba4a33 Need to persist new bind address for perfect privacy script 2020-08-22 15:34:34 +02:00
Kristian Haugene
f5a305bb8e Move port forwarding scripts into provider folders, unify call and fix export syntax of environment variables 2020-08-22 15:24:12 +02:00
Thomas Borgen
c02e6c08cc some cleanup 2020-08-09 23:26:34 +02:00
Thomas Borgen
d46fd7631c replace calls to sys for arguments with argparse 2020-08-09 23:12:17 +02:00
Kristian Haugene
12e6378bfe Replace dockerize, make settings persistent, let settings be overridden by env vars 2020-08-09 18:02:51 +02:00
Marc Runkel
dbe3419dfa
Update OVPN configs (plus a small bonus bugfix) (#1265)
* Fix error message when $PUID is set and $PGID isn't set.

* Update hostnames for OVPN

Co-authored-by: Marc Runkel <marc.runkel@plusforta.de>
2020-06-27 19:28:03 +09:00
Patrick Kishino
f2567fb662 Escape webproxy+rpc password 2020-06-02 19:11:03 +09:00