mango r87 - in trunk: . lib templates www
- From: ovitters svn gnome org
- To: svn-commits-list gnome org
- Subject: mango r87 - in trunk: . lib templates www
- Date: Thu, 20 Sep 2007 20:30:29 +0100 (BST)
Author: ovitters
Date: 2007-09-20 20:30:29 +0100 (Thu, 20 Sep 2007)
New Revision: 87
ViewCVS link: http://svn.gnome.org/viewcvs/mango?rev=87&view=rev
Modified:
trunk/ChangeLog
trunk/lib/account.php
trunk/lib/util.php
trunk/templates/requestor_status_change.xsl
trunk/www/list_accounts.php
trunk/www/list_accounts.xsl
trunk/www/new_user.php
trunk/www/new_user.xsl
Log:
Initial user creation from account request.
* lib/account.php: (update_verdict): New function, updates the verdict
column in the database. It will be 'approved' upon account creation
and rejected otherwise. The latter still needs to be implemented.
(fill_user): New function, fill in a user object instance from the
fields in the account.
* templates/requestor_status_change.xsl: Prevent unintended spaces in
the email.
* www/list_accounts.php: Add db_id to the XML, so we can link to
new_user.php and mention the account id.
* www/list_accounts.xsl: Link to new_user.php for the actual account
creation.
* www/new_user.php: Load an account instance when account parameter is
used. Also check for this instance in adduser and update the account
to approved using update_verdict.
* www/new_user.xsl: Show when the SSH key has an error.
* lib/util.php (is_valid_ssh_pub_key): DSA keys actually have ssh-dss
as format specifier, not ssh-dsa.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]