summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/ui
AgeCommit message (Collapse)AuthorFilesLines
2017-10-31remove components out side of 3rd_partySerenaFeng18-0/+2336
components are implemented by TestAPI team, they are not the third party code, put them under opnfv_testapi/ui directory Change-Id: Ia0f5e2afe4bcb12bcb74d3a8d78fb28fe1432bec Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-27divide resources into handlers and modelsSerenaFeng5-102/+0
divide resources into handlers&models put ui handlers into handlers directory put User into user_models.py Change-Id: I3d9e260097205213c3ea8d4eac08b9019e017f71 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-10-20allow authentication to be disabledSerenaFeng1-4/+11
in local deployment situation, authentication can be disabled by setting authenticate=False of ui section in config.ini JIRA: RELENG-324 Change-Id: I9157d1723851feb12435033dbdd59035e3eb5777 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-06hide cas ticket from web portalSerenaFeng2-11/+46
In the previous implementation, when login the url will shown as: http://localhost:8000/?ticket=ST-5WzYs6SD2A#/ this patch aims to hide the ticket mechanism. 1) add /api/v1/auth/signin_return to process login verify 2) refactor code, leverage SignBaseHanlder() to manage casclient Change-Id: I62e23eb69ee52304c30753e861b4f0a4e0d45541 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-04bugfix: leverage data_files to stop hacking setup.pySerenaFeng1-1/+1
1) leverage data_files to distribute ui related files, and dispatch them under /usr/local/share/opnfv_testapi 2) delete hacking coding, no more extra processes 3) utilize MANIFEST.in to include 3rd_party when producing a source distribution Change-Id: Idb83a02be11f6b24610191e9f85e0db80d92e972 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-08-31leverage LFID as AuthenticationSerenaFeng5-143/+39
delete openid authentication add LFID authentication Change-Id: Iead144b5130bce51448024e65092fdea3bb2f07a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-21separate db methods from handler.pySerenaFeng2-7/+5
db methods are mingled in handler, which is not well structured Change-Id: I639679d3fc05a0b6528158186b8bf89e0cd10596 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-20decouple the mutual-dependence of config.py and server.pySerenaFeng2-4/+4
Currently server.py relies on CONF while starting the service, and config.py's config_fie is set in server.py, which is wrongly bi-depended this patch aims to let Config parse the sys.argv personally, just as oslo.config do, so that decouple the mutual-dependency Change-Id: I46887d122a98d478caebe9eeb7ab038941ce1f6b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-20role based access control and result uploadgrakiss3-9/+24
1. add role for user 2. user can upload test results Change-Id: I1c5370be7818edb0394f05e8b81f975deb98b286 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-05-20support cancel operation while signing inSerenaFeng1-0/+9
support the cancel operation in the https://openstackid.org/accounts/user/consent Change-Id: I06a1f130a3115774f2e88fc25dad522a7cf53e36 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-19add signout funcationalitySerenaFeng2-0/+14
Change-Id: Ie101f07f0eb406eee4e1c7daa14b07aaaf554904 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-18support showing user's specified contents after signinSerenaFeng3-9/+53
Change-Id: Ia8897860757a2395873ff6972a508c38d7139854 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-18add signin web to TestAPISerenaFeng6-0/+84
Change-Id: I4d39a8561c8ebd3238a495e5799fd43fb1a508b9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>