Commit graph

35 commits

Author SHA1 Message Date
Michael Tänzer
be39a06a11 Fix Bug #830: Negative assurance points
If the user had more than 100 points adding more points through an
automated assurance resulted in negative points

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-08-03 21:19:05 +02:00
Michael Tänzer
46d228ccc3 Add the Set Flags feature
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-07-06 18:16:10 +02:00
Michael Tänzer
cb4755dd3b Doh, wrong method name.
I wonder why PHP didn't throw an error

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-07-05 00:31:17 +02:00
Michael Tänzer
cab10c7d63 String is translated by the menu framework
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-07-01 20:00:51 +02:00
Michael Tänzer
72e3df0748 Add left navigation for the ManageAccountController
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-07-01 19:58:45 +02:00
Michael Tänzer
5e39c30e12 New assurer challenge feature
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-07-01 18:52:43 +02:00
Michael Tänzer
b1e762553a Doh, getAdminIncreaseForm() should actually return the form
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-07-01 16:42:37 +02:00
Michael Tänzer
93f7bf20f6 New admin increase feature
TODO: Add to the menu somewhere
TODO: Test ;-)

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-06-29 20:00:03 +02:00
Michael Tänzer
1169be1f58 Refactor: move common routines into separate methods
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-06-29 18:47:22 +02:00
Michael Tänzer
2c75cddc50 Add a form for the administrative increase feature
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-06-28 20:06:01 +02:00
Michael Tänzer
2905cc6598 Addendum to 73761fe863
Forgot to also alter the target action for the assurance form

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-06-28 18:25:07 +02:00
Michael Tänzer
e93cdd861d New manage-account/index view
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-06-28 17:40:37 +02:00
Michael Tänzer
73761fe863 Rename AddPoints to ManageAccount
The controller will contain all actions required to manage the test account

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-06-28 17:30:31 +02:00
Michael Tänzer
a1f716c45f Restructure to have the index action present an overview
The index action should display an overview over the available actions

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-06-28 16:13:14 +02:00
Michael Tänzer
87d25d7024 Merge branch 'AddPoints' of git://git-cacert.it-sls.de/cacert-mgr 2010-06-28 16:10:26 +02:00
Michael Tänzer
4c68e41c4a Proper capitalisation of "CAcert"
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-05-14 11:42:57 +02:00
Michael Tänzer
6cf8a11300 Merge branch 'AddPoints' 2010-05-11 19:50:58 +02:00
Michael Tänzer
727e4ff282 db->update() sucks for complicated where clauses
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-29 21:55:57 +02:00
Michael Tänzer
e9d2e83670 quoteInto() only accepts '?' as place holder
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-29 21:32:48 +02:00
Michael Tänzer
66174d6fb3 A new Assurer has to be selected for every single assurance
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-29 21:21:47 +02:00
Michael Tänzer
e93541c58f Refactor
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-29 21:18:14 +02:00
Michael Tänzer
ac7f1ba03d Class constants have to be prefixed with self:: in PHP
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-29 20:49:27 +02:00
Michael Tänzer
4af9e0a9bb Add view for add-points/assurance
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-29 20:42:37 +02:00
Michael Tänzer
63afee5e17 Flesh out AddPointsController
- Implement procedure as in the live code
	(notification emails are not sent)
- Add more elements to the form

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-29 15:27:33 +02:00
Michael Tänzer
c0b9257511 Construct and display the AddPoints view
* define input form (draft)
* create the view and make it display the form
* add a link to the view in the topNav

Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-26 20:57:27 +02:00
Michael Tänzer
0a804fde89 Remove unused local variable
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-26 00:43:19 +02:00
Michael Tänzer
38d397043e Skeleton for AddPointsController
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-22 18:26:48 +02:00
Michael Tänzer
b6598b4f74 Add filters as in the test system
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-18 16:47:57 +02:00
Michael Tänzer
82d437e005 Don't validate things the test system doesn't also validate
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-04-18 15:57:54 +02:00
Markus Warg
acdc60dea4 remove restrictions from typed in password 2010-04-15 15:06:13 +02:00
root
9be3447231 formatting of mail body 2010-04-15 11:35:12 +02:00
Markus Warg
2597013887 list mails, read mails
fix smaller issues in imap class
mail controller
list contents of mailbox
read mails
2010-04-14 16:29:09 +02:00
Markus Warg
ae053ad037 imap class / mail controller
add imap class to access captured emails
add mail controller to framework (display content)
2010-04-14 15:20:40 +02:00
Markus Warg
d09a673644 enable crt login
to use crt login, a string which resembles parts of the crt cn and dn needs to exist in an system_user
record. The string is combined from SSL_CLIENT_S_DN and SSL_CLIENT_I_DN:
SSL_CLIENT_S_DN + "//" + SSL_CLIENT_I_DN
2010-04-14 12:46:51 +02:00
Markus Warg
4f4c5ce3cc initial setup of framework code
enabled features
* login
* crt login
* top / left menu
* logging
* db layer
2010-03-31 16:43:49 +02:00