fleet/server
Jacob Shandling 3f32c870a6
Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455)
## Addresses #16615 and #18041

### #16615:
- Trim whitespace for backend filtered tables
- Trim whitespace in UI for Queries table search string
<img width="1271" alt="Screenshot 2024-03-06 at 11 46 56 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/b818591c-a977-4203-8adb-3a0d909fcfbb">
<img width="1271" alt="Screenshot 2024-03-06 at 11 47 21 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/3c95b992-31ed-4c12-9763-6f5fc7d78b1f">
<img width="1800" alt="Screenshot 2024-03-06 at 3 18 31 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/05c677a4-80e8-4f94-8abc-235cab4145b7">
<img width="1800" alt="Screenshot 2024-03-06 at 5 05 25 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/4a5529a4-dd5f-463c-97ae-6ceaaaff7f93">


_______________________
### #18041:
#### Global:
![Screenshot 2024-04-03 at 12 21
19 PM](https://github.com/fleetdm/fleet/assets/61553566/9a45a3a6-4136-4851-b887-bd176299d0c2)
 
#### Team:
![Screenshot 2024-04-03 at 12 56
36 PM](https://github.com/fleetdm/fleet/assets/61553566/793c70e7-384b-4705-a373-7e30a5188b03)

#### **Similar fix for `GET` ...`vulnerabilities`**


- [x] Changes file added for user-visible changes in `changes/`
- [x] Add integration tests for all affected endpoints
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-04-10 11:50:08 -07:00
..
authz For fleetctl gitops, when MDM configs are not explicitly defined in gitops yml file, they are now set to default values. (#17223) 2024-03-07 13:20:14 -06:00
bindata Allow users to be readded if they were ever removed (#1945) 2021-09-07 13:33:40 -03:00
config Added --server_frequent_cleanups_enabled (FLEET_SERVER_FREQUENT_CLEANUPS_ENABLED) flag (#17235) 2024-02-28 09:59:25 -06:00
contexts Merge branch 'main' into 15919-vulnerabilities-page 2024-02-22 16:27:15 -06:00
cron Calendar webhook will retry if it receives response 429 (#18067) 2024-04-05 12:44:56 -05:00
datastore Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00
errorstore Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
fleet Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00
goose Move external dependency goose to monorepo (#15859) 2024-01-02 17:52:00 -03:00
health Separate health checks for MySQL and Redis (#6468) 2022-07-01 08:08:03 -03:00
launcher Performance stats for live queries (#15440) 2023-12-13 14:46:59 -06:00
live_query Address multiple redis-related issues observed with live queries (#16855) 2024-02-27 19:35:27 -06:00
logging Move nanodep dependency in monorepo (#16984) 2024-02-26 10:26:00 -05:00
mail Dynamically set copyright year in email templates (#16092) 2024-01-15 15:28:49 -06:00
mdm Fix issues related to Fleet builtin labels and reserved MDM profile names (#18043) 2024-04-08 14:34:55 -05:00
mock Added error messages when scripts are disabled. (#18174) 2024-04-10 11:29:46 -05:00
policies Refactor webhooks cron to new schedule package (#7840) 2022-09-20 14:26:36 -05:00
ptr Add Description text to CVE Metadata (#13856) 2023-09-15 11:24:10 -06:00
pubsub Address multiple redis-related issues observed with live queries (#16855) 2024-02-27 19:35:27 -06:00
service Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00
sso chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
test Fix issues related to Fleet builtin labels and reserved MDM profile names (#18043) 2024-04-08 14:34:55 -05:00
version Move external dependency fleetdm/kolide-kit to monorepo (#15861) 2024-01-02 18:22:52 -03:00
vulnerabilities Updating vuln check support (#15174) 2024-04-10 10:04:50 -05:00
webhooks Calendar config updates -- policy table now has calendar_events_enabled (#17645) 2024-03-26 13:39:36 -05:00
websocket Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
worker Ignore pending DDM profiles when waiting to release a device (#18159) 2024-04-09 17:12:51 -05:00
utils.go fix: return bad request error during MDM migration when appropriate (#16551) 2024-03-06 15:38:44 -05:00
utils_test.go feature: target profiles by labels (#16202) 2024-01-26 11:00:58 -05:00