74 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
61fefcff01 Minor styling and doc updates related to module cleanup 2014-12-14 17:27:11 +05:30
Sunil Mohan Adapa
90203986f2 Remove modules 'expert_mode' and 'lib'.
The login/logout URLs are now in the 'users' module.
2014-12-14 17:26:05 +05:30
Sunil Mohan Adapa
3abc5e9212 Require logged-in user for user administration 2014-12-14 17:24:23 +05:30
Sunil Mohan Adapa
d4b98b9e48 Sylting updates in user module for consistency 2014-12-14 00:32:22 +05:30
Sunil Mohan Adapa
c6a29a8915 Don't mark ContextMixin as abstract
- Django abstract bases seems to apply only for Models.

- Django itself does not use abtract marking for its own generic view
  mixins.
2014-12-14 00:32:22 +05:30
Sunil Mohan Adapa
a625d67152 Show active status in user list, increase delete button size
- Separate out styling details
2014-12-14 00:32:22 +05:30
Sunil Mohan Adapa
82c2785272 Auto-generate model form for user updation
- Remove the custom UserForm
2014-12-14 00:32:14 +05:30
Sunil Mohan Adapa
6612fffdb5 Update user module URLS
- It is more restish to have /user/1/delete rather than /user/delete/1.
- End all URLs with a slash.
2014-12-14 00:19:45 +05:30
Sunil Mohan Adapa
20e03c700a Update UI strings in user module
- Fixed an i18n issue.
- Marked more messages for i18n.
2014-12-14 00:18:33 +05:30
Sunil Mohan Adapa
6dc463ff6e Remove confusing sidebar message during user creation 2014-12-14 00:07:53 +05:30
fonfon
4b3b3c666a Refactored 'users' module
- allows editing users (currently the groups and username)
- allows any logged-in user to change the passwords of any other users
- improved url highlighting of subsubmenu
2014-12-09 20:49:13 +01:00
Sunil Mohan Adapa
95bf621c08 Update link to wiki during first boot 2014-12-06 17:15:30 +05:30
Sunil Mohan Adapa
f4f594c41a Remove references to editing of users
- We can add that when we have the functionality implemented.

- Our current effort is not have stubs and references unavailable
  features.
2014-12-06 17:08:38 +05:30
Sunil Mohan Adapa
100533bee1 Add missing titles to tor and diagnostics pages 2014-12-06 17:08:38 +05:30
Sunil Mohan Adapa
4b249be175 Reduce pagekite configuration button size 2014-12-06 17:08:38 +05:30
Sunil Mohan Adapa
2d33b0338e Add missing <p> tags 2014-12-06 17:08:38 +05:30
Sunil Mohan Adapa
522ece851c Minor indentation fixes in templates 2014-12-06 17:08:38 +05:30
Sunil Mohan Adapa
057d1063f3 Use <code> tag for commands 2014-12-06 17:08:38 +05:30
Sunil Mohan Adapa
271011adf6 Rename OwnCloud -> ownCloud 2014-12-06 17:08:38 +05:30
Sunil Mohan Adapa
10a32f43d9 Fix issue with showing installed status of pagekite 2014-12-06 17:08:37 +05:30
Sunil Mohan Adapa
e6b5bed1f3 Use margins or <p> instead of <br /> 2014-12-06 17:08:37 +05:30
fonfon
96a14e3d0d moved 'in-app menu' from the sidebar to the top of the content; some template block renaming 2014-12-06 17:08:37 +05:30
fonfon
e4c11e7d8e show the sidebar with help during first_boot 2014-12-06 17:08:37 +05:30
fonfon
9c95da8751 updated user-edit/delete texts: we don't have any functionality to edit users 2014-12-06 17:08:37 +05:30
fonfon
e2a867901d removed js_block: use page_js or app_js instead 2014-12-02 12:54:04 +01:00
James Valleroy
2751a8e848 Convert xmpp-register action to python. 2014-11-30 15:24:32 +05:30
James Valleroy
e324aa040e Move ejabberd install info to template file. 2014-11-30 15:23:25 +05:30
James Valleroy
39e441e2b9 Add action to check if ejabberd is installed.
If not installed, show instructions on how to install it.
2014-11-30 15:23:25 +05:30
James Valleroy
ac0f0c9eba Show error messages from xmpp-setup and xmpp-register.
Avoid causing plinth to show error page.
2014-11-30 15:23:25 +05:30
Sunil Mohan Adapa
5b969d9d30 Explicitly write license headers for each source file
The package license (AGPL3+) implicitly indicates the license of each
file.  However, it is desirable to have license headers in each file.
This is the case for many prominent projects like GNU project, Mozilla
etc.
2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
678d159a32 Minor styling changes 2014-11-23 14:26:48 +05:30
Sunil Mohan Adapa
4c01690fb5 Bootstrap change .label-important -> .label-danger 2014-11-23 14:19:52 +05:30
Sunil Mohan Adapa
205d3bb8c0 Use bootstap styles for non-full-width tables 2014-11-23 14:19:02 +05:30
Sunil Mohan Adapa
e15966a772 Add missing paragraph closing tag in tor template 2014-11-23 14:16:10 +05:30
Sunil Mohan Adapa
86ce7cdf25 Use globe glyphicon for pagekite 2014-11-23 14:15:45 +05:30
Sunil Mohan Adapa
b9d4688913 Use fire glyphicon for firewall 2014-11-23 14:15:23 +05:30
Sunil Mohan Adapa
265953adc6 Bootstrap change .btn-large -> .btn-lg 2014-11-23 14:10:01 +05:30
Sunil Mohan Adapa
6a1f96d7c2 Bootstrap change .btn-primary -> .btn .btn-primary
Only then the full intended style will apply.  This is a change from
Bootstrap 2 to Bootstrap 3.
2014-11-23 14:08:13 +05:30
fonfon
2945c03a79 adapted tor html table size and added minor validation fixes 2014-11-11 19:31:29 +01:00
fonfon
f0582e7a94 replaced bootstrap2 by bootstrap3 2014-11-11 19:06:47 +01:00
Sunil Mohan Adapa
9a88174ab4 Don't show configuration error when Tor HS is not available
When we configure a Tor hidden service and haven't yet run Tor at least
once, then Tor hidden service hostname and private key are not
available.  This situation requires running Tor atleast once and is not
a configuration error.  When Tor runs, it see the hidden service
configuration and creates the Hidden service information.
2014-11-11 21:56:29 +05:30
James Valleroy
a7afba8583 Show info about installing Tor if it is not already installed. 2014-11-10 22:17:49 -05:00
James Valleroy
28cc7f14c7 Handle errors with Tor HS configuration. 2014-11-10 21:42:40 -05:00
Sunil Mohan Adapa
0bb2dd51d8 Minor styling changes in first boot module 2014-10-20 00:22:47 +05:30
Sunil Mohan Adapa
71b27be720 Minor updates to Tor service 2014-10-20 00:22:19 +05:30
James Valleroy
4e493c1ac5 Add Tor form to enable/disable hidden service. 2014-10-20 00:20:32 +05:30
James Valleroy
cf52bf5029 Display Tor hidden service configuration on Tor page.
Currently assumes that there is no more than 1 hidden service.
2014-10-20 00:19:42 +05:30
James Valleroy
bc08be681e Reorganize Tor module template. 2014-10-20 00:19:31 +05:30
James Valleroy
25c4e292a6 Move basic Tor info to sidebar. 2014-10-20 00:19:17 +05:30
fonfon
94040e402a refactored first boot module; user is now logged in automatically after an account is created 2014-10-20 00:15:49 +05:30