Changesets: RackTables

master 4c272b92

2017-02-08 14:24:31

infrastation

Details Diff
dictionary: add a few Cisco models (Mantis 1721)
Attach Issues:
mod - wwwroot/inc/dictionary.php Diff File

master 4c73626b

2017-02-06 14:23:28

infrastation

Details Diff
bump the copyright line up for 2017
Attach Issues:
mod - COPYING Diff File

master 01eb7640

2017-02-01 16:33:56

andriyanov

Details Diff
add JunOS switch sw types into $breed_by_swcode
Attach Issues:
mod - wwwroot/inc/remote.php Diff File

master 77afc813

2017-01-26 16:12:06

andriyanov

Details Diff
optimize write in callScript()

If a huge buffer was passed into callScript (tens of Mb), it took much
time to write it into pipe using small 4k blocks, even if system not
blocking us. That was because of re-allocating this huge string buffer ($in variable)
on every write iteration ($in = substr($in, $written)).

Now changed to tracking write cursor in the constant $in buffer and
making a small substring (4k) on every iteration.
Attach Issues:
mod - wwwroot/inc/remote.php Diff File

master 3eb685d8

2017-01-19 17:59:55

andriyanov

Details Diff
snmp sync support for Huawei CE6870
Attach Issues:
mod - ChangeLog Diff File
mod - wwwroot/inc/snmp.php Diff File

master dd389b73

2017-01-19 17:24:38

andriyanov

Details Diff
new iif type 'QSFP28'
Attach Issues:
mod - ChangeLog Diff File
mod - wwwroot/inc/upgrade.php Diff File
mod - wwwroot/inc/install.php Diff File

master 45554c34

2017-01-19 12:38:30

andriyanov


Committer: GitHub Details Diff
Merge pull request #191 from xornet-sl/maintenance-0.20.x

ability to buffer messages in script mode
Attach Issues:
mod - wwwroot/inc/functions.php Diff File

master 4360617a

2017-01-18 18:09:54

Vladimir Sukhonosov

Details Diff
ability to buffer messages in script mode

sometimes in auxiliary scripts that run with $script_mode == TRUE in
background you may need to suppress or rewrite showError/showWarning
messages (ex. format and redirect messages to email)
Now it is possible to mute errors and store them in $log_messages for
further processing.
Attach Issues:
mod - wwwroot/inc/functions.php Diff File

master 414fea4f

2017-01-10 17:21:10

infrastation

Details Diff
use var_dump() in dump()

This allows to see the difference between an empty string and NULL.
Attach Issues:
mod - wwwroot/inc/functions.php Diff File

master 1aa8b7d9

2017-01-03 11:56:43

infrastation

Details Diff
getImageHREF(): fix bugs after commit d5f8fa1

PHP Notice: Undefined index: error in interface-lib.php on line 419
PHP Notice: Undefined index: width in interface-lib.php on line 432
PHP Notice: Undefined index: height in interface-lib.php on line 433

When called with an invalid $tag argument value, the function would
yield the PHP messages and return HTML code with a malformed SRC
attribute value in the IMG element. The image would subsequently fail
to render because the HTTP response for the SRC URI request would be
not an image but an HTML page with error message.

Rewrite the code to prepare input to makeHtmlTag() rather than to
produce any HTML directly (a side effect is that ampersands in the URI
are now properly encoded). For undefined image tags specify an URI that
returns a standard error image, add an undefined index guard.
Attach Issues:
mod - wwwroot/inc/interface-lib.php Diff File

master 5da9d2a5

2017-01-02 18:20:32

infrastation

Details Diff
fix a minor bug introduced in commit 2d0ccf4

Without this change an HTTP request for an unknown module
(e.g. index.php?module=invalid) would end up in an empty response and a
message in the error log:

PHP Fatal error: Uncaught Error: Call to undefined function isCLIMode()
in .../inc/exceptions.php:119

Now it returns a proper "Assertion failed" page.
Attach Issues:
mod - wwwroot/inc/functions.php Diff File
mod - wwwroot/inc/pre-init.php Diff File

master 334b5b78

2016-12-30 17:36:27

infrastation

Details Diff
implement the zebra TR pattern with CSS, pt. 5

* renderSearchResults(): switch to the new classes
Attach Issues:
mod - wwwroot/inc/interface.php Diff File

master 9d82042e

2016-12-30 16:33:20

infrastation

Details Diff
renderIPAddress(): remove an unused global
Attach Issues:
mod - wwwroot/inc/interface.php Diff File

master ee660c28

2016-12-28 21:42:45

infrastation

Details Diff
renderDataIntegrityReport(): fixup some alignment

Align numeric columns to the right for readability.
Attach Issues:
mod - wwwroot/inc/interface-reports.php Diff File

