Commit graph

45 commits

Author SHA1 Message Date
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
Andrew Collington
844a84ea05 Made functions output via PHP not React (should never need updating in realtime).
Fixed directive title display.
2014-11-26 10:14:44 +00:00
Andrew Collington
ec18756f51 Ajax requests to reset or invalidate are now handled.
Style updates including handling for smaller device screens.
Better handling of file list update when filtered.
2014-11-25 17:11:37 +00:00
Andrew Collington
1756e70a56 Added files list as React object.
Added getOptions() and moved code options to within class.
Process files list before being saved to data structure.
Started some restyling.
2014-11-25 13:20:33 +00:00
Andrew Collington
816b0889ef Started working on React integration 2014-11-24 00:09:48 +00:00
Andrew Collington
44e3c3987d Tidied up code, started to revamp html 2014-11-23 01:07:38 +00:00
Andrew Collington
7fff9247f1 Sort directives alphabetically. 2013-08-09 15:18:14 +01:00
Andrew Collington
8e941b1fe7 Added invalidation option for individual files.
Added function list with links to php.net manuals.
Added a couple hard-coded values to the settings array.
Moved some javascript around.
2013-08-09 15:06:45 +01:00
Andrew Collington
cbf639afee Fixed total memory usage and set page to reload after cache is reset. 2013-05-29 12:47:15 +01:00
Andrew Collington
4fcbe7c10a Added filtering for the file list.
Improved responsiveness for the main buttons.
2013-04-26 12:56:30 +01:00
Andrew Collington
a7c36889a0 Added reset button.
Fixed a tiny little bit of spacing.
2013-04-26 11:56:54 +01:00
Andrew Collington
4055bd765b More statistics shown on the page and more real-time updates. 2013-04-22 13:28:29 +01:00
Andrew Collington
526449dcb8 Changed jquery url to Google to enable it to work on https. 2013-04-22 12:33:15 +01:00
Andrew Collington
4c9eaefd03 Removed the use of jQueryUI and tabs.
Added total number of files cached to the stats overview.
Better host name detection.
2013-04-09 16:44:50 +01:00
Andrew Collington
52d4452a70 Initial import 2013-04-08 16:40:06 +01:00