Commit graph

64 commits

Author SHA1 Message Date
Andrew Collington 6e1fc65544 Corrected version numbers 2020-04-06 23:33:57 +01:00
Andrew Collington d01fe2b739 Changed value accidentally altered during development 2020-04-06 23:17:29 +01:00
Andrew Collington 8c2f2550a7 Updated README with new version & corrected version number. 2020-04-06 23:16:25 +01:00
Andrew Collington 9166a8761e CSS is now all namespaced.
Added classes throughout and changed all CSS selectors to be namespaced under the body's classname, and then additionally use all class names where appropriate.  This should mean less interference with embedding the script in other pages/sites, and hopefully resolve #47.
2020-04-06 22:52:04 +01:00
Andrew Collington 6442092139 Fixed optimization levels 2020-02-22 20:15:06 +00:00
Andrew Collington c15faa6aba Show optimisation levels.
The `optimisation_level` will now display all the optimisation levels that will be performed rather than some abstract number.
2020-02-22 19:51:12 +00:00
Andrew Collington 3214362f8f Fixes #43
I've decided to put the version information in the footer rather than general information, just to tuck it away a bit.

Also bumped up the version in preparation for a small tagged release.
2020-02-22 18:15:23 +00:00
Andrew Collington 573ed4a724 Fixes #44 2020-02-22 17:26:43 +00:00
Andrew Collington 351525a1a0 Fixes #39
This adds a new graph to the highlight bar along with the ability to turn on/off individual charts.
2019-07-13 17:17:52 +01:00
Andrew Collington 3f1591471d Version bump and updated readme 2019-07-12 01:50:59 +01:00
Andrew Collington 0681b84dfa Stops the page from cache (relates to #36) 2019-07-12 01:41:26 +01:00
Andrew Collington 17b84df9a2 Fixes #37
Having the `file_cache_only` ini setting as '1' stops `opcache_get_statistics` returning a bunch of information.  It doesn't (understandably) return any of the memory info, but also doesn't seem to return a list of cached files, start/restart times, or any of the other statistics.  So this needs compensating for in the interface which leaves basically viewing the ini settings and links to the available functions.
2019-07-12 01:31:05 +01:00
Andrew Collington e5695945e9 Fixes #38
You'd imagine that the `opcache_get_configuration` method would return all of the settings, but no.  So now we get the opcache config and the relevant ini settings for the extension and bring in any missing ones.  Not using the ini settings for everything as it returns the values as strings and not the various scalar types as befitting the value.
2019-07-11 23:55:54 +01:00
Andrew Collington 5c46ed8e3a Fixes issues #40 2019-07-11 19:04:14 +01:00
Compilenix 2fd6922c9e Add check for existence of $_SERVER['SERVER_SOFTWARE'] (#31) 2018-02-08 20:23:48 +00:00
Andrew Collington 64247d6ffc Squashed commit of the following:
commit 7dfd4b1d873de85460d5c4c28d7886dd384fcb4d
Author: Andrew Collington <andy@amnuts.com>
Date:   Thu Dec 28 19:35:54 2017 +0000

    Updated readme.

commit 34da481b9dbf273b3dbbf8efb2bf3f6dde4f382a
Author: Andrew Collington <andy@amnuts.com>
Date:   Thu Dec 28 19:18:50 2017 +0000

    Cookie now stores real-time state.
2017-12-28 19:37:52 +00:00
Andrew Collington 9ae6980879 Interned strings information now only shows if it's present. (#27)
The panels have been split into their own react components so that the interned strings panel doesn't have to be rendered if the data is not available.  So style rule tweaks were made as a result of the panel change.
2017-07-31 14:25:14 +01:00
Andrew Collington 9e016f4898 Bumped version and updated readme. 2017-06-27 11:58:19 +01:00
phizev 87affeb8f4 Add interned strings usage, reformat sidebar to accommodate. 2017-06-26 17:26:30 +02:00
Andrew Collington 06a622d334 Split out function return value from being used in empty() call, making the script compatible with PHP 5.4. (#24) 2017-06-07 12:01:56 +01:00
Jack W-H c9664f24db Allow for the Opcache GUI to be autoloaded via Composer (#23)
* Updated composer.json to allow for autoloading

* Updated class to add namespacing
2017-03-27 15:16:00 +01:00
Carlos Ferreira 4cc74c4174 Update index.php (#22) 2017-02-10 15:33:01 +00:00
Andrew Collington 4da19124fc Fixes #20 (#21) 2017-01-06 13:40:59 +00:00
Andrew Collington 5ca6acb66d Merge pull request #15 from OpnKitchenTeam/master
Fix opcache stats timezone
2016-10-11 15:22:36 +01:00
Toon Spin feb0b51671 Use strict comparisons when testing for settings with no value. Fixes #16 2016-10-11 13:09:28 +02:00
Alexandre ABRIOUX 5e5c4cad45 Fix opcache stats timezone 2016-09-23 17:39:17 +02:00
Andrew Collington 68333ebec5 Fixed issue #14 2016-07-16 13:23:26 +01:00
Avindra Goolcharan 0999365498 Bump react to 15.0.1, jquery to 2.2.3 2016-04-08 16:41:59 -04:00
Andrew Collington 109dcc32d2 Added option to configure debounce rate. 2016-02-24 00:26:43 +00:00
Andrew Collington 367388fbe3 Optimisations for the file list and filtering (added a debounce function, streamlined some jquery, updates to jsx to facilitate). 2016-02-23 15:46:34 +00:00
Andrew Collington 853aa7e446 Updated readme and version number 2016-02-10 00:21:49 +00:00
Andrew Collington ce0d9eb0fe Small typo correction. 2016-02-10 00:12:23 +00:00
Andrew Collington 6edef4efa1 Force a redirect to fixed issue where reset wouldn't update the details and could enable constant resetting on real-time updates. 2016-02-10 00:09:49 +00:00
Andrew Collington c754879e5f Fixes #10 (rounding issues) 2016-02-09 23:51:09 +00:00
Andrew Collington 11c11a6295 Gauges now update on real-time pulse. 2016-02-09 23:45:11 +00:00
Avindra Goolcharan ddec388d03 Use json_encode to dump out booleans
Per the [notes from the docs](http://php.net/manual/en/function.json-encode.php#refsect1-function.json-encode-notes), passing a boolean to json_encode will output the proper string ("true" or "false").
2016-01-06 09:02:08 -05:00
Andrew Collington fc1bd33b7b Added an option to hide the file list. 2015-12-30 18:18:03 +00:00
Nate Bessette 3b9b50afab Fix bug allowing cache reset without reset permission
The permission check for non-ajax reset request was checking for allow_invalidate rather than the correct allow_reset.
2015-05-20 16:51:35 -04:00
Andrew Collington aa41e5ad97 Stopped using warning suppression. 2015-05-11 15:56:17 +01:00
Andrew Collington 134dbb5060 Have added some more configuration options and given links to opcache manual directives. 2015-05-11 13:59:53 +01:00
Andrew Collington 64e6803085 Made it easier to configure a few options added a couple graphs. 2015-05-08 17:04:40 +01:00
Andrew Collington c42795acab Updated jsx in-line with pr#5, removed extraneous space introduced in same pr. Updated react version. 2015-05-01 16:02:36 +01:00
Helmut K. C. Tessarek 895e02ead2 improve readability of data (spaces between colon, data, and unit) 2015-04-27 19:14:16 +02:00
Jonathan Rehm ed4ad7a8fd Use jQuery's CDN instead of Google's 2015-01-29 09:46:17 -07:00
Jonathan Rehm 62cd5287b0 Switch dependencies to hosts who serve over HTTPS 2015-01-28 17:40:54 -07:00
Avindra Goolcharan cfb0f1d5e3 Update JavaScript dependencies
Require min version and new version of react.js and update jQuery version
2015-01-08 13:13:27 -05:00
Andrew Collington 87808bd73c Added pulse animation to show when data is being updated.
Fixed possible incorrect show count string.
Added key property to fix a couple React warnings.
2014-11-26 23:08:44 +00:00
Andrew Collington 86872dd0ba Compiled jsx and removed need for in-browser transformer, and moved original jsx code to separate file.
Fixed options being passed in on instantiation.
Added canInvalidate() method.
Updated getData() method to allow for a property within a section to be returned.
Added title and footer to html.
Added composer config file.
Updated readme.
2014-11-26 21:42:23 +00:00
Andrew Collington 48b191c200 Split file meta details out in to new component. 2014-11-26 11:13:39 +00:00
Andrew Collington 1f67755485 Tweaked style block. 2014-11-26 10:25:05 +00:00