Zonemaster-GUI
view release on metacpan or search on metacpan
.travis.yml view on Meta::CPAN
- "5.20"
- "5.18"
- "5.16"
- "5.14"
before_script:
- export BASE_DIR=`dirname "$TRAVIS_BUILD_DIR"`
- export ZONEMASTER_BACKEND_CONFIG_FILE=$BASE_DIR/zonemaster-backend/share/travis_postgresql_backend_config.ini
- export URL=localhost:5080
- starman --error-log=/tmp/zm_front.log --workers=2 --listen=127.0.0.1:5080 -I./lib zm_app/bin/app.pl &
- cd ..
- git clone https://github.com/dotse/zonemaster-backend.git
- cd zonemaster-backend
- cpanm --quiet --installdeps --notest .
- if [[ "$TARGET" == "PostreSQL" ]]; then psql -c "create user travis_zonemaster WITH PASSWORD 'travis_zonemaster';" -U postgres; fi
- if [[ "$TARGET" == "PostreSQL" ]]; then psql -c 'create database travis_zonemaster OWNER travis_zonemaster;' -U postgres; fi
- if [[ "$TARGET" == "PostreSQL" ]]; then cpanm --quiet --notest DBD::Pg; fi
- if [[ "$TARGET" == "PostreSQL" ]]; then perl -I./lib ./script/create_db_postgresql_9.3.pl; fi
- starman --error-log=/tmp/zm_back.log --workers=2 --listen=127.0.0.1:5000 -I./lib/ ./script/zonemaster_webbackend.psgi &
- perl -I./lib ./script/zm_wb_daemon start
- cd ..
- cd zonemaster-gui
script:
- perl Makefile.PL && make test
- perl -I$BASE_DIR/zonemaster-backend/CodeSnippets/ $BASE_DIR/zonemaster-backend/CodeSnippets/sample_api_call__version_info.pl
- phantomjs --version
- phantomjs --web-security=no --local-to-remote-url-access=yes --ignore-ssl-errors=yes t/wait_for_version_string.js $URL
- phantomjs --web-security=no --local-to-remote-url-access=yes --ignore-ssl-errors=yes t/run_a_simple_zonemaster_test.js $URL
Fixes #121 - Change FAQ Link to the new repository
Fixes #85 - Zonemaster-GUI shows errors for the zones that are not signed with DNSSEC
Fixes #86 - while testing gouv.fr the response is "Domain does not exist" which is not true
Fixes #89 - Test identifiers should not be enumerable
Fixes #118 - skinnskatteberg.se
Fixes #56 - Missing link in the Web site
Fixes #37 - HTTPS does not work for zonemaster.net
v1.0.3 2015-06-26
Fixes #113 - Add user geolocation support
Fixes #110 - Need to tell from_json() that we are feeding it Perl strings.
Fixes #109 - When using Apache as a frontend server and starman as a proxy backend the IP addresse is not available and thus not displayed correctly
Fixes #108 - Input field not visible on GUI (MAC/Chrome Version 42.0.2311.152 (64-bit))
Fixes #107 - More on "Domain does not exist"
v1.0.2 2015-05-11
Fixes #103 - Add contact e-mail to the interface
Fixes #102 - Cleanup of GUI code
Fixes #100 - Remove dancer subdir
Fixes #98 - added missing /
Fixes #97 - added bootstrap for mobiles at nojs
Fixes #96 - switch to JS interface extendet with test_id if present
.gitignore
.travis.yml
Changes
docker/Dockerfile
docker/zonemaster_startup.sh
docs/FAQ/gui-faq-en.md
docs/FAQ/gui-faq-fr.md
docs/FAQ/gui-faq-sv.md
docs/installation.md
docs/starman-zmgui.conf.example
docs/TranslationGuide.md
FunctionalTests/GR01-test-swedish-language.js
FunctionalTests/GR02-test-french-language.js
FunctionalTests/GR03-english-language-support.js
FunctionalTests/GR04-main-page.js
FunctionalTests/GR06-basic-view-advanced-options.js
FunctionalTests/GR07-advanced-checkbox-verification.js
FunctionalTests/GR08-advanced-profile-verification.js
FunctionalTests/GR10-undelegated-and-faq-links.js
FunctionalTests/GR19-advanced-checkbox-verification.js
Follow the detailed [installation instructions](docs/installation.md).
### Configuration
Text for configuring the backend are found in the [installation
instructions](docs/installation.md).
###Â Documentation
Other than the installation file, the [docs directory](docs/), contains how to
configure the starman and a translation guide for the GUI
License
=======
The software is released under the 2-clause BSD license. See separate
[LICENSE](LICENSE) file.
docker/zonemaster_startup.sh view on Meta::CPAN
#postgres -D /postgresql_data >/tmp/postgres.log 2>&1 &
su - postgres -c "postgres -D /postgresql_data" &
sleep 5
su - postgres -c "psql -c \"create user travis_zonemaster WITH PASSWORD 'travis_zonemaster';\""
su - postgres -c "psql -c 'create database travis_zonemaster OWNER travis_zonemaster;'"
cd /zonemaster-backend
ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_postgresql_backend_config.ini perl -I./lib ./script/create_db_postgresql_9.3.pl
ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_postgresql_backend_config.ini starman --port 50000 -I./lib -I../zonemaster-engine/lib ./script/zonemaster_webbackend.psgi &
ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_postgresql_backend_config.ini perl -I./lib ./script/zm_wb_daemon start
cd /zonemaster-gui
ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_PORT=50000 starman --port 50080 -I./lib ./zm_app/bin/app.pl &
/bin/bash
docs/installation.md view on Meta::CPAN
make test
sudo make install
5) Create a directory for the webapp parts, and copy them there.
sudo mkdir -p /usr/share/doc/zonemaster
sudo cp -a zm_app /usr/share/doc/zonemaster
6) Start the server:
sudo starman --listen=:80 /usr/share/doc/zonemaster/zm_app/bin/app.pl
The Doc directory in the source code also has an example Upstart file for the Web GUI starman server.
## <a name="FreeBSD"></a> Example installation for FreeBSD 10 & 10.1
1) Become root
su -
2) Install additional prerequisite packages.
pkg install p5-Dancer p5-Text-Markdown p5-Template-Toolkit
docs/installation.md view on Meta::CPAN
make test
make install
6) Create a directory for the webapp parts, and copy them there.
mkdir -p /usr/local/share/zonemaster
cp -a zm_app /usr/local/share/zonemaster
7) Start the server:
starman --listen=:80 --daemonize /usr/local/share/zonemaster/zm_app/bin/app.pl
## <a name="CentOS"></a> Example installation for CentOS 7.1
1) Install additional prerequisite packages.
sudo cpan -i Dancer Text::Markdown Template JSON
2) Get the source code.
docs/installation.md view on Meta::CPAN
make test
make install
5) Create a directory for the webapp parts, and copy them there.
mkdir -p /usr/local/share/zonemaster
cp -a zm_app /usr/local/share/zonemaster
6) Start the server:
starman --listen=:80 --daemonize /usr/local/share/zonemaster/zm_app/bin/app.pl
docs/starman-zmgui.conf.example view on Meta::CPAN
description "Zonemaster GUI Upstart Job"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
umask 022
limit nofile 4096 4096
expect fork
pre-start script
[ -d "/var/log/starman" ] || mkdir -p /var/log/starman
end script
exec /usr/bin/starman \
--user=www-data \
--group=www-data \
--daemonize \
--listen :80 \
--max-requests 99999999 \
--workers 5 \
--error-log /var/log/starman/zonemaster_gui.log \
/usr/share/doc/zm_app/bin/app.pl
( run in 0.884 second using v1.01-cache-2.11-cpan-e93a5daba3e )