summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr.php
Commit message (Collapse)AuthorAgeFilesLines
* Speedup package related calls to get_pkg_info() since now we have a script ↵Renato Botelho2017-08-161-2/+1
| | | | that update metadata periodically
* Typos in pkg management code commentsPhil Davis2017-05-021-4/+4
|
* Breadcrumb linksPhil Davis2017-01-101-0/+2
|
* Move copyright from ESF to NetgateRenato Botelho2016-09-061-1/+1
|
* Fix "http://pf.sense/UNKNOWN" links in Pkg Managerlukehamburg2016-07-151-4/+4
| | | I noticed recently that many packages do not have the 'www' field in the database filled, or have it set to UNKNOWN The way the table is built, this causes bad links to be generated pointing to e.g. http://pf.sense/UNKNOWN. This patch fixes it, causing only packages with actual links to get the <a> tag.
* Move to Apache License 2.0Renato Botelho2016-07-151-41/+9
|
* Review license / copyright on all files (final round)Renato Botelho2016-07-151-42/+40
|
* Rework pkg_mgr_install.php:Renato Botelho2016-06-081-1/+1
| | | | | | | | | | | | | | | - Stop using id parameter for additional packages, keep using it only for firmware upgrades - Created to control variables $completed and $confirmed to check all the stages and make it easy to understand what is happening - Stop using $pkgid and use $pkgname instead - Set $pkgname early and validate the port name - Use $firmwareupdate everywhere to check if it's a firmware upgrade - Add hidden input called confirmed to control when user has confirmed installation / upgrade / removal - Add specific messages for reinstall all - Remove an extra form submit and just changes progress bar and informative panel when json process finished successfully
* Fix button icons in the package manager. Ticket #5965jim-p2016-03-101-3/+3
|
* Convert button name to upper case.k-paulius2016-02-161-1/+1
|
* Bring all calls of print_info_box to same standardNewEraCracker2016-02-151-2/+2
| | | | 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-6Stephen Beaver2016-02-141-1/+1
|\
| * Make 'Installed Packages' first tab, because it is the active tab by default.k-paulius2016-02-141-1/+1
| |
* | Review alert wording. End sentence with period, remove redundant 'Warning', ↵k-paulius2016-02-141-2/+2
|/ | | | 'Error', etc. prefixes, since alerts are now color coded. Remove <b> tags.
* Internationalization of pkg*.phpPhil Davis2016-01-251-1/+1
| | | | | | | | Various sentences were being built up from gettext() of individual words or phrases concatenated together. That will not work for translation to languages with different word order, so I have restructured that. Note: TODO: The countdown timer text with seconds countdown is all in JS so I will think about how that can be translated nicely.
* Fix #5794 remove print_info_box_np chackes for gettext("apply")Phil Davis2016-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 1) Get rid of the stristr() checks to "guess" if an apply button should be used. 2) Change print_info_box() so it can take a button name of "close" , "apply" or none to decide which button to show. 3) Delete function print_info_box_np_undo() - nothing calls it. 4) Add new function print_apply_box() to provide an easy wrapper for print_info_box() with the parameters to be 'warning' level and 'apply' button. 5) Change print_info_box_np() calls to just print_info_box() or print_apply_box() as appropriate. There is 1 direct call to print_info_box_np() from vpn_ipsec_mobile.php remaining. That tries to make a "create" button. It was not working before this change. It needs to be sorted out and fixed separately. After this change there is no dependency on a string containing text like "apply" to make the apply button appear. Then we can work on re-engineering the internal code of print_info_box_np() print_info_box() and print_apply_box() to fit together however we like. It should be easy to preserving the current API to print_info_box() and print_apply_box().
* Change dependency icon back to a paperclip (globe seems to imply more than ↵jim-p2016-01-211-3/+3
| | | | | | intendend here), fix appearance of the text. <ul> without <li> is invalid, remove. Also move the icon to a separate i tag, putting it in an a tag changed the font in an undesirable way.
* Consistent panel-heading h2Phil Davis2016-01-141-6/+9
| | | | | | Make all the panel-heading uses also have consistent <h2 class="panel-title"> so they all display the same size. Forum https://forum.pfsense.org/index.php?topic=105275.0
* Page revised to use Ajax to fetch the package information. This allows for ↵Stephen Beaver2016-01-081-113/+112
| | | | the presentation of error and status messages, as well as offering a more "standard" solution. (i.e.: should work with all browsers)
* Add spinning cogStephen Beaver2016-01-071-1/+1
|
* Added a crude method of displaying a "Please wait" banner.Stephen Beaver2016-01-071-5/+14
|
* pkg_mgr - Fix disablepackagehistoryBBcan1772015-12-301-6/+6
| | | | * Version title should always print * $g['disablepackagehistory'] only disables the changelog hyperlink
* Update pkg_mgr.phpBBcan1772015-12-301-1/+1
| | | Update syntax to 4 space indent
* Update pkg_mgr.phpBBcan1772015-12-301-54/+38
| | | | | | | | * Note - There are two lines previously commented out at Lines! (L127-128) * Mods to if/else/elseif/endif statements for consistency. * Change package dependency href link icon from "paper-clip" to "globe". * Put package dependency links into a < ul > for a cleaner output when dependencies span over two lines. * Add missing gettext()
* HTML Compliance - System / Package Manager / Available PackagesNOYB2015-12-281-4/+4
| | | | | | | | | | | | Bad value #search-panel .panel-body for attribute href on element a: Illegal character in fragment: space is not allowed. <a data-toggle="collapse" href="#search-panel .panel-body" name="search-panel"> The name attribute is obsolete. Consider putting an id attribute on the nearest container instead. <a data-toggle="collapse" href="#search-panel .panel-body" name="search-panel"> Bad value button for attribute type on element a: Subtype missing. <a id="btnsearch" type="button" title="Search" class="btn btn-primary btn-sm">Search <a id="btnclear" type="button" title="Clear" class="btn btn-default btn-sm">Clear
* HTML Compliance - System / Package Manager / Available PackagesNOYB2015-12-271-1/+4
| | | | | Stray tbody, table, and div tag ends when list empty. Close php tag.
* Show package dependencies if they exist (on both available package list and ↵jim-p2015-12-151-0/+6
| | | | installed package list)
* Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵Renato Botelho2015-12-151-4/+0
| | | | was the reason they were added, it was never finished and it's not being used
* Code style pkgPhil Davis2015-12-151-25/+33
|
* Tidy up "pkg_mgr.php"Colin Fleming2015-12-011-0/+1
| | | | | | Table header only has three column, however the table body has four, so add missing column in table header
* Merge pull request #2134 from ExolonDX/branch_04Stephen Beaver2015-11-291-1/+1
|\
| * Type up SCRIPT tagsColin Fleming2015-11-291-1/+1
| |
* | Santize breadcrumb #5527heper2015-11-291-1/+1
|/
* Calling all of these "Page" in the privilege name is redundant since they ↵jim-p2015-11-251-1/+1
| | | | are all pages and the "WebCfg" prefix implies they are pages.
* Fixed #5521Stephen Beaver2015-11-231-2/+2
|
* Fix search box icon colorStephen Beaver2015-11-201-1/+1
|
* Ticket #5471 another convert batch to font-awesome iconsJared Dillard2015-11-181-5/+5
|
* Use recently added shortname and changeloglink from get_pkg_info()Renato Botelho2015-11-131-4/+1
|
* EOL whitespace and header consistency for wwwPhil Davis2015-11-091-3/+2
|
* Copyright updates Batch 2 of 3Stephen Beaver2015-11-061-1/+0
|
* Search typoPhil Davis2015-10-231-1/+1
|
* Completed #5333Stephen Beaver2015-10-221-9/+4
|
* Hitting "Enter" now same as clicking "Search" buttonStephen Beaver2015-10-211-5/+17
| | | | "Where" default to "Both"
* package search functionality completedStephen Beaver2015-10-211-5/+42
|
* Initial seach box state is openStephen Beaver2015-10-211-1/+1
|
* Change '+' icon to '-' when panel is openStephen Beaver2015-10-211-2/+16
|
* Added search panel. (Not yet functional though)Stephen Beaver2015-10-211-34/+74
|
* Sort return of get_pkg_info()Renato Botelho2015-10-201-5/+0
|
* Use new installed flag to simplify logicRenato Botelho2015-10-201-11/+1
|
* Use inline functionRenato Botelho2015-10-201-5/+3
|
OpenPOWER on IntegriCloud