Skip to content
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

New Features + Bug Patch #13

Open
wants to merge 284 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
3a605ae
Update go.yml
Labfox Aug 13, 2024
e0c9a37
Update go.yml
Labfox Aug 13, 2024
b78ab9d
Update and rename go.yml to build.yml
Labfox Aug 13, 2024
fb8e89e
New build
Labfox Aug 13, 2024
1e5ef47
Added auto-build for windows and macos
Labfox Aug 13, 2024
500fe3c
Create __init__.py
Labfox Aug 13, 2024
ffd3209
Update build.yml
Labfox Aug 13, 2024
22765dd
Update build.yml
Labfox Aug 13, 2024
166eaf0
New build
Labfox Aug 13, 2024
8a7da74
Update build.yml
Labfox Aug 13, 2024
2573941
New build
Labfox Aug 13, 2024
17526fe
Update build.yml
Labfox Aug 13, 2024
0698f14
New build
Labfox Aug 13, 2024
9c77001
Update build.yml
Labfox Aug 13, 2024
68592cc
New build
Labfox Aug 13, 2024
bb3ed72
Update build.yml
Labfox Aug 13, 2024
ba8d0e4
New build
Labfox Aug 13, 2024
bd1f91e
New build
Labfox Aug 13, 2024
633f149
Update build.yml
Labfox Aug 13, 2024
8f61aa9
New build
Labfox Aug 13, 2024
276ed6b
New build
Labfox Aug 13, 2024
3e1acad
chore: refactoring + updated dependencies + removed useless files + a…
Labfox Aug 13, 2024
9ad092d
New build
Labfox Aug 13, 2024
1bd464f
New build
Labfox Aug 13, 2024
a150b65
Create dependabot.yml
Labfox Aug 13, 2024
4e584c8
New build
Labfox Aug 13, 2024
60d544f
New build
Labfox Aug 13, 2024
b7086de
chore: updated a bit the github action
Labfox Aug 13, 2024
f7c031e
New build for GITHUB_SHA
actions-user Aug 13, 2024
9d2886b
New build for GITHUB_SHA
actions-user Aug 13, 2024
e8b7c90
docs: added a little warning
Labfox Aug 13, 2024
34f2419
New build for e8b7c90b33fbaf55dd2051cb643398127386bffe
actions-user Aug 13, 2024
a7b6366
New build for e8b7c90b33fbaf55dd2051cb643398127386bffe
actions-user Aug 13, 2024
de71ec6
chore: removed unwanted verbosity and replaced with events or proper …
Labfox Aug 14, 2024
31f6d73
New build for de71ec62360b7898e95088f90537ccde35cf0a08 on Linux
actions-user Aug 14, 2024
27b6965
New build for de71ec62360b7898e95088f90537ccde35cf0a08 on MacOs
actions-user Aug 14, 2024
bcdc948
patch: made sure the install doesn't crash if go is unavailable
Labfox Aug 14, 2024
ca36756
New build for bcdc9487b5c7a321e0b5f3f7c8b9ce3c2ec27797 on Linux
actions-user Aug 14, 2024
c71926b
New build for bcdc9487b5c7a321e0b5f3f7c8b9ce3c2ec27797 on MacOs
actions-user Aug 14, 2024
d18b3af
feat: Create group invite and join group with invite
Labfox Aug 14, 2024
0eecbdd
New build for d18b3aff12d4044cad9d63548b734f3cba6f37ba on Linux
actions-user Aug 14, 2024
72e71c8
New build for d18b3aff12d4044cad9d63548b734f3cba6f37ba on MacOs
actions-user Aug 14, 2024
725b85a
Update README.md
Labfox Aug 15, 2024
1001900
New build for 725b85ac750c9d4ef8c5b0551d9d85833487eadd on Linux
actions-user Aug 15, 2024
cddcb6c
New build for 725b85ac750c9d4ef8c5b0551d9d85833487eadd on MacOs
actions-user Aug 15, 2024
cfe66e7
Bump ruff from 0.5.7 to 0.6.0
dependabot[bot] Aug 16, 2024
e25bb6c
Merge pull request #7 from Labfox/dependabot/pip/ruff-0.6.0
Labfox Aug 16, 2024
a256e4a
New build for e25bb6c104bf3d44b5736010a70c34b42882ea70 on Linux
actions-user Aug 16, 2024
532979f
New build for e25bb6c104bf3d44b5736010a70c34b42882ea70 on MacOs
actions-user Aug 16, 2024
7bc09dd
Update build.yml
Labfox Aug 16, 2024
7d563ae
Bump ruff from 0.6.0 to 0.6.1
dependabot[bot] Aug 19, 2024
0c7611b
Bump setuptools from 72.2.0 to 73.0.1
dependabot[bot] Aug 21, 2024
a312e62
Merge pull request #10 from Labfox/dependabot/pip/setuptools-73.0.1
Labfox Aug 21, 2024
748bbc0
Merge pull request #8 from Labfox/dependabot/pip/ruff-0.6.1
Labfox Aug 21, 2024
b2fd536
Update dependabot.yml
Labfox Aug 21, 2024
24a48a0
Bump ruff from 0.6.1 to 0.6.2
dependabot[bot] Aug 23, 2024
7664239
Bump pytest-asyncio from 0.23.8 to 0.24.0
dependabot[bot] Aug 23, 2024
6790a3c
Merge pull request #12 from Labfox/dependabot/pip/pytest-asyncio-0.24.0
Labfox Aug 23, 2024
d7b3850
Merge pull request #11 from Labfox/dependabot/pip/ruff-0.6.2
Labfox Aug 23, 2024
7044dbd
feat: update autobuild + enhance event system + automatise event thre…
Labfox Aug 25, 2024
138613d
chore: fix ci/cd
Labfox Aug 25, 2024
588a82b
Update dependabot.yml
Labfox Aug 25, 2024
d9db7e2
Fix CI/CD
Labfox Aug 25, 2024
a562750
feat: Group settings modification
Labfox Aug 25, 2024
9b290b7
New build for a5627505451a84ef72a2924a54dd911322a628ce on Linux
actions-user Aug 25, 2024
931aa3a
chore: bump version
Labfox Aug 25, 2024
d290aba
chore: fix version build
Labfox Aug 25, 2024
b34a006
New build for d290aba37b68e4f4dcb306b9de9503e71be44c71 on Linux
actions-user Aug 25, 2024
9f69305
New build for d290aba37b68e4f4dcb306b9de9503e71be44c71 on MacOs
actions-user Aug 25, 2024
de2cccc
chore: setup.py update
Labfox Aug 25, 2024
41c5db3
Bump watchdog from 4.0.2 to 5.0.0
dependabot[bot] Aug 27, 2024
e0f94e1
Merge pull request #14 from Labfox/dependabot/pip/watchdog-5.0.0
Labfox Aug 27, 2024
36a8be4
feat: add protobuf-sending of messages
Labfox Aug 27, 2024
f315a21
New build for 36a8be44429be0ca53e7dd629b4802026da958f7 on Linux
actions-user Aug 27, 2024
a3ab795
New build for 36a8be44429be0ca53e7dd629b4802026da958f7 on MacOs
actions-user Aug 27, 2024
c51eb30
Bump protobuf from 5.27.3 to 5.27.4
dependabot[bot] Aug 28, 2024
a81b7ab
Merge pull request #15 from Labfox/dependabot/pip/protobuf-5.27.4
Labfox Aug 28, 2024
4adde82
feat: better docs
Labfox Aug 28, 2024
078803f
Create mkdocs.yml
Labfox Aug 28, 2024
39eac11
trying patch of mkdocs
Labfox Aug 28, 2024
6d11ea4
trying patch of mkdocs
Labfox Aug 28, 2024
0e6b0f5
even better docs
Labfox Aug 28, 2024
5c08918
Bump protobuf from 5.27.4 to 5.28.0
dependabot[bot] Aug 29, 2024
ca2acf5
feature: New event on media download
Labfox Aug 29, 2024
cc2f7cd
New build for ca2acf5d554b0c85c25700ac00293d455a99bda8 on Linux
actions-user Aug 29, 2024
c726d19
New build for ca2acf5d554b0c85c25700ac00293d455a99bda8 on MacOs
actions-user Aug 29, 2024
49d0a2f
bump version to 0.1.3
Labfox Aug 29, 2024
401509e
Merge pull request #17 from Labfox/dependabot/pip/protobuf-5.28.0
Labfox Aug 29, 2024
95d649e
Update README.md
Labfox Aug 29, 2024
aa2b7f9
Bump ruff from 0.6.2 to 0.6.3
dependabot[bot] Aug 30, 2024
806f192
Merge pull request #19 from Labfox/dependabot/pip/ruff-0.6.3
Labfox Aug 30, 2024
4f906bf
Refactoring + license update
Labfox Aug 30, 2024
9866e07
Bump mkdocs from 1.6.0 to 1.6.1
dependabot[bot] Sep 2, 2024
e00a660
Bump mkdocstrings from 0.25.2 to 0.26.0
dependabot[bot] Sep 2, 2024
44c766c
Merge pull request #22 from Labfox/dependabot/pip/mkdocs-1.6.1
Labfox Sep 2, 2024
3c67414
Merge pull request #23 from Labfox/dependabot/pip/mkdocstrings-0.26.0
Labfox Sep 2, 2024
8b0f2c9
Bump mkdocs-material from 9.5.33 to 9.5.34
dependabot[bot] Sep 2, 2024
db4d448
Bump mkdocstrings-python from 1.10.8 to 1.10.9
dependabot[bot] Sep 2, 2024
55f7a85
Merge pull request #21 from Labfox/dependabot/pip/mkdocstrings-python…
Labfox Sep 2, 2024
60395e5
Merge pull request #20 from Labfox/dependabot/pip/mkdocs-material-9.5.34
Labfox Sep 2, 2024
955fd94
Bump watchdog from 5.0.0 to 5.0.2
dependabot[bot] Sep 4, 2024
105973f
Bump mkdocstrings-python from 1.10.9 to 1.11.1
dependabot[bot] Sep 4, 2024
1806c37
Merge pull request #26 from Labfox/dependabot/pip/mkdocstrings-python…
Labfox Sep 4, 2024
1cac7cc
Merge pull request #25 from Labfox/dependabot/pip/watchdog-5.0.2
Labfox Sep 4, 2024
abebda8
Quick inits updates
Labfox Sep 4, 2024
e77ff60
Bump ruff from 0.6.3 to 0.6.4
dependabot[bot] Sep 6, 2024
d4b4ad2
Merge pull request #29 from Labfox/dependabot/pip/ruff-0.6.4
Labfox Sep 6, 2024
5fe591e
Bump mkdocstrings from 0.26.0 to 0.26.1
dependabot[bot] Sep 9, 2024
1d1ece9
Bump modernc.org/sqlite from 1.32.0 to 1.33.0 in /whatsfly/dependencies
dependabot[bot] Sep 9, 2024
39db90c
Merge pull request #32 from Labfox/dependabot/go_modules/whatsfly/dep…
Labfox Sep 10, 2024
a1d968b
Merge pull request #31 from Labfox/dependabot/pip/mkdocstrings-0.26.1
Labfox Sep 10, 2024
1aa4963
Created feature flags module.
Labfox Sep 10, 2024
0a05f65
Bump pytest from 8.3.2 to 8.3.3
dependabot[bot] Sep 11, 2024
9e81308
Merge pull request #33 from Labfox/dependabot/pip/pytest-8.3.3
Labfox Sep 11, 2024
e614509
Unit tests
Labfox Sep 11, 2024
f8c224e
GH Actions
Labfox Sep 11, 2024
74d0b2a
GH Actions
Labfox Sep 11, 2024
b9c97e3
GH Actions
Labfox Sep 11, 2024
9dd12de
GH Actions
Labfox Sep 11, 2024
2039a57
GH Actions
Labfox Sep 11, 2024
3e1c538
GH Actions
Labfox Sep 11, 2024
d31a064
GH Actions
Labfox Sep 11, 2024
25c0d1b
GH Actions
Labfox Sep 11, 2024
0527c96
Update GitHub downloading of binaries
Labfox Sep 11, 2024
13d50e0
Update GitHub downloading of binaries
Labfox Sep 11, 2024
f3bb32d
Fighting against github
Labfox Sep 11, 2024
2ec2bd6
Fighting against github
Labfox Sep 11, 2024
863c011
Add event for #30
Labfox Sep 11, 2024
dcff8b7
Updated dependencies, linted go code and added a tried to manually se…
Labfox Sep 11, 2024
f964c40
Bump protobuf from 5.28.0 to 5.28.1
dependabot[bot] Sep 12, 2024
4946b59
Merge pull request #35 from Labfox/dependabot/pip/protobuf-5.28.1
Labfox Sep 12, 2024
a2bb30d
Bump modernc.org/sqlite from 1.33.0 to 1.33.1 in /whatsfly/dependencies
dependabot[bot] Sep 13, 2024
e15cc27
Merge pull request #36 from Labfox/dependabot/go_modules/whatsfly/dep…
Labfox Sep 13, 2024
0c6372a
Bump ruff from 0.6.4 to 0.6.5
dependabot[bot] Sep 16, 2024
0cc790a
Merge pull request #39 from Labfox/dependabot/pip/ruff-0.6.5
Labfox Sep 16, 2024
849761c
Bump types-pyyaml from 6.0.12.20240808 to 6.0.12.20240917
dependabot[bot] Sep 17, 2024
3b13d7f
Merge pull request #40 from Labfox/dependabot/pip/types-pyyaml-6.0.12…
Labfox Sep 18, 2024
e3c6a95
Bump protobuf from 5.28.1 to 5.28.2
dependabot[bot] Sep 19, 2024
74d4f1e
Bump mkdocs-material from 9.5.34 to 9.5.35
dependabot[bot] Sep 19, 2024
68e1003
Recreated the upload system.
Labfox Sep 19, 2024
ea318b1
Merge pull request #42 from Labfox/dependabot/pip/mkdocs-material-9.5.35
Labfox Sep 19, 2024
70ea28f
Merge pull request #41 from Labfox/dependabot/pip/protobuf-5.28.2
Labfox Sep 19, 2024
62d2ee0
Update README.md
Labfox Sep 19, 2024
95f7edd
Now caching uploads before passing them to go. Also added auto-detect…
Labfox Sep 19, 2024
3e783b5
Bump mkdocs-material from 9.5.35 to 9.5.36
dependabot[bot] Sep 23, 2024
946398b
Bump ruff from 0.6.5 to 0.6.7
dependabot[bot] Sep 23, 2024
0696f0e
Merge pull request #44 from Labfox/dependabot/pip/ruff-0.6.7
Labfox Sep 23, 2024
ca0d8f3
Merge pull request #43 from Labfox/dependabot/pip/mkdocs-material-9.5.36
Labfox Sep 23, 2024
b04fad2
Bump mkdocs-material from 9.5.36 to 9.5.37
dependabot[bot] Sep 26, 2024
9011374
Merge pull request #45 from Labfox/dependabot/pip/mkdocs-material-9.5.37
Labfox Sep 26, 2024
a1a8500
Create SECURITY.md
Labfox Sep 26, 2024
1e9ebf3
Bump ruff from 0.6.7 to 0.6.8
dependabot[bot] Sep 27, 2024
d56a699
Bump mkdocs-material from 9.5.37 to 9.5.38
dependabot[bot] Sep 27, 2024
ec40e6e
Merge pull request #47 from Labfox/dependabot/pip/mkdocs-material-9.5.38
Labfox Sep 27, 2024
f5ce70a
Merge pull request #46 from Labfox/dependabot/pip/ruff-0.6.8
Labfox Sep 27, 2024
7b4de7c
Add connection state checks and auto-reconnect on event handler
Labfox Sep 28, 2024
3670e01
Updated whatsmeow
Labfox Sep 28, 2024
38514dc
Trying to fix direct pip install
Labfox Sep 29, 2024
42d4cb3
Bump versions
Labfox Sep 29, 2024
5a6ee48
Fix version bump on actions
Labfox Sep 29, 2024
a694f87
Fix version bump on downloader
Labfox Sep 29, 2024
3c9207a
Add pyproject.toml
Labfox Sep 29, 2024
c6e62ee
Add pyproject.toml
Labfox Sep 29, 2024
3a9dbd8
Fix setup.py
Labfox Sep 29, 2024
c2de6ec
Fix pyproject.toml
Labfox Sep 29, 2024
3803a98
Fix setup.py
Labfox Sep 29, 2024
96cc943
Fix setup.py
Labfox Sep 29, 2024
4f16943
Fix setup.py
Labfox Sep 29, 2024
d13baa9
New fix for pip
Labfox Sep 29, 2024
76b1b7e
New fix for pip
Labfox Sep 29, 2024
bdc7712
New fix for pip
Labfox Sep 29, 2024
0359051
New fix for pip
Labfox Sep 29, 2024
f046852
Better info for pip
Labfox Sep 29, 2024
9a5f1f0
Bump watchdog from 5.0.2 to 5.0.3
dependabot[bot] Sep 30, 2024
cbab27e
Bump mkdocs-material from 9.5.38 to 9.5.39
dependabot[bot] Sep 30, 2024
69b6674
Merge pull request #49 from Labfox/dependabot/pip/watchdog-5.0.3
Labfox Sep 30, 2024
81318ec
Merge pull request #50 from Labfox/dependabot/pip/mkdocs-material-9.5.39
Labfox Sep 30, 2024
ccf066d
Updates
Labfox Sep 30, 2024
fbdb61a
Bump mkdocs-material from 9.5.38 to 9.5.39
dependabot[bot] Oct 1, 2024
c88142a
Bump qrcode from 7.4.2 to 8.0
dependabot[bot] Oct 2, 2024
bef31d0
Merge pull request #51 from Labfox/dependabot/pip/mkdocs-material-9.5.39
Labfox Oct 2, 2024
0b72c9c
Merge pull request #52 from Labfox/dependabot/pip/qrcode-8.0
Labfox Oct 2, 2024
7d78ef7
Bump pre-commit from 3.8.0 to 4.0.0
dependabot[bot] Oct 7, 2024
d6696c3
Bump ruff from 0.6.8 to 0.6.9
dependabot[bot] Oct 7, 2024
e831173
Merge pull request #53 from Labfox/dependabot/pip/pre-commit-4.0.0
Labfox Oct 7, 2024
fb8ec58
Merge pull request #54 from Labfox/dependabot/pip/ruff-0.6.9
Labfox Oct 7, 2024
de6b2f7
Bump black from 24.8.0 to 24.10.0
dependabot[bot] Oct 8, 2024
452030f
Bump vcrpy from 6.0.1 to 6.0.2
dependabot[bot] Oct 8, 2024
b732ead
Bump google.golang.org/protobuf in /whatsfly/dependencies
dependabot[bot] Oct 8, 2024
57a0744
Merge pull request #55 from Labfox/dependabot/pip/black-24.10.0
Labfox Oct 8, 2024
4ebbc59
Merge pull request #56 from Labfox/dependabot/pip/vcrpy-6.0.2
Labfox Oct 8, 2024
b96bd0e
Merge pull request #57 from Labfox/dependabot/go_modules/whatsfly/dep…
Labfox Oct 8, 2024
d12d6b7
Bump pre-commit from 4.0.0 to 4.0.1
dependabot[bot] Oct 9, 2024
bffdbc7
Bump mkdocs-material from 9.5.39 to 9.5.40
dependabot[bot] Oct 11, 2024
f65c1cc
Merge pull request #59 from Labfox/dependabot/pip/mkdocs-material-9.5.40
Labfox Oct 13, 2024
7f07873
Merge pull request #58 from Labfox/dependabot/pip/pre-commit-4.0.1
Labfox Oct 13, 2024
8029fae
Bump mkdocstrings-python from 1.11.1 to 1.12.0
dependabot[bot] Oct 14, 2024
6820c4d
Bump mkdocstrings from 0.26.1 to 0.26.2
dependabot[bot] Oct 14, 2024
29c6e03
Merge pull request #61 from Labfox/dependabot/pip/mkdocstrings-0.26.2
Labfox Oct 14, 2024
3bc01fc
Merge pull request #60 from Labfox/dependabot/pip/mkdocstrings-python…
Labfox Oct 14, 2024
68c01f3
Bump mypy from 1.11.2 to 1.12.0
dependabot[bot] Oct 15, 2024
32b3f5e
Bump mkdocstrings-python from 1.12.0 to 1.12.1
dependabot[bot] Oct 15, 2024
20296e7
Bump mkdocs-material from 9.5.40 to 9.5.41
dependabot[bot] Oct 16, 2024
bee57a2
Merge pull request #64 from Labfox/dependabot/pip/mkdocs-material-9.5.41
Labfox Oct 16, 2024
73946a3
Merge pull request #63 from Labfox/dependabot/pip/mkdocstrings-python…
Labfox Oct 16, 2024
cf3f6ab
Merge pull request #62 from Labfox/dependabot/pip/mypy-1.12.0
Labfox Oct 16, 2024
de2ae31
Bump ruff from 0.6.9 to 0.7.0
dependabot[bot] Oct 18, 2024
ef96038
Merge pull request #65 from Labfox/dependabot/pip/ruff-0.7.0
Labfox Oct 18, 2024
a57a464
Bump mkdocs-material from 9.5.41 to 9.5.42
dependabot[bot] Oct 21, 2024
cf50902
Bump mypy from 1.12.0 to 1.12.1
dependabot[bot] Oct 21, 2024
f20310c
Bump mkdocstrings-python from 1.12.1 to 1.12.2
dependabot[bot] Oct 21, 2024
5978ff9
Merge pull request #66 from Labfox/dependabot/pip/mkdocs-material-9.5.42
Labfox Oct 21, 2024
ca961dc
Merge pull request #67 from Labfox/dependabot/pip/mypy-1.12.1
Labfox Oct 21, 2024
8817389
Merge pull request #68 from Labfox/dependabot/pip/mkdocstrings-python…
Labfox Oct 21, 2024
5372d90
Bump protobuf from 5.28.2 to 5.28.3
dependabot[bot] Oct 23, 2024
b75641d
Bump mypy from 1.12.1 to 1.13.0
dependabot[bot] Oct 23, 2024
5fdc24d
Merge pull request #69 from Labfox/dependabot/pip/protobuf-5.28.3
Labfox Oct 23, 2024
d1a5cd5
Merge pull request #70 from Labfox/dependabot/pip/mypy-1.13.0
Labfox Oct 23, 2024
82816ec
Bump ruff from 0.7.0 to 0.7.1
dependabot[bot] Oct 25, 2024
3ef295e
Merge pull request #71 from Labfox/dependabot/pip/ruff-0.7.1
Labfox Oct 25, 2024
01440da
Bump mkdocs-material from 9.5.42 to 9.5.43
dependabot[bot] Nov 1, 2024
f796ca2
Bump ruff from 0.7.1 to 0.7.2
dependabot[bot] Nov 4, 2024
75e801d
Bump watchdog from 5.0.3 to 6.0.0
dependabot[bot] Nov 4, 2024
8c9c906
Merge pull request #74 from Labfox/dependabot/pip/watchdog-6.0.0
Labfox Nov 4, 2024
54e4454
Merge pull request #73 from Labfox/dependabot/pip/ruff-0.7.2
Labfox Nov 4, 2024
0945803
Merge pull request #72 from Labfox/dependabot/pip/mkdocs-material-9.5.43
Labfox Nov 4, 2024
dc7ac72
Bump mkdocs-material from 9.5.43 to 9.5.44
dependabot[bot] Nov 6, 2024
e6ce519
Merge pull request #75 from Labfox/dependabot/pip/mkdocs-material-9.5.44
Labfox Nov 8, 2024
3fb9c15
Bump mkdocstrings from 0.26.2 to 0.27.0
dependabot[bot] Nov 11, 2024
a8245f5
Bump ruff from 0.7.2 to 0.7.3
dependabot[bot] Nov 11, 2024
9cff53f
Merge pull request #77 from Labfox/dependabot/pip/ruff-0.7.3
Labfox Nov 11, 2024
1f38f72
Merge pull request #76 from Labfox/dependabot/pip/mkdocstrings-0.27.0
Labfox Nov 11, 2024
2b431e3
Bump google.golang.org/protobuf in /whatsfly/dependencies
dependabot[bot] Nov 15, 2024
1e6e740
Merge pull request #78 from Labfox/dependabot/go_modules/whatsfly/dep…
Labfox Nov 15, 2024
843f64f
Bump ruff from 0.7.3 to 0.7.4
dependabot[bot] Nov 18, 2024
63d9a21
Bump modernc.org/sqlite from 1.33.1 to 1.34.1 in /whatsfly/dependencies
dependabot[bot] Nov 18, 2024
ad0d189
Bump mkdocs-material from 9.5.44 to 9.5.45
dependabot[bot] Nov 21, 2024
5d75198
Merge pull request #81 from Labfox/dependabot/pip/mkdocs-material-9.5.45
Labfox Nov 21, 2024
dd2caed
Merge pull request #80 from Labfox/dependabot/go_modules/whatsfly/dep…
Labfox Nov 21, 2024
fac0232
Merge pull request #79 from Labfox/dependabot/pip/ruff-0.7.4
Labfox Nov 21, 2024
da39f72
Bump ruff from 0.7.4 to 0.8.0
dependabot[bot] Nov 25, 2024
d6efb59
Merge pull request #82 from Labfox/dependabot/pip/ruff-0.8.0
Labfox Nov 25, 2024
23abbb9
Update build.yml
Labfox Nov 25, 2024
8f6fc89
Update build.yml
Labfox Nov 25, 2024
87b4939
Update build.yml
Labfox Nov 25, 2024
924edf6
Update README.md
Labfox Nov 25, 2024
88ed4d8
Bump mkdocs-material from 9.5.45 to 9.5.46
dependabot[bot] Nov 26, 2024
5c3a4a8
Merge pull request #84 from Labfox/dependabot/pip/mkdocs-material-9.5.46
Labfox Nov 26, 2024
e0e886c
Bump protobuf from 5.28.3 to 5.29.0
dependabot[bot] Nov 28, 2024
1d1fcb1
Merge pull request #85 from Labfox/dependabot/pip/protobuf-5.29.0
Labfox Nov 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: gomod
directory: /whatsfly/dependencies
schedule:
interval: "daily"
115 changes: 115 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
push:
branches: [ "main" ]
schedule:
- cron: "1 1 * * *"


