1590 Commits

Author SHA1 Message Date
Joseph Nuthalapati
ad07e717ae
cockpit: Add short description to frontpage shortcut
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-08 13:37:51 +05:30
Pavel Borecki
fe23a82b0f Translated using Weblate (Czech)
Currently translated at 93.5% (754 of 806 strings)
2017-11-08 07:45:11 +01:00
John Doe
8227944c75 Translated using Weblate (Turkish)
Currently translated at 100.0% (806 of 806 strings)
2017-11-07 11:26:19 +01:00
James Valleroy
ee156c84c9
Release v0.16.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-11-06 20:52:15 -05:00
Johannes Keyser
f32bda3c52 Translated using Weblate (German)
Currently translated at 100.0% (806 of 806 strings)
2017-11-07 00:19:58 +01:00
Johannes Keyser
20a77b23f9 Translated using Weblate (German)
Currently translated at 100.0% (806 of 806 strings)
2017-11-06 21:37:22 +01:00
James Valleroy
a64603ebb4
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-11-06 11:52:25 -05:00
Sunil Mohan Adapa
e4aa77d9f2
cockpit: Make the application usable
All users can login. Only admin users can see logs and make changes.

LIMITATION: Only certain functions such as service management is possible.
Functions such as networking and user management is read-only. This problem does
not occur for user belonging to the 'sudo' group.

- Move to system section from applications section.

- Rename action script to cockpit instead of cockpit.

- Deal with .socket/.service correctly.

- Implement hooks on domain name changes and update configuration correctly.

- Host the application under /_cockpit instead of /cockpit because it is
  reserved.

- Update description.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-11-06 06:54:52 -05:00
vignanl
44cf56c222
cockpit: New module for server administration
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-06 13:22:10 +05:30
Dietmar
4e76ea8435 Translated using Weblate (German)
Currently translated at 100.0% (798 of 798 strings)
2017-11-06 07:11:01 +01:00
Johannes Keyser
5fb68b459c
Enable django SecurityMiddleware, mitigates issue #1111.
Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-11-06 11:38:57 +05:30
Sunil Mohan Adapa
e8601bf627
tests: Use a temporary directory for testing actions
This eliminates the case where the test module was getting installed in a
different location compared to other modules. Also eliminates the need to run
this test as root.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-11-04 15:30:18 -04:00
Sunil Mohan Adapa
b5a8b85a91
diaspora: Update tests for better temp directory creation
Eliminate test failures under some conditions when the directory could not be
created.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-11-04 15:30:11 -04:00
Federico Ceratto
f0c0d6dcf5
letsencrypt: Disable test when sudo is not available
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-03 18:32:14 +05:30
Johannes Keyser
508cbe7361
ejabberd, jsxc, apache: Rename out-dated "http-bind" to "bosh".
Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-31 20:26:49 -04:00
Johannes Keyser
3bed804f72 Translated using Weblate (German)
Currently translated at 100.0% (798 of 798 strings)
2017-10-28 16:07:57 +02:00
Johannes Keyser
e0a1de4137
letsencrypt: fix internal server error when obtaining a certificate.
- Fixes issue #1103.

Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
2017-10-28 15:21:05 +02:00
Joseph Nuthalapati
29ca31fae2
letsencrypt: Fix tests requiring sudo
Closes #1084

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-26 22:08:43 -04:00
Johannes Keyser
479e6b1678
letsencrypt: log info about obtain/revoke only if actually attempted
- Fixes issue #1086.

Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-26 06:51:45 -04:00
Sahithi
7722419e05
Change localization platform details from Transifex to Weblate
Update localization platform details in HACKING and README.md from
Transifex to Weblate.

Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-10-24 17:33:11 +05:30
Pavel Borecki
b14e3cc9d4 Translated using Weblate (Czech)
Currently translated at 92.1% (735 of 798 strings)
2017-10-24 13:46:07 +02:00
Prachi Srivastava
83430f4031
Add mobile, web and desktop client for modules
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-10-24 17:13:13 +05:30
Prachi Srivastava
bc5cd164f2
Add template to show client info
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-10-24 17:12:38 +05:30
John Doe
32048b9948 Translated using Weblate (Turkish)
Currently translated at 100.0% (798 of 798 strings)
2017-10-21 01:22:19 +02:00
John Doe
89a5f2ec3a Translated using Weblate (French)
Currently translated at 99.4% (794 of 798 strings)
2017-10-21 01:22:19 +02:00
James Valleroy
3c089df969
Release v0.15.3
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-20 19:20:01 -04:00
John Doe
9954554f59 Translated using Weblate (Turkish)
Currently translated at 100.0% (798 of 798 strings)
2017-10-20 10:00:43 +02:00
James Valleroy
0765e7c28b
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-19 21:15:14 -04:00
James Valleroy
f745ef42f1
Also fix user name in urls for UpdateUser
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-19 20:50:52 -04:00
Joseph Nuthalapati
d755d42a76
Handle both admin and non-admin user names in update user template
When an admin user goes to the UpdateUser view of a different user, the template
gets only one username which is of the user being updated. This causes the admin
user's name being overwritten in the header section thus making it appear that
the user is modifying themselves and not the admin. This can cause confusion to
the admin user.

