Граф коммитов

1884 Коммитов

Автор SHA1 Сообщение Дата
Quentin Bourgeois 76a2e5e142
<doc/rst: Fix a missing reference to loader page>
* Merge how MIG components are called: lower case with hyphen a word
    separator
  * Add a reference from configuration.rst to loader.rst
2017-07-19 00:48:42 +02:00
stephenma064 29bb685702 Merge branch 'master' into patch-1 2017-07-13 20:38:14 -05:00
Aaron Meihm 722770118e Merge pull request #365 from tydavis/issue235
[easy/up-for-grabs] Add additional line for unknown investigator
2017-07-12 14:59:52 -05:00
Tyler Davis 517fd0149c Send two log messages if action rejected 2017-07-12 17:43:03 +00:00
Aaron Meihm 411e9aab4e Merge pull request #368 from ameihm0912/pubip-panic
Fixes a few issues in how Init failures are handled
2017-07-12 10:34:48 -05:00
Aaron Meihm f9872335cc dont panic if Init fails in foreground mode, instead just exit
Rather than panic when Init fails if the agent is in foreground mode,
just print the error message and exit with return code 1.

Resolves #342
2017-07-12 10:20:50 -05:00
Aaron Meihm f040e9c6db if Init fails in checkin mode, return a non-zero exit status 2017-07-12 10:13:50 -05:00
Aaron Meihm 8c3a9e1fe6 reference correct function name in agent Init() error return 2017-07-12 10:11:33 -05:00
Aaron Meihm 4558443c35 Merge pull request #367 from ameihm0912/contrib-update
update CONTRIBUTING.md, remove requirement to tag commits
2017-07-12 09:59:56 -05:00
Aaron Meihm c215793b0d Merge branch 'master' into contrib-update 2017-07-12 09:58:48 -05:00
Aaron Meihm 08bcd0bcde Merge pull request #364 from tydavis/issue362
[easy/bug] Check length of config.API.URL, fixes #362
2017-07-12 09:49:35 -05:00
Aaron Meihm 67636d1aaf update CONTRIBUTING.md, remove requirement to tag commits
This removes any sort of requirement to prefix commit messages from the
contributing guidelines. This was originally intended to provide a means
to identify large changes/feature additions in the revision history.

Removing this to make it easier for contributors to submit patches
without requiring history revision.
2017-07-12 09:43:39 -05:00
stephenma064 b2aa0dd8f6 Update client.go 2017-07-11 19:47:54 -05:00
Tyler Davis ade8e80d0a [easy/up-for-grabs] Add additional line for unknown investigator, fixes #235 2017-07-11 23:16:03 +00:00
Tyler Davis aca753cb0f [easy/bug] Check length of config.API.URL, fixes #362 2017-07-11 22:41:01 +00:00
Aaron Meihm 110614c421 [minor] ignore custom built-in configs in gitignore 2017-07-10 13:57:43 -05:00
Aaron Meihm 653ae27d85 Merge pull request #363 from ameihm0912/improve-agent-search
Usability improvements for mig-agent-search
2017-07-07 12:30:57 -05:00
Aaron Meihm 915b127450 [minor] resolve target macros in mig-agent-search 2017-07-07 12:15:19 -05:00
Aaron Meihm 30e92f1313 [minor] remove use of panic for error handling in parseSearchQuery 2017-07-07 12:12:04 -05:00
Aaron Meihm 4db86c8287 [minor] mig-search-search, dont error out if no results are found
Rather than generate an error message, just display no agents if none
matched the search criteria.
2017-07-07 12:05:55 -05:00
Aaron Meihm be7b45d9ce [minor] remove use of panic for error handling in mig-agent-search main 2017-07-07 11:59:52 -05:00
Aaron Meihm 7c2d8f6971 [minor] reorganize variable definition in mig-agent-search main 2017-07-07 11:46:32 -05:00
Aaron Meihm 6e1d45833f [minor] add missing command line options to mig-agent-search usage 2017-07-07 11:45:44 -05:00
Aaron Meihm 3f12d0908f [minor] move mig-agent-search help output to separate function 2017-07-07 11:40:29 -05:00
Aaron Meihm a2fe0fed53 Merge pull request #360 from ameihm0912/tagsfixes
Tweaks for tags config file option and test fixes
2017-07-06 17:09:23 -05:00
Aaron Meihm b10940cfb9 [minor] declare Context.Agent.Tags as a map 2017-07-06 16:58:26 -05:00
Aaron Meihm f70b3c6f38 [minor] change tags comment/default in default agent configuration file 2017-07-06 16:52:20 -05:00
Aaron Meihm 6a2da09be3 [minor] fix tests in TestConfigLoadCertErrors
parseConfig does not have a pointer receiver and cannot modify
the globals structure, actually test against the global values
apply() modifies.
2017-07-06 16:47:31 -05:00
Aaron Meihm 5d701c056e [minor] initialize global.tags map in tests where we dont use newGlobals 2017-07-06 16:47:31 -05:00
Aaron Meihm 0f2b00e762 [minor] fix tests in TestConfigLoadCerts
parseConfig does not have a pointer receiver and cannot modify
the globals structure, actually test against the global values apply()
modifies.
2017-07-06 16:47:17 -05:00
Aaron Meihm 1ea06d610a [minor] include a comment noting we append/modify tags from config 2017-07-06 16:13:57 -05:00
Aaron Meihm de9f9f0a7a [minor] update comments for loader TAGS value 2017-07-06 16:10:16 -05:00
Aaron Meihm 786b3b70cc [minor] add a note regarding tags being configurable in config file 2017-07-06 16:05:03 -05:00
Aaron Meihm 3ef62f8dc9 Merge pull request #345 from rezen/master
[minor] Adding option to set agent tags in external config file
2017-07-06 15:57:00 -05:00
Aaron Meihm 0452db5396 Merge pull request #359 from ameihm0912/proxytimeout
[minor] findPublicIP: reduce Dial timeout to 5 seconds
2017-07-06 10:42:28 -05:00
Aaron Meihm 01285f054f [minor] findPublicIP: reduce Dial timeout to 5 seconds
Reduce the dial timeout to 5 seconds time 10. This operation should
normally occur quickly, but in some cases (e.g., an unreachable proxy in
use) the request will stall. This ensures we wait a maximum of 5 seconds
before trying another option.

