45 Commits

Author SHA1 Message Date
cllamb0
fea4c7daf2
Changed the URL in INSTALL by adding /plinth. 2017-03-21 09:49:30 +05:30
James Valleroy
548e0ebd60
Add --setup-no-install command
Acts the same as --setup, but does not install any packages. Will
raise an error if any required package is not already installed.
2016-09-03 10:02:54 +05:30
Sunil Mohan Adapa
d2800ab6ce
xmpp: Fix hacky quoted strings in ejabberd config
- Use a parser generated data type exposed by ruamel.yaml library to get
  the necessary double-quoted strings that we want in the output file.

- Simplify reading and writing to a YAML file.

- Fix incorrect dependency of ruamel.yaml Debian package.  The correct
  one is python3-ruamel.yaml.
2016-08-28 15:07:00 +05:30
James Valleroy
edecd74ccf
xmpp: Use ruamel.yaml to modify ejabberd config 2016-08-28 09:24:03 +05:30
James Valleroy
e1fc563a29
Update required Django version in INSTALL and requirements.txt
Update changelog
2016-08-11 18:40:35 -04:00
James Valleroy
9f96cd4cec
Use consistent style in INSTALL 2016-07-16 19:32:10 -04:00
Hemanth Kumar Veeranki
7aa92d3771
Added Missed Dependencies to the file 2016-07-16 19:27:27 -04:00
Sunil Mohan Adapa
7a9a4cd861
packages: Switch to installing with apt-get
- Use action helper so that Plinth can run unprivilaged and action
  script can run as root.

- Use Status-Fd feature of apt-get to report progress.  Don't report
  much detail.

- Capture all stderr of the apt-get process and present it only in case
  of failure.

- Remove package installation using PackageKit.  Remove dependency on
  PackageKit.

- Merge --setup package installation with regular package installation.

This should fix the following problems:

- PackageKit throws errors when APT encounters an error and later
  corrects them and proceeds well.  This is reported upstream but not
  fixed.

- PackageKit does not install recommends by default and there is no easy
  way to tell it to do so.

- In some rare cases, PackageKit could get stuck for interactive input
  even though interactive flag is set to false.

- PackageKit does not work without network manager connections. (Could
  have been mitigated by altering packagekit configuration).

- PackageKit glib library leaks file descriptors after each operation.
  This leads to running out of fds during long running refresh
  operations such as OpenVPN setup.  (This should have subsided by not
  checking package install with the new setup mechanism.)]

Known issues:

- In development mode, inside action scripts the python modules are
  always loaded from system path and not development directory.

- With PackageKit it is possible to run multiple operations
  simultaneously.  Others would wait while the first is being
  installed.  With new implementation, the others error out unable to
  obtain lock.
2016-06-11 12:11:40 -04:00
fonfon
435f980c6f
firstboot: freedombox.me pagekite vouchers
- Show PageKite voucher only if cfg.danube_edition is enabled
2016-03-13 23:32:20 +05:30
Joel Valleroy
0177754201 Added packagekit to dependency list per issue-369 2016-02-06 16:25:05 +00:00
Sunil Mohan Adapa
7cb96b62dd Compile and install translation files
- Add gettext as build dependency

- Add setup.py commands for compiling and updating .po files.

- Clean compiled .mo files on ./setup.py clean

- Install .po and .mo files to destination on ./setup.py install

- Compile .po files when running ./setup.py build

There doesn't seem to be a simple way to integrate Django .po file
dealing with ./setup.py mechanism.
2015-11-28 18:27:56 -05:00
Sunil Mohan Adapa
42bc2a1ca6 doc: Update INSTALL with new dependency list 2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa
4bddc70ce0 diagnostics: Add external dependency on psutil 2015-08-29 06:22:01 -04:00
Sunil Mohan Adapa
5e6c54e600 Add network-manager, ppp, pppoe as dependencies
- Since freedombox-setup itself does not use ppp or pppoe, it is perhaps
  not right to add these two as dependencies to freedombox-setup.

- Add network-manager as dependency although it is already dependency of
  freedombox-setup.  This is so that one day Plinth can perhaps work
  independent of freedombox-setup.
2015-08-22 20:23:43 +05:30
Sunil Mohan Adapa
9be829342e Add augeas-tools and ldapscripts as dependency 2015-07-26 16:33:06 -04:00
Sunil Mohan Adapa
517c364559 pagekite: Move to using python3-augeas
- Merge actions/pagekite_util.py into plinth/modules/pagekite/util.py.

- Rename plinth/modules/pagekite/util.py to utils.py.

