Commit Graph

128 Commits

Author SHA1 Message Date
Simone Gotti 6996917ff2 run/task: show live timer 2019-05-27 10:38:05 +02:00
Simone Gotti bcc00a3543 runs: use local error alert and not global alert
In this way it'll continuw polling the backend and restore when the error
condition ends.
2019-05-23 23:37:52 +02:00
Simone Gotti a5bd93ead4 fetch: return exception message
instead of returning the exception object
2019-05-23 23:37:11 +02:00
Simone Gotti 806bb45260 update dependencies 2019-05-23 16:22:17 +02:00
Simone Gotti 972da7d7d3 user: move user settings to navbar user dropdown 2019-05-23 14:09:08 +02:00
Simone Gotti 05b338c9bc add agola build config 2019-05-22 17:09:57 +02:00
Simone Gotti 453299f5c7 task: add missing properties to rundetails 2019-05-21 18:11:02 +02:00
Simone Gotti fd24f02780 run: unify run status and classes logic 2019-05-21 18:05:34 +02:00
Simone Gotti 26d5247846 createproject: improve remote repos selection
Use a select to choose the remote source and fetch remote repos only for that
remote source
2019-05-21 17:43:15 +02:00
Simone Gotti 5b13083861 *: move settings to dropdown menu
and show them in the tab bar only when active
2019-05-21 14:55:43 +02:00
Simone Gotti 2891b62b6c *: move to tailwind css
I really like it!

TODO: Extract more components
2019-05-21 12:13:21 +02:00
Simone Gotti e47c3b977c register: move api to data/auth.js and handle errors 2019-05-21 11:06:38 +02:00
Simone Gotti 6d0899681c projectsettings: add update project repo linked account 2019-05-19 17:34:53 +02:00
Simone Gotti 449096c0a3 logs: handle line feed and always use streaming
remove the use of http server sent events, just use the streaming api

handle line feeds by rewriting the current line. This isn't perfect since it
won't handle subtle cases where the colors are change between lines but will
work in all standard cases

Now commands that writes a progess will work correctly without adding a new line
every time and users will see the progress in realtime.
2019-05-19 14:17:12 +02:00
Simone Gotti da8e3b9b5c up log stream 2019-05-18 14:13:16 +02:00
Simone Gotti 5aa383f23a usersettings: add new linked account setup 2019-05-17 23:45:20 +02:00
Simone Gotti 4862c6103e update runs.vue to be consistent with other components for user runs
Don't use the "username" property but just the ownername when projectref is
undefined like all the other components already do.
2019-05-17 17:28:11 +02:00
Simone Gotti a3918d9672 rundetail: show new restarted run 2019-05-17 17:22:11 +02:00
Simone Gotti 3232d6db45 *: add click away detection for dropdowns 2019-05-17 17:00:46 +02:00
Simone Gotti e25510e026 auth: update api auth endpoints 2019-05-16 10:04:33 +02:00
Simone Gotti 969cdb5182 createproject: keep only remote source with related linked account 2019-05-16 00:35:11 +02:00
Simone Gotti f85243acfe rundetail: handle api errors 2019-05-15 14:59:52 +02:00
Simone Gotti 336869fe73 rundetail: set run phase to cancelled on cancelRun call 2019-05-15 14:55:00 +02:00
Simone Gotti 0a47d7ecf7 rundetail: disable stop button if already stopping 2019-05-15 14:50:08 +02:00
Simone Gotti b10a7f18e1 rundetails: add run cancel button 2019-05-15 14:44:35 +02:00
Simone Gotti 74cd268431 router: handle /run path
/run will accept two query parameters: projectref and runid and generate the
final run path. This is useful for calls from commit statuses target_url so we
don't have to provide a web api path the could change in the future.
2019-05-15 11:21:18 +02:00
Simone Gotti dfd16f99b8 projectgroupsettings: implement update project group 2019-05-14 18:05:17 +02:00
Simone Gotti b45e0014cc *: show root project group settings 2019-05-14 15:47:35 +02:00
Simone Gotti 7e4346001d projbreadcrumbs: remove unused method 2019-05-14 15:43:28 +02:00
Simone Gotti 4a7baaab02 project(group)create: add private checkbox 2019-05-14 14:24:40 +02:00
Simone Gotti 5d6f6b8290 runs: add fetch more button and related logic 2019-05-14 14:04:36 +02:00
Simone Gotti 7f90c73650 org: add basic org members display 2019-05-14 13:18:09 +02:00
Simone Gotti 8bce9328ab collapse: open/close only when clicking on header 2019-05-14 10:46:52 +02:00
Simone Gotti e783958100 createprojectgroup: add loading indicator and enabled to button 2019-05-14 00:19:58 +02:00
Simone Gotti b3c22f8429 createproject: add loading indicator and enabled to button 2019-05-13 23:48:44 +02:00
Simone Gotti 923219ca65 *: implement new organization
Add dropdown in the main navbar with an option to create a new organization.
Implement new organization component and related route
2019-05-13 23:44:02 +02:00
Simone Gotti fbf3d7da88 navbar: make user drop down open on click 2019-05-13 23:27:53 +02:00
Simone Gotti d8fddd5392 usersettings: use panels to split different parts 2019-05-13 18:06:47 +02:00
Simone Gotti 68da08e94d usersettings: implement show and delete linked accounts 2019-05-13 17:59:23 +02:00
Simone Gotti 789d0f5fcd *: handle api errors
* Use a global error when fetching data
* Use a local error message when calling a mutating api
2019-05-13 16:29:47 +02:00
Simone Gotti 98073502e2 projectsettings: implement update project
add option to update project name and visibility
2019-05-13 17:17:02 +02:00
Simone Gotti 7eb6c2c961 projectvars: improve visualization 2019-05-13 16:30:51 +02:00
Simone Gotti df161a788a remoterepos: improve visualization using a panel 2019-05-13 16:25:43 +02:00
Simone Gotti 01a4aba4fa projectgroupsettings: use panels to split different parts 2019-05-13 17:03:27 +02:00
Simone Gotti e1596abb67 projectsettings: use panels to split different part 2019-05-13 17:09:01 +02:00
Simone Gotti 667809a926 projectgroupsettings: add delete project group 2019-05-11 15:12:10 +02:00
Simone Gotti 314814c332 projectsettings: add delete project 2019-05-11 14:30:16 +02:00
Simone Gotti 6660db7a81 log: read logs stream 2019-05-10 19:52:46 +02:00
Simone Gotti 07f5b69e9b rundetail: make dropdown open on click
and not on hover
2019-05-08 17:12:56 +02:00
Simone Gotti 85406fad77 *: implement create project and project group 2019-05-06 17:58:18 +02:00