Project

General

Profile

Download (11 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
ce77a9c4 01/01/2015 09:26 AM Phil Davis

Fix lineup of copyright lines

and module names and other bits of formatting and typos in header
comment sections.

ed2d1343 12/31/2014 06:22 PM Renato Botelho

Welcome 2015

bf29a0f8 11/20/2014 01:30 PM Ermal Luçi

Balh typos

8370ee72 11/20/2014 01:29 PM Ermal Luçi

When reinstalling a package try to start it after to avoid non-expectations from people

aa324852 11/20/2014 12:02 PM Ermal Luçi

Force pkg reinstall when asked for.

dd447bde 11/11/2014 04:49 AM Jim Thompson

modify copyright statement to reflect reality

e3e1f748 09/14/2014 11:49 AM Colin Fleming

Tidy up "pkg_mgr_install.php" XHTML

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

bfe9c9e7 08/19/2014 06:32 PM Jim Pingle

Move the fetching of a package's config file and additional files to 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.

7145cd87 06/17/2014 02:17 PM Renato Botelho

Remove . and / from pkg name to avoid directory traversal

544a89c5 03/27/2014 02:16 PM Jim Pingle

Handle the reinstallall case with confirmation. Fixes #3548

7f7626ba 03/17/2014 02:17 PM Renato Botelho

Merge branch 'master-br' of https://github.com/ayvis/pfsense into ayvis-master-br

34e2973e 03/15/2014 12:33 AM Chris Buechler

standardize URLs

8cd558b6 03/14/2014 08:24 PM ayvis

xhtml Compliance
replaced <br>, <br/> and </br> with <br />

d291634a 02/18/2014 07:38 PM Renato Botelho

Take single and double quotes into consideration

133f8b33 02/18/2014 04:39 PM Ermal LUÇI

Fixes #3460. Ask for validation when real operation will be done and ask for the operation with POST to get protection from CRSF.

0635519b 02/18/2014 04:39 PM Ermal LUÇI

Remove code that is commented

6766e477 02/18/2014 01:18 PM Ermal LUÇI

Fixes #3461. Remove any special char that can lead to shell/XSS compromises from submitted input.

7bc1b968 07/17/2013 03:29 PM Renato Botelho

Remove remaining hardcoded theme names

600933ee 04/08/2013 06:59 PM Colin Fleming

Tidy up "pkg_mgr_install.php" XHTML

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.

633d51b7 01/17/2013 06:36 PM Cyrill B

Add version check to package install

33ba4131 10/04/2012 01:14 PM Jim Pingle

Sanitize some variables
Discovered-By: Yann CAM

06aa745e 08/03/2012 07:54 AM Phil Davis

pkg_mgr_install - only mount rw when needed

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...

2229d94e 06/16/2012 02:06 AM Jim Pingle

This is apparently breaking reinstalls. Revert "Actually make reinstallpkg remove the bionaries and really reinstall them"

This reverts commit 12b0fa564dc9b9ffe1773855e6ab528f4a5c7a5e.

12b0fa56 06/15/2012 10:02 AM Ermal LUÇI

Actually make reinstallpkg remove the bionaries and really reinstall them

f0e69fca 01/25/2011 10:32 AM Chris Buechler

don't show version on this page either, to match the other pages

9d308f58 01/05/2011 09:50 PM Scott Ullrich

Do not nuke /var/db/pkg now that 2.0 has better handling

d3bea818 12/29/2010 08:54 PM Scott Ullrich

Add 10 to row count on textarea

5edb6fee 12/29/2010 08:48 PM Scott Ullrich

Unbreak installedinfo option

9b3ade76 12/25/2010 06:07 PM Scott Ullrich

Increase textarea col size now that there is a lot more pkg install/deinstall information being output

fb548cde 12/15/2010 03:47 AM Scott Ullrich

No need to use escapeshellcmd here.

70ed5a6a 12/14/2010 08:59 PM Scott Ullrich

Use file_put_contents()

d98d2db3 12/14/2010 08:57 PM Scott Ullrich

Redirect to the installedinfo page after package installation giving the system a chance to refresh the menus and the final installation text

4c3d9312 11/17/2010 07:47 PM Ermal LUÇI

Ticket #1017. Put a @ before each fwrite to silence errors. Also setup the log file in the beginning rather than on each individual function.

fcf92dae 11/16/2010 07:40 PM Ermal LUÇI
  • Use pkg_info -E pkgname* for testing if a package is installed.
  • 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....
2c794549 10/14/2010 07:32 PM Ermal LUÇI

Ticket #950. Correctly handle failures while installing packages which might 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.

b2a66231 09/03/2010 10:54 PM Ermal LUÇI

Ticket #873. Call write_config() before including file to avoid loosing already done modifications. While here do some code cleanup and formating to make it more readble.

31c78e5d 08/12/2010 01:54 PM Renato Botelho

Add missing )