Explicitly getting the name of the user that made the request ensures that we
always get the correct username.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-19 20:48:37 -04:00
James Valleroy
b87388ae3c
letsencrypt: Handle case where current domain is empty
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-19 19:39:05 -04:00
Joseph Nuthalpati
a9b5ac55cb
letsencrypt: Automatically obtain and revoke SSL certificates
Let's Encrypt module listens to the following django signals and takes the
appropriate actions.
- domain_added
- domain_removed
- domainname_change

Do not revoke empty domains.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-19 19:38:56 -04:00
John Doe
566d5a1458 Translated using Weblate (Turkish)
Currently translated at 100.0% (798 of 798 strings)
2017-10-19 22:49:56 +02:00
John Doe
e6710b888f Translated using Weblate (French)
Currently translated at 100.0% (798 of 798 strings)
2017-10-18 15:50:07 +02:00
John Doe
b0021d1a57 Translated using Weblate (Turkish)
Currently translated at 100.0% (798 of 798 strings)
2017-10-18 14:21:17 +02:00
John Doe
5ce9d05e08 Translated using Weblate (French)
Currently translated at 89.8% (717 of 798 strings)
2017-10-18 14:21:17 +02:00
Joseph Nuthalapati
3b3dafe893
power: Merge power merge into the user dropdown
Closes #1074.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-10-18 17:43:24 +05:30
Sunil Mohan Adapa
511c957ece
matrixsynapse: Minor PEP8 fixes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-10-18 17:31:02 +05:30
Sunil Mohan Adapa
9ba3d4b104
matrixsynapse: Increment module version
So that LDAP integration is enabled on existing setups.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-10-18 17:30:55 +05:30
Hemanth Kumar Veeranki
025cf4dd2c
matrixsynapse: Enable LDAP integration
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-10-18 17:30:18 +05:30
Joseph Nuthalapati
4e7a2a1d3e
Remove redundant dependency ttf-bitstream-vera
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-10-18 11:00:12 +05:30
Joseph Nuthalpati
6b8745fd17
captcha: fix failing test
Fixed a test that failed because of fixing a django deprecation warning.
request.user.is_authenticated() method is replaced by the property
`is_authenticated`

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:08:27 -04:00
Joseph Nuthalpati
ab235be2fc
captcha: fix tests failing to start
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:08:17 -04:00
Joseph Nuthalpati
03e1006dc3
sso: utility to fetch client ip address
(django-axes + django-simple-captcha) with sso is working at this point.

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:08:07 -04:00
Joseph Nuthalpati
f330d09ec9
sso: Add captcha validation on 3 failed attempts
- clearing ip address correctly is not implemented yet
- currently clearing all ip addresses

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:07:57 -04:00
Joseph Nuthalpati
31cd97e71e
sso: Add django-axes to project
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:07:48 -04:00
Joseph Nuthalpati
8b5f3576ee
captcha: Make ttf-bitstream-vera a managed package
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:07:39 -04:00
Joseph Nuthalpati
d3c428d58b
captcha: Add flite tts for accessibility
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:07:30 -04:00
Joseph Nuthalpati
6e26c92441
captcha: Fix issue with captcha path when captcha entered is wrong
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:07:22 -04:00
Joseph Nuthalpati
62f26433e8
Add django-simple-captcha in the login page
User will be shown captcha in the second attempt to login if login
fails in the first attempt.

Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:07:12 -04:00