Commit Graph

420 Commits (master)

Author SHA1 Message Date
Harry White 5d5ca0d3c4 Return only stdout from command
docker-compose outputs warning messages to stderr
5 years ago
Sergio 191bf9a3dc
Removed unconditional logging profile 5 years ago
Dawid Dziurla dc8a624e07
gui: remove duplicate 'c' binding in images panel
closes: #169
5 years ago
Jesse Duffield 54609a5d99
Merge pull request #148 from jesseduffield/147_child_processes
ensure the current task is stopped before exit
5 years ago
Jesse Duffield 3f28a97507 ensure the current task is stopped before exit so we don't have any child orphan processes
use stop mutex
5 years ago
Dawid Dziurla a14e6400cb
Merge pull request #159 from jesseduffield/fix_returning
Implement PreviousViews stack
5 years ago
Dawid Dziurla 2763336f49
gui: delete comment 5 years ago
Michiel Roos ea18c1b85f Update keybindings.go (#162)
* Update keybindings.go

Remove duplicate keybinding: volumes - c
5 years ago
Dawid Dziurla cfd4b7a1cc
gui: improve and fix PreviousViews stack 5 years ago
Dawid Dziurla f95b49cd6b
gui: actually pop stack and keep it fit 5 years ago
Dawid Dziurla 897d47d0cc
gui: implement PreviousViews stack 5 years ago
skanehira b1881e6c58 Improve container top
Check container state.
If container is not running then not call top api.
5 years ago
Dawid Dziurla 1258471af2
respect DOCKER_HOST 5 years ago
Jesse Duffield 2b6a4b02e5
Merge pull request #150 from Duske/patch-1
fix german notion of volumes
5 years ago
Jesse Duffield b305558f5e
Merge pull request #145 from anjiawei1991/master
add image to conatiner view.
5 years ago
Jesse Duffield 6ebddea76e
Merge pull request #130 from winhung/limit-scrolling
scrolling does not go beyond the displayed text #31
5 years ago
Dustin 42c428771a
fix german notion of volumes
Afaik, `Volumen` is not the common notion for docker volumes. Simply using `Volumes` is better.
5 years ago
winhung 4e25f78507 scrollDownMain now works properly with ScrollPastBottom enabled #31 5 years ago
anjiawei 9f50809bcf add image to conatiner view.
Update issue: https://github.com/jesseduffield/lazydocker/issues/144

Co-Authored-By: Jesse Duffield <jessedduffield@gmail.com>
5 years ago
winhung b899796a52 removed scrollCount #31 5 years ago
winhung 082034d345 used ViewLinesHeight for scrolling down function #31 5 years ago
winhung 07bfb9255e implemented review comments by adding improved scrolling checking #31 5 years ago
Pieter van de Bruggen b5df76187b InternalFunction is not serializable to YAML 5 years ago
Jesse Duffield 4dc8f76083
Merge pull request #107 from jesseduffield/bulk-commands
Support bulk commands in each of the panels
5 years ago
Jesse Duffield bd3ce66234 bump api version so that we can e.g. prune containers via the sdk
update api version in readme
5 years ago
Jesse Duffield 1f9f82601b support bulk commands in each of the panels 5 years ago
Jesse Duffield 64863adc2b
Merge pull request #127 from mjarkk/origin/f115
Allow user setting the pull interval
5 years ago
mjarkk 5b3cdcd0aa
Fixed sugestion from jesse 5 years ago
winhung 42e69ac821 added test to increase coverage #31 5 years ago
winhung 4de994e030 scrolling does not go beyond the displayed text #31 5 years ago
Dawid Dziurla a7ccf40d3f
Merge branch 'reworking-dockerfile' 5 years ago
Dawid Dziurla 0c82a7089c
Merge pull request #132 from muesli/gocritic-fixes
Simplified code a bit
5 years ago
Dawid Dziurla 3197f28e94
Merge pull request #133 from muesli/unconvert-fixes
Removed unnecessary string conversion
5 years ago
Christian Muehlhaeuser 08861a53bf
Removed unnecessary string conversion
`s.expected` is already a string.
5 years ago
Christian Muehlhaeuser 78d7fda9ec
Simplified code a bit 5 years ago
Christian Muehlhaeuser 16b3eaedac
Simplified return and bool check code 5 years ago
Dawid Dziurla 2b3d380d10
config: use xdg package instead of configdir 5 years ago
Stefan Wendhausen 4b727fc24a
Update german.go 5 years ago
Stefan Wendhausen 9a558edf3b
typos and sentence structure
Corrected some typos and improved sentence structure
5 years ago
mjarkk 63b1d871c5
Changed the sugestions 5 years ago
Jesse Duffield 7c87c21fa0 show y/n options on confirmation panels 5 years ago
mjarkk fd4d4a1dc6
Made the information pulling time dynamic 5 years ago
Dawid Dziurla bd16a78b06
Merge branch 'docker-sdk-update' 5 years ago
Dowideit, Sven (O&A, St. Lucia) cdf075b00d Initial working demo
Signed-off-by: Dowideit, Sven (O&A, St. Lucia) <Sven.Dowideit@csiro.au>
5 years ago
mjarkk 209456fdcd
Changed the keybinding to e 5 years ago
Mark Kopenga 9bbd513a72
Update pkg/i18n/english.go
Co-Authored-By: Jesse Duffield <jessedduffield@gmail.com>
5 years ago
Mark Kopenga 0ca9235220
Merge branch 'master' into f110 5 years ago
mjarkk 401c6a39ed
Updated the keybindings 5 years ago
mjarkk 30a79faa49
Moved the filtering out of containers to the docker.go file 5 years ago
Jesse Duffield a46074c581
Merge pull request #108 from jesseduffield/see-required-translations
add get_required_translations.go
5 years ago
Quentin McGaw 88896e9117 Removed terminal space check (gocui got fixed) 5 years ago
Jesse Duffield cfd47b2877 add get_required_translations.go 5 years ago
Jesse Duffield df7f9c4a99 update cheatsheets 5 years ago
mjarkk 867459af56
Merge remote-tracking branch 'jesse/master' into fix-git-typo 5 years ago
mjarkk fddbc7cdf8
Removed some lazygit code 5 years ago
mjarkk b89b02eee5
Added h key binding 5 years ago
Jesse Duffield a5ec531b2b
Merge pull request #98 from mjarkk/fix-76
Add a limit to the c.StatsHistory
5 years ago
mjarkk 58baf82519
Added the sugestion from @jesseduffeild 5 years ago
Quentin McGaw 92837ca1cb Buffering channel with a size of 1 5 years ago
Quentin McGaw ee6b990792 Applied changes from @dawidd6 to check on terminal space at start 5 years ago
Dawid Dziurla bb319ddb59
adjust code to newer API 5 years ago
mjarkk 8ef19b781d
Added a litmit to the StatsHistory 5 years ago
Jesse Duffield ea6eafe2df fix CI 5 years ago
Jesse Duffield cd95ffce49
Merge pull request #97 from mjarkk/fix-94
Added rounding to timing (fixes #94)
5 years ago
Jesse Duffield 9207dc6faa
Merge pull request #88 from pvande/feature/display-project-directory
Show Project Directory in Status Panel
5 years ago
Quentin McGaw 29ad43c4a4 Fixed infinite loop for checking terminal space as discussed in PR
- All the checks are in the `waitForTerminalSpace` function
- It tries to run the program directly if the width is positive
- It then sleeps 50 milliseconds the first time if the width is zero
- If after the first sleep, the terminal width is still zero, it prints the waiting time to stderr and will keep on doing so with increasing sleep times.
5 years ago
mjarkk 74e8d6eb91
Added rounding to timeing 5 years ago
Jesse Duffield 6883c08f62
Merge pull request #90 from oguzcandemircan/turkhis-language-support
Added Turkish language support
5 years ago
Dawid Dziurla 16e596efaa
i18n: userLang variable was set needlessly 5 years ago
Dawid Dziurla 08c711a334
i18n: add polish translation 5 years ago
Oğuzcan Demircan ce6cffa784
"Error return value of mergo.Merge is not checked (from errcheck)" issue solved 5 years ago
Oğuzcan Demircan f811a3708a
Update turkish.go 5 years ago
Pieter van de Bruggen b3422c87f4 Pull the project name from docker-compose labels, when available 5 years ago
Pieter van de Bruggen f9ba4b875d Updating config tests with new parameter 5 years ago
Pieter van de Bruggen 86dfebdeaf Replace Project panel content with the project directory.
In the future, it may be worth trying to compute this from ComposeFiles.
5 years ago
Pieter van de Bruggen 8654d177d3 Move name to information area 5 years ago
Pieter van de Bruggen 12f3cfab55 Rename StatusPanel to ProjectPanel 5 years ago
Oguzcan Demircan 3bca81dd9a Added: Turkish language support 5 years ago
Jesse Duffield 4edf263dfa use default border color to support light theme 5 years ago
Quentin McGaw d404716d0a Fixed bad loop for checking terminal size 5 years ago
Quentin McGaw 20f4ad8e49 Resolved screen size issue, final Docker image uses Scratch 5 years ago
Jesse Duffield bb74edab73 improve readability of colours 5 years ago
Jesse Duffield e88be90f46
Merge pull request #59 from vedelaar/master
Repository with port does not show the correct image name
5 years ago
Jesse Duffield 187689a553
Merge pull request #62 from mjarkk/fix-58
Fix #58 (nil pointer dereference)
5 years ago
mjarkk d10410e787
Fixed a sugestion 5 years ago
mjarkk 28e75ebe1a
Fixed the issue 5 years ago
mjarkk cb926cd20a
Fixed an escape bug 5 years ago
Derk Vedelaar a5ff4d595c Repository with port does not show the correct image name 5 years ago
Jesse Duffield 8ae94005cd
Merge pull request #46 from jesseduffield/44_defaulting_to_containers
default to container view when not in docker-compose context
5 years ago
Jesse Duffield d4b4992762
Merge pull request #55 from mcintyre94/add-compose-file-flag
Add -f compose file flag
5 years ago
Callum McIntyre b2d98a9ff5 Add unit tests for NewAppConfig composeFiles 5 years ago
Callum McIntyre 2bbdb9bf6e Add support for -f flag
- If passed, passes to docker-compose as -f flag
- Supports multiple docker-compose files
5 years ago
Mark Kopenga 86589c3517
Added dutch translations (#18)
* Translated the keybindings

* Translated the dutch.go file

* Squased the commits

* Added the sugestion from @YannickMeeus

* Fixed a minor bug in the i18n file

* Removed the .vscode settings

* Squased the commits
5 years ago
Jesse Duffield 344e5ecda5 default to container view when not in docker-compose context 5 years ago
Jesse Duffield ec7624c3a3 fix menu overlap bug 5 years ago
Jesse Duffield 73ec29849f fix format 5 years ago
Jesse Duffield 5ff438ad34
Merge pull request #21 from waterfl0w/german-translation
German translation
5 years ago
Jesse Duffield 836b814559
Merge pull request #37 from mjarkk/remove-dead-code
Removed some dead code
5 years ago
mjarkk e3f6f59890
Removed some dead code 5 years ago
haoyun 0fe35ba5c5 fix strings.ReplaceAll() does't exist error while go version bellow 1.12 5 years ago
Jan Krüger 541bf0310a Add check for German in 'i18n.go' 5 years ago
Jan Krüger 70cffacddc fixed typos in 'german.go' 5 years ago
Jan Krüger 5c0b355ca7 Adding 'german.go'
Prior commit failed for unknown reason, but this is again the translated file based on the English version.
5 years ago
Jan Krüger b7c548121c Translate german.go
Added a new 'german.go' file and translated it using the English version as a base.
5 years ago
Jesse Duffield dcd5bcdfcd remove incorrect description from status click binding 5 years ago
Jesse Duffield 50a6eb64ec actually take the debugging flag seriously 5 years ago
Jesse Duffield ba426f05be don't panick on unix connection failure 5 years ago
Jesse Duffield 5169356454 support light themes in terminals 5 years ago
Jesse Duffield 345f02eb11 fix nil pointer exception when trying to kill process 5 years ago
Jesse Duffield 7e68985da5 override wrap for image panel 5 years ago
Jesse Duffield ea8258d66e more stuff 5 years ago
Jesse Duffield 852a8510ac update config comments for better godoc experience 5 years ago
Jesse Duffield 4e86732cf2 support custom commands that filter down to service names 5 years ago
Jesse Duffield 4856a3d872 use fork of roll so that we don't crash on 429 errors 5 years ago
Jesse Duffield c57b7122df don't ever highlight main 5 years ago
Jesse Duffield 32fc8ea3e2 defaulting to not wrap now that we can navigate horizontally in the main view 5 years ago
Jesse Duffield 27eb5a6474 back to only allowing false defaults for config booleans 5 years ago
Jesse Duffield 8a5c634957 don't ask about the reporting config thing more than once 5 years ago
Jesse Duffield eea087c1db add PromptToReturn config option 5 years ago
Jesse Duffield e220bedc79 support actual mouse support and focusing the main view 5 years ago
Jesse Duffield 405bb85ed0 support clicking on tabs 5 years ago
Jesse Duffield 0e76f61359 allow click events in menu 5 years ago
Jesse Duffield 7025468f43 allow clicking on frame edges 5 years ago
Jesse Duffield c3ec4b15ad add in donate button again 5 years ago
Jesse Duffield dcb8b3329f fix up click events on list panels 5 years ago
Jesse Duffield 8b99753ab8 fix keybinding error in menu panel on close 5 years ago
Jesse Duffield 2ef5edcf89 switch to yaml fork so that we can view omitEmpty yaml fields when printing the config 5 years ago
Jesse Duffield f3491cf13f allow y/n to respond to confirmation prompts 5 years ago
Jesse Duffield b644249d0e show lazydocker config in about tab 5 years ago
Jesse Duffield 3105c03bbe add '?' keybinding to view keybindings for a panel 5 years ago
Jesse Duffield 02753cee61 create config if it does not exist 5 years ago
Jesse Duffield b9bf469695 use one-off label to determine whether a container is bound to a service 5 years ago
Jesse Duffield f34c7b9058 close goEvery goroutines when switching to a subprocess 5 years ago
Jesse Duffield 8242bd279a show ports at top of container config 5 years ago
Jesse Duffield 83b6cd7e27 rename to RefreshImages 5 years ago
Jesse Duffield 799245da38 update keybindings 5 years ago
Jesse Duffield e361a42995 update config docs 5 years ago
Jesse Duffield ee688746f0 more 5 years ago
Jesse Duffield 014dce909c no more separate code paths for tty container logs 5 years ago
Jesse Duffield 00f05ae012 fixup inspect container struct 5 years ago
Jesse Duffield 7bd7eed2a3 add donate link back in 5 years ago
Jesse Duffield f2da6dca3b appease gofmt 5 years ago
Jesse Duffield 5ab4ef6f8c support docker daemon going down randomly 5 years ago
Jesse Duffield 4c916477ba refactor 5 years ago
Jesse Duffield 1bf9c47438 fixup layout origin/cursor changing 5 years ago
Jesse Duffield 55894b4a5e test 5 years ago
Jesse Duffield e3da07d0b2 better tasking 5 years ago
Jesse Duffield 383f8a51e3 move goroutine call into the NewTask function 5 years ago
Jesse Duffield 97ce1f14d5 use since instead of tail in log args 5 years ago
Jesse Duffield 344c72f91a allow showing TOP of a container/service 5 years ago
Jesse Duffield 2474c0b34e support custom commands in services and containers panel 5 years ago
Jesse Duffield 90a04add32 fix up log config commands 5 years ago
Jesse Duffield 3e49e299b9 better support for custom commands 5 years ago
Jesse Duffield b02c92da33 support running in non-docker-compose context 5 years ago
Jesse Duffield 87c6208577 add volumes panel 5 years ago
Jesse Duffield 84090bcb94 support viewing docker compose config from status panel 5 years ago
Jesse Duffield d81c407dd2 allow for viewing logs in both status and containers panel 5 years ago
Jesse Duffield da645cf173 allow viewing container config in services panel 5 years ago
Jesse Duffield 1246ac1ad3 visually display context tabs 5 years ago
Jesse Duffield 6cc6f61ad1 Speed up startup time
Currently the thing most slowing down startup is calling docker-compose config --hash="*"
Even calling docker-compose config --services, which only returns service names, takes
about half a second. So that's the main bottleneck. We could try and directly obtain the
service names, but we'd then need to have our own algorithm for composing all the
docker-compose files being used, and that gives us more stuff to maintain
5 years ago
Jesse Duffield 5d55939719 clean some things up 5 years ago
Jesse Duffield b65df625f4 much more stuff 5 years ago
Jesse Duffield 9a5a01dfbd fix up rebuild container logic 5 years ago
Jesse Duffield 3bcef6d88c support custom container names 5 years ago
Jesse Duffield a27b429807 allow config option to only show standalone containers 5 years ago
Jesse Duffield 61a10f5cc7 return to the same panel after switching to a subprocess 5 years ago
Jesse Duffield 71f05ff80a more 5 years ago
Jesse Duffield 7e45881dc3 a lot of change 5 years ago
Jesse Duffield 07a01d2511 test 5 years ago
Jesse Duffield 1f5df32141 WIP streaming commands 5 years ago
Jesse Duffield 129c9bbe9e type the translations 5 years ago
Jesse Duffield 5d40c084a5 WIP 5 years ago
Jesse Duffield 53844b2d7b show logs from two hours ago 5 years ago
Jesse Duffield 1b834401ed switch to fork of asciigraph 5 years ago
Jesse Duffield c55e83aeaa support custom commands and do minor refactor 5 years ago
Jesse Duffield 645f588cb1 focus on current line after returning from subprocess 5 years ago
Jesse Duffield 365096d5b0 subprocesses that can be safely interrupted 5 years ago
Jesse Duffield f0f96de2b5 WIP on subprocesses 5 years ago
Jesse Duffield 54a5890485 move cursor when a service moves 5 years ago
Jesse Duffield 113abbf59b remove log 5 years ago
Jesse Duffield 2f57561c40 more use of waiting statuses 5 years ago
Jesse Duffield 1ed796eb32 send stderr to the main view as well 5 years ago
Jesse Duffield 02b735e011 minor fixups 5 years ago
Jesse Duffield a017067824 allow setting maximum duration on the graph 5 years ago
Jesse Duffield 69b11cbfd2 add new ticker task convenience function 5 years ago
Jesse Duffield 28b488b740 configurable graphs 5 years ago
Jesse Duffield 5bf1a40d2f more progress 5 years ago
Jesse Duffield 3cfa4a2bda more stuff 5 years ago
Jesse Duffield 159a1883e5 fix this insane CPU usage issue 5 years ago
Jesse Duffield 46d27c477e support writing back config values to user config 5 years ago
Jesse Duffield 664058d5f0 make config type safe 5 years ago
Jesse Duffield fdc36903ac more progress 5 years ago
Jesse Duffield aa55ff1a8e more progress 5 years ago
Jesse Duffield b2e60e1914 more progress 5 years ago
Jesse Duffield e5ccc673d9 more progress 5 years ago
Jesse Duffield d3ea878fc4 more progress 5 years ago
Jesse Duffield f0ffdcd81f more progress 5 years ago
Jesse Duffield 88758de164 progress on attaching properly 5 years ago
Jesse Duffield 2e9a80fe6c lots of changes 5 years ago
Jesse Duffield 2f1c246fd7 add image history when listing images 5 years ago
Jesse Duffield 15bd991560 support pruning images 5 years ago
Jesse Duffield 4fe26f4f88 add images panel 5 years ago
Jesse Duffield 1488bfbcd4 separate refreshing of container panel from refreshing of main view using a key based on container id and context name 5 years ago
Jesse Duffield cf8e1f0195 support attaching to containers 5 years ago
Jesse Duffield 9ad6181420 more progress 5 years ago
Jesse Duffield 4a76f7b65e more keybindings 5 years ago
Jesse Duffield 52ec56289a move model specific code to model file 5 years ago
Jesse Duffield f06279a5e3 use provided config struct for removing containers 5 years ago
Jesse Duffield d0fffd8bca fix issue with padding colored strings 5 years ago
Jesse Duffield 2d858955e6 more progress 5 years ago
Jesse Duffield bfa4d24810 remove commented out code 5 years ago
Jesse Duffield 8c34a5d9f7 more progress 5 years ago
Jesse Duffield 88b46a79fe add graphs 5 years ago
Jesse Duffield 1585b30904 more progress 5 years ago
Jesse Duffield 6bbd22bb8d remove unnecessary logging 5 years ago
Jesse Duffield d3eea00139 more progess 5 years ago
Jesse Duffield 736e168adc bump dependencies 5 years ago
Jesse Duffield 8c5c83cdf2 show logs of selected containers 5 years ago
Jesse Duffield 09eaab23f4 more progress 5 years ago
Jesse Duffield cf5ec17197 repurpose lazygit code 5 years ago