master 060046c7

2016-12-28 21:28:08

infrastation

Details Diff
remove a useless comment

3.26. A comment shouldn't restate the obvious.
Attach Issues:
mod - wwwroot/inc/interface.php Diff File

master 011ea004

2016-12-26 09:19:27

Michael A. Mikhailov


Committer: infrastation Details Diff
Use getimagesizefromstring() to get image size

Speed up pages with image files preview.
In my case a rack page with 14 images was taking 5 seconds to load.
With this change load time dropped to 300ms.
Attach Issues:
mod - wwwroot/inc/interface.php Diff File

master 199e1fa8

2016-12-18 12:39:11

kadams12


Committer: infrastation Details Diff
Added New Cisco Routers and Switches (#188)

(squashed for clarity)
Added Cisco 4000 series ISR routers.
Added Cisco 3650 series switches.
Added missing 3850 series switches.
Added missing Catalyst 4510R+E
Attach Issues:
mod - wwwroot/inc/dictionary.php Diff File

master 3fe02e95

2016-12-15 16:42:21

HBrowne


Committer: GitHub Details Diff
sorting of Dell PowerVault entries

Added %GPASS% to several Dell PowerVault entries for sorting purposes
Attach Issues:
mod - wwwroot/inc/dictionary.php Diff File

master d31f357a

2016-12-09 21:45:47

infrastation

Details Diff
do not export .travis.yml
Attach Issues:
mod - .gitattributes Diff File

master 4a734812

2016-12-06 18:36:22

infrastation

Details Diff
refine some age formatting code

The function formatAge() used to derive the amount of seconds from
time() and to format that as text. Move the main body of the code
involved to a new function, formatAgeSeconds(), which accepts the
amount of seconds as a parameter, such that the function is now pure.
Fixup the code to return "min" for minutes in all cases. Leave the old
function name as an alias for formatAgeTimestamp(), which calls time()
and implements the old semantics. Add some tests.
Attach Issues:
mod - tests/PureFunctionTest.php Diff File
mod - wwwroot/inc/functions.php Diff File

master e79cccab

2016-12-06 16:28:36

infrastation

Details Diff
add support for double quotes in the search string

Make it possible to search for substrings that include space(s), for
example, searching for "mail server" (with the quotes) will no longer
return those records that contain only "mail" or only "server" or "mail
backup server". However, the query will still match "e-mail server" as
before. Add some tests.

* parseSearchTerms(): a new function to implement the syntax more
complex than possible with just explode()
* getSearchResultByField(): use the above
* searchHandler(): ditto
Attach Issues:
mod - ChangeLog Diff File
mod - wwwroot/inc/interface.php Diff File
mod - wwwroot/inc/database.php Diff File
mod - wwwroot/inc/functions.php Diff File
mod - tests/PureFunctionTest.php Diff File

master 89ee9a1c

2016-12-06 12:03:44

infrastation

Details Diff
showPathAndSearch(): put HTML escaping right

Instead of calling htmlspecialchars() on the data from $_REQUEST, which
has already been escaped, use the normal means to access and escape the
request data. This fixes " and similar entities in the search
INPUT. Fixup a helper function to use $sic too while at it.
Attach Issues:
mod - wwwroot/inc/interface.php Diff File

master 0cc1a8d3

2016-11-28 12:31:48

infrastation

Details Diff
genericAssertion(): add the "decimal0" variant
Attach Issues:
mod - wwwroot/inc/functions.php Diff File

master 2f7de721

2016-11-24 10:30:17

andriyanov

Details Diff
SNMP sync support for Huawei CE5850-HI
Attach Issues:
mod - wwwroot/inc/snmp.php Diff File
mod - ChangeLog Diff File

master 04f2c0f7

2016-11-23 23:34:03

infrastation

Details Diff
fixup zebra table markup after commit e2b4528

The recent change to renderTableViewer() had a side effect in that the
newly added THEAD element numbered its TRs from 1 and the subsequent
TBODY element numbered its TRs from 1 (once again) making the resulting
table markup incorrect at the top.

Solve this by specifying the "zebra" and "zebra0" classes to work within
TBODY only. This way all the existing code that keeps all TRs in the
implicit TBODY continues to work as before and the code that puts any
header TRs into a THEAD can just use the "zebra0" class for the table.
Update renderTableViewer() to do exactly that and be slightly simpler.
Attach Issues:
mod - wwwroot/css/pi.css Diff File
mod - wwwroot/inc/interface.php Diff File
 First  Prev  1 2 3 ... 20 21 22 23 24 25 26 27 ... 40 ... 60 ... 80 ... 100 ... 120 ... 140 ... 160 ... 180 ... 200 ... 218 219 220  Next  Last