jobs:

build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Build
run: |
cd whatsfly/dependencies
go get -u
go mod tidy
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -v -buildmode=c-shared -ldflags=-s -o ./whatsmeow/static/whatsmeow-linux-amd64.so ./main.go

- name: Upload Linux binaries
uses: actions/upload-artifact@v4
with:
name: whatsmeow-linux-amd64-v20.so
path: whatsfly/dependencies/whatsmeow/static/whatsmeow-linux-amd64.so

- name: Upload Linux binaries
uses: actions/upload-artifact@v4
with:
name: whatsmeow-linux-amd64-v20.h
path: whatsfly/dependencies/whatsmeow/static/whatsmeow-linux-amd64.h
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Build
env:
GOOS: windows
GOARCH: amd64
CGO_ENABLED: 1
CC: x86_64-w64-mingw32-gcc
run: |
cd whatsfly/dependencies
go get -u
go mod tidy
go build -v -buildmode=c-shared -ldflags=-s -o ./whatsmeow/static/whatsmeow-windows-amd64.dll ./main.go


- name: Upload Windows binaries
uses: actions/upload-artifact@v4
with:
name: whatsmeow-windows-amd64-v20.dll
path: whatsfly/dependencies/whatsmeow/static/whatsmeow-windows-amd64.dll

