Commit graph

20 commits

Author SHA1 Message Date
Michael Tänzer
582357352c Doh, copy and paste error
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-07-05 19:21:06 +02:00
Michael Tänzer
118cf4383e Implement batch assurance.
Fixes bug 944

Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-07-05 18:54:19 +02:00
Michael Tänzer
5f8e018db5 Move flagsAction() functionality into the user model
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-06-30 21:48:35 +02:00
Michael Tänzer
bb3e4e892f Move assurer challenge action logic into model
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-06-28 20:11:03 +02:00
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
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
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
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
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
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
Renamed from manager/application/controllers/AddPointsController.php (Browse further)