• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

20151129-1402

Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
10 Posts 5 Posters 2.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    f34rinc
    last edited by Nov 29, 2015, 11:55 PM

    Error in /etc/inc/pfsense-utils.inc

    Line 1983 has the ;' flipped around it needs to be

    echo 'document.getElementById("progressbar").style.width="'. $percent.'%"';

    1 Reply Last reply Reply Quote 0
    • S
      Steve_B Netgate
      last edited by Nov 30, 2015, 12:23 PM

      Is this function used anymore in 2.3? I would have thought not.

      Als ik kan

      1 Reply Last reply Reply Quote 0
      • B
        BBcan177 Moderator
        last edited by Nov 30, 2015, 2:19 PM

        I upgraded my 2.3 Alpha snapshot last night and due to this issue, it didn't set the interface addresses. Had to manually add the missing ; from the terminal and reboot.

        "Experience is something you don't get until just after you need it."

        Website: http://pfBlockerNG.com
        Twitter: @BBcan177  #pfBlockerNG
        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

        1 Reply Last reply Reply Quote 0
        • S
          Steve_B Netgate
          last edited by Nov 30, 2015, 5:08 PM

          Interesting. Thanks. I guess someone somewhare still uses it then :)

          I have applied you fix to 2.3 master.

          Als ik kan

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by Nov 30, 2015, 7:31 PM

            It's not used anymore from the looks of it. One call to update_progress_bar in function read_body. Nothing uses read_body anymore that I see.

            The reason it broke things is because of the syntax error, not that it's used. Doesn't matter if the function gets touched or not if it has a syntax error within it, it'll break everything that uses anything in that entire file.

            1 Reply Last reply Reply Quote 0
            • B
              bmeeks
              last edited by Dec 1, 2015, 12:26 PM

              I was still using that function in parts of the Snort and Suricata packages.  It was called as part of read_body() calls used to update progress of rules tarball downloads.  Not absolutely critical to have that progress indicator, but it does give the user feedback that something is happening and roughly at what rate.

              Is there another standard call in 2.3 that duplicates the functionality of downloading a file and updating a progress bar in Bootstrap?

              Bill

              1 Reply Last reply Reply Quote 0
              • S
                Steve_B Netgate
                last edited by Dec 1, 2015, 3:06 PM

                Not that I know of, but the code of presenting and updating a bootstrap progress bar can be found in a number of places, including the thermal sensor widget, and pkg_mgr_install.php

                Als ik kan

                1 Reply Last reply Reply Quote 0
                • C
                  cmb
                  last edited by Dec 2, 2015, 1:04 AM

                  I didn't check packages for references. The function's still there, so it may still work as before. Haven't checked, but if it does, we can leave it there.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bmeeks
                    last edited by Dec 3, 2015, 12:26 PM Dec 2, 2015, 1:48 PM

                    It would potentially be useful to have a Progress Bar API function that packages could use without each package having its own version of "the wheel" if you will.  My vote would be to leave it in and maybe "Bootstrap it" so it integrates cleanly with the rest of the GUI.

                    Bill

                    Edit: to fix typo

                    1 Reply Last reply Reply Quote 0
                    • S
                      Steve_B Netgate
                      last edited by Dec 2, 2015, 6:09 PM

                      Good idea. I'll add it to the list.

                      Als ik kan

                      1 Reply Last reply Reply Quote 0
                      2 out of 10
                      • First post
                        2/10
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received