NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

_modules/scripts/core.sh

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

core.sh on main
Author Date Commit Line Code
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
1
#!/usr/bin/env bash
Open commit View diff
1 #!/usr/bin/env bash
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
2
# _modules/scripts/core.sh
Open commit View diff
2 # _modules/scripts/core.sh
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
3
# THIS SCRIPT IS DESIGNED TO BE RUNNING BY MAILCOW SCRIPTS ONLY!
Open commit View diff
3 # THIS SCRIPT IS DESIGNED TO BE RUNNING BY MAILCOW SCRIPTS ONLY!
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
4
# DO NOT, AGAIN, NOT TRY TO RUN THIS SCRIPT STANDALONE!!!!!!
Open commit View diff
4 # DO NOT, AGAIN, NOT TRY TO RUN THIS SCRIPT STANDALONE!!!!!!
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
5
Open commit View diff
5
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
6
# ANSI color for red errors
Open commit View diff
6 # ANSI color for red errors
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
7
RED='\e[31m'
Open commit View diff
7 RED='\e[31m'
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
8
GREEN='\e[32m'
Open commit View diff
8 GREEN='\e[32m'
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
9
YELLOW='\e[33m'
Open commit View diff
9 YELLOW='\e[33m'
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
10
BLUE='\e[34m'
Open commit View diff
10 BLUE='\e[34m'
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
11
MAGENTA='\e[35m'
Open commit View diff
11 MAGENTA='\e[35m'
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
12
LIGHT_RED='\e[91m'
Open commit View diff
12 LIGHT_RED='\e[91m'
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
13
LIGHT_GREEN='\e[92m'
Open commit View diff
13 LIGHT_GREEN='\e[92m'
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
14
NC='\e[0m'
Open commit View diff
14 NC='\e[0m'
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
15
Open commit View diff
15
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
16
caller="${BASH_SOURCE[1]##*/}"
Open commit View diff
16 caller="${BASH_SOURCE[1]##*/}"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
17
Open commit View diff
17
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
18
get_installed_tools(){
Open commit View diff
18 get_installed_tools(){
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
19
    for bin in openssl curl docker git awk sha1sum grep cut jq; do
Open commit View diff
19 for bin in openssl curl docker git awk sha1sum grep cut jq; do
Patrik Kernstock 10 months ago 383b5af

More clearer message to install required tool

Full commit hash
383b5affb52cd20a87cdfd6235df7e51d4ad31b1
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
20
        if [[ -z $(command -v ${bin}) ]]; then
Open commit View diff
20 if [[ -z $(command -v ${bin}) ]]; then
same change 383b5af

More clearer message to install required tool

Full commit hash
383b5affb52cd20a87cdfd6235df7e51d4ad31b1
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
21
          echo "Error: Cannot find command '${bin}'. Cannot proceed."
Open commit View diff
21 echo "Error: Cannot find command '${bin}'. Cannot proceed."
Patrik Kernstock 10 months ago c915bf2

Add docs link to get_installed_tools() message

Full commit hash
c915bf2ee20aa54482b2701f0e8220ea02f14ebe
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
22
          echo "Solution: Please review system requirements and install requirements. Then, re-run the script."
Open commit View diff
22 echo "Solution: Please review system requirements and install requirements. Then, re-run the script."
same change c915bf2

Add docs link to get_installed_tools() message

Full commit hash
c915bf2ee20aa54482b2701f0e8220ea02f14ebe
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
23
          echo "See System Requirements: https://docs.mailcow.email/getstarted/install/"
Open commit View diff
23 echo "See System Requirements: https://docs.mailcow.email/getstarted/install/"
Patrik Kernstock 10 months ago 383b5af

More clearer message to install required tool

Full commit hash
383b5affb52cd20a87cdfd6235df7e51d4ad31b1
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
24
          echo "Exiting..."
Open commit View diff
24 echo "Exiting..."
same change 383b5af

More clearer message to install required tool

Full commit hash
383b5affb52cd20a87cdfd6235df7e51d4ad31b1
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
25
          exit 1
Open commit View diff
25 exit 1
same change 383b5af

More clearer message to install required tool

Full commit hash
383b5affb52cd20a87cdfd6235df7e51d4ad31b1
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
26
        fi
Open commit View diff
26 fi
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
27
    done
Open commit View diff
27 done
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
28
Open commit View diff
28
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
29
    if grep --help 2>&1 | head -n 1 | grep -q -i "busybox"; then echo -e "${LIGHT_RED}BusyBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\"${NC}"; exit 1; fi
Open commit View diff
29 if grep --help 2>&1 | head -n 1 | grep -q -i "busybox"; then echo -e "${LIGHT_RED}BusyBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\"${NC}"; exit 1; fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
30
    # This will also cover sort
Open commit View diff
30 # This will also cover sort
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
31
    if cp --help 2>&1 | head -n 1 | grep -q -i "busybox"; then echo -e "${LIGHT_RED}BusyBox cp detected, please install coreutils, \"apk add --no-cache --upgrade coreutils\"${NC}"; exit 1; fi
Open commit View diff
31 if cp --help 2>&1 | head -n 1 | grep -q -i "busybox"; then echo -e "${LIGHT_RED}BusyBox cp detected, please install coreutils, \"apk add --no-cache --upgrade coreutils\"${NC}"; exit 1; fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
32
    if sed --help 2>&1 | head -n 1 | grep -q -i "busybox"; then echo -e "${LIGHT_RED}BusyBox sed detected, please install gnu sed, \"apk add --no-cache --upgrade sed\"${NC}"; exit 1; fi
Open commit View diff
32 if sed --help 2>&1 | head -n 1 | grep -q -i "busybox"; then echo -e "${LIGHT_RED}BusyBox sed detected, please install gnu sed, \"apk add --no-cache --upgrade sed\"${NC}"; exit 1; fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
33
}
Open commit View diff
33 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
34
Open commit View diff
34
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
35
get_docker_version(){
Open commit View diff
35 get_docker_version(){
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
36
    # Check Docker Version (need at least 24.X)
Open commit View diff
36 # Check Docker Version (need at least 24.X)
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
37
    docker_version=$(docker version --format '{{.Server.Version}}' | cut -d '.' -f 1)
Open commit View diff
37 docker_version=$(docker version --format '{{.Server.Version}}' | cut -d '.' -f 1)
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
38
}
Open commit View diff
38 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
39
Open commit View diff
39
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
40
get_compose_type(){
Open commit View diff
40 get_compose_type(){
DerLinkman 8 months ago 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
41
  if docker compose > /dev/null 2>&1; then
Open commit View diff
41 if docker compose > /dev/null 2>&1; then
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
42
    if docker compose version --short | grep -e "^[2-9]\." -e "^v[2-9]\." -e "^[1-9][0-9]\." -e "^v[1-9][0-9]\." > /dev/null 2>&1; then
Open commit View diff
42 if docker compose version --short | grep -e "^[2-9]\." -e "^v[2-9]\." -e "^[1-9][0-9]\." -e "^v[1-9][0-9]\." > /dev/null 2>&1; then
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
43
      COMPOSE_VERSION=native
Open commit View diff
43 COMPOSE_VERSION=native
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
44
      COMPOSE_COMMAND="docker compose"
Open commit View diff
44 COMPOSE_COMMAND="docker compose"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
45
      if [[ "$caller" == "update.sh" ]]; then
Open commit View diff
45 if [[ "$caller" == "update.sh" ]]; then
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
46
        sed -i 's/^DOCKER_COMPOSE_VERSION=.*/DOCKER_COMPOSE_VERSION=native/' "$SCRIPT_DIR/mailcow.conf"
Open commit View diff
46 sed -i 's/^DOCKER_COMPOSE_VERSION=.*/DOCKER_COMPOSE_VERSION=native/' "$SCRIPT_DIR/mailcow.conf"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
47
      fi
Open commit View diff
47 fi
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
48
      echo -e "\e[33mFound Docker Compose Plugin (native).\e[0m"
Open commit View diff
48 echo -e "\e[33mFound Docker Compose Plugin (native).\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
49
      echo -e "\e[33mSetting the DOCKER_COMPOSE_VERSION Variable to native\e[0m"
Open commit View diff
49 echo -e "\e[33mSetting the DOCKER_COMPOSE_VERSION Variable to native\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
50
      sleep 2
Open commit View diff
50 sleep 2
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
51
      echo -e "\e[33mNotice: You'll have to update this Compose Version via your Package Manager manually!\e[0m"
Open commit View diff
51 echo -e "\e[33mNotice: You'll have to update this Compose Version via your Package Manager manually!\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
52
    else
Open commit View diff
52 else
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
53
      echo -e "\e[31mCannot find Docker Compose with a Version Higher than 2.X.X.\e[0m"
Open commit View diff
53 echo -e "\e[31mCannot find Docker Compose with a Version Higher than 2.X.X.\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
54
      echo -e "\e[31mPlease update/install it manually regarding to this doc site: https://docs.mailcow.email/install/\e[0m"
Open commit View diff
54 echo -e "\e[31mPlease update/install it manually regarding to this doc site: https://docs.mailcow.email/install/\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
55
      exit 1
Open commit View diff
55 exit 1
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
56
    fi
Open commit View diff
56 fi
DerLinkman 8 months ago 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
57
  elif docker-compose > /dev/null 2>&1; then
Open commit View diff
57 elif docker-compose > /dev/null 2>&1; then
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
58
  if ! [[ $(alias docker-compose 2> /dev/null) ]] ; then
Open commit View diff
58 if ! [[ $(alias docker-compose 2> /dev/null) ]] ; then
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
59
    if docker-compose version --short | grep -e "^[2-9]\." -e "^[1-9][0-9]\." > /dev/null 2>&1; then
Open commit View diff
59 if docker-compose version --short | grep -e "^[2-9]\." -e "^[1-9][0-9]\." > /dev/null 2>&1; then
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
60
      COMPOSE_VERSION=standalone
Open commit View diff
60 COMPOSE_VERSION=standalone
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
61
      COMPOSE_COMMAND="docker-compose"
Open commit View diff
61 COMPOSE_COMMAND="docker-compose"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
62
      if [[ "$caller" == "update.sh" ]]; then
Open commit View diff
62 if [[ "$caller" == "update.sh" ]]; then
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
63
        sed -i 's/^DOCKER_COMPOSE_VERSION=.*/DOCKER_COMPOSE_VERSION=standalone/' "$SCRIPT_DIR/mailcow.conf"
Open commit View diff
63 sed -i 's/^DOCKER_COMPOSE_VERSION=.*/DOCKER_COMPOSE_VERSION=standalone/' "$SCRIPT_DIR/mailcow.conf"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
64
      fi
Open commit View diff
64 fi
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
65
      echo -e "\e[33mFound Docker Compose Standalone.\e[0m"
Open commit View diff
65 echo -e "\e[33mFound Docker Compose Standalone.\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
66
      echo -e "\e[33mSetting the DOCKER_COMPOSE_VERSION Variable to standalone\e[0m"
Open commit View diff
66 echo -e "\e[33mSetting the DOCKER_COMPOSE_VERSION Variable to standalone\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
67
      sleep 2
Open commit View diff
67 sleep 2
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
68
      echo -e "\e[33mNotice: For an automatic update of docker-compose please use the update_compose.sh scripts located at the helper-scripts folder.\e[0m"
Open commit View diff
68 echo -e "\e[33mNotice: For an automatic update of docker-compose please use the update_compose.sh scripts located at the helper-scripts folder.\e[0m"
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
69
    else
Open commit View diff
69 else
DerLinkman 8 months ago 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
70
      echo -e "\e[31mCannot find Docker Compose with a Version Higher than 2.X.X.\e[0m"
Open commit View diff
70 echo -e "\e[31mCannot find Docker Compose with a Version Higher than 2.X.X.\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
71
      echo -e "\e[31mPlease update/install manually regarding to this doc site: https://docs.mailcow.email/install/\e[0m"
Open commit View diff
71 echo -e "\e[31mPlease update/install manually regarding to this doc site: https://docs.mailcow.email/install/\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
72
      exit 1
Open commit View diff
72 exit 1
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
73
    fi
Open commit View diff
73 fi
DerLinkman 8 months ago 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
74
  fi
Open commit View diff
74 fi
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
75
  else
Open commit View diff
75 else
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
76
    echo -e "\e[31mCannot find Docker Compose.\e[0m"
Open commit View diff
76 echo -e "\e[31mCannot find Docker Compose.\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
77
    echo -e "\e[31mPlease install it regarding to this doc site: https://docs.mailcow.email/install/\e[0m"
Open commit View diff
77 echo -e "\e[31mPlease install it regarding to this doc site: https://docs.mailcow.email/install/\e[0m"
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
78
    exit 1
Open commit View diff
78 exit 1
same change 9a2887c

core: improved docker compose version check

Full commit hash
9a2887cf46074d1cb9ad17be5a3bbcdf662fd1cf
Author
DerLinkman <[email protected]>
Date
8 months ago
Selected line
79
  fi
Open commit View diff
79 fi
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
80
}
Open commit View diff
80 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
81
Open commit View diff
81
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
82
detect_bad_asn() {
Open commit View diff
82 detect_bad_asn() {
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
83
  echo -e "\e[33mDetecting if your IP is listed on Spamhaus Bad ASN List...\e[0m"
Open commit View diff
83 echo -e "\e[33mDetecting if your IP is listed on Spamhaus Bad ASN List...\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
84
  response=$(curl --connect-timeout 15 --max-time 30 -s -o /dev/null -w "%{http_code}" "https://asn-check.mailcow.email")
Open commit View diff
84 response=$(curl --connect-timeout 15 --max-time 30 -s -o /dev/null -w "%{http_code}" "https://asn-check.mailcow.email")
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
85
  if [ "$response" -eq 503 ]; then
Open commit View diff
85 if [ "$response" -eq 503 ]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
86
    if [ -z "$SPAMHAUS_DQS_KEY" ]; then
Open commit View diff
86 if [ -z "$SPAMHAUS_DQS_KEY" ]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
87
      echo -e "\e[33mYour server's public IP uses an AS that is blocked by Spamhaus to use their DNS public blocklists for Postfix.\e[0m"
Open commit View diff
87 echo -e "\e[33mYour server's public IP uses an AS that is blocked by Spamhaus to use their DNS public blocklists for Postfix.\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
88
      echo -e "\e[33mmailcow did not detected a value for the variable SPAMHAUS_DQS_KEY inside mailcow.conf!\e[0m"
Open commit View diff
88 echo -e "\e[33mmailcow did not detected a value for the variable SPAMHAUS_DQS_KEY inside mailcow.conf!\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
89
      sleep 2
Open commit View diff
89 sleep 2
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
90
      echo ""
Open commit View diff
90 echo ""
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
91
      echo -e "\e[33mTo use the Spamhaus DNS Blocklists again, you will need to create a FREE account for their Data Query Service (DQS) at: https://www.spamhaus.com/free-trial/sign-up-for-a-free-data-query-service-account\e[0m"
Open commit View diff
91 echo -e "\e[33mTo use the Spamhaus DNS Blocklists again, you will need to create a FREE account for their Data Query Service (DQS) at: https://www.spamhaus.com/free-trial/sign-up-for-a-free-data-query-service-account\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
92
      echo -e "\e[33mOnce done, enter your DQS API key in mailcow.conf and mailcow will do the rest for you!\e[0m"
Open commit View diff
92 echo -e "\e[33mOnce done, enter your DQS API key in mailcow.conf and mailcow will do the rest for you!\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
93
      echo ""
Open commit View diff
93 echo ""
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
94
      sleep 2
Open commit View diff
94 sleep 2
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
95
    else
Open commit View diff
95 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
96
      echo -e "\e[33mYour server's public IP uses an AS that is blocked by Spamhaus to use their DNS public blocklists for Postfix.\e[0m"
Open commit View diff
96 echo -e "\e[33mYour server's public IP uses an AS that is blocked by Spamhaus to use their DNS public blocklists for Postfix.\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
97
      echo -e "\e[32mmailcow detected a Value for the variable SPAMHAUS_DQS_KEY inside mailcow.conf. Postfix will use DQS with the given API key...\e[0m"
Open commit View diff
97 echo -e "\e[32mmailcow detected a Value for the variable SPAMHAUS_DQS_KEY inside mailcow.conf. Postfix will use DQS with the given API key...\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
98
    fi
Open commit View diff
98 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
99
  elif [ "$response" -eq 200 ]; then
Open commit View diff
99 elif [ "$response" -eq 200 ]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
100
    echo -e "\e[33mCheck completed! Your IP is \e[32mclean\e[0m"
Open commit View diff
100 echo -e "\e[33mCheck completed! Your IP is \e[32mclean\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
101
  elif [ "$response" -eq 429 ]; then
Open commit View diff
101 elif [ "$response" -eq 429 ]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
102
    echo -e "\e[33mCheck completed! \e[31mYour IP seems to be rate limited on the ASN Check service... please try again later!\e[0m"
Open commit View diff
102 echo -e "\e[33mCheck completed! \e[31mYour IP seems to be rate limited on the ASN Check service... please try again later!\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
103
  else
Open commit View diff
103 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
104
    echo -e "\e[31mCheck failed! \e[0mMaybe a DNS or Network problem?\e[0m"
Open commit View diff
104 echo -e "\e[31mCheck failed! \e[0mMaybe a DNS or Network problem?\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
105
  fi
Open commit View diff
105 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
106
}
Open commit View diff
106 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
107
Open commit View diff
107
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
108
check_online_status() {
Open commit View diff
108 check_online_status() {
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
109
  CHECK_ONLINE_DOMAINS=('https://github.com' 'https://hub.docker.com')
Open commit View diff
109 CHECK_ONLINE_DOMAINS=('https://github.com' 'https://hub.docker.com')
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
110
  for domain in "${CHECK_ONLINE_DOMAINS[@]}"; do
Open commit View diff
110 for domain in "${CHECK_ONLINE_DOMAINS[@]}"; do
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
111
    if timeout 6 curl --head --silent --output /dev/null ${domain}; then
Open commit View diff
111 if timeout 6 curl --head --silent --output /dev/null ${domain}; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
112
      return 0
Open commit View diff
112 return 0
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
113
    fi
Open commit View diff
113 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
114
  done
Open commit View diff
114 done
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
115
  return 1
Open commit View diff
115 return 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
116
}
Open commit View diff
116 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
117
Open commit View diff
117
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
118
prefetch_images() {
Open commit View diff
118 prefetch_images() {
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
119
  [[ -z ${BRANCH} ]] && { echo -e "\e[33m\nUnknown branch...\e[0m"; exit 1; }
Open commit View diff
119 [[ -z ${BRANCH} ]] && { echo -e "\e[33m\nUnknown branch...\e[0m"; exit 1; }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
120
  git fetch origin #${BRANCH}
Open commit View diff
120 git fetch origin #${BRANCH}
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
121
  while read image; do
Open commit View diff
121 while read image; do
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
122
    RET_C=0
Open commit View diff
122 RET_C=0
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
123
    until docker pull "${image}"; do
Open commit View diff
123 until docker pull "${image}"; do
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
124
      RET_C=$((RET_C + 1))
Open commit View diff
124 RET_C=$((RET_C + 1))
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
125
      echo -e "\e[33m\nError pulling $image, retrying...\e[0m"
Open commit View diff
125 echo -e "\e[33m\nError pulling $image, retrying...\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
126
      [ ${RET_C} -gt 3 ] && { echo -e "\e[31m\nToo many failed retries, exiting\e[0m"; exit 1; }
Open commit View diff
126 [ ${RET_C} -gt 3 ] && { echo -e "\e[31m\nToo many failed retries, exiting\e[0m"; exit 1; }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
127
      sleep 1
Open commit View diff
127 sleep 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
128
    done
Open commit View diff
128 done
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
129
  done < <(git show "origin/${BRANCH}:docker-compose.yml" | grep "image:" | awk '{ gsub("image:","", $3); print $2 }')
Open commit View diff
129 done < <(git show "origin/${BRANCH}:docker-compose.yml" | grep "image:" | awk '{ gsub("image:","", $3); print $2 }')
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
130
}
Open commit View diff
130 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
131
Open commit View diff
131
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
132
docker_garbage() {
Open commit View diff
132 docker_garbage() {
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
133
  SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )"
Open commit View diff
133 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
134
  IMGS_TO_DELETE=()
Open commit View diff
134 IMGS_TO_DELETE=()
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
135
Open commit View diff
135
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
136
  declare -A IMAGES_INFO
Open commit View diff
136 declare -A IMAGES_INFO
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
137
  COMPOSE_IMAGES=($(grep -oP "image: \K(ghcr\.io/)?mailcow.+" "${SCRIPT_DIR}/docker-compose.yml"))
Open commit View diff
137 COMPOSE_IMAGES=($(grep -oP "image: \K(ghcr\.io/)?mailcow.+" "${SCRIPT_DIR}/docker-compose.yml"))
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
138
Open commit View diff
138
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
139
  for existing_image in $(docker images --format "{{.ID}}:{{.Repository}}:{{.Tag}}" | grep -E '(mailcow/|ghcr\.io/mailcow/)'); do
Open commit View diff
139 for existing_image in $(docker images --format "{{.ID}}:{{.Repository}}:{{.Tag}}" | grep -E '(mailcow/|ghcr\.io/mailcow/)'); do
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
140
      ID=$(echo "$existing_image" | cut -d ':' -f 1)
Open commit View diff
140 ID=$(echo "$existing_image" | cut -d ':' -f 1)
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
141
      REPOSITORY=$(echo "$existing_image" | cut -d ':' -f 2)
Open commit View diff
141 REPOSITORY=$(echo "$existing_image" | cut -d ':' -f 2)
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
142
      TAG=$(echo "$existing_image" | cut -d ':' -f 3)
Open commit View diff
142 TAG=$(echo "$existing_image" | cut -d ':' -f 3)
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
143
Open commit View diff
143
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
144
      if [[ "$REPOSITORY" == "mailcow/backup" || "$REPOSITORY" == "ghcr.io/mailcow/backup" ]]; then
Open commit View diff
144 if [[ "$REPOSITORY" == "mailcow/backup" || "$REPOSITORY" == "ghcr.io/mailcow/backup" ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
145
          if [[ "$TAG" != "<none>" ]]; then
Open commit View diff
145 if [[ "$TAG" != "<none>" ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
146
              continue
Open commit View diff
146 continue
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
147
          fi
Open commit View diff
147 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
148
      fi
Open commit View diff
148 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
149
Open commit View diff
149
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
150
      if [[ " ${COMPOSE_IMAGES[@]} " =~ " ${REPOSITORY}:${TAG} " ]]; then
Open commit View diff
150 if [[ " ${COMPOSE_IMAGES[@]} " =~ " ${REPOSITORY}:${TAG} " ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
151
          continue
Open commit View diff
151 continue
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
152
      else
Open commit View diff
152 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
153
          IMGS_TO_DELETE+=("$ID")
Open commit View diff
153 IMGS_TO_DELETE+=("$ID")
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
154
          IMAGES_INFO["$ID"]="$REPOSITORY:$TAG"
Open commit View diff
154 IMAGES_INFO["$ID"]="$REPOSITORY:$TAG"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
155
      fi
Open commit View diff
155 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
156
  done
Open commit View diff
156 done
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
157
Open commit View diff
157
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
158
  if [[ ! -z ${IMGS_TO_DELETE[*]} ]]; then
Open commit View diff
158 if [[ ! -z ${IMGS_TO_DELETE[*]} ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
159
      echo "The following unused mailcow images were found:"
Open commit View diff
159 echo "The following unused mailcow images were found:"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
160
      for id in "${IMGS_TO_DELETE[@]}"; do
Open commit View diff
160 for id in "${IMGS_TO_DELETE[@]}"; do
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
161
          echo "    ${IMAGES_INFO[$id]} ($id)"
Open commit View diff
161 echo " ${IMAGES_INFO[$id]} ($id)"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
162
      done
Open commit View diff
162 done
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
163
Open commit View diff
163
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
164
      if [ -z "$FORCE" ]; then
Open commit View diff
164 if [ -z "$FORCE" ]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
165
          read -r -p "Do you want to delete them to free up some space? [y/N] " response
Open commit View diff
165 read -r -p "Do you want to delete them to free up some space? [y/N] " response
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
166
          if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
Open commit View diff
166 if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
167
              docker rmi ${IMGS_TO_DELETE[*]}
Open commit View diff
167 docker rmi ${IMGS_TO_DELETE[*]}
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
168
          else
Open commit View diff
168 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
169
              echo "OK, skipped."
Open commit View diff
169 echo "OK, skipped."
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
170
          fi
Open commit View diff
170 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
171
      else
Open commit View diff
171 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
172
          echo "Running in forced mode! Force removing old mailcow images..."
Open commit View diff
172 echo "Running in forced mode! Force removing old mailcow images..."
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
173
          docker rmi ${IMGS_TO_DELETE[*]}
Open commit View diff
173 docker rmi ${IMGS_TO_DELETE[*]}
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
174
      fi
Open commit View diff
174 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
175
      echo -e "\e[32mFurther cleanup...\e[0m"
Open commit View diff
175 echo -e "\e[32mFurther cleanup...\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
176
      echo "If you want to cleanup further garbage collected by Docker, please make sure all containers are up and running before cleaning your system by executing \"docker system prune\""
Open commit View diff
176 echo "If you want to cleanup further garbage collected by Docker, please make sure all containers are up and running before cleaning your system by executing \"docker system prune\""
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
177
  fi
Open commit View diff
177 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
178
}
Open commit View diff
178 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
179
Open commit View diff
179
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
180
in_array() {
Open commit View diff
180 in_array() {
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
181
  local e match="$1"
Open commit View diff
181 local e match="$1"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
182
  shift
Open commit View diff
182 shift
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
183
  for e; do [[ "$e" == "$match" ]] && return 0; done
Open commit View diff
183 for e; do [[ "$e" == "$match" ]] && return 0; done
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
184
  return 1
Open commit View diff
184 return 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
185
}
Open commit View diff
185 }
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
186
Open commit View diff
186
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
187
detect_major_update() {
Open commit View diff
187 detect_major_update() {
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
188
  if [ ${BRANCH} == "master" ]; then
Open commit View diff
188 if [ ${BRANCH} == "master" ]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
189
    # Array with major versions
Open commit View diff
189 # Array with major versions
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
190
    # Add major versions here
Open commit View diff
190 # Add major versions here
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
191
    MAJOR_VERSIONS=(
Open commit View diff
191 MAJOR_VERSIONS=(
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
192
      "2025-02"
Open commit View diff
192 "2025-02"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
193
      "2025-03"
Open commit View diff
193 "2025-03"
FreddleSpl0it 11 months ago 262fe04

change MAJOR_VERSIONS 2025-08 to 2025-09

Full commit hash
262fe04286cab6d9d1690699022ac19808cfe26c
Author
FreddleSpl0it <[email protected]>
Date
11 months ago
Selected line
194
      "2025-09"
Open commit View diff
194 "2025-09"
DerLinkman 12 months ago 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
195
    )
Open commit View diff
195 )
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
196
Open commit View diff
196
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
197
    current_version=""
Open commit View diff
197 current_version=""
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
198
    if [[ -f "${SCRIPT_DIR}/data/web/inc/app_info.inc.php" ]]; then
Open commit View diff
198 if [[ -f "${SCRIPT_DIR}/data/web/inc/app_info.inc.php" ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
199
      current_version=$(grep 'MAILCOW_GIT_VERSION' ${SCRIPT_DIR}/data/web/inc/app_info.inc.php | sed -E 's/.*MAILCOW_GIT_VERSION="([^"]+)".*/\1/')
Open commit View diff
199 current_version=$(grep 'MAILCOW_GIT_VERSION' ${SCRIPT_DIR}/data/web/inc/app_info.inc.php | sed -E 's/.*MAILCOW_GIT_VERSION="([^"]+)".*/\1/')
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
200
    fi
Open commit View diff
200 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
201
    if [[ -z "$current_version" ]]; then
Open commit View diff
201 if [[ -z "$current_version" ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
202
      return 1
Open commit View diff
202 return 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
203
    fi
Open commit View diff
203 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
204
    release_url="https://github.com/mailcow/mailcow-dockerized/releases/tag"
Open commit View diff
204 release_url="https://github.com/mailcow/mailcow-dockerized/releases/tag"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
205
Open commit View diff
205
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
206
    updates_to_apply=()
Open commit View diff
206 updates_to_apply=()
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
207
Open commit View diff
207
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
208
    for version in "${MAJOR_VERSIONS[@]}"; do
Open commit View diff
208 for version in "${MAJOR_VERSIONS[@]}"; do
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
209
      if [[ "$current_version" < "$version" ]]; then
Open commit View diff
209 if [[ "$current_version" < "$version" ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
210
        updates_to_apply+=("$version")
Open commit View diff
210 updates_to_apply+=("$version")
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
211
      fi
Open commit View diff
211 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
212
    done
Open commit View diff
212 done
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
213
Open commit View diff
213
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
214
    if [[ ${#updates_to_apply[@]} -gt 0 ]]; then
Open commit View diff
214 if [[ ${#updates_to_apply[@]} -gt 0 ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
215
      echo -e "\e[33m\nMAJOR UPDATES to be applied:\e[0m"
Open commit View diff
215 echo -e "\e[33m\nMAJOR UPDATES to be applied:\e[0m"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
216
      for update in "${updates_to_apply[@]}"; do
Open commit View diff
216 for update in "${updates_to_apply[@]}"; do
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
217
        echo "$update - $release_url/$update"
Open commit View diff
217 echo "$update - $release_url/$update"
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
218
      done
Open commit View diff
218 done
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
219
Open commit View diff
219
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
220
      echo -e "\nPlease read the release notes before proceeding."
Open commit View diff
220 echo -e "\nPlease read the release notes before proceeding."
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
221
      read -p "Do you want to proceed with the update? [y/n] " response
Open commit View diff
221 read -p "Do you want to proceed with the update? [y/n] " response
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
222
      if [[ "${response}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
Open commit View diff
222 if [[ "${response}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
223
        echo "Proceeding with the update..."
Open commit View diff
223 echo "Proceeding with the update..."
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
224
      else
Open commit View diff
224 else
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
225
        echo "Update canceled. Exiting."
Open commit View diff
225 echo "Update canceled. Exiting."
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
226
        exit 1
Open commit View diff
226 exit 1
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
227
      fi
Open commit View diff
227 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
228
    fi
Open commit View diff
228 fi
same change 88bf9b0

core: modules splitting + ipv6 nat rewrite (#6634)

Full commit hash
88bf9b02e112bced1d37c69a885d8dbad4cd657a
Author
DerLinkman <[email protected]>
Date
12 months ago
Selected line
229
  fi
Open commit View diff
229 fi
Patrik Kernstock 10 months ago 383b5af

More clearer message to install required tool

Full commit hash
383b5affb52cd20a87cdfd6235df7e51d4ad31b1
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
230
}
Open commit View diff
230 }