1726 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
9078ec5a2b
Don't write to PID file
When running under systemd, PID is known and maintained by systemd.
Process don't have write PIDs to a PID file.
2016-05-29 21:07:07 +05:30
Sunil Mohan Adapa
1f53321b51
Don't use init.d file, don't daemonize
We pretty much only run in systemd environment and I don't see that
changing any time soon.  By relying on it, we can reduce some burden.
Remove init script.

Daemonizing is not needed for systemd.  Remove code related
daemonization.
2016-05-29 20:32:12 +05:30
James Valleroy
f6884a18fa
Set privoxy listen-address by debconf preseed before install. 2016-05-25 19:23:54 -04:00
Sunil Mohan Adapa
7b8b12dc20
users: Move PAM configs over from freedombox-setup
Since we are running PAM update script from users action file, it is
appropriate for the PAM configurations that are effected by it to stay
here in Plinth as well.
2016-05-21 16:06:36 -04:00
Sunil Mohan Adapa
f68a757741
users: Reorganize and make idempotent ldap setup
- Break down setup process into methods.

- Make sure that LDAP entity setup is idempotent.

- Peform all entry updates while slapd is running instead of using
  slapadd.

- Start slapd only when necessary.  Shutdown (only) if we have started
  slapd.
2016-05-21 16:06:33 -04:00
Sunil Mohan Adapa
8d9480901b
action_utils: Limited fallback to sysvinit
In case of start/stop/restart/reload and to check whether service is
running, fallback to sysvinit scripts when systemd is not running.  This
happens inside a chroot environment when setup of essential components
is happening.
2016-05-21 16:06:29 -04:00
James Valleroy
401d3870f6
Move ldapscript setup to users module setup. 2016-05-21 16:06:26 -04:00
James Valleroy
f01575e2ea
Move ldap setup from freedombox-setup to plinth. 2016-05-21 16:06:18 -04:00
Sunil Mohan Adapa
77f08675a4
doc: Ability to debug documentation generation 2016-05-21 14:24:31 -04:00
Sunil Mohan Adapa
17e96c624c
doc: Update manual from latest wiki 2016-05-18 18:28:36 +05:30
Sunil Mohan Adapa
60e52d2729
Deal with ownCloud removal from Debian
It has been decided that FreedomBox will no longer support ownCloud due
it's removal from Debian.  To deal with this:

- Don't show ownCloud in Plinth any more for new users.

- For users who have already installed ownCloud, show a warning message
  that they need to migrate away from ownCloud or need to manage it
  manually.
2016-05-17 18:48:08 -04:00
James Valleroy
4e531d8686
Release 0.9.2 v0.9.2 2016-05-14 11:43:06 -04:00
Алексей Докучаев
d2bb575842 Translated using Weblate (Russian)
Currently translated at 99.8% (585 of 586 strings)
2016-05-14 15:49:12 +02:00
James Valleroy
31c491ae46
Revert "Apply workaround to SSL config for mod_gnutls"
Debian bug #514005 is resolved in mod_gnutls 0.7.4-1.

This reverts commit cdda77b3b4c815b80603d1a69d793b5156c5672e.
2016-05-14 19:04:41 +05:30
fonfon
bc2cba0cbf
tor: remove circular import 2016-05-11 18:19:49 -04:00
fonfon
f867ecfb16
Removed (accidentially) duplicate dyndns description 2016-05-11 18:19:46 -04:00
fonfon
895f329654
Services: minor cleanup
- remove Service.description (not used anymore)
- remove datetime template (use default service.html instead)
2016-05-11 18:19:42 -04:00
fonfon
398e6d7b14
Services: fix unittests 2016-05-11 18:19:39 -04:00
fonfon
b54846b0ce
Services: Template restructuring
- renamed app.html to simple_service.html
- allow hiding the 'status' block instead of using separate
  apache_service.html template
2016-05-11 18:19:35 -04:00
fonfon
f419c28596
Services: Explicitly use ServiceForm and ServiceView
- adapted all modules to not use views.ConfigurationView anymore
- removed templates that are not needed anymore
- no more implicit 'enabled' and 'get_status' functions in __init__.py files
- (more coherent/explicit use of Django functionality)
2016-05-11 18:19:31 -04:00
fonfon
a9528c56d9
Service object to handle services on a system-level
The Service object now offers handling services on a system level,
and gathering information whether it's enabled or running.
New methods: enable, disable, is_enabled, is_running;

For this it needs the correct (system-level) service name.
All of the methods can be overridden/customized.

This changes all modules to the new Service object and deletes
action scripts that are not required anymore.
2016-05-11 18:19:27 -04:00
fonfon
9fe49f881f
Services-Action to handle and list services managed by plinth
- API: start, stop, enable, disable, reload, is-running, is-enabled, list
- only allows access to a service if the service name is listed in a
  'managed_services' variable of any plinth module.
