mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-16 19:06:45 +03:00
Compare commits
438 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad8fc95521 | ||
|
|
cca066a258 | ||
|
|
bbda5fd468 | ||
|
|
8429cc93eb | ||
|
|
fef61f054a | ||
|
|
8082c95ec3 | ||
|
|
fcabf478de | ||
|
|
8de2c28497 | ||
|
|
0838d5ea16 | ||
|
|
449ac40114 | ||
|
|
3131050acd | ||
|
|
c0d2874892 | ||
|
|
5940a91809 | ||
|
|
9a4651badb | ||
|
|
92d15d9cf2 | ||
|
|
b06147fef7 | ||
|
|
841350a937 | ||
|
|
12183bac07 | ||
|
|
e65b4b63a2 | ||
|
|
7cac3f4780 | ||
|
|
92cd11d105 | ||
|
|
13115ace84 | ||
|
|
73f9834e6f | ||
|
|
3afe855156 | ||
|
|
bfde896f0b | ||
|
|
1cdc0a7a3d | ||
|
|
d19b86640b | ||
|
|
2936ba609b | ||
|
|
573a2dd22a | ||
|
|
b55cc803d3 | ||
|
|
304ade418e | ||
|
|
997931c42f | ||
|
|
268e353431 | ||
|
|
b491b5fbca | ||
|
|
387c786768 | ||
|
|
2641586a6f | ||
|
|
6d2cd20e80 | ||
|
|
b0c574356a | ||
|
|
07e45a20e5 | ||
|
|
14056c69e6 | ||
|
|
fb9c840c46 | ||
|
|
5fba4a5399 | ||
|
|
c0b377050e | ||
|
|
f3efb6441d | ||
|
|
0cf313a21e | ||
|
|
26aadffb20 | ||
|
|
a5f48e3202 | ||
|
|
b0dda6e6a7 | ||
|
|
d4025d95e7 | ||
|
|
d6021f4d22 | ||
|
|
b9a3290731 | ||
|
|
48f235ea5a | ||
|
|
047771b9f4 | ||
|
|
b5375114d3 | ||
|
|
fc13e56cea | ||
|
|
77fc37ac25 | ||
|
|
3424351e84 | ||
|
|
606f9d92d0 | ||
|
|
a5e25abb9c | ||
|
|
b310e87e4c | ||
|
|
425baf9d6e | ||
|
|
825c369ad9 | ||
|
|
10bab70438 | ||
|
|
350e0b281b | ||
|
|
08805ea3c8 | ||
|
|
9441e32c69 | ||
|
|
530fc37067 | ||
|
|
369e499dce | ||
|
|
655815de6d | ||
|
|
457adc1fee | ||
|
|
e86a90967e | ||
|
|
5d08f7cf14 | ||
|
|
8744eb2d62 | ||
|
|
d8383cfa80 | ||
|
|
4626278447 | ||
|
|
c61af9c22b | ||
|
|
72521d0906 | ||
|
|
7e44b195c5 | ||
|
|
5b45eac5e1 | ||
|
|
c1d30341e7 | ||
|
|
80d2b4913b | ||
|
|
3f473528b1 | ||
|
|
d0dcd4f61b | ||
|
|
bde66a1396 | ||
|
|
4de5a2d9bf | ||
|
|
27bf4299cf | ||
|
|
164f01bb25 | ||
|
|
f563a005f5 | ||
|
|
a14d8e30cc | ||
|
|
a9194ffb63 | ||
|
|
2f9c1b7127 | ||
|
|
bbea76668b | ||
|
|
becc630acf | ||
|
|
4ac8ecad6b | ||
|
|
903e88c700 | ||
|
|
ed96aa820e | ||
|
|
63ec079b7b | ||
|
|
d485fcb3db | ||
|
|
0f895668a4 | ||
|
|
6c577ac3bf | ||
|
|
31cc2423d2 | ||
|
|
c9ed32e518 | ||
|
|
6b4c3a0969 | ||
|
|
2dad92d1bd | ||
|
|
c1fb7ab7dc | ||
|
|
98315f3899 | ||
|
|
8c82aaabd6 | ||
|
|
ce9b536b78 | ||
|
|
d9c50e5bc1 | ||
|
|
bf075f7dd8 | ||
|
|
a4fd673285 | ||
|
|
e794c977bc | ||
|
|
0b088ef1d3 | ||
|
|
bf6a6af683 | ||
|
|
914790fd99 | ||
|
|
edb0c6a9e8 | ||
|
|
84049de696 | ||
|
|
da0531e63b | ||
|
|
421dc75f4e | ||
|
|
8ae91df038 | ||
|
|
64b41dd626 | ||
|
|
ebd6e4d3a2 | ||
|
|
80374aea5c | ||
|
|
2ac9efae7d | ||
|
|
a11d565ba4 | ||
|
|
1fdf854ea7 | ||
|
|
e9c9792cb9 | ||
|
|
5ae524c25a | ||
|
|
0d7287fc8b | ||
|
|
e77c96f6b7 | ||
|
|
9b8a10dd3a | ||
|
|
49200ca5ce | ||
|
|
34aa4dbf10 | ||
|
|
5ee79d16c9 | ||
|
|
a1ea4006e0 | ||
|
|
9078188939 | ||
|
|
ed0aad1a7a | ||
|
|
5c59cfb020 | ||
|
|
3ca15ad68a | ||
|
|
60014989f5 | ||
|
|
57b10f195e | ||
|
|
b1e95eb39f | ||
|
|
b3da77b8f9 | ||
|
|
1a345b74bb | ||
|
|
8ffc3a4abf | ||
|
|
7233c1c7b2 | ||
|
|
1309a01131 | ||
|
|
0333185b6d | ||
|
|
83f89f64e8 | ||
|
|
11a1a6fb16 | ||
|
|
882c609296 | ||
|
|
176a0dcd59 | ||
|
|
94b0f70bfa | ||
|
|
08b2a77d41 | ||
|
|
3e8e9a23cf | ||
|
|
58b83b64c8 | ||
|
|
dfe4cde6ee | ||
|
|
d11144d9e2 | ||
|
|
f96b0ea5f3 | ||
|
|
815f8d79ed | ||
|
|
b62dab32e0 | ||
|
|
262f863981 | ||
|
|
a4c94390a1 | ||
|
|
53f3cca85d | ||
|
|
ed08bbcecc | ||
|
|
de97ebf9b7 | ||
|
|
f492a660a8 | ||
|
|
09436836a5 | ||
|
|
bb455d7788 | ||
|
|
009212ab80 | ||
|
|
ba9cb591c8 | ||
|
|
d00ac2f34e | ||
|
|
bd4dc6d463 | ||
|
|
d91180a909 | ||
|
|
bc2913a5cb | ||
|
|
4802394562 | ||
|
|
1755556468 | ||
|
|
01cdbdb7ae | ||
|
|
fc8bbf3eab | ||
|
|
3cdab19319 | ||
|
|
5661d20e87 | ||
|
|
91f80123e8 | ||
|
|
7a0636d0f8 | ||
|
|
0fe5bdfbac | ||
|
|
f88687e977 | ||
|
|
68d437d05b | ||
|
|
1e56aaea04 | ||
|
|
dab170a6fe | ||
|
|
a8de717d9b | ||
|
|
78fe95b6fc | ||
|
|
e0c24e41aa | ||
|
|
fa8553839b | ||
|
|
b8fcefc794 | ||
|
|
88bcb68fcb | ||
|
|
7c000553ae | ||
|
|
391fa35c80 | ||
|
|
c6773a8c9f | ||
|
|
9b226e7d39 | ||
|
|
9865446267 | ||
|
|
926abbe776 | ||
|
|
4fabef3a57 | ||
|
|
5ef4cd80c3 | ||
|
|
e01f23583f | ||
|
|
7792cb3915 | ||
|
|
be26253a18 | ||
|
|
1bdd1f8189 | ||
|
|
fa62c79b17 | ||
|
|
d7d8fa1e5b | ||
|
|
18562f1e10 | ||
|
|
86090a694f | ||
|
|
1ee8287c73 | ||
|
|
8eb98cd591 | ||
|
|
0f9ba21b05 | ||
|
|
834f8e7046 | ||
|
|
32e3399334 | ||
|
|
2d8698a218 | ||
|
|
454fb883a2 | ||
|
|
6f4a6ab8ea | ||
|
|
9c4b6f36f1 | ||
|
|
78886b1e67 | ||
|
|
d9debaf032 | ||
|
|
d4360d6347 | ||
|
|
175b1785c0 | ||
|
|
c8740c0171 | ||
|
|
91ee895a74 | ||
|
|
a045e46571 | ||
|
|
44eaa65c3b | ||
|
|
0a22af7b14 | ||
|
|
b54702ab08 | ||
|
|
c4fdcfc5d1 | ||
|
|
cb8117e8df | ||
|
|
5a218d5056 | ||
|
|
8dbc5cf9c6 | ||
|
|
71e81615a3 | ||
|
|
611d37da04 | ||
|
|
0e799a3857 | ||
|
|
b91d6e2bfa | ||
|
|
ea16ad7e94 | ||
|
|
ba6eb54552 | ||
|
|
f705e7683b | ||
|
|
dc996adb20 | ||
|
|
a64c638ccc | ||
|
|
359c067279 | ||
|
|
66a746e297 | ||
|
|
a4d43ee24b | ||
|
|
f7793a70a9 | ||
|
|
ceba3d31fb | ||
|
|
eecc08edde | ||
|
|
eb19aadc75 | ||
|
|
06c81e69b9 | ||
|
|
3dc3d4a639 | ||
|
|
94c59c1e3d | ||
|
|
4d2205853a | ||
|
|
751772b87a | ||
|
|
76e30869e1 | ||
|
|
3edc9fe9eb | ||
|
|
616c62703e | ||
|
|
ecd56917e7 | ||
|
|
e22c9cae91 | ||
|
|
29ddb6e1b9 | ||
|
|
2ff90e2ff0 | ||
|
|
04ecc128a2 | ||
|
|
87d1d3423b | ||
|
|
4818192a2a | ||
|
|
965dd97f54 | ||
|
|
195b74926c | ||
|
|
2120db12b2 | ||
|
|
ed563fef28 | ||
|
|
0d31a8e3f1 | ||
|
|
b8354b974b | ||
|
|
034c1e289d | ||
|
|
f31605a3de | ||
|
|
e7cc75c74d | ||
|
|
4b79d5e4e8 | ||
|
|
34854915b3 | ||
|
|
af6f34b529 | ||
|
|
fb82a2b896 | ||
|
|
5b464938b6 | ||
|
|
81f954890d | ||
|
|
0e2bbcec62 | ||
|
|
fdd339f525 | ||
|
|
8cf7d6a83d | ||
|
|
58a5008718 | ||
|
|
c44a8df55d | ||
|
|
ff1494c519 | ||
|
|
b8ce8fd852 | ||
|
|
75e7454a5f | ||
|
|
2558ea8931 | ||
|
|
ac0f47a4b2 | ||
|
|
4f16129869 | ||
|
|
64a8037fdd | ||
|
|
7502ba1bc8 | ||
|
|
33a04697ef | ||
|
|
b70a5c0cdb | ||
|
|
9443ae9f40 | ||
|
|
220c2a4102 | ||
|
|
e9914eb301 | ||
|
|
934512d09c | ||
|
|
9102c90986 | ||
|
|
c3e74219c4 | ||
|
|
13c9d7bc2d | ||
|
|
119b539586 | ||
|
|
29a5c180f0 | ||
|
|
7906602291 | ||
|
|
6dafe773ff | ||
|
|
25bc28a1be | ||
|
|
4c561c7fa0 | ||
|
|
95b3e78573 | ||
|
|
63a345bc93 | ||
|
|
e093a172cb | ||
|
|
4b01f8934b | ||
|
|
bc116b45b5 | ||
|
|
a059960b9e | ||
|
|
7770966fed | ||
|
|
d7adcf6c69 | ||
|
|
04a364dcc3 | ||
|
|
db83ac7eaa | ||
|
|
3ca9dddf61 | ||
|
|
bf74f53ca7 | ||
|
|
9d67efb4a4 | ||
|
|
3a39b9f440 | ||
|
|
27f7aab375 | ||
|
|
337da0c467 | ||
|
|
f56b3560c4 | ||
|
|
02dfe11ce6 | ||
|
|
83d06beb70 | ||
|
|
a8cfc059c8 | ||
|
|
1614b2bab0 | ||
|
|
4bdec0d214 | ||
|
|
6a7d7e7c2b | ||
|
|
30d4674657 | ||
|
|
9f961f95f8 | ||
|
|
bab99a26ec | ||
|
|
9a7fecd269 | ||
|
|
a8dc0d449b | ||
|
|
a0381f76bf | ||
|
|
6102f66daa | ||
|
|
c6134d162d | ||
|
|
2046f9b9de | ||
|
|
ac3ba594a4 | ||
|
|
22df25a480 | ||
|
|
8b30c7f02e | ||
|
|
757cdddc7c | ||
|
|
df95e99680 | ||
|
|
5a6d544db7 | ||
|
|
16117d329c | ||
|
|
e90da18ada | ||
|
|
a08d80e1cc | ||
|
|
6258175922 | ||
|
|
15736777a0 | ||
|
|
75915e8a94 | ||
|
|
9bde0ae4ea | ||
|
|
0c802d1f86 | ||
|
|
b7a96c6466 | ||
|
|
4b645a82c7 | ||
|
|
d599b77b6f | ||
|
|
26e93dc8c1 | ||
|
|
a4c9a8491b | ||
|
|
70ee636d87 | ||
|
|
b35f6dbb03 | ||
|
|
67d9e24d8f | ||
|
|
3903fda6ca | ||
|
|
441e46ebaa | ||
|
|
1f4260f359 | ||
|
|
dc0bf8ad4e | ||
|
|
102e326e6a | ||
|
|
2b25bf6f3b | ||
|
|
f93280696d | ||
|
|
1787391b07 | ||
|
|
a74a8ee483 | ||
|
|
7fa5405cb7 | ||
|
|
6725ddcc41 | ||
|
|
bce941db3f | ||
|
|
6d926048ec | ||
|
|
5335c973b4 | ||
|
|
15c3e5c96e | ||
|
|
a5d5904969 | ||
|
|
598758b991 | ||
|
|
9926e23bc8 | ||
|
|
5d3264bc63 | ||
|
|
d71f819f95 | ||
|
|
ee13509760 | ||
|
|
82d7bb1f32 | ||
|
|
cdfda508d8 | ||
|
|
da941e584f | ||
|
|
65874d7b96 | ||
|
|
ac9b8f405c | ||
|
|
8d1419a12e | ||
|
|
04f7a7d301 | ||
|
|
c10d2a1493 | ||
|
|
97bbf79ffd | ||
|
|
f7b01ae53d | ||
|
|
d704e1dbba | ||
|
|
ef2ff5e093 | ||
|
|
7caed3b0db | ||
|
|
45641d0754 | ||
|
|
4b1d08ba99 | ||
|
|
160fa99ba4 | ||
|
|
d2a5ab49ed | ||
|
|
c6404d8917 | ||
|
|
7113807f12 | ||
|
|
be711215e8 | ||
|
|
7e3b404240 | ||
|
|
e86901ca20 | ||
|
|
bdfa61c8b2 | ||
|
|
2cc36787f5 | ||
|
|
448ac61b48 | ||
|
|
753f6394f7 | ||
|
|
b1faf65934 | ||
|
|
09f478bd74 | ||
|
|
a0497feddd | ||
|
|
789693bde9 | ||
|
|
1fe933e4ea | ||
|
|
724b4b5a70 | ||
|
|
1778a56146 | ||
|
|
744865fcb2 | ||
|
|
7f8c8b448d | ||
|
|
a67c53826d | ||
|
|
14b131e850 | ||
|
|
9b55a52b85 | ||
|
|
db1d10e80f | ||
|
|
1be576966f | ||
|
|
b97e792c5f | ||
|
|
8dec674cc3 | ||
|
|
f784c03746 | ||
|
|
148e172fe8 | ||
|
|
56ae86646f | ||
|
|
1d2b6fdfa2 | ||
|
|
4fc75beed4 | ||
|
|
3b3bc0c4bf | ||
|
|
910faab88e | ||
|
|
f184d763ad | ||
|
|
a91d42634d | ||
|
|
f517ef3616 | ||
|
|
e99507ddcf | ||
|
|
d2cacf1945 | ||
|
|
448ac1405b | ||
|
|
6ad21ce885 |
6
.gitignore
vendored
6
.gitignore
vendored
@@ -8,10 +8,10 @@ Homestead.yaml
|
||||
.idea
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
/public/dist
|
||||
/public/dist/*.map
|
||||
/public/plugins
|
||||
/public/css
|
||||
/public/js
|
||||
/public/css/*.map
|
||||
/public/js/*.map
|
||||
/public/bower
|
||||
/public/build/
|
||||
/public/favicon.ico
|
||||
|
||||
@@ -9,9 +9,11 @@ use Illuminate\Http\Request;
|
||||
|
||||
class OidcController extends Controller
|
||||
{
|
||||
public function __construct(
|
||||
protected OidcService $oidcService
|
||||
) {
|
||||
protected OidcService $oidcService;
|
||||
|
||||
public function __construct(OidcService $oidcService)
|
||||
{
|
||||
$this->oidcService = $oidcService;
|
||||
$this->middleware('guard:oidc');
|
||||
}
|
||||
|
||||
@@ -28,7 +30,7 @@ class OidcController extends Controller
|
||||
return redirect('/login');
|
||||
}
|
||||
|
||||
session()->put('oidc_state', time() . ':' . $loginDetails['state']);
|
||||
session()->flash('oidc_state', $loginDetails['state']);
|
||||
|
||||
return redirect($loginDetails['url']);
|
||||
}
|
||||
@@ -39,16 +41,10 @@ class OidcController extends Controller
|
||||
*/
|
||||
public function callback(Request $request)
|
||||
{
|
||||
$storedState = session()->pull('oidc_state');
|
||||
$responseState = $request->query('state');
|
||||
$splitState = explode(':', session()->pull('oidc_state', ':'), 2);
|
||||
if (count($splitState) !== 2) {
|
||||
$splitState = [null, null];
|
||||
}
|
||||
|
||||
[$storedStateTime, $storedState] = $splitState;
|
||||
$threeMinutesAgo = time() - 3 * 60;
|
||||
|
||||
if (!$storedState || $storedState !== $responseState || intval($storedStateTime) < $threeMinutesAgo) {
|
||||
if ($storedState !== $responseState) {
|
||||
$this->showErrorNotification(trans('errors.oidc_fail_authed', ['system' => config('oidc.name')]));
|
||||
|
||||
return redirect('/login');
|
||||
@@ -66,7 +62,7 @@ class OidcController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* Log the user out, then start the OIDC RP-initiated logout process.
|
||||
* Log the user out then start the OIDC RP-initiated logout process.
|
||||
*/
|
||||
public function logout()
|
||||
{
|
||||
|
||||
@@ -41,19 +41,7 @@ class Comment extends Model implements Loggable, OwnableInterface
|
||||
*/
|
||||
public function entity(): MorphTo
|
||||
{
|
||||
// We specifically define null here to avoid the different name (commentable)
|
||||
// being used by Laravel eager loading instead of the method name, which it was doing
|
||||
// in some scenarios like when deserialized when going through the queue system.
|
||||
// So we instead specify the type and id column names to use.
|
||||
// Related to:
|
||||
// https://github.com/laravel/framework/pull/24815
|
||||
// https://github.com/laravel/framework/issues/27342
|
||||
// https://github.com/laravel/framework/issues/47953
|
||||
// (and probably more)
|
||||
|
||||
// Ultimately, we could just align the method name to 'commentable' but that would be a potential
|
||||
// breaking change and not really worthwhile in a patch due to the risk of creating extra problems.
|
||||
return $this->morphTo(null, 'commentable_type', 'commentable_id');
|
||||
return $this->morphTo('commentable');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,7 +20,6 @@ abstract class BaseNotificationHandler implements NotificationHandler
|
||||
{
|
||||
$users = User::query()->whereIn('id', array_unique($userIds))->get();
|
||||
|
||||
/** @var User $user */
|
||||
foreach ($users as $user) {
|
||||
// Prevent sending to the user that initiated the activity
|
||||
if ($user->id === $initiator->id) {
|
||||
|
||||
@@ -14,10 +14,7 @@ use Illuminate\Session\Middleware\StartSession as Middleware;
|
||||
class StartSessionExtended extends Middleware
|
||||
{
|
||||
protected static array $pathPrefixesExcludedFromHistory = [
|
||||
'uploads/images/',
|
||||
'dist/',
|
||||
'manifest.json',
|
||||
'opensearch.xml',
|
||||
'uploads/images/'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"league/flysystem-aws-s3-v3": "^3.0",
|
||||
"league/html-to-markdown": "^5.0.0",
|
||||
"league/oauth2-client": "^2.6",
|
||||
"onelogin/php-saml": "^4.3.1",
|
||||
"onelogin/php-saml": "^4.0",
|
||||
"phpseclib/phpseclib": "^3.0",
|
||||
"pragmarx/google2fa": "^8.0",
|
||||
"predis/predis": "^3.2",
|
||||
|
||||
776
composer.lock
generated
776
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
22e02ee72d21ff719c1073abbec8302f8e2096ba6d072e133051064ed24b45b1
|
||||
54cd39cc8e939ff56c7785b653950e7f9c198902779a2babf03d279ec07edc2c
|
||||
@@ -1,3 +1,16 @@
|
||||
abab
|
||||
License: BSD-3-Clause
|
||||
License File: node_modules/abab/LICENSE.md
|
||||
Source: git+https://github.com/jsdom/abab.git
|
||||
Link: https://github.com/jsdom/abab#readme
|
||||
-----------
|
||||
acorn-globals
|
||||
License: MIT
|
||||
License File: node_modules/acorn-globals/LICENSE
|
||||
Copyright: Copyright (c) 2014 Forbes Lindesay
|
||||
Source: https://github.com/ForbesLindesay/acorn-globals.git
|
||||
Link: https://github.com/ForbesLindesay/acorn-globals.git
|
||||
-----------
|
||||
acorn-jsx
|
||||
License: MIT
|
||||
License File: node_modules/acorn-jsx/LICENSE
|
||||
@@ -21,10 +34,8 @@ Link: https://github.com/acornjs/acorn
|
||||
-----------
|
||||
agent-base
|
||||
License: MIT
|
||||
License File: node_modules/agent-base/LICENSE
|
||||
Copyright: Copyright (c) 2013 Nathan Rajlich <******@***********.***>
|
||||
Source: https://github.com/TooTallNate/proxy-agents.git
|
||||
Link: https://github.com/TooTallNate/proxy-agents.git
|
||||
Source: git://github.com/TooTallNate/node-agent-base.git
|
||||
Link: git://github.com/TooTallNate/node-agent-base.git
|
||||
-----------
|
||||
ajv
|
||||
License: MIT
|
||||
@@ -43,7 +54,7 @@ Link: sindresorhus/ansi-escapes
|
||||
ansi-regex
|
||||
License: MIT
|
||||
License File: node_modules/ansi-regex/license
|
||||
Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (https://sindresorhus.com)
|
||||
Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (sindresorhus.com)
|
||||
Source: chalk/ansi-regex
|
||||
Link: chalk/ansi-regex
|
||||
-----------
|
||||
@@ -123,6 +134,20 @@ Copyright: Copyright (c) 2016 EduardoRFS
|
||||
Source: git+https://github.com/ljharb/async-function.git
|
||||
Link: https://github.com/ljharb/async-function#readme
|
||||
-----------
|
||||
async
|
||||
License: MIT
|
||||
License File: node_modules/async/LICENSE
|
||||
Copyright: Copyright (c) 2010-2018 Caolan McMahon
|
||||
Source: https://github.com/caolan/async.git
|
||||
Link: https://caolan.github.io/async/
|
||||
-----------
|
||||
asynckit
|
||||
License: MIT
|
||||
License File: node_modules/asynckit/LICENSE
|
||||
Copyright: Copyright (c) 2016 Alex Indigo
|
||||
Source: git+https://github.com/alexindigo/asynckit.git
|
||||
Link: https://github.com/alexindigo/asynckit#readme
|
||||
-----------
|
||||
available-typed-arrays
|
||||
License: MIT
|
||||
License File: node_modules/available-typed-arrays/LICENSE
|
||||
@@ -293,7 +318,7 @@ ci-info
|
||||
License: MIT
|
||||
License File: node_modules/ci-info/LICENSE
|
||||
Copyright: Copyright (c) 2016 Thomas Watson Steen
|
||||
Source: github:watson/ci-info
|
||||
Source: https://github.com/watson/ci-info.git
|
||||
Link: https://github.com/watson/ci-info
|
||||
-----------
|
||||
cjs-module-lexer
|
||||
@@ -344,6 +369,13 @@ License File: node_modules/color-name/LICENSE
|
||||
Source: git@github.com:colorjs/color-name.git
|
||||
Link: https://github.com/colorjs/color-name
|
||||
-----------
|
||||
combined-stream
|
||||
License: MIT
|
||||
License File: node_modules/combined-stream/License
|
||||
Copyright: Copyright (c) 2011 Debuggable Limited <*****@**********.***>
|
||||
Source: git://github.com/felixge/node-combined-stream.git
|
||||
Link: https://github.com/felixge/node-combined-stream
|
||||
-----------
|
||||
concat-map
|
||||
License: MIT
|
||||
License File: node_modules/concat-map/LICENSE
|
||||
@@ -358,6 +390,13 @@ All rights reserved.
|
||||
Source: git://github.com/thlorenz/convert-source-map.git
|
||||
Link: https://github.com/thlorenz/convert-source-map
|
||||
-----------
|
||||
create-jest
|
||||
License: MIT
|
||||
License File: node_modules/create-jest/LICENSE
|
||||
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
create-require
|
||||
License: MIT
|
||||
License File: node_modules/create-require/LICENSE
|
||||
@@ -379,6 +418,13 @@ Copyright: Copyright (c) 2018 Made With MOXY Lda <*****@****.******>
|
||||
Source: git@github.com:moxystudio/node-cross-spawn.git
|
||||
Link: https://github.com/moxystudio/node-cross-spawn
|
||||
-----------
|
||||
cssom
|
||||
License: MIT
|
||||
License File: node_modules/cssom/LICENSE.txt
|
||||
Copyright: Copyright (c) Nikita Vasilyev
|
||||
Source: NV/CSSOM
|
||||
Link: NV/CSSOM
|
||||
-----------
|
||||
cssstyle
|
||||
License: MIT
|
||||
License File: node_modules/cssstyle/LICENSE
|
||||
@@ -469,6 +515,13 @@ Copyright: Copyright (C) 2015 Jordan Harband
|
||||
Source: git://github.com/ljharb/define-properties.git
|
||||
Link: git://github.com/ljharb/define-properties.git
|
||||
-----------
|
||||
delayed-stream
|
||||
License: MIT
|
||||
License File: node_modules/delayed-stream/License
|
||||
Copyright: Copyright (c) 2011 Debuggable Limited <*****@**********.***>
|
||||
Source: git://github.com/felixge/node-delayed-stream.git
|
||||
Link: https://github.com/felixge/node-delayed-stream
|
||||
-----------
|
||||
detect-libc
|
||||
License: Apache-2.0
|
||||
License File: node_modules/detect-libc/LICENSE
|
||||
@@ -482,6 +535,13 @@ Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (sindresorhus.co
|
||||
Source: sindresorhus/detect-newline
|
||||
Link: sindresorhus/detect-newline
|
||||
-----------
|
||||
diff-sequences
|
||||
License: MIT
|
||||
License File: node_modules/diff-sequences/LICENSE
|
||||
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
diff
|
||||
License: BSD-3-Clause
|
||||
License File: node_modules/diff/LICENSE
|
||||
@@ -495,6 +555,12 @@ License File: node_modules/doctrine/LICENSE
|
||||
Source: eslint/doctrine
|
||||
Link: https://github.com/eslint/doctrine
|
||||
-----------
|
||||
domexception
|
||||
License: MIT
|
||||
License File: node_modules/domexception/LICENSE.txt
|
||||
Source: jsdom/domexception
|
||||
Link: jsdom/domexception
|
||||
-----------
|
||||
dunder-proto
|
||||
License: MIT
|
||||
License File: node_modules/dunder-proto/LICENSE
|
||||
@@ -502,10 +568,11 @@ Copyright: Copyright (c) 2024 ECMAScript Shims
|
||||
Source: git+https://github.com/es-shims/dunder-proto.git
|
||||
Link: https://github.com/es-shims/dunder-proto#readme
|
||||
-----------
|
||||
eastasianwidth
|
||||
License: MIT
|
||||
Source: git://github.com/komagata/eastasianwidth.git
|
||||
Link: git://github.com/komagata/eastasianwidth.git
|
||||
ejs
|
||||
License: Apache-2.0
|
||||
License File: node_modules/ejs/LICENSE
|
||||
Source: git://github.com/mde/ejs.git
|
||||
Link: https://github.com/mde/ejs
|
||||
-----------
|
||||
electron-to-chromium
|
||||
License: ISC
|
||||
@@ -612,6 +679,13 @@ Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (https://sindres
|
||||
Source: sindresorhus/escape-string-regexp
|
||||
Link: sindresorhus/escape-string-regexp
|
||||
-----------
|
||||
escodegen
|
||||
License: BSD-2-Clause
|
||||
License File: node_modules/escodegen/LICENSE.BSD
|
||||
Copyright: Copyright (C) 2012 Yusuke Suzuki (twitter: @Constellation) and other contributors.
|
||||
Source: http://github.com/estools/escodegen.git
|
||||
Link: http://github.com/estools/escodegen
|
||||
-----------
|
||||
eslint-import-resolver-node
|
||||
License: MIT
|
||||
License File: node_modules/eslint-import-resolver-node/LICENSE
|
||||
@@ -698,10 +772,9 @@ Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (https://sindres
|
||||
Source: sindresorhus/execa
|
||||
Link: sindresorhus/execa
|
||||
-----------
|
||||
exit-x
|
||||
License: MIT
|
||||
Source: git://github.com/gruntjs/node-exit-x.git
|
||||
Link: https://github.com/gruntjs/node-exit-x
|
||||
exit
|
||||
Source: git://github.com/cowboy/node-exit.git
|
||||
Link: https://github.com/cowboy/node-exit
|
||||
-----------
|
||||
expect
|
||||
License: MIT
|
||||
@@ -744,6 +817,11 @@ Copyright: Copyright (c) Roy Riojas & Jared Wray
|
||||
Source: jaredwray/file-entry-cache
|
||||
Link: jaredwray/file-entry-cache
|
||||
-----------
|
||||
filelist
|
||||
License: Apache-2.0
|
||||
Source: git://github.com/mde/filelist.git
|
||||
Link: https://github.com/mde/filelist
|
||||
-----------
|
||||
fill-range
|
||||
License: MIT
|
||||
License File: node_modules/fill-range/LICENSE
|
||||
@@ -779,12 +857,12 @@ Copyright: Copyright (c) 2012 Raynos.
|
||||
Source: https://github.com/Raynos/for-each.git
|
||||
Link: https://github.com/Raynos/for-each
|
||||
-----------
|
||||
foreground-child
|
||||
License: ISC
|
||||
License File: node_modules/foreground-child/LICENSE
|
||||
Copyright: Copyright (c) 2015-2023 Isaac Z. Schlueter and Contributors
|
||||
Source: git+https://github.com/tapjs/foreground-child.git
|
||||
Link: git+https://github.com/tapjs/foreground-child.git
|
||||
form-data
|
||||
License: MIT
|
||||
License File: node_modules/form-data/License
|
||||
Copyright: Copyright (c) 2012 Felix Geisendörfer (*****@**********.***) and contributors
|
||||
Source: git://github.com/form-data/form-data.git
|
||||
Link: git://github.com/form-data/form-data.git
|
||||
-----------
|
||||
fs.realpath
|
||||
License: ISC
|
||||
@@ -873,7 +951,7 @@ Link: gulpjs/glob-parent
|
||||
glob
|
||||
License: ISC
|
||||
License File: node_modules/glob/LICENSE
|
||||
Copyright: Copyright (c) 2009-2023 Isaac Z. Schlueter and Contributors
|
||||
Copyright: Copyright (c) Isaac Z. Schlueter and Contributors
|
||||
Source: git://github.com/isaacs/node-glob.git
|
||||
Link: git://github.com/isaacs/node-glob.git
|
||||
-----------
|
||||
@@ -905,13 +983,6 @@ Copyright: Copyright (c) 2011-2022 Isaac Z. Schlueter, Ben Noordhuis, and Contri
|
||||
Source: https://github.com/isaacs/node-graceful-fs
|
||||
Link: https://github.com/isaacs/node-graceful-fs
|
||||
-----------
|
||||
handlebars
|
||||
License: MIT
|
||||
License File: node_modules/handlebars/LICENSE
|
||||
Copyright: Copyright (C) 2011-2019 by Yehuda Katz
|
||||
Source: https://github.com/handlebars-lang/handlebars.js.git
|
||||
Link: https://www.handlebarsjs.com/
|
||||
-----------
|
||||
has-bigints
|
||||
License: MIT
|
||||
License File: node_modules/has-bigints/LICENSE
|
||||
@@ -983,17 +1054,13 @@ Link: https://github.com/WebReflection/html-escaper
|
||||
-----------
|
||||
http-proxy-agent
|
||||
License: MIT
|
||||
License File: node_modules/http-proxy-agent/LICENSE
|
||||
Copyright: Copyright (c) 2013 Nathan Rajlich <******@***********.***>
|
||||
Source: https://github.com/TooTallNate/proxy-agents.git
|
||||
Link: https://github.com/TooTallNate/proxy-agents.git
|
||||
Source: git://github.com/TooTallNate/node-http-proxy-agent.git
|
||||
Link: git://github.com/TooTallNate/node-http-proxy-agent.git
|
||||
-----------
|
||||
https-proxy-agent
|
||||
License: MIT
|
||||
License File: node_modules/https-proxy-agent/LICENSE
|
||||
Copyright: Copyright (c) 2013 Nathan Rajlich <******@***********.***>
|
||||
Source: https://github.com/TooTallNate/proxy-agents.git
|
||||
Link: https://github.com/TooTallNate/proxy-agents.git
|
||||
Source: git://github.com/TooTallNate/node-https-proxy-agent.git
|
||||
Link: git://github.com/TooTallNate/node-https-proxy-agent.git
|
||||
-----------
|
||||
human-signals
|
||||
License: Apache-2.0
|
||||
@@ -1331,11 +1398,10 @@ Copyright: Copyright 2012-2015 Yahoo! Inc.
|
||||
Source: git+ssh://git@github.com/istanbuljs/istanbuljs.git
|
||||
Link: https://istanbul.js.org/
|
||||
-----------
|
||||
jackspeak
|
||||
License: BlueOak-1.0.0
|
||||
License File: node_modules/jackspeak/LICENSE.md
|
||||
Source: git+https://github.com/isaacs/jackspeak.git
|
||||
Link: git+https://github.com/isaacs/jackspeak.git
|
||||
jake
|
||||
License: Apache-2.0
|
||||
Source: git://github.com/jakejs/jake.git
|
||||
Link: git://github.com/jakejs/jake.git
|
||||
-----------
|
||||
jest-changed-files
|
||||
License: MIT
|
||||
@@ -1400,6 +1466,13 @@ Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
jest-get-type
|
||||
License: MIT
|
||||
License File: node_modules/jest-get-type/LICENSE
|
||||
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
jest-haste-map
|
||||
License: MIT
|
||||
License File: node_modules/jest-haste-map/LICENSE
|
||||
@@ -1535,8 +1608,8 @@ jsdom
|
||||
License: MIT
|
||||
License File: node_modules/jsdom/LICENSE.txt
|
||||
Copyright: Copyright (c) 2010 Elijah Insua
|
||||
Source: git+https://github.com/jsdom/jsdom.git
|
||||
Link: git+https://github.com/jsdom/jsdom.git
|
||||
Source: jsdom/jsdom
|
||||
Link: jsdom/jsdom
|
||||
-----------
|
||||
jsesc
|
||||
License: MIT
|
||||
@@ -1591,6 +1664,13 @@ License: MIT
|
||||
Source: git+https://github.com/jaredwray/keyv.git
|
||||
Link: https://github.com/jaredwray/keyv
|
||||
-----------
|
||||
kleur
|
||||
License: MIT
|
||||
License File: node_modules/kleur/license
|
||||
Copyright: Copyright (c) Luke Edwards <****.*********@*****.***> (lukeed.com)
|
||||
Source: lukeed/kleur
|
||||
Link: lukeed/kleur
|
||||
-----------
|
||||
leven
|
||||
License: MIT
|
||||
License File: node_modules/leven/license
|
||||
@@ -1747,6 +1827,22 @@ Copyright: Copyright (c) 2014-present, Jon Schlinkert.
|
||||
Source: micromatch/micromatch
|
||||
Link: https://github.com/micromatch/micromatch
|
||||
-----------
|
||||
mime-db
|
||||
License: MIT
|
||||
License File: node_modules/mime-db/LICENSE
|
||||
Copyright: Copyright (c) 2014 Jonathan Ong <**@***********.***>
|
||||
Copyright (c) 2015-2022 Douglas Christopher Wilson <****@*************.***>
|
||||
Source: jshttp/mime-db
|
||||
Link: jshttp/mime-db
|
||||
-----------
|
||||
mime-types
|
||||
License: MIT
|
||||
License File: node_modules/mime-types/LICENSE
|
||||
Copyright: Copyright (c) 2014 Jonathan Ong <**@***********.***>
|
||||
Copyright (c) 2015 Douglas Christopher Wilson <****@*************.***>
|
||||
Source: jshttp/mime-types
|
||||
Link: jshttp/mime-types
|
||||
-----------
|
||||
mimic-fn
|
||||
License: MIT
|
||||
License File: node_modules/mimic-fn/license
|
||||
@@ -1767,13 +1863,6 @@ License File: node_modules/minimist/LICENSE
|
||||
Source: git://github.com/minimistjs/minimist.git
|
||||
Link: https://github.com/minimistjs/minimist
|
||||
-----------
|
||||
minipass
|
||||
License: ISC
|
||||
License File: node_modules/minipass/LICENSE
|
||||
Copyright: Copyright (c) 2017-2023 npm, Inc., Isaac Z. Schlueter, and Contributors
|
||||
Source: https://github.com/isaacs/minipass
|
||||
Link: https://github.com/isaacs/minipass
|
||||
-----------
|
||||
ms
|
||||
License: MIT
|
||||
License File: node_modules/ms/license.md
|
||||
@@ -1781,26 +1870,11 @@ Copyright: Copyright (c) 2020 Vercel, Inc.
|
||||
Source: vercel/ms
|
||||
Link: vercel/ms
|
||||
-----------
|
||||
napi-postinstall
|
||||
License: MIT
|
||||
License File: node_modules/napi-postinstall/LICENSE
|
||||
Copyright: Copyright (c) 2021-present UnTS
|
||||
Source: git+https://github.com/un-ts/napi-postinstall.git
|
||||
Link: git+https://github.com/un-ts/napi-postinstall.git
|
||||
-----------
|
||||
natural-compare
|
||||
License: MIT
|
||||
Source: git://github.com/litejs/natural-compare-lite.git
|
||||
Link: git://github.com/litejs/natural-compare-lite.git
|
||||
-----------
|
||||
neo-async
|
||||
License: MIT
|
||||
License File: node_modules/neo-async/LICENSE
|
||||
Copyright: Copyright (c) 2014-2018 Suguru Motegi
|
||||
Based on Async.js, Copyright Caolan McMahon
|
||||
Source: git@github.com:suguru03/neo-async.git
|
||||
Link: https://github.com/suguru03/neo-async
|
||||
-----------
|
||||
nice-try
|
||||
License: MIT
|
||||
License File: node_modules/nice-try/LICENSE
|
||||
@@ -1964,12 +2038,6 @@ Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (sindresorhus.co
|
||||
Source: sindresorhus/p-try
|
||||
Link: sindresorhus/p-try
|
||||
-----------
|
||||
package-json-from-dist
|
||||
License: BlueOak-1.0.0
|
||||
License File: node_modules/package-json-from-dist/LICENSE.md
|
||||
Source: git+https://github.com/isaacs/package-json-from-dist.git
|
||||
Link: git+https://github.com/isaacs/package-json-from-dist.git
|
||||
-----------
|
||||
parent-module
|
||||
License: MIT
|
||||
License File: node_modules/parent-module/license
|
||||
@@ -2019,12 +2087,6 @@ Copyright: Copyright (c) 2015 Javier Blanco
|
||||
Source: https://github.com/jbgutierrez/path-parse.git
|
||||
Link: https://github.com/jbgutierrez/path-parse#readme
|
||||
-----------
|
||||
path-scurry
|
||||
License: BlueOak-1.0.0
|
||||
License File: node_modules/path-scurry/LICENSE.md
|
||||
Source: git+https://github.com/isaacs/path-scurry
|
||||
Link: git+https://github.com/isaacs/path-scurry
|
||||
-----------
|
||||
path-type
|
||||
License: MIT
|
||||
License File: node_modules/path-type/license
|
||||
@@ -2095,6 +2157,20 @@ Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
prompts
|
||||
License: MIT
|
||||
License File: node_modules/prompts/license
|
||||
Copyright: Copyright (c) 2018 Terkel Gjervig Nielsen
|
||||
Source: terkelg/prompts
|
||||
Link: terkelg/prompts
|
||||
-----------
|
||||
psl
|
||||
License: MIT
|
||||
License File: node_modules/psl/LICENSE
|
||||
Copyright: Copyright (c) 2017 Lupo Montero ***********@*****.***
|
||||
Source: git@github.com:lupomontero/psl.git
|
||||
Link: git@github.com:lupomontero/psl.git
|
||||
-----------
|
||||
punycode.js
|
||||
License: MIT
|
||||
License File: node_modules/punycode.js/LICENSE-MIT.txt
|
||||
@@ -2114,6 +2190,13 @@ Copyright: Copyright (c) 2018 Nicolas DUBIEN
|
||||
Source: git+https://github.com/dubzzz/pure-rand.git
|
||||
Link: https://github.com/dubzzz/pure-rand#readme
|
||||
-----------
|
||||
querystringify
|
||||
License: MIT
|
||||
License File: node_modules/querystringify/LICENSE
|
||||
Copyright: Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
|
||||
Source: https://github.com/unshiftio/querystringify
|
||||
Link: https://github.com/unshiftio/querystringify
|
||||
-----------
|
||||
react-is
|
||||
License: MIT
|
||||
License File: node_modules/react-is/LICENSE
|
||||
@@ -2163,6 +2246,13 @@ Copyright: Copyright (c) 2016, Contributors
|
||||
Source: git+ssh://git@github.com/yargs/require-main-filename.git
|
||||
Link: https://github.com/yargs/require-main-filename#readme
|
||||
-----------
|
||||
requires-port
|
||||
License: MIT
|
||||
License File: node_modules/requires-port/LICENSE
|
||||
Copyright: Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
|
||||
Source: https://github.com/unshiftio/requires-port
|
||||
Link: https://github.com/unshiftio/requires-port
|
||||
-----------
|
||||
resolve-cwd
|
||||
License: MIT
|
||||
License File: node_modules/resolve-cwd/license
|
||||
@@ -2177,6 +2267,13 @@ Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (sindresorhus.co
|
||||
Source: sindresorhus/resolve-from
|
||||
Link: sindresorhus/resolve-from
|
||||
-----------
|
||||
resolve.exports
|
||||
License: MIT
|
||||
License File: node_modules/resolve.exports/license
|
||||
Copyright: Copyright (c) Luke Edwards <****.*********@*****.***> (lukeed.com)
|
||||
Source: lukeed/resolve.exports
|
||||
Link: lukeed/resolve.exports
|
||||
-----------
|
||||
resolve
|
||||
License: MIT
|
||||
License File: node_modules/resolve/LICENSE
|
||||
@@ -2184,13 +2281,6 @@ Copyright: Copyright (c) 2012 James Halliday
|
||||
Source: git://github.com/browserify/resolve.git
|
||||
Link: git://github.com/browserify/resolve.git
|
||||
-----------
|
||||
rrweb-cssom
|
||||
License: MIT
|
||||
License File: node_modules/rrweb-cssom/LICENSE.txt
|
||||
Copyright: Copyright (c) Nikita Vasilyev
|
||||
Source: rrweb-io/CSSOM
|
||||
Link: rrweb-io/CSSOM
|
||||
-----------
|
||||
safe-array-concat
|
||||
License: MIT
|
||||
License File: node_modules/safe-array-concat/LICENSE
|
||||
@@ -2322,6 +2412,13 @@ Copyright: Copyright (c) 2015, Contributors
|
||||
Source: https://github.com/tapjs/signal-exit.git
|
||||
Link: https://github.com/tapjs/signal-exit
|
||||
-----------
|
||||
sisteransi
|
||||
License: MIT
|
||||
License File: node_modules/sisteransi/license
|
||||
Copyright: Copyright (c) 2018 Terkel Gjervig Nielsen
|
||||
Source: https://github.com/terkelg/sisteransi
|
||||
Link: https://github.com/terkelg/sisteransi
|
||||
-----------
|
||||
slash
|
||||
License: MIT
|
||||
License File: node_modules/slash/license
|
||||
@@ -2419,13 +2516,6 @@ Link: sindresorhus/string-length
|
||||
-----------
|
||||
string-width
|
||||
License: MIT
|
||||
License File: node_modules/string-width-cjs/license
|
||||
Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (sindresorhus.com)
|
||||
Source: sindresorhus/string-width
|
||||
Link: sindresorhus/string-width
|
||||
-----------
|
||||
string-width
|
||||
License: MIT
|
||||
License File: node_modules/string-width/license
|
||||
Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (sindresorhus.com)
|
||||
Source: sindresorhus/string-width
|
||||
@@ -2461,15 +2551,8 @@ Link: git://github.com/es-shims/String.prototype.trimStart.git
|
||||
-----------
|
||||
strip-ansi
|
||||
License: MIT
|
||||
License File: node_modules/strip-ansi-cjs/license
|
||||
Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (sindresorhus.com)
|
||||
Source: chalk/strip-ansi
|
||||
Link: chalk/strip-ansi
|
||||
-----------
|
||||
strip-ansi
|
||||
License: MIT
|
||||
License File: node_modules/strip-ansi/license
|
||||
Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (https://sindresorhus.com)
|
||||
Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (sindresorhus.com)
|
||||
Source: chalk/strip-ansi
|
||||
Link: chalk/strip-ansi
|
||||
-----------
|
||||
@@ -2522,13 +2605,6 @@ Copyright: Copyright (c) 2015 Joris van der Wel
|
||||
Source: https://github.com/jsdom/js-symbol-tree.git
|
||||
Link: https://github.com/jsdom/js-symbol-tree#symbol-tree
|
||||
-----------
|
||||
synckit
|
||||
License: MIT
|
||||
License File: node_modules/synckit/LICENSE
|
||||
Copyright: Copyright (c) 2021 UnTS
|
||||
Source: https://github.com/un-ts/synckit.git
|
||||
Link: https://github.com/un-ts/synckit.git
|
||||
-----------
|
||||
test-exclude
|
||||
License: ISC
|
||||
License File: node_modules/test-exclude/LICENSE.txt
|
||||
@@ -2536,20 +2612,6 @@ Copyright: Copyright (c) 2016, Contributors
|
||||
Source: git+https://github.com/istanbuljs/test-exclude.git
|
||||
Link: https://istanbul.js.org/
|
||||
-----------
|
||||
tldts-core
|
||||
License: MIT
|
||||
License File: node_modules/tldts-core/LICENSE
|
||||
Copyright: Copyright (c) 2017 Thomas Parisot, 2018 Rémi Berson
|
||||
Source: git+ssh://git@github.com/remusao/tldts.git
|
||||
Link: https://github.com/remusao/tldts#readme
|
||||
-----------
|
||||
tldts
|
||||
License: MIT
|
||||
License File: node_modules/tldts/LICENSE
|
||||
Copyright: Copyright (c) 2017 Thomas Parisot, 2018 Rémi Berson
|
||||
Source: git+ssh://git@github.com/remusao/tldts.git
|
||||
Link: https://github.com/remusao/tldts#readme
|
||||
-----------
|
||||
tmpl
|
||||
License: BSD-3-Clause
|
||||
License File: node_modules/tmpl/license
|
||||
@@ -2660,13 +2722,6 @@ License File: node_modules/uc.micro/LICENSE.txt
|
||||
Source: markdown-it/uc.micro
|
||||
Link: markdown-it/uc.micro
|
||||
-----------
|
||||
uglify-js
|
||||
License: BSD-2-Clause
|
||||
License File: node_modules/uglify-js/LICENSE
|
||||
Copyright: Copyright 2012-2024 (c) Mihai Bazon <*****.*****@*****.***>
|
||||
Source: mishoo/UglifyJS
|
||||
Link: mishoo/UglifyJS
|
||||
-----------
|
||||
unbox-primitive
|
||||
License: MIT
|
||||
License File: node_modules/unbox-primitive/LICENSE
|
||||
@@ -2681,10 +2736,12 @@ Copyright: Copyright (c) Matteo Collina and Undici contributors
|
||||
Source: git+https://github.com/nodejs/undici.git
|
||||
Link: https://undici.nodejs.org
|
||||
-----------
|
||||
unrs-resolver
|
||||
universalify
|
||||
License: MIT
|
||||
Source: git+https://github.com/unrs/unrs-resolver.git
|
||||
Link: https://github.com/unrs/unrs-resolver#readme
|
||||
License File: node_modules/universalify/LICENSE
|
||||
Copyright: Copyright (c) 2017, Ryan Zimmerman <*******@*******.***>
|
||||
Source: git+https://github.com/RyanZim/universalify.git
|
||||
Link: https://github.com/RyanZim/universalify#readme
|
||||
-----------
|
||||
update-browserslist-db
|
||||
License: MIT
|
||||
@@ -2700,6 +2757,13 @@ Copyright: Copyright 2011 Gary Court. All rights reserved.
|
||||
Source: http://github.com/garycourt/uri-js
|
||||
Link: https://github.com/garycourt/uri-js
|
||||
-----------
|
||||
url-parse
|
||||
License: MIT
|
||||
License File: node_modules/url-parse/LICENSE
|
||||
Copyright: Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
|
||||
Source: https://github.com/unshiftio/url-parse.git
|
||||
Link: https://github.com/unshiftio/url-parse.git
|
||||
-----------
|
||||
v8-compile-cache-lib
|
||||
License: MIT
|
||||
License File: node_modules/v8-compile-cache-lib/LICENSE
|
||||
@@ -2816,19 +2880,6 @@ Copyright: Copyright (c) 2014-2016, Jon Schlinkert
|
||||
Source: jonschlinkert/word-wrap
|
||||
Link: https://github.com/jonschlinkert/word-wrap
|
||||
-----------
|
||||
wordwrap
|
||||
License: MIT
|
||||
License File: node_modules/wordwrap/LICENSE
|
||||
Source: git://github.com/substack/node-wordwrap.git
|
||||
Link: git://github.com/substack/node-wordwrap.git
|
||||
-----------
|
||||
wrap-ansi
|
||||
License: MIT
|
||||
License File: node_modules/wrap-ansi-cjs/license
|
||||
Copyright: Copyright (c) Sindre Sorhus <************@*****.***> (https://sindresorhus.com)
|
||||
Source: chalk/wrap-ansi
|
||||
Link: chalk/wrap-ansi
|
||||
-----------
|
||||
wrap-ansi
|
||||
License: MIT
|
||||
License File: node_modules/wrap-ansi/license
|
||||
@@ -2920,31 +2971,6 @@ License File: node_modules/@ampproject/remapping/LICENSE
|
||||
Source: git+https://github.com/ampproject/remapping.git
|
||||
Link: git+https://github.com/ampproject/remapping.git
|
||||
-----------
|
||||
@asamuzakjp/css-color
|
||||
License: MIT
|
||||
License File: node_modules/@asamuzakjp/css-color/LICENSE
|
||||
Copyright: Copyright (c) 2024 asamuzaK (Kazz)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Source: git+https://github.com/asamuzaK/cssColor.git
|
||||
Link: https://github.com/asamuzaK/cssColor#readme
|
||||
-----------
|
||||
@babel/code-frame
|
||||
License: MIT
|
||||
License File: node_modules/@babel/code-frame/LICENSE
|
||||
@@ -3309,40 +3335,6 @@ Copyright: Copyright (c) 2014 Evan Wallace
|
||||
Source: https://github.com/cspotcode/node-source-map-support
|
||||
Link: https://github.com/cspotcode/node-source-map-support
|
||||
-----------
|
||||
@csstools/color-helpers
|
||||
License: MIT-0
|
||||
License File: node_modules/@csstools/color-helpers/LICENSE.md
|
||||
Source: git+https://github.com/csstools/postcss-plugins.git
|
||||
Link: https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers#readme
|
||||
-----------
|
||||
@csstools/css-calc
|
||||
License: MIT
|
||||
License File: node_modules/@csstools/css-calc/LICENSE.md
|
||||
Copyright: Copyright 2022 Romain Menke, Antonio Laguna <*******@******.**>
|
||||
Source: git+https://github.com/csstools/postcss-plugins.git
|
||||
Link: https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc#readme
|
||||
-----------
|
||||
@csstools/css-color-parser
|
||||
License: MIT
|
||||
License File: node_modules/@csstools/css-color-parser/LICENSE.md
|
||||
Copyright: Copyright 2022 Romain Menke, Antonio Laguna <*******@******.**>
|
||||
Source: git+https://github.com/csstools/postcss-plugins.git
|
||||
Link: https://github.com/csstools/postcss-plugins/tree/main/packages/css-color-parser#readme
|
||||
-----------
|
||||
@csstools/css-parser-algorithms
|
||||
License: MIT
|
||||
License File: node_modules/@csstools/css-parser-algorithms/LICENSE.md
|
||||
Copyright: Copyright 2022 Romain Menke, Antonio Laguna <*******@******.**>
|
||||
Source: git+https://github.com/csstools/postcss-plugins.git
|
||||
Link: https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms#readme
|
||||
-----------
|
||||
@csstools/css-tokenizer
|
||||
License: MIT
|
||||
License File: node_modules/@csstools/css-tokenizer/LICENSE.md
|
||||
Copyright: Copyright 2022 Romain Menke, Antonio Laguna <*******@******.**>
|
||||
Source: git+https://github.com/csstools/postcss-plugins.git
|
||||
Link: https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer#readme
|
||||
-----------
|
||||
@esbuild/linux-x64
|
||||
License: MIT
|
||||
Source: git+https://github.com/evanw/esbuild.git
|
||||
@@ -3428,13 +3420,6 @@ License File: node_modules/@humanwhocodes/retry/LICENSE
|
||||
Source: git+https://github.com/humanwhocodes/retry.git
|
||||
Link: git+https://github.com/humanwhocodes/retry.git
|
||||
-----------
|
||||
@isaacs/cliui
|
||||
License: ISC
|
||||
License File: node_modules/@isaacs/cliui/LICENSE.txt
|
||||
Copyright: Copyright (c) 2015, Contributors
|
||||
Source: yargs/cliui
|
||||
Link: yargs/cliui
|
||||
-----------
|
||||
@istanbuljs/load-nyc-config
|
||||
License: ISC
|
||||
License File: node_modules/@istanbuljs/load-nyc-config/LICENSE
|
||||
@@ -3463,20 +3448,6 @@ Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://jestjs.io/
|
||||
-----------
|
||||
@jest/diff-sequences
|
||||
License: MIT
|
||||
License File: node_modules/@jest/diff-sequences/LICENSE
|
||||
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
@jest/environment-jsdom-abstract
|
||||
License: MIT
|
||||
License File: node_modules/@jest/environment-jsdom-abstract/LICENSE
|
||||
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
@jest/environment
|
||||
License: MIT
|
||||
License File: node_modules/@jest/environment/LICENSE
|
||||
@@ -3505,13 +3476,6 @@ Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
@jest/get-type
|
||||
License: MIT
|
||||
License File: node_modules/@jest/get-type/LICENSE
|
||||
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
@jest/globals
|
||||
License: MIT
|
||||
License File: node_modules/@jest/globals/LICENSE
|
||||
@@ -3519,13 +3483,6 @@ Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
@jest/pattern
|
||||
License: MIT
|
||||
License File: node_modules/@jest/pattern/LICENSE
|
||||
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
@jest/reporters
|
||||
License: MIT
|
||||
License File: node_modules/@jest/reporters/LICENSE
|
||||
@@ -3540,13 +3497,6 @@ Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
@jest/snapshot-utils
|
||||
License: MIT
|
||||
License File: node_modules/@jest/snapshot-utils/LICENSE
|
||||
Copyright: Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Source: https://github.com/jestjs/jest.git
|
||||
Link: https://github.com/jestjs/jest.git
|
||||
-----------
|
||||
@jest/source-map
|
||||
License: MIT
|
||||
License File: node_modules/@jest/source-map/LICENSE
|
||||
@@ -3715,17 +3665,6 @@ Copyright: Copyright (c) 2017-present Devon Govett
|
||||
Source: https://github.com/parcel-bundler/watcher.git
|
||||
Link: https://github.com/parcel-bundler/watcher.git
|
||||
-----------
|
||||
@pkgjs/parseargs
|
||||
License: MIT
|
||||
License File: node_modules/@pkgjs/parseargs/LICENSE
|
||||
Source: git@github.com:pkgjs/parseargs.git
|
||||
Link: https://github.com/pkgjs/parseargs#readme
|
||||
-----------
|
||||
@pkgr/core
|
||||
License: MIT
|
||||
Source: git+https://github.com/un-ts/pkgr.git
|
||||
Link: https://github.com/un-ts/pkgr/blob/master/packages/core
|
||||
-----------
|
||||
@rtsao/scc
|
||||
License: MIT
|
||||
License File: node_modules/@rtsao/scc/LICENSE
|
||||
@@ -3751,7 +3690,7 @@ Link: https://github.com/sinonjs/commons#readme
|
||||
License: BSD-3-Clause
|
||||
License File: node_modules/@sinonjs/fake-timers/LICENSE
|
||||
Copyright: Copyright (c) 2010-2014, Christian Johansen, *********@*********.**. All rights reserved.
|
||||
Source: git+https://github.com/sinonjs/fake-timers.git
|
||||
Source: https://github.com/sinonjs/fake-timers.git
|
||||
Link: https://github.com/sinonjs/fake-timers
|
||||
-----------
|
||||
@ssddanbrown/codemirror-lang-smarty
|
||||
@@ -3764,6 +3703,13 @@ License: MIT
|
||||
License File: node_modules/@ssddanbrown/codemirror-lang-twig/LICENSE
|
||||
Copyright: Copyright (C) 2023 by Dan Brown, Marijn Haverbeke and others
|
||||
-----------
|
||||
@tootallnate/once
|
||||
License: MIT
|
||||
License File: node_modules/@tootallnate/once/LICENSE
|
||||
Copyright: Copyright (c) 2020 Nathan Rajlich
|
||||
Source: git://github.com/TooTallNate/once.git
|
||||
Link: git://github.com/TooTallNate/once.git
|
||||
-----------
|
||||
@tsconfig/node10
|
||||
License: MIT
|
||||
License File: node_modules/@tsconfig/node10/LICENSE
|
||||
@@ -3827,6 +3773,13 @@ Copyright: Copyright (c) Microsoft Corporation.
|
||||
Source: https://github.com/DefinitelyTyped/DefinitelyTyped.git
|
||||
Link: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/estree
|
||||
-----------
|
||||
@types/graceful-fs
|
||||
License: MIT
|
||||
License File: node_modules/@types/graceful-fs/LICENSE
|
||||
Copyright: Copyright (c) Microsoft Corporation.
|
||||
Source: https://github.com/DefinitelyTyped/DefinitelyTyped.git
|
||||
Link: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graceful-fs
|
||||
-----------
|
||||
@types/istanbul-lib-coverage
|
||||
License: MIT
|
||||
License File: node_modules/@types/istanbul-lib-coverage/LICENSE
|
||||
@@ -3936,20 +3889,3 @@ License File: node_modules/@types/yargs/LICENSE
|
||||
Copyright: Copyright (c) Microsoft Corporation.
|
||||
Source: https://github.com/DefinitelyTyped/DefinitelyTyped.git
|
||||
Link: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs
|
||||
-----------
|
||||
@ungap/structured-clone
|
||||
License: ISC
|
||||
License File: node_modules/@ungap/structured-clone/LICENSE
|
||||
Copyright: Copyright (c) 2021, Andrea Giammarchi, @WebReflection
|
||||
Source: git+https://github.com/ungap/structured-clone.git
|
||||
Link: https://github.com/ungap/structured-clone#readme
|
||||
-----------
|
||||
@unrs/resolver-binding-linux-x64-gnu
|
||||
License: MIT
|
||||
Source: git+https://github.com/unrs/unrs-resolver.git
|
||||
Link: https://github.com/unrs/unrs-resolver#readme
|
||||
-----------
|
||||
@unrs/resolver-binding-linux-x64-musl
|
||||
License: MIT
|
||||
Source: git+https://github.com/unrs/unrs-resolver.git
|
||||
Link: https://github.com/unrs/unrs-resolver#readme
|
||||
|
||||
@@ -176,7 +176,7 @@ License: MIT
|
||||
License File: vendor/intervention/image/LICENSE
|
||||
Copyright: Copyright (c) 2013-present Oliver Vogel
|
||||
Source: https://github.com/Intervention/image.git
|
||||
Link: https://image.intervention.io
|
||||
Link: https://image.intervention.io/
|
||||
-----------
|
||||
knplabs/knp-snappy
|
||||
License: MIT
|
||||
@@ -592,13 +592,6 @@ Copyright: Copyright (c) 2018-present Fabien Potencier
|
||||
Source: https://github.com/symfony/event-dispatcher-contracts.git
|
||||
Link: https://symfony.com
|
||||
-----------
|
||||
symfony/filesystem
|
||||
License: MIT
|
||||
License File: vendor/symfony/filesystem/LICENSE
|
||||
Copyright: Copyright (c) 2004-present Fabien Potencier
|
||||
Source: https://github.com/symfony/filesystem.git
|
||||
Link: https://symfony.com
|
||||
-----------
|
||||
symfony/finder
|
||||
License: MIT
|
||||
License File: vendor/symfony/finder/LICENSE
|
||||
|
||||
33
public/dist/app.js
vendored
Normal file
33
public/dist/app.js
vendored
Normal file
File diff suppressed because one or more lines are too long
32
public/dist/code.js
vendored
Normal file
32
public/dist/code.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/dist/export-styles.css
vendored
Normal file
1
public/dist/export-styles.css
vendored
Normal file
File diff suppressed because one or more lines are too long
3
public/dist/legacy-modes.js
vendored
Normal file
3
public/dist/legacy-modes.js
vendored
Normal file
File diff suppressed because one or more lines are too long
28
public/dist/markdown.js
vendored
Normal file
28
public/dist/markdown.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/dist/styles.css
vendored
Normal file
1
public/dist/styles.css
vendored
Normal file
File diff suppressed because one or more lines are too long
32
public/dist/wysiwyg.js
vendored
Normal file
32
public/dist/wysiwyg.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -22,7 +22,7 @@ class ApiDocsTest extends TestCase
|
||||
$resp->assertStatus(200);
|
||||
$resp->assertSee(url('/api/docs.json'));
|
||||
$resp->assertSee('Show a JSON view of the API docs data.');
|
||||
$resp->assertHeader('Content-Type', 'text/html; charset=utf-8');
|
||||
$resp->assertHeader('Content-Type', 'text/html; charset=UTF-8');
|
||||
}
|
||||
|
||||
public function test_docs_json_endpoint_returns_json()
|
||||
|
||||
@@ -138,7 +138,7 @@ class OidcTest extends TestCase
|
||||
{
|
||||
// Start auth
|
||||
$this->post('/oidc/login');
|
||||
$state = explode(':', session()->get('oidc_state'), 2)[1];
|
||||
$state = session()->get('oidc_state');
|
||||
|
||||
$transactions = $this->mockHttpClient([$this->getMockAuthorizationResponse([
|
||||
'email' => 'benny@example.com',
|
||||
@@ -190,35 +190,6 @@ class OidcTest extends TestCase
|
||||
$this->assertSessionError('Login using SingleSignOn-Testing failed, system did not provide successful authorization');
|
||||
}
|
||||
|
||||
public function test_callback_works_even_if_other_request_made_by_session()
|
||||
{
|
||||
$this->mockHttpClient([$this->getMockAuthorizationResponse([
|
||||
'email' => 'benny@example.com',
|
||||
'sub' => 'benny1010101',
|
||||
])]);
|
||||
|
||||
$this->post('/oidc/login');
|
||||
$state = explode(':', session()->get('oidc_state'), 2)[1];
|
||||
|
||||
$this->get('/');
|
||||
|
||||
$resp = $this->get("/oidc/callback?code=SplxlOBeZQQYbYS6WxSbIA&state={$state}");
|
||||
$resp->assertRedirect('/');
|
||||
}
|
||||
|
||||
public function test_callback_fails_if_state_timestamp_is_too_old()
|
||||
{
|
||||
$this->post('/oidc/login');
|
||||
$state = explode(':', session()->get('oidc_state'), 2)[1];
|
||||
session()->put('oidc_state', (time() - 60 * 4) . ':' . $state);
|
||||
|
||||
$this->get('/');
|
||||
|
||||
$resp = $this->get("/oidc/callback?code=SplxlOBeZQQYbYS6WxSbIA&state={$state}");
|
||||
$resp->assertRedirect('/login');
|
||||
$this->assertSessionError('Login using SingleSignOn-Testing failed, system did not provide successful authorization');
|
||||
}
|
||||
|
||||
public function test_dump_user_details_option_outputs_as_expected()
|
||||
{
|
||||
config()->set('oidc.dump_user_details', true);
|
||||
@@ -826,7 +797,7 @@ class OidcTest extends TestCase
|
||||
{
|
||||
// Start auth
|
||||
$resp = $this->post('/oidc/login');
|
||||
$state = explode(':', session()->get('oidc_state'), 2)[1];
|
||||
$state = session()->get('oidc_state');
|
||||
|
||||
$pkceCode = session()->get('oidc_pkce_code');
|
||||
$this->assertGreaterThan(30, strlen($pkceCode));
|
||||
@@ -854,7 +825,7 @@ class OidcTest extends TestCase
|
||||
{
|
||||
config()->set('oidc.display_name_claims', 'first_name|last_name');
|
||||
$this->post('/oidc/login');
|
||||
$state = explode(':', session()->get('oidc_state'), 2)[1];
|
||||
$state = session()->get('oidc_state');
|
||||
|
||||
$client = $this->mockHttpClient([
|
||||
$this->getMockAuthorizationResponse(['name' => null]),
|
||||
@@ -1002,7 +973,7 @@ class OidcTest extends TestCase
|
||||
]);
|
||||
|
||||
$this->post('/oidc/login');
|
||||
$state = explode(':', session()->get('oidc_state'), 2)[1];
|
||||
$state = session()->get('oidc_state');
|
||||
$client = $this->mockHttpClient([$this->getMockAuthorizationResponse([
|
||||
'groups' => [],
|
||||
])]);
|
||||
@@ -1028,7 +999,7 @@ class OidcTest extends TestCase
|
||||
protected function runLogin($claimOverrides = [], $additionalHttpResponses = []): TestResponse
|
||||
{
|
||||
$this->post('/oidc/login');
|
||||
$state = explode(':', session()->get('oidc_state'), 2)[1] ?? '';
|
||||
$state = session()->get('oidc_state');
|
||||
$this->mockHttpClient([$this->getMockAuthorizationResponse($claimOverrides), ...$additionalHttpResponses]);
|
||||
|
||||
return $this->get('/oidc/callback?code=SplxlOBeZQQYbYS6WxSbIA&state=' . $state);
|
||||
|
||||
@@ -36,7 +36,7 @@ class Saml2Test extends TestCase
|
||||
public function test_metadata_endpoint_displays_xml_as_expected()
|
||||
{
|
||||
$req = $this->get('/saml2/metadata');
|
||||
$req->assertHeader('Content-Type', 'text/xml; charset=utf-8');
|
||||
$req->assertHeader('Content-Type', 'text/xml; charset=UTF-8');
|
||||
$req->assertSee('md:EntityDescriptor');
|
||||
$req->assertSee(url('/saml2/acs'));
|
||||
}
|
||||
@@ -51,7 +51,7 @@ class Saml2Test extends TestCase
|
||||
|
||||
$req = $this->get('/saml2/metadata');
|
||||
$req->assertOk();
|
||||
$req->assertHeader('Content-Type', 'text/xml; charset=utf-8');
|
||||
$req->assertHeader('Content-Type', 'text/xml; charset=UTF-8');
|
||||
$req->assertSee('md:EntityDescriptor');
|
||||
}
|
||||
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
|
||||
class SessionTest extends TestCase
|
||||
{
|
||||
public function test_secure_images_not_tracked_in_session_history()
|
||||
{
|
||||
config()->set('filesystems.images', 'local_secure');
|
||||
$this->asEditor();
|
||||
$page = $this->entities->page();
|
||||
$result = $this->files->uploadGalleryImageToPage($this, $page);
|
||||
$expectedPath = storage_path($result['path']);
|
||||
$this->assertFileExists($expectedPath);
|
||||
|
||||
$this->get('/books');
|
||||
$this->assertEquals(url('/books'), session()->previousUrl());
|
||||
|
||||
$resp = $this->get($result['path']);
|
||||
$resp->assertOk();
|
||||
$resp->assertHeader('Content-Type', 'image/png');
|
||||
|
||||
$this->assertEquals(url('/books'), session()->previousUrl());
|
||||
|
||||
if (file_exists($expectedPath)) {
|
||||
unlink($expectedPath);
|
||||
}
|
||||
}
|
||||
|
||||
public function test_pwa_manifest_is_not_tracked_in_session_history()
|
||||
{
|
||||
$this->asEditor()->get('/books');
|
||||
$this->get('/manifest.json');
|
||||
|
||||
$this->assertEquals(url('/books'), session()->previousUrl());
|
||||
}
|
||||
|
||||
public function test_dist_dir_access_is_not_tracked_in_session_history()
|
||||
{
|
||||
$this->asEditor()->get('/books');
|
||||
$this->get('/dist/sub/hello.txt');
|
||||
|
||||
$this->assertEquals(url('/books'), session()->previousUrl());
|
||||
}
|
||||
|
||||
public function test_opensearch_is_not_tracked_in_session_history()
|
||||
{
|
||||
$this->asEditor()->get('/books');
|
||||
$this->get('/opensearch.xml');
|
||||
|
||||
$this->assertEquals(url('/books'), session()->previousUrl());
|
||||
}
|
||||
}
|
||||
@@ -478,7 +478,7 @@ END;
|
||||
|
||||
$resp = $this->asAdmin()->get("/theme/{$themeFolderName}/file.txt");
|
||||
$resp->assertStreamedContent($text);
|
||||
$resp->assertHeader('Content-Type', 'text/plain; charset=utf-8');
|
||||
$resp->assertHeader('Content-Type', 'text/plain; charset=UTF-8');
|
||||
$resp->assertHeader('Cache-Control', 'max-age=86400, private');
|
||||
|
||||
$resp = $this->asAdmin()->get("/theme/{$themeFolderName}/image.png");
|
||||
@@ -487,7 +487,7 @@ END;
|
||||
|
||||
$resp = $this->asAdmin()->get("/theme/{$themeFolderName}/file.css");
|
||||
$resp->assertStreamedContent($css);
|
||||
$resp->assertHeader('Content-Type', 'text/css; charset=utf-8');
|
||||
$resp->assertHeader('Content-Type', 'text/css; charset=UTF-8');
|
||||
$resp->assertHeader('Cache-Control', 'max-age=86400, private');
|
||||
});
|
||||
}
|
||||
|
||||
@@ -323,7 +323,7 @@ class AttachmentTest extends TestCase
|
||||
|
||||
$attachmentGet = $this->get($attachment->getUrl(true));
|
||||
// http-foundation/Response does some 'fixing' of responses to add charsets to text responses.
|
||||
$attachmentGet->assertHeader('Content-Type', 'text/plain; charset=utf-8');
|
||||
$attachmentGet->assertHeader('Content-Type', 'text/plain; charset=UTF-8');
|
||||
$attachmentGet->assertHeader('Content-Disposition', 'inline; filename="upload_test_file.txt"');
|
||||
$attachmentGet->assertHeader('X-Content-Type-Options', 'nosniff');
|
||||
|
||||
@@ -339,7 +339,7 @@ class AttachmentTest extends TestCase
|
||||
|
||||
$attachmentGet = $this->get($attachment->getUrl(true));
|
||||
// http-foundation/Response does some 'fixing' of responses to add charsets to text responses.
|
||||
$attachmentGet->assertHeader('Content-Type', 'text/plain; charset=utf-8');
|
||||
$attachmentGet->assertHeader('Content-Type', 'text/plain; charset=UTF-8');
|
||||
$attachmentGet->assertHeader('Content-Disposition', 'inline; filename="test_file.html"');
|
||||
|
||||
$this->files->deleteAllAttachmentFiles();
|
||||
|
||||
@@ -429,6 +429,29 @@ class ImageTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
public function test_secure_images_not_tracked_in_session_history()
|
||||
{
|
||||
config()->set('filesystems.images', 'local_secure');
|
||||
$this->asEditor();
|
||||
$page = $this->entities->page();
|
||||
$result = $this->files->uploadGalleryImageToPage($this, $page);
|
||||
$expectedPath = storage_path($result['path']);
|
||||
$this->assertFileExists($expectedPath);
|
||||
|
||||
$this->get('/books');
|
||||
$this->assertEquals(url('/books'), session()->previousUrl());
|
||||
|
||||
$resp = $this->get($result['path']);
|
||||
$resp->assertOk();
|
||||
$resp->assertHeader('Content-Type', 'image/png');
|
||||
|
||||
$this->assertEquals(url('/books'), session()->previousUrl());
|
||||
|
||||
if (file_exists($expectedPath)) {
|
||||
unlink($expectedPath);
|
||||
}
|
||||
}
|
||||
|
||||
public function test_system_images_remain_public_with_local_secure_restricted()
|
||||
{
|
||||
config()->set('filesystems.images', 'local_secure_restricted');
|
||||
|
||||
Reference in New Issue
Block a user