4164 Commits

Author SHA1 Message Date
James Valleroy
88e036497b
Update translation strings 2017-09-24 11:31:58 -04:00
Petter Reinholdtsen
84bd0ac991 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (738 of 738 strings)
2017-09-24 12:46:57 +02:00
Johannes Keyser
063c0fd7ce
Users: Allow non-admin users to log out. Fixes issue #999.
Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-09-19 18:06:07 +05:30
Joseph Nuthalpati
fe46ddb63d
Correct LAFS to Tahoe-LAFS in apps page 2017-09-14 12:00:48 +05:30
BHARATH
97969a1a23 Translated using Weblate (Telugu)
Currently translated at 63.0% (465 of 738 strings)
2017-09-11 06:49:35 +02:00
Joseph Nuthalpati
2e73d442e9
password: add Django password validators
Added all default Django password validators.

Not enforcing special characters.
https://blog.codinghorror.com/password-rules-are-bullshit/

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>

Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
2017-09-09 11:34:45 +02:00
Prachi Srivastava
fbe08443f4
Refactor functions for api
- Change url to use hyphen instead of camelCase
- Refactor functions to be immutable

Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-09-08 14:56:30 +05:30
Prachi Srivastava
c0fb2abf46 Add api module for android app
- Add api end-point to get enabled-services in plinth
- Add api end-point to get acess info for plinth
2017-09-08 14:46:38 +05:30
Алексей Докучаев
7822c02fb6 Translated using Weblate (Russian)
Currently translated at 100.0% (738 of 738 strings)
2017-09-08 03:56:35 +02:00
James Valleroy
1eee6e849d Move CI notifications to new channel
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-09-02 15:00:04 -04:00
Joseph Nuthalpati
bb5571b7ab
first-run: Skip installation of essential modules from Plinth
- Essential modules would be installed by apt as they are already
dependencies of plinth.
- Plinth trying to trigger an installation is unnecessary.
- Plinth installing deb packages might also cause problems with plinth
startup if automatic upgrades are running.
- Added back the --setup option
- setup doesn't run when something else like diagnostics is invoked

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-09-01 20:38:54 -04:00
Sunil Mohan Adapa
9369f72c4f
sso: Add dependency on apache module
This ensures that Apache is fully setup before setting up mod-auth-pubtkt.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-09-01 20:04:15 -04:00
Sunil Mohan Adapa
602ea6cf16
apache: New module to manage Apache configuration
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-09-01 20:04:07 -04:00
Sunil Mohan Adapa
07c062aef3
ssh: New application to manage SSH server
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-09-01 20:03:58 -04:00
Sunil Mohan Adapa
2e55acb465
firewall: Move remaining setup steps to Plinth
There is no need to restart firewalld after the setup steps run.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-09-01 20:03:51 -04:00
Sunil Mohan Adapa
f5a5ee1f04
firewall: Remove redundant setup steps
- Essential modules enable their own services properly.  There is no need to do
  them as part of common setup.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-09-01 20:03:28 -04:00
Sunil Mohan Adapa
c2cf591e1b
Capture and log all Python warnings
- Capture all Python warnings so that they can shown as part of logging system
  on console and in log file.

- Also capture deprecation warnings into logging system if debug mode is
  enabled. Current versions of Python disable deprecation warnings by default.
  Django 1.11 also follows this approach now.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>

Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
2017-09-01 13:32:14 +02:00
Sunil Mohan Adapa
a9c7e28c3e
repro: Safety check to make sure pubtkt module is enabled
If pubtkt module is not enabled (rare) and if repro is enabled, Apache fails to
start. Make sure this effects only repro module. The single-sign-on
configuration already ensures that access is denied if pubtkt module is not
enabled, preventing unauthorized access.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-09-01 05:52:07 -04:00
Sunil Mohan Adapa
4bbbfd956c
Don't run Plinth setup as part of freedombox/setup
Instead run all of the setup process during the first boot. This enables us to
someday remove the reboot step entirely.

Tests: After building a new image with the changes, call the modules have shown
to be properly setup. Running the setup wizard, creating admin user and logging
works as expected.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-31 21:08:54 -04:00
Johannes Keyser
3ba672f28a
disks: enabled caching for check-if-admin during check for low space
Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
2017-08-31 16:10:04 +02:00
Sunil Mohan Adapa
14f5a27950
disks: Minor changes for styling and performance
- Enable cached results when checking if the user is an admin. Cached results
  are only invalid when a user newly get admin permission or when an existing
  user loose admin permission. Here the consequence of showing wrong results is
  minor.

- Use all small case for variable names.

- When we use a utility method from Plinth, we can trust it to give expected
  values. Otherwise, we should fix the method to be more robust.

- Don't recommend the user to go to disks configuration page as there is not
  much there to do to free up space. The action might be removing apps, deleting
  downloaded content (downloaded via torrents) etc.

- df is unlikely to return '-1' for size of disk.