This also aligns the timeout with the dial timeout for AMQP connections.
2017-07-06 10:27:37 -05:00
Aaron Meihm 823fc60b75 Merge pull request #357 from ameihm0912/gpgerror
[minor] include actual pgp error on token sign failure
2017-06-08 10:54:06 -05:00
Aaron Meihm e6da818bcd [minor] include actual pgp error on token sign failure 2017-06-08 10:41:49 -05:00
Aaron Meihm 7c8e8ea067 Merge pull request #355 from ameihm0912/winlogging
Fix bug in Windows logging, add check option to loader
2017-05-26 10:39:40 -05:00
Aaron Meihm 7a0dba62cb [minor] add check option to loader to only validate agent is running 2017-05-26 10:23:41 -05:00
Aaron Meihm 2d0119ad7a [medium/bug] on windows, close log file before rotate 2017-05-25 15:47:50 -05:00
Aaron Meihm e058be32dc Merge pull request #353 from ameihm0912/console-sums
[minor] add shasum command in manifest reader
2017-05-23 11:00:10 -05:00
Aaron Meihm 39325c53ec [minor] add shasum command in manifest reader
displays manifest objects in command line sha256sum style format
2017-05-18 14:40:00 -05:00
Aaron Meihm 8fcb6d7a41 Merge pull request #352 from ameihm0912/apikeynogpg
[minor] if a client is using API key auth, don't check gpg config
2017-05-02 14:17:43 -05:00
Aaron Meihm 8701fcff80 Merge pull request #351 from mozilla/migcmdname
[minor] Give mig cmd line the ability to name an action
2017-05-02 14:08:03 -05:00
Aaron Meihm bbb5c9d15e [minor] if a client is using API key auth, don't check gpg config 2017-05-02 14:05:31 -05:00
Julien Vehent 307acc3c6f
[minor] Give mig cmd line the ability to name an action 2017-05-02 14:26:35 -04:00
Andres Hermosilla 4cd3867cc9 [minor] Added option to set tags in mig-agent config file, contributes to #237 2017-04-27 10:07:22 -07:00
Aaron Meihm e722525e11 Merge pull request #350 from ameihm0912/linuxcfgpath
[minor/bug] fix issue in configDefault not returning path on linux
2017-04-25 10:52:31 -05:00
Aaron Meihm 5420a813a8 Merge pull request #349 from ameihm0912/signaction-temp
[minor/bug] in SignAction, remove temporary file
2017-04-25 10:51:00 -05:00