28 Commits

Author SHA1 Message Date
James Valleroy
1055787be2 Merge remote-tracking branch 'sunil/network-manager-glib' 2015-05-16 13:18:20 -04:00
Sunil Mohan Adapa
d5e484a6b4 networks: Update dependencies list 2015-05-05 16:10:33 +05:30
fonfon
cf96797040 pagekite action: Use augeas pagekite lens
And allow setting any server as pagekite frontend.
2015-05-03 09:44:45 +02:00
Sunil Mohan Adapa
69adf1cfc5 transmission: Run from behind Apache
- Introduce Apache configuration for plinth.

- Remove Transmission service file for firewalld.

- Enable transmission on install.

- Enable/disable Apache configuration on Transmission on enable/disable.

- Remove IP address whilelisting as 127.0.0.1 is the default setting and
  is sufficient for Apache to reverse proxy.

- Update UI URL.
2015-05-01 19:00:56 +05:30
Sunil Mohan Adapa
2a83f29b8b Add systemd service file
- When running in an environment without systemd, the changes are completely
  ignored.

- When running under systemd, the patch introduces a systemd native service
  file to take advantages of nice feature provided by systemd.

- One of the feature currently taken advantage of is the ability to restart the
  service automatically if it ever crashes or exits with error.

- Another feature is that when we wish to kill Plinth all the processes under
  the cgroup are killed as well.
2015-04-07 22:43:25 +05:30
Sunil Mohan Adapa
cd88ca7ecc network: Add python-networkmanager to setup.py and requirements.txt 2015-04-06 22:49:04 +05:30
Bob Girard
41d6cae0a9 Enable integration of Plinth with Travis-CI
- Add files .travis.yml and requirements.txt
- In setup.py, remove 'pygobject' from install_requires
- In setup.py, add 'pyyaml' to install_requires
- Add file plinth/tests/coverage/__init__.py
- Rename file plinth/tests/coverage/test_coverage.py to coverage.py
- In plinth/tests/coverage/coverage.py, rename class TestCoverageCommand
  to CoverageCommand
2015-04-01 16:12:59 -07:00
Sunil Mohan Adapa
7bd9f41833 xmpp: Add yaml as install dependency in setup.py 2015-03-30 01:52:31 +05:30
Sunil Mohan Adapa
2028a63deb mumble: Add new module for installing, enabling/disabling 2015-03-28 16:02:39 -04:00
Sunil Mohan Adapa
a4be460538 Introduce framework for checking/installing packages
- Uses PackageKit dameon, Glib library wrapping packagekit DBUS API and
  Python bindings for the Glib library.

- Implement a decorator to wrap views requiring packages.

- Framework allows for parallel operations.  However, doing parallel
  operations hangs because of what appears to be PackageKit backend
  limitations.
2015-01-05 00:13:19 +05:30
Sunil Mohan Adapa
5016087d5c Move coverage to test dependency and install it properly
- Coverage should only be required if running tests

- When running test_coverage command all the install dependencies and
  test dependencies should be installed.
2014-12-07 11:38:33 +05:30
Bob Girard
a502da63d5 Add test coverage measurement and reporting
- Implement coverage functionality as a setuptools Command subclass
  (in plinth/tests/coverage/test_coverage.py)
- Register the new 'test_coverage' command in setup.py
- Modify the INSTALL file to specify python3-coverage as a new dependency
- Modify the HACKING file to document the new 'test_coverage' command
- Have git (via .gitignore) ignore the '.coverage' output data file and
  the contents of the 'plinth/tests/coverage/report' directory
2014-12-06 18:14:42 +05:30
Sunil Mohan Adapa
fcc1330318 Relicense __main__.py to AGPLv3+
- There is no point in keeping this one single file as with different
  license from the rest of the package.  This change simplifies things.

- The file has been almost entirely been rewritten for Django, module
  loading, CherryPy static directories etc.

- This change will be pushed with the consent of new authors: fonfon and
  Me.
2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
7906b0ab5e Clean documentation directory when 'setup.py clean' is run 2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
7f307dc5a2 Fix issue with installing to a different root with --root= 2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
3871875ddf Don't add boostrap form to python module dependencies
Setup.py list will need python modules list and doesn't understand
Debian packages.  Setup.py will try to install libjs-boostrap as a
Python module and download it from PyPI.
2014-11-23 13:59:12 +05:30
fonfon
f0582e7a94 replaced bootstrap2 by bootstrap3 2014-11-11 19:06:47 +01:00
Sunil Mohan Adapa
5418542d56 Fix issue with plinth module not getting installed 2014-10-12 19:18:18 +05:30
Sunil Mohan Adapa
d704b3961e Fix issue with symlinks during recursive copy during install 2014-10-12 19:04:52 +05:30
Sunil Mohan Adapa
731c2535b7 Make setup.py sdist command work properly 2014-10-05 13:44:30 +05:30
Sunil Mohan Adapa
22def21d6b Update documentation with Python3 dependency information 2014-10-04 13:41:27 +05:30
fonfon
ea982bf73e call django.setup before syncdb for django 1.7 compatibility 2014-10-01 19:18:27 +02:00
Sunil Mohan Adapa
e7ed0c7c58 Update dependencies list in setup.py and INSTALL 2014-10-01 11:35:02 +05:30
Sunil Mohan Adapa
c9d8bb9d00 Require and use Python3 2014-10-01 11:31:51 +05:30
Sunil Mohan Adapa
27cdadbc76 Log a message showing the config file used 2014-09-02 14:47:35 +05:30
Sunil Mohan Adapa
b12072d924 Build documentation before install 2014-08-31 18:29:21 +05:30
Sunil Mohan Adapa
4cc2dc4546 Launch test cases using "setup.py test" 2014-08-31 14:24:00 +05:30
Sunil Mohan Adapa
ddb3b0f2c2 Use setup.py instead of Makefile 2014-08-31 13:11:27 +05:30