Commit Graph

2320 Commits

Author SHA1 Message Date
Patrik Oldsberg 86e5c629de Merge pull request #2665 from spotify/rugvip/reading
backend-common: add new common UrlReader to use for reading remote data
2020-10-05 11:23:29 +02:00
Stefan Ålund 39035dc220 feat: tweak styling of missing annotation (#2743)
* feat: tweak styling of missing annotation

* Fix prettier

* Fix typo
2020-10-05 10:40:12 +02:00
samiramkr 1518741f67 Using EmptyState in Github Actions Plugin (#2680)
* display EmptyState when no CI/CD is avialable

* change padding and title size

* add EmptyState to gitHubActionPlugin

* fix test failing

* add MissingAnnotationEmptyState

* add MissingAnnotationEmptyState to storybook

* add highlightedNumbers feature to Codesnippet

* use the new component in github actions and update README

* remove entity from MissingAnnotationEmptyState

* remove proptypes from Codesnippet

Co-authored-by: Samira Mokaram <samiram@spotify.com>
2020-10-04 16:23:53 +02:00
Patrik Oldsberg 2527afac9e backend-common: refactor UrlReaders to only expose static methods 2020-10-03 16:52:31 +02:00
Patrik Oldsberg e6a6f2f264 backend-common: refactor reader types 2020-10-03 16:39:36 +02:00
Patrik Oldsberg e6ac72b59e backend-common: we support reading from more than just gitlab.com 2020-10-03 16:19:07 +02:00
Patrik Oldsberg d3265666af backend-common: refactor GitlabUrlReader test and restore raw url functionality 2020-10-03 16:18:31 +02:00
Patrik Oldsberg 02eafc7091 backend-common: refactor BitbucketUrlReader test and exported symbols 2020-10-03 15:10:34 +02:00
Patrik Oldsberg 77c42b3fd3 backend-common: refactor AzureUrlReader to test public methods using msw 2020-10-03 15:06:55 +02:00
Patrik Oldsberg 69b3c03473 backend-common: added toString methods for all readers + log in backend instead of at creation 2020-10-03 11:55:24 +02:00
Patrik Oldsberg 3289598526 backend-common: remove UrlReaderHostMux 2020-10-03 11:55:23 +02:00
Patrik Oldsberg 238715aac2 config,docs: switch to using url location type 2020-10-03 11:55:23 +02:00
Patrik Oldsberg b971534dfb backend-common: added FetchUrlReader and use as fallback by default 2020-10-03 11:55:23 +02:00
Patrik Oldsberg 327f87562d backend: add UrlReader 2020-10-03 11:55:22 +02:00
Patrik Oldsberg 07d19aad96 backend-common: fix GithubUrlReader tests 2020-10-03 11:55:22 +02:00
Patrik Oldsberg 1e97419d30 backend-common: merge GitlabReaderProcessor functionality into GitlabUrlReader 2020-10-03 11:55:22 +02:00
Patrik Oldsberg f50a233a4f backend-common: port GitlabUrlReader 2020-10-03 11:55:21 +02:00
Patrik Oldsberg ce32eb3c69 backend-common: port AzureUrlReader 2020-10-03 11:55:21 +02:00
Patrik Oldsberg 4cdac4624e backend-common: port BitbucketUrlReader 2020-10-03 11:55:21 +02:00
Patrik Oldsberg 683181837b catalog-backend: move over remaining to-be UrlReaders 2020-10-03 11:55:21 +02:00
Patrik Oldsberg 41d55e8d76 backend-common: refactor UrlReaders and factories to be centered around predicates 2020-10-03 11:55:20 +02:00
Patrik Oldsberg 0fbe965b43 backend-common: add UrlReaderPredicateMux 2020-10-03 11:55:20 +02:00
Patrik Oldsberg 44c8816db5 backend-common: add UrlReaders for constructing a reader from config 2020-10-03 11:55:20 +02:00
Patrik Oldsberg b461b367d7 backend-common: port GithubUrlReader 2020-10-03 11:55:19 +02:00
Patrik Oldsberg 8a3e63e590 catalog-backend: move GithubReaderProcessor to backend-common readers 2020-10-03 11:55:19 +02:00
Patrik Oldsberg 1473523c88 backend-common: add UrlReaderHostMux 2020-10-03 11:55:18 +02:00
Patrik Oldsberg bb553ed284 backend-common: add UrlReader interface 2020-10-03 11:55:18 +02:00
Tim Hansen acd6da220a Tweak subtle text colors in dark mode 2020-10-02 14:24:21 -06:00
Patrik Oldsberg 3af33eb045 Merge pull request #2704 from spotify/rugvip/files
cli: add new rollup plugin for forwarding file imports
2020-10-02 18:27:38 +02:00
Evgeny Vlasov e0dce26354 TechDocs: add gitlab preparer & rewrite default-branch package (#2469)
* add gitlab preparer & rewrite default-branch package

* feat(techdocs-backend): rewrite default-branch module
2020-10-02 11:10:02 +02:00
Mayursinh Sarvaiya 5c6a0356c0 feat: TechDocs - Add vale linter to check words quality in md files. (#2631)
* fix(docs): typos which were reflacted from vale linter's command

* feat: Implement Vale linter (#2031)
Initialize .vale.ini file
Add 'lint:docs' script to package.json, to lint all md files except the ones which are located in node_modules
Generate 'vocab.txt' by using command 'yarn run lint:docs' | grep -o ''[a-z A-Z]*'' | grep -o '[a-z A-Z]*' | sort | uniq > .github/styles/vocab.txt
Add steps to github workflow 'master' to check docs quality

* chore: Separate workflow for quality checking

* chore: Added 'shx' dev dependency to support grep command in cross platform

* feat: Add script to operate same quality check process on different platform

* ignore: remove lint:docs from lint-stages which was added for experiment purpose

* fix: check-all-files on push event & check-changed-files on pull_request event

* chore(CI): triggle workflow only when there is any updates in .md file(s) on pull request

* fix: use spawnSync to solve 'The command line is too long.' error

* fix: github workflow syntax

* fix: prettier error

* chore: add vale command directly to lint-staged

* chore: use shebang for easy access

* fix: windows script issue & remove shebang

* chore: Add shebang flag

* chore: better error message related to vale

* chore: mention vale linter in documentation

* fix: spelling errors & add keywords to vocab.txt
2020-10-02 07:20:47 +02:00
Patrik Oldsberg 978c98403f cli: added tests for forward-file-imports rollup plugin 2020-10-02 01:02:43 +02:00
Patrik Oldsberg cba7605ce0 cli: add new rollup plugin for forwarding file imports 2020-10-01 20:03:25 +02:00
Fredrik Adelöw 23befa262e Merge pull request #2674 from lowjoel/postgres-create-database
Auto-create plugin databases
2020-10-01 11:17:11 +02:00
Joel Low 3f2ec3c080 Let the Backend manage creating databases 2020-10-01 13:21:44 +08:00
dependabot[bot] c541d61b4f chore(deps): bump rollup-plugin-typescript2 from 0.26.0 to 0.27.3
Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.26.0 to 0.27.3.
- [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases)
- [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.26.0...0.27.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 04:36:54 +00:00
Joel Low a9276c78c1 Remove role creation logic 2020-10-01 10:39:37 +08:00
Althaf Hameez a06a13c30d Read from App Config to configure HomepageTimer (#2673)
* Read from Config for timezone timers

* Remove recusrive dependency on backstage/core and fix tsc errors

* Modify to use ConfigArray instead of fixed Config

* Fix lint and tsc errors

* Cean up app-config.yaml

* add back newline

* Fix prettier error on app-config.yaml

* Address review comments
2020-09-30 20:47:06 +02:00
Ben Lambert c76a3a0639 Merge pull request #2678 from SDA-SE/feat/gauge-storybook
Add GaugeProgress to storybook
2020-09-30 15:49:08 +02:00
Fredrik Adelöw dc6b1e7c79 Merge pull request #2669 from spotify/freben/github-org
feat(catalog-backend): implement github org entity ingestion
2020-09-30 15:08:24 +02:00
Dominik Henneke 7c80f2f8dd Add GaugeProgress to storybook 2020-09-30 15:04:09 +02:00
Fredrik Adelöw 7ec6dc7f30 chore: address comments 2020-09-30 14:32:23 +02:00
Joel Low b28c98a597 Create separate roles and auto-create plugin databases
This would create a role per plugin (with a predictable pattern) before
creating a database owned by that role. This removes the need to
manually provision databases and users.
2020-09-30 18:24:20 +08:00
James Wen 225744754f Rename googleAuth variable in GitlabAuth tests to gitlabAuth (#2666) 2020-09-30 08:55:05 +02:00
Fredrik Adelöw c6ba9cba49 feat(catalog-backend): implement github org entity ingestion 2020-09-30 07:33:49 +02:00
samiramkr e4d677a4f7 Merge pull request #2661 from spotify/samiram/fix-banner-pos
fix banner component position
2020-09-29 14:40:08 +02:00
samiramkr 2f593e3d0d Merge pull request #2657 from spotify/samiram/add-emptyState
create EmptyState component
2020-09-29 14:39:57 +02:00
Fredrik Adelöw 7a2b9e065f Merge pull request #2625 from andrewthauer/feat/codeowners-processor
feat(catalog-backend): add codeowners processor
2020-09-29 14:32:46 +02:00
Samira Mokaram ea1cfdff51 resolve comments 2020-09-29 14:10:03 +02:00
Andrew Thauer 1f21de7b43 feat(catalog): add codeowners processor 2020-09-29 07:35:05 -04:00