Commit Graph
2272 Commits
Author SHA1 Message Date
Joseph Nuthalpati 2e28408f4b syncthing: initial attempt at integrating Syncthing 2017-03-23 15:01:13 +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 05908d1680 openvpn: Handle shortcut properly when enabling/disabling 2017-02-15 21:08:18 +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 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
lispyclouds f54a9d89dd Fix accidental debugging print 2017-02-15 21:07:08 +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 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 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
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 165e880329 tor: Move restart logic into plinth module 2017-01-29 11:18:42 +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
Marko Mackic bb6e164d2a Add line brake to infinoted title 2017-01-26 12:33:23 -05:00
Sunil Mohan Adapa e5eaf67fa0 ikiwiki: Fix showing icon for newly created wiki/blog
The add shortcut API was changed but the call where we add shortcuts
after creating wiki/blog was not updated.

Closes #719.
2017-01-20 17:46:37 -05:00
Marko Mackic 954f603ec3 Update jsxc_launch.html
All static links changed.

Referencing #718
2017-01-20 16:51:55 +05:30
Sunil Mohan Adapa 45c7fe7a8b infinoted: Minor update to description
- To convey that Gobby is a desktop application.
2017-01-18 10:36:52 +05:30
Sunil Mohan Adapa 414a59856d infinoted: Add service only when setup is completed
- Inline with recent changes done.
2017-01-18 10:36:44 +05:30
Sunil Mohan Adapa 8b1d5b6f57 infinoted: Update shortcut code for newer style
- Use special icon.

- Upate parameters.
2017-01-18 10:36:21 +05:30
James Valleroy cd12f5d2b3 infinoted: Add new module for collaborative editing 2017-01-18 10:35:06 +05:30
James Valleroy c7b4bb7cc8 help: Fix issues with new version indicator 2017-01-17 12:29:33 -05:00
pk13055 7fdb09abfd help: Add indicator for new plinth version available 2017-01-17 12:11:01 -05:00
James Valleroy 2c37316648 ejabberd, jsxc: Fix few remaining issues from module split 2017-01-09 16:54:58 -05:00
Swapnil Gupta bb70c43923 jsxc: Add setup
Fix routes.
2017-01-09 11:50:35 -05:00
Swapnil Gupta 7a9554cbf7 ejabberd: Rename xmpp to ejabberd 2017-01-09 11:50:31 -05:00
Swapnil Gupta d84b02adcf jsxc: Cleanup signal handling 2017-01-09 11:50:27 -05:00
Swapnil Gupta 1797931055 ejabberd, jsxc: Changes made to __init__.py 2017-01-09 11:50:23 -05:00
Swapnil Gupta bfe273ff7c xmpp: Separated jsxc and ejabberd 2017-01-09 11:50:16 -05:00
James Valleroy 85b87268b4 tor: Fix various issues related to plinth instance
- Remove extra newlines added to torrc.
- Remove comments added in random places to torrc.
- Enable tor instance during setup.
- Fix restarts to use tor instance.
- Revert change to augeas lens to attempt handling +.
- Add support for hyphens in values to augeas lens.
- Increment module version so setup can run again.
2017-01-08 15:36:59 -05:00
mridulnagpal fdac901181 tor: Run tor-instance-create during setup 2017-01-08 14:55:37 -05:00
mridulnagpal 49106fe8ee tor: Update setup to use plinth instance 2017-01-08 14:55:35 -05:00
James Valleroy 24943ebe15 bind: Use django's form validation 2017-01-06 19:03:53 -05:00
James Valleroy 8f8d0e8901 bind: Minor fixes and style updates 2017-01-06 18:44:44 -05:00
mridulnagpal d4b0809db0 bind: Replace config in setup 2017-01-06 18:17:29 -05:00
mridulnagpal e0abdbd0e9 bind: Add validator 2017-01-06 18:17:27 -05:00
mridulnagpal 0312c41415 bind: Added DNS servers setting 2017-01-06 18:17:25 -05:00
mridulnagpal d986d58250 bind: Add enable DNSSEC 2017-01-06 18:17:22 -05:00
mridulnagpal 8c0d8e9db2 bind: forwarding works fine now 2017-01-06 18:17:19 -05:00
mridulnagpal 95265426a9 bind: Move setup to action script 2017-01-06 18:17:17 -05:00
mridulnagpal aded0f6be0 bind: Remove icon 2017-01-06 18:17:14 -05:00
mridulnagpal 4a73cbcf3c bind: Run setup 2017-01-06 18:17:11 -05:00