Netgate SG-1000 microFirewall

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Steve_B

Pages: [1]
2.4 Development Snapshots / MOVED: Error editing or adding PPP
« on: February 07, 2018, 07:11:32 am »

webGUI / New theme
« on: May 09, 2016, 01:56:06 pm »
Fans of the old 2.2.x color scheme (and The Ohio State University) may like the "Compact-RED" theme that will be in the next snapshot.

It was contributed by PiBa-NL whom we thank for his work.

2.3-RC Snapshot Feedback and Issues - ARCHIVED / Beta is Beta
« on: February 17, 2016, 12:09:44 pm »
I would like to sincerely thank all those who have helped to get pfSense 2.3 where it is today. Many people have expended huge mounts of effort to improve the system. People have added new display functionality, cleaned up old HTML, internationalized the text, made the appearance (and the underlying code) more consistent, useful and readable as well as laying a foundation for what is to come.

I really think we have moved from "Why change something that works?" to "How did we ever use it before this?" :)

Now the time has come to be serious about what Beta status means, so for version 2.3 we can accept no more pull requests that add new features or address the display style. If we don't take this step, the target will keep moving and the first release candidate will keep getting kicked down the road.

So please keep those bug reports (and the PRs that fix them) coming, but no more new features for this version. Before you know it pfSense 2.3 will be formally released and we can start accepting your ideas for 2.3.1 - It may be time for a new forum category just for that.

Thanks again for all of the help. It is so appreciated.

Package developers please note:

The function print_info_box_np() has been retired. (Actually buried) It used to do some trickery such as detecting the word "apply" in a text string and automatically generating an "Apply" button.

This proved to be problematic  when you wanted to use that word but did NOT want a button, when you wanted a button called something else, or when you were using a language other than English which used a different word for "apply".

The function print_info_box() now accepts a button name and button text explicitly so you can create any button you like (or not), and to make things easier still, a new function print_apply_box() automatically creates an information box with an apply button in your language of choice. You might use it like this:

