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
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
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
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
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
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
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
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
Andrey Skvortsov
b6e6fdd134
radicale: Update link to documentation
...
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-08-01 11:23:21 +05:30
James Valleroy
3c3d280792
dynamicdns: code style fixes
2017-07-30 12:07:13 -04:00
Hemanth Kumar Veeranki
1e19508b95
Add/remove domain name in names module when domain name is configured in dynamicdns module
...
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
2017-07-30 12:01:57 -04:00
Johannes Keyser
d8849114ba
letsencrypt: delete button also disables certificate renewal mngmt
2017-07-30 09:18:00 -04:00
Pavel Borecki
063c008a10
Translated using Weblate (Czech)
...
Currently translated at 92.1% (680 of 738 strings)
2017-07-29 21:33:20 +02:00
James Valleroy
b8255ca46b
diaspora: Avoid incorrect 'setting unchanged' message
2017-07-29 15:31:41 -04:00
Joseph Nuthalpati
4abb7cd885
Diaspora: Checkbox to enable or disable user registrations
2017-07-29 12:40:44 -04:00
James Valleroy
3e38a3e3f1
diaspora: fix test file header
2017-07-29 10:50:06 -04:00
Joseph Nuthalpati
f3860b197a
Diaspora: Generate apache configuration at setup
...
- Deleted static configuration file
- Generating configuration with the domain name set.
2017-07-29 10:45:57 -04:00
James Valleroy
276dac2df2
security: minor style fixes
2017-07-29 09:49:14 -04:00
nsaikiran
a8a5da996e
[ #759 ] Add fail2ban to Plinth UI
...
Run sudo-required action via actions.superuser_run
Actions related to services those require `sudo` permissions need to
be executed via actions.superuser_run.
NOTE:
If plinth service is started via `sudo ./run --debug` (in dev mode)
all actions will be executed silently. But plinth in user machines
won't be executed with sudo permissions.
2017-07-29 09:42:31 -04:00
Pavel Borecki
729dc4b5a5
Translated using Weblate (Czech)
...
Currently translated at 91.1% (673 of 738 strings)
2017-07-23 21:44:40 +02:00
Luis A. Arizmendi
a7507166a4
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (738 of 738 strings)
2017-07-22 16:37:45 +02:00
Luis A. Arizmendi
aa0b7424ba
Translated using Weblate (Spanish)
...
Currently translated at 95.1% (702 of 738 strings)
2017-07-22 16:13:08 +02:00
Paul van der Vlis
b3449bbb21
Translated using Weblate (Dutch)
...
Currently translated at 95.3% (704 of 738 strings)
2017-07-22 16:13:08 +02:00
Johannes Keyser
4bd6929d69
power: warn if a package manager is running before shutdown/restart
...
- red colors for warning about running package manager
- red buttons to indicate danger if installation/upgrade runs
2017-07-22 10:07:33 -04:00
James Valleroy
3ea5868ec1
pylint and spelling fixes
2017-07-19 21:47:07 -04:00
Johannes Keyser
1069f84154
letsencrypt: Add option to let Plinth "manage" certbot's renewal hooks
...
- add action commands for managing and running hooks
- adding template, view and url for managing and running hooks
- disable Plinth hook management on domain change
2017-07-19 21:47:00 -04:00
Johannes Keyser
1d4289068a
Translated using Weblate (German)
...
Currently translated at 99.7% (736 of 738 strings)
2017-07-19 12:45:21 +02:00
Petter Reinholdtsen
f75c77647d
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 100.0% (738 of 738 strings)
2017-07-18 12:56:34 +02:00
Kyodev
24d696a483
Translated using Weblate (French)
...
Currently translated at 100.0% (738 of 738 strings)
2017-07-17 22:11:59 +02:00
John Doe
6bbfb4f5b2
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (738 of 738 strings)
2017-07-14 15:54:44 +02:00
Joseph Nuthalpati
ff1a2537cd
diaspora: Fixed a left-over refactoring
...
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-07-14 15:51:39 +05:30
bharatak
ee43db0e1b
letsencrypt: Make Let's Encrypt an essential module
...
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-07-14 12:55:01 +05:30