- name: Upload Windows binaries
uses: actions/upload-artifact@v4
with:
name: whatsmeow-windows-amd64-v20.h
path: whatsfly/dependencies/whatsmeow/static/whatsmeow-windows-amd64.h
build-osx:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Build
env:
CGO_ENABLED: 1
run: |
cd whatsfly/dependencies
go get -u
go mod tidy
GOOS=darwin GOARCH=amd64 go build -v -buildmode=c-shared -o ./whatsmeow/static/whatsmeow-darwin-amd64.dylib ./main.go
GOOS=darwin GOARCH=arm64 go build -v -buildmode=c-shared -o ./whatsmeow/static/whatsmeow-darwin-arm64.dylib ./main.go
- name: Upload macos binaries
uses: actions/upload-artifact@v4
with:
name: whatsmeow-darwin-amd64-v20.dylib
path: whatsfly/dependencies/whatsmeow/static/whatsmeow-darwin-amd64.dylib
- name: Upload macos binaries
uses: actions/upload-artifact@v4
with:
name: whatsmeow-darwin-amd64-v20.h
path: whatsfly/dependencies/whatsmeow/static/whatsmeow-darwin-amd64.h
- name: Upload macos binaries
uses: actions/upload-artifact@v4
with:
name: whatsmeow-darwin-arm64-v20.dylib
path: whatsfly/dependencies/whatsmeow/static/whatsmeow-darwin-arm64.dylib
- name: Upload macos binaries
uses: actions/upload-artifact@v4
with:
name: whatsmeow-darwin-arm64-v20.h
path: whatsfly/dependencies/whatsmeow/static/whatsmeow-darwin-arm64.h
18 changes: 18 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Read the Docs configuration file for MkDocs projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"