2016-05-11 18:19:14 -04:00
Sunil Mohan Adapa
9adf27c9a9
setup: Don't run DBus during initial setup
Now that initial package installation is done using apt-get instead of
PackageKit, DBus is no longer required.
2016-05-08 10:47:21 +05:30
Sunil Mohan Adapa
16d6ff3941
roundcube: Minor fix in setup process notification 2016-05-08 10:47:08 +05:30
Sunil Mohan Adapa
567fd590ab
setup: Run first time setup with apt
Due to problems with running PackageKit inside foriegn binary Qemu, this
is a fallback solution to use apt-get directly instead.
2016-05-08 10:46:57 +05:30
Mikkel Kirkgaard Nielsen
8340a813e5 Translated using Weblate (Danish)
Currently translated at 99.6% (584 of 586 strings)
2016-05-07 17:49:23 +02:00
Sunil Mohan Adapa
1489b81fee
diagnostics: Fix a warning about a global use 2016-05-07 11:48:18 -04:00
Sunil Mohan Adapa
2f3eba4e10 Translated using Weblate (Polish)
Currently translated at 23.3% (137 of 586 strings)
2016-05-07 16:01:06 +02:00
the29a
f42b455279 Translated using Weblate (Russian)
Currently translated at 100.0% (586 of 586 strings)
2016-05-06 12:45:20 +02:00
the29a
d3a7761a70 Translated using Weblate (Russian)
Currently translated at 100.0% (586 of 586 strings)
2016-05-01 12:45:37 +02:00
the29a
88e35bf476 Translated using Weblate (Russian)
Currently translated at 100.0% (586 of 586 strings)
2016-04-29 11:13:21 +02:00
Daniel Kukula
a007a159a9 Translated using Weblate (Polish)
Currently translated at 23.3% (137 of 586 strings)
2016-04-27 06:44:59 +02:00
Sunil Mohan Adapa
1cdb3e5be1
New locale for Polish (pl) 2016-04-22 06:00:10 +05:30
Ingrid Yrvin
6965b14c4c Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.6% (578 of 586 strings)
2016-04-12 15:44:53 +02:00
Ole-Erik
bf42949dbc Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.4% (577 of 586 strings)
2016-04-09 16:22:32 +02:00
Ingrid Yrvin
81b1caebba Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.8% (585 of 586 strings)
2016-04-09 15:51:45 +02:00
Praveen Illa
14f1b7a1ae Translated using Weblate (Telugu)
Currently translated at 45.2% (265 of 586 strings)
2016-03-28 09:45:17 +02:00
YFdyh000
6ab8439edb Translated using Weblate (Simplified Chinese)
Currently translated at 91.2% (535 of 586 strings)
2016-03-26 12:45:14 +01:00
Mikkel Kirkgaard Nielsen
0c27c347b2 Translated using Weblate (Danish)
Currently translated at 99.4% (583 of 586 strings)
2016-03-26 00:44:20 +01:00
James Valleroy
e88b2af4f6
Release 0.9.1 v0.9.1 2016-03-23 17:27:15 -04:00
Philippe Baret
24c3763443 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (586 of 586 strings)
2016-03-23 17:56:24 +01:00
Philippe Baret
1a40ec4f7f Translated using Weblate (French)
Currently translated at 100.0% (586 of 586 strings)
2016-03-23 17:56:24 +01:00
James Valleroy
30bffc35d3
Release 0.9 v0.9 2016-03-23 06:17:09 -04:00
James Valleroy
6dbfa70a5b
Fetch latest manual 2016-03-23 06:15:19 -04:00
Dietmar
2e4ef6be86 Translated using Weblate (German)
Currently translated at 100.0% (586 of 586 strings)
2016-03-23 10:23:20 +01:00
Mikkel Kirkgaard Nielsen
f90809fed9 Translated using Weblate (Danish)
Currently translated at 99.1% (581 of 586 strings)
2016-03-23 10:23:19 +01:00
Luis A. Arizmendi
739bb39c60 Translated using Weblate (Spanish)
Currently translated at 100.0% (586 of 586 strings)
2016-03-21 00:45:14 +01:00
Robert Martinez
c685b444d8 Translated using Weblate (German)
Currently translated at 100.0% (586 of 586 strings)
2016-03-20 12:54:02 +01:00
Luis A. Arizmendi
76a78676a8 Translated using Weblate (Spanish)
Currently translated at 100.0% (586 of 586 strings)
2016-03-18 21:47:53 +01:00
Dietmar
ccd794bc4b Translated using Weblate (German)
Currently translated at 99.6% (584 of 586 strings)
2016-03-18 21:47:53 +01:00