l-robinson / netusageextension

Automatically exported from code.google.com/p/netusageextension
0 stars 0 forks source link

Bigpond Support #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by MarkThom...@gmail.com on 14 May 2010 at 12:38

GoogleCodeExporter commented 8 years ago
Hi, BigPond support would be great!

The attached page is from 
https://my.bigpond.com/mybigpond/myaccount/myusage/default.do

Original comment by sean.flanigan@gmail.com on 17 May 2010 at 2:41

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Originally left a bit more in that attachment than I meant to..

Original comment by sean.flanigan@gmail.com on 17 May 2010 at 10:04

Attachments:

GoogleCodeExporter commented 8 years ago
I'm having a go at this myself.  The parsing is easy enough.  Might have 
something 
working in a few days, assuming I can get the form-based login working ...

Original comment by sean.flanigan@gmail.com on 17 May 2010 at 1:56

GoogleCodeExporter commented 8 years ago
Done.  I completely ripped off the Orcon support, but it seems to work.

Two things to note: 

1. What is labelled "Peak DL" is actually total usage (up and down).  Note that 
BigPond counts both uploads and downloads towards the quota.  (The percentage 
calculations assume that peakDl is set, and they don't care about miscUsage, so 
peakDl it is!)

2. In the Options, if you leave Quota blank or set it to 0, the quota value 
will be 
worked out automatically.  You only need to fill in Quota if you want to 
override 
BigPond's value.

Oh, and I had to increase the fetch timeout from 5 seconds to 15, because 
BigPond can 
be pretty slow...  (I hope it's enough.)

Original comment by sean.flanigan@gmail.com on 18 May 2010 at 1:17

Attachments:

GoogleCodeExporter commented 8 years ago
By the way, when I say it's done, I just mean there's a patch.  Whether it's 
fit to be 
released is for robbo to decide!

Original comment by sean.flanigan@gmail.com on 18 May 2010 at 1:34

GoogleCodeExporter commented 8 years ago
Actually, I don't think 15s is enough.  I should have made the fetch timeout 30 
seconds.

Original comment by sean.flanigan@gmail.com on 22 May 2010 at 6:25

GoogleCodeExporter commented 8 years ago
Cheers for your efforts, I'm currently OS for work so haven't been able to 
update as I 
had hoped.  I'll be sure to add this to the next release.  (Back in Australia 
in a week 
so it's not too far off)

Regarding the 'PeakDL' actually representing the Total up & down, I think this 
is the 
same case for Orcon too.  Part of my planned big tidy up and refactor is to 
make labels 
like this configurable, if not by the end user in the Settings page, then at 
least in 
the ISP js file.  I'll sort that out with the next release too.

Original comment by lukerossrobinson on 26 May 2010 at 1:53

GoogleCodeExporter commented 8 years ago

Original comment by lukerossrobinson on 17 Jun 2010 at 9:22

GoogleCodeExporter commented 8 years ago
Starting on this now that refactor is complete

Original comment by lukerossrobinson on 9 Jul 2010 at 6:21

GoogleCodeExporter commented 8 years ago
Hi Sean,

If you could give this update a quick test with the new refactoring to make 
sure it still works over the wire, that would be great

Original comment by lukerossrobinson on 21 Jul 2010 at 5:25

GoogleCodeExporter commented 8 years ago
I've forgotten how to install a raw CRX file; Chrome keeps wanting to download 
it, even from the local file system.  I'll try unpacking it.

Original comment by sean.flanigan@gmail.com on 21 Jul 2010 at 5:44

GoogleCodeExporter commented 8 years ago
Yeah it will want to download first from the issues page but after that opening 
and picking to open in Chrome or drag-drop into Chrome should work.

Original comment by lukerossrobinson on 21 Jul 2010 at 5:50

GoogleCodeExporter commented 8 years ago
Turns out I've also forgotten how to unpack a crx file.  But the installation 
problem was something to do with my default save directory.  Changing it seems 
to have fixed it.

Unfortunately, it's not working over the wire:

doUpdate: Wed Jul 21 2010 15:52:29 GMT+1000 (EST)
fail: Failed to get usage data<br>Request timed out<br>Please check settings in 
Options

But then, my patched version hasn't worked in some time either.  (I've been 
meaning to investigate)  I think it's just the 15 second timeout.  BigPond 
hasn't made any obvious changes to their usage pages, but their systems do seem 
to be getting slower.  The Firefox usage meter (Net Usage Item) still works, 
and it takes about 28 seconds to do its thing.  I would suggest making the 
timeout 45-60 seconds.

Any chance of bringing back quota override (from my patch), at some point?

Original comment by sean.flanigan@gmail.com on 21 Jul 2010 at 6:06

GoogleCodeExporter commented 8 years ago
RE: timeout, yeah 60 seconds shouldn't really hurt, hopefully most ISPs will 
respond well before that anyhow.

RE: quota override, sure I'll put it back, it was a last minute removal as I 
thought this was just a left over from the Orcon stuff and would be better to 
just take it from the Usage page?  I'm not with BigPond so it's really up to 
you guys who are using it.  What was the reason for wanting to override?

Original comment by lukerossrobinson on 21 Jul 2010 at 6:39

Attachments:

GoogleCodeExporter commented 8 years ago
Just to keep an extra reserve of quota up my sleeve!  But also, if you switch 
plans in the middle of the month, the usage pages don't display the correct pro 
rata quota.  So sometimes it's useful to be able to enter the pro-rated amount 
manually.

Original comment by sean.flanigan@gmail.com on 21 Jul 2010 at 7:31

GoogleCodeExporter commented 8 years ago
If the above version doesn't return info, please try this one below which uses 
the same goto address as the firefox entension and URI encodes it

Original comment by lukerossrobinson on 11 Sep 2010 at 1:50

Attachments:

GoogleCodeExporter commented 8 years ago
I haven't been able to get either of the above versions to work for months.

The Chrome plugin from http://netusage.iau5.com/ doesn't look quite as good, 
but it does work.

Original comment by sean.flanigan@gmail.com on 29 Jan 2011 at 1:14