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 342 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
342 commits
Select commit Hold shift + click to select a range
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
54bec60
Bump mkdocs-material from 9.5.46 to 9.5.47
dependabot[bot] Dec 2, 2024
0de38d5
Bump pytest from 8.3.3 to 8.3.4
dependabot[bot] Dec 2, 2024
f3a35bc
Bump modernc.org/sqlite from 1.34.1 to 1.34.2 in /whatsfly/dependencies
dependabot[bot] Dec 3, 2024
bbd8ac7
Bump protobuf from 5.29.0 to 5.29.1
dependabot[bot] Dec 5, 2024
4b3a8d3
Bump ruff from 0.8.0 to 0.8.2
dependabot[bot] Dec 6, 2024
3d1d4c8
Merge pull request #91 from Labfox/dependabot/pip/ruff-0.8.2
Labfox Dec 7, 2024
fed1354
Merge pull request #90 from Labfox/dependabot/pip/protobuf-5.29.1
Labfox Dec 7, 2024
bf525b6
Merge pull request #89 from Labfox/dependabot/go_modules/whatsfly/dep…
Labfox Dec 7, 2024
3928eae
Merge pull request #88 from Labfox/dependabot/pip/pytest-8.3.4
Labfox Dec 7, 2024
1192e4a
Merge pull request #86 from Labfox/dependabot/pip/mkdocs-material-9.5.47
Labfox Dec 7, 2024
24e8463
Bump mkdocs-material from 9.5.47 to 9.5.48
dependabot[bot] Dec 9, 2024
0fd574d
Merge pull request #92 from Labfox/dependabot/pip/mkdocs-material-9.5.48
Labfox Dec 9, 2024
7f74016
Create loadlib.py
Labfox Dec 10, 2024
bf30b45
Create check-library.yml
Labfox Dec 10, 2024
38e1b8c
Update check-library.yml
Labfox Dec 10, 2024
01ed18f
Update loadlib.py
Labfox Dec 10, 2024
b361b65
Bump ruff from 0.8.2 to 0.8.3
dependabot[bot] Dec 13, 2024
2fa15cd
Merge pull request #93 from Labfox/dependabot/pip/ruff-0.8.3
Labfox Dec 14, 2024
8072559
Bump pytest-asyncio from 0.24.0 to 0.25.0
dependabot[bot] Dec 16, 2024
9d141c5
Bump mkdocs-material from 9.5.48 to 9.5.49
dependabot[bot] Dec 17, 2024
f4ebf39
Bump google.golang.org/protobuf in /whatsfly/dependencies
dependabot[bot] Dec 17, 2024
99ac02a
Merge pull request #96 from Labfox/dependabot/go_modules/whatsfly/dep…
Labfox Dec 17, 2024
74255ae
Merge pull request #95 from Labfox/dependabot/pip/mkdocs-material-9.5.49
Labfox Dec 17, 2024
6346830
Merge pull request #94 from Labfox/dependabot/pip/pytest-asyncio-0.25.0
Labfox Dec 17, 2024
89b6d0c
Bump modernc.org/sqlite from 1.34.2 to 1.34.3 in /whatsfly/dependencies
dependabot[bot] Dec 19, 2024
47dedf0
Bump protobuf from 5.29.1 to 5.29.2
dependabot[bot] Dec 19, 2024
1f5c501
Bump ruff from 0.8.3 to 0.8.4
dependabot[bot] Dec 20, 2024
41012c3
Merge pull request #99 from Labfox/dependabot/pip/ruff-0.8.4
Labfox Dec 20, 2024
55dda0f
Merge pull request #98 from Labfox/dependabot/pip/protobuf-5.29.2
Labfox Dec 20, 2024
4f051ff
Merge pull request #97 from Labfox/dependabot/go_modules/whatsfly/dep…
Labfox Dec 20, 2024
56a9a15
Bump mypy from 1.13.0 to 1.14.0
dependabot[bot] Dec 23, 2024
641227f
Bump types-pyyaml from 6.0.12.20240917 to 6.0.12.20241221
dependabot[bot] Dec 23, 2024
30f05e2
Bump google.golang.org/protobuf in /whatsfly/dependencies
dependabot[bot] Dec 24, 2024
efe742e
Bump mkdocstrings-python from 1.12.2 to 1.13.0
dependabot[bot] Dec 27, 2024
697d156
Merge pull request #101 from Labfox/dependabot/pip/mypy-1.14.0
Labfox Dec 28, 2024
61417de
Merge pull request #105 from Labfox/dependabot/pip/mkdocstrings-pytho…
Labfox Dec 28, 2024
3f77059
Merge pull request #104 from Labfox/dependabot/go_modules/whatsfly/de…
Labfox Dec 28, 2024
44ce11a
Merge pull request #102 from Labfox/dependabot/pip/types-pyyaml-6.0.1…
Labfox Dec 28, 2024
f05fe15
Bump modernc.org/sqlite from 1.34.3 to 1.34.4 in /whatsfly/dependencies
dependabot[bot] Dec 28, 2024
cfca86a
Merge pull request #103 from Labfox/dependabot/go_modules/whatsfly/de…
Labfox Dec 28, 2024
8507b0f
Bump types-pyyaml from 6.0.12.20241221 to 6.0.12.20241230
dependabot[bot] Dec 30, 2024
81a74f9
Bump vcrpy from 6.0.2 to 7.0.0
dependabot[bot] Dec 31, 2024
58c4481
Bump mypy from 1.14.0 to 1.14.1
dependabot[bot] Dec 31, 2024
d765b5d
Bump pytest-asyncio from 0.25.0 to 0.25.1
dependabot[bot] Jan 3, 2025
65bb56f
Bump ruff from 0.8.4 to 0.8.5
dependabot[bot] Jan 3, 2025
e753935
Merge pull request #106 from Labfox/dependabot/pip/types-pyyaml-6.0.1…
Labfox Jan 4, 2025
7a9ea01
Merge pull request #107 from Labfox/dependabot/pip/vcrpy-7.0.0
Labfox Jan 4, 2025
e9dd5f7
Merge pull request #108 from Labfox/dependabot/pip/mypy-1.14.1
Labfox Jan 4, 2025
30301d8
Merge pull request #109 from Labfox/dependabot/pip/pytest-asyncio-0.25.1
Labfox Jan 4, 2025
523b436
Merge pull request #110 from Labfox/dependabot/pip/ruff-0.8.5
Labfox Jan 4, 2025
e7f50f5
Bump google.golang.org/protobuf in /whatsfly/dependencies
dependabot[bot] Jan 8, 2025
65534b4
Bump ruff from 0.8.5 to 0.9.0
dependabot[bot] Jan 10, 2025
16c7976
Bump protobuf from 5.29.2 to 5.29.3
dependabot[bot] Jan 10, 2025
52db445
Bump pytest-asyncio from 0.25.1 to 0.25.2
dependabot[bot] Jan 10, 2025
33fdbd7
Merge pull request #112 from Labfox/dependabot/go_modules/whatsfly/de…
Labfox Jan 10, 2025
a3e0efe
Merge pull request #113 from Labfox/dependabot/pip/ruff-0.9.0
Labfox Jan 10, 2025
69b9853
Merge pull request #114 from Labfox/dependabot/pip/protobuf-5.29.3
Labfox Jan 10, 2025
ea5b3ea
Merge pull request #115 from Labfox/dependabot/pip/pytest-asyncio-0.25.2
Labfox Jan 10, 2025
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
66 changes: 66 additions & 0 deletions .github/workflows/check-library.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Verify if the library is working

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
test-ubuntu:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install whatsfly-Labfox
- name: Test with pytest
run: |
python3 tests/loadlib.py
test-windows:

runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install whatsfly-Labfox
- name: Test with pytest
run: |
python tests/loadlib.py
test-macos:

runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install whatsfly-Labfox
- name: Test with pytest
run: |
python tests/loadlib.py
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])
Loading