Commit graph

733 commits

Author SHA1 Message Date
Carlos Alexandro Becker
fe066f2140
feat: allow config from CHARM_CONFIG_HOME and XDG_CONFIG_HOME (#621)
* feat: allow config from CHARM_CONFIG_HOME

closes #594
closes #495
closes #328
closes #475

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: improvements on config handling

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* chore: log

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-08 22:33:49 -03:00
Carlos Alexandro Becker
b1d377237d
feat: add 'r' to refresh list and document (#624)
* feat: add 'r' to refresh list

closes #416

Co-authored-by: Dieter Eickstaedt <eickstaedt@deicon.de>

* feat: refresh document

Closes #501

Co-authored-by: fedeztk <federicoserranexus@gmail.com>

---------

Co-authored-by: Dieter Eickstaedt <eickstaedt@deicon.de>
Co-authored-by: fedeztk <federicoserranexus@gmail.com>
2024-07-08 16:15:08 -03:00
haennes
0a7db86725
docs: use nix-shell as nix-env -iA is bad practice (#622) 2024-07-08 11:19:02 -03:00
Carlos Alexandro Becker
f1cf0ba785
feat: man pages
closes #269
2024-07-03 13:59:11 -03:00
Carlos Alexandro Becker
d7032fe57f
feat: shell completions
closes #533
closes #546
closes #512
2024-07-03 13:41:11 -03:00
Carlos Alexandro Becker
821d51da13
fix: do not show absolute path as note 2024-07-03 13:36:17 -03:00
Carlos Alexandro Becker
dbfcc27dad
chore: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 13:27:07 -03:00
Carlos Alexandro Becker
380f71086c
Merge remote-tracking branch 'origin/master' 2024-07-03 13:26:53 -03:00
Aitva
08c564c858
fix: --all bypass .gitignore rules (#285) (#504)
* feat(deps): bump github.com/muesli/gitcha from 0.2.0 to 0.3.0

* fix: --all bypass .gitignore rules (#285)

* Update ui/ui.go

---------

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 13:19:19 -03:00
Carlos Alexandro Becker
e31dc2c890
Merge remote-tracking branch 'origin/master' 2024-07-03 13:16:12 -03:00
Carlos Alexandro Becker
8e51396575
fix: check other possible readme paths/branches (#450)
* fix: check other possible readme paths/branches

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: url

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: Readme.md

---------

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2024-07-03 13:09:20 -03:00
rustfix
f3d0cb89da
chore: fix typo in comment (#607)
Signed-off-by: rustfix <771054535@qq.com>
2024-07-03 13:06:57 -03:00
Carlos Alexandro Becker
7e471f1787
fix: lint issue
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 13:05:46 -03:00
dependabot[bot]
3ee20895b1
chore(deps): bump github.com/charmbracelet/glamour from 0.6.0 to 0.7.0 (#600)
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases)
- [Commits](https://github.com/charmbracelet/glamour/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 12:26:38 -03:00
dependabot[bot]
c47e2acd30
chore(deps): bump golangci/golangci-lint-action from 4 to 6 (#612)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-03 12:26:01 -03:00
Carlos Alexandro Becker
fce3edf7db
feat!: cleanup and updated (#619)
* feat!: cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* more cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: more cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: more cleanup

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-07-03 12:11:29 -03:00
Ayman Bagabas
d2e7742a6a
chore(ci): enable gofumpt 2024-05-22 11:48:31 -04:00
Maas Lalani
2430b0af3f Create CODEOWNERS 2024-02-28 21:01:19 -05:00
dependabot[bot]
cece1377cd
chore(deps): bump github.com/mattn/go-runewidth from 0.0.14 to 0.0.15 (#576)
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.14 to 0.0.15.
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.14...v0.0.15)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:59:38 -05:00
dependabot[bot]
feefb88e70
chore(deps): bump github.com/spf13/cobra from 1.6.1 to 1.8.0 (#577)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.1 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.6.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:59:24 -05:00
dependabot[bot]
ec12c2717d
feat(deps): bump golang.org/x/sys from 0.15.0 to 0.17.0 (#570)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/sys/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:59:13 -05:00
dependabot[bot]
f1437fce69
chore(deps): bump github.com/dustin/go-humanize (#575)
Bumps [github.com/dustin/go-humanize](https://github.com/dustin/go-humanize) from 1.0.1-0.20200219035652-afde56e7acac to 1.0.1.
- [Commits](https://github.com/dustin/go-humanize/commits/v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/dustin/go-humanize
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:54:52 -05:00
dependabot[bot]
79c39932fb
chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#572)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:54:32 -05:00
dependabot[bot]
64cc6a6baa
chore(deps): bump actions/checkout from 3 to 4 (#574)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:54:24 -05:00
dependabot[bot]
8221279fa3
chore(deps): bump actions/setup-go from 4 to 5 (#573)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:54:12 -05:00
Ayman Bagabas
dd035fb441
chore(ci): change dependabot pr's title 2024-02-13 12:43:41 -05:00
dependabot[bot]
d9bb637f5e
feat(deps): bump github.com/charmbracelet/bubbletea (#567) 2024-02-13 12:37:42 -05:00
dependabot[bot]
6d86484b5e
feat(deps): bump golang.org/x/net from 0.12.0 to 0.17.0 (#568)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:08:10 -05:00
dependabot[bot]
2b91a93645
feat(deps): bump golang.org/x/crypto from 0.11.0 to 0.17.0 (#569)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.11.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.11.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 12:00:18 -05:00
Ayman Bagabas
bccf3d0cb7
fix(ci): update coverage workflow 2024-02-13 11:51:30 -05:00
K.B.Dharun Krishna
1eacfb4ff1
docs: add Winget to Windows Install Options (#500)
* README: add Winget to Windows Install Options

* Update README.md

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-12-07 09:19:20 -03:00
Carlos Alexandro Becker
c991ec475d
feat: use x/editor (#543)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-11-17 09:02:52 -03:00
Carlos Alexandro Becker
54dd62a2a4
fix: handle running inside a snap (#527)
* fix: handle running inside a snap

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* test: fixes

* docs: improve error message

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: bashbunni <bunni@bashbunni.dev>
2023-08-28 09:05:12 -03:00
Lars Müller
9a3f7a19cb
fix: replace string concatenation in loop with string builder (#505) 2023-08-24 13:52:15 -03:00
Carlos Alexandro Becker
f0734709f0 feat(deps): update some dependencies
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-13 14:47:06 +02:00
bashbunni
58ec351692
docs: add issue template (#486)
* docs: add issue template

* chore(template): add locale
2023-05-23 11:57:58 -07:00
Ayman Bagabas
9c79fa1b48
fix(ci): remove soft-serve workflow 2023-05-12 14:08:04 -04:00
Carlos Alexandro Becker
8aed0d9092
docs: update license
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-05-11 12:38:59 +00:00
Christian Muehlhaeuser
ad21129703 chore: bump charm dep 2023-05-09 11:16:02 +02:00
Christian Muehlhaeuser
8c80ea5f67 fix: lazily init UI 2023-05-09 11:16:02 +02:00
dependabot[bot]
4a3d98697b chore(deps): bump actions/setup-go from 3 to 4
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 11:04:01 +01:00
Kian-Meng Ang
442bc281c3 docs: fix typos
Found via `typos --format brief`
2023-03-02 22:22:16 -05:00
Carlos Alexandro Becker
c1483664d5
fix: do not use deprecated func (#451)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-24 15:02:10 -03:00
Carlos Alexandro Becker
8b5468468a
fix: improve editor handling (#449)
* fix: improve editor handling

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* test: add tests

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-24 14:51:11 -03:00
Carlos Alexandro Becker
0325be3670
fix: rm emoji from package description (#453) 2023-01-24 14:17:47 -03:00
WieeRd
19732a6303 fix: support hard line breaks (charmbracelet#212) 2023-01-23 17:41:06 +01:00
Christian Rocha
6543979ed1 fix: performance scrolling
This update fixes performance scrolling by way of the latest Bubbles
release: v0.15.0.
2023-01-20 11:55:40 -05:00
Maas Lalani
071783d907
feat: copy contents of document (#439)
* feat: copy contents of document

Co-authored-by: bashbunni <bash@charm.sh>

* fix: use atotto/clipboard for copying

Co-authored-by: bashbunni <bash@charm.sh>
2023-01-20 11:06:02 -05:00
Maas Lalani
6ba2683628
Show edit help when editable (#442)
* fix: only show edit help on pager when editable

* fix: only allow `LocalDoc`s to be edited

* feat: show e • edit help when document is editable
2023-01-19 14:13:41 -05:00
Justin Moser
dd1593b10d Keybindings for editing the document from the pager 2023-01-06 13:37:21 -05:00