summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_install.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix install_package calls and check for failuresRenato Botelho2015-07-011-3/+3
|
* Say what is happening when reinstalling package GUI XMLPhil Davis2015-06-161-1/+3
| | | | | At the confirmation dialog after pressing the "Reinstall XML" button, the text does not distinguish between having pressed "Reinstall the whole package" and "Reinstall the GUI/XML". It would be nice if the text of this confirmation allowed the user to be confident about which button they had just pushed, before confirming the action. Note: This stuff has no gettext() wrappers - but that can be fixed later, not get mixed up in this.
* Why is break missing for reinstallxmlPhil Davis2015-06-161-0/+1
| | | | | I thought that "reinstallxml" should do less than "reinstallpkg" but actually it was getting stuff here, then falling through "reinstalpkg" which did delete_package_xml and then install_pkg, which got the files a 2nd time and... Maybe that was supposed to happen? Anyway, I thought I would point this out and someone can either commit this pull request if the "break" should be there, or explain to me why "reinstallxml" is supposed to fall through executing all this code.
* Code spacingPhil Davis2015-06-151-1/+1
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Code style WWW pkgPhil Davis2015-05-151-66/+78
| | | | | | | | | The syntax of these all seems good. Because the 2.3-DEVELOPMENT master does not currently have get_pkg_info implemented, the available packages tab always says "Unable to retrieve package info...". But I don't think I broke any code. This is integrated with the little changes for startdisplayingat var in pkg.php
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Balh typosErmal LUÇI2014-11-201-2/+2
|
* When reinstalling a package try to start it after to avoid non-expectations ↵Ermal LUÇI2014-11-201-0/+2
| | | | from people
* Force pkg reinstall when asked for.Ermal LUÇI2014-11-201-1/+1
|
* modify copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Tidy up "pkg_mgr_install.php" XHTMLColin Fleming2014-09-141-0/+1
| | | | | | While using the widescreen theme, when you update the firmware or add a new package the TEXTAREAs are side-by-side which doesn't look neat. Add BR tag between TEXTAREA
* Move the fetching of a package's config file and additional files to ↵jim-p2014-08-191-0/+2
| | | | separate functions, and then have the "xml" package button perform these so that it is not only a redundant copy of the "pkg" reinstall button. This can help ensure a package files are in a known-good state before other actions are performed, in case the deinstall would fail or behave erratically due to other files being missing.
* Remove . and / from pkg name to avoid directory traversalRenato Botelho2014-06-171-5/+5
|
* Handle the reinstallall case with confirmation. Fixes #3548jim-p2014-03-271-2/+9
|
* Merge branch 'master-br' of https://github.com/ayvis/pfsense into ↵Renato Botelho2014-03-171-3/+3
|\ | | | | | | ayvis-master-br
| * xhtml Complianceayvis2014-03-141-3/+3
| | | | | | replaced <br>, <br/> and </br> with <br />
* | standardize URLsChris Buechler2014-03-141-1/+1
|/
* Take single and double quotes into considerationRenato Botelho2014-02-181-1/+1
|
* Fixes #3460. Ask for validation when real operation will be done and ask for ↵Ermal2014-02-181-94/+163
| | | | the operation with POST to get protection from CRSF.
* Remove code that is commentedErmal2014-02-181-3/+0
|
* 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
OpenPOWER on IntegriCloud