Commit Graph
1936 Commits
Author SHA1 Message Date
RachelElysia 2b9aa5ac7e Flash message x icon visible (#992)
Closes #991
2021-06-07 15:48:52 -04:00
RachelElysia 225500ad28 Empty query message (#989)
* Add link to standard query library
* Style and external link icon
2021-06-07 14:44:02 -04:00
RachelElysia 83acd4911a Fix hosts empty state styling (#990)
Closes #970
2021-06-07 14:07:21 -04:00
Zach Wasserman 255395135f Rename custom ACE editor (#983) 2021-06-06 19:32:18 -07:00
Zach Wasserman 50ecb0aa2a Change default database values in k8s yaml (#984) 2021-06-06 19:26:35 -07:00
Zach Wasserman a73c5fac38 Explicitly set base branch for markdown link check (#985) 2021-06-06 19:18:28 -07:00
Zach Wasserman d82560f7d6 Rename frontend icon component (#982) 2021-06-06 18:56:30 -07:00
Zach Wasserman 6013194c1d Reduce default session duration to 4 hours (#981) 2021-06-06 18:28:47 -07:00
Zach Wasserman 229a9afed2 Change name of localstorage auth token (#980) 2021-06-06 18:28:37 -07:00
Zach Wasserman 0356115b03 Remove JWT in Fleet session management (#979)
See #978 for motivations for this change.

Closes #978.
2021-06-06 18:10:58 -07:00
Zach Wasserman 7ff72f7ac1 Rename main frontend directory (#977) 2021-06-06 17:30:54 -07:00
Zach Wasserman db459d3363 Continue to update names in backend code and docs (#976) 2021-06-06 16:58:23 -07:00
Zach Wasserman fb32f0cf40 Remove kolide types and packages from backend (#974)
Generally renamed `kolide` -> `fleet`
2021-06-06 15:07:29 -07:00
Zach Wasserman fa01df79d5 Merge branch 'master' into teams 2021-06-05 06:27:38 -07:00
Zach Wasserman ae1f41638c Log subject/object/action with authz failures (#972) 2021-06-05 06:22:13 -07:00
Zach Wasserman 08d57b40d1 Remove deprecated kolide names from API routes and configuration (#957)
Closes #260
2021-06-04 16:51:18 -07:00
noahtalerman 0566fc57f3 Update action button styles on "Manage packs" page and "Manage queries" page (#960)
- Add `text-icon` variant to buttons on _Manage packs_ page
- Add `text-icon` variant to buttons on _Manage queries_ page
2021-06-04 18:03:32 -04:00
RachelElysia c68a89b1c3 Team maintainer can add host (#961) 2021-06-04 15:19:39 -04:00
RachelElysia e52e0747ad Query Edit/Run: Conditional select targets dropdown (#923)
* Modify targets endpoint to  use queryId
* Conditionally render query page including queryId
* Includes conditionally renders target dropdown

Co-authored by: Sarah Gillespie @gillespi314
Test mods co-authored by: Gabriel Hernandez @ghernandez345
2021-06-04 15:13:59 -04:00
Gabriel Hernandez f181d24698 enroll secret dropdown completion (#958)
* Add tier permissions for seeing the enroll secret dropdown.
* Hooks up API to show different team enroll secrets when selected from the dropdown.
2021-06-04 11:03:49 -07:00
RachelElysia e4c866cf7c Teams grouping in Select Targets Dropdown (#873)
* Renders targets by team
* Conditional rendering for no hosts available
* Update styling to match figma
2021-06-04 12:37:56 -04:00
RachelElysia af301be81c 403 Page, routing for tier permissions (#920)
* 403 page, svg, routing
* Reroute basic tier pages if no permission to access
2021-06-04 12:34:27 -04:00
Zach Wasserman 16a8e13f85 Fix tls_compatibility key in yaml config (#955)
Closes #271
2021-06-04 08:44:36 -07:00
Zach Wasserman ec2814d77f Remove deprecated config options (#954)
Closes #145
2021-06-04 08:40:25 -07:00
Martavis Parker cb2682c273 Remove detection for OS during contributor build (#922) (#933)
- No longer detecting for OS make commands
- Using the same internal commands for every OS
- go.sum auto-updated during build
- Document build process on Windows
2021-06-04 08:10:25 -07:00
Gabriel HernandezandMike Thomas f127f8c2cd add new permission routes and messaging (#915)
* add new permission routes and messaging

* add messaing for no permissions

* query-library-os-icons (#913)

Added query library os icons to website assets.

* fix broken check for config before api responds

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-06-04 14:00:14 +01:00
Mike McNeil 8b04c0c634 make example work from root dir of repo 2021-06-04 01:35:59 -05:00
Mike Thomas e3e3358aad website-add-os-logos (#951)
Added OS logos for use in the Fleet query library.
2021-06-04 12:54:05 +09:00
Zach Wasserman e4358a92bc Filter hosts and label counts by teams (#949)
- Add TeamFilter to relevant host and label methods.
- Pass appropriate filter in service methods.

The dashboard should now show the appropriate hosts for a user's team membership.
2021-06-03 18:53:43 -07:00
Zach Wasserman b3bafdce24 Return error messages for authentication errors (#950)
Previously the authorization middleware was masking the error when
authentication failed.
2021-06-03 18:24:23 -07:00
Mike McNeil f569064943 Update edit link for contributing (#948)
* Update query-library.ejs

* Update query-library.ejs
2021-06-03 19:44:36 -05:00
gillespi314 71f53e6f4e Query library improvements (#945)
* Add contributor avatars to query-detail page

* Add check for contributors; style elements

* Add GitHub avatars, style css, reorder page script

* Add os logos, adjust styles

* Add mobile styles, refactor scripts, prettier

* Update img paths, fix linting errors
2021-06-03 19:34:40 -05:00
Mike McNeil 2e679a9fcf Update README.md 2021-06-03 18:50:51 -05:00
Zach Wasserman 18faa5a06b Add authorization checks in service (#938)
- Add policy.rego file defining authorization policies.
- Add Go integrations to evaluate Rego policies (via OPA).
- Add middleware to ensure requests without authorization check are rejected (guard against programmer error).
- Add authorization checks to most service endpoints.
2021-06-03 16:24:15 -07:00
RachelElysia 1b131bd9db Packs page: action icons (#935)
* Render packs page new icons: Enable, disable, delete, search
2021-06-03 16:50:13 -04:00
noahtalerman 7fd439f812 Prepare for Fleet 3.13.0 (#944)
- Add to CHANGELOG
- Bump versioning
2021-06-03 14:07:33 -04:00
Zach Wasserman 6f51bd9cb5 Remove Redis read/write timeouts (#943)
If no results were sent over the pubsub channel, the client would hang
up. This would cause the query to seem "hung".

Closes #911
2021-06-03 10:49:25 -07:00
noahtalerman bf37cb975e Fix checkbox styles on master branch (#942)
- Update `Checkbox.jsx` and checkbox styles to align with changes on the `teams` branch 
- Edit checkbox styles in the `InviteUserForm` component
2021-06-03 13:46:35 -04:00
RachelElysia 875d6bb6ac Fix firefox icons (#931)
* Firefox compatible icons: plus, carat, x

Note: css property `content: url(imagefile);` only compatible with pseudo elements
2021-06-03 09:20:06 -04:00
WangXiang 06b2e564e6 Check whether the infra dependencies are ready before E2E test (#870)
Fixes #848
2021-06-02 16:56:44 -07:00
noahtalerman 567950d5f0 Fix frontend bug in which target picker rendered incorrectly on master branch (#934)
- Before the fix the "X" button to remove the target was floating in an odd place
- Edit to replicate new styles found in the teams branch
2021-06-02 18:04:52 -04:00
RachelElysia 0867c717cf Roles: only observers, only maintainers (#929)
* User roles render for only team observers and only team maintainers
2021-06-02 15:55:52 -04:00
RachelElysia 0f09c2e837 Render host status icons (#930) 2021-06-02 15:53:20 -04:00
Zach Wasserman 5c09f3e5e1 Make create_figma script executable (#927) 2021-06-02 11:49:57 -07:00
noahtalerman fa09131a5c Specify that Fleet does not support Redis Sentinel in Configuration docs (#925) 2021-06-02 12:34:51 -04:00
Zach Wasserman a40c549d95 Add -trimpath to go build flags for release (#909)
Provides cleaner error paths in release binaries.
2021-06-01 16:03:52 -07:00
noahtalerman 2dca66c33d Add Fleet Core and Fleet Basic user/team creation scripts for manual QA (#919)
- Add `teams/create_core` script
- Add `teams/create_basic` script
- Rename existing script to `teams/create_figma`
2021-06-01 14:50:07 -04:00
Mike ThomasandMike McNeil 35993ab13b Update README.md (#914)
* Update README.md

Added "How to export images" to website section.

* Update README.md

* Update README.md

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2021-06-01 11:50:13 -05:00
RachelElysia 9469cb0bf1 Packs pages: Edit page empty state rendering, Manage page update UI (#885)
* Packs: Update empty state, tables, select targets pills, platform pills, icons, phrasing
2021-06-01 09:10:35 -04:00
Mike Thomas c0644b10c0 query-library-os-icons (#913)
Added query library os icons to website assets.
2021-06-01 13:01:26 +09:00