Commit graph

702 commits

Author SHA1 Message Date
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
Nils Leif Fischer ff59ead353 Extend example how to read from stdin 2023-01-06 13:29:12 -05:00
dependabot[bot] b9f519e1ea feat(deps): bump github.com/charmbracelet/bubbletea
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v0.23.0...v0.23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 13:19:12 -05:00
dependabot[bot] 5b43697cb3 feat(deps): bump golang.org/x/text from 0.4.0 to 0.6.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.4.0 to 0.6.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.4.0...v0.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 13:18:06 -05:00
Maas Lalani d9bf3b8ee8 fix: don't close HTTP body 2022-12-19 18:09:17 -05:00
Carlos A Becker 9f110c304b
docs: update license year
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-05 14:49:35 -03:00
Maas Lalani a07fdb73f0 feat(ui): e to open edit local markdown files in editor
Introduce key binding to allow users to open their `EDITOR` to edit local markdown files in stash and pager view.
2022-11-23 09:40:07 -05:00
Christian Muehlhaeuser 400f3f8e1f chore: disable dependabot timer 2022-11-18 02:23:00 +01:00
Carlos A Becker 4dd3ba1d3c chore: fmt & lint issues 2022-11-11 02:14:26 +01:00
Carlos A Becker 60d98a01e5 feat: bump deps 2022-11-11 02:14:26 +01:00
Christian Rocha db7f49b445 Bump Bubbles to v0.14.0, update accordingly, and simplify spinners
* Re-implement spinner min/max lifetimes in pager
* Remove generalized spin commands in favor of model-level commands
* Update textinput, viewport, and spinner constructors
2022-11-11 02:14:26 +01:00
Christian Rocha 9c9b3e6087 Bump Bubble Tea, Bubbles, Glamour, Lip Gloss, and Termenv and do related updates
This update also removes any usage of the charm/common package

Co-authored-by: Christian Rocha <christian@rocha.is>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-11 02:14:26 +01:00
Carlos A Becker d2870afb3d chore: go 1.16
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-11 02:14:26 +01:00
Ayman Bagabas dec59a2199
feat(ci): use config files from meta repo (#389)
* chore: bump cobra & viper

* feat(ci): use config files from meta repo

* publish docker images
* generate shell completions
* generate man pages

* feat(ci): use shared workflows from meta repo
2022-10-26 16:05:52 -03:00
Carlos Alexandro Becker 5f14914b7e
fix: editor with args (#364)
* fix: editor with args

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

* Update config_cmd.go

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-25 15:35:12 -03:00
Christian Muehlhaeuser 44b078e44a
docs: new readme footer (#396) 2022-10-25 15:26:53 -03:00
dependabot[bot] 74b70644ba
chore(deps): bump actions/setup-go from 2 to 3 (#405)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 15:01:50 -03:00
dependabot[bot] 8eede63988
chore(deps): bump goreleaser/goreleaser-action from 2 to 3 (#402)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 15:01:26 -03:00
dependabot[bot] 06f85dda9a
chore(deps): bump golangci/golangci-lint-action from 2 to 3 (#401)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 15:01:12 -03:00
dependabot[bot] 7486c604d7
chore(deps): bump actions/checkout from 2 to 3 (#400)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 15:00:48 -03:00
Carlos A Becker 5e24b49e3e
chore: dependabot
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-25 14:59:44 -03:00
Carlos A Becker 1e8666011b
docs: fix missing commas
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-10-25 11:07:35 -03:00
Ayman Bagabas 580642af8b
docs: apt-key deprecation
Use the recommended keyrings path /etc/apt/keyrings

Per: https://manpages.debian.org/unstable/apt/apt-key.8.en.html#DEPRECATION
2022-10-17 16:48:40 -04:00
Ayman Bagabas 1237ee6bf0
docs: update apt/yum installation instructions 2022-10-06 17:20:45 -04:00
Jon Austin 3607b402a6
docs: streamline install instructions (#308)
* update to mimic the melt readme

Add a note to just use `go install` for installation.
2022-09-24 17:47:35 -07:00
Christopher Murphy e0d667a48c fix: use filepath.Dir instead of path.Dir
Use the `filepath` implementation of `Dir` instead of `path`. Resolve
path resolution with Windows paths containing `\\` separators.
2022-09-16 11:42:22 +02:00
Christian Muehlhaeuser 7f810bfc9f docs: add Chocolatey install instructions to README 2022-09-10 04:26:52 +02:00
tploss e078953667 Remove exit message
As already discussed in https://github.com/charmbracelet/glow/issues/329
the exit message can be a bit irritating, especially when integrating
glow into scripts/etc.
PR https://github.com/charmbracelet/glow/pull/331 did more than just
remove the exit message but was since closed by the requestor.
2022-07-12 12:16:45 +02:00
Carlos Alexandro Becker 01d9858f7c
fix: goreleaser workflow (#358)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-07-08 15:30:10 -03:00
Ayman Bagabas 84b2e5bc42 docs: add apt/yum repos to readme 2022-07-08 14:25:58 -04:00
Carlos Alexandro Becker c75609322f
feat(deps): update cobra and viper (#346)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-26 16:35:24 -03:00
Ayman Bagabas b36e5ad810
feat: sync glow with git.charm.sh 2022-01-24 17:11:42 -05:00