2230 Commits

Author SHA1 Message Date
Joseph Nuthalpati
53645deebf
syncthing: Made it a systemd service 2017-03-23 15:06:52 +05:30
Joseph Nuthalpati
e531e9ac9c
syncthing: Added icon for shortcut 2017-03-23 15:06:03 +05:30
Joseph Nuthalpati
cef7e6ff60
syncthing: Added glyph icon and corrected description and URLs 2017-03-23 15:05:11 +05:30
Joseph Nuthalpati
2e28408f4b
syncthing: initial attempt at integrating Syncthing 2017-03-23 15:01:13 +05:30
cllamb0
fea4c7daf2
Changed the URL in INSTALL by adding /plinth. 2017-03-21 09:49:30 +05:30
Sunil Mohan Adapa
1111d881ec
New locale for Gujarati (gu) 2017-03-16 07:41:52 +05:30
Sunil Mohan Adapa
f5a6851a30
New locale for Hindi (hi) 2017-03-16 07:35:15 +05:30
Sahithi Yarlagadda
13dfc31406 Added more Debian badges to README 2017-03-15 18:12:01 +05:30
aksbuzz
8c3f97218e Added debian status image to README 2017-03-15 11:29:56 +05:30
Igor
962648d908 Translated using Weblate (Russian)
Currently translated at 100.0% (687 of 687 strings)
2017-03-10 12:46:22 +01:00
Алексей Докучаев
a6976d5816 Translated using Weblate (Russian)
Currently translated at 100.0% (687 of 687 strings)
2017-03-08 12:38:52 +01:00
Igor
2758c1b814 Translated using Weblate (Russian)
Currently translated at 100.0% (687 of 687 strings)
2017-03-08 12:37:54 +01:00
Алексей Докучаев
4f7665de23 Translated using Weblate (Russian)
Currently translated at 100.0% (687 of 687 strings)
2017-03-08 12:37:03 +01:00
Priya Nyshadham
623cf9e211 Translated using Weblate (Telugu)
Currently translated at 66.2% (455 of 687 strings)
2017-02-22 15:46:37 +01:00
John Doe
ff38bd2f20 Translated using Weblate (Turkish)
Currently translated at 100.0% (687 of 687 strings)
2017-02-18 15:55:57 +01:00
Sripath Roy Koganti
9b19fbfce3 Translated using Weblate (Telugu)
Currently translated at 66.0% (454 of 687 strings)
2017-02-18 15:46:24 +01:00
Tong Hui
ea6dd30a77
Update Chinese Translation 2017-02-15 22:20:06 +05:30
ychukka
db4d71e6b0
Add custom template for 403 reponse code 2017-02-15 21:54:24 +05:30
Sunil Mohan Adapa
f82136e559
users: Show and consume messages in user edit & password change 2017-02-15 21:08:39 +05:30
Sunil Mohan Adapa
61c147a9ac
openvpn: Upgrade logo license to gplv3+ 2017-02-15 21:08:31 +05:30
Sunil Mohan Adapa
05908d1680
openvpn: Handle shortcut properly when enabling/disabling 2017-02-15 21:08:18 +05:30
Sunil Mohan Adapa
2a3381415e
Prioritize stronghold over admin require middlerware
Not logged-in users accessing restricted URLs will be required to
login page instead of being show access denied page.
2017-02-15 21:08:00 +05:30
Rahul De
ad0b235dd7
users: Restrict groups and active user control to admins
- Only admins can now edit the groups of any user

- Only admins can mark any user as active or not

- Refactored all occurrences of admin checks to its own utility function
2017-02-15 21:07:54 +05:30
Sunil Mohan Adapa
7465aafe89
openvpn: Fix i18n and minor refactoring
- Remove hard coded link
2017-02-15 21:07:43 +05:30
Sunil Mohan Adapa
3e8caab08a
middleware: Refactor tests to avoid repetition 2017-02-15 21:07:35 +05:30
Sunil Mohan Adapa
dd5ab7612e
Minor refactoring and lint fixes
- Rename AdminMiddleware to AdminRequiredMiddleware to be consistent
  with stronghold/Django terminology

- Simplify .gitignore pattern

- Format single line docstrings as per PEP8.

- Add missing docstrings.

- Restrict lines to 79 characters.
2017-02-15 21:07:27 +05:30
Sunil Mohan Adapa
4699b201a9
Remove use of stronghold whitelisting
This is no longer necessary as both the URLs have been explicitly
marked as public views.
2017-02-15 21:07:19 +05:30
lispyclouds
f54a9d89dd
Fix accidental debugging print 2017-02-15 21:07:08 +05:30
lispyclouds
0f3189c6bd
frontpage: Show config options only to admins 2017-02-15 21:06:20 +05:30
lispyclouds
b0321d7d29
openvpn: Allow non-admin users to download their own profiles
- This adds OpenVPN icon

