2586 Commits

Author SHA1 Message Date
Johannes Keyser
2ca5cd8043
ejabberd: Fix LDAP server entry in config file during setup.
Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-31 19:52:53 -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
James Valleroy
a77db8aa1a
Use better looking CircleCI badge
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-27 06:46:16 -04:00
Joseph Nuthalapati
ef0cc66a9c
ci: Remove Travis CI
- Replace travis-ci's badge with circle-ci's badge in README
- Remove .travis.yml
- Remove requirements.txt

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-26 22:43:20 -04: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
Federico Ceratto
cf62269bf7 Add CircleCI badge 2017-10-26 12:09:24 +01: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
Joseph Nuthalapati
dbfe612c8d
Fix formatting in LICENSES file
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-10-24 17:45:44 +05:30
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
Prachi Srivastava
b8725a0d9f
Add google play image and fdroid image
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-10-24 17:12:05 +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>
v0.15.3
2017-10-20 19:20:01 -04:00
James Valleroy
043d11a668
Fetch latest manual from wiki
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-20 05:37:13 -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
8e8037cc6e
Update changelog
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-19 22:12:10 -04: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
Joseph Nuthalapati
aa41f80b16
Add new django dependencies axes and captcha to the INSTALL file
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-19 19:56:50 -04:00
Joseph Nuthalapati
e1a552d201
ci: Add circle-ci config to Plinth
Closes #1070

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-19 19:49:02 -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 Nuthalapati
7c2c18abfb
travis: install configobj from Debian
plinth/actions/letsencrypt cannot refer to the configobj installed in the
virtual environment as it uses /usr/bin/python3

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-19 19:39:02 -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
Sunil Mohan Adapa
05fc508af8
matrixsynapse: Restart server after post install
This does not effect the first install but is necessary when upgrading to newer
Plinth module version.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-10-18 17:30:48 +05:30
Sunil Mohan Adapa
f5158c6186
matrixsynapse: Disable public registration by default
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-10-18 17:30:33 +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
Joseph Nuthalpati
21d6174ba0
Allow access to plinth from outside the LAN.
Signed-off-by: Joseph Nuthalpati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-17 22:06:57 -04:00
Sunil Mohan Adapa
ccfe511e4c
users: Minor refactoring
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-10-17 17:39:42 +05:30