John Cowen
1f8960d74b
ui: Fix dark borders on certain visualizations ( #11959 )
2022-01-07 16:15:22 +00:00
Chris S. Kim
08af4f7ffc
Fix Windows logging to files ( #11960 )
2022-01-06 16:07:09 -05:00
Blake Covarrubias
4bd92921f4
api: Return 404 when deregistering a non-existent check ( #11950 )
...
Update the `/agent/check/deregister/` API endpoint to return a 404
HTTP response code when an attempt is made to de-register a check ID
that does not exist on the agent.
This brings the behavior of /agent/check/deregister/ in line with the
behavior of /agent/service/deregister/ which was changed in #10632 to
similarly return a 404 when de-registering non-existent services.
Fixes #5821
2022-01-06 12:38:37 -08:00
Dhia Ayachi
1eac39ae9c
clone the service under lock to avoid a data race ( #11940 )
...
* clone the service under lock to avoid a data race
* add change log
* create a struct and copy the pointer to mutate it to avoid a data race
* fix failing test
* revert added space
* add comments, to clarify the data race.
2022-01-06 14:33:06 -05:00
Dhia Ayachi
d0274d38a9
upgrade raft to v1.3.3 ( #11958 )
...
* upgrade raft to v1.3.3
* add change log
* reword the changelog
Co-authored-by: FFMMM <FFMMM@users.noreply.github.com>
Co-authored-by: FFMMM <FFMMM@users.noreply.github.com>
2022-01-06 14:09:13 -05:00
Daniel Nephin
065f6f89fb
Merge pull request #11918 from hashicorp/dnephin/tob-followup
...
Fix a few small bugs
2022-01-05 18:50:48 -05:00
Daniel Nephin
9c8e7981d9
changelog
2022-01-05 17:51:03 -05:00
Dhia Ayachi
e653f81919
reset coalesceTimer
to nil as soon as the event is consumed ( #11924 )
...
* reset `coalesceTimer` to nil as soon as the event is consumed
* add change log
* refactor to add relevant test.
* fix linter
* Apply suggestions from code review
Co-authored-by: Freddy <freddygv@users.noreply.github.com>
* remove non needed check
Co-authored-by: Freddy <freddygv@users.noreply.github.com>
2022-01-05 12:17:47 -05:00
Jared Kirschner
99ee07d2d1
Merge pull request #10894 from jkirschner-hashicorp/clarify-debug-msg-if-name-used-when-id-needed
...
Clarify service and health check not found error messages
2022-01-04 16:14:49 -05:00
Blake Covarrubias
e898cf1d41
cli: Show node identities in acl token list output ( #11926 )
...
Fix the pretty CLI output of `consul acl token list` so that it
properly displays node identities that are associated with a token.
2022-01-04 12:44:43 -08:00
Jared Kirschner
b393c90ce7
Clarify service and check error messages (use ID)
...
Error messages related to service and check operations previously included
the following substrings:
- service %q
- check %q
From this error message, it isn't clear that the expected field is the ID for
the entity, not the name. For example, if the user has a service named test,
the error message would read 'Unknown service "test"'. This is misleading -
a service with that *name* does exist, but not with that *ID*.
The substrings above have been modified to make it clear that ID is needed,
not name:
- service with ID %q
- check with ID %q
2022-01-04 11:42:37 -08:00
Jared Kirschner
a36ddc31c7
Merge pull request #11335 from littlestar642/url-encoded-args
...
URL-encode/decode resource names for HTTP API
2022-01-04 14:00:14 -05:00
John Cowen
f8b336b9a0
ui: Fix URL params decoding ( #11931 )
...
* ui: Move wildcard param decoding to routlet service
2022-01-04 16:08:06 +00:00
John Cowen
72e5d7e1d4
ui: Ensure disconnect error doesn't appear w/auth change on some pages ( #11905 )
2022-01-04 14:55:32 +00:00
Jared Kirschner
e0ddb9e4c5
Merge pull request #11820 from hashicorp/improve-ui-disabled-api-response
...
http: improve UI not enabled response message
2022-01-03 12:00:01 -05:00
littlestar642
634c72d22f
add path escape and unescape to path params
2022-01-03 08:18:32 -08:00
Daniel Nephin
1eb3178468
Merge pull request #11781 from marco-m/private-key-0600-permission
...
cli: consul tls: create private keys with mode 0600
2021-12-21 17:29:14 -05:00
Daniel Nephin
1624aa20de
Add changelog
2021-12-21 16:45:45 -05:00
John Cowen
3949acbc1d
ui: Remove any route level auth checks ( #11891 )
2021-12-21 07:51:52 +00:00
John Cowen
2f6ae96ccd
ui: Fixup names of Meta for instance search, also add Node ( #11774 )
2021-12-21 07:00:02 +00:00
John Cowen
2c1eb052e3
ui: Various empty state improvements/fixups ( #11892 )
...
* ui: Add login button to per service intentions for zero results
* Add login button and consistent header for when you have zero nodes
* `services` doesn't exists use `items` consequently:
Previous to this fix we would not show a more tailored message for when
you empty result set was due to a user search rather than an empty
result set straight from the backend
* Fix `error` > `@error` in ErrorState plus code formatting and more docs
* Changelog
2021-12-21 06:49:18 +00:00
John Cowen
ba70fe5e55
ui: Fix up missing policy delete warning modal ( #11868 )
...
Fixes an issue where the policy detail page delete button would disappear when clicking rather than showing a modal confirmation
2021-12-21 06:40:55 +00:00
Freddy
1052f4bb1a
Merge pull request #11855 from hashicorp/eculver/fix-changelog
2021-12-15 10:21:42 -07:00
Evan Culver
e5f68d567f
Move changelog entry to match this PR
2021-12-15 09:16:43 -08:00
Evan Culver
8d52178764
Remove compressed changelog entries
2021-12-15 09:14:25 -08:00
kisunji
63946e5849
Update golang.org/x/net to address CVE-2021-44716
2021-12-15 11:58:48 -05:00
John Cowen
20cc028ac0
ui: Fixes an issue with the version footer when scrolling ( #11850 )
2021-12-15 13:55:31 +00:00
freddygv
bae0ccbe7f
Add changelog entry
2021-12-13 19:03:12 -07:00
R.B. Boyer
81ea8129d7
proxycfg: ensure all of the watches are canceled if they are cancelable ( #11824 )
2021-12-13 15:56:17 -06:00
Jared Kirschner
f81dd817ff
Merge pull request #11818 from hashicorp/improve-url-not-found-response
...
http: improve 404 Not Found response message
2021-12-13 16:08:50 -05:00
Jared Kirschner
2de79abc00
http: improve 404 Not Found response message
...
When a URL path is not found, return a non-empty message with the 404 status
code to help the user understand what went wrong. If the URL path was not
prefixed with '/v1/', suggest that may be the cause of the problem (which is a
common mistake).
2021-12-13 11:03:25 -08:00
Jared Kirschner
34ea9ae8c9
http: improve UI not enabled response message
...
Response now clearly indicates:
- the UI is disabled
- how to enable the UI
2021-12-13 08:48:33 -08:00
John Cowen
11ab84f840
ui: Add version information back into the footer ( #11803 )
2021-12-13 15:54:58 +00:00
John Cowen
2ba0e86d6d
ui: Disable setting wildcard partitions for intentions ( #11804 )
2021-12-13 15:42:10 +00:00
John Cowen
79b25901d7
ui: Change the URL prefix of partitions from -
to _
( #11801 )
2021-12-13 15:39:56 +00:00
John Cowen
be23aab001
ui: Ensure we show a special readonly page for intentions ( #11767 )
2021-12-13 15:02:36 +00:00
Chris S. Kim
8bdbe7c0fb
Update CI and release go versions to 1.17.5 ( #11799 )
2021-12-10 14:04:56 -05:00
Evan Culver
a0c754d44f
connect: update SNI label extraction to support new taxonomy for partitions ( #11786 )
2021-12-10 10:26:22 -08:00
John Cowen
4400d7c071
ui: Change partitions to expect []
from the API ( #11791 )
2021-12-10 14:41:08 +00:00
FFMMM
74eb257b1c
[sync ent] increase segment max limit to 4*64, make configurable ( #1424 ) ( #11795 )
...
* commit b6eb27563e747a78b7647d2b5da405e46364cc46
Author: FFMMM <FFMMM@users.noreply.github.com>
Date: Thu Dec 9 13:53:44 2021 -0800
increase segment max limit to 4*64, make configurable (#1424 )
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
* fix: rename ent changelog file
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2021-12-09 15:36:11 -08:00
R.B. Boyer
7b915456fd
update changelog for ent feature ( #11794 )
2021-12-09 16:44:14 -06:00
haxandmat
d013ded88d
Improved performance of the version.GetHumanVersion function by 50% on memory allocation. ( #11507 )
...
Co-authored-by: Evan Culver <eculver@hashicorp.com>
2021-12-09 13:14:06 -08:00
John Cowen
c410d295be
ui: Amends to Routing visualization for partitions ( #11747 )
...
* Update disco fixtures now we have partitions
* Add virtual-admin-6 fixture with partition 'redirects' and failovers
* Properly cope with extra partition segment for splitters and resolvers
* Make 'redirects' and failovers look/act consistently
* Fixup some unit tests
2021-12-09 10:47:58 +00:00
R.B. Boyer
5f5720837b
acl: ensure that the agent recovery token is properly partitioned ( #11782 )
2021-12-08 17:11:55 -06:00
Evan Culver
7a365fa0da
rpc: Unset partition before forwarding to remote datacenter ( #11758 )
2021-12-08 11:02:14 -08:00
Daniel Nephin
dccd3f5806
Merge remote-tracking branch 'origin/main' into serve-panic-recovery
2021-12-07 16:30:41 -05:00
Dan Upton
3a91815169
agent/token: rename agent_master
to agent_recovery
(internally) ( #11744 )
2021-12-07 12:12:47 +00:00
freddygv
b629b8f656
Add changelog entry
2021-12-06 12:35:11 -07:00
R.B. Boyer
b1605639fc
light refactors to support making partitions and serf-based wan federation are mutually exclusive ( #11755 )
2021-12-06 13:18:02 -06:00
John Cowen
77412fd2e0
ui: Stop tables overlapping with their headers when scrolling ( #11670 )
2021-12-06 16:09:15 +00:00