summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_install.php
Commit message (Collapse)AuthorAgeFilesLines
* Take single and double quotes into considerationRenato Botelho2014-02-191-1/+1
|
* Sprinkle ob_flush to avoid some warnings on 2.1Ermal2014-02-181-0/+3
|
* Fixes #3460. Ask for validation when real operation will be done and ask for ↵Ermal2014-02-181-97/+163
| | | | the operation with POST to get protection from CRSF.
* Take single and double quotes into considerationRenato Botelho2014-02-181-1/+1
|
* Fixes #3461. Remove any special char that can lead to shell/XSS compromises ↵Ermal2014-02-181-10/+11
| | | | from submitted input.
* Remove remaining hardcoded theme namesRenato Botelho2013-07-171-3/+3
|
* Tidy up "pkg_mgr_install.php" XHTMLColin Fleming2013-04-081-28/+27
| | | | | | | | Add start and TR tags Tidy up the TABLE tag, move height and colspacing in to STYLE paramenter Update TD tag with correct background syntax Move end BODY and end HTML tags to the end of the file, this helps reduce the error count.
* Add version check to package installbcyrill2013-01-171-43/+42
|
* Sanitize some variablesjim-p2012-10-041-8/+9
| | | | Discovered-By: Yann CAM
* pkg_mgr_install - only mount rw when neededPhil Davis2012-08-031-8/+18
| | | | | | When entering pkg_mgr_install the filesystem was being mounted rw and a backup made of the config, even if the case was "showlog" or "installedinfo". This resulted in: a) an extra "backup" of the config being made after an install - it could be seen in Diagnostics, Backup Restore, Config History b) Unnecessary conf_mount_rw and conf_mount_ro calls. These slow down the process on nanobsd-like systems. This change fixes both these issues.
* This is apparently breaking reinstalls. Revert "Actually make reinstallpkg ↵jim-p2012-06-151-3/+1
| | | | | | remove the bionaries and really reinstall them" This reverts commit 12b0fa564dc9b9ffe1773855e6ab528f4a5c7a5e.
* Actually make reinstallpkg remove the bionaries and really reinstall themErmal2012-06-151-1/+3
|
* don't show version on this page either, to match the other pagesChris Buechler2011-01-251-2/+2
|
* Do not nuke /var/db/pkg now that 2.0 has better handlingScott Ullrich2011-01-051-2/+0
|
* Add 10 to row count on textareaScott Ullrich2010-12-291-1/+1
|
* Unbreak installedinfo optionScott Ullrich2010-12-291-1/+1
|
* Increase textarea col size now that there is a lot more pkg ↵Scott Ullrich2010-12-251-2/+2
| | | | install/deinstall information being output
* No need to use escapeshellcmd here.Scott Ullrich2010-12-141-2/+2
|
* Use file_put_contents()Scott Ullrich2010-12-141-6/+3
|
* Redirect to the installedinfo page after package installation giving the ↵Scott Ullrich2010-12-141-0/+2
| | | | system a chance to refresh the menus and the final installation text
* Ticket #1017. Put a @ before each fwrite to silence errors. Also setup the ↵Ermal2010-11-171-1/+1
| | | | log file in the beginning rather than on each individual function.
* * Use pkg_info -E pkgname* for testing if a package is installed.Ermal2010-11-161-6/+6
| | | | | | | | | * Do not call eval if we cannot include an .inc file since that will make the whole script fail. * Keep the log from the start to the end without overwriting. This makes debugging and problem reporting easy and explains what is done during installation. * Check retrun value of download_with_progress_bar to make it possible catching errors during download. * Lots of improvements in between Related to Ticket #950
* Ticket #950. Correctly handle failures while installing packages which might ↵Ermal2010-10-141-22/+14
| | | | leave stale information behind. Also do not try to startup services twice. Rename uninstall_package_from_name to uninstall_package because the operation on packages is only done through package names.
* Ticket #873. Call write_config() before including file to avoid loosing ↵Ermal2010-09-031-2/+1
| | | | already done modifications. While here do some code cleanup and formating to make it more readble.
* Add missing )Renato Botelho2010-08-121-1/+1
|
* Small gettext() fixesRenato Botelho2010-08-111-1/+1
|
* Implement gettext()Renato Botelho2010-04-291-21/+21
|
* Update (C) to 2010Scott Ullrich2010-04-271-2/+3
|
* Close before unmounting.Ermal Luçi2010-03-081-3/+3
|
* When removing a package delete its underlying FreeBSD pacakges.Ermal Luçi2010-02-031-1/+1
| | | | | | | | Correct checks for avioding as much as possible errors. Simplify logic in some cases. Remove package include files when uninstalling packages. NOTE: Some work is needed to have more error reporting. Espescially when failing to retrieve files or add them locally.
* Increase execution timeScott Ullrich2010-01-211-0/+2
|
* Require filter.inc and shaper.incScott Ullrich2009-11-211-1/+4
|
* Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to ↵Scott Ullrich2009-09-141-1/+4
| | | | include 2009 on files that I have asserted (C) on
* Since we could not use anchors now we need to reload the filter whenever we ↵Ermal Luçi2009-07-081-1/+7
| | | | add/remove/reinstall a package.
* Nuke packages for any platformScott Ullrich2009-06-301-2/+2
|
* Unbreak installed information screen. After package installation the form ↵Scott Ullrich2009-06-301-1/+1
| | | | redirects to the info page that looks identical to display the final package information and to give the menus a chance to reload with the new package options.
* remove new linesBill Marquette2009-03-141-5/+2
|
* After package installation, redirect and show the installationScott Ullrich2009-03-101-2/+19
| | | | | was OK. This has the side effect of reloading the menus so the package can be clicked on immediately.
* * Add get_after_install_info()Scott Ullrich2009-02-221-1/+5
| | | | * Show installation instructions for package if they exist (after_install_info)
* Create a backup of the configuration prior to package installation.Scott Ullrich2008-11-221-0/+3
|
* Correctly delete packageScott Ullrich2008-10-251-2/+0
|
* Correctly delete packageScott Ullrich2008-10-241-3/+1
|
* Whitespace and minor bug fixes for package manager pages.Matthew Grooms2008-09-101-101/+99
|
* Fix error: Warning: Invalid argument supplied for foreach() in ↵Scott Ullrich2008-08-051-3/+3
| | | | /usr/local/www/pkg_mgr_install.php on line 155
* Cleanup authentication code. The basic auth method, the passwd, htpasswdMatthew Grooms2008-08-031-3/+0
| | | | | | | | | | | | | and pam backing functions have been removed. The basic auth method was legacy code and the backing functions were redundant with no added value that I could see. A simplified replacement backing function named local_backed has been added that authenticates to the local configuration info which should be identical to system pwdb credentials. Since the htpassword file is no longer required, sync_webgui_passwords and its wrapper function system_password_configure have been removed. The local account management functions were renamed for consistency. A few minor bugs related to setting local passwords have also been corrected.
* Rewrite the pfsense privilege system with the following goals in mind ...Matthew Grooms2008-08-011-0/+8
| | | | | | | | 1) Redefine page privileges to not use static urls 2) Accurate generation of privilege definitions from source 3) Merging the user and group privileges into a single set 4) Allow any privilege to be added to users or groups w/ inheritance 5) Cleaning up the related WebUI pages
* Allow outputting of package log with mode=showlog&pkg=ntop for example.Scott Ullrich2008-07-231-0/+6
|
* Only reinstall package if it has a name.Scott Ullrich2008-07-231-6/+9
|
* Make scripts XSS input safe.Scott Ullrich2008-02-121-14/+14
| | | | Pointed-out: by hoopercharles@gmail.com
* Switch over to array style page titles. Obtained-from: m0n0wallScott Ullrich2007-11-161-2/+1
|
OpenPOWER on IntegriCloud