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
Himanshu Mishra
b16b096f58
TechDocs: Add etag to techdocs_metadata.json
2021-02-15 19:38:07 +01:00
github-actions[bot]
aa49ca2284
Version Packages
2021-02-11 10:15:47 +00:00
Himanshu Mishra
b73b0fe979
techdocs: don't swallow errors other than NotModifiedError
2021-02-10 12:21:14 +01:00
Himanshu Mishra
08142b2568
TechDocs: Add changesets for deprecation and proper caching
2021-02-10 11:02:40 +01:00
Himanshu Mishra
f8a4a30fb0
TechDocs: Update tests for proper url preparer caching
2021-02-10 11:02:40 +01:00
Himanshu Mishra
50fcdc48b4
TechDocs: Warn when using legacy git preparer and dir preparer in backstage.io/techdocs-ref
...
Context: https://github.com/backstage/backstage/issues/4409
2021-02-10 11:02:40 +01:00
Himanshu Mishra
057af3cac0
TechDocs: Implement etag based caching for git preparer
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-02-10 11:02:40 +01:00
Himanshu Mishra
97a9a7365f
TechDocs: Implement etag based caching for url preparer
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-02-10 11:02:38 +01:00
Himanshu Mishra
66944ec7bf
TechDocs: Preparers will take and return an etag for cache invalidation
2021-02-10 11:01:18 +01:00