381af659 08/11/2010 05:11 PM Renato Botelho

Small gettext() fixes

0897ff7b 04/29/2010 01:37 PM Renato Botelho

Implement gettext()

4f6a5e6a 04/27/2010 11:32 PM Scott Ullrich

Update (C) to 2010

68347742 03/08/2010 05:32 PM Ermal Luçi

Close before unmounting.

1570d27a 02/03/2010 11:55 PM Ermal Luçi

When removing a package delete its underlying FreeBSD pacakges.
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.

0089af7c 01/22/2010 12:20 AM Scott Ullrich

Increase execution time

7a927e67 11/22/2009 12:28 AM Scott Ullrich

Require filter.inc and shaper.inc

1d333258 09/15/2009 01:49 AM Scott Ullrich

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on

f69d50ce 07/08/2009 02:56 PM Ermal Luçi

Since we could not use anchors now we need to reload the filter whenever we add/remove/reinstall a package.

ba6d3521 07/01/2009 02:31 AM Scott Ullrich

Nuke packages for any platform

e2d15485 06/30/2009 04:43 PM Scott Ullrich

Unbreak installed information screen. After package installation the form 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.

f8a437b6 03/14/2009 11:58 PM Bill Marquette

remove new lines

16654db5 03/11/2009 02:35 AM Scott Ullrich

After package installation, redirect and show the installation
was OK. This has the side effect of reloading the menus so the package
can be clicked on immediately.

cfde64b8 02/22/2009 07:31 PM Scott Ullrich
  • Add get_after_install_info()
  • Show installation instructions for package if they exist (after_install_info)
864b3976 11/22/2008 11:42 PM Scott Ullrich

Create a backup of the configuration prior to package installation.

87294f24 10/25/2008 08:43 PM Scott Ullrich

Correctly delete package

c85c6f1e 10/24/2008 10:45 PM Scott Ullrich

Correctly delete package

4c951cc9 09/10/2008 06:41 PM Matthew Grooms

Whitespace and minor bug fixes for package manager pages.

3c43b728 08/05/2008 04:17 PM Scott Ullrich

Fix error: Warning: Invalid argument supplied for foreach() in /usr/local/www/pkg_mgr_install.php on line 155

659fa7f2 08/03/2008 05:54 PM Matthew Grooms

Cleanup authentication code. The basic auth method, the passwd, htpasswd
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...

6b07c15a 08/01/2008 06:30 AM Matthew Grooms

Rewrite the pfsense privilege system with the following goals in mind ...

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...

af6f0a3a 07/23/2008 05:03 AM Scott Ullrich

Allow outputting of package log with mode=showlog&pkg=ntop for example.

7ffeba59 07/23/2008 12:49 AM Scott Ullrich

Only reinstall package if it has a name.

d8c1a6c5 02/12/2008 04:40 AM Scott Ullrich

Make scripts XSS input safe.

Pointed-out: by

d88c6a9f 11/16/2007 12:48 AM Scott Ullrich

Switch over to array style page titles. Obtained-from: m0n0wall

7fa5fd2c 10/05/2007 08:59 PM Scott Ullrich

Include second argument for pkg_delete()

Ticket #1470

880e1525 02/02/2007 05:47 PM Scott Ullrich

