56 Commits

Author SHA1 Message Date
Alex Tugarev
4fd4f66667
Remove unused workspace port auth (#17870)
* remove unused worspace port auth

* fix
2023-06-13 14:27:03 +08:00
Milan Pavlik
03f8134046
[server] Use JWTs for Sign-in flow state WEB-365 (#17628)
* [server] Use JWTs for Sign-in flow state

* rerun

* fix

* fix

* fix

* fix

* fix

* fix

* Fix

* retest

* fix

* fix
2023-05-23 18:52:57 +08:00
Milan Pavlik
e77764216c
[server] Move prebuilds out of EE (#17354)
* [server] Move prebuilds out of EE

* fix
2023-04-25 15:22:46 +08:00
Milan Pavlik
6602594ee8
[server] Remove languages provider (#17279)
* [server] Remove languages provider

* fix
2023-04-19 00:01:51 +08:00
Alex Tugarev
a657f94767
[server] clean up auth provider (#17238)
removing dead code.
2023-04-17 23:56:49 +08:00
Milan Pavlik
8390cac7a4
[server] Fix file provider accept header (#16881) 2023-03-16 17:13:08 +01:00
Alex Tugarev
bdff903f18
[github prebuilds] Fix trigger for default branch (#16816)
A bug in GitHub context parser caused prebuilds to not being trigger for the default branch.
2023-03-13 09:57:48 +01:00
Milan Pavlik
e6fb5c9389
[server] Log github getFileCConent errors in debug (#16680) 2023-03-06 10:16:03 +01:00
Milan Pavlik
adc0f6e82d
[github] Improve log entries when retrieving github files (#16635) 2023-03-06 09:01:03 +01:00
Sven Efftinge
3af4edc46c [server] migrate individual usage to teams 2023-01-13 09:11:52 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Alex Tugarev
f28e996054 [server][github] fix file provider for self-managed GHE 2022-09-20 16:30:21 +02:00
Sven Efftinge
79b75ab4d5 Add phone verification 2022-08-29 09:36:13 +02:00
Gero Posmyk-Leinemann
aa3a2ba88f [server] Log hasReadAccess errors 2022-07-07 12:50:54 +05:30
Sven Efftinge
8bf152ba03 [dashboard] allow editing user information
fixes #10999
2022-07-05 12:18:52 +05:30
Alex Tugarev
79f2c21f6a [server] log less errors 2022-05-20 16:53:34 +05:30
Jan Keromnes
d1bb3bd096 [server] Paginate GitHub API request listing user repositories in New Project flow 2022-04-21 19:26:34 +05:30
Alex Tugarev
0f5f121372 [server] sanitize logging 2022-04-12 19:46:25 +05:30
Alex Tugarev
d7f1255dcd [bitbucket-server] add token validator 2022-04-08 18:21:22 +05:30
Milan Pavlik
45f13cf8e9 Format components/server with prettier 2022-03-14 21:30:24 +05:30
Gero Posmyk-Leinemann
057947d6c5 [server] Fix caching of GitHub requests by using proper key 2022-03-14 18:38:21 +05:30
Gero Posmyk-Leinemann
4dd9d0a167 [server] formatting commit 2022-03-14 18:38:21 +05:30
Sven Efftinge
cc2f3b30fe [multi-repo] Support prebuilds on multi-repo setup 2022-03-10 15:46:17 +05:30
Jan Keromnes
85dfa458c4 [server] Support Projects and Prebuilds with GitHub Enterprise repositories 2022-03-09 22:47:16 +05:30
Jan Keromnes
9d4c6f26b7 [server] Fix raw file URL for GitHub Enterprise 2022-03-09 22:47:16 +05:30
Gero Posmyk-Leinemann
a81c23ee50 [ts] Update network-facing libs like express (et al.), node-fetch, p-throttle 2022-02-21 22:34:01 +05:30
Gero Posmyk-Leinemann
92e8a6d767 [server] Explicitly set timeouts for all fetch() requests 2022-02-21 22:34:01 +05:30
Jan Keromnes
2d443923f2 [server] Restrict snapshot access based on repository access
Also refactor:
- Simplify GuardedSnapshot.workspace
- WorkspaceLogAccessGuard → RepositoryResourceGuard
- RepositoryService.canAccessHeadlessLogs → RepositoryProvider.hasReadAccess
2022-02-21 15:47:01 +05:30
Jan Keromnes
1cf235791a [server] Implement a RepositoryProvider.getUserRepos() method 2022-02-08 14:48:30 +01:00
Gero Posmyk-Leinemann
b7a0264f0f [server] GitHub API: ensure that we don't 2021-12-07 18:43:33 +01:00
Laurie T. Malau
de09b5f828 Include subgroups
Fixes #6068
2021-11-05 13:08:03 +01:00
Gero Posmyk-Leinemann
7abe78c917 [dev] Upgrade to node.js v16 and all major TS libs
This commit includes the following commits:
 - @iqqbot update dev image to nodejs v16lts
 - @iqqbot update dev-environment-image to use nodejs v16
 - @iqqbot update component to nodejs v16 lts
 - [licensor] Adjust to v16
 - [ts] Bump @types/node to ^16.11.0 accordingly
 - @aledbf Update typescript dependencies
 - @aledbf Update typescript configuration
 - @aledbf / @geropl Update typescript code
 - [server] Fix express/passport types
 - [db] typeorm upgrade 0.1.20 -> 0.2.22: fix compile and runtime issues
 - [db] typeorm upgrade 0.2.22 -> 0.2.38: fix compile and runtime issues
 - [dev] Upgrade amqplib and smaller libs
 - [dev] Upgrade uuid
 - [dev] Update probot
 - [dev] Final yarn.lock
2021-11-02 13:59:10 +01:00
Gero Posmyk-Leinemann
8edd462f8d [server] Make Env and Config comparable 2021-09-01 09:40:31 -03:00
Gero Posmyk-Leinemann
757a1594c6 [server] Introduce Config and use it everywhere 2021-09-01 09:40:31 -03:00
Alex Tugarev
27634f58c7 [prebuilds] speed up query for active branches
using a couple of graphql queries instead of many rest requests.

ordering by change date.

limiting to 30 items.
2021-08-02 09:50:01 +02:00
Alex Tugarev
79962b0d6e [projects] add contextURL for branches 2021-08-02 09:50:01 +02:00
Alex Tugarev
4b5694618e Add Prebuilds page 2021-07-26 16:23:30 +02:00
Cornelius A. Ludmann
ae57b04985 [server] Handle releases/tag/<tag> in GitHub context parser 2021-07-16 14:35:20 +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
philschatz
e59e14df23 [server] support separate commit email 2021-07-08 17:21:51 +02:00
Jan Koehnlein
84cf4a16fd
[git] improved logging in GitHub token verification (#4479)
see #4478
2021-06-11 13:22:56 +02:00
Autofix
e8762f258e Autofix: trailing-spaces 2021-06-09 12:52:57 +02:00
Alex Tugarev
7a7793c878 bump dependencies
[server/probot] update probot and other dependencies

fix authorized API calls for the GH App.
2021-06-08 09:45:10 +02:00
Jan Koehnlein
7fc6b5a972
[github] handle issue page context (#4370)
Fixes #3971
2021-06-03 10:39:31 +02:00
Cornelius A. Ludmann
42ee644f98 [github-auth-provider] Prefer pass list email over primary email 2021-06-01 11:27:04 +02:00
Jan Keromnes
862e3a27b6 Implement incremental prebuilds 2021-05-21 15:53:06 +02:00
Jan Keromnes
3dbb0507ef [server] Improve error message when trying to open a PR with deleted branch
Fixes #4 #321 #802 #1375 #3659 gitpod-com/gitpod#1722 gitpod-com/gitpod#2244
2021-04-12 17:16:10 +02:00
Autofix
af51739d34 Autofix: trailing-spaces 2021-04-12 08:29:10 +02:00
Anton Kosyakov
653de5b4de [github] remove read:user from default scopes 2021-04-07 10:35:42 +02:00