Jussi Hallila
e9e56b01ac
Add possibility to use path style discovery on S3 tech docs. Enables the possibility to support S3-like buckets that rely on path style API like Localstack.
...
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2021-04-29 10:54:42 +02:00
github-actions[bot]
70be53c939
Version Packages
2021-04-15 15:40:08 +02:00
Oliver Sand
cba5944fcd
Change the response status of metadata endpoints in case a documentation is not available to 404 NOT FOUND
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-04-07 16:55:39 +02:00
dependabot[bot]
66ed65899f
chore(deps-dev): bump supertest from 4.0.2 to 6.1.3
...
Bumps [supertest](https://github.com/visionmedia/supertest ) from 4.0.2 to 6.1.3.
- [Release notes](https://github.com/visionmedia/supertest/releases )
- [Commits](https://github.com/visionmedia/supertest/compare/v4.0.2...v6.1.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-29 04:38:27 +00:00
github-actions[bot]
844da89090
Version Packages
2021-03-25 17:46:13 +00:00
Chongyang Adrian, Ke
aaeb7ecf3c
TechDocs: show outdated docs and asnyc build new
...
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com >
2021-03-25 10:26:11 +08:00
Oliver Sand
21cc2f9216
Different workaround for prettier issue with markdown files
...
Follow up for #5073
Instead of disabling prettier completely, I would prefer to disable it for the lines that actual cause issues.
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-03-24 19:28:32 +01:00
Oliver Sand
1b42444587
Fix indentions of admonitions ( #5073 )
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-03-23 21:29:31 +01:00
dependabot[bot]
d42f055d48
chore(deps): bump express-promise-router from 3.0.3 to 4.1.0
...
Bumps [express-promise-router](https://github.com/express-promise-router/express-promise-router ) from 3.0.3 to 4.1.0.
- [Release notes](https://github.com/express-promise-router/express-promise-router/releases )
- [Changelog](https://github.com/express-promise-router/express-promise-router/blob/trunk/CHANGELOG.md )
- [Commits](https://github.com/express-promise-router/express-promise-router/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2021-03-23 04:26:33 +00:00
github-actions[bot]
718eea4f08
Version Packages
2021-03-18 12:31:44 +00:00
Adam Harvey
9b3a205303
PIP8 alignment
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-17 11:23:08 -04:00
Adam Harvey
2ef9ac9d83
Change wording for spelling alignment
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-16 22:58:47 -04:00
Adam Harvey
8efa047a6b
Wrap lines
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-16 22:50:12 -04:00
Adam Harvey
74e0e12e41
Update text
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-16 22:48:59 -04:00
Adam Harvey
70d96002ac
Update example documentation
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-16 22:38:33 -04:00
Himanshu Mishra
e7baa0d2ed
TechDocs: Separate backend and frontend config schema declarations
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-16 15:48:46 +01:00
Himanshu Mishra
8fdb4d8e00
techdocs: backend responds with an error if publisher type is not supported
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-12 11:40:12 +01:00
Himanshu Mishra
75941ca364
techdocs: techdocs_metadata.json could be missing, ignore the error
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-12 11:30:00 +01:00
Himanshu Mishra
11242ac41e
Apply suggestions from code review
...
Co-authored-by: Adam Harvey <adam.harvey@dxc.com >
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-12 08:55:17 +01:00
Himanshu Mishra
784d39894a
techdocs: Replace res.send with res.json
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-12 01:32:59 +01:00
Himanshu Mishra
cf1b10f651
techdocs: When builder is set to local
...
1. Do not check for updates if a check has been done in last 60 seconds
2. Use stored etag from techdocs_metadata.json instead of in-memory storage
3. Enable re-building docs when in a mix of basic and recommended setup i.e. local builder with external storage
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-12 01:11:08 +01:00
Emma Indal
c8b54c3702
TechDocs Homepage ( #4401 )
...
* add tabs to homepage
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* add new overview content component
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* add new owned content component
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* add types
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* add test for owned content component
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* add test for overview content
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* document name to link and change copy to clipboard link
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* add changeset
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* rename changeset file
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* fix types
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* move home components out from reader dir to its own dir
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* Update plugins/techdocs/src/reader/components/OverviewContent.tsx
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net >
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* enable search in table
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* add docs icon to core icons
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* add example TechDocs support button config
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* use isOwnerOff and useOwnUser to see documents that are owned via group membership
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* update tests
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* cleanup imports
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* leave techdocs support config out of this PR
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* prettieeeeeer
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* copy paste useOwnUser hook over to techdocs plugin
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* add changeset
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
* delete unused package
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-03-11 19:23:32 +01:00
Fredrik Adelöw
8686eb38cf
Introduce the @backstage/errors package.
...
Encode thrown errors in the backend as a JSON payload using a facility in that package, and render helpful frontend displays of those errors.
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-11 14:31:21 +01:00
github-actions[bot]
0e120c5c66
Version Packages
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-11 13:45:44 +01:00
Fredrik Adelöw
702b837b8b
Remove all dot-folder imports everywhere
...
We aren't supposed to import from '.' or '../..' etc; point to the actual node being imported instead. I did allow e.g. '../../bigfolder' however. Going all the way to the individual file could be done too, but is a matter of taste perhaps.
Also ran Organize Imports on all the touched files :)
No changeset since there are no functional changes at all - only the imports changed
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-10 13:43:59 +01:00
dependabot[bot]
7616988312
chore(deps): bump knex from 0.21.18 to 0.95.1
...
Bumps [knex](https://github.com/knex/knex ) from 0.21.18 to 0.95.1.
- [Release notes](https://github.com/knex/knex/releases )
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/knex/knex/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-03-08 10:26:45 +01:00
Himanshu Mishra
ea3d406038
Merge pull request #4714 from erdoganoksuz/feature/OpenStackSwiftPublisher
2021-03-05 07:57:36 +00:00
Adam Harvey
56b21fda18
Merge pull request #4818 from adamdmharvey/refactor-techdocs-logging
...
chore(techdocs-common, techdocs-backend): Refactor TechDocs logging
2021-03-04 19:23:00 -05:00
Adam Harvey
a9d7c123fb
Wording tweaks
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-04 18:53:39 -05:00
Adam Harvey
2daa65a18b
Change wording
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-04 18:51:57 -05:00
Adam Harvey
c149b14009
Fix typo
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-04 18:51:34 -05:00
Adam Harvey
02d78290a5
Enhance example documented-component
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-04 16:05:17 -05:00
Adam Harvey
26e23b2c7d
Refactor logging
...
Signed-off-by: Adam Harvey <adam.harvey@dxc.com >
2021-03-04 14:23:01 -05:00
github-actions[bot]
ff2ab4fade
Version Packages
2021-03-04 13:11:10 +00:00
erdoganoksuz
e0bccb16a2
versions for changeset
...
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com >
2021-03-03 11:46:30 +03:00
erdoganoksuz
cebda81000
documentation added
...
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com >
2021-03-03 11:46:23 +03:00
erdoganoksuz
e36ef00fd0
router case added and hasDocsBeenGenerated fixed
...
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com >
2021-03-03 11:46:12 +03:00
erdoganoksuz
de313a1c94
swift publisher
...
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com >
2021-03-03 11:46:02 +03:00
Patrik Oldsberg
ae30b916df
Merge pull request #4731 from erikxiv/fix/techdocs-static-url
...
Techdocs static docs should use external url
2021-03-01 19:26:25 +01:00
Patrik Oldsberg
570d310c90
Merge pull request #4621 from nhidtran/enhancement/4423
...
Enhancement/4423: remove the usage of res.send() for res.json()
2021-03-01 17:54:09 +01:00
Erik Larsson
74534a0f8c
Move auth token to contrib
2021-03-01 12:29:59 +01:00
Erik Larsson
f18b51d932
set and use access-token cookie
2021-03-01 12:29:59 +01:00
Erik Larsson
e937c1b4f0
fix: use external url for static docs
2021-02-28 23:34:21 +01:00
github-actions[bot]
4ae0467c2f
Version Packages
2021-02-23 10:31:40 +01:00
NHI TRAN
ac67aab5dd
PR updates
...
PR updates
fix failing test
2021-02-22 10:23:26 -05:00
NHI TRAN
e6fe13c675
upstream master
2021-02-21 13:21:37 -05:00
NHI TRAN
f43192207a
enhancement: 4423 switch sending back data from server to res.json() instead of res.send()
...
changeset
2021-02-19 17:05:14 -05:00
Fredrik Adelöw
dedee41f57
Merge pull request #4572 from backstage/freben/attr
...
got rid of some attr and cleaned up a bit in techdocs schema
2021-02-19 10:10:04 +01:00
github-actions[bot]
4188c2ccb4
Version Packages
2021-02-18 13:23:19 +00:00
Fredrik Adelöw
f37992797a
got rid of some attr and cleaned up a bit in techdocs schema
2021-02-18 11:15:18 +01:00