After package installation is completed, note that the user should configure the package and start it from the menu since this seems to be a common question/problem report.

bf541de9 09/27/2006 05:37 PM Scott Ullrich

Be kind, rewind. Restart the package after a reinstallation.

960e61ae 09/27/2006 05:36 PM Scott Ullrich

Be kind, rewind. Restart the package after a reinstallation.

64b243d2 08/25/2006 11:04 PM Scott Ullrich

Misc package changes

Submitted-by: Daniel Haischt

5bd87465 08/20/2006 11:48 PM Scott Ullrich

Remove packages with a different version tab

61a48553 08/20/2006 11:30 PM Scott Ullrich

MFC package changes to show information better such as HEAD only packages,
etc.

99ce7a3e 01/28/2006 03:15 AM Scott Ullrich

Pass pkg info for reinstall pkg

6758725e 01/28/2006 03:12 AM Scott Ullrich

Pass $pkg info

a3af2487 01/07/2006 08:17 PM Scott Ullrich

Flush output

e54d4de6 01/02/2006 11:46 PM Scott Ullrich

Remove #!/usr/local/bin/php

f9b205f3 10/13/2005 10:30 PM Scott Ullrich

Allow -1 return to indicated package failure. Removing exit

734cd552 10/02/2005 08:35 PM Colin Smith

Move stop_service() to pkg-utils.

9a5fcf80 10/02/2005 08:24 PM Scott Ullrich

Stop package upon deinstall

079948bd 08/21/2005 08:10 PM Scott Ullrich

Use sync_webgui_passwords()

ceae1304 08/10/2005 08:16 PM Scott Ullrich

Sync password database before installation.

4f409c9e 07/24/2005 07:59 PM Scott Ullrich

Change name of main div to avoid conflicting

30af342f 07/21/2005 12:39 AM Erik Kristensen

just a few modifications

677c0869 07/21/2005 12:17 AM Erik Kristensen

updating files to use theme images
removing images from /usr/local/www
adding specific images into the correct theme directories

8d8f8970 07/09/2005 05:55 PM Scott Ullrich

Sync master.passwd database before beginning package operations

a9dc5e11 07/08/2005 10:08 PM Scott Ullrich

Do not foreach through installedpackages['package'] if its not defined

7a13e63a 07/04/2005 01:33 AM Colin Smith

Fix indent.

276d1b95 07/04/2005 01:25 AM Colin Smith

Don't fclose() the log if it doesn't exist.

96d9f5c9 07/03/2005 04:35 PM Bill Marquette

Use $pgtitle

323d040b 07/02/2005 08:51 PM Scott Ullrich
  • Fix diagnostics logging tab menus
  • Curve bottom of grey areas if needed
  • Curve tabs
  • Cleanup
52380979 07/02/2005 02:20 AM Scott Ullrich

Cleanup and add rounded corners.

338ec5f4 07/02/2005 02:13 AM Scott Ullrich

Correct urls

e3ebc979 07/02/2005 02:12 AM Scott Ullrich

Convert Packages tabs to rounded aka (display_top_tabs() calls

c347ddb3 06/23/2005 05:20 PM Scott Ullrich

No need for {} surrounding a one line foreach()

25cbd600 06/23/2005 05:19 PM Scott Ullrich

make sure $todo is an array

91e58a1a 06/21/2005 03:37 PM Scott Ullrich

Mount image RW before package operations

c6ab761d 06/20/2005 02:50 AM Colin Smith

No more xmlparse_pkg.

aca3b8c9 06/12/2005 07:47 PM Colin Smith

Add "Package Installer" tab.

60c5ffdb 06/12/2005 07:26 PM Colin Smith

Update package reinstallation to use depends_on_package.

6199503b 06/12/2005 07:21 PM Colin Smith

Use depends_on_package to properly remove a BSD package.

c3fcf407 06/07/2005 09:10 PM Scott Ullrich

Break between progress bar and first textarea

497fa5ed 06/07/2005 06:44 PM Colin Smith

Remove an extra newline.

e1531d00 06/07/2005 06:43 PM Colin Smith

Add support for XML (or package) reinstallation and package deletion.