Commit graph

27 commits

Author SHA1 Message Date
Andrew Collington 0185ee1cd6
V3 (#56)
* 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
2020-09-19 00:30:17 +01:00
Carsten c6ee88996c
Added developer documentation (#52) 2020-06-05 16:31:54 +01:00
Andrew Collington 95a728871e Refined placement of initial css namespace. 2020-04-07 22:43:20 +01:00
Andrew Collington 6e1fc65544 Corrected version numbers 2020-04-06 23:33:57 +01:00
Andrew Collington 8c2f2550a7 Updated README with new version & corrected version number. 2020-04-06 23:16:25 +01:00
Andrew Collington 92da6dddab Tweak to readme 2020-02-22 19:57:23 +00:00
Andrew Collington e6494432a2 README revamp.
Moved around the content a bit so the more important stuff comes first, and added some extra details thanks to @fyrye.  This should resolve #45.
2020-02-22 18:05:37 +00:00
Andrew Collington 22d360c359 Updated readme screenshot 2019-07-13 17:26:40 +01: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 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 9e016f4898 Bumped version and updated readme. 2017-06-27 11:58:19 +01: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 ffc72807cc Updated readme file. 2015-12-30 18:44:54 +00:00
Andrew Collington 0d75f64d86 Better composer instructions in the readme file. 2015-11-06 10:52:40 +00: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 a6324aab34 Added PHP 5.4 requirement, support information and tweaked other parts of the composer and readme files. 2015-01-29 11:31:33 +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 9a64576383 Updated readme for v2. 2014-11-26 11:17:35 +00:00
Andrew Collington ad52ba94f5 Update README.md 2014-08-04 16:46:06 +01:00
Andrew Collington ba8464d40c Update README.md 2014-08-04 16:42:03 +01:00
Andrew Collington 1033eeddfb Update README.md
Added a couple screenshots
2013-10-08 01:28:03 +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 4fcbe7c10a Added filtering for the file list.
Improved responsiveness for the main buttons.
2013-04-26 12:56:30 +01:00
Andrew Collington 52d4452a70 Initial import 2013-04-08 16:40:06 +01:00