Commit Graph

33 Commits

Author SHA1 Message Date
Peter Steinberger
12ae888e1c fix: only override device platform when set (#4) (thanks @zats) 2026-01-23 04:08:09 +00:00
Sash Zats
4ff90cac97 Add linked device label 2026-01-23 04:07:20 +00:00
Peter Steinberger
d3bf6fefe1
Merge pull request #5 from zats/display-text
Add display text for reactions, replies, media types
2026-01-23 02:04:22 +00:00
Peter Steinberger
ed1ca55d49 fix: add changelog entry for send filename (#7) (thanks @plattenschieber) 2026-01-23 01:54:54 +00:00
Peter Steinberger
5ef1a52586
Merge pull request #7 from plattenschieber/feature/add-filename-flag
feat: add --filename flag to override display name when sending files
2026-01-23 01:53:18 +00:00
Peter Steinberger
b5daa57cc0 fix: preserve CGO_CFLAGS in build script (#8) (thanks @ramarivera) 2026-01-23 01:50:03 +00:00
Peter Steinberger
75d649ee2a
Merge pull request #8 from ramarivera/fix/gcc15-cgo-werror
fix: add CGO_CFLAGS for GCC 15+ compatibility
2026-01-23 01:48:31 +00:00
Peter Steinberger
8783647471 ci: add multi-os release workflow 2026-01-23 00:49:33 +00:00
Peter Steinberger
52d05a0a21 docs: add changelog 2026-01-23 00:15:18 +00:00
Ramiro Rivera
6c764ac7d0 fix: add CGO_CFLAGS for GCC 15+ compatibility
- package.json

GCC 15+ with glibc 2.42+ treats pthread initializer patterns in Go's
runtime/cgo as errors due to stricter -Werror + brace checking.

Add -Wno-error=missing-braces to CGO_CFLAGS in the build script to
allow builds on modern Linux distros (CachyOS, Fedora 42+, Arch, etc.)
while preserving other warning-as-error checks.
2026-01-22 02:46:43 +01:00
Jeronim
aa07a0dabe fix: use filePath for MIME detection instead of display name
Keep MIME detection independent of --filename override.
The display name should only affect what the recipient sees,
not how the file is handled (image/video/document routing).
2026-01-22 01:23:21 +00:00
Jeronim
aa82566c67 feat: add --filename flag to override display name when sending files
When sending files via 'wacli send file', the displayed filename was
derived from the file path using filepath.Base(). This caused issues
when the file was stored in a temporary location with a non-descriptive
name (e.g., '/tmp/abc123' would display as 'abc123').

This commit adds a new --filename flag that allows callers to explicitly
specify the display name for the file, independent of the actual file path.
If --filename is not provided, the behavior falls back to using the
basename of the --file path.

Example usage:
  wacli send file --to +1234567890 --file /tmp/abc123 --filename report.pdf
2026-01-22 01:14:05 +00:00
Sash Zats
85e2e98456 Add display text for reactions and replies 2026-01-10 18:54:22 -05:00
Peter Steinberger
61eaf91b20 chore: update copyright year to 2026 2026-01-01 14:23:00 +01:00
Nitin Alabur
c5b84fe1d9 docs: clarify Homebrew vs local build installation steps
Update README Install / Build section to explicitly state that Homebrew installation and local build are alternative options and clarify that the run command is for local build only.
2025-12-27 12:41:41 +01:00
Peter Steinberger
cf240f3fb7 Fix release workflow for CGO builds
Some checks failed
Release / goreleaser (push) Has been cancelled
2025-12-12 19:09:42 +00:00
Peter Steinberger
d9a1db2e56 README: document install/build
Some checks failed
Release / goreleaser (push) Has been cancelled
2025-12-12 19:03:32 +00:00
Peter Steinberger
435d9863e5 Increase app test coverage with injectable WA client 2025-12-12 18:23:12 +00:00
Peter Steinberger
6038f64eaa Add on-demand history backfill command 2025-12-12 18:00:30 +00:00
Peter Steinberger
47f9818765 pnpm: run wacli via built binary 2025-12-12 15:47:14 +00:00
Peter Steinberger
36e7c0c1ce Tests: prevent event handler lock deadlock regression 2025-12-12 15:43:15 +00:00
Peter Steinberger
a4b0c07686 Fix auth hang: avoid event handler lock deadlock 2025-12-12 15:35:23 +00:00
Peter Steinberger
b660ddcd9f chore: bump dependencies 2025-12-12 15:30:16 +00:00
Peter Steinberger
9999bb5e32 Tests: raise coverage for store and parsers 2025-12-12 15:27:52 +00:00
Peter Steinberger
bfbffdfa29 README: link prior art 2025-12-12 15:20:34 +00:00
Peter Steinberger
69d21abf47 Docs: fix pnpm wacli invocation 2025-12-12 15:10:16 +00:00
Peter Steinberger
bd711fc164 CI: setup pnpm via corepack (no cache) 2025-12-12 15:00:35 +00:00
Peter Steinberger
caa2eb2d98 Add pnpm scripts and run via CI 2025-12-12 14:59:48 +00:00
Peter Steinberger
42b98e27f0 Fix gitignore and add missing packages 2025-12-12 14:53:43 +00:00
Peter Steinberger
aad04a9992 Tests: stabilize lock cross-process check 2025-12-12 14:50:49 +00:00
Peter Steinberger
b3919eca13 CI: split steps and install build deps 2025-12-12 14:47:55 +00:00
Peter Steinberger
8b725754b3 Add whatsmeow-based wacli + CI 2025-12-12 14:22:40 +00:00
Peter Steinberger
387a201a33
Initial commit 2025-12-12 12:43:35 +00:00