Jamie Tanna
89be048657
refactor: use GlobalConfig for productLinks ( #44098 )
...
As a follow-up to e1e5c398e0 , we can make
sure that we remove references to hardcoded docs site URLs, by wiring in
the `GlobalConfig.get(...)` call.
To do this, we need to make sure that `productLinks` exists to be called
by `GlobalConfig.get`.
Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io >
2026-06-19 10:34:03 +00:00
Jamie Tanna
e1e5c398e0
chore: ensure we use productLinks for docs site links where possible ( #44066 )
...
* chore: ensure we use `productLinks` for docs site links where possible
Where possible, we should be making sure that we're using the
`productLinks`' configuration for the documentation site, especially
where self-hosted users may create a mirror of their docs[0].
To make sure we catch this in the future, we can introduce a custom
linting rule with Oxlint to enforce this.
Where we (currently) can't wire in the config, we can disable it against
that line.
[0]: https://www.jvt.me/posts/2024/11/19/renovate-private-docs/
Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io >
* fixup! chore: ensure we use `productLinks` for docs site links where possible
Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io >
* fixup! chore: ensure we use `productLinks` for docs site links where possible
Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io >
---------
Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io >
2026-06-18 08:55:27 +00:00
Sergei Zharinov
930cf6633c
refactor: Rewrite imports with .ts extensions ( #40700 )
...
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Michael Kriese
0785d0b8bc
test: add coverage (part2) ( #40643 )
2026-01-23 20:57:46 +00:00
Michael Kriese
c641239c19
fix: use stricter types for renovate config ( #39594 )
...
* fix: use stricter types for renovate config
* fix: revert changes
* Apply suggestions from code review
2025-11-28 13:16:27 +00:00
RahulGautamSingh
76f911041a
refactor: use named exports ( #39196 )
...
* use named exports
* fix test
* add missing imnport
* fix prettier
2025-11-10 12:00:35 +00:00
Michael Kriese
6de0097dc8
feat: replace kbpgp with bcpgp ( #39032 )
...
Replace kbpgp with our own bouncy castle bassed pgp lib.
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com >
2025-11-06 10:16:45 +00:00
Michael Kriese
f1eefcf393
fix!: drop legacy rsa encryption ( #39111 )
2025-11-06 08:07:40 +00:00
RahulGautamSingh
49fa1be464
feat(util): getEnv ( #35161 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-05-06 18:37:28 +00:00
Rhys Arkins
e7a4162169
refactor(config): set and delete keys early ( #35679 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-05-02 08:15:56 +00:00
Michael Kriese
b5ff90f2bd
fix: improve coverage ( #34667 )
2025-03-06 17:05:19 +00:00
Nabeel Saabna
a39108a8d3
fix(lib/config/decrypt): support azure collection matching ( #34215 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2025-03-03 11:44:35 +00:00
Rhys Arkins
6359be24af
refactor: log encrypted path ( #34549 )
2025-02-28 10:56:17 +00:00
Michael Kriese
bb5377b3d8
test: fix code coverage ( #34495 )
2025-02-26 12:40:30 +00:00
Nabeel Saabna
3e37021587
refactor(lib/config/decrypt): reduce indentation ( #34201 )
...
Co-authored-by: nabeelsaabna <nabeel.saabna@mend.io >
2025-02-13 08:46:55 +00:00
RahulGautamSingh
a67c45f9d6
fix(config): encrypted field validation ( #33382 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2025-01-06 18:55:03 +00:00
Rhys Arkins
44c83b0901
feat: raise error when encrypted + no privateKey ( #33085 )
2024-12-13 11:31:15 +00:00
RahulGautamSingh
2194c226b4
fix(config): set npmToken in npmrc when not in encrypted ( #31815 )
2024-11-08 08:15:53 +00:00
Philip
19655269e1
feat(warnings): add encryptedWarning text parameter ( #29120 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
2024-05-27 12:43:15 +00:00
Michael Kriese
452ade3d77
feat(config/encrypt): replace pgp library ( #28312 )
2024-04-22 13:57:19 +02:00
Michael Kriese
96f9ad5ff0
refactor(config): split decryption functions ( #28571 )
2024-04-22 08:22:45 +00:00
Rhys Arkins
ae1d892a3e
feat(config): log warning if using legacy encryption ( #28557 )
2024-04-21 13:56:01 +00:00
Michael Kriese
53b5d91ffd
refactor(config): extract validateDecryptedValue for modern encryption ( #27417 )
2024-02-19 12:12:02 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Sergei Zharinov
6c8c469ca0
refactor(schema): Use Json helper schema instead of JSON.parse ( #23997 )
2023-08-21 15:29:41 +00:00
Sergei Zharinov
11c05fc837
refactor: Default values for GlobalConfig.get ( #22967 )
2023-06-25 19:34:42 +00:00
Jamie Magee
176282e65f
chore: use node: protocol imports ( #21181 )
2023-03-28 21:05:36 +00:00
Rhys Arkins
cec2e14a64
feat(config): multi-org secrets decrypt ( #21147 )
2023-03-25 09:14:33 +00:00
Jamie Magee
8b23f0ba57
refactor: safely parse decrypted config ( #20879 )
2023-03-12 05:52:19 +00:00
Michael Kriese
5723be1ac5
refactor: add strict null checks ( #14169 )
2022-02-11 11:02:30 +01:00
Rhys Arkins
0bad22b254
chore: rename sanitize functions for better searchability ( #13826 )
2022-01-26 10:57:21 +01:00
RahulGautamSingh
4f65b57225
refactor: refactor static regex out of for loops ( #13065 )
2021-12-29 07:26:13 +01:00
Maksim
06d8c27043
refactor: global config ( #12743 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2021-11-23 21:10:45 +01:00
Rhys Arkins
36e8a3ec9b
fix(config): compare scopes lowercase ( #12740 )
2021-11-18 18:32:44 +01:00
Rhys Arkins
b7dec718f3
chore: re-enable eslint no-template-curly-in-string
2021-11-09 07:50:25 +01:00
HonkingGoose
ab018191fa
chore: report and fix unused ESLint disable directives ( #12548 )
2021-11-08 20:20:03 +01:00
RahulGautamSingh
4b16903ff1
fix: modified regex to use RE2 ( #12025 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2021-10-19 14:53:34 +02:00
Rhys Arkins
1fe1eef90e
fix(config): better decrypt errors ( #11777 )
2021-09-16 13:05:11 +00:00
Rhys Arkins
ee29fdcaf1
feat(config): scoped secrets using pgp/gpg ( #11673 )
2021-09-16 10:11:13 +00:00
Rhys Arkins
cdc083f40f
feat(config): privateKeyOld ( #11653 )
2021-09-10 12:47:33 +02:00
Rhys Arkins
9150854d75
chore: rename config/admin -> config/global
2021-08-17 07:57:45 +02:00
Rhys Arkins
bf69924b78
refactor: rename config admin functions to global
2021-08-17 07:57:45 +02:00
Rhys Arkins
bca8931d53
fix(npm): datasource improvements ( #9178 )
2021-03-17 14:40:50 +01:00
Michael Kriese
74d7691bef
refactor: optimize type usage ( #8947 )
2021-03-02 21:44:55 +01:00
Rhys Arkins
c80165dd11
fix: move privateKey to admin config
2021-02-05 17:53:50 +01:00
renovate[bot]
9f6c193557
build(deps): update dependency @sindresorhus/is to v3.1.0 ( #6867 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2020-07-30 06:54:20 +02:00
Rhys Arkins
08de7aff5d
fix(npm): replace all instances of $NPM_TOKEN in npmrc ( #6431 )
2020-06-04 14:03:20 +02:00
Michael Kriese
2515a89dab
fix(logging): sanitize known token ( #5917 )
2020-05-16 12:35:41 +02:00
Rhys Arkins
53ca91301f
chore: import linting ( #6105 )
2020-05-01 18:03:48 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 ( #5952 )
...
* chore(deps): update dependency prettier to v2
* Run prettier-fix
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Jamie Magee <jamie.magee@gmail.com >
2020-04-12 18:09:36 +02:00