Skip to content

Commit

Permalink
Remove inbound and outbound lookup modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Stell0 committed Feb 13, 2024
1 parent 2b1a83f commit 8dddee4
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 54 deletions.
4 changes: 0 additions & 4 deletions freepbx/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -372,16 +372,12 @@ RUN mkdir -p /var/www/html/freepbx/admin/modules/bosssecretary && \
curl -sL https://github.com/nethesis/freepbx-extraoptions/archive/master.tar.gz -o - | tar xzp --strip-components=1 -C /var/www/html/freepbx/admin/modules/extraoptions && \
mkdir -p /var/www/html/freepbx/admin/modules/googletts && \
curl -sL https://github.com/nethesis/googletts/archive/refs/tags/0.0.3.tar.gz -o - | tar xzp --strip-components=1 -C /var/www/html/freepbx/admin/modules/googletts && \
mkdir -p /var/www/html/freepbx/admin/modules/inboundlookup && \
curl -sL https://github.com/nethesis/inboundlookup/archive/1.0.0.tar.gz -o - | tar xzp --strip-components=1 -C /var/www/html/freepbx/admin/modules/inboundlookup && \
mkdir -p /var/www/html/freepbx/admin/modules/nethcqr && \
curl -sL https://github.com/nethesis/nethcqr/archive/2.0.3.tar.gz -o - | tar xzp --strip-components=1 -C /var/www/html/freepbx/admin/modules/nethcqr && \
mkdir -p /var/www/html/freepbx/admin/modules/nethcti3 && \
curl -sL https://github.com/nethesis/nethcti3freepbx/archive/refs/heads/ns8.tar.gz -o - | tar xzp --strip-components=1 -C /var/www/html/freepbx/admin/modules/nethcti3 && \
mkdir -p /var/www/html/freepbx/admin/modules/nethdash && \
curl -sL https://github.com/nethesis/nethdash/archive/1.0.tar.gz -o - | tar xzp --strip-components=1 -C /var/www/html/freepbx/admin/modules/nethdash && \
mkdir -p /var/www/html/freepbx/admin/modules/outboundlookup && \
curl -sL https://github.com/nethesis/outboundlookup/archive/1.0.0.tar.gz -o - | tar xzp --strip-components=1 -C /var/www/html/freepbx/admin/modules/outboundlookup && \
mkdir -p /var/www/html/freepbx/admin/modules/paging && \
curl -sL https://github.com/nethesis/freepbx-paging/archive/refs/heads/nethesis_nv8.tar.gz -o - | tar xzp --strip-components=1 -C /var/www/html/freepbx/admin/modules/paging && \
mkdir -p /var/www/html/freepbx/admin/modules/pin && \
Expand Down
3 changes: 0 additions & 3 deletions imageroot/actions/configure-module/20setenvs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,3 @@ getFromRequest(request, 'nethcti_ui_product_name', 'NETHCTI_UI_PRODUCT_NAME', 'N
getFromRequest(request, 'nethcti_ui_company_name', 'NETHCTI_UI_COMPANY_NAME', 'Nethesis')
getFromRequest(request, 'nethcti_ui_company_url', 'NETHCTI_UI_COMPANY_URL', 'https://www.nethesis.it/')

# PHONEBOOK_DB_PASS from migration
if "phonebook_db_password" in request:
agent.set_env('PHONEBOOK_DB_PASS', request["phonebook_db_password"])
17 changes: 17 additions & 0 deletions imageroot/actions/import-module/10setenvs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env python3

#
# Copyright (C) 2024 Nethesis S.r.l.
# SPDX-License-Identifier: GPL-3.0-or-later
#

import json
import sys

import agent

request = json.load(sys.stdin)

# PHONEBOOK_DB_PASS from migration
if "phonebook_db_password" in request:
agent.set_env('PHONEBOOK_DB_PASS', request["phonebook_db_password"])

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 8dddee4

Please sign in to comment.