Fix for issue #25 #26

Merged
pranav merged 10 commits from fix-issue-25 into master 2021-12-02 15:13:32 +01:00

10 Commits

Author SHA1 Message Date
Pranav Jerry 4d4e5e15d7
Merge branch 'master' into fix-issue-25
Things should be working fine now
2021-12-02 19:40:49 +05:30
Pranav Jerry 6bca6149b7
ready to merge 2021-12-02 19:29:19 +05:30
Pranav Jerry 710da18af9
moved naxalnet.service to the main directory 2021-12-01 21:34:40 +05:30
Pranav Jerry 888fdf3856
removed all print() calls from network.py
Updated CHANGELOG.md. We (another word for 'me') can push after moving
naxalnet.service out of service/. I am told the unit file is having a
rather dull time coping with per lonely life.
2021-12-01 21:27:27 +05:30
Pranav Jerry fc1f3d4216
another fix for #25
Or, to be more precise, a fix for the fix preceding the current fix for
issue #25 that just didn't fix things right. If your head spins, see the
previous commit, or call an ambulance (that is, if you are privileged
enough to access a phone and know your local helpline number)
2021-11-29 14:47:59 +05:30
Pranav Jerry 5e58df0b71
temporary fix for #25
Uses multithreading.Process instead of GLib.timeout_add()

The moment I finished writing this part, I found out the only problem
with my previous commit was that I had setup the timeout _after_ calling
the blocking function wait_for_change instead of before it.

Although this version (with Process) works, I'm reverting to the
previous version and swapping the two lines (which I had tested and
found to work)

And in case you have read upto the previous line you should also know I
fixed some code in the README

TL;DR: I have proven once again I am an idiot
2021-11-29 14:36:59 +05:30
Pranav Jerry d7a84d8ccc
replaced GObject with GLib in network.py
See the previous commit. And the one preceding that. And the one before
that. Keep going until /dev/brain0 gets symlinked to /dev/urandom
2021-11-16 22:00:00 +05:30
Pranav Jerry 183ce16eca
added timeout
This doesn't work yet
2021-11-14 19:57:35 +05:30
Pranav Jerry caeb042612
implemented NetworkLoop call in scripts.py
See any_interface_is_routable()
2021-11-14 19:46:04 +05:30
Pranav Jerry cd44357496
updated version
I accidentally pushed the previous commit to master instead of this
branch. This should revert things
2021-11-14 19:32:34 +05:30