2249 Commits

Author SHA1 Message Date
Hemanth Kumar Veeranki
6e2f70063b
shortcuts: Add hidden property for each shortcut
Display shortcuts only if hidden field is False.

Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
2017-03-30 11:10:34 +05:30
James Valleroy
b4dd17b01c
Update changelog 2017-03-29 18:02:01 -04:00
Sunil Mohan Adapa
d1fa4e054e
Use the common LDAP auth configuration in all modules
By maintaining a common LDAP auth configuration, it becomes easy for
us to change the configuration values in future for upgrades etc.
2017-03-29 17:24:04 -04:00
Sunil Mohan Adapa
2c0581ea26
Remove unused symlink to doc directory
This partially fixes https://bugs.debian.org/857957 .  The doc symlink
was not being used for quite some time.  Tested with
/etc/plinth/plinth.config and without it using local config.
2017-03-29 17:23:55 -04:00
Sunil Mohan Adapa
dc0f3151b1
openvpn: Set unique subject property on each cert generation
Just to be sure of the ability to generate the certificate even on
modifications.
2017-03-29 21:49:50 +05:30
Hemanth Kumar Veeranki
04cadbc82f
openvpn: Prevent failures when regenerating user certificate
Set unique_subject attribute to no in index.txt.attr file.  This
allows regenerating a certificate for a user.

Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
2017-03-29 21:33:58 +05:30
Sunil Mohan Adapa
4feb0c7a01
Complete tests and remove duplicate context information 2017-03-29 20:10:39 +05:30
Rahul De
3248c2573d
Hide apps and sys icons if user is not an admin 2017-03-29 19:12:11 +05:30
Sunil Mohan Adapa
018324a6fc
Update to implementation of new footer
- Internationalize all the strings.

- Fix indentation.

- Use bootstrap row/columns better for footer links.

- Minimize CSS.

- Restore some of the FreedomBox statements until futher discussion.
2017-03-29 17:39:09 +05:30
Soumya97
b44efb939a
Change footer of home page according to new design 2017-03-29 17:38:58 +05:30
Sunil Mohan Adapa
9c65f69e89
Minor fixes to topbar changes
- Move the apps and configuration items outside of navbar header and
  into left navbar group so that it collapses properly for mobile
  view.

- Change link titles to reflect label text.

- Indent properly, remove blank lines.

- Remove need to tweak font size of items.
2017-03-29 11:55:33 +05:30
Soumya97
384327af71
Implement new topbar according to new card based UI 2017-03-29 11:53:01 +05:30
Sunil Mohan Adapa
f9bd2542a7
openvpn: Apply empty file check to private key also
When downloading user's profile, if user's private key is empty,
regenerate user's key.

Minor styling fixes too.
2017-03-27 21:58:32 +05:30
Hemanth Kumar Veeranki
fcd2499092
openvpn: When user certificate is empty, regenerate it
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
2017-03-27 21:57:56 +05:30
Sunil Mohan Adapa
4a3cf220c8
syncthing: Fixes issues with enabling and setup
- On enable, don't just run syncthing, actually enable it.

- Make setup step idempotent. Run setup during enable as it is
  idempotent.

- Perform user/group creation properly during setup.

- Provide better description.

- Modify the application label and icon for accuracy of the service
  provided.

- Fix problem with showing service in firewall.
2017-03-23 15:09:46 +05:30
Sunil Mohan Adapa
3f57863a69
syncthing: Update Apache configuration
- Redirect /syncthing to /syncthing/ as the daemon does not work
  without a slash at the end.

- Create a separate include file for LDAP authentication
  configuration that can be included on other app configurations.
2017-03-23 15:09:37 +05:30
Sunil Mohan Adapa
277cd45342
syncthing: Minor styling fixes 2017-03-23 15:09:26 +05:30
Joseph Nuthalpati
551bd7b92c
syncthing: Fix showing running status in configuration page 2017-03-23 15:07:38 +05:30
Joseph Nuthalpati
a5147cfe16
syncthing: Run service as system user 'syncthing'
- Enabled Apache LDAP authentication for Syncthing.
2017-03-23 15:07:25 +05:30
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