Chris Buechler
f0e69fca01
don't show version on this page either, to match the other pages
2011-01-25 05:32:14 -05:00
Scott Ullrich
9d308f58da
Do not nuke /var/db/pkg now that 2.0 has better handling
2011-01-05 16:50:08 -05:00
Scott Ullrich
d3bea81878
Add 10 to row count on textarea
2010-12-29 15:54:53 -05:00
Scott Ullrich
5edb6feecd
Unbreak installedinfo option
2010-12-29 15:48:30 -05:00
Scott Ullrich
9b3ade76ca
Increase textarea col size now that there is a lot more pkg install/deinstall information being output
2010-12-25 13:07:43 -05:00
Scott Ullrich
fb548cde59
No need to use escapeshellcmd here.
2010-12-14 22:47:46 -05:00
Scott Ullrich
70ed5a6af5
Use file_put_contents()
2010-12-14 15:59:39 -05:00
Scott Ullrich
d98d2db3ca
Redirect to the installedinfo page after package installation giving the system a chance to refresh the menus and the final installation text
2010-12-14 15:57:41 -05:00
Ermal
4c3d9312e8
Ticket #1017 . Put a @ before each fwrite to silence errors. Also setup the log file in the beginning rather than on each individual function.
2010-11-17 19:47:01 +00:00
Ermal
fcf92daec2
* 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.
* 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
2010-11-16 19:40:20 +00:00
Ermal
2c794549af
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.
2010-10-14 19:32:16 +00:00
Ermal
b2a6623150
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.
2010-09-03 22:54:14 +00:00
Renato Botelho
31c78e5dc0
Add missing )
2010-08-12 10:54:00 -03:00
Renato Botelho
381af65980
Small gettext() fixes
2010-08-11 14:11:26 -03:00
Renato Botelho
0897ff7bd3
Implement gettext()
2010-04-29 10:37:51 -03:00
Scott Ullrich
4f6a5e6a45
Update (C) to 2010
2010-04-27 19:32:30 -04:00
Ermal Lui
68347742f6
Close before unmounting.
2010-03-08 17:32:58 +00:00
Ermal Lui
1570d27a49
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.
2010-02-03 23:55:22 +00:00
Scott Ullrich
0089af7c1e
Increase execution time
2010-01-21 19:20:10 -05:00
Scott Ullrich
7a927e67a5
Require filter.inc and shaper.inc
2009-11-21 19:28:00 -05:00
Scott Ullrich
1d333258dc
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on
2009-09-14 21:49:40 -04:00
Ermal Lui
f69d50cead
Since we could not use anchors now we need to reload the filter whenever we add/remove/reinstall a package.
2009-07-08 14:56:59 +00:00
Scott Ullrich
ba6d35216b
Nuke packages for any platform
2009-06-30 22:31:37 -04:00
Scott Ullrich
e2d15485e4
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.
2009-06-30 12:43:03 -04:00
Bill Marquette
f8a437b69c
remove new lines
2009-03-14 18:58:19 -05:00
Scott Ullrich
16654db500
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.
2009-03-10 22:35:30 -04:00
Scott Ullrich
cfde64b8b8
* Add get_after_install_info()
...
* Show installation instructions for package if they exist (after_install_info)
2009-02-22 14:31:34 -05:00
Scott Ullrich
864b397664
Create a backup of the configuration prior to package installation.
2008-11-22 23:42:14 +00:00
Scott Ullrich
87294f24e4
Correctly delete package
2008-10-25 20:43:21 +00:00
Scott Ullrich
c85c6f1e72
Correctly delete package
2008-10-24 22:45:13 +00:00
Matthew Grooms
4c951cc9c9
Whitespace and minor bug fixes for package manager pages.
2008-09-10 18:41:07 +00:00
Scott Ullrich
3c43b72893
Fix error: Warning: Invalid argument supplied for foreach() in /usr/local/www/pkg_mgr_install.php on line 155
2008-08-05 16:17:59 +00:00
Matthew Grooms
659fa7f23b
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
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.
2008-08-03 17:54:35 +00:00
Matthew Grooms
6b07c15ad8
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
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Scott Ullrich
af6f0a3aa9
Allow outputting of package log with mode=showlog&pkg=ntop for example.
2008-07-23 05:03:39 +00:00
Scott Ullrich
7ffeba5901
Only reinstall package if it has a name.
2008-07-23 00:49:11 +00:00
Scott Ullrich
d8c1a6c53c
Make scripts XSS input safe.
...
Pointed-out: by hoopercharles@gmail.com
2008-02-12 04:40:35 +00:00
Scott Ullrich
d88c6a9fdf
Switch over to array style page titles. Obtained-from: m0n0wall
2007-11-16 00:48:53 +00:00
Scott Ullrich
7fa5fd2c81
Include second argument for pkg_delete()
Ticket #1470
2007-10-05 20:59:39 +00:00
Scott Ullrich
880e152520
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.
2007-02-02 17:47:53 +00:00
Scott Ullrich
bf541de935
Be kind, rewind. Restart the package after a reinstallation.
2006-09-27 17:37:52 +00:00
Scott Ullrich
960e61ae23
Be kind, rewind. Restart the package after a reinstallation.
2006-09-27 17:36:37 +00:00
Scott Ullrich
64b243d23a
Misc package changes
...
Submitted-by: Daniel Haischt
2006-08-25 23:04:56 +00:00
Scott Ullrich
5bd874650a
Remove packages with a different version tab
2006-08-20 23:48:56 +00:00
Scott Ullrich
61a48553f2
MFC package changes to show information better such as HEAD only packages,
...
etc.
2006-08-20 23:30:47 +00:00
Scott Ullrich
99ce7a3e66
Pass pkg info for reinstall pkg
2006-01-28 03:15:34 +00:00
Scott Ullrich
6758725eeb
Pass $pkg info
2006-01-28 03:12:42 +00:00
Scott Ullrich
a3af2487f4
Flush output
2006-01-07 20:17:20 +00:00
Scott Ullrich
e54d4de6d5
Remove #!/usr/local/bin/php
2006-01-02 23:46:18 +00:00
Scott Ullrich
f9b205f321
Allow -1 return to indicated package failure. Removing exit
2005-10-13 22:30:58 +00:00