Page 1 of 1

WiFi Scheduling

Posted: Tue Feb 26, 2013 10:40 pm
by BashfulBladder
First of all, this isn't plugged into the backend yet - it won't do anything except display in a browser window & let you play with the buttons.

But I'm finally glad to have it even working this much, wrapped in the gargoyle style (more or less). Still a ways to go before I can wrap it into a plugin.

Edit: Mar 20, 2013: now in the main gargoyle source repository
wifi candy.png
wifi candy.png (62.66 KiB) Viewed 13451 times

Re: WiFi Scheduling

Posted: Wed Feb 27, 2013 1:58 am
by ispyisail
thanks

Re: WiFi Scheduling

Posted: Wed Feb 27, 2013 6:43 am
by Eric
This looks really nice.

When you do get this working and packaged as a plugin send me a pull request on github, and I'll merge it into the main repository.

Re: WiFi Scheduling

Posted: Wed Feb 27, 2013 3:54 pm
by mtr
Cool and very useful! Will be nice to see it in future revisions.

Re: WiFi Scheduling

Posted: Wed Feb 27, 2013 9:15 pm
by BashfulBladder
Eric must have gone bald dealing with this haserl stuff & pulling out his hair with endless edits. I spent hours on 1 line that generated 2 double-quotes.

I hope it is accessible & intuitive enough for a newbie to figure out. I'm not a user interface guy & this html stuff - it makes for a LOT of google action.

I'll have to find my old Win7 disk to find what issues IE has.

Re: WiFi Scheduling

Posted: Wed Feb 27, 2013 10:43 pm
by mtr
BashfulBladder wrote: I hope it is accessible & intuitive enough for a newbie to figure out. I'm not a user interface guy & this html stuff - it makes for a LOT of google action.

I'll have to find my old Win7 disk to find what issues IE has.
Interface usability can be improved in sort of ways.

Right now I'm downloading IE10 in order to test Gargoyle web interface.

Re: WiFi Scheduling

Posted: Fri Mar 01, 2013 5:41 pm
by BashfulBladder
I tried to issue a pull request, but I couldn't because I only had a master branch & wouldn't let me proceed. Or some crap along those lines.

Here:
https://github.com/BashfulBladder/gargoyle-plugins



Here is the package for the router: Edit: Mar 20, 2013: now in the main gargoyle source repository

extract & copy onto the router:

Code: Select all

scp ~/plugin-gargoyle-wifi-schedule_1.0-1_all.ipk  root@192.168.1.1:/tmp
on the router, ssh in &:

Code: Select all

opkg install /tmp/plugin-gargoyle-wifi-schedule_1.0-1_all.ipk
remove with

Code: Select all

opkg remove plugin-gargoyle-wifi-schedule_1.0-1_all.ipk

Re: WiFi Scheduling

Posted: Sat Mar 02, 2013 8:52 am
by Eric
I've now added this plugin to the main repository. I still need to test it, and I'll need to update the individual archetecture profile config files in the targets directory for the package to build automatically, but it's in there now and certainly configurable if you do a custom build.

This looks like a major piece of work -- thanks! It's much appreciated!

For future reference, the key to sending a pull request is to first fork the repository you want to contribute to. So, go to github.com/ericpaulbishop/gargoyle, and click the fork button. This will give you your own copy of the main gargoyle repo. Then, make your changes to that, and then send me a pull request -- it should work fine.

Re: WiFi Scheduling

Posted: Sat Mar 02, 2013 1:17 pm
by BashfulBladder
Okay, if I can't figure out how to amend the github repository as a fork, I'll contact them or start over. Sorry, I haven't contributed to opensource since sourceforge added svn. I'm a cvs relic! See, when I think "fork a project", I think of a Ubuntu/Debian split - never to merge again.

I found a display bug when reading in Sun-weekday-Sat list of crontabs which I fixed & uploaded to my github repository in a 1.0 branch (don't ask). The actual crontabs were fine - just figuring out which table to display was jacked.