As you may know the Wallabag devs have recently released both a huge update to the 1.9.x version, and a shiny new 2.0 (currently in alpha) that includes a working API. This Wallabag plugin and patch both work well
with 1.9, and without worrying about the patch to Wallabag, the plugin works just fine with 1.9.1, but for those of us updated to 1.9.1 the patched 1.9 is meaningless, as the whole of the 1.9 release is rolled up with the patch.
I've gone ahead and simplified this by extracting the api.php from the patched 1.6.1 that xppppp cooked up, and updated the patched /inc/pooch/Pooch.class.php to reflect the changes in the 1.9.1 update. I also cleaned up that code a bit.
The simple additions to the /inc/pooch/Pooch.class.php file (for those that like to know) are as follows, simply insert new lines...
In both 1.9 and 1.9.1 at line 41
In both 1.9 and 1.9.1 at line line 68
At line 250 in 1.9.1 or line 243 in 1.9
At line 256 in 1.9.1 or line 249 in 1.9 (this closing bracket was left out of xppppp's patch, and breaks 1.9.1 if left out, but 1.9 works without it)
Included below are the api.php, the 1.9.1 updated and corrected /inc/pooch/Pooch.class.php, and a new icon because the one included in the plugin download didn't work for me for some reason. These do not break anything. To test the patch, simply add the api.php to the root of your Wallabag, in other words just place it like this, "/path/to/www/wallabag/api.php", and update the "/path/to/www/wallabag/inc/pooch/Pooch.class.php" by hand as instructed above, or if you are on 1.9.1 you can just replace it with the file included below.
Finally, perhaps someone can focus on a 2.0 plugin now. The Wallabag devs have said that they are done with 1.x updates, and are focused solely on 2.0 development at this point. EDIT: maybe I will, but I am going to keep focusing on this until 2.0 comes out, or until this works with auth in 1.9.1.
I hope this helps.EDIT
: While the instructions above seem to work, that is they don't break anything, the auth pop-up is still there. I will mess around some more, but if anyone can figure out why
that is so... yeah, that would be great.