mkdocs:
configuration: docs/mkdocs.yml

python:
install:
- requirements: requirements.txt
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Doy Bachtiar
Copyright (c) 2023 Doy Bachtiar, Otamay, David Arnold, LabFox, Ivo Bellin Salarin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 4 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include whatsfly/dependencies/whatsmeow/*.so
include whatsfly/dependencies/whatsmeow/*.dll
exclude whatsfly/dependencies/whatsmeow/static/*
include whatsfly/dependencies/*.*
include whatsfly/proto/*
include whatsfly/proto/*/*
92 changes: 18 additions & 74 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,88 +1,32 @@
# WhatsFly
[![Build](https://github.com/Labfox/whatsfly/actions/workflows/build.yml/badge.svg)](https://github.com/Labfox/whatsfly/actions/workflows/build.yml)
## Just run and have fun. Just try and go fly.

WhatsApp web wrapper in Python. No selenium nor gecko web driver needed.

Setting up browser driver are tricky for python newcomers, and thus it makes your code so 'laggy'.

I knew that feeling. It's so painful.

So I make WhatsFly, implementing Whatsmeow --a golang based WhatsApp library. It will make his wrapper easy to use without sacrificing the speed and perfomance.

## Installation

```bash
pip install whatsfly
```

or :
```bash
pip install --upgrade whatsfly
```

## Usage/Examples
# Warning ! The main branch is currently in restructuration, a lot of changes will happend, breaking backwards compatibility, until 1.0.0

```javascript
from whatsfly import WhatsApp

chat = WhatsApp()

# send mesage
chat.send_message(phone="6283139750000", message="Hello World!")
WhatsApp web wrapper in Python. No selenium nor gecko web driver needed.

# send image
chat.send_image(phone="6283139750000", image_path="path/to/image.jpg" caption="Hello World!")
```
Setting up browser driver is tricky for python newcomers, and thus it makes your code so 'laggy' while using lots of ram.

## Features
## Documentation

| Feature | Status |
| ------------- | ------------- |
| Multi Device | ✅ |
| Send messages | ✅ |
| Receive messages | ✅ |
| Send image | ✅ |
| Send media (audio/documents) | soon! |
| Send media (video) | soon! |
| Send stickers | soon! |
| Receive media (images/audio/video/documents) | ✅ |
| Send contact cards | soon! |
| Send location | soon! |
| Send buttons | soon! |
| Send lists | soon! |
| Receive location | soon! |
| Message replies | soon! |
| Join groups by invite | soon! |
| Get invite for group | soon! |
| Modify group info (subject, description) | soon! |
| Modify group settings (send messages, edit info) | soon! |
| Add group participants | soon! |
| Kick group participants | soon! |
| Promote/demote group participants | soon! |
| Mention users | soon! |
| Mute/unmute chats | soon! |
| Block/unblock contacts | soon! |
| Get contact info | soon! |
| Get profile pictures | soon! |
| Set user status message | soon! |
| React to messages | soon! |

Something missing? Make an issue and let us know!
https://whatsfly.labfox.fr

## Supported machines

The library theoretically support every machine with go and cgo, but if the builds fails on your machine, there are pre-built binaries auto-downloaded for the following architectures:

| Architecture | Status |
| ------------- | ------------- |
| Linux amd64 | ✅ |
| Linux ARM64 | ✅ |
| Linux 686 | ✅ |
| Linux 386 | ✅ |
| Windows amd64 | ✅ |
| Windows 32 bit | soon! |
| OSX arm64 | soon! |
| OSX amd64 | soon! |

> ## Support this Project
> This project is maintained during my free time.
| Linux ARM64 | GH Worlflow error |
| Linux 686 | GH Worlflow error |
| Linux 386 | GH Worlflow error |
| Windows amd64 | ![#83](https://github.com/Labfox/whatsfly/issues/83) |
| Windows 32 bit | GH Worlflow error |
| OSX arm64 | ✅ |
| OSX amd64 | ✅ |

## Contributing
> If you'd like to support my work, please consider making a pull request to help fix any issues with the code.
> I would like to extend my gratitude to the open-source developers behind tls-client, tiktoken, and whatsmeow. Their work has inspired me greatly and helped me to create this project.
> I would like to extend my gratitude to the open-source developers behind tls-client, tiktoken, and whatsmeow. Their work has inspired me greatly and helped me to create this project.
14 changes: 14 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Security Policy

## Supported Versions

| Version | Supported |
|:-------:| ------------------ |
| dev | :white_check_mark: |
| 0.2.0 | :white_check_mark: |
| 0.1.3 | :white_check_mark: |
| < 0.1.2 | :x: |

## Reporting a Vulnerability

To report a vulnerability, please contact [[email protected]](mailto:[email protected])
46 changes: 46 additions & 0 deletions cli
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/usr/bin/env bash

if [ "$1" == "setup" ]; then
set -eux
if ! command -v uv >/dev/null 2>&1; then
pip install uv
fi
if [ ! -d ".venv" ]; then
uv venv
fi
source .venv/bin/activate
uv pip install -r requirements.txt
uv pip install -r dev-requirements.txt
pre-commit install
elif [ "$1" == "compile" ]; then
source .venv/bin/activate
uv pip compile dev-requirements.in requirements.in > dev-requirements.txt
uv pip compile requirements.in > requirements.txt
elif [ "$1" == "sync" ]; then
source .venv/bin/activate
uv pip sync dev-requirements.txt requirements.txt
elif [ "$1" == "test" ]; then
source .venv/bin/activate
python -m pytest $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} ${15} ${16} ${17} ${18} ${19} ${20}
elif [ "$1" == "build-macos" ]; then
source .venv/bin/activate
pushd whatsfly/dependencies
GOOS=darwin GOARCH=arm64 go build -buildmode=c-shared -o ./whatsmeow/whatsmeow-darwin-arm64.dylib main.go
GOOS=darwin GOARCH=amd64 go build -buildmode=c-shared -o ./whatsmeow/whatsmeow-darwin-amd64.dylib main.go
popd
elif [ "$1" == "test-setup" ]; then
source .venv/bin/activate
rm -rf build dist whatsfly.egg-info
python setup.py check
python setup.py bdist && echo ok
elif [ "$1" == "format" ]; then
source .venv/bin/activate
black .
elif [ "$1" == "lint" ]; then
source .venv/bin/activate
ruff check .
ruff format .
mypy .
else
echo "Unrecognized command: $1"
fi
18 changes: 18 additions & 0 deletions dev-requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
black
isort
watchdog
mypy
vcrpy
pytest
pytest-vcr
pre-commit
ruff
types-PyYAML
pytest-asyncio
aiosqlite
setuptools
requests
mkdocs
qrcode
protobuf
lazydocs
Loading