Commit Graph

4025 Commits

Author SHA1 Message Date
Martin Angers
f28dc10a51
Merge jira-integration branch to main (#4949) 2022-04-05 12:56:15 -04:00
github-actions[bot]
536e828f43
Update Orbit CA certs [automated] (#4856)
Generated automatically with curl mk-ca-bundle.pl script.

Co-authored-by: zwass <zwass@users.noreply.github.com>
2022-04-05 13:34:58 -03:00
Martin Angers
90b15071a4
Introduce API version 2022-04, deprecate use of /global in paths (#4731) 2022-04-05 11:35:53 -04:00
Lucas Manuel Rodriguez
57816592ba
Add read replica testing helpers and fix non-sso login bug (#4908)
not set on the INSERT.
- OUT: Only sets the ID on the passed session and returns it. (`CreatedAt`, `AccessedAt`, are not set.)

New version:

```go
func (ds *Datastore) NewSession(ctx context.Context, userID uint, sessionKey string) (*fleet.Session, error) {
	sqlStatement := `
		INSERT INTO sessions (
			user_id,
			` + "`key`" + `
		)
		VALUES(?,?)
	`
	result, err := ds.writer.ExecContext(ctx, sqlStatement, userID, sessionKey)
	if err != nil {
		return nil, ctxerr.Wrap(ctx, err, "inserting session")
	}

	id, _ := result.LastInsertId() // cannot fail with the mysql driver
	return ds.sessionByID(ctx, ds.writer, uint(id))
}
```

- IN: Define arguments that are truly used when creating a session.
- OUT: Load and return the fleet.Session struct with all values set (using the `ds.writer` to support read replicas correctly).

PS: The new `NewSession` version mimics what we already do with other entities, like policies (`Datastore.NewGlobalPolicy`).
2022-04-04 16:52:05 -07:00
Charlie Chance
d7505b4665
Ritual Heading with OKR planning subheading (#4861)
* Ritual Heading with OKR planning subheading

Proposing to add the ritual heading to handbook/people in line with [https://github.com/fleetdm/confidential/issues/1013] and [https://github.com/fleetdm/fleet/issues/4671].

cc: @hollidayn

* Ritual update

Added OKR planning context and ritual steps to "Ritual" section of handbook.

* Move ritual section above Slack channels

Co-authored-by: Eric <eashaw@sailsjs.com>
2022-04-04 17:19:54 -06:00
Tharun Rajendran
4ff9f6702d
chore(test): rewritten select target menu test using rtl (#4937) 2022-04-04 16:34:24 -05:00
Tharun Rajendran
e7a372f9e0
chore(test): rewritten login form test using rtl (#4933) 2022-04-04 16:33:49 -05:00
Mike Thomas
50de021636
Handbook - email blast instructions (#4922)
Updated email blast instructions in handbook.
2022-04-04 16:12:12 -05:00
Michal Nicpon
74555e4bf4
fix lint workflow (#4935)
* use go version 1.17 in golanci-lint workflow
2022-04-04 14:14:05 -06:00
Tharun Rajendran
6fe78fe302
chore(test): rewritten breadcrumbs test using rtl (#4921) 2022-04-04 14:15:28 -05:00
Zach Wasserman
7d68f69ab4
Update CodeQL action version and exclude paths (#4930) 2022-04-04 12:14:21 -07:00
Tharun Rajendran
6b68f61b22
chore(test): rewritten login page test using rtl (#4920) 2022-04-04 14:13:25 -05:00
Tharun Rajendran
90e044821f
chore(test): rewritten registration page test using rtl (#4919) 2022-04-04 14:12:29 -05:00
dependabot[bot]
d24ec5fbba
Bump minimist from 1.2.5 to 1.2.6 (#4783)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:58:50 -07:00
RachelElysia
53ca15e93b
Manage Host Page: Export hosts as CSV (#4917) 2022-04-04 14:53:14 -04:00
dependabot[bot]
0bca26be03
Bump ansi-regex from 5.0.0 to 5.0.1 in /ee/tools/license (#4839)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:48:31 -07:00
RachelElysia
5cce257e1e
Host Details Page: Software vulnerability column (#4836) 2022-04-04 12:33:02 -04:00
RachelElysia
b834e7d2f5
Remove viewing enroll secrets on app settings page, add changelog (#4896) 2022-04-04 12:27:13 -04:00
Mike McNeil
22847b68ea
Update homepage.ejs (#4927) 2022-04-04 10:49:36 -05:00
Lucas Manuel Rodriguez
c82c580716
Orbit: Add Fleet Desktop support to Windows (#4873)
* Orbit: Add Fleet Desktop support to Windows

* Rename workflow, fix linux build

* Do not compile systray on linux

* nolint on unused

* Fix lint properly

* nolint both checkers

* Fix monitor logic in desktopRunner

* Fix interrupt and execute order
2022-04-01 17:28:51 -03:00
Nathanael Holliday
fc68e41514
Add hollidayn to list of GitHub maintainers (#4915) 2022-04-01 14:45:12 -05:00
Tony Gauda
5163c40466
Update customers.md (#4910)
Added documentation update process
2022-04-01 15:12:36 -04:00
Tim Kern
c9194eeac3
Simplified community contributions section (#4844)
* Simplified community contributions section

Simplified to 8th grade reading level from 10th+ and to 314 words from 349 words

* Update community.md

All edits are recorded by line:
197 added “,” after “change”
198 added “,” after “Also’; added “,” after “Usually”
199 added “,” after “needs”; added “a” before “changes”
200 added “,” after “Next”
206 replaced “Merges for minor documentation updates or bug fixes are usually done by the Fleet team.” with “The Fleet team usually does Merges for minor documentation updates or bug fixes”

* Revised simplified community contributions section

Added Mike and Desmi's changes

* Update community.md

All edits are recorded by line:
206 replaced “The Fleet team usually does Merges for minor documentation updates or bug fixes “ with Everyone can contribute bug fixes and improvements to the documentation, whether or not they work for Fleet.

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-04-01 14:03:49 -05:00
Noah Talerman
00479974c9
Product handbook: Add link to Q2 OKRs and update Q1 objectives (#4897)
- Add link to Q2 OKRs
- Update Q1 objectives with "hit/miss"
2022-04-01 12:02:17 -04:00
Michal Nicpon
d8d582760d
fix rename tmp file (#4862)
Renaming a temporary file to the final destination does not always work.
Specifically, if the source and destination paths are on different file
systems, you will get the following error

 invalid cross-device link

Instead, create temporary file in the destination directory.
2022-04-01 09:03:11 -06:00
Martavis Parker
3575d34507
Refactor Redux-triggered flash message component (#4795)
* base logic to handle rendering a notification without redux

* removed dispatches for new flash mesage triggers

* query page wrapper is no longer needed

* refactored confirm invite page to remove redux

* refactored email token redirect to functional and typescript

* refactored pack composer page to functional and typescript

* clean up

* lint fixes

* tests no longer needed

* fixed confirm sso invite test

* test fix

* fixed test

* fixed tests

* removed redux from flash on rebased pages
2022-03-31 23:42:26 -07:00
Luke Heath
dbaef5a37b
Fix table headers showing or misaligned when selection is active (#4892) 2022-03-31 16:10:11 -05:00
Guillaume Ross
f87fcb544a
Update generate-desktop-app-tar-gz.yml (#4893)
Removing PR from this action as it contains secrets.
2022-03-31 16:38:44 -04:00
Lucas Manuel Rodriguez
72629635a5
Update Orbit changelog for 0.0.8 (#4810) 2022-03-31 16:43:37 -03:00
Tharun Rajendran
661f48419f
chore(test): rewritten forgot password page test using rtl (#4888) 2022-03-31 11:50:30 -05:00
Tharun Rajendran
4fdb9687ef
chore(test): rewritten pack composer page test using rtl (#4886) 2022-03-31 11:50:07 -05:00
Tharun Rajendran
8bc7e91ed7
chore(test): rewritten target option test using rtl (#4885) 2022-03-31 11:49:50 -05:00
Zachary Winnerman
2ea256b9b0
Fix codeowners and revert pull 4798 as it stepped on 4834 (#4887) 2022-03-31 12:36:18 -04:00
Katheryn Satterlee
d3454bcfce
Weekly community-driven documentation update for week ending March 25th (#4818)
* Weekly community-driven docs update for week ending March 25th

* Update Configuration.md

* Update FAQ.md

All edits are recorded by line:
192 added “-“ to “auto-updates”
194 added “-“ to “auto-updates”; deleted “,” after “(easy)”; replaced “reccomend” with “recommend”
209 added “,” after “work”
211 replaced “am I seeing” with “do I see”
225 replaced “The best way to maintain historical data currently would be to use the [REST API](./REST-API.md) or the [`fleetctl` CLI](./fleetctl-CLI.md) to manually retrieve and save the data you need on your schedule. “ with “Currently, Fleet only stores the current state of your hosts (when they last communicated with Fleet). The best way at the moment to maintain historical data would be to use the [REST API](./REST-API.md) or the [`fleetctl` CLI](./fleetctl-CLI.md) to retrieve it manually. Then save the data you need to your schedule.”

* Update FAQ.md

All edits are recorded by line:
194 deleted ”either” after “disabled”

* Update fleetctl-CLI.md

All edits are recorded by line:
28 deleted “of the” after “many”; replaced “User Interface” with “UI(User Interface)”; replace “, and to” with “. You can even”
43 capitalized “Fleet”
63 replaced “info” with “information”

* Additional context for help menu and add table

Tweaked wording around using the help command and moved available commands in to a table. @DominusKelvin @Desmi-Dizney

* Update Configuration.md

space

* Final grammar revision

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-31 10:34:58 -05:00
Kelvin Oghenerhoro Omereshone
e483821f91
feat: fix casing on link to conform to our style guide (#4882) 2022-03-31 16:26:04 +01:00
Desmi-Dizney
66aa32ca41
Added bullet point list. (#4353)
* Added bullet point list.

* Update customers.md

All edits are recorded by line:
16 replaced “Team” with “team”; replaced “Oncall” with “oncall”; replaced “Technician” with “technician”
17 replaced “Oncall” with “oncall”; replaced “Technician” with “technician”
2022-03-31 09:46:27 -04:00
Eric
495f44f555
Update Twitter cards on Fleetdm.com homepage (#4877)
* update card layout

* Update homepage.ejs
2022-03-30 12:37:02 -05:00
Zachary Winnerman
83b689ae37
Zwinnerman loadtesting doc updates (#4765)
* Update documentation with new loadtesting findings

* Add FAQ changes with redis findings

* fixup

* Update docs/Deploying/FAQ.md

Co-authored-by: Zach Wasserman <zach@fleetdm.com>

* fixup

* Fix the instance size due to a mistake during loadtesting

* Update docs/Deploying/FAQ.md

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>

* Update docs/Deploying/Load-testing.md

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>

* Update docs/Deploying/FAQ.md

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>

* Update price estimate since I forgot

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2022-03-30 13:26:36 -04:00
Guillaume Ross
22dda3adf5
First batch of tf security improvements (#4798) 2022-03-30 13:24:30 -04:00
Guillaume Ross
b13984a646
Update Security-audits.md (#4875)
Adding real link to blog post.
2022-03-30 12:45:38 -04:00
Katheryn Satterlee
a1eba3d5b9
Kathy 4533 4020 documentation updates (#4646)
* Add instructions for creating and using an API-only user with fleetctl

* Update fleetctl-CLI.md

* Update example responses for policies and teams

* Update fleetctl-CLI.md

This was a super clean edit!
All edits are recorded by line:
199 replaced “passing” with “picking”; added “,” after “email”
253 replaced “:” with “.”

* Update fleetctl-CLI.md

Line 253 I changed "." to ":"

* Change  `Create a new context for your standard user (optional)` > 'Switching users'

* Update fleetctl-CLI.md

All edits are recorded by line:
195 replaced “are” with “is”
207 replaced “will be able to” with “can”; replaced “needs to be” with “is”
249 replaced “has been” with “is”

* Update API-only user creation instructions

Added additional context to the user creation command and fixed some grammar issues.

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-30 11:38:38 -05:00
Guillaume Ross
26daf00e5a
Publish orbit audit (#4865)
* Adding Orbit audit and new .md page

* Update Security-audits.md

Adding content. Link to PDF won't work until the PR with these two files is merged to main.

* Update Security-audits.md

Added pageOrderInSection

* Update Security-audits.md

Put link to the actual commit so the PDF link can be tested before this gets merged to main

* Update Security-audits.md

Added title

* Fixed tables

* a -> an

Co-authored-by: Eric <eashaw@sailsjs.com>
2022-03-30 12:22:57 -04:00
AndrewB
6e72fc2c89
Update homepage.ejs (#4872) 2022-03-30 09:43:06 -05:00
Martin Angers
71f2690ada
Add Jira integrations config support (#4863) 2022-03-30 09:10:02 -04:00
Mike McNeil
0f14e918a2
Handbook: Typofix (#4870)
whoops, introduced by me when table-ifying all of these
2022-03-29 21:50:32 -05:00
Mike McNeil
bad53daf60
Handbook: dedupe w/ shared explanation about Slack channels (#4869) 2022-03-29 18:41:25 -05:00
Mike McNeil
03a300da2a
Handbook: add #help-public-relations (+dedupe content) (#4868)
takes advantage of https://github.com/fleetdm/fleet/pull/4867
2022-03-29 18:05:03 -05:00
Mike McNeil
3ae94a0ac9
Handbook: Dedupe handbook content (#4867) 2022-03-29 17:59:51 -05:00
Eric
edd1f7d06f
Update basic-handbook.page.js (#4859) 2022-03-29 11:30:54 -05:00
RachelElysia
a402ccab25
Host Details Page: Same naming convention for info as device user page (#4815) 2022-03-29 10:35:02 -04:00