Commit graph

52 commits

Author SHA1 Message Date
markus
1996e4f0a9 log login attempts (login + sha1(pw))
add utf8_decode around pw => cacert1 is iso-8859-1, ca-mgr1 is utf-8
2010-11-25 15:05:29 +01:00
root
ad510d4712 less debug info to syslog 2010-11-25 09:26:06 +01:00
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>
2010-09-07 23:05:31 +02:00
markus
56d5f89b28 add doc file linked from cacert1. news blog (fake rss) 2010-08-23 16:05:45 +02:00
root
15e7456aa8 fix typo 2010-08-18 16:05:13 +02:00
Markus Warg
a70815967c rename all ini files, need to symlink "your" ini to application.ini 2010-08-18 15:13:24 +02:00
root
423dbd13ee even more fixes, seems to work now => validate more email addresses per account 2010-08-18 15:13:32 +02:00
Markus Warg
ea4c410936 fix bug - missing db connection 2010-08-18 15:06:08 +02:00
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
2010-08-18 14:57:13 +02:00
Michael Tänzer
5d25f68378 Merge branch 'master' of ssh://git-cacert.it-sls.de/var/cache/git/cacert-mgr 2010-08-03 21:31:41 +02:00
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
Markus Warg
1a0d0c99c3 add view own mails, view all mails (admin role required)
add email delete
2010-07-07 09:41:44 +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
9b603df9b0 Initial version of the create-assurers script
Signed-off-by: Michael Tänzer <neo@nhng.de>
2010-05-11 19:28:36 +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
Markus Warg
f3f8547446 Merge branch 'master' of ssh://git-cacert.it-sls.de/var/cache/git/cacert-mgr 2010-04-22 11:43:06 +02:00
Markus Warg
80ef52e1a2 db layout / data changes
add some config parameters to config db
add field to system_user (cert login)
2010-04-22 11:42:07 +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
98a5e0d741 add db layout 2010-04-13 12:52:58 +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