- Add python-augeus as dependency.

- Move actions/util.py to plinth/action_utils.py and update services
  that use it.

- Rename _run() method to run() as it is being used publicly.

- Import the utils in a more conventional manner.

- Move all python2 bits to python3.
2015-07-19 15:37:43 -04:00
Sunil Mohan Adapa
124656b5ba Add django-stronghold as dependency 2015-07-01 21:43:07 +05:30
Sunil Mohan Adapa
d5e484a6b4 networks: Update dependencies list 2015-05-05 16:10:33 +05:30
Sunil Mohan Adapa
6a605f777c network: Disable networks module until python3-networkmanager is available 2015-04-06 22:21:29 +05:30
James Valleroy
ed4e6eddc1 Update dependency list and pep8 fixes. 2015-04-06 22:21:29 +05:30
James Valleroy
dae7abd00f Use domainname as ejabberd host.
Only use hostname when domainname is blank.
2015-03-30 01:52:31 +05:30
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
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
fonfon
f0582e7a94 replaced bootstrap2 by bootstrap3 2014-11-11 19:06:47 +01:00
Sunil Mohan Adapa
ced66acb3b Update documentation with setuptools dependency, python3 (James Valleroy) 2014-10-12 19:33:57 +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
9b60347282 Update documenation on installating and developing Plinth 2014-08-31 17:11:42 +05:30
Sunil Mohan Adapa
b9e668541b Remove outdated dependencies on python-bcrypt and python-passlib 2014-08-31 12:59:35 +05:30
Sunil Mohan Adapa
f602865d05 Remove wrong dependency on libpython2.7
python2.7 is what we should depend on. libpython2.7-stdlib a dependency
for python2.7 contains all the standard libraries. libpython2.7, I believe, is 
required only for using python modules written in C.
2014-05-13 12:38:13 +05:30
Sunil Mohan Adapa
defcb43883 Use json instead of simplejson library to avoid extra depedency
Simplejson is an externally mainainted version of json library available in
Python 2.6 and up. It supports Python 2.5 which were are not targetting.
It also boasts better speed which is not at all a factor for us.
2014-05-13 12:28:39 +05:30
Sunil Mohan Adapa
be842a5baa Remove dependency on unused augeas
We can introduce it later again when it actually being used.
2014-05-13 12:13:54 +05:30
Sunil Mohan Adapa
faeb0b6be0 Remove unused dependency bjsonrpc 2014-05-13 12:06:15 +05:30
Sunil Mohan Adapa
368e21c085 Remove bootstrap CSS files and use debian package instead
- Add depedency on libjs-twitter-bootstrap
2014-05-12 18:46:39 +05:30
Sunil Mohan Adapa
f097047b8b Introduce python-bootstrapform as dependency
Twitter Bootstrap provides good styling for forms. Our current
theme does not ouput forms in bootstrap styles although for
everything else, it does. The python-bootstrap from is a simple
Django helper application to render Django forms into bootstrap
theme.

Django forms themselves provide numerous advantages over the
current incomplete homegrown solution. It also has solutions for
problems such as CSRF attacks which the current application is
vulnerable to.
2014-05-11 10:41:34 +05:30
Sunil Mohan Adapa
ee77f107ea Remove cheetah as a dependency 2014-05-04 16:10:27 +05:30
Nick Daly
f55c7a48ea Merged with James's upstream.
Hope I did it right.  If I screwed up, withsqlite is borked.
2013-04-23 17:49:22 -05:00
Nick Daly
88225aa3ae Created start.sh to handle ExMachina outside of Plinth. 2012-11-11 12:25:11 -06:00
bnewbold
f1e764f2e5 integrate exmachina configuration management layer
- add exmachina code and test code
- modify plinth.py to listen for shared secret on stdin at start
  (if appropriate flag is set) and try to connect to exmachina daemon
- use exmachina to read and set /etc/hostname as a demo
- update plinth init.d script to start exmachina and share keys
- update docs with new deps and run instructions
2012-07-12 22:25:50 -04:00
Isaac Wilder
9084600170 added simplejson dep to INSTALL 2012-02-19 13:13:24 -05:00
James Vasile
c8494f02f5 tell user to grab pandoc and do a make before running 2011-09-30 00:48:07 -04:00
James Vasile
f3af19796a tell user to install cheetah 2011-09-29 23:22:14 -04:00
James Vasile
b731e5f58b note cheetah depends, specify cherrypy 3+ 2011-09-29 23:20:06 -04:00
James Vasile
35071d7212 ... 2011-02-22 13:32:45 -05:00