- Avoid using -1 as error value.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-31 15:49:46 +05:30
Johannes Keyser
a47f33d7a4
disks: warning about low space only for users in admin group
Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-31 15:49:08 +05:30
Johannes Keyser
3c4c770404
disks: add low disk space warning to system and disks page
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-31 15:48:23 +05:30
Johannes Keyser
82475522f9
disks: Add low disk space warning (Closes: #985)
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-31 15:47:15 +05:30
Sunil Mohan Adapa
1f0a878b2e
Minor styling fixes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-31 14:34:23 +05:30
Joseph Nuthalpati
32d17e6c93
sso: Safety check to make sure auth_pubtkt is enabled
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-31 14:34:11 +05:30
Pavel Borecki
416cb881cd Translated using Weblate (Czech)
Currently translated at 93.9% (693 of 738 strings)
2017-08-30 15:44:51 +02:00
Sunil Mohan Adapa
e558cdc1e4
users: Keep safety check to start slapd during setup
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-29 17:09:10 +05:30
James Valleroy
b19a9f972c
users: Move ldap structure config into normal setup
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-29 17:08:09 +05:30
Joseph Nuthalpati
f9166f8e98
sso: Upgrade crypto
- using latest version of lib-apache2-mod-authpubtkt
- upgraded keys to 4096-bit RSA
- upgraded hashing algorithm to sha512

Plinth needs dependency on libapache2-mod-auth-pubtkt >= 0.11

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-28 16:07:27 +05:30
Joseph Nuthalpati
0a6e45f1cc
Remove print statement from tests
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
2017-08-28 16:01:24 +05:30
Алексей Докучаев
fecc5c7b94 Translated using Weblate (Russian)
Currently translated at 99.8% (737 of 738 strings)
2017-08-27 18:48:08 +02:00
Pavel Borecki
d072fa996c Translated using Weblate (Czech)
Currently translated at 93.3% (689 of 738 strings)
2017-08-22 19:04:44 +02:00
ikmaak
21127371bc Translated using Weblate (Dutch)
Currently translated at 97.5% (720 of 738 strings)
2017-08-21 07:56:25 +02:00
Prachi
c8eb714562
Separate out the short description and app name
Signed-off-by: Prachi <prachi@swecha.net>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-08-21 11:17:08 +05:30
bharath2547
f75f9dbab9 Translated using Weblate (Telugu)
Currently translated at 63.0% (465 of 738 strings)
2017-08-19 18:48:17 +02:00
Prachi Srivastava
7b14f1f1a4 Translated using Weblate (Hindi)
Currently translated at 0.4% (3 of 738 strings)
2017-08-18 09:46:10 +02:00
Joseph Nuthalpati
db479a7ae9
SSO: Use Login and Logout view classes instead of methods
- Closes #965

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-08-16 19:43:57 -04:00
Joseph Nuthalpati
08e84001a8
Diaspora: Disable for release 0.15.2
diaspora* is no longer installable from Debian
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872305

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-08-16 19:38:18 -04:00
Hemanth Kumar Veeranki
3de4c5639f
Remove help from navbar before firstboot complete
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>

Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
2017-08-13 01:39:24 +02:00
Hemanth Kumar Veeranki
29cc95bbdb
Make help accessible for logged-in non-admin users
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>

Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
2017-08-11 23:54:35 +02:00
James Valleroy
9fabb7b903
diaspora: Don't enable service until domain name is set
- This avoids an issue where it would try to enable the apache conf
possibly before it is generated.

- Added an explicit enable statement since it was missing.

Reviewed-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
2017-08-10 11:47:45 +05:30
Joseph Nuthalpati
78df88ca85
Fix Python string formatting in translated string.
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
2017-08-10 10:50:13 +05:30
Joseph Nuthalapati
48e5ba4e63 Translated using Weblate (Telugu)
Currently translated at 63.0% (465 of 738 strings)
2017-08-10 06:48:58 +02:00
James Valleroy
bf7bde18c2
Sync requirements.txt with setup.py
Reviewed-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
2017-08-10 10:16:36 +05:30
Joseph Nuthalpati
f069f663d0
UI: Make apps and configure pages responsive on small screens
- Hide the listing of apps and configuration options on small screens,
  so that the user doesn't have to navigate to the bottom of the page.
- Closes #921

Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
2017-08-09 18:20:44 +02:00
Johannes Keyser
57c2835300
Add contributing guidelines, see issue #964
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-08 17:39:25 +05:30
Johannes Keyser
a1435dd926 Merge pull request #962 from JoKeyser/fixIssue699
ejabberd, ikiwiki, ttrss: user login descriptions, fixes #699
2017-08-06 15:28:20 +00:00
Johannes Keyser
caae04d549
ejabberd, ikiwiki, ttrss: user login descriptions, fixes #699 2017-08-05 20:05:09 +02:00
Hemanth Kumar Veeranki
217ef97a6f
Add services information to the domains configured in dynamicdns
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
2017-08-05 13:29:47 -04:00