- This enables the OpenVPN app on the index page.

- This allows only admins to create the certs for OpenVPN and admins and
  non admins can not download their own profiles via the app icon.
2017-02-15 21:05:48 +05:30
lispyclouds
40ceb9a152
Deny access to non-admin users to other's pages
- This checks that the user making the request is the same user as the
  one logged in and prevents access to the pages of other users if its
  not admin
2017-02-15 21:05:40 +05:30
lispyclouds
da2a63bd96
Add intellij and macos file to gitignore 2017-02-15 21:04:56 +05:30
lispyclouds
79b27ea2ee
Make user edit and change password non-admin views
- This makes the user update and password change pages non admin so that
  non admin users can access
2017-02-15 21:04:40 +05:30
lispyclouds
3e0f7a007e
Update default page after login
- This fixes the redirect to the index page instead of apps:index post
  login
2017-02-15 20:58:05 +05:30
lispyclouds
3b23f78bdc
Implement middleware for admin views
- Add AdminMiddleware to deny non admin users
- Add decorator to mark views as "non admin"
2017-02-15 20:57:52 +05:30
Sripath Roy Koganti
c8fb2c35c4 Translated using Weblate (Telugu)
Currently translated at 65.9% (453 of 687 strings)
2017-02-15 15:46:23 +01:00
Sripath Roy Koganti
0e9c86f52c Translated using Weblate (Telugu)
Currently translated at 65.7% (452 of 687 strings)
2017-02-06 18:46:40 +01:00
Sunil Mohan Adapa
7f948d1111
tor: Simplify upstream bridges action code
- There is no need for separate subcommand as arguments can be passed in
  even when they have special characters such as \n in them.

- Enable obfs3 and scramblesuit transports also.  Since it is easy to
  support them and bridges site still provides them.  scramblesuit is
  also a nice alternative to obfs4.

- Minor refactoring/fixes.
2017-01-29 11:21:03 +05:30
Sunil Mohan Adapa
e3d0c7ba80
tor: Update upstream bridges javascript actions
- Always show relay and bridge relay options.  This is show to the users
  that the options are available but not enabled because of somethings
  else.  Otherwise, users may not be able to discover these important
  options.

- Simplify animation for upstream bridges text box.
2017-01-29 11:20:46 +05:30
Sunil Mohan Adapa
31cad0bf40
tor: Better validation for upstream bridges
- Convert line terminators in the form field so that it matches the
  current status information resulting in proper detection of change in
  value.

- Allow IPv6 addresses properly.  Allow "[ipv6]:port" format.

- Make specifying port optional.

- Allow spaces at the beginning and ending of the line to compensate for
  copy/paste errors.

- Allow empty lines between bridge specifications.

- Allow multiple spaces between the components.

- Raise error if upstream bridges are not provided when 'use upstream
  bridges' option is enabled.

- Write tests for upstream bridges validator.
2017-01-29 11:20:34 +05:30
Sunil Mohan Adapa
c311175797
tor: Update description for bridge options
- Mention that this option is for preventing censorship.

- Simplify description of upstream bridges.

- Give hyperlink to bridges.torproject.org.

- Make it slightly more clear that users can copy paste information from
  bridges page.

- Update list of supported transports.
2017-01-29 11:20:22 +05:30
James Valleroy
4162c2df86
tor: Catch one more possible error with bridge entries 2017-01-29 11:20:03 +05:30
James Valleroy
f52f3f70d2
tor: Fix async config and message regressions 2017-01-29 11:19:47 +05:30
James Valleroy
31f95cfb12
tor: Support obfs4 for upstream bridges
Refactor augeas lens for readability.
2017-01-29 11:19:34 +05:30
James Valleroy
4eaff44b49
tor: Hide relay options when upstream bridges are used
Move upstream bridge options above relay options.
2017-01-29 11:19:20 +05:30
James Valleroy
5483d30151
tor: Don't allow relay to be enabled while using upstream bridges 2017-01-29 11:19:01 +05:30
James Valleroy
165e880329
tor: Move restart logic into plinth module 2017-01-29 11:18:42 +05:30
James Valleroy
6430ebbc71
tor: Re-use loaded augeas 2017-01-29 11:18:31 +05:30
James Valleroy
5552853ee3
tor: Validate bridge entries 2017-01-29 11:18:08 +05:30
James Valleroy
09b58a8b99
tor: Add option to use upstream bridges 2017-01-29 11:17:41 +05:30