Commit Graph

54 Commits (bf1495e18b3deabc34ae86f6a34642e9bb221235)
 

Author SHA1 Message Date
Michael Tänzer bf1495e18b Doh, apparently the convention has changed nowadays models are placed in the Application_ namespace but we still use Default_
Signed-off-by: Michael Tänzer <neo@nhng.de>
13 years ago
Michael Tänzer f4d471baac Factor out functionality into a model so the controllers get more lightweight
Signed-off-by: Michael Tänzer <neo@nhng.de>
13 years ago
markus 1996e4f0a9 log login attempts (login + sha1(pw))
add utf8_decode around pw => cacert1 is iso-8859-1, ca-mgr1 is utf-8
14 years ago
root ad510d4712 less debug info to syslog 14 years ago
Michael Tänzer 1ad3b9d49d Fix Bug #861: set flags - set of flags different to - admin console flags
under testserver

Values from the data base are retrieved as String no matter what type they
have in the db. Therefore the typed comparison with an integer always
failed.

Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
markus 56d5f89b28 add doc file linked from cacert1. news blog (fake rss) 14 years ago
root 15e7456aa8 fix typo 14 years ago
Markus Warg a70815967c rename all ini files, need to symlink "your" ini to application.ini 14 years ago
root 423dbd13ee even more fixes, seems to work now => validate more email addresses per account 14 years ago
Markus Warg ea4c410936 fix bug - missing db connection 14 years ago
Markus Warg 79b16d2a04 display all emails to an user (check more addresses)
add method to get all email addresses that are associated to an account,
use list of addresses to allow access to emails (mail ping issue #834 #845)
	modified:   manager/application/configs/application.ini
	modified:   manager/application/controllers/MailController.php
	new file:   manager/library/CAcert/User/Emails.php
14 years ago
Michael Tänzer 5d25f68378 Merge branch 'master' of ssh://git-cacert.it-sls.de/var/cache/git/cacert-mgr 14 years ago
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>
14 years ago
Markus Warg 1a0d0c99c3 add view own mails, view all mails (admin role required)
add email delete
14 years ago
Michael Tänzer 46d228ccc3 Add the Set Flags feature
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
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>
14 years ago
Michael Tänzer cab10c7d63 String is translated by the menu framework
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer 72e3df0748 Add left navigation for the ManageAccountController
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer 5e39c30e12 New assurer challenge feature
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer b1e762553a Doh, getAdminIncreaseForm() should actually return the form
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
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>
14 years ago
Michael Tänzer 1169be1f58 Refactor: move common routines into separate methods
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer 2c75cddc50 Add a form for the administrative increase feature
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
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>
14 years ago
Michael Tänzer e93cdd861d New manage-account/index view
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
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>
14 years ago
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>
14 years ago
Michael Tänzer 87d25d7024 Merge branch 'AddPoints' of git://git-cacert.it-sls.de/cacert-mgr 14 years ago
Michael Tänzer 4c68e41c4a Proper capitalisation of "CAcert"
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer 6cf8a11300 Merge branch 'AddPoints' 14 years ago
Michael Tänzer 9b603df9b0 Initial version of the create-assurers script
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer 727e4ff282 db->update() sucks for complicated where clauses
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer e9d2e83670 quoteInto() only accepts '?' as place holder
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer 66174d6fb3 A new Assurer has to be selected for every single assurance
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer e93541c58f Refactor
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer ac7f1ba03d Class constants have to be prefixed with self:: in PHP
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer 4af9e0a9bb Add view for add-points/assurance
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
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>
14 years ago
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>
14 years ago
Michael Tänzer 0a804fde89 Remove unused local variable
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer 38d397043e Skeleton for AddPointsController
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Markus Warg f3f8547446 Merge branch 'master' of ssh://git-cacert.it-sls.de/var/cache/git/cacert-mgr 14 years ago
Markus Warg 80ef52e1a2 db layout / data changes
add some config parameters to config db
add field to system_user (cert login)
14 years ago
Michael Tänzer b6598b4f74 Add filters as in the test system
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Michael Tänzer 82d437e005 Don't validate things the test system doesn't also validate
Signed-off-by: Michael Tänzer <neo@nhng.de>
14 years ago
Markus Warg acdc60dea4 remove restrictions from typed in password 14 years ago
root 9be3447231 formatting of mail body 14 years ago
Markus Warg 2597013887 list mails, read mails
fix smaller issues in imap class
mail controller
list contents of mailbox
read mails
14 years ago
Markus Warg ae053ad037 imap class / mail controller
add imap class to access captured emails
add mail controller to framework (display content)
14 years ago
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
14 years ago