Refactor update_alias_names_upon_change
(cherry picked from commit 24807bfeaec218948937a1fdc2b4e863319e41a0)
Add reasons to write_config() calls(cherry picked from commit 919a43a7caa551cb14e72a5cd82ec1629b3a9aa5)
Remove useless add_base_packages_menu_items() function
Not really sure what was the idea 7+ years ago, but the code just doesn't make sense now.(cherry picked from commit 94503103d8ce4e34de79f221f4fdd24f07dccb93)
Breadcrumb links
(cherry picked from commit edcd75357f0e93b124159314d3306197d5312e6c)
diag_backup do not use button text for comparisons
(cherry picked from commit 9a7e1c9580c5779c86bc97d6d82c43401c7a4b12)
Simplify icmp conversion
pprior code "converts" every icmp type - of which only 3 actually get changed (rest keep same value anyhow!). If also uses a SWITCH {} construct rather than lookup + foreach, which is longer and less efficient.(cherry picked from commit 0ce1667bc6fe80ef8e6b4d0d6d38d9859d5f4d94)
Move copyright from ESF to Netgate
Review license / copyright on all files (final round)
Always use require_once
The usage of require() and require_once() throughout the system isinconsistent, and "bugs" come up now and then when the order of"requires" is a bit different and some require() happens after theinclude file is already included/required....
Allow to restore any ares of config
If the existing config does not have a particular area in it, then the user should still be able to restore it from another config.Redmine #6144
Merge pull request #2832 from NewEraCracker/lang-fixes
(cherry picked from commit c67308d9b8e36fc73cb3c4381861698aa73bee00)
Merge pull request #2830 from NOYB/Diagnostics_-_Remove_Personalizations
(cherry picked from commit 235d9db9da3f871d6daefa4130abb8fb960a0222)
Revert "Merge pull request #2728 from phil-davis/form_button"
This reverts commit a32bed49516f3df3d104a5026a5b2c74451f348f, reversingchanges made to 9ec9978267a5d1985d6da8ba35d52b7174239d2f.
Internationalize Form_Button text
The text of a Form_Button is not translated internally. Some Form_Buttoncalls already had the button text enclosed in gettext(), this does itfor the remaining ones.
Bring some consistency to the way most buttons are displayed (color, icons, etc). Ticket #5965
Still need to review Advanced buttons and Repeatable block buttons.
Bring all calls of print_info_box to same standard
The call itself to print_info_box already echoes the content. There is no need of additionally using the short-open-echo tag on those calls to echo return value. The previous implementation shouldn't yell any visible issues as return is 'NULL' (undefined) which casts to an empty string when printing. But, just for the sake of conformity, this changes are advisable in my opinion.
Merge pull request #2637 from k-paulius/patch-6
Switch tabs places so that active tab is the first tab
Rename 'Backup/Restore' to 'Backup & Restore' so it does not clash with breadcrumb separator.
Review alert wording. End sentence with period, remove redundant 'Warning', 'Error', etc. prefixes, since alerts are now color coded. Remove <b> tags.
Renamed 'Wake on LAN' to 'Wake-on-LAN'
Synchronize page titles with tab titles. Rename some titles in order to be more consistent. Convert page title to title case.
Convert section titles to title case
HTML Compliance - Diagnostics / Backup/Restore
Duplicate ID Submit.Suppressing unused ID Submit attributes.
Improvements to the priviledge filter functionality
add call gettext function for translate
Fix product_name syntax problem in diag_backup
Notice that the old line had $g['[product_name'] - a bonus "[" - that caused the product name to not actually appear in the output.
In fixing that, I also wrapped this in sprintf() - that makes it more flexible for translation into languages where the word order of an instruction like this does not start with the verb.
FInished password hiding logic by ensuring $_POST['password'] != DMYPWD before updating
Added new addPassword method and password == password_confirm validation where required.
Take this conditional out, it wasn't enough, and we have a script example for how to handle this properly now while respecting CSRF
Only disable CSRF on diag_backup.php for the download action where it might be scripted. Other actions need its protection.
Only enable Restore Configuration if a file is selected
If the user clicks "Choose File" and then cancels the file selection dialog, disable the "Restore Configuration" button.
Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever was the reason they were added, it was never finished and it's not being used
Code style usr local www a-e
Rename of files to better match their position in the memory structure
Fixed #5617Fixed #5612
Redmine #4279 Package reinstall displayed when shutting down before upgrade
Use a different flag file to indicate that a package reinstall isrequired after a reboot is done first. This avoids the possibility thatthe user navigates in the webGUI during the time while the shutdown is...
add option to choose number of dashboard columns
Calling all of these "Page" in the privilege name is redundant since they are all pages and the "WebCfg" prefix implies they are pages.
Added use of class autoloading (GUI stuff only)
Any GUI script that loads the guiconfig.inc file will have access tothe autoloader.
Remove $Id stuff from comment headers
Completes cleanup of header stuff for these files
Diag review
Correction per Phil Davis
First batch of copyright updates
Remove unused call to update_status_output()
Addresses #5159 by removing hide/show/disable/enable functions to included file
Ticket #5204 a clean up pass of the jquery sections
Fixed #5187Added multipart encoding to form
Ticket #5182 change show/hide functionality
Retire PPTP server, fixes #4226:
- Remove PPTP server and all related code- Bump config version 12.2- Write upgrade config code to remove pptpd section and also cleanup firewall and NAT rules using PPTP interface or src/des
Merge with bootstrap
bootstrap usr/local/www a to e minor edits
bootstrap, use require_once for classes/Form.class.php
Merge branch 'master' into bootstrap
Move main pfSense content to src/