Project

General

Profile

Todo #5577

Todo #5568: Convert Package PHP GUI Files to Bootstrap

Convert the pfSense package Lightsquid (www/pfSense-pkg-Lightsquid) to Bootstrap

Added by Jim Pingle over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Squid
Target version:
Start date:
12/03/2015
Due date:
% Done:

100%

Estimated time:

Description

Convert the pfSense package Lightsquid (www/pfSense-pkg-Lightsquid) to Bootstrap

History

#1 Updated by Jim Pingle over 3 years ago

  • % Done changed from 0 to 40

I converted some of the GUI parts to Bootstrap, it seems broken in other ways, however. It requires CGI support for perl, which nginx lacks currently.
sqstat looks OK but will not retrieve any data.

#2 Updated by Jim Pingle over 3 years ago

  • Assignee set to Chris Buechler

Assigning to cmb since he's the nginx guru. Looks like we may need to setup a fastcgi wrapper of sorts, similar to what is mentioned here:

https://www.nginx.com/resources/wiki/start/topics/examples/simplecgi/

Ideally it would be conditional and only activated when a package needs it (perhaps based on a tag in the package metadata). So far it appears only squid (cachemgr.cgi) and lightsquid (its own index.cgi, at least) would need it.

#3 Updated by Jim Thompson over 3 years ago

  • Status changed from New to Assigned

#4 Updated by Jim Pingle about 3 years ago

  • Assignee changed from Chris Buechler to Jim Pingle

Back to me to find an alternate solution

#5 Updated by Jim Pingle about 3 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 40 to 100

I just pushed version 3 of the lightsquid pfSense package which runs on its own separate port using lighttpd and has a user/pass basic auth setup as well so it is not open to the world. It runs, I can view reports, etc. It's not as pretty as it could be, but it's functional.

#6 Updated by Jim Pingle about 3 years ago

  • Status changed from Feedback to Resolved

I pushed a few fixes to the package and it's running OK now based on feedback from users and personal testing. New issues can be opened as separate tickets.

Also available in: Atom PDF