- **status**: in-progress --> code-review
- **Comment**:

`je/42cc_7657`

Available at `/nf/admin/user/<username>`

There's a couple of new tests commented out in a last commit. I can't figure 
out why, but they cause `allura/tests/test_dispatch.py` to hang when run 
together with other tests. Also I have added and then removed tests for 
enable/disable user for the same reason.

I think it needs another pair of eyes on it, since I've already spent too much 
time dealing with this tests and have no idea what's happening... Maybe I'm 
missing something obvious.

`sftheme` needs styles for fieldset/legend, since I have moved them from a 
template to `site_style.css`. I don't have write access to sftheme repo, so 
here's the change:

~~~~~
diff --git allura/sftheme/nf/sftheme/sass/partials/_base.scss 
allura/sftheme/nf/sftheme/sass/partials/_base.scss
index d113936..e1f0e83 100644
--- allura/sftheme/nf/sftheme/sass/partials/_base.scss
+++ allura/sftheme/nf/sftheme/sass/partials/_base.scss
@@ -322,3 +322,16 @@ input.nofloat {
 #account-tooltip .emboss{
   box-shadow: none;
 }
+fieldset {
+    margin-bottom: 2em;
+    border: 1px solid silver;
+    padding: 8px;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+}
+legend {
+    margin: .2em;
+    padding: .2em;
+    font-size: 1.5em;
+}
~~~~~



---

** [tickets:#7657] Admin page for user details & edit fields**

**Status:** code-review
**Milestone:** forge-sep-19
**Created:** Mon Sep 08, 2014 03:16 PM UTC by Dave Brondsema
**Last Updated:** Tue Sep 09, 2014 07:22 AM UTC
**Owner:** Igor Bondarenko

The admin search for users should have a page to show user details, as well as 
be able to edit a few fields.  The *project* search results just linked to 
existing project pages but there isn't one with enough detail and functionality 
for *users* so we need to build it.

The page should show:

* username
* fullname
* date registered
* last login / session info
* an empty jinja block that can be overridden for extra info
* list of projects (at bottom of page in case it's long)
* user audit log (this is already a separate page, but I think it'd be good to 
include here.  Existing audit log lookup & display pages can be removed)

Editable fields:

* disabled (radio true/false).  Should fire a `g.post_event` for it.
* email addresses.  Make sure any changes are saved to user-audit log.  May 
want to refactor and reuse the widget & controller on /auth/preferences for 
this?  If so, would be a good time to separate out the "Display Name" and "Page 
Size" into a separate form and separate controller method.
* a button to "Set Random Password"
* a button to send forgotten password link for the user (it can just submit the 
primary email address to the existing forgot password form)




---

Sent from sourceforge.net because dev@allura.apache.org is subscribed to 
https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.

Reply via email to