Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add Freebsd support #1187

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
acadb25
support FreeBSD hier(7) paths in setup.py files
tykling Mar 26, 2018
aad4f8a
fix remaining hardcoded shebang lines to use '/usr/bin/env python' in…
tykling Mar 26, 2018
b5013b2
fix OS detection
tykling Apr 7, 2018
71d325a
add missing import
tykling Apr 9, 2018
ce28666
fix warnings: imports on seperate lines, remove whitespace before (, …
tykling Apr 17, 2018
cc1494d
Update CI install phase to install PostgreSQL 9.2
garberg Apr 27, 2018
aaa7d32
Merge pull request #1188 from garberg/fix_travis
garberg Apr 27, 2018
759afd1
Bumped version to v0.29.7
garberg May 31, 2018
7edd1eb
Merge pull request #1191 from garberg/release_0.29.7
garberg May 31, 2018
ca5c684
Upgraded AngularJS and jQuery
garberg Sep 18, 2018
2b83e8b
www: Remove default hash prefix
garberg Oct 1, 2018
907878f
www: Changed from success/error to then/catch
garberg Oct 3, 2018
62e2d9b
Upgraded jQuery UI to v1.12.1
garberg Oct 4, 2018
c694bcb
www: Remove more jQuery-UI classes
garberg Oct 18, 2018
c591266
www: Use Bootstrap button classes in dialogs
garberg Oct 18, 2018
d07cfe3
Merge pull request #1201 from garberg/upgrade_jslibs
plajjan Oct 22, 2018
007a0d3
Add a "Reviewed by Hound" badge
salbertson Nov 11, 2018
e5eb2b3
Merge pull request #1203 from salbertson/patch-1
garberg Nov 27, 2018
c91eb79
docs: Clarified WWW installation instructions
garberg Jan 26, 2019
75d47e7
www: Fixed removal of extra attributes
garberg Jan 29, 2019
d8b57a1
www: Increase search delay to 500 ms
garberg Feb 22, 2019
5fd24c0
Merge pull request #1213 from garberg/increase_search_delay
plajjan Mar 5, 2019
2963e3d
Merge pull request #1209 from garberg/update_www_install_doc
plajjan Mar 5, 2019
ccc18dc
Merge pull request #1211 from garberg/fix_remove_prefix_avp
plajjan Mar 5, 2019
1b98d66
Bumped version to v0.29.8
garberg Mar 13, 2019
f96069f
Merge pull request #1215 from garberg/release_v0.29.8
garberg Mar 13, 2019
b2bbcfb
support FreeBSD hier(7) paths in setup.py files
tykling Mar 26, 2018
3bb9317
fix remaining hardcoded shebang lines to use '/usr/bin/env python' in…
tykling Mar 26, 2018
48a4759
fix OS detection
tykling Apr 7, 2018
c741b4e
add missing import
tykling Apr 9, 2018
64494dd
fix warnings: imports on seperate lines, remove whitespace before (, …
tykling Apr 17, 2018
e5582b2
Merge branch 'freebsd-support' of github.com:tykling/NIPAP into freeb…
tykling Dec 16, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ install:
- sed -e 's/username = guest/username = unittest/' -e 's/password = guest/password = gottatest/' nipap-cli/nipaprc > ~/.nipaprc
- chmod 0600 ~/.nipaprc
# install postgresql + ip4r + contrib
- sudo apt-get install -qq -y postgresql-9.1 postgresql-9.1-ip4r postgresql-contrib-9.1
- sudo apt-get install -qq -y postgresql-9.2 postgresql-9.2-ip4r postgresql-contrib-9.2

# -- virtualenv build ------------------------------------------------------
# install nipap dependencies
Expand All @@ -54,7 +54,7 @@ install:
- if [ "$INSTALL" == "apt" ]; then wget -O - https://spritelink.github.io/NIPAP/nipap.gpg.key | sudo apt-key add -; fi
- if [ "$INSTALL" == "apt" ]; then sudo apt-get update -qq; fi
# install dependencies for installing & running nipap
- if [ "$INSTALL" == "apt" ]; then sudo apt-get install -qq -y --force-yes python-pysqlite2 python-psycopg2 python-ipy python3-ipy python-docutils postgresql-9.1 postgresql-9.1-ip4r python-tornado python-flask python-flask-xml-rpc python-flask-compress python-parsedatetime python-pylons python-tz python-dateutil python-psutil python-pyparsing; fi
- if [ "$INSTALL" == "apt" ]; then sudo apt-get install -qq -y --force-yes python-pysqlite2 python-psycopg2 python-ipy python3-ipy python-docutils postgresql-9.2 postgresql-9.2-ip4r python-tornado python-flask python-flask-xml-rpc python-flask-compress python-parsedatetime python-pylons python-tz python-dateutil python-psutil python-pyparsing; fi
# if we are testing the upgrade, first install NIPAP packages from official repo
- if [ "$INSTALL" == "apt" ] && [ "$UPGRADE" == "true" ]; then sudo apt-get install -qq nipapd nipap-www nipap-cli; fi
# bump version so that we know we are upgrading beyond what is installed
Expand Down
14 changes: 14 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
Version 0.29.8 - Zeus
---------------------
* Fix removal of extra attributes in web UI (#1205)
* Increased delay for automatic search in the web UI to 500 ms (#1208)
* Upgraded AngularJS and jQuery in the web UI (#1196)

Version 0.29.7 - Zeus
---------------------
* Add-prefix-from-prefix-option only shown when possible (#1111)
* Cache busting for static files in the web UI (#1120)
* Fix monitor attribute in web UI (#1131)
* Fix parsing of query string in URL (#1132)
* Various documentation fixes (#1124, #1153, #1155)

Version 0.29.6 - Zeus
---------------------
* Test scripts merged (#1059)
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ NIPAP

[![Build Status](https://travis-ci.org/SpriteLink/NIPAP.svg?branch=master)](https://travis-ci.org/SpriteLink/NIPAP)
[![Requirements Status](https://requires.io/github/SpriteLink/NIPAP/requirements.svg?branch=master)](https://requires.io/github/SpriteLink/NIPAP/requirements/?branch=master)
[![Code Issues](https://www.quantifiedcode.com/api/v1/project/91a738c9570a4c5190a4b54d8e28188b/badge.svg)](https://www.quantifiedcode.com/app/project/91a738c9570a4c5190a4b54d8e28188b)
[![Code Climate](https://codeclimate.com/github/SpriteLink/NIPAP/badges/gpa.svg)](https://codeclimate.com/github/SpriteLink/NIPAP)

[![IRC Network](https://img.shields.io/badge/irc-%23NIPAP-blue.svg "IRC Freenode")](https://webchat.freenode.net/?channels=nipap)

pynipap: [![PyPI](https://img.shields.io/pypi/v/pynipap.svg)](https://pypi.python.org/pypi/pynipap/)
[![PyPI](https://img.shields.io/pypi/v/pynipap.svg)](https://pypi.python.org/pypi/pynipap/)
[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)

NIPAP is a sleek, intuitive and powerful IP address management system built to
efficiently handle large amounts of IP addresses.
Expand Down
3 changes: 2 additions & 1 deletion docs/config-www.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ backend and it should be a *trusted* account. Create it with the following::
Obviously, replace "s3cr3t" with a better password and feel free to use
whichever username you want, as long as you configure it accordingly. The user
account for the web UI should not be used by any other user. Configure
the web UI to use this account by configuring the xmlrpc_uri variable::
the web UI to use this account by configuring the xmlrpc_uri variable in the
www section of nipap.conf::

xmlrpc_uri = http://nipap-www@local:[email protected]:1337

Expand Down
18 changes: 18 additions & 0 deletions nipap-cli/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
nipap-cli (0.29.8-1) stable; urgency=medium

* Fix removal of extra attributes in web UI (#1205)
* Increased delay for automatic search in the web UI to 500 ms (#1208)
* Upgraded AngularJS and jQuery in the web UI (#1196)

-- Lukas Garberg <[email protected]> Wed, 13 Mar 2019 01:03:38 +0100

nipap-cli (0.29.7-1) stable; urgency=medium

* Add-prefix-from-prefix-option only shown when possible (#1111)
* Cache busting for static files in the web UI (#1120)
* Fix monitor attribute in web UI (#1131)
* Fix parsing of query string in URL (#1132)
* Various documentation fixes (#1124, #1153, #1155)

-- Lukas Garberg <[email protected]> Thu, 31 May 2018 14:42:50 +0200

nipap-cli (0.29.6-1) stable; urgency=medium

* Test scripts merged (#1059)
Expand Down
2 changes: 1 addition & 1 deletion nipap-cli/nipap_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.29.6"
__version__ = "0.29.8"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multiple spaces before operator

__author__ = "Kristian Larsson, Lukas Garberg"
__author_email__ = "[email protected], [email protected]"
__license__ = "MIT"
Expand Down
15 changes: 11 additions & 4 deletions nipap-cli/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,18 @@ def get_data_files():
print("rst2man failed to run:", str(exc), file=sys.stderr)
sys.exit(1)

if sys.platform.startswith('freebsd'):
localbase = '/usr/local'
etcdir = localbase + '/etc'
else:
localbase = '/usr'
etcdir = '/etc'

files = [
('/etc/skel/', ['.nipaprc']),
('/usr/bin/', ['helper-nipap', 'nipap']),
('/usr/share/doc/nipap-cli/', ['bash_complete', 'nipaprc']),
('/usr/share/man/man1/', ['nipap.1'])
(etcdir + '/skel/', ['.nipaprc']),
(localbase + '/bin/', ['helper-nipap', 'nipap']),
(localbase + '/share/doc/nipap-cli/', ['bash_complete', 'nipaprc']),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (80 > 79 characters)

(localbase + '/share/man/man1/', ['nipap.1'])
]

return files
Expand Down
18 changes: 18 additions & 0 deletions nipap-www/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
nipap-www (0.29.8-1) stable; urgency=medium

* Fix removal of extra attributes in web UI (#1205)
* Increased delay for automatic search in the web UI to 500 ms (#1208)
* Upgraded AngularJS and jQuery in the web UI (#1196)

-- Lukas Garberg <[email protected]> Wed, 13 Mar 2019 01:03:38 +0100

nipap-www (0.29.7-1) stable; urgency=medium

* Add-prefix-from-prefix-option only shown when possible (#1111)
* Cache busting for static files in the web UI (#1120)
* Fix monitor attribute in web UI (#1131)
* Fix parsing of query string in URL (#1132)
* Various documentation fixes (#1124, #1153, #1155)

-- Lukas Garberg <[email protected]> Thu, 31 May 2018 14:42:49 +0200

nipap-www (0.29.6-1) stable; urgency=medium

* Test scripts merged (#1059)
Expand Down
2 changes: 1 addition & 1 deletion nipap-www/nipap_www.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: nipap-www
Version: 0.29.6
Version: 0.29.8
Summary: web frontend for NIPAP
Home-page: http://SpriteLink.github.com/NIPAP
Author: Kristian Larsson, Lukas Garberg
Expand Down
2 changes: 1 addition & 1 deletion nipap-www/nipapwww/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.29.6"
__version__ = "0.29.8"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multiple spaces before operator

__author__ = "Kristian Larsson, Lukas Garberg"
__author_email__ = "[email protected], [email protected]"
__license__ = "MIT"
Expand Down
Loading