Public bug reported: Constants should be save in database (the reason why is that we will have one code and that is driven by data) Right now [constans] are in few places in the code (2 or 3), there should be one place where contants are expanded and they should be in the table.
aiki_constants (id, name, value) username => $aiki->membership->username userid => $aiki->membership->userid the value should be API property API function (extensions should work too) or string. and admin interface should alow to change them, so user could create constant [foobar] that expand to $aiki->userClass->function(); (the reason why I want alow users to change default constants is because I think that everything should be changeable by users, and new constants can be usefull) backend code can be put right now are wait until new parser. Interface to set them in Admin Panel can be added when backed is implemented. ** Affects: aikiframework Importance: Medium Assignee: Jakub Jankiewicz (jcubic) Status: New ** Changed in: aikiframework Importance: Undecided => Medium ** Changed in: aikiframework Assignee: (unassigned) => Jakub Jankiewicz (jcubic) -- You received this bug notification because you are a member of Aiki Framework Developers, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/928344 Title: Constans should be pulled from database Status in Aiki Framework: New Bug description: Constants should be save in database (the reason why is that we will have one code and that is driven by data) Right now [constans] are in few places in the code (2 or 3), there should be one place where contants are expanded and they should be in the table. aiki_constants (id, name, value) username => $aiki->membership->username userid => $aiki->membership->userid the value should be API property API function (extensions should work too) or string. and admin interface should alow to change them, so user could create constant [foobar] that expand to $aiki->userClass->function(); (the reason why I want alow users to change default constants is because I think that everything should be changeable by users, and new constants can be usefull) backend code can be put right now are wait until new parser. Interface to set them in Admin Panel can be added when backed is implemented. To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/928344/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp