New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added filters for global envs #4596
Closed
Closed
Changes from 250 commits
Commits
Show all changes
1284 commits
Select commit
Hold shift + click to select a range
b66037b
deps: bump @pm2/io to latest
vmarchaud d812f51
tests: avoid race because of auto restart
vmarchaud b787b99
chore: re-add node 4 ci + disable pmx with node 4 + warning on start
vmarchaud 0b12c1a
plus: disable new bucket creation
vmarchaud 6920d0f
test: skip tests and require when node4
Unitech 140e0d5
deps: bump @pm2/io + avoid double init
vmarchaud 945d0f9
pm2@3.4.0
Unitech 0637d4f
fix pm2 unstartup fialed in macos
harlentan 609ec7a
fix: change help message of describe/env command
cuspymd d1bdb39
Merge branch 'master' into development
Unitech e9ab3e8
fix: show indicator when an application has tracing activated
Unitech 27b505a
fix: restore signup via cli
Unitech 18e7da5
pm2@3.4.1
Unitech 170f241
doc: fix badge node > 6
Unitech 96c8d88
improv: serve feat, spa + basic auth
f-hj 7600255
improv: auto add monitoring snippet
f-hj d87d672
pm2@3.4.1
Unitech 99fcb90
Fix --ignore-watch to take in globs
oleg-codaio 524e684
Merge pull request #4220 from f-hj/development
Unitech 5505fcc
Merge pull request #4203 from cuspymd/fix-desc-help3
Unitech 3e093d8
Merge pull request #4197 from harlentan/patch-2
Unitech 16aa643
Merge pull request #4171 from EriksRemess/patch-1
Unitech ad141a6
fix: pm2 conf display whole configuration
Unitech 7e22ba5
Merge branch 'master' into development
Unitech 5149ce8
chore: upgrade to 3.4.2
Unitech bc14706
fix: #4212 versioning comment not always present
Unitech 86b3234
fix: display metric unit when running pm2 show
Unitech f7d3dc5
feat: display divergent environment variable from local environment i…
Unitech bcccfa2
fix: #4060 do not emit/online parse app when errored
Unitech 24b4ad1
Merge branch 'development' into patch/readme-badge
Unitech e057a45
Merge pull request #3940 from FranklinYu/patch/readme-badge
Unitech 1d6d2e0
chore: remove unused package + remove node 4 testing on travis
Unitech ac8aebc
fix: various terminal fixes
Unitech fd88558
fix: fixed logs length in pm2 monit fix #2793
Unitech 9495739
fix: #2764 only display log of highlighted application
Unitech 16316e7
Merge pull request #4157 from sirisian/patch-1
Unitech 310def6
fix: systemd restart PM2 only on-failure #4157
Unitech d810ecc
pm2@3.5.0
Unitech 0e2fd65
Fix pm2 serve urlencode 404 situation
alonelucky 1f561e0
fix: Adjust the decodeURIComponent function call as recommended
alonelucky 26aba94
Merge pull request #4239 from xiaqiubo/development
Unitech 66da402
Update constants.js
Unitech cd51a60
Added HOST enviroment
sergeysedoy97 71dbc14
Merge branch 'development' into osv-fix-ignore-watch
Unitech f70e356
Merge branch 'master' into development
Unitech a3b22c7
Merge pull request #4224 from vaskevich/osv-fix-ignore-watch
Unitech da11304
chore: CHANGELOG update
Unitech a1abfcc
chore: test pm2 on node 12
Unitech efd4484
feat: pm2 save --force
Unitech 8687284
fix: pm2 monit - clear logs when switching to another app + show app …
Unitech 0f724c6
fix: add metrics unit / clearItems on select / rm deprecated link
Unitech a5987e1
feat: allow to run pm2 with embedded node binaries
Unitech 65e1345
chore: remove unused screenshots and makefile
Unitech b47e8d2
fix: adapt test to new CLI behavior
Unitech b61fa08
chore: remove deprecated file
Unitech 873de4c
refacto: has node embedded flag
Unitech 3724a08
Update API.js
sergeysedoy97 0f4a459
epic: pm4 to v4.0 + adding advanced sysinfos
Unitech f165e54
Allow usernames in uid/gid/user again (fixes #4262)
SagePtr 53bbd62
feat: pm2 slist for sysinfos + docker containers display + containers…
Unitech 80df02d
fix: ANSI escape codes with --watch #3884
taneltm df3fde2
feat: fix disk io floating point + fix duplication in pm2 monit comma…
Unitech c4841ee
fix: issues on display on macosx + memory available fix + hide temper…
Unitech ffe3e69
chore: force node>8 + upgrade chokidar to 3.0 + remove v8-compile-cac…
Unitech 7d47cc0
chore: remove workaround code for old node versions
Unitech 2eec3e2
refactor: better display management of pm2 ls
Unitech 520fb87
fix: better display when pm2 linked to onprem + fix display width
Unitech 04cd0f2
feature: avoid set interval to avoid leaks and loop blockage + reduce…
Unitech 557d400
fix: avoid pm2 show to fail if app is not started + avoid trying to s…
Unitech 17c3128
fix: only add each process name to regexList once
henstock bb04310
Fix --wait-ip option doesn't work
tkmsst 0882c3b
feat: allow pm2 startup via standalone install
Unitech 0d95eaf
pm2@4.0.0-beta-1
Unitech f5b82d1
fix pm2 binary
Unitech 53ead45
fix: node path resolution
Unitech d6e97ee
fix: add 'max' for instances option
sunecosuri 210f8a0
pm2@3.5.1 - do not rely on optionalDependency #4289
Unitech 21141ae
fix: agent is async, do not wait response
Unitech 2f0333c
feat: specify embedded nodejs version
Unitech 5d4a11d
Basic support for Solaris SMF as init system
licson fba555a
Added force (-f) flag when removing service
licson ed861ff
Added refresh (reload) method to service file
licson 8e01076
Fixed undefined username when creating service definition
licson f82faa3
Remove garbage characters
licson 9fde096
feat: better configuration display
Unitech 83aa2f8
feat: pm2 update preserve stopped status #2654 #3625
Unitech e67dbbb
feat: allow to auto dump on start/stop/delete via pm2 set pm2:autodum…
Unitech 89ae17d
feat: make docker/systemd mgmt optional via pm2 set pm2:docker true
Unitech c52b2fe
fix: cb calls
Unitech 2c74e1d
Update nvm-node-version.sh
Unitech d85cf83
mro: upgrade js-api
BenoitZugmeyer c831a65
Merge pull request #4306 from BenoitZugmeyer/mro/upgrade-js-api
Unitech c16e8c7
always flush pm2 configuration in pretty format
Unitech b9ce29f
feat: add service detection system + disable docker container listing…
Unitech c918bd5
pm2-beta@4.0.0-beta-6
Unitech 7e9e405
fix: display sections
Unitech eff6929
increase width of some rows
Unitech 2b1de4d
sort by app name
Unitech 9bfaeb9
increase width of some rows
Unitech 7c19338
pm2@4.0.0-beta-7
Unitech 8ae5ad7
merge #4303
Unitech 4adac78
Merge pull request #4297 from licson0729/master
Unitech d8a6b60
refactor: fixed package version in package.json
Unitech 1dadadd
fix: show error msg when trying to start not found script in ecosystem
Unitech 6873440
avoid process
Unitech eb9d003
feat: auto suffix log when exiting + display error when wrong manipul…
Unitech 18383b1
cli ux: when command is errored do not display process list to avoid …
Unitech 1f3caac
feat: add network connection retrieval
Unitech 911a7c8
temp rm exitsep cluster
Unitech 11f8a78
temp remove write sep
Unitech 246411a
docs: update info links
Unitech c1a03d3
Update WebAuth.js
sirhypernova b11be58
Update CliAuth.js
sirhypernova d05fe7e
Update CliUx.js
sirhypernova b13e5ad
Update CHANGELOG.md
sirhypernova 0efa01f
chore: upgrade async to 3.1
Unitech 2dd0f49
Update package.json
Unitech 1cd32fb
chore: upgrade systeminformation
Unitech 1feae52
chore: upgrade logo
Unitech f0f73a6
chore: change link
Unitech 308d26d
chore: update README
Unitech e5c737d
fix: update lodash version
RiaanWest ba06d22
fix: after send ready SIGINT should be sent
Goodluckhf f9caeb0
refactor: Simplify bin/pm2 and move content to lib/binaries/CLI.js
ykolbin cfc94f4
fix: remove garbage whitespace.
mib008 90fcaad
fix: add property 'type' for compatible with old version.
mib008 6d91de0
Merge pull request #4392 from mib008/patch/issue_4378
Unitech e8a050c
Merge pull request #4377 from RiaanWest/fix/lodash-version
Unitech c2f3852
pm2@4.0.0-beta-8
Unitech d25181f
chore: upgrade pm2/io and chokidar
Unitech 6ab7de3
fix: adapt new pm2 register flow
Unitech e608255
Merge pull request #4391 from ykolbin/migrate-pm2-cli
Unitech 97f8fb4
chore: drop ADVANCED_README.md
Unitech adfc6a7
pm2@4.0.0-beta-9
Unitech 4747ece
feat: added Lad to framework list
niftylettuce 3a388d3
Merge pull request #4436 from niftylettuce/master
Unitech f313dc2
fix: pm2-runtime auto-exit check ignores module like logrotate
zyf0330 b448646
pm2@4.0.0
Unitech df5b517
fix: test dependency
Unitech b391b30
pm2@4.0.0
Unitech 8d94f76
Merge pull request #4443 from zyf0330/master
Unitech dde0e54
fix: intensive process list is now condensed if small term
Unitech 0df74df
Merge pull request #4376 from Goodluckhf/wait-ready-fix
Unitech cfb438c
Merge pull request #4364 from sirhypernova/master
Unitech 959f7cc
Merge pull request #4288 from sunecosuri/fix-types-instances
Unitech 2c21f3f
Merge pull request #4285 from epgdatacapbon/development
Unitech d03f650
skip test
Unitech 79a4f7c
Merge pull request #4267 from SagePtr/issue4262
Unitech 5f0c0a6
behavior: pm2 start app.js -i 1 default to cluster mode #4362
Unitech b5db718
Merge pull request #4281 from henstock/development
Unitech 09536a3
Merge pull request #4270 from taneltm/fix-issue-3884
Unitech 11fd1ec
Merge pull request #4254 from sergeysedoy97/patch-1
Unitech 7383260
chore: do not log file change as error
Unitech ec027dd
chore: hard set instances if not specified
Unitech 6534487
pm2@4.0.1
Unitech cc48bd4
Merge branch 'master' into development
Unitech b063733
fix: #4442 allow to pass path in direct pm2 execution
Unitech 1e4d766
fix: hide forked process window
Unitech 7a4e35c
pm2@4.0.2
Unitech 48d90db
Merge branch 'master' into development
Unitech cf74894
chore: 4.1.0 changelog
Unitech 5909241
pm2@4.1.0
Unitech ebde164
pm2@4.1.1
Unitech bcdaed4
fix: make systeminformation as optional module #4457
Unitech 150b750
disable sysinfos
Unitech 9d13743
fix: wait that python app exited properly
Unitech 67fc558
pm2@4.1.2
Unitech e95479a
Merge branch 'master' into development
Unitech d542535
chore: enforce node engine >= 8.10.0
Unitech 595bd88
chore: cleanup unused files
Unitech 8546d5e
feature: enable sysinfos + safeguard via ping/pong
Unitech 4bb7a5a
feature: pm2 sysinfos -t for tree view + add fd max
Unitech 1175b66
fix: enforce process send to sysinfos
Unitech e620bfa
fix: less aggressive timeout
Unitech c8a81fe
fix: #4455 mem color disp fix
Unitech f9edfbd
chore: increase mem warn color
Unitech 07a93bf
pm2@4.1.3
Unitech 01206aa
chore: add node 13 to travis
Unitech 7e6bcf4
Extracted kill signal to the constants.js. Added new environment vari…
aleksk 6f71b78
fix: if id > 100 not shown in pm2 ls #4475
Unitech 9a4a347
Add process namespaces feature
bvsubhash 0425e3e
Update README.md
bvsubhash de9e313
Assign default namespace for scripts started via _startScript
bvsubhash deeebc7
chore: fix doc links #4477
Unitech 9c0eb73
Fix typo for namespace
bvsubhash 89570fb
Fix: typo for apps
bvsubhash 3c5f2bc
fix: display correct username
bvsubhash 4342c38
feat : log highlight option
bvsubhash 68d993c
Added necessary condition
bvsubhash 9f66da4
Merge pull request #4478 from bvsubhash/feature/namespace
Unitech 69a5570
add --namespace CLI option #4478
Unitech 044fcdd
Merge pull request #4480 from bvsubhash/patch-1
Unitech 6dec187
chore: add tests for namespace feature #3471 #4478
Unitech 771e0ba
Merge pull request #4474 from aleksk/alekseyk/kill-send
Unitech 96c324d
feat: send signal via env PM2_KILL_USE_MESSAGE or --shutdown-with-mes…
Unitech 18d07d6
feat: control over system monitoring via pm2 sysmonit #4471
Unitech 03d98fb
chore: update CHANGELOG
Unitech 47eb641
Merge pull request #4481 from bvsubhash/list_usernames_fix
Unitech 5723f97
Merge pull request #4482 from bvsubhash/log-highlight
Unitech cf6853c
chore: reduce col size for ns
Unitech f464d09
chore: upgdate CHANGELOG
Unitech 74e59d1
feat: auto adapt name col size on pm2 ls
Unitech 23ef476
feature: pm2 create command
Unitech 178e461
chore/feat: refactor CLI UX + hint about proc sync with dump #4454
Unitech 281ae22
chore: update CHANGELOG
Unitech 2a7bf4b
fix: stop and delete cron immediately on deletion of a process
bvsubhash 58b061c
fix: pm2 version on pm2 update
Unitech a895875
feat: auto enable sysmonit when command typed
Unitech c4ab561
fix: make status col larger for long status
Unitech fbb0961
Merge pull request #4492 from bvsubhash/fix-cronjob-issue
Unitech 2330164
chore: update changelog + add @bvsubhash as contributor
Unitech 314c5bf
pm2@4.2.0
Unitech 2779f04
fix: cron refactor
Unitech 2477a50
fix: do not throw error on dump not present
Unitech 125e174
fix: right cron prefix + re activate cron on restart
Unitech 25449c6
chore: add helper message that cron is still online even after stop
Unitech 2cf5bbc
chore: add hint that pm2 set pm2:autodump can sync dump file
Unitech 956f35b
bump package.json
Unitech 32a2a47
fix: throttle
Unitech 32f05ef
fix: check pm2_env
Unitech d16fede
pm2@4.2.0
Unitech 7cb6245
fix: col size when tracing enabled
Unitech afc0dbe
chore: version check
Unitech e96cda7
pm2@4.2.1
Unitech 1ca9ec1
Fix an error for pm2 path on Windows.
kimhc999 dc21450
feat: #4540 support ES import
Unitech abe525b
chore: skip es module check if <13.3
Unitech 6da715c
chore: avoid token exception on Node < 9.x
Unitech 62feb3d
fix: look for package.json in parent folder
Unitech ce14c14
Merge pull request #4563 from kimhc999/fix/get-pm2-path-fix
Unitech 707bc00
pm2@4.2.2
Unitech ec908b2
add travis test for node 9
Unitech 31cb2af
fix: #4588 import syntax on Node 9.x
Unitech 48c9ac2
feat: Added filter for global envs
inerc 39c4a8b
feat: Added filter for global envs
inerc 904c2f0
feat: Added filter for global envs
inerc cadb05e
feat: Added filter for global envs
inerc ed78cfa
feat: Added filter for global envs
inerc c634914
feat: Added filter for global envs
inerc c750267
feat: Added filter for global envs
inerc 8f42d70
feat: Added filter for global envs
inerc 60634a3
feat: Added filter for global envs
inerc 43c6ad7
feat: Added filter for global envs
inerc f61ca09
feat: Added filter for global envs
inerc 08023df
feat: Added filter for global envs
inerc 0d6ad3b
feat: Added filter for global envs
inerc b26ed61
feat: Added filter for global envs
inerc ebeeee7
feat: Added filter for global envs: fixed comments
inerc 5ef8c0b
feat: Added filter for global envs: fixed tests
inerc 2ef7fb9
feat: fixed description filter_env
inerc File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use
includes
in thefilterEnv
function and it checks if the string contains passed substring. So we filter outgoing values by the presence of the provided value in the key.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope that it will be in the release soon....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@inerc I hope so, my pm2 crashes because of the env variables overflow. Can you change the description above? What about:
'filter out outgoing global values that contain provided strings'
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it will be better. I have made changes.