Skip to content

Commit ef5605b

Browse files
committed
Fix debug mode validation response rendering
1 parent ab8b39d commit ef5605b

File tree

537 files changed

+50257
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

537 files changed

+50257
-16
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161
},
6262
"scripts": {
6363
"validate": [
64-
"vendor/bin/phpunit --no-coverage --testdox",
6564
"vendor/bin/phpcs -p",
6665
"vendor/bin/composer-require-checker check --config-file=tools/composer-require-checker.json composer.json",
6766
"vendor/bin/psalm -c psalm-dev.xml",
68-
"vendor/bin/composer-unused"
67+
"vendor/bin/composer-unused",
68+
"vendor/bin/phpunit --no-coverage --testdox"
6969
],
7070
"tests": [
7171
"vendor/bin/phpunit --no-coverage"

locales/en/LC_MESSAGES/casserver.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,15 @@ msgstr "Logged in"
3030
msgid "You are logged in."
3131
msgstr "You are logged in."
3232

33+
msgid "{copy}"
34+
msgstr "Copy"
35+
36+
msgid "{copied}"
37+
msgstr "Copied!"
38+
39+
msgid "{continue}"
40+
msgstr "Continue"
41+
42+
msgid "{copyToClipboard}"
43+
msgstr "Copy to clipboard"
44+

phpcs.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121

2222
<!-- Use this to exclude paths. You can have multiple patterns -->
2323
<exclude-pattern>tests/config/*</exclude-pattern>
24+
<exclude-pattern>public/assets/bootstrap/*</exclude-pattern>
25+
<exclude-pattern>public/assets/jquery/*</exclude-pattern>
26+
<exclude-pattern>public/assets/highlight/*</exclude-pattern>
27+
<exclude-pattern>public/assets/js/vkbeautify.js</exclude-pattern>
2428

2529
<!-- This is the rule we inherit from. If you want to exclude some specific rules, see the docs on how to do that -->
2630
<rule ref="PSR12"/>

public/.keep

Whitespace-only changes.

public/assets/bootstrap/bootstrap-5.3.3.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/assets/bootstrap/bootstrap-bundle-5.3.3.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/assets/css/casserver.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
code {
2+
min-width: 100%;
3+
height: 50vh;
4+
width: 0px;
5+
overflow: auto; /* Or scroll */
6+
}
7+
8+
pre {
9+
padding: unset;
10+
}
11+

public/assets/highlight/DIGESTS.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Subresource Integrity
2+
3+
If you are loading Highlight.js via CDN you may wish to use [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) to guarantee that you are using a legimitate build of the library.
4+
5+
To do this you simply need to add the `integrity` attribute for each JavaScript file you download via CDN. These digests are used by the browser to confirm the files downloaded have not been modified.
6+
7+
```html
8+
<script
9+
src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/highlight.min.js"
10+
integrity="sha384-pGqTJHE/m20W4oDrfxTVzOutpMhjK3uP/0lReY0Jq/KInpuJSXUnk4WAYbciCLqT"></script>
11+
<!-- including any other grammars you might need to load -->
12+
<script
13+
src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/languages/go.min.js"
14+
integrity="sha384-Mtb4EH3R9NMDME1sPQALOYR8KGqwrXAtmc6XGxDd0XaXB23irPKsuET0JjZt5utI"></script>
15+
```
16+
17+
The full list of digests for every file can be found below.
18+
19+
### Digests
20+
21+
```
22+
sha384-no5/zgQGupzPFGWV8VpJzfQau5/GI2v5b7I45l6nKc8gMOxzBHfgyxNdjQEnmW94 /es/languages/bash.js
23+
sha384-u2nRnIxVxHkjnpxFScw/XgxNVuLz4dXXiT56xbp+Kk2b8AuStNgggHNpM9HO569A /es/languages/bash.min.js
24+
sha384-BxojDi6ePBYN3unEc6aUEpUtUyx0Eq0i/UZPISuI2YQy6eAD5HzD0dtBC53uZ6R1 /es/languages/php.js
25+
sha384-C28kAnknmyKQUME+2sa0tyQkFMN1S/aUSB1gQ+PKUf0+ewgxNh8CwAmd+C0UUaZ7 /es/languages/php.min.js
26+
sha384-Tdx2DY9ZTHx3KhVXYqOVKx3q1zOboDGlTTv8sgMlER8y4WETtqL+C4VQ7B4A0OGq /es/languages/xml.js
27+
sha384-n9ZezaAVj8pK1BIFZQxmC1BM9yGuBNRgvsOxHMHPCXzqYd1gSYIu9KjgGEm8K57w /es/languages/xml.min.js
28+
sha384-4SbTAv3AX2fuPCpSv6HW3p07YgA7hFfcwG2zJHtYv0ATIt1juD3IXj2NSYwTeIpm /languages/bash.js
29+
sha384-83HvQQdGTWqnRLmgm19NjCb1+/awKJGytUX9sm3HJb2ddZ9Fs1Bst2bZogFjt9rr /languages/bash.min.js
30+
sha384-swGDgtGOmzrsbFAaQRjzvGs0hhe0N86mfHIuisr3W9AT0hiheGyRORSGrbMDGOw5 /languages/php.js
31+
sha384-Xd0AQIkWCEjBL8BNMtDMGVqFXkf445J6PNUJdXbh334ckjeSa90wtSUjXySuz+rt /languages/php.min.js
32+
sha384-QAL2h4IMgQaJUJjUy0dSWdAut7o/A272ai8qOsJ8SSm9KMxkdLgH7oGfLGft/EJ0 /languages/xml.js
33+
sha384-CN3No+n1UZXCFYyl+ge5yAPGTNGuH23BdIsFJxntDmEYL94AmoZlNBHGSdjVSjKG /languages/xml.min.js
34+
sha384-hdHa09JPBmAChFAcnM9vOrZVSTdAXz5tLRf6AvcszDlV4V4JLnbF4I16Iw1MH1c/ /highlight.js
35+
sha384-3dR6ERhkzUCvAqDAdUxAFvA2hItRcIPYedbUDiaVf4SqKKwuy+76eLWNBuowSkMK /highlight.min.js
36+
```
37+

public/assets/highlight/LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2006, Ivan Sagalaev.
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
* Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
* Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

public/assets/highlight/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Highlight.js CDN Assets
2+
3+
[![install size](https://packagephobia.now.sh/badge?p=highlight.js)](https://packagephobia.now.sh/result?p=highlight.js)
4+
5+
**This package contains only the CDN build assets of highlight.js.**
6+
7+
This may be what you want if you'd like to install the pre-built distributable highlight.js client-side assets via NPM. If you're wanting to use highlight.js mainly on the server-side you likely want the [highlight.js][1] package instead.
8+
9+
To access these files via CDN:<br>
10+
https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/
11+
12+
**If you just want a single .js file with the common languages built-in:
13+
<https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/highlight.min.js>**
14+
15+
---
16+
17+
## Highlight.js
18+
19+
Highlight.js is a syntax highlighter written in JavaScript. It works in
20+
the browser as well as on the server. It works with pretty much any
21+
markup, doesn’t depend on any framework, and has automatic language
22+
detection.
23+
24+
If you'd like to read the full README:<br>
25+
<https://github.com/highlightjs/highlight.js/blob/main/README.md>
26+
27+
## License
28+
29+
Highlight.js is released under the BSD License. See [LICENSE][7] file
30+
for details.
31+
32+
## Links
33+
34+
The official site for the library is at <https://highlightjs.org/>.
35+
36+
The Github project may be found at: <https://github.com/highlightjs/highlight.js>
37+
38+
Further in-depth documentation for the API and other topics is at
39+
<http://highlightjs.readthedocs.io/>.
40+
41+
A list of the Core Team and contributors can be found in the [CONTRIBUTORS.md][8] file.
42+
43+
[1]: https://www.npmjs.com/package/highlight.js
44+
[7]: https://github.com/highlightjs/highlight.js/blob/main/LICENSE
45+
[8]: https://github.com/highlightjs/highlight.js/blob/main/CONTRIBUTORS.md

0 commit comments

Comments
 (0)