Code: [Select]
print_apply_box(sprintf(gettext("The package configuration has been changed.%sYou must apply the changes in order for them to take effect.), "<br/>"));

2.3-RC Snapshot Feedback and Issues - ARCHIVED / Package title
« on: December 14, 2015, 01:19:35 pm »
If a package you maintain uses the <title> tag, you may now make a better looking title by inserting some '/' characters, allowing the title to be exploded into a breadcrumb display.



will result in $pgtitle = array("Services", "Keurig") which will in turn generate the breadcrumb display:

Services / Keurig

Perhaps not the most obvious way to do it perhaps, but it is at least compatible with existing internal and external packages.

2.3-RC Snapshot Feedback and Issues - ARCHIVED / Page/file name changes
« on: December 11, 2015, 04:00:54 pm »
It bugged me (and others) that status->ipsec points to a page called diag_ipsec.php (for example). Why not status_ipsec.php? I have changed many file names today so that they better reflrct their place in the menu system. This involved not just the file names but links, actions, help links, privileges and more.

Here is the full list of the changed file names. If you observe any problems, please report to Redmine #5628

halt.php => diag_halt.php
reboot.php => diag_reboot.php
carp_status.php => status_carp.php
diag_system_pftop.php => diag_pftop.php
diag_ipsec.php => status_ipsec.php
diag_ipsec_leases.php => status_ipsec_leases.php
diag_ipsec_sad.php => status_ipsec_sad.php
diag_ipsec_spd.php => status_ipsec_spd.php
diag_logs.php => status_logs.php
diag_logs_filter.php => status_logs_filter.php
diag_logs_filter_dynamic.php => status_logs_filter_dynamic.php
diag_logs_filter_summary.php => status_logs_filter_summary.php
diag_logs_settings.php => status_logs_settings.php
diag_logs_vpn.php => status_logs_vpn.php
diag_pkglogs.php => status_pkglogs.php
vpn_pppoe.php => services_pppoe.php
vpn_pppoe_edit.php => services_pppoe_edit.php

There may be more to come :)

2.3-RC Snapshot Feedback and Issues - ARCHIVED / Form_Button button icons
« on: November 09, 2015, 11:25:42 am »
font awesome icons may now be embedded in buttons created by the Form_Button class like so:
Code: [Select]
$form->addGlobal(new Form_Button(
    'Remove Something',
    null,          //  <= optional link
    'fa-trash'     //  <= optional icon

2.3-RC Snapshot Feedback and Issues - ARCHIVED / Improvement to table pages
« on: November 04, 2015, 08:39:35 am »
Thanks to all of the help contributors have provided in converting the UI to font-awesome icons it is looking better than ever.

The next step might be to look at the controls typically found underneath each HTML table ("Add", "Import" etc) and see how those might be improved. Here are some suggestions and some screenshots from firewall_aliases which I have used to experiment with (this version is now in the master repo)

  • Minimize the text inside the buttons to reduce their size. e.g.: "Add another alias" => "Add"
  • Add a font-awesome icon (styled to fit the button) before the button text. e.g.: <i class="fa fa-plus" style="font-size:15px; vertical-align: middle; margin-right: 6px;"><?=gettext("Add");?>
  • Change the button size by adding class "btn-sm"
  • Add top padding to the <nav> section in which the buttons are housed so that we get a small space between the table and the buttons

On pages that have a large block of help/hint text displayed:

  • Change the display color to the Bootstrap "info" color by supplying that argument to the print_info_box() function. e.g.: print_info_box(gettext("This is how it works."), info);
  • Surround the print_info_box() with a <div id="infoblock"></div>

Using this exact ID will cause jQuery code in pfSeneHelpers.js to automatically add an icon that toggles the display.

Please see firewall_aliases.php for examples of the above.

Screenshot FA-2.jpg is the original appearance, FA-1 and FA-3 show the new look.

2.3-RC Snapshot Feedback and Issues - ARCHIVED / Thermal sensor widget
« on: November 03, 2015, 12:26:37 pm »
This widget has been re-worked for 2.3 The new version will be in the next build.

It is now based on stacked Bootstrapped progress bars that change color as the thresholds are encountered, as well as being re-factored to fit the  2.3 widget design.

Let me know if you see any problems please.

You may well need a browser cache dump to see the new design.

2.3-RC Snapshot Feedback and Issues - ARCHIVED / Copyright notices
« on: October 30, 2015, 03:10:18 pm »
I have been updating some of the copyright notices so that they reflect the current pfSense copyright status. It has been pointed out that in doing that I incorrectly dropped some copyright holders.

Wherever individual copyright exists I now take every care to preserve it in the file headers. It is always possible that mistakes were made, however. I have made many thousands of edits to this project in the last few months, and I make as many typos and ^C/^V errors as anyone. (Probably more :)) If you notice a copyright error or omission, please report it here so that I can correct it without delay.

Conspiracy theorists, tick-tocks, and others not withstanding, I am working to correct any such errors as quickly as possible.

Please remember this is Alpha software. We will make sure everything is correct before general release.

The attached file contains my notes for converting the pfSense user interface to use Bootstrap. It may be of some help to others, particularly pfSense package maintainers needing to convert their package web pages.

Please feel free to ask for help or clarification.

2.3-RC Snapshot Feedback and Issues - ARCHIVED / Don't panic!
« on: October 08, 2015, 06:55:26 pm »
We have been experimenting with different shading and panel design today so don't worry if the GUI looks a little odd or if the icons are hard to see. It's just temporary  :)

We did a lot of work on the dashboard today. It now updates properly, the progress bars are easier to read, and the spacing is tighter. There is a little more to do, but it seems to be working nicely.

Thanks for all the testing and suggestions. We really appreciate it.

Pages: [1]