Commit graph

137 commits

Author SHA1 Message Date
Andrew Collington
679c9b0671
Merge pull request #95 from firassziedan/master
Add noIndex to the HTML Opcache status page in case the web crawlers detect the page
2023-04-23 00:39:52 +01:00
Firass Ziedan
69cb808253
Add noIndex to html opcache status page 2023-01-21 20:27:37 +03:00
Andrew Collington
a4af194185
Merge pull request #87 from amnuts/working/3.4.0
Working/3.4.0
2022-08-02 19:08:34 -04:00
Andrew Collington
19c78c8771 Tweaked readme 2022-08-03 00:03:27 +01:00
Andrew Collington
3ee6bc5f82 Sorted language files' properties 2022-08-03 00:01:13 +01:00
Andrew Collington
29bd8cf998 Added missing french strings 2022-08-02 23:50:35 +01:00
Andrew Collington
efd4367eb1
Merge pull request #90 from amnuts/languages
Languages
2022-07-21 18:22:11 +01:00
Andrew Collington
f6a31b84f4 Updated readme 2022-07-18 21:31:59 +01:00
Andrew Collington
47ad738329 Added language into the build process and rebuilt index 2022-07-18 21:21:27 +01:00
Andrew Collington
bedd520711 Added some translation text I had missed 2022-07-18 21:20:53 +01:00
Benjamin BALET
cd3952322c
Support of French language (#91)
Co-authored-by: Benjamin BALET <benjamin.balet@sii.fr>
2022-07-18 20:44:08 +01:00
Andrew Collington
b53fcd71c8
Wasn't piratey enough 2022-07-18 13:39:27 +01:00
Andrew Collington
57150f9105 Readme tweak to correct default options list 2022-07-17 23:39:18 +01:00
Andrew Collington
d10c3db655 Further readme updates 2022-07-17 23:31:36 +01:00
Andrew Collington
f72592dc01 Updated readme for when it's possible to change languages. 2022-07-17 22:26:48 +01:00
Andrew Collington
ab7a30169c Moved short flag for local js to j 2022-07-17 22:21:38 +01:00
Andrew Collington
73b78e9c3f Merge remote-tracking branch 'origin/languages' into languages
# Conflicts:
#	build/_languages/example.json
2022-07-17 21:30:42 +01:00
Andrew Collington
f508d6ef63 Renamed folder for consistency 2022-07-17 21:28:23 +01:00
Andrew Collington
e97679ffb5 Renamed folder for consistency 2022-07-17 21:25:37 +01:00
Andrew Collington
291c74231f Merge remote-tracking branch 'origin/languages' into languages 2022-07-17 21:24:47 +01:00
Andrew Collington
725105cd5c Added example language file 2022-07-17 21:24:31 +01:00
Andrew Collington
1fd17af12c
Merge branch 'working/3.4.0' into languages 2022-07-17 21:14:17 +01:00
Andrew Collington
5eff1f173e Setup code for changing languages 2022-07-17 02:43:40 +01:00
Andrew Collington
cd7581be1c Added date format to template file defaults 2022-07-17 01:08:56 +01:00
Andrew Collington
57afb1982c Start of integrating different languages 2022-07-17 01:07:09 +01:00
Andrew Collington
e2485ee980 Tweaked readme 2022-07-16 22:55:40 +01:00
Andrew Collington
4fe73e0ef8 Build script updated to allow remote js files to be local 2022-07-16 22:52:27 +01:00
Andrew Collington
17e8f6e708 Date/time updates
Added new config option to change the format of the date/time strings throughout the interface.

Added `last modified` date/time output to the file cache list, and added the last modified as a sorting option (fixes PR#82).
2022-07-16 18:47:00 +01:00
Andrew Collington
d87d89121d Updated node-sass due to CVE-2020-24025 2022-07-16 16:21:09 +01:00
Andrew Collington
19961a3447 Update version before I forget 2022-07-16 16:19:55 +01:00
Steve Moretz
6300a6a0a2
Update index.php (#83)
* Update index.php
* Update template.phps
2022-07-16 15:53:56 +01:00
Andrew Collington
06ddd7d007
Improved advanced jit output (#80)
* Use `DateTimeImmutable` rather than `date`
* A few minor tidy-ups
* Bump of version in preparation
* Expands on the JIT value
* Updated readme
2022-01-09 23:48:23 +00:00
Andrew Collington
5ddcf95388 Added funding info 2021-10-09 14:01:43 +01:00
Andrew Collington
52d691a82b
Adding JIT information (#75)
* http to https (#73)
* Added better jit-flag output in directives
* Added additional jit information
* Added a highlight/graph of jit buffer usage
* Added jit buffer values to the 'memory usage' info panel
* Added jit 'highlight' option
* Fixed #69
* Updated README
2021-06-27 12:47:40 +01:00
Andrew Collington
d660fbee43
Updated readme with minimum PHP requirement
Also added information about making it compatible with PHP 7.0, just in case.
2020-12-16 15:55:55 +00:00
Andrew Collington
240b9650cd
Release/3.2.1 (#68)
* Fixed spaceship operator regression
* Remove 'empty' get parameter (#66)
* Improved layout of arrays in directive list (eg, optimisation values) (#67)
* Added optimisation value to the list alongside text equivalent.
* Bumping version and updating readme
2020-12-16 11:10:48 +00:00
Andrew Collington
d07fa78798
Release/3.2.0 (#64)
* Slight improvement to how sorting options look when no pagination present
* Updated the React libraries to latest and minified versions
2020-12-08 21:59:47 +00:00
Andrew Collington
bb8e29dbc9
Added sorting to cached file list (#62)
* Added ext-json to composer.json as it's a required funciton.

* Added filtering option for files list

* Updated version numbers
2020-11-28 16:16:58 +00:00
Andy Postnikov
a4e37c66ae
Use spaceship operator (#59) 2020-09-30 07:24:31 +01:00
Andrew Collington
b269562571 Updated version number and added to readme - fixes #58 2020-09-25 20:51:45 +01:00
Andrew Collington
db965ad03e Remove specific protocol for js includes 2020-09-25 19:23:43 +01:00
Andrew Collington
174e58ef6f
minor text tweak 2020-09-25 17:36:06 +01:00
Mark Harrison
c886560c96
Fix Documentor error (#57) 2020-09-25 17:35:16 +01:00
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
Niklas
7b262c154d
Updated JS libraries (#50)
(I just like keeping stuff up to date, I had no real problems with the older versions)
2020-05-09 15:00:15 +01:00
Andrew Collington
95a728871e Refined placement of initial css namespace. 2020-04-07 22:43:20 +01:00
Andrew Collington
3e1b12c1eb Merge branch 'theme' 2020-04-06 23:35:41 +01:00
Andrew Collington
6e1fc65544 Corrected version numbers 2020-04-06 23:33:57 +01:00
Andrew Collington
2607296609
CSS is now all namespaced. (#48)
* 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 23:18:35 +01:00