Commit Graph

34 Commits

Author SHA1 Message Date
Simone Gotti
4af98fb75b Redirect to previous url after login 2019-09-26 10:23:21 +02:00
Simone Gotti
c20fdcfbfb projects: fix missing variable 2019-09-23 10:17:58 +02:00
Simone Gotti
32bd112516 *: abort async fetch on component destroy
* Use AbortController to signal fetch to stop when component is destroyed
* Remove polling and just schedule a new fetch at the end of the current one
when not aborted.
2019-09-20 10:46:26 +02:00
Simone Gotti
eb2453d46f use v-click-outside-x instead of v-click-outside
looks like v-click-outside doesn't work on mobile (tested with chrome and
firefox on android) since the dropdown menu is closed also when clicking a menu
entry.
2019-07-14 14:59:41 +02:00
Simone Gotti
9187efc9c9 user/project: show run/task tabelement only when loaded 2019-07-13 00:22:56 +02:00
Simone Gotti
aad3358498 user: load run on component creation 2019-07-13 00:21:53 +02:00
Simone Gotti
c3950fbdd6 project: don't change "Runs" tab element on hover 2019-07-13 00:21:53 +02:00
Simone Gotti
7c80b875f8 register/login: show only remotesources with register/login enabled 2019-07-05 13:49:16 +02:00
Simone Gotti
43e860d3c5 auth/data: avoid setting global errors when receiving a 401
If we do a router.push to the login view the previous component will receive
anyway the error and set the global error after the login view is mounted (!!!)
and so the main app will show the global error instead of the login view.

Not sure how to avoid this. As a really ugly workaround just return an empty
response on 401 so the components (since they are currently assumong the
response is always define) will throw an exception and not set the global error.
2019-07-05 13:41:43 +02:00
Simone Gotti
fbed07059e *: rename user local run to user direct run 2019-06-11 12:06:06 +02:00
Simone Gotti
ae520b1d0c register: remove unneeded div 2019-06-07 11:06:44 +02:00
Simone Gotti
972da7d7d3 user: move user settings to navbar user dropdown 2019-05-23 14:09:08 +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
5aa383f23a usersettings: add new linked account setup 2019-05-17 23:45:20 +02:00
Simone Gotti
b45e0014cc *: show root project group settings 2019-05-14 15:47:35 +02:00
Simone Gotti
7f90c73650 org: add basic org members display 2019-05-14 13:18:09 +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
85406fad77 *: implement create project and project group 2019-05-06 17:58:18 +02:00
Simone Gotti
e1ccccac71 org: add organization settings 2019-05-07 00:31:44 +02:00
Simone Gotti
b16dd420e6 Shrink breadcrumbs and print primary name 2019-05-07 00:27:44 +02:00
Simone Gotti
fb3509fc9d login: use fetchRemoteSources 2019-05-06 17:57:52 +02:00
Simone Gotti
62c7881f2f *: add tabs icons 2019-05-06 13:43:15 +02:00
Simone Gotti
4d0d4eb32c Initial user settings
and user token creation
2019-04-03 17:51:41 +02:00
Simone Gotti
62ff8321f1 fix some lint errors 2019-04-02 18:27:28 +02:00
Simone Gotti
19fdb1d08f initial implementation of projectgroups
and related tree based navigation
2019-04-02 18:08:03 +02:00
Simone Gotti
8c62e10c42 org: use the same logic as user 2019-03-30 13:15:43 +01:00
Simone Gotti
6e8cd885aa user: do like project on route changes 2019-03-29 18:21:57 +01:00
Simone Gotti
ef5a9c4994 Add user registration 2019-03-29 18:08:54 +01:00
Simone Gotti
6f7b0a0e16 project: show last branches, tags, PRs runs 2019-03-27 15:41:29 +01:00
Simone Gotti
395f8454a0 Initial display of project settings
Show project variables
2019-03-22 08:39:03 +01:00
Simone Gotti
b9fb3d6860 update for new api 2019-03-20 13:51:00 +01:00
Simone Gotti
b780e148cc Initial commit 2018-12-09 14:21:20 +01:00