Commit graph

59 commits

Author SHA1 Message Date
Michael Tänzer
c01c319a99 Admin increase: get rid of the "fragment" flag as experience points should
now be gained doing batch assurances (to be implemented)

Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-06-28 12:36:55 +02:00
Michael Tänzer
79ca9e7bee Implement administrative increase in the user model
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-06-28 01:20:56 +02:00
Michael Tänzer
ad8a76ce07 Remove settings from repository control
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-06-22 13:40:23 +02:00
Michael Tänzer
9dfc0e4078 Correctly calculate age
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-06-21 01:12:54 +02:00
Michael Tänzer
445b9b133f Missing space in SQL query
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-06-20 23:11:39 +02:00
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>
2011-06-20 23:08:08 +02:00
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>
2011-06-20 13:41:52 +02:00
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