action #1271
closedRearrange webUI code to make it work with Mojolicious
Description
The first step of the port of webUI to Mojolicious should be simply rearranging the code to fit into the Mojolicious organization and template system. Changing only the things that are really needed and improving the current url schema (routes). No new features, only the enhancements needed to fit in Mojo.
Checklist
- Initial port of jobs list
- Polishing the list of jobs (cwh)
- Footer, header, etc. (cwh)
- Front page ()
- viewaudio -> step#view (cwh)
- viewsrc -> step#src (ancor)
- Main view of results of a finished job
- NeedleDiff
- View of a running test (ancor)
- Schedule ()
- re-enable cycling in table in result.html.ep ()
- improve the format of stepid in routes (ancor)
- breadcrumbs (ancor)
- uploadlog ()
- diskimage ()
- buildview (ancor)
- nodetails template (ancor)
- Needle editor
- testresults
- rpc
- jsonrpc
Updated by ancorgs almost 11 years ago
- Status changed from New to In Progress
mojo branch already created in the repository with some initial working code. Syncing with Christopher and researching some REST plugins for Mojo that would be nice to package and use.
Updated by ancorgs almost 11 years ago
80% of the tests list (formerly known as currentresults) is ported. Only half of the template is missing. I would like cwh to finish it so he get used to the "translation" process while I focus on structuring the remaining routes.
Updated by ancorgs almost 11 years ago
- % Done changed from 0 to 20
80% of test result view (formerly known as resultdetails) is ported. Most relevant routes already defined (not yet implemented, but at least we have a guide for future steps).
Updated by ancorgs almost 11 years ago
All needed routes already defined in WebQA.pm (hopefully). According to it, 21 routes should be migrated. The first 2 are mostly done. A long road ahead.
Updated by ancorgs almost 11 years ago
- % Done changed from 20 to 40
5 of the most difficult routes are already implemented (from a total of 21). It's already possible to load the list of results and to inspect one (needle editor not working yet).
Updated by ancorgs almost 11 years ago
If you already have a working webUI (old version) in your repository. Using the new one is deadly simple
sudo zypper in perl-Mojolicious
git checkout mojo
cd web_qa
morbo script/web_qa
firefox "http://localhost:3000"
That should be all.
Updated by ancorgs almost 11 years ago
- Checklist item changed from to [x] Initial port of jobs list, [ ] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [ ] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor)
Updated by ancorgs almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [ ] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [ ] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor) to [x] Initial port of jobs list, [ ] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [ ] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [ ] nodetails template (ancor)
Updated by ancorgs almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [ ] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [ ] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [ ] nodetails template (ancor) to [x] Initial port of jobs list, [ ] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [ ] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [ ] nodetails template (ancor), [ ] Needle editor
Updated by cwh almost 11 years ago
- Checklist item changed from to [x] Polishing the list of jobs (cwh)
Updated by ancorgs almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [ ] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [ ] nodetails template (ancor), [ ] Needle editor to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [x] nodetails template (ancor), [ ] Needle editor
One step closer to the new webUI: viewsrc already ported.
Updated by ancorgs almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [x] nodetails template (ancor), [ ] Needle editor to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor
Needle editor is finally available in the new webUI, but the save button is still not working (that part SCREAM for rewriting, I cannot simply copy it).
Updated by ancorgs almost 11 years ago
Fixes in two routes: test_img (bug when copying the code) and image_file (wrongly commented during rebase).
Updated by ancorgs almost 11 years ago
The needle editor is fully functional: save button implemented.
Updated by lnussel almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [ ] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [ ] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor
implemented uploadlog. We lack a way to check for the remote ip. It's not $self->tx->remote_address as apache uses proxy mode so remote is always 127.0.0.1
Updated by ancorgs almost 11 years ago
Migrating the live view. Still a WIP because I lost hours setting again the workers, iso_new, etc. (a lot of debugging).
Updated by lnussel almost 11 years ago
- Checklist item changed from to [x] Schedule ()
Updated by cwh almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [x] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (cwh), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [x] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor
Updated by lnussel almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (cwh), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [x] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (cwh), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [x] Schedule (), [ ] rpc and jsonroc (), [ ] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [ ] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults
Updated by lnussel almost 11 years ago
- Checklist item changed from to [x] buildview (ancor)
Updated by lnussel almost 11 years ago
- Checklist item changed from to [x] re-enable cycling in table in result.html.ep ()
Updated by lnussel almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (cwh), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [x] Schedule (), [ ] rpc and jsonroc (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [ ] Footer, header, etc. (cwh), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [ ] rpc, [x] jsonrpc
Updated by cwh almost 11 years ago
- Checklist item changed from to [x] Footer, header, etc. (cwh)
Updated by ancorgs almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [ ] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [ ] rpc, [x] jsonrpc to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [x] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [ ] rpc, [x] jsonrpc
Implemented the live view in the new webUI using Mojolicious features for streaming (sweet!).
Updated by ancorgs almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [x] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [ ] rpc, [x] jsonrpc to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [ ] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [x] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [ ] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [x] rpc, [x] jsonrpc
- % Done changed from 40 to 80
All the buttons in the 'live view' work now, including the rpc-based and the needle editor.
Updated by cwh almost 11 years ago
- Checklist item changed from to [x] Front page ()
Updated by lnussel almost 11 years ago
- Checklist item changed from to [x] diskimage ()
Updated by ancorgs almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [x] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [x] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [ ] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [x] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [x] rpc, [x] jsonrpc to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [x] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [x] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [x] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [x] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [x] rpc, [x] jsonrpc
Implemented breadcrumbs (in a very simple way, after losing some time with experiments). Polished page titles, layout, etc. We are almost there.
Updated by cwh almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [x] Front page (), [ ] viewaudio -> step#view (), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [x] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [x] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [x] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [x] rpc, [x] jsonrpc to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [x] Front page (), [ ] viewaudio -> step#view (cwh), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [x] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [ ] improve the format of stepid in routes (ancor), [x] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [x] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [x] rpc, [x] jsonrpc
Updated by ancorgs almost 11 years ago
- Checklist item changed from to [x] viewaudio -> step#view (cwh)
Updated by ancorgs almost 11 years ago
- Checklist item changed from to [x] improve the format of stepid in routes (ancor)
Updated by ancorgs almost 11 years ago
- Checklist item changed from [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [x] Front page (), [x] viewaudio -> step#view (cwh), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [x] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [x] improve the format of stepid in routes (ancor), [x] breadcrumbs (ancor), [ ] Caching (both server and client side) in the File controller (), [x] uploadlog (), [x] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [x] rpc, [x] jsonrpc to [x] Initial port of jobs list, [x] Polishing the list of jobs (cwh), [x] Footer, header, etc. (cwh), [x] Front page (), [x] viewaudio -> step#view (cwh), [x] viewsrc -> step#src (ancor), [x] Main view of results of a finished job, [x] NeedleDiff, [x] View of a running test (ancor), [x] Schedule (), [x] re-enable cycling in table in result.html.ep (), [x] improve the format of stepid in routes (ancor), [x] breadcrumbs (ancor), [x] uploadlog (), [x] diskimage (), [x] buildview (ancor), [x] nodetails template (ancor), [x] Needle editor, [x] testresults, [x] rpc, [x] jsonrpc
Added viewaudio + a lot of polishing in urls, navigation, etc. The whole functionality is there. Habemus Mojo-webUI. Closing the issue (nevertheless more monkey testing would be highly appreciated).
Updated by ancorgs almost 11 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100