sourcegraph/internal
Milan Freml 6e3abcef6a
Fix Account Security Page (#45901)
* Show account security by default for all users

* Add graphql resolver to get public external account data

* Cleanup graphql resolver & incorporate PR feedback

* Cleanup UI

* Incorporate feedback from Petri

* Extend Provider interface with ExternalAccountData function

This way each provider is responsible for extracting the account data
from JSON blob that we store in the user_external_accounts table.

* Get provider by service type only

* Add graphql resolver test

* Update enterprise/cmd/frontend/internal/auth/oauth/provider.go

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>

* Add docstrings to graphql schema

* Attempt to fix UI unit test for password page

* Support bitbucket as well

* PR feedback

* Remove obsolete test

* Fix weird graphql typescript errors after recent merge from main

* Fix typescript complaining about wrong types

* Add redirect from the old password url to account security page

* Fix ESLint complaining about import order

* Try to fix the failing puppeteer test

* Fix puppeteer test not going to the right path :(

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
2023-01-18 12:36:18 +01:00
..
actor event_logs: instrument SOAP-related event logs (#44325) 2022-11-17 21:57:14 +08:00
adminanalytics all: introduce redispool.KeyValue (#46425) 2023-01-18 11:30:20 +02:00
api email: do not send certain emails to unverified emails (#46184) 2023-01-10 19:08:53 +00:00
audit Audit log: make severity level configurable (#43109) 2022-10-19 10:42:36 +02:00
auth permissions-center: add user ID who triggered the perms sync. (#46601) 2023-01-18 11:07:12 +04:00
authz permissions-center: add user ID who triggered the perms sync. (#46601) 2023-01-18 11:07:12 +04:00
batches repo-updater: queue changeset syncs when the archived flag changes (#38702) 2022-07-14 12:17:53 -07:00
cloneurls webhooks: Handle Bitbucket Cloud push events (#45960) 2022-12-27 11:34:08 +04:00
cmd Use new alpine base image (#45937) 2022-12-22 19:57:05 +01:00
codeintel linters: re-enable nolintlint and staticcheck SA1019 (#45847) 2022-12-20 14:24:44 +00:00
comby Comby: use error pools to propagate errors from child goroutines (#46126) 2023-01-04 18:06:04 -07:00
conf email: do not send certain emails to unverified emails (#46184) 2023-01-10 19:08:53 +00:00
cookie adding originalReferrer, sessionReferrer, sessionFirstUrl to our events (#44749) 2022-12-05 16:46:42 -05:00
database permissions-center: add user ID who triggered the perms sync. (#46601) 2023-01-18 11:07:12 +04:00
debugserver debugserver: remove DB interface for debug dump (#38140) 2022-07-04 16:22:04 +08:00
deviceid
diskcache linters: re-enable nolintlint and staticcheck SA1019 (#45847) 2022-12-20 14:24:44 +00:00
download executors: Make setup simpler (#42026) 2022-10-05 15:32:30 +02:00
encryption database: add outbound webhook tables (#46007) 2023-01-17 16:08:40 -08:00
endpoint endpoint: allow empty Maps to disable Zoekt (#46280) 2023-01-11 10:32:58 +02:00
env allow duplicate env.Get registrations (#45871) 2022-12-21 06:10:57 +00:00
errcode batches: add read only external state (#38265) 2022-07-11 09:55:46 -07:00
eventlogger user-management: exclude non-active-user-events from "events_count" aggregation (#41322) 2022-09-07 11:21:05 +06:00
extsvc Fix Account Security Page (#45901) 2023-01-18 12:36:18 +01:00
featureflag all: introduce redispool.KeyValue (#46425) 2023-01-18 11:30:20 +02:00
fileutil Move vcs/util.FileInfo to fileutil (#38085) 2022-07-01 12:04:00 +00:00
gitserver gitserver: Clearer error message when repo can't be updated (#46419) 2023-01-13 17:42:21 +01:00
goroutine Create a dashboard for background jobs (#44901) 2023-01-17 13:27:51 +00:00
gosyntect gosyntect: IsTreesitterSupported can be a func, not a method (#45795) 2022-12-18 09:18:23 -08:00
gqltestutil [Org Members] Add pagination (#46067) 2023-01-17 12:25:22 +01:00
gqlutil Introduce internal/gqlutil package (#42951) 2022-10-13 18:11:21 +00:00
honey honey: prometheus counter around NewEvent calls (#45611) 2022-12-13 14:28:58 +02:00
hostname
httpcli httpcli: switch outbound request logger to FIFOList (#46576) 2023-01-18 10:08:10 +00:00
httpserver Revert "Revert "Revert "don't special-case dev mode for SRC_HTTP_ADDR default (#45139)""" (#45239) 2022-12-06 11:13:03 +01:00
httptestutil Revert "Revert "Log external requests (#44286)" (#44890)" aka reapply Log External Requests (#44893) 2022-11-29 14:15:55 +00:00
insights chore: Update go-mockgen (#44305) 2022-11-11 19:24:00 +00:00
instrumentation otel: add tailsamplingprocessor to collector build (#42444) 2022-10-18 10:23:21 +00:00
inventory Move vcs/util.FileInfo to fileutil (#38085) 2022-07-01 12:04:00 +00:00
jsonc remove easy-to-misuse jsonc.Normalize (#42037) 2022-09-26 11:21:21 +02:00
lazyregexp ranking: Add default ranking implementations (#42664) 2022-10-10 15:18:04 +00:00
logging logging: support level none in stdlog and log15 (#45261) 2022-12-07 06:45:48 +02:00
luasandbox observability: build+propagate hierarchical observation contexts for telemetry provenance (#42765) 2022-12-05 21:52:30 +00:00
mapfs mapfs: _Never use a temp directory again_ (#39155) 2022-07-20 11:32:43 -05:00
memo codeintel: Uniformly initialize services (#42602) 2022-10-06 07:51:18 -05:00
metrics all: introduce redispool.KeyValue (#46425) 2023-01-18 11:30:20 +02:00
mutablelimiter
oauthutil If a token refresh fails, return the original response and error (#45897) 2022-12-22 10:39:50 +02:00
observation linters: re-enable nolintlint and staticcheck SA1019 (#45847) 2022-12-20 14:24:44 +00:00
oobmigration insights: mark end of recording times oob migration (#45902) 2022-12-21 13:49:24 +00:00
otlpenv otlp: treat OTEL_EXPORTER_OTLP_ENDPOINT='' as OpenTelemetry being disabled (#41243) 2022-09-02 08:17:04 -07:00
own/codeowners FindOwners (#45993) 2022-12-30 10:32:26 -06:00
profiler trace, profiler, router: remove datadog (#37654) 2022-06-27 14:05:11 -07:00
pubsub
randstring
ratelimit ratelimit: remove special case for Cloud v1 (#44817) 2022-11-25 15:49:38 +01:00
rbac rbac: update database permissions on startup (#46053) 2023-01-05 17:39:03 +01:00
rcache all: introduce redispool.KeyValue (#46425) 2023-01-18 11:30:20 +02:00
redispool all: introduce redispool.KeyValue (#46425) 2023-01-18 11:30:20 +02:00
repos webhooks: Remove build worker (#46579) 2023-01-17 16:15:45 +01:00
repoupdater permissions-center: add user ID who triggered the perms sync. (#46601) 2023-01-18 11:07:12 +04:00
requestclient requestclient: propagate request client IP, add gitserver access logger (#38798) 2022-07-15 13:32:31 +02:00
resetonce
search Search: remove feature flag smart search A/B test (#46451) 2023-01-17 14:15:06 -08:00
security Add a module for interacting with GSM (#45661) 2022-12-16 20:50:33 +01:00
slack
src-cli batches: update src_cli constant (#46550) 2023-01-17 04:45:23 +01:00
src-prometheus prom-wrapper: remove direct Prometheus access, remove alerts endpoints (#46299) 2023-01-11 12:15:38 -08:00
symbols linters: re-enable nolintlint and staticcheck SA1019 (#45847) 2022-12-20 14:24:44 +00:00
syncx syncx: import code from sync.Once* proposal (#44653) 2022-12-08 19:17:17 +02:00
sysreq
temporarysettings
testutil testutil: remove Diff and FetchTar (#35297) 2022-05-11 13:57:20 +00:00
timeutil Allow to cancel running external service sync jobs (#41518) 2022-09-27 12:03:40 +02:00
trace linters: re-enable nolintlint and staticcheck SA1019 (#45847) 2022-12-20 14:24:44 +00:00
tracer lint: re-enable depguard in golangci-lint + fix all errors (#45270) 2022-12-06 18:16:04 +01:00
txemail email: do not send certain emails to unverified emails (#46184) 2023-01-10 19:08:53 +00:00
types database: add outbound webhook tables (#46007) 2023-01-17 16:08:40 -08:00
unpack unpack: optimize unpack.Tgz memory allocations (#44529) 2022-11-18 19:28:00 +00:00
uploadhandler linters: re-enable nolintlint and staticcheck SA1019 (#45847) 2022-12-20 14:24:44 +00:00
uploadstore goroutine: only use named & error-logging background goroutines (#45305) 2022-12-07 16:55:20 +00:00
usagestats all: introduce redispool.KeyValue (#46425) 2023-01-18 11:30:20 +02:00
users [Users Management] update sorting nulls last (#46002) 2023-01-02 13:13:05 +05:30
vcs gitserver: correctly join path to CloneFromShard (#42564) 2022-10-06 07:49:45 +02:00
version lint: re-enable depguard in golangci-lint + fix all errors (#45270) 2022-12-06 18:16:04 +01:00
webhooks/outbound frontend: add GraphQL schema and resolvers for outbound webhooks (#46013) 2023-01-17 17:48:02 -08:00
workerutil Create a dashboard for background jobs (#44901) 2023-01-17 13:27:51 +00:00