* Changed minimum requirement and namespace.
* Minimum PHP is now 7.1
* Namespace is now \Amnuts\Opcache
* Moved service to new location.
* Now at \Amnuts\Opcache\Service
* Added parameter and return types
* Called Service in main index.php file
* Relocated jsx source
* Renamed jsx file
* Moved css to the start of a scss file
* Beefed up package.json file a bit.
* Added compile commands for jsx and css
* Added node-sass as a dependency
* Added various other bits of info
* Building the compiled version.
* Added template of the output
* Added build script
* Added composer run command to build the main index.php file
* Trim contents before outputting
* Make css output compressed
* Better building of the single file.
* Service class now pulled into the single file (no need to install anything via composer)
* Build file tweaked and template file renamed
* Ignore file updated for new template name
* Newly compiled version of the script.
* Relocated jsx/scss build files
* Updated readme
* Updated ignore file and added missing files
* V3 all react (#55)
* Moving interface to only use react.
This is the start of using only react to render the interface. It'll have slightly revamped react components to fit in with new react js library. Long way to go yet...
* Further tweaks
* Added rendering of functions as its own component
* Removed version and functions info from being passed in as properties - these were in the 'opstate' anyway
* Updated access to opstate.version where required
* Graphs fixed plus some other tweaks
* Graphs are now react components
* Rearranged components to be a little more logical (to me, anyway)
* Fixed styling issues with widgets if not using graphs
* UsageGraph is simpler but have added Canvas and PureCanvas to compliment the component
* Removed jquery from template file
* Started to get file list rendering again
* Sorted out displaying of files and pagination
* Changed the pagination arrows
* Used sass variables for colours to make it easier to change.
* changed pagination arrows... again.
* Got filtering working
* Added debounce function
* Added `per_page` option for pagination (set to false if you don't want pagination)
* Corrected key handling for pagination fragments
* Added refresh flag to force the pagination to refresh when filtering
* Updated missing default config values in Service class
* Tabs now just hide rather than being unmounted
* Added back icons for reset/realtime tabs
* Made reset cache tab functional again
* Moved interface to using background inline svgs rather than inline pngs
* Better check on json request in Server class & additional permission check
* Getting a bit closer to the realtime update being added back in.
* Included axios for requests
* Started to update Interface with the realtime updating
* Pass in refresh rate as core property
* Sorting out of realtime timer and animation
* Nav icons now use colour variables.
* Simplified GeneralInfo component
* Simplified Directives component
* Specific about what props are sent to Functions component
* Simplified OVerview component and was specific with props.
* Simplified MainNavigation component
* Started to move graphs over to use SVG rather than canvas.
* Tweaked comment
* Graph track colour and large text (if no graph) taken from variables
Was specific about what props to send to Files list
* Removed old Canvas components
* Better handling (as in, it now works!) of file details auto-updating
* Invalidate link now working.
Last bit of jquery gone with this commit!!
* Reset link now respect live updating
If the live updates are turned on then the reset tab will send an ajax request rather than reload the page. The reset indicator has the same treatment as the live update (goes green by default and pulses) until the next live update where it refreshes the content and removes the 'working' indicator from the reset.
* Some tidy-ups
* Ignored (blacklisted) file paths now shown
* Changed `Files` and `File` to `CachedFiles` and `CachedFile` (respectively)
* Added `IgnoredFiles`
* Removed functionality and additional class to alternative table rows
* Properly filter tabs in case any are not to show
* Added ability to invalidate all files found in search.
Also revamped the Service::handler method to make it much cleaner.
* Added preload file list information
* Started readme update
* Toggling the realtime update will toggle the text
* Some tab indexing
* Updated README
* Added more to readme
* Added cookie functionality back in to remember realtime state between reloads
* Tweaked styles
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.
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.
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.
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.
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.