1187 Commits

Author SHA1 Message Date
Christian Weichel
c94f7bad84 [server] Don't count ToS rejection to login metric 2021-07-21 10:41:25 +02:00
Christian Weichel
d63f0f4585 [bridge] Set stoppingTime when workspace is stopping
there's no need to include the time our workspaces take to stop into account
when computing workspace runtime (which is accounting relevant).
2021-07-20 11:31:24 +02:00
Alex Tugarev
556897d9ca [db/server] Link workspaces and projects
Co-authored-by: Jan Keromnes <janx@linux.com>
2021-07-20 10:42:24 +02:00
Christian Weichel
84cc8a176c [server] Support forcing default config
instead of having to use the .gitpod.yml
2021-07-19 16:01:23 +02:00
Christian Weichel
adc828c0eb [server] Surface gitpod.yml config errors 2021-07-19 16:01:23 +02:00
Cornelius A. Ludmann
4bb8d42f13 [server] Remove misleading log in AdditionalContentPrefixContextParser 2021-07-19 14:01:23 +02:00
Cornelius A. Ludmann
0d98e3603b [server] Fix GitLab testEmptyProject test
/werft no-preview
2021-07-19 13:59:23 +02:00
Cornelius A. Ludmann
ae57b04985 [server] Handle releases/tag/<tag> in GitHub context parser 2021-07-16 14:35:20 +02:00
Christian Weichel
42618d6c75 [server] Set owner token cookie HttpOnly and Secure 2021-07-16 08:18:53 +02:00
Christian Weichel
c8eb943822 [prow] Add OWNERS files 2021-07-15 11:29:47 +02:00
jakobhero
bafcdc57c7
[Analytics] Fixed wrong name in signup tracking (#4829) 2021-07-15 09:37:27 +01:00
Gero Posmyk-Leinemann
c93a9f09c2 [server] Fix timeouts for SAAS
After merging gitpod-com back into gitpod-io we forgot to cleanup workspace timeouts across different plans as that code conflicted with the Self-Hosted implementation
2021-07-15 09:56:57 +02:00
Gero Posmyk-Leinemann
bb5f229624 [server] Use HeadlessLogService to serve /headless-logs 2021-07-15 09:00:38 +02:00
Sven Efftinge
4f99741f17 [server] private repo access after cancellation 2021-07-14 15:33:02 +02:00
Alex Tugarev
e304354f22 [prebuilds] remove "addLabel"
Closes https://github.com/gitpod-io/gitpod/issues/3303
2021-07-14 07:55:36 +02:00
Alex Tugarev
9ffcfd487f Fix prebuilds for projects 2021-07-14 07:55:36 +02:00
Cornelius A. Ludmann
9a9858871f [server] Fix GitHub context parser spec
/werft no-preview
2021-07-13 16:25:47 +02:00
Cornelius A. Ludmann
92c30adf65 Revert "[server] support separate commit email"
This reverts commit e59e14df235c3d957bbd69ccf72b619109b04990.
2021-07-13 14:46:08 +02:00
Cornelius A. Ludmann
974ce0a2ee [server] Improve branch/tag API call in GitLab context parser
Try the conjunction of all segments as branch/tag name first before searching for parts of the branch/tag. That hopefully decreases the number of needed API calls.
2021-07-13 09:52:55 +02:00
Cornelius A. Ludmann
343b3c14bf [server] Improve logging / error messages of GitLab app and context parser 2021-07-13 09:52:55 +02:00
Cornelius A. Ludmann
a805386cd8 [admin] Fix adminRestoreSoftDeletedWorkspace 2021-07-13 09:50:37 +02:00
Gero Posmyk-Leinemann
ae85e93972 [server] /headless-logs/: Check ideUrl is not empty before using it 2021-07-09 15:12:31 +02:00
Gero Posmyk-Leinemann
b43510f5cf [server] /headless-logs/: Add fall-back handler for malformed requests paths 2021-07-09 15:12:31 +02:00
Gero Posmyk-Leinemann
810936927d [server] /headless-logs: Handle tasks without terminals
It turns out the tasks API of `supervisor` return `TaskStatus`s without existing terminals. We now check for this case and consider the workspace as "not ready yet" to make sure we present clients a coherent view.
2021-07-09 15:12:31 +02:00
Alex Tugarev
e9d562334c [server] enqueue team subsription updates 2021-07-09 14:47:51 +02:00
Gero Posmyk-Leinemann
120aa1d2e1 [server] Use TeamSubscriptionSlot.isActive 2021-07-09 14:47:51 +02:00
Jan Keromnes
0a9967801a [teams] Fix Team Plan seat de/reactivation logic 2021-07-09 14:47:51 +02:00
Christian Weichel
2a544ee67a [server] Fix HTTP endpoint metrics 2021-07-09 10:02:49 +02:00
Christian Weichel
53bc9e96e3 [server] Add trackEvent to support dashboard analytics 2021-07-09 10:02:02 +02:00
philschatz
e59e14df23 [server] support separate commit email 2021-07-08 17:21:51 +02:00
Leonardo Di Donato
318e8c6cb2 chore(components/server): convert hostURL to string directly
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2021-07-08 14:21:04 +02:00
Leo Di Donato
93bf0e9a9b fix(components/server): prefix match for redirect/return URLs
Signed-off-by: Leo Di Donato <leodidonato@gmail.com>
2021-07-08 14:21:04 +02:00
Leo Di Donato
1dc753a92d fix(components/server): ensure a sane redirect/returnTo query param
Signed-off-by: Leo Di Donato <leodidonato@gmail.com>
2021-07-08 14:21:04 +02:00
Cornelius A. Ludmann
53d161c1bd [server] Fix image config context path 2021-07-07 11:48:12 +02:00
Alex Tugarev
2546453ad5 Revert "downgrade ws dependency"
This reverts commit 01a8032be5fcbb00a678cf4c500d2eb302ef5553.
2021-07-07 08:03:54 +02:00
Alex Tugarev
01a8032be5 downgrade ws dependency 2021-07-06 19:44:26 +02:00
Christian Weichel
97b938150a [server] Force backup upon workspace restart 2021-07-06 09:01:50 +02:00
George Tsiolis
962890969b
[server] Update more GitLab integration settings URLs (#4705) 2021-07-05 16:14:12 +03:00
jakobhero
24c808696f
[analytics] Add Track Event for user deletion (#4647) 2021-06-29 09:46:22 +01:00
Gero Posmyk-Leinemann
1960888189 [dashboard, server] Use ContextURL.parseUrl 2021-06-28 16:45:04 +02:00
Gero Posmyk-Leinemann
1ead50ef98 [protocol] ContextURL.parse 2021-06-28 16:45:04 +02:00
Jan Keromnes
00622db04d [dashboard] Improve team members page
- Fix memberSince date
- Replace paths /{new,join}-team with /teams/{new,join}
- Implement minimal top menu layout for full-page forms (e.g. new team/project)
- Implement removing members & leaving teams
- Implement member search & role filter
- Implement changing team member roles
2021-06-25 21:46:47 +02:00
Christian Weichel
4183c0f5c1 [core-dev] Provide EE license to core-dev envs 2021-06-25 07:58:36 +02:00
Alex Tugarev
8552d9e67c Add New Project page and GH App installation 2021-06-23 15:36:22 +02:00
Gero Posmyk-Leinemann
5f01d9c1d9 [server] Introduce /headless-logs/... and Server.getHeadlessLog 2021-06-23 13:53:30 +02:00
Alex Tugarev
5db8573559 [server/auth] check for matching auth ID 2021-06-23 11:32:12 +02:00
Christian Weichel
9fd433290d [server] Support telepresence from Gitpod workspace 2021-06-22 14:55:48 +02:00
Cornelius A. Ludmann
caa322c871 Make port visibility private by default 2021-06-21 16:22:15 +02:00
Cornelius A. Ludmann
8676f742f9 [gitlab] Handle null in avatar_url 2021-06-18 12:43:47 +02:00
Cornelius A. Ludmann
6fb0f397d0 [server] Fix req route metrics 2021-06-18 11:45:44 +02:00