Changesets: RackTables

master ed4484b8

2017-06-16 15:17:46

fstuck


Committer: infrastation Details Diff
cover comments too in IPv4 search (Mantis#1773)

* getIPv4PrefixSearchResult()
Attach Issues:
mod - wwwroot/inc/database.php Diff File

master 20e18046

2017-06-16 10:20:00

infrastation

Details Diff
dictionary: add another OS release (Mantis#1769)
Attach Issues:
mod - wwwroot/inc/dictionary.php Diff File

master e28c58ad

2017-06-15 13:36:00

andriyanov


Committer: infrastation Details Diff
scanIPSpace: optimize SQL for fetching last log

Use the same WHERE filter in subquery. Changed functions:
- scanIPv4Space
- scanIPv6Space
Attach Issues:
mod - wwwroot/inc/database.php Diff File

master 336e7e60

2017-06-06 16:53:18

infrastation

Details Diff
fixup transparency in a few images
Attach Issues:
mod - wwwroot/pix/racks.png Diff File
mod - wwwroot/pix/server.png Diff File
mod - wwwroot/pix/addressspacev6.png Diff File
mod - wwwroot/pix/report.png Diff File

master 6eb70f01

2017-06-06 11:27:54

infrastation

Details Diff
refine delivery of rack thumb images

A read-only RackTables instance would display an error image instead of
the thumbnail image for any rack that has invalidated thumbnail cache.
This change makes it deliver the thumbnail even if the attempted cache
update failed because of insufficient database permissions.

* RTDBTableAccessDenied: a new exception class
* convertPDOException(): add a respective case block for the error code
* dispatchMiniRackThumbRequest(): use the above for its REPLACE and
update the comment
Attach Issues:
mod - ChangeLog Diff File
mod - wwwroot/inc/database.php Diff File
mod - wwwroot/inc/solutions.php Diff File
mod - wwwroot/inc/exceptions.php Diff File

master 837ad4ae

2017-06-02 16:20:51

infrastation

Details Diff
printTagsPickerUl(): don't modify foreach argument
Attach Issues:
mod - wwwroot/inc/interface-lib.php Diff File

master 6cf6a09f

2017-06-02 13:43:28

infrastation

Details Diff
replace a couple default values with explicit ones

There is no reason to specify a default value for $input_name in
printTagsPickerInput() and printTagsPickerUl() so long as
printTagsPicker() is the only function that calls those functions.
Attach Issues:
mod - wwwroot/inc/interface-lib.php Diff File

master 35d895be

2017-05-30 13:26:50

infrastation

Details Diff
fix a typo in README.md
Attach Issues:
mod - README.md Diff File

master 5ceaa179

2017-05-26 19:07:34

infrastation

Details Diff
improve CodeMirror integration

Reimplement the RackCode language mode in rackcode.js using simpler
JavaScript code and define a standalone "rackcode" theme in rackcode.css
instead of overriding the default theme. In renderRackCodeEditor() pass
more properties to CodeMirror constructor and make minor HTML fixups.
In renderRackCodeViewer() rewrite the code to use CodeMirror in read-only
mode and to scroll to requested line on request. Amend the URL format in
refRCLineno() respectively.
Attach Issues:
mod - wwwroot/js/codemirror/rackcode.js Diff File
mod - ChangeLog Diff File
mod - wwwroot/inc/code.php Diff File
mod - wwwroot/css/codemirror/rackcode.css Diff File
mod - wwwroot/inc/interface-config.php Diff File

master 03102e0e

2017-05-26 17:28:12

infrastation

Details Diff
remove remaining stray props of CodePress

This completes the changes done in commit cf5da67.

* renderRackCodeEditor()
* renderTextEditor()
Attach Issues:
mod - wwwroot/inc/interface.php Diff File
mod - wwwroot/inc/interface-config.php Diff File

master d765a3df

2017-05-25 18:16:42

infrastation

Details Diff
upgrade CodeMirror from 3.24 to 5.26.0

For simpler maintenance the RackTables-specific CSS modifications now
reside in css/codemirror/rackcode.css. Do not include the CSS, HTML,
JavaScript, PHP and SQL CodeMirror tokenizers anymore as they had not
proved to be useful.
Attach Issues:
rm - wwwroot/js/codemirror/sql.js Diff File
rm - wwwroot/js/codemirror/css.js Diff File
add - wwwroot/css/codemirror/rackcode.css Diff File
mod - wwwroot/inc/interface-config.php Diff File
rm - wwwroot/js/codemirror/php.js Diff File
rm - wwwroot/js/codemirror/codemirror.css Diff File
rm - wwwroot/js/codemirror/htmlmixed.js Diff File
mod - wwwroot/js/codemirror/codemirror.js Diff File
mod - wwwroot/js/codemirror/rackcode.js Diff File
add - wwwroot/css/codemirror/codemirror.css Diff File
rm - wwwroot/js/codemirror/javascript.js Diff File

master a6374660

2017-05-25 09:54:12

infrastation

Details Diff
revert to pristine CodeMirror-3.24
Attach Issues:
mod - wwwroot/js/codemirror/codemirror.css Diff File

master f4d00faf

2017-05-24 18:54:31

infrastation

Details Diff
better display objects that have no common name

Address a long-standing glitch: when a port on the currently displayed
object was (or was suggested to be) linked to a port of an object that
had no name, the displayed remote object name would be an empty string.
This change makes the interface display a standard substitute instead,
which among other things makes the remote object hyperlink clickable.

* fetchPortList(): add remote object type ID to the result columns
* renderObjectPortRow(): make use of formatObjectDisplayedName()
* renderPortsForObject(): idem
* findSparePorts(): all of the above
Attach Issues:
mod - wwwroot/inc/interface.php Diff File
mod - ChangeLog Diff File
mod - wwwroot/inc/database.php Diff File
mod - wwwroot/inc/popup.php Diff File

master ecd0c5a0

2017-05-24 12:08:35

infrastation

Details Diff
recognize context in CodeMirror RackCode lexer
Attach Issues:
mod - wwwroot/js/codemirror/rackcode.js Diff File

master bb216c1c

2017-05-23 14:15:23

shazaum


Committer: infrastation Details Diff
Edge-Core had the product discontinued
Attach Issues:
mod - wwwroot/inc/dictionary.php Diff File

master 88441715

2017-05-23 12:27:04

infrastation

Details Diff
setUserConfigVar(): use REPLACE INTO consistently
Attach Issues:
mod - wwwroot/inc/database.php Diff File

master 70c0cb08

2017-05-23 12:09:34

infrastation

Details Diff
refine renderPortsForObject()

Convert a repeated code block to a function, fixup a TD alignment,
simplify portlet rendering, do not show the multiport form if
permissions would not allow to submit.
Attach Issues:
mod - wwwroot/inc/interface.php Diff File

master 07d22cec

2017-05-19 13:03:45

infrastation

Details Diff
simplify a few functions

* lastInsertID(): use PDOStatement::fetchColumn()
* getIPv4Stats(): idem
* getIPv6Stats(): idem
* getRackspaceStats(): idem
* sortPortList(): use array_fetch()
Attach Issues:
mod - wwwroot/inc/functions.php Diff File
mod - wwwroot/inc/database.php Diff File

master e984d86c

2017-05-19 12:04:35

infrastation

Details Diff
set Port.label to NULL instead of an empty string

This is how it was originally intended (also update the sample dataset).

* commitAddPortReal(): use nullIfEmptyStr()
* commitUpdatePortReal(): idem
* upgrade.php: queue an UPDATE for 0.21.0
Attach Issues:
mod - wwwroot/inc/upgrade.php Diff File
mod - scripts/init-sample-racks.sql Diff File
mod - wwwroot/inc/database.php Diff File

master 2d07e596

2017-05-19 11:43:55

infrastation

Details Diff
renderSNMPPortFinder(): remove excess LABELs
Attach Issues:
mod - wwwroot/inc/interface.php Diff File

master ef82cfcf

2017-05-19 10:48:53

infrastation

Details Diff
tests: add a missing newline at EOF
Attach Issues:
mod - tests/EmptySQLWhereTest.php Diff File

master 83ea38a9

2017-05-19 10:45:38

infrastation

Details Diff
suppress some more unnecessary default values

Amend respective test to fail the right way.

* usePreparedDeleteBlade()
* usePreparedUpdateBlade()
Attach Issues:
mod - tests/EmptySQLWhereTest.php Diff File
mod - wwwroot/inc/database.php Diff File

master 710bb27b

2017-05-18 12:56:42

infrastation

Details Diff
copy complete 0.20.x releases only into master
Attach Issues:
mod - wwwroot/inc/upgrade.php Diff File

master 1acbe865

2017-05-18 12:26:40

infrastation

Details Diff
display MySQL warnings in debug mode

This optional means of debugging can provide a feedback loop when the
strict SQL mode is not enabled.

* collectMySQLWarnings(): new function to buffer the warnings
* usePreparedInsertBlade(): amend to call the above
* usePreparedDeleteBlade(): idem
* usePreparedUpdateBlade(): idem
* showMySQLWarnings(): new function to display the buffer
* index.php: call the above in the "redirect" case
Attach Issues:
mod - wwwroot/inc/interface-lib.php Diff File
mod - wwwroot/inc/database.php Diff File
mod - ChangeLog Diff File
mod - wwwroot/index.php Diff File

master 832453d0

2017-05-18 10:05:11

infrastation

Details Diff
upgrade.php: add a section for 0.21.0
Attach Issues:
mod - wwwroot/inc/upgrade.php Diff File
 First  Prev  1 2 3 ... 17 18 19 20 21 22 23 ... 40 ... 60 ... 80 ... 100 ... 120 ... 140 ... 160 ... 180 ... 200 ... 218 219 220  Next  Last