Compare commits
723 commits
v1.0.0-bet
...
develop
Author | SHA1 | Date | |
---|---|---|---|
![]() |
bdc9c413e2 | ||
![]() |
2b16841702 | ||
![]() |
1d6390ddd6 | ||
![]() |
3eb3c7e746 | ||
![]() |
b47adacb95 | ||
![]() |
bc6f9e4c42 | ||
![]() |
3643a717e9 | ||
![]() |
a9214aa820 | ||
![]() |
561aca99df | ||
![]() |
2841c09510 | ||
![]() |
bdaf07a0dc | ||
![]() |
b3b96ee361 | ||
![]() |
4558b31385 | ||
![]() |
98bf2ec95c | ||
![]() |
7957141128 | ||
![]() |
7380d50fc2 | ||
![]() |
c780ca0218 | ||
![]() |
63ee5f2a2b | ||
![]() |
75f81a9b4e | ||
![]() |
f1fda8ba0a | ||
![]() |
1bf95fa2bd | ||
![]() |
a14d754e79 | ||
![]() |
a19a5d5907 | ||
![]() |
a368951705 | ||
![]() |
93b641be86 | ||
![]() |
80672e249e | ||
![]() |
8fe890a5e1 | ||
![]() |
27e9e821b6 | ||
![]() |
31f93264a5 | ||
![]() |
290b1c34ca | ||
![]() |
db40a05daf | ||
![]() |
504db753dc | ||
![]() |
dfeefc0907 | ||
![]() |
31e2ef82d9 | ||
![]() |
903ae10e0d | ||
![]() |
1893eca377 | ||
![]() |
d526ef4b86 | ||
![]() |
68440a78ec | ||
![]() |
0e674742f2 | ||
![]() |
00d903ec1b | ||
![]() |
52e9c05963 | ||
![]() |
93ff72584a | ||
![]() |
e3fec37359 | ||
![]() |
35bc7da3f0 | ||
![]() |
7f44101875 | ||
![]() |
1b1e62cf99 | ||
![]() |
874857e577 | ||
![]() |
5a1aff0f48 | ||
![]() |
ab24c2b177 | ||
![]() |
ca8bdb5ebb | ||
![]() |
570dabccb4 | ||
![]() |
83314c9888 | ||
![]() |
fe78aa8d85 | ||
![]() |
18605091c9 | ||
![]() |
c802a8cb84 | ||
![]() |
620e4b4c6a | ||
![]() |
73f36839c0 | ||
![]() |
137f94a89c | ||
![]() |
727f1449b8 | ||
![]() |
cb737161d9 | ||
![]() |
85cf136cb1 | ||
![]() |
d544501c12 | ||
![]() |
110b623383 | ||
![]() |
20cc82e90a | ||
![]() |
7c678fae4d | ||
![]() |
cec4d437ff | ||
![]() |
4ec316c67c | ||
![]() |
970278ff2c | ||
![]() |
24027698b4 | ||
![]() |
52593e47c7 | ||
![]() |
c648328500 | ||
![]() |
e417e60298 | ||
![]() |
4e9ecc5692 | ||
![]() |
1bf116ce43 | ||
![]() |
486d019e9a | ||
![]() |
272f6c01fa | ||
![]() |
1cca349672 | ||
![]() |
9822a3aea1 | ||
![]() |
0229253b3b | ||
![]() |
d3c176b22d | ||
![]() |
44ff4766cf | ||
![]() |
3f38588e4e | ||
![]() |
4a238c9a31 | ||
![]() |
1ccf39846f | ||
![]() |
9b2f7ee7b4 | ||
![]() |
855e86c02f | ||
![]() |
18929d9397 | ||
![]() |
92405f8759 | ||
![]() |
73caf89769 | ||
![]() |
44b267d36c | ||
![]() |
0fc821a22b | ||
![]() |
378f4fb85b | ||
![]() |
d1a14f699c | ||
![]() |
6f9a92fdc7 | ||
![]() |
b81a251ef5 | ||
![]() |
564e334e6f | ||
![]() |
07394ce868 | ||
![]() |
5fa841dd02 | ||
![]() |
84c82b5553 | ||
![]() |
82159777cb | ||
![]() |
1683a966e9 | ||
![]() |
e3836eac1d | ||
![]() |
179df29922 | ||
![]() |
eeed061029 | ||
![]() |
8f67cf6bb6 | ||
![]() |
62c5193d7d | ||
![]() |
a6415d6772 | ||
![]() |
e310c61b39 | ||
![]() |
6aee64bb70 | ||
![]() |
120874658c | ||
![]() |
54423911ab | ||
![]() |
77573054cc | ||
![]() |
3b352eeded | ||
![]() |
d5ad9e6e4d | ||
![]() |
0ffdf3cfeb | ||
![]() |
8d8d63c179 | ||
![]() |
bd72ea276e | ||
![]() |
fdad850fb4 | ||
![]() |
84388b0a18 | ||
![]() |
43bb0b8d0b | ||
![]() |
888c20923c | ||
![]() |
3f42c012c1 | ||
![]() |
12f0d6195b | ||
![]() |
8942fee6f2 | ||
![]() |
2c16256861 | ||
![]() |
9aa2b9e781 | ||
![]() |
f91e3a93f4 | ||
![]() |
52190c0d91 | ||
![]() |
34c4eb7f40 | ||
![]() |
5dbf0d1308 | ||
![]() |
e93b8f471b | ||
![]() |
32419a88a1 | ||
![]() |
613870193b | ||
![]() |
c2b9df8160 | ||
![]() |
c76f36eaee | ||
![]() |
a870a4bab8 | ||
![]() |
d785179e1d | ||
![]() |
3e627efdb0 | ||
![]() |
2e1156f242 | ||
![]() |
740b2ceed1 | ||
![]() |
fcd1d01218 | ||
![]() |
bafb77b206 | ||
![]() |
d5908d2a81 | ||
![]() |
d61ea6d5ae | ||
![]() |
95491e39dc | ||
![]() |
8d14047c05 | ||
![]() |
764aa9ed80 | ||
![]() |
1eccc2b72b | ||
![]() |
1121bf36f1 | ||
![]() |
e72e07d1d8 | ||
![]() |
42c9fd5e7f | ||
![]() |
9d5aca7a92 | ||
![]() |
cbe2144ec7 | ||
![]() |
7852d40c27 | ||
![]() |
9d179b5cd4 | ||
![]() |
4376991426 | ||
![]() |
73260a748c | ||
![]() |
fae34af2b3 | ||
![]() |
375e338309 | ||
![]() |
948c659681 | ||
![]() |
854dbca8e5 | ||
![]() |
8e687338be | ||
![]() |
134c189b4a | ||
![]() |
bd5a32362f | ||
![]() |
b52638dfc2 | ||
![]() |
7cc2709c4e | ||
![]() |
9750e02659 | ||
![]() |
bac71c7f02 | ||
![]() |
44805fd8ed | ||
![]() |
f3e6356263 | ||
![]() |
e6cec05078 | ||
![]() |
c28294d613 | ||
![]() |
81f64188dc | ||
![]() |
17284f9706 | ||
![]() |
b8758dfbf5 | ||
![]() |
c97b1b8bb6 | ||
![]() |
665ed1b7c1 | ||
![]() |
5dd4211f3a | ||
![]() |
99d50a67fa | ||
![]() |
63fbdff46f | ||
![]() |
26db9c2525 | ||
![]() |
9cb2cf0da0 | ||
![]() |
411a45967f | ||
![]() |
24c567d78e | ||
![]() |
d8618cbe74 | ||
![]() |
4d08de5642 | ||
![]() |
c5c0820f2b | ||
![]() |
58da50e57e | ||
![]() |
24048894af | ||
![]() |
bd915a6f7b | ||
![]() |
7b9dd75c1b | ||
![]() |
311aa04c0a | ||
![]() |
5889d1abb9 | ||
![]() |
3eb076967c | ||
![]() |
15af8bceed | ||
![]() |
927896748e | ||
![]() |
4b39f3d3b1 | ||
![]() |
18264ab54f | ||
![]() |
cb827d38cc | ||
![]() |
c2d6c03d25 | ||
![]() |
abcbf3a0cf | ||
![]() |
f64afe2196 | ||
![]() |
92f5df310f | ||
![]() |
e965e1bd4e | ||
![]() |
4510937d8b | ||
![]() |
4a621cb013 | ||
![]() |
d0e5f7876c | ||
![]() |
2547e84a1f | ||
![]() |
c60711a74a | ||
![]() |
c845d5cbd2 | ||
![]() |
a22154d676 | ||
![]() |
930a5ae42b | ||
![]() |
3f0dc8a962 | ||
![]() |
f22971d980 | ||
![]() |
cb412ae97c | ||
![]() |
20e23c4d34 | ||
![]() |
5c25206448 | ||
![]() |
3ab8a1421c | ||
![]() |
21ef402c2a | ||
![]() |
0064ca2426 | ||
![]() |
cb14f88501 | ||
![]() |
72e3040ebf | ||
![]() |
b329f4b0cf | ||
![]() |
28cef99de9 | ||
![]() |
a6ae710156 | ||
![]() |
34cf4ccaf4 | ||
![]() |
fe94183705 | ||
![]() |
50793df204 | ||
![]() |
ac8644bd40 | ||
![]() |
34b800b841 | ||
![]() |
2d5d9becaa | ||
![]() |
c8868a854e | ||
![]() |
bbe98f06fc | ||
![]() |
70fab52ea0 | ||
![]() |
ac58cce1de | ||
![]() |
0f7e5bf26e | ||
![]() |
6b1f29a22d | ||
![]() |
5cff938d55 | ||
![]() |
73201b6c47 | ||
![]() |
851372a265 | ||
![]() |
00a38872d4 | ||
![]() |
d1e8cf95a6 | ||
![]() |
c882c9e7a0 | ||
![]() |
c5f28e1185 | ||
![]() |
fadcc013ca | ||
![]() |
ed7bff8443 | ||
![]() |
75bcb66260 | ||
![]() |
2786de38ff | ||
![]() |
d080a2a93d | ||
![]() |
5adfb40510 | ||
![]() |
e1548ce35e | ||
![]() |
921d278ae5 | ||
![]() |
94e673c3f4 | ||
![]() |
6e04664c55 | ||
![]() |
dc439c9efd | ||
![]() |
b7607815e9 | ||
![]() |
9bed33d655 | ||
![]() |
9b1f4624ac | ||
![]() |
c6a3026dc0 | ||
![]() |
01677416c2 | ||
![]() |
fe8ee56009 | ||
![]() |
d95281c3fd | ||
![]() |
594927ea97 | ||
![]() |
aebdf693eb | ||
![]() |
0ce66307ac | ||
![]() |
591f83a679 | ||
![]() |
7f31eb2a84 | ||
![]() |
1cb6e1175e | ||
![]() |
a98b155f9a | ||
![]() |
17eef5850b | ||
![]() |
9c825b921f | ||
![]() |
69989d828e | ||
![]() |
cb057117b1 | ||
![]() |
c193e54ef8 | ||
![]() |
c42a4428ef | ||
![]() |
fff1337830 | ||
![]() |
f1ac58eba8 | ||
![]() |
90ce42e32c | ||
![]() |
44f96d7c53 | ||
![]() |
fd9f9b2540 | ||
![]() |
6785ec04ac | ||
![]() |
53737c3cdf | ||
![]() |
fca183b98d | ||
![]() |
67387e7ce4 | ||
![]() |
fc804cba34 | ||
![]() |
5687ffb1d1 | ||
![]() |
46719500f4 | ||
![]() |
34987cc425 | ||
![]() |
445b1965b7 | ||
![]() |
d72840aed7 | ||
![]() |
484cf85c62 | ||
![]() |
0cad2ab81e | ||
![]() |
a3a1cd5357 | ||
![]() |
6fb7afbef2 | ||
![]() |
1a89798cee | ||
![]() |
bc58863292 | ||
![]() |
f11a445137 | ||
![]() |
49db66af5b | ||
![]() |
7463ccba60 | ||
![]() |
121405087c | ||
![]() |
8751300789 | ||
![]() |
a114b4f72a | ||
![]() |
ff3c32be8e | ||
![]() |
e22bf061bb | ||
![]() |
58fc558516 | ||
![]() |
579b3355cb | ||
![]() |
1b7ebe806b | ||
![]() |
089225ea13 | ||
![]() |
486277feda | ||
![]() |
ea7e5d41b6 | ||
![]() |
cd8e1ab543 | ||
![]() |
9a761e3c21 | ||
![]() |
1b54b3d4ac | ||
![]() |
98b44f56b0 | ||
![]() |
04c4501649 | ||
![]() |
042178af5b | ||
![]() |
f7eb4c7744 | ||
![]() |
3b00dbee24 | ||
![]() |
22e442cf57 | ||
![]() |
6738451945 | ||
![]() |
1114a806b4 | ||
![]() |
eb508b13ac | ||
![]() |
4d76c69572 | ||
![]() |
7e757f8e28 | ||
![]() |
de664f9170 | ||
![]() |
f70083b084 | ||
![]() |
93285eb3eb | ||
![]() |
306e810e37 | ||
![]() |
92e695e10f | ||
![]() |
c39768842e | ||
![]() |
71814edc16 | ||
![]() |
b64e7fed3f | ||
![]() |
5e6d14f578 | ||
![]() |
0ce6c4290d | ||
![]() |
4a2d1d7c1e | ||
![]() |
2e0769f3f7 | ||
![]() |
a711d718ea | ||
![]() |
a1dc3fa0cb | ||
![]() |
1ceff8ffc4 | ||
![]() |
5bb3cd9953 | ||
![]() |
23877aa796 | ||
![]() |
eebada208f | ||
![]() |
27eebea923 | ||
![]() |
91ce48b567 | ||
![]() |
79c9d0c5df | ||
![]() |
d869146ad9 | ||
![]() |
2a28470d86 | ||
![]() |
97669e4af0 | ||
![]() |
00c22fac2d | ||
![]() |
c6a26ea45a | ||
![]() |
6693411db8 | ||
![]() |
291b8f79a8 | ||
![]() |
f3f2e40742 | ||
![]() |
758fb32ca3 | ||
![]() |
8ab1ca3300 | ||
![]() |
100b507580 | ||
![]() |
a464d041a1 | ||
![]() |
e8030fc1aa | ||
![]() |
92bdb41ab7 | ||
![]() |
84b061a814 | ||
![]() |
ffd0a1779d | ||
![]() |
3a00bddf1e | ||
![]() |
ae569169a1 | ||
![]() |
161a58749b | ||
![]() |
1f83a0fa4e | ||
![]() |
3388bbdb70 | ||
![]() |
49f9c3533f | ||
![]() |
a03569ce6a | ||
![]() |
72e2a0e273 | ||
![]() |
35796d3691 | ||
![]() |
ec343c6552 | ||
![]() |
eb556775bd | ||
![]() |
9cf203b9bf | ||
![]() |
983dccdae3 | ||
![]() |
214b7cc297 | ||
![]() |
85db4f84bd | ||
![]() |
80fdfbcf03 | ||
![]() |
b6e0e6853d | ||
![]() |
d79ff6c144 | ||
![]() |
ed80eabac1 | ||
![]() |
cc7ea08094 | ||
![]() |
e1b03f7982 | ||
![]() |
3f76d37ff6 | ||
![]() |
de83ce8557 | ||
![]() |
66609e3ece | ||
![]() |
6f9a002aba | ||
![]() |
3aa1e0f7ad | ||
![]() |
e84b7b081d | ||
![]() |
5700a9d468 | ||
![]() |
29c52ae436 | ||
![]() |
673767b82b | ||
![]() |
611a385233 | ||
![]() |
c5a92dda5b | ||
![]() |
12c274eee5 | ||
![]() |
2483e3cbcc | ||
![]() |
22473b0911 | ||
![]() |
2956607fb9 | ||
![]() |
21cd066165 | ||
![]() |
a7883b5a36 | ||
![]() |
8a2591a82d | ||
![]() |
2217eaafba | ||
![]() |
dbfc97a9bb | ||
![]() |
dbafb21c81 | ||
![]() |
3f699db9c4 | ||
![]() |
35c4cbfe7a | ||
![]() |
46a92cda83 | ||
![]() |
dcdf87cd2a | ||
![]() |
1da77f317f | ||
![]() |
783a9bafe6 | ||
![]() |
6b23fdc6dd | ||
![]() |
258028096f | ||
![]() |
088043d42e | ||
![]() |
77038ca9c4 | ||
![]() |
555235cfbe | ||
![]() |
5179702845 | ||
![]() |
027b455fd6 | ||
![]() |
7cbe88dbee | ||
![]() |
2998c84ce9 | ||
![]() |
a0200f4152 | ||
![]() |
8b6de84307 | ||
![]() |
d6fdec4c5a | ||
![]() |
f04bfe4e14 | ||
![]() |
94d680fbdb | ||
![]() |
281198f4dd | ||
![]() |
8340cdd8f6 | ||
![]() |
a64401d722 | ||
![]() |
1dd46fc936 | ||
![]() |
d399c1ebab | ||
![]() |
63232b33a6 | ||
![]() |
1348a71e5f | ||
![]() |
6ed81e380b | ||
![]() |
acb8226221 | ||
![]() |
639c201bb0 | ||
![]() |
611f69e8b9 | ||
![]() |
49ae53a041 | ||
![]() |
a10c798ed9 | ||
![]() |
acc45d803f | ||
![]() |
b23b62e815 | ||
![]() |
52f30eea2f | ||
![]() |
5ce4f6a6b0 | ||
![]() |
76329b8cdd | ||
![]() |
f44982a399 | ||
![]() |
0907a35cc2 | ||
![]() |
659aef6086 | ||
![]() |
3923ec2b3c | ||
![]() |
8616a62216 | ||
![]() |
50a3c503f8 | ||
![]() |
4b0553db89 | ||
![]() |
8485ca0a0a | ||
![]() |
3fa45c34a5 | ||
![]() |
2753548190 | ||
![]() |
7741fb0ae7 | ||
![]() |
2ebc285d14 | ||
![]() |
c79fd6ab1f | ||
![]() |
7f1eb27d2f | ||
![]() |
2fc14c56d4 | ||
![]() |
6a1c5b20bc | ||
![]() |
f8ea49052b | ||
![]() |
23f56cedf5 | ||
![]() |
a883dedcfe | ||
![]() |
53bd539bb7 | ||
![]() |
8997a74a92 | ||
![]() |
f355151562 | ||
![]() |
8fd90f3204 | ||
![]() |
fbf0fba7a6 | ||
![]() |
777ea7c9f2 | ||
![]() |
c333a7fc70 | ||
![]() |
d23044445d | ||
![]() |
b1fed692f1 | ||
![]() |
68a5cd257a | ||
![]() |
bd2e87b345 | ||
![]() |
7b834b8a49 | ||
![]() |
5ec8f46810 | ||
![]() |
729cab1836 | ||
![]() |
ff8517ecaf | ||
![]() |
4083c34575 | ||
![]() |
3b38febb7f | ||
![]() |
f955e85b8c | ||
![]() |
d0f0242730 | ||
![]() |
e00d919d9a | ||
![]() |
58971f7023 | ||
![]() |
f5dca5d1cc | ||
![]() |
bf38323c85 | ||
![]() |
6ca5f8a66c | ||
![]() |
c18f96cca2 | ||
![]() |
0b00a29deb | ||
![]() |
a616956aee | ||
![]() |
5844fd0c37 | ||
![]() |
e6280f1403 | ||
![]() |
bf5575b74d | ||
![]() |
a107044e8a | ||
![]() |
d1c1efc0ae | ||
![]() |
1a57fc34f6 | ||
![]() |
658a09af42 | ||
![]() |
6e603ed2c4 | ||
![]() |
60cf5cbbe1 | ||
![]() |
5b91726362 | ||
![]() |
f531dd2506 | ||
![]() |
c36aa64d5f | ||
![]() |
e3dea18612 | ||
![]() |
58e386baae | ||
![]() |
b655f68e76 | ||
![]() |
b413741aa7 | ||
![]() |
fb6b474a29 | ||
![]() |
4793668ebf | ||
![]() |
e921b60eb0 | ||
![]() |
83f4be9a04 | ||
![]() |
f869fa18d8 | ||
![]() |
c4982474f5 | ||
![]() |
b171a034f7 | ||
![]() |
7e49decb56 | ||
![]() |
28bc0c9a4b | ||
![]() |
3946dc4006 | ||
![]() |
22af909d9b | ||
![]() |
f0b494ba16 | ||
![]() |
57344d6fa6 | ||
![]() |
e70cd04b1c | ||
![]() |
9c00d55304 | ||
![]() |
ff22fdb70a | ||
![]() |
d4f08e8132 | ||
![]() |
ea74e2583d | ||
![]() |
2c48b579cc | ||
![]() |
04ef425fcd | ||
![]() |
ca2b0a4b1a | ||
![]() |
f0974edc29 | ||
![]() |
00933bca79 | ||
![]() |
d0e505668b | ||
![]() |
8c513f86e6 | ||
![]() |
adb87fd40a | ||
![]() |
6dced28c8f | ||
![]() |
b346812ec4 | ||
![]() |
9b47cb922c | ||
![]() |
c2f2369127 | ||
![]() |
da991e8a1c | ||
![]() |
44848baed3 | ||
![]() |
6ea4b9d1a2 | ||
![]() |
7ea4ec70f7 | ||
![]() |
cc5a7759d3 | ||
![]() |
e2fade23ec | ||
![]() |
1734370258 | ||
![]() |
875b8f7177 | ||
![]() |
870cead241 | ||
![]() |
ce0552cc09 | ||
![]() |
93493d6b2c | ||
![]() |
914244d37b | ||
![]() |
09701b1d34 | ||
![]() |
9c0aeb27b3 | ||
![]() |
0cfed3952f | ||
![]() |
ff151dacf9 | ||
![]() |
978b54a345 | ||
![]() |
0b1465a78f | ||
![]() |
3ac3e64935 | ||
![]() |
a072c4037e | ||
![]() |
ca7dcb6dbf | ||
![]() |
eca04f5953 | ||
![]() |
3cb35e746f | ||
![]() |
3993a976d4 | ||
![]() |
7446fd56d3 | ||
![]() |
1aba32bbb5 | ||
![]() |
a4fd0eff4e | ||
![]() |
c4112c148f | ||
![]() |
cdced4c92e | ||
![]() |
e015991e7f | ||
![]() |
85af17294a | ||
![]() |
b25bb5232a | ||
![]() |
f11f1759ab | ||
![]() |
803aae601a | ||
![]() |
5aacd0eaa8 | ||
![]() |
3ba19382cc | ||
![]() |
4be878741e | ||
![]() |
2a10e4ccb5 | ||
![]() |
df79f9f5dd | ||
![]() |
1dc68ede52 | ||
![]() |
8766fcf64e | ||
![]() |
7883b5a2c5 | ||
![]() |
6db72e63b8 | ||
![]() |
ab71ad2c97 | ||
![]() |
cd1853359b | ||
![]() |
7d93c364bb | ||
![]() |
e4fdcec9a1 | ||
![]() |
185c7dd4e8 | ||
![]() |
20930974f0 | ||
![]() |
3909fe710c | ||
![]() |
7603ba0341 | ||
![]() |
6de552b91d | ||
![]() |
c9a9bf938b | ||
![]() |
c4e5e7af6f | ||
![]() |
0d90598859 | ||
![]() |
7ea3dd578c | ||
![]() |
473503c343 | ||
![]() |
d5276439ec | ||
![]() |
2dfe0d1e63 | ||
![]() |
8d172ea381 | ||
![]() |
92c8b7f7d5 | ||
![]() |
c1f3421569 | ||
![]() |
8aeb72fb67 | ||
![]() |
9ef62f6f26 | ||
![]() |
0d51e86d8a | ||
![]() |
790ce4a329 | ||
![]() |
5c79a3c58c | ||
![]() |
476c9482a2 | ||
![]() |
719f8462d0 | ||
![]() |
6fb4f4df07 | ||
![]() |
cfa408fa5a | ||
![]() |
738721845f | ||
![]() |
68e3bc9d9c | ||
![]() |
64c7c03a45 | ||
![]() |
f1680fcf89 | ||
![]() |
382db565dd | ||
![]() |
d81c3816f9 | ||
![]() |
d2bae3016a | ||
![]() |
e8b0bddf30 | ||
![]() |
5167f8fa57 | ||
![]() |
5684cd537c | ||
![]() |
cdd321f34e | ||
![]() |
05fc3f7a38 | ||
![]() |
a3daad9939 | ||
![]() |
ab3803d198 | ||
![]() |
16a70fcc49 | ||
![]() |
1d0bcb31db | ||
![]() |
22d29836f7 | ||
![]() |
e447376095 | ||
![]() |
950903ddc9 | ||
![]() |
2744be65fc | ||
![]() |
2598c04c66 | ||
![]() |
754e6c2a0d | ||
![]() |
d63b0e0edb | ||
![]() |
2d4477425e | ||
![]() |
0e32bdd3c0 | ||
![]() |
39888e8f57 | ||
![]() |
d12125b975 | ||
![]() |
17e100f688 | ||
![]() |
f6c1269a3c | ||
![]() |
40b5cd6c0e | ||
![]() |
0555fab267 | ||
![]() |
821ebbbe54 | ||
![]() |
92d3f1f2a7 | ||
![]() |
4b7272bd31 | ||
![]() |
d466c696a8 | ||
![]() |
470540261a | ||
![]() |
2d8fbfa22c | ||
![]() |
8163527609 | ||
![]() |
c2f379ac5a | ||
![]() |
c08e739fb5 | ||
![]() |
c2bc5a487f | ||
![]() |
722ebb0b72 | ||
![]() |
df4002e809 | ||
![]() |
f472aeab3b | ||
![]() |
bc3c7d62e2 | ||
![]() |
8f783b676b | ||
![]() |
1ba0f29806 | ||
![]() |
38182ebebc | ||
![]() |
e89bd487d9 | ||
![]() |
3f578442f2 | ||
![]() |
a37772879e | ||
![]() |
3c2637678d | ||
![]() |
f86dec84db | ||
![]() |
dc8457136e | ||
![]() |
9bca7b17ef | ||
![]() |
ec99e4c80e | ||
![]() |
a85e8fcf21 | ||
![]() |
752aeeca61 | ||
![]() |
dfebc888a7 | ||
![]() |
77de3afc7e | ||
![]() |
7e2fec811e | ||
![]() |
e6348c9af6 | ||
![]() |
6231b788bd | ||
![]() |
ed39f756ef | ||
![]() |
00c9774f07 | ||
![]() |
74cdee9271 | ||
![]() |
daf2faafa4 | ||
![]() |
9c420d05d4 | ||
![]() |
22d2e642bc | ||
![]() |
28bdd4e427 | ||
![]() |
24a9e76bb8 | ||
![]() |
d18331cbb6 | ||
![]() |
c64158cbe8 | ||
![]() |
8d4109a770 | ||
![]() |
f0823481db | ||
![]() |
a956a8fa55 | ||
![]() |
a8e50de9de | ||
![]() |
8e323c5fda | ||
![]() |
1ce801108a | ||
![]() |
c52b58c853 | ||
![]() |
6e671fe544 | ||
![]() |
9fa723fdbb | ||
![]() |
e2b5945b7b | ||
![]() |
19c9fadb12 | ||
![]() |
f08f362a90 | ||
![]() |
53a8a1c883 | ||
![]() |
b14df895cb | ||
![]() |
364f0fc2d4 | ||
![]() |
66ad187ed3 | ||
![]() |
6cb26134c5 | ||
![]() |
f4329af025 | ||
![]() |
576feeae3b | ||
![]() |
86945cf2f7 | ||
![]() |
1d318e36f7 | ||
![]() |
208de6513f | ||
![]() |
9855c99e54 | ||
![]() |
10bc4f53cd | ||
![]() |
62899e01a6 | ||
![]() |
51f13bfead | ||
![]() |
e1d7f4d174 | ||
![]() |
5ab3938ab1 | ||
![]() |
8bcaebe8c3 | ||
![]() |
33f54ad697 | ||
![]() |
4fa45c4a8e | ||
![]() |
49ca833736 | ||
![]() |
5695b6c21f | ||
![]() |
b6d40bf947 | ||
![]() |
1494d16d86 | ||
![]() |
fb9bfdaace | ||
![]() |
5df076e463 | ||
![]() |
2f8c797839 | ||
![]() |
ab3c75137a | ||
![]() |
55792958ab | ||
![]() |
3fcdf8fbd3 | ||
![]() |
a7d2ba7651 | ||
![]() |
2d0446967e | ||
![]() |
5bf98b72ec | ||
![]() |
9a13171f7d | ||
![]() |
28de068edc |
1053 changed files with 46914 additions and 21033 deletions
818
.editorconfig
Normal file
818
.editorconfig
Normal file
|
@ -0,0 +1,818 @@
|
|||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
insert_final_newline = false
|
||||
max_line_length = 120
|
||||
tab_width = 4
|
||||
ij_continuation_indent_size = 8
|
||||
ij_formatter_off_tag = @formatter:off
|
||||
ij_formatter_on_tag = @formatter:on
|
||||
ij_formatter_tags_enabled = true
|
||||
ij_smart_tabs = false
|
||||
ij_visual_guides =
|
||||
ij_wrap_on_typing = false
|
||||
|
||||
[*.blade.php]
|
||||
ij_blade_keep_indents_on_empty_lines = false
|
||||
|
||||
[*.css]
|
||||
ij_css_align_closing_brace_with_properties = false
|
||||
ij_css_blank_lines_around_nested_selector = 1
|
||||
ij_css_blank_lines_between_blocks = 1
|
||||
ij_css_block_comment_add_space = false
|
||||
ij_css_brace_placement = end_of_line
|
||||
ij_css_enforce_quotes_on_format = false
|
||||
ij_css_hex_color_long_format = false
|
||||
ij_css_hex_color_lower_case = false
|
||||
ij_css_hex_color_short_format = false
|
||||
ij_css_hex_color_upper_case = false
|
||||
ij_css_keep_blank_lines_in_code = 2
|
||||
ij_css_keep_indents_on_empty_lines = false
|
||||
ij_css_keep_single_line_blocks = false
|
||||
ij_css_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
|
||||
ij_css_space_after_colon = true
|
||||
ij_css_space_before_opening_brace = true
|
||||
ij_css_use_double_quotes = true
|
||||
ij_css_value_alignment = do_not_align
|
||||
|
||||
[*.feature]
|
||||
indent_size = 2
|
||||
ij_gherkin_keep_indents_on_empty_lines = false
|
||||
|
||||
[*.less]
|
||||
indent_size = 2
|
||||
ij_less_align_closing_brace_with_properties = false
|
||||
ij_less_blank_lines_around_nested_selector = 1
|
||||
ij_less_blank_lines_between_blocks = 1
|
||||
ij_less_block_comment_add_space = false
|
||||
ij_less_brace_placement = 0
|
||||
ij_less_enforce_quotes_on_format = false
|
||||
ij_less_hex_color_long_format = false
|
||||
ij_less_hex_color_lower_case = false
|
||||
ij_less_hex_color_short_format = false
|
||||
ij_less_hex_color_upper_case = false
|
||||
ij_less_keep_blank_lines_in_code = 2
|
||||
ij_less_keep_indents_on_empty_lines = false
|
||||
ij_less_keep_single_line_blocks = false
|
||||
ij_less_line_comment_add_space = false
|
||||
ij_less_line_comment_at_first_column = false
|
||||
ij_less_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
|
||||
ij_less_space_after_colon = true
|
||||
ij_less_space_before_opening_brace = true
|
||||
ij_less_use_double_quotes = true
|
||||
ij_less_value_alignment = 0
|
||||
|
||||
[*.sass]
|
||||
indent_size = 2
|
||||
ij_sass_align_closing_brace_with_properties = false
|
||||
ij_sass_blank_lines_around_nested_selector = 1
|
||||
ij_sass_blank_lines_between_blocks = 1
|
||||
ij_sass_brace_placement = 0
|
||||
ij_sass_enforce_quotes_on_format = false
|
||||
ij_sass_hex_color_long_format = false
|
||||
ij_sass_hex_color_lower_case = false
|
||||
ij_sass_hex_color_short_format = false
|
||||
ij_sass_hex_color_upper_case = false
|
||||
ij_sass_keep_blank_lines_in_code = 2
|
||||
ij_sass_keep_indents_on_empty_lines = false
|
||||
ij_sass_keep_single_line_blocks = false
|
||||
ij_sass_line_comment_add_space = false
|
||||
ij_sass_line_comment_at_first_column = false
|
||||
ij_sass_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
|
||||
ij_sass_space_after_colon = true
|
||||
ij_sass_space_before_opening_brace = true
|
||||
ij_sass_use_double_quotes = true
|
||||
ij_sass_value_alignment = 0
|
||||
|
||||
[*.scss]
|
||||
indent_size = 2
|
||||
ij_scss_align_closing_brace_with_properties = false
|
||||
ij_scss_blank_lines_around_nested_selector = 1
|
||||
ij_scss_blank_lines_between_blocks = 1
|
||||
ij_scss_block_comment_add_space = false
|
||||
ij_scss_brace_placement = 0
|
||||
ij_scss_enforce_quotes_on_format = false
|
||||
ij_scss_hex_color_long_format = false
|
||||
ij_scss_hex_color_lower_case = false
|
||||
ij_scss_hex_color_short_format = false
|
||||
ij_scss_hex_color_upper_case = false
|
||||
ij_scss_keep_blank_lines_in_code = 2
|
||||
ij_scss_keep_indents_on_empty_lines = false
|
||||
ij_scss_keep_single_line_blocks = false
|
||||
ij_scss_line_comment_add_space = false
|
||||
ij_scss_line_comment_at_first_column = false
|
||||
ij_scss_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
|
||||
ij_scss_space_after_colon = true
|
||||
ij_scss_space_before_opening_brace = true
|
||||
ij_scss_use_double_quotes = true
|
||||
ij_scss_value_alignment = 0
|
||||
|
||||
[*.twig]
|
||||
ij_twig_keep_indents_on_empty_lines = false
|
||||
ij_twig_spaces_inside_comments_delimiters = true
|
||||
ij_twig_spaces_inside_delimiters = true
|
||||
ij_twig_spaces_inside_variable_delimiters = true
|
||||
|
||||
[*.vue]
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
ij_continuation_indent_size = 4
|
||||
ij_vue_indent_children_of_top_level = template
|
||||
ij_vue_interpolation_new_line_after_start_delimiter = true
|
||||
ij_vue_interpolation_new_line_before_end_delimiter = true
|
||||
ij_vue_interpolation_wrap = off
|
||||
ij_vue_keep_indents_on_empty_lines = false
|
||||
ij_vue_spaces_within_interpolation_expressions = true
|
||||
|
||||
[.editorconfig]
|
||||
ij_editorconfig_align_group_field_declarations = false
|
||||
ij_editorconfig_space_after_colon = false
|
||||
ij_editorconfig_space_after_comma = true
|
||||
ij_editorconfig_space_before_colon = false
|
||||
ij_editorconfig_space_before_comma = false
|
||||
ij_editorconfig_spaces_around_assignment_operators = true
|
||||
|
||||
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul,phpunit.xml.dist}]
|
||||
ij_xml_align_attributes = true
|
||||
ij_xml_align_text = false
|
||||
ij_xml_attribute_wrap = normal
|
||||
ij_xml_block_comment_add_space = false
|
||||
ij_xml_block_comment_at_first_column = true
|
||||
ij_xml_keep_blank_lines = 2
|
||||
ij_xml_keep_indents_on_empty_lines = false
|
||||
ij_xml_keep_line_breaks = true
|
||||
ij_xml_keep_line_breaks_in_text = true
|
||||
ij_xml_keep_whitespaces = false
|
||||
ij_xml_keep_whitespaces_around_cdata = preserve
|
||||
ij_xml_keep_whitespaces_inside_cdata = false
|
||||
ij_xml_line_comment_at_first_column = true
|
||||
ij_xml_space_after_tag_name = false
|
||||
ij_xml_space_around_equals_in_attribute = false
|
||||
ij_xml_space_inside_empty_tag = false
|
||||
ij_xml_text_wrap = normal
|
||||
|
||||
[{*.ats,*.cts,*.mts,*.ts}]
|
||||
ij_continuation_indent_size = 4
|
||||
ij_typescript_align_imports = false
|
||||
ij_typescript_align_multiline_array_initializer_expression = false
|
||||
ij_typescript_align_multiline_binary_operation = false
|
||||
ij_typescript_align_multiline_chained_methods = false
|
||||
ij_typescript_align_multiline_extends_list = false
|
||||
ij_typescript_align_multiline_for = true
|
||||
ij_typescript_align_multiline_parameters = true
|
||||
ij_typescript_align_multiline_parameters_in_calls = false
|
||||
ij_typescript_align_multiline_ternary_operation = false
|
||||
ij_typescript_align_object_properties = 0
|
||||
ij_typescript_align_union_types = false
|
||||
ij_typescript_align_var_statements = 0
|
||||
ij_typescript_array_initializer_new_line_after_left_brace = false
|
||||
ij_typescript_array_initializer_right_brace_on_new_line = false
|
||||
ij_typescript_array_initializer_wrap = off
|
||||
ij_typescript_assignment_wrap = off
|
||||
ij_typescript_binary_operation_sign_on_next_line = false
|
||||
ij_typescript_binary_operation_wrap = off
|
||||
ij_typescript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/**
|
||||
ij_typescript_blank_lines_after_imports = 1
|
||||
ij_typescript_blank_lines_around_class = 1
|
||||
ij_typescript_blank_lines_around_field = 0
|
||||
ij_typescript_blank_lines_around_field_in_interface = 0
|
||||
ij_typescript_blank_lines_around_function = 1
|
||||
ij_typescript_blank_lines_around_method = 1
|
||||
ij_typescript_blank_lines_around_method_in_interface = 1
|
||||
ij_typescript_block_brace_style = end_of_line
|
||||
ij_typescript_block_comment_add_space = false
|
||||
ij_typescript_block_comment_at_first_column = true
|
||||
ij_typescript_call_parameters_new_line_after_left_paren = false
|
||||
ij_typescript_call_parameters_right_paren_on_new_line = false
|
||||
ij_typescript_call_parameters_wrap = off
|
||||
ij_typescript_catch_on_new_line = false
|
||||
ij_typescript_chained_call_dot_on_new_line = true
|
||||
ij_typescript_class_brace_style = end_of_line
|
||||
ij_typescript_comma_on_new_line = false
|
||||
ij_typescript_do_while_brace_force = never
|
||||
ij_typescript_else_on_new_line = false
|
||||
ij_typescript_enforce_trailing_comma = keep
|
||||
ij_typescript_enum_constants_wrap = on_every_item
|
||||
ij_typescript_extends_keyword_wrap = off
|
||||
ij_typescript_extends_list_wrap = off
|
||||
ij_typescript_field_prefix = _
|
||||
ij_typescript_file_name_style = relaxed
|
||||
ij_typescript_finally_on_new_line = false
|
||||
ij_typescript_for_brace_force = never
|
||||
ij_typescript_for_statement_new_line_after_left_paren = false
|
||||
ij_typescript_for_statement_right_paren_on_new_line = false
|
||||
ij_typescript_for_statement_wrap = off
|
||||
ij_typescript_force_quote_style = false
|
||||
ij_typescript_force_semicolon_style = false
|
||||
ij_typescript_function_expression_brace_style = end_of_line
|
||||
ij_typescript_if_brace_force = never
|
||||
ij_typescript_import_merge_members = global
|
||||
ij_typescript_import_prefer_absolute_path = global
|
||||
ij_typescript_import_sort_members = true
|
||||
ij_typescript_import_sort_module_name = false
|
||||
ij_typescript_import_use_node_resolution = true
|
||||
ij_typescript_imports_wrap = on_every_item
|
||||
ij_typescript_indent_case_from_switch = true
|
||||
ij_typescript_indent_chained_calls = true
|
||||
ij_typescript_indent_package_children = 0
|
||||
ij_typescript_jsdoc_include_types = false
|
||||
ij_typescript_jsx_attribute_value = braces
|
||||
ij_typescript_keep_blank_lines_in_code = 2
|
||||
ij_typescript_keep_first_column_comment = true
|
||||
ij_typescript_keep_indents_on_empty_lines = false
|
||||
ij_typescript_keep_line_breaks = true
|
||||
ij_typescript_keep_simple_blocks_in_one_line = false
|
||||
ij_typescript_keep_simple_methods_in_one_line = false
|
||||
ij_typescript_line_comment_add_space = true
|
||||
ij_typescript_line_comment_at_first_column = false
|
||||
ij_typescript_method_brace_style = end_of_line
|
||||
ij_typescript_method_call_chain_wrap = off
|
||||
ij_typescript_method_parameters_new_line_after_left_paren = false
|
||||
ij_typescript_method_parameters_right_paren_on_new_line = false
|
||||
ij_typescript_method_parameters_wrap = off
|
||||
ij_typescript_object_literal_wrap = on_every_item
|
||||
ij_typescript_object_types_wrap = on_every_item
|
||||
ij_typescript_parentheses_expression_new_line_after_left_paren = false
|
||||
ij_typescript_parentheses_expression_right_paren_on_new_line = false
|
||||
ij_typescript_place_assignment_sign_on_next_line = false
|
||||
ij_typescript_prefer_as_type_cast = false
|
||||
ij_typescript_prefer_explicit_types_function_expression_returns = false
|
||||
ij_typescript_prefer_explicit_types_function_returns = false
|
||||
ij_typescript_prefer_explicit_types_vars_fields = false
|
||||
ij_typescript_prefer_parameters_wrap = false
|
||||
ij_typescript_property_prefix =
|
||||
ij_typescript_reformat_c_style_comments = false
|
||||
ij_typescript_space_after_colon = true
|
||||
ij_typescript_space_after_comma = true
|
||||
ij_typescript_space_after_dots_in_rest_parameter = false
|
||||
ij_typescript_space_after_generator_mult = true
|
||||
ij_typescript_space_after_property_colon = true
|
||||
ij_typescript_space_after_quest = true
|
||||
ij_typescript_space_after_type_colon = true
|
||||
ij_typescript_space_after_unary_not = false
|
||||
ij_typescript_space_before_async_arrow_lparen = true
|
||||
ij_typescript_space_before_catch_keyword = true
|
||||
ij_typescript_space_before_catch_left_brace = true
|
||||
ij_typescript_space_before_catch_parentheses = true
|
||||
ij_typescript_space_before_class_lbrace = true
|
||||
ij_typescript_space_before_class_left_brace = true
|
||||
ij_typescript_space_before_colon = true
|
||||
ij_typescript_space_before_comma = false
|
||||
ij_typescript_space_before_do_left_brace = true
|
||||
ij_typescript_space_before_else_keyword = true
|
||||
ij_typescript_space_before_else_left_brace = true
|
||||
ij_typescript_space_before_finally_keyword = true
|
||||
ij_typescript_space_before_finally_left_brace = true
|
||||
ij_typescript_space_before_for_left_brace = true
|
||||
ij_typescript_space_before_for_parentheses = true
|
||||
ij_typescript_space_before_for_semicolon = false
|
||||
ij_typescript_space_before_function_left_parenth = true
|
||||
ij_typescript_space_before_generator_mult = false
|
||||
ij_typescript_space_before_if_left_brace = true
|
||||
ij_typescript_space_before_if_parentheses = true
|
||||
ij_typescript_space_before_method_call_parentheses = false
|
||||
ij_typescript_space_before_method_left_brace = true
|
||||
ij_typescript_space_before_method_parentheses = false
|
||||
ij_typescript_space_before_property_colon = false
|
||||
ij_typescript_space_before_quest = true
|
||||
ij_typescript_space_before_switch_left_brace = true
|
||||
ij_typescript_space_before_switch_parentheses = true
|
||||
ij_typescript_space_before_try_left_brace = true
|
||||
ij_typescript_space_before_type_colon = false
|
||||
ij_typescript_space_before_unary_not = false
|
||||
ij_typescript_space_before_while_keyword = true
|
||||
ij_typescript_space_before_while_left_brace = true
|
||||
ij_typescript_space_before_while_parentheses = true
|
||||
ij_typescript_spaces_around_additive_operators = true
|
||||
ij_typescript_spaces_around_arrow_function_operator = true
|
||||
ij_typescript_spaces_around_assignment_operators = true
|
||||
ij_typescript_spaces_around_bitwise_operators = true
|
||||
ij_typescript_spaces_around_equality_operators = true
|
||||
ij_typescript_spaces_around_logical_operators = true
|
||||
ij_typescript_spaces_around_multiplicative_operators = true
|
||||
ij_typescript_spaces_around_relational_operators = true
|
||||
ij_typescript_spaces_around_shift_operators = true
|
||||
ij_typescript_spaces_around_unary_operator = false
|
||||
ij_typescript_spaces_within_array_initializer_brackets = false
|
||||
ij_typescript_spaces_within_brackets = false
|
||||
ij_typescript_spaces_within_catch_parentheses = false
|
||||
ij_typescript_spaces_within_for_parentheses = false
|
||||
ij_typescript_spaces_within_if_parentheses = false
|
||||
ij_typescript_spaces_within_imports = false
|
||||
ij_typescript_spaces_within_interpolation_expressions = false
|
||||
ij_typescript_spaces_within_method_call_parentheses = false
|
||||
ij_typescript_spaces_within_method_parentheses = false
|
||||
ij_typescript_spaces_within_object_literal_braces = false
|
||||
ij_typescript_spaces_within_object_type_braces = true
|
||||
ij_typescript_spaces_within_parentheses = false
|
||||
ij_typescript_spaces_within_switch_parentheses = false
|
||||
ij_typescript_spaces_within_type_assertion = false
|
||||
ij_typescript_spaces_within_union_types = true
|
||||
ij_typescript_spaces_within_while_parentheses = false
|
||||
ij_typescript_special_else_if_treatment = true
|
||||
ij_typescript_ternary_operation_signs_on_next_line = false
|
||||
ij_typescript_ternary_operation_wrap = off
|
||||
ij_typescript_union_types_wrap = on_every_item
|
||||
ij_typescript_use_chained_calls_group_indents = false
|
||||
ij_typescript_use_double_quotes = true
|
||||
ij_typescript_use_explicit_js_extension = auto
|
||||
ij_typescript_use_path_mapping = always
|
||||
ij_typescript_use_public_modifier = false
|
||||
ij_typescript_use_semicolon_after_statement = true
|
||||
ij_typescript_var_declaration_wrap = normal
|
||||
ij_typescript_while_brace_force = never
|
||||
ij_typescript_while_on_new_line = false
|
||||
ij_typescript_wrap_comments = false
|
||||
|
||||
[{*.bash,*.sh,*.zsh}]
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
ij_shell_binary_ops_start_line = false
|
||||
ij_shell_keep_column_alignment_padding = false
|
||||
ij_shell_minify_program = false
|
||||
ij_shell_redirect_followed_by_space = false
|
||||
ij_shell_switch_cases_indented = false
|
||||
ij_shell_use_unix_line_separator = true
|
||||
|
||||
[{*.cjs,*.js}]
|
||||
ij_continuation_indent_size = 4
|
||||
ij_javascript_align_imports = false
|
||||
ij_javascript_align_multiline_array_initializer_expression = false
|
||||
ij_javascript_align_multiline_binary_operation = false
|
||||
ij_javascript_align_multiline_chained_methods = false
|
||||
ij_javascript_align_multiline_extends_list = false
|
||||
ij_javascript_align_multiline_for = true
|
||||
ij_javascript_align_multiline_parameters = true
|
||||
ij_javascript_align_multiline_parameters_in_calls = false
|
||||
ij_javascript_align_multiline_ternary_operation = false
|
||||
ij_javascript_align_object_properties = 0
|
||||
ij_javascript_align_union_types = false
|
||||
ij_javascript_align_var_statements = 0
|
||||
ij_javascript_array_initializer_new_line_after_left_brace = false
|
||||
ij_javascript_array_initializer_right_brace_on_new_line = false
|
||||
ij_javascript_array_initializer_wrap = off
|
||||
ij_javascript_assignment_wrap = off
|
||||
ij_javascript_binary_operation_sign_on_next_line = false
|
||||
ij_javascript_binary_operation_wrap = off
|
||||
ij_javascript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/**
|
||||
ij_javascript_blank_lines_after_imports = 1
|
||||
ij_javascript_blank_lines_around_class = 1
|
||||
ij_javascript_blank_lines_around_field = 0
|
||||
ij_javascript_blank_lines_around_function = 1
|
||||
ij_javascript_blank_lines_around_method = 1
|
||||
ij_javascript_block_brace_style = end_of_line
|
||||
ij_javascript_block_comment_add_space = false
|
||||
ij_javascript_block_comment_at_first_column = true
|
||||
ij_javascript_call_parameters_new_line_after_left_paren = false
|
||||
ij_javascript_call_parameters_right_paren_on_new_line = false
|
||||
ij_javascript_call_parameters_wrap = off
|
||||
ij_javascript_catch_on_new_line = false
|
||||
ij_javascript_chained_call_dot_on_new_line = true
|
||||
ij_javascript_class_brace_style = end_of_line
|
||||
ij_javascript_comma_on_new_line = false
|
||||
ij_javascript_do_while_brace_force = never
|
||||
ij_javascript_else_on_new_line = false
|
||||
ij_javascript_enforce_trailing_comma = keep
|
||||
ij_javascript_extends_keyword_wrap = off
|
||||
ij_javascript_extends_list_wrap = off
|
||||
ij_javascript_field_prefix = _
|
||||
ij_javascript_file_name_style = relaxed
|
||||
ij_javascript_finally_on_new_line = false
|
||||
ij_javascript_for_brace_force = never
|
||||
ij_javascript_for_statement_new_line_after_left_paren = false
|
||||
ij_javascript_for_statement_right_paren_on_new_line = false
|
||||
ij_javascript_for_statement_wrap = off
|
||||
ij_javascript_force_quote_style = false
|
||||
ij_javascript_force_semicolon_style = false
|
||||
ij_javascript_function_expression_brace_style = end_of_line
|
||||
ij_javascript_if_brace_force = never
|
||||
ij_javascript_import_merge_members = global
|
||||
ij_javascript_import_prefer_absolute_path = global
|
||||
ij_javascript_import_sort_members = true
|
||||
ij_javascript_import_sort_module_name = false
|
||||
ij_javascript_import_use_node_resolution = true
|
||||
ij_javascript_imports_wrap = on_every_item
|
||||
ij_javascript_indent_case_from_switch = true
|
||||
ij_javascript_indent_chained_calls = true
|
||||
ij_javascript_indent_package_children = 0
|
||||
ij_javascript_jsx_attribute_value = braces
|
||||
ij_javascript_keep_blank_lines_in_code = 2
|
||||
ij_javascript_keep_first_column_comment = true
|
||||
ij_javascript_keep_indents_on_empty_lines = false
|
||||
ij_javascript_keep_line_breaks = true
|
||||
ij_javascript_keep_simple_blocks_in_one_line = false
|
||||
ij_javascript_keep_simple_methods_in_one_line = false
|
||||
ij_javascript_line_comment_add_space = true
|
||||
ij_javascript_line_comment_at_first_column = false
|
||||
ij_javascript_method_brace_style = end_of_line
|
||||
ij_javascript_method_call_chain_wrap = off
|
||||
ij_javascript_method_parameters_new_line_after_left_paren = false
|
||||
ij_javascript_method_parameters_right_paren_on_new_line = false
|
||||
ij_javascript_method_parameters_wrap = off
|
||||
ij_javascript_object_literal_wrap = on_every_item
|
||||
ij_javascript_object_types_wrap = on_every_item
|
||||
ij_javascript_parentheses_expression_new_line_after_left_paren = false
|
||||
ij_javascript_parentheses_expression_right_paren_on_new_line = false
|
||||
ij_javascript_place_assignment_sign_on_next_line = false
|
||||
ij_javascript_prefer_as_type_cast = false
|
||||
ij_javascript_prefer_explicit_types_function_expression_returns = false
|
||||
ij_javascript_prefer_explicit_types_function_returns = false
|
||||
ij_javascript_prefer_explicit_types_vars_fields = false
|
||||
ij_javascript_prefer_parameters_wrap = false
|
||||
ij_javascript_property_prefix =
|
||||
ij_javascript_reformat_c_style_comments = false
|
||||
ij_javascript_space_after_colon = true
|
||||
ij_javascript_space_after_comma = true
|
||||
ij_javascript_space_after_dots_in_rest_parameter = false
|
||||
ij_javascript_space_after_generator_mult = true
|
||||
ij_javascript_space_after_property_colon = true
|
||||
ij_javascript_space_after_quest = true
|
||||
ij_javascript_space_after_type_colon = true
|
||||
ij_javascript_space_after_unary_not = false
|
||||
ij_javascript_space_before_async_arrow_lparen = true
|
||||
ij_javascript_space_before_catch_keyword = true
|
||||
ij_javascript_space_before_catch_left_brace = true
|
||||
ij_javascript_space_before_catch_parentheses = true
|
||||
ij_javascript_space_before_class_lbrace = true
|
||||
ij_javascript_space_before_class_left_brace = true
|
||||
ij_javascript_space_before_colon = true
|
||||
ij_javascript_space_before_comma = false
|
||||
ij_javascript_space_before_do_left_brace = true
|
||||
ij_javascript_space_before_else_keyword = true
|
||||
ij_javascript_space_before_else_left_brace = true
|
||||
ij_javascript_space_before_finally_keyword = true
|
||||
ij_javascript_space_before_finally_left_brace = true
|
||||
ij_javascript_space_before_for_left_brace = true
|
||||
ij_javascript_space_before_for_parentheses = true
|
||||
ij_javascript_space_before_for_semicolon = false
|
||||
ij_javascript_space_before_function_left_parenth = true
|
||||
ij_javascript_space_before_generator_mult = false
|
||||
ij_javascript_space_before_if_left_brace = true
|
||||
ij_javascript_space_before_if_parentheses = true
|
||||
ij_javascript_space_before_method_call_parentheses = false
|
||||
ij_javascript_space_before_method_left_brace = true
|
||||
ij_javascript_space_before_method_parentheses = false
|
||||
ij_javascript_space_before_property_colon = false
|
||||
ij_javascript_space_before_quest = true
|
||||
ij_javascript_space_before_switch_left_brace = true
|
||||
ij_javascript_space_before_switch_parentheses = true
|
||||
ij_javascript_space_before_try_left_brace = true
|
||||
ij_javascript_space_before_type_colon = false
|
||||
ij_javascript_space_before_unary_not = false
|
||||
ij_javascript_space_before_while_keyword = true
|
||||
ij_javascript_space_before_while_left_brace = true
|
||||
ij_javascript_space_before_while_parentheses = true
|
||||
ij_javascript_spaces_around_additive_operators = true
|
||||
ij_javascript_spaces_around_arrow_function_operator = true
|
||||
ij_javascript_spaces_around_assignment_operators = true
|
||||
ij_javascript_spaces_around_bitwise_operators = true
|
||||
ij_javascript_spaces_around_equality_operators = true
|
||||
ij_javascript_spaces_around_logical_operators = true
|
||||
ij_javascript_spaces_around_multiplicative_operators = true
|
||||
ij_javascript_spaces_around_relational_operators = true
|
||||
ij_javascript_spaces_around_shift_operators = true
|
||||
ij_javascript_spaces_around_unary_operator = false
|
||||
ij_javascript_spaces_within_array_initializer_brackets = false
|
||||
ij_javascript_spaces_within_brackets = false
|
||||
ij_javascript_spaces_within_catch_parentheses = false
|
||||
ij_javascript_spaces_within_for_parentheses = false
|
||||
ij_javascript_spaces_within_if_parentheses = false
|
||||
ij_javascript_spaces_within_imports = false
|
||||
ij_javascript_spaces_within_interpolation_expressions = false
|
||||
ij_javascript_spaces_within_method_call_parentheses = false
|
||||
ij_javascript_spaces_within_method_parentheses = false
|
||||
ij_javascript_spaces_within_object_literal_braces = false
|
||||
ij_javascript_spaces_within_object_type_braces = true
|
||||
ij_javascript_spaces_within_parentheses = false
|
||||
ij_javascript_spaces_within_switch_parentheses = false
|
||||
ij_javascript_spaces_within_type_assertion = false
|
||||
ij_javascript_spaces_within_union_types = true
|
||||
ij_javascript_spaces_within_while_parentheses = false
|
||||
ij_javascript_special_else_if_treatment = true
|
||||
ij_javascript_ternary_operation_signs_on_next_line = false
|
||||
ij_javascript_ternary_operation_wrap = off
|
||||
ij_javascript_union_types_wrap = on_every_item
|
||||
ij_javascript_use_chained_calls_group_indents = false
|
||||
ij_javascript_use_double_quotes = true
|
||||
ij_javascript_use_explicit_js_extension = auto
|
||||
ij_javascript_use_path_mapping = always
|
||||
ij_javascript_use_public_modifier = false
|
||||
ij_javascript_use_semicolon_after_statement = true
|
||||
ij_javascript_var_declaration_wrap = normal
|
||||
ij_javascript_while_brace_force = never
|
||||
ij_javascript_while_on_new_line = false
|
||||
ij_javascript_wrap_comments = false
|
||||
|
||||
[{*.ctp,*.hphp,*.inc,*.module,*.php,*.php4,*.php5,*.phtml}]
|
||||
max_line_length = 100
|
||||
ij_continuation_indent_size = 4
|
||||
ij_php_align_assignments = false
|
||||
ij_php_align_class_constants = false
|
||||
ij_php_align_enum_cases = false
|
||||
ij_php_align_group_field_declarations = false
|
||||
ij_php_align_inline_comments = false
|
||||
ij_php_align_key_value_pairs = false
|
||||
ij_php_align_match_arm_bodies = false
|
||||
ij_php_align_multiline_array_initializer_expression = false
|
||||
ij_php_align_multiline_binary_operation = false
|
||||
ij_php_align_multiline_chained_methods = true
|
||||
ij_php_align_multiline_extends_list = false
|
||||
ij_php_align_multiline_for = true
|
||||
ij_php_align_multiline_parameters = true
|
||||
ij_php_align_multiline_parameters_in_calls = false
|
||||
ij_php_align_multiline_ternary_operation = false
|
||||
ij_php_align_named_arguments = true
|
||||
ij_php_align_phpdoc_comments = false
|
||||
ij_php_align_phpdoc_param_names = false
|
||||
ij_php_anonymous_brace_style = end_of_line
|
||||
ij_php_api_weight = 28
|
||||
ij_php_array_initializer_new_line_after_left_brace = false
|
||||
ij_php_array_initializer_right_brace_on_new_line = false
|
||||
ij_php_array_initializer_wrap = off
|
||||
ij_php_assignment_wrap = off
|
||||
ij_php_attributes_wrap = off
|
||||
ij_php_author_weight = 28
|
||||
ij_php_binary_operation_sign_on_next_line = false
|
||||
ij_php_binary_operation_wrap = off
|
||||
ij_php_blank_lines_after_class_header = 0
|
||||
ij_php_blank_lines_after_function = 1
|
||||
ij_php_blank_lines_after_imports = 1
|
||||
ij_php_blank_lines_after_opening_tag = 0
|
||||
ij_php_blank_lines_after_package = 0
|
||||
ij_php_blank_lines_around_class = 1
|
||||
ij_php_blank_lines_around_constants = 0
|
||||
ij_php_blank_lines_around_enum_cases = 0
|
||||
ij_php_blank_lines_around_field = 0
|
||||
ij_php_blank_lines_around_method = 1
|
||||
ij_php_blank_lines_before_class_end = 0
|
||||
ij_php_blank_lines_before_imports = 1
|
||||
ij_php_blank_lines_before_method_body = 0
|
||||
ij_php_blank_lines_before_package = 1
|
||||
ij_php_blank_lines_before_return_statement = 0
|
||||
ij_php_blank_lines_between_imports = 0
|
||||
ij_php_block_brace_style = end_of_line
|
||||
ij_php_call_parameters_new_line_after_left_paren = true
|
||||
ij_php_call_parameters_right_paren_on_new_line = true
|
||||
ij_php_call_parameters_wrap = normal
|
||||
ij_php_catch_on_new_line = false
|
||||
ij_php_category_weight = 28
|
||||
ij_php_class_brace_style = next_line
|
||||
ij_php_comma_after_last_argument = true
|
||||
ij_php_comma_after_last_array_element = true
|
||||
ij_php_comma_after_last_closure_use_var = true
|
||||
ij_php_comma_after_last_match_arm = true
|
||||
ij_php_comma_after_last_parameter = true
|
||||
ij_php_concat_spaces = true
|
||||
ij_php_copyright_weight = 28
|
||||
ij_php_deprecated_weight = 28
|
||||
ij_php_do_while_brace_force = never
|
||||
ij_php_else_if_style = combine
|
||||
ij_php_else_on_new_line = false
|
||||
ij_php_example_weight = 28
|
||||
ij_php_extends_keyword_wrap = off
|
||||
ij_php_extends_list_wrap = off
|
||||
ij_php_fields_default_visibility = private
|
||||
ij_php_filesource_weight = 28
|
||||
ij_php_finally_on_new_line = false
|
||||
ij_php_for_brace_force = never
|
||||
ij_php_for_statement_new_line_after_left_paren = false
|
||||
ij_php_for_statement_right_paren_on_new_line = false
|
||||
ij_php_for_statement_wrap = off
|
||||
ij_php_force_empty_methods_in_one_line = false
|
||||
ij_php_force_short_declaration_array_style = true
|
||||
ij_php_getters_setters_naming_style = camel_case
|
||||
ij_php_getters_setters_order_style = getters_first
|
||||
ij_php_global_weight = 28
|
||||
ij_php_group_use_wrap = on_every_item
|
||||
ij_php_if_brace_force = never
|
||||
ij_php_if_lparen_on_next_line = false
|
||||
ij_php_if_rparen_on_next_line = false
|
||||
ij_php_ignore_weight = 28
|
||||
ij_php_import_sorting = alphabetic
|
||||
ij_php_indent_break_from_case = true
|
||||
ij_php_indent_case_from_switch = true
|
||||
ij_php_indent_code_in_php_tags = false
|
||||
ij_php_internal_weight = 28
|
||||
ij_php_keep_blank_lines_after_lbrace = 2
|
||||
ij_php_keep_blank_lines_before_right_brace = 2
|
||||
ij_php_keep_blank_lines_in_code = 2
|
||||
ij_php_keep_blank_lines_in_declarations = 2
|
||||
ij_php_keep_control_statement_in_one_line = true
|
||||
ij_php_keep_first_column_comment = true
|
||||
ij_php_keep_indents_on_empty_lines = false
|
||||
ij_php_keep_line_breaks = true
|
||||
ij_php_keep_rparen_and_lbrace_on_one_line = false
|
||||
ij_php_keep_simple_classes_in_one_line = false
|
||||
ij_php_keep_simple_methods_in_one_line = false
|
||||
ij_php_lambda_brace_style = end_of_line
|
||||
ij_php_license_weight = 28
|
||||
ij_php_line_comment_add_space = false
|
||||
ij_php_line_comment_at_first_column = true
|
||||
ij_php_link_weight = 28
|
||||
ij_php_lower_case_boolean_const = true
|
||||
ij_php_lower_case_keywords = true
|
||||
ij_php_lower_case_null_const = true
|
||||
ij_php_method_brace_style = next_line
|
||||
ij_php_method_call_chain_wrap = normal
|
||||
ij_php_method_parameters_new_line_after_left_paren = true
|
||||
ij_php_method_parameters_right_paren_on_new_line = true
|
||||
ij_php_method_parameters_wrap = normal
|
||||
ij_php_method_weight = 28
|
||||
ij_php_modifier_list_wrap = false
|
||||
ij_php_multiline_chained_calls_semicolon_on_new_line = false
|
||||
ij_php_namespace_brace_style = 1
|
||||
ij_php_new_line_after_php_opening_tag = true
|
||||
ij_php_null_type_position = in_the_end
|
||||
ij_php_package_weight = 28
|
||||
ij_php_param_weight = 0
|
||||
ij_php_parameters_attributes_wrap = off
|
||||
ij_php_parentheses_expression_new_line_after_left_paren = false
|
||||
ij_php_parentheses_expression_right_paren_on_new_line = false
|
||||
ij_php_phpdoc_blank_line_before_tags = false
|
||||
ij_php_phpdoc_blank_lines_around_parameters = false
|
||||
ij_php_phpdoc_keep_blank_lines = true
|
||||
ij_php_phpdoc_param_spaces_between_name_and_description = 1
|
||||
ij_php_phpdoc_param_spaces_between_tag_and_type = 1
|
||||
ij_php_phpdoc_param_spaces_between_type_and_name = 1
|
||||
ij_php_phpdoc_use_fqcn = false
|
||||
ij_php_phpdoc_wrap_long_lines = false
|
||||
ij_php_place_assignment_sign_on_next_line = false
|
||||
ij_php_place_parens_for_constructor = 1
|
||||
ij_php_property_read_weight = 28
|
||||
ij_php_property_weight = 28
|
||||
ij_php_property_write_weight = 28
|
||||
ij_php_return_type_on_new_line = false
|
||||
ij_php_return_weight = 1
|
||||
ij_php_see_weight = 28
|
||||
ij_php_since_weight = 28
|
||||
ij_php_sort_phpdoc_elements = true
|
||||
ij_php_space_after_colon = true
|
||||
ij_php_space_after_colon_in_enum_backed_type = true
|
||||
ij_php_space_after_colon_in_named_argument = true
|
||||
ij_php_space_after_colon_in_return_type = true
|
||||
ij_php_space_after_comma = true
|
||||
ij_php_space_after_for_semicolon = true
|
||||
ij_php_space_after_quest = true
|
||||
ij_php_space_after_type_cast = false
|
||||
ij_php_space_after_unary_not = false
|
||||
ij_php_space_before_array_initializer_left_brace = false
|
||||
ij_php_space_before_catch_keyword = true
|
||||
ij_php_space_before_catch_left_brace = true
|
||||
ij_php_space_before_catch_parentheses = true
|
||||
ij_php_space_before_class_left_brace = true
|
||||
ij_php_space_before_closure_left_parenthesis = true
|
||||
ij_php_space_before_colon = true
|
||||
ij_php_space_before_colon_in_enum_backed_type = false
|
||||
ij_php_space_before_colon_in_named_argument = false
|
||||
ij_php_space_before_colon_in_return_type = false
|
||||
ij_php_space_before_comma = false
|
||||
ij_php_space_before_do_left_brace = true
|
||||
ij_php_space_before_else_keyword = true
|
||||
ij_php_space_before_else_left_brace = true
|
||||
ij_php_space_before_finally_keyword = true
|
||||
ij_php_space_before_finally_left_brace = true
|
||||
ij_php_space_before_for_left_brace = true
|
||||
ij_php_space_before_for_parentheses = true
|
||||
ij_php_space_before_for_semicolon = false
|
||||
ij_php_space_before_if_left_brace = true
|
||||
ij_php_space_before_if_parentheses = true
|
||||
ij_php_space_before_method_call_parentheses = false
|
||||
ij_php_space_before_method_left_brace = true
|
||||
ij_php_space_before_method_parentheses = false
|
||||
ij_php_space_before_quest = true
|
||||
ij_php_space_before_short_closure_left_parenthesis = true
|
||||
ij_php_space_before_switch_left_brace = true
|
||||
ij_php_space_before_switch_parentheses = true
|
||||
ij_php_space_before_try_left_brace = true
|
||||
ij_php_space_before_unary_not = false
|
||||
ij_php_space_before_while_keyword = true
|
||||
ij_php_space_before_while_left_brace = true
|
||||
ij_php_space_before_while_parentheses = true
|
||||
ij_php_space_between_ternary_quest_and_colon = false
|
||||
ij_php_spaces_around_additive_operators = true
|
||||
ij_php_spaces_around_arrow = false
|
||||
ij_php_spaces_around_assignment_in_declare = false
|
||||
ij_php_spaces_around_assignment_operators = true
|
||||
ij_php_spaces_around_bitwise_operators = true
|
||||
ij_php_spaces_around_equality_operators = true
|
||||
ij_php_spaces_around_logical_operators = true
|
||||
ij_php_spaces_around_multiplicative_operators = true
|
||||
ij_php_spaces_around_null_coalesce_operator = true
|
||||
ij_php_spaces_around_pipe_in_union_type = false
|
||||
ij_php_spaces_around_relational_operators = true
|
||||
ij_php_spaces_around_shift_operators = true
|
||||
ij_php_spaces_around_unary_operator = false
|
||||
ij_php_spaces_around_var_within_brackets = false
|
||||
ij_php_spaces_within_array_initializer_braces = false
|
||||
ij_php_spaces_within_brackets = false
|
||||
ij_php_spaces_within_catch_parentheses = false
|
||||
ij_php_spaces_within_for_parentheses = false
|
||||
ij_php_spaces_within_if_parentheses = false
|
||||
ij_php_spaces_within_method_call_parentheses = false
|
||||
ij_php_spaces_within_method_parentheses = false
|
||||
ij_php_spaces_within_parentheses = false
|
||||
ij_php_spaces_within_short_echo_tags = true
|
||||
ij_php_spaces_within_switch_parentheses = false
|
||||
ij_php_spaces_within_while_parentheses = false
|
||||
ij_php_special_else_if_treatment = false
|
||||
ij_php_subpackage_weight = 28
|
||||
ij_php_ternary_operation_signs_on_next_line = false
|
||||
ij_php_ternary_operation_wrap = off
|
||||
ij_php_throws_weight = 2
|
||||
ij_php_todo_weight = 28
|
||||
ij_php_treat_multiline_arrays_and_lambdas_multiline = false
|
||||
ij_php_unknown_tag_weight = 28
|
||||
ij_php_upper_case_boolean_const = false
|
||||
ij_php_upper_case_null_const = false
|
||||
ij_php_uses_weight = 28
|
||||
ij_php_var_weight = 28
|
||||
ij_php_variable_naming_style = mixed
|
||||
ij_php_version_weight = 28
|
||||
ij_php_while_brace_force = never
|
||||
ij_php_while_on_new_line = false
|
||||
|
||||
[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,composer.lock,jest.config}]
|
||||
indent_size = 2
|
||||
ij_json_array_wrapping = split_into_lines
|
||||
ij_json_keep_blank_lines_in_code = 0
|
||||
ij_json_keep_indents_on_empty_lines = false
|
||||
ij_json_keep_line_breaks = true
|
||||
ij_json_keep_trailing_comma = false
|
||||
ij_json_object_wrapping = split_into_lines
|
||||
ij_json_property_alignment = do_not_align
|
||||
ij_json_space_after_colon = true
|
||||
ij_json_space_after_comma = true
|
||||
ij_json_space_before_colon = false
|
||||
ij_json_space_before_comma = false
|
||||
ij_json_spaces_within_braces = false
|
||||
ij_json_spaces_within_brackets = false
|
||||
ij_json_wrap_long_lines = false
|
||||
|
||||
[{*.htm,*.html,*.ng,*.sht,*.shtm,*.shtml}]
|
||||
ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3
|
||||
ij_html_align_attributes = true
|
||||
ij_html_align_text = false
|
||||
ij_html_attribute_wrap = normal
|
||||
ij_html_block_comment_add_space = false
|
||||
ij_html_block_comment_at_first_column = true
|
||||
ij_html_do_not_align_children_of_min_lines = 0
|
||||
ij_html_do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p
|
||||
ij_html_do_not_indent_children_of_tags = html,body,thead,tbody,tfoot
|
||||
ij_html_enforce_quotes = false
|
||||
ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var
|
||||
ij_html_keep_blank_lines = 2
|
||||
ij_html_keep_indents_on_empty_lines = false
|
||||
ij_html_keep_line_breaks = true
|
||||
ij_html_keep_line_breaks_in_text = true
|
||||
ij_html_keep_whitespaces = false
|
||||
ij_html_keep_whitespaces_inside = span,pre,textarea
|
||||
ij_html_line_comment_at_first_column = true
|
||||
ij_html_new_line_after_last_attribute = never
|
||||
ij_html_new_line_before_first_attribute = never
|
||||
ij_html_quote_style = double
|
||||
ij_html_remove_new_line_before_tags = br
|
||||
ij_html_space_after_tag_name = false
|
||||
ij_html_space_around_equality_in_attribute = false
|
||||
ij_html_space_inside_empty_tag = false
|
||||
ij_html_text_wrap = normal
|
||||
|
||||
[{*.http,*.rest}]
|
||||
indent_size = 0
|
||||
ij_continuation_indent_size = 4
|
||||
ij_http-request_call_parameters_wrap = normal
|
||||
ij_http-request_method_parameters_wrap = split_into_lines
|
||||
ij_http-request_space_before_comma = true
|
||||
ij_http-request_spaces_around_assignment_operators = true
|
||||
|
||||
[{*.markdown,*.md}]
|
||||
ij_markdown_force_one_space_after_blockquote_symbol = true
|
||||
ij_markdown_force_one_space_after_header_symbol = true
|
||||
ij_markdown_force_one_space_after_list_bullet = true
|
||||
ij_markdown_force_one_space_between_words = true
|
||||
ij_markdown_format_tables = true
|
||||
ij_markdown_insert_quote_arrows_on_wrap = true
|
||||
ij_markdown_keep_indents_on_empty_lines = false
|
||||
ij_markdown_keep_line_breaks_inside_text_blocks = true
|
||||
ij_markdown_max_lines_around_block_elements = 1
|
||||
ij_markdown_max_lines_around_header = 1
|
||||
ij_markdown_max_lines_between_paragraphs = 1
|
||||
ij_markdown_min_lines_around_block_elements = 1
|
||||
ij_markdown_min_lines_around_header = 1
|
||||
ij_markdown_min_lines_between_paragraphs = 1
|
||||
ij_markdown_wrap_text_if_long = true
|
||||
ij_markdown_wrap_text_inside_blockquotes = true
|
||||
|
||||
[{*.yaml,*.yml}]
|
||||
indent_size = 2
|
||||
ij_yaml_align_values_properties = do_not_align
|
||||
ij_yaml_autoinsert_sequence_marker = true
|
||||
ij_yaml_block_mapping_on_new_line = false
|
||||
ij_yaml_indent_sequence_value = true
|
||||
ij_yaml_keep_indents_on_empty_lines = false
|
||||
ij_yaml_keep_line_breaks = true
|
||||
ij_yaml_sequence_on_new_line = false
|
||||
ij_yaml_space_before_colon = false
|
||||
ij_yaml_spaces_within_braces = true
|
||||
ij_yaml_spaces_within_brackets = true
|
38
.env.ci
Normal file
38
.env.ci
Normal file
|
@ -0,0 +1,38 @@
|
|||
APP_NAME=Convoy
|
||||
APP_ENV=local
|
||||
APP_KEY=base64:+5q+lnrWbT8DykRkTZS8JZ+mTU7Efwv35bnTCyff02w=
|
||||
APP_DEBUG=true
|
||||
APP_URL=http://localhost
|
||||
|
||||
LOG_CHANNEL=stack
|
||||
LOG_DEPRECATIONS_CHANNEL=null
|
||||
LOG_LEVEL=debug
|
||||
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=database
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=convoy
|
||||
DB_USERNAME=convoy_user
|
||||
DB_PASSWORD=YzLa2BCBwDGWVkpG
|
||||
|
||||
CACHE_DRIVER=redis
|
||||
FILESYSTEM_DISK=local
|
||||
QUEUE_CONNECTION=redis
|
||||
SESSION_DRIVER=redis
|
||||
SESSION_LIFETIME=525600
|
||||
|
||||
REDIS_HOST=redis
|
||||
REDIS_PASSWORD=YzLa2BCBwDGWVkpG
|
||||
REDIS_PORT=6379
|
||||
|
||||
MAIL_MAILER=smtp
|
||||
MAIL_HOST=mailhog
|
||||
MAIL_PORT=1025
|
||||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=null
|
||||
MAIL_FROM_ADDRESS="hello@example.com"
|
||||
MAIL_FROM_NAME="${APP_NAME}"
|
||||
|
||||
PHP_XDEBUG=false
|
||||
PHP_XDEBUG_MODE='debug'
|
49
.env.example
49
.env.example
|
@ -1,4 +1,4 @@
|
|||
APP_NAME=Laravel
|
||||
APP_NAME=Convoy
|
||||
APP_ENV=local
|
||||
APP_KEY=
|
||||
APP_DEBUG=true
|
||||
|
@ -9,24 +9,20 @@ LOG_DEPRECATIONS_CHANNEL=null
|
|||
LOG_LEVEL=debug
|
||||
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=127.0.0.1
|
||||
DB_HOST=database
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=laravel
|
||||
DB_USERNAME=root
|
||||
DB_DATABASE=convoy
|
||||
DB_USERNAME=convoy_user
|
||||
DB_PASSWORD=
|
||||
DB_ROOT_PASSWORD=
|
||||
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
CACHE_DRIVER=redis
|
||||
FILESYSTEM_DISK=local
|
||||
QUEUE_CONNECTION=sync
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
QUEUE_CONNECTION=redis
|
||||
SESSION_DRIVER=redis
|
||||
SESSION_LIFETIME=525600
|
||||
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_HOST=redis
|
||||
REDIS_PASSWORD=
|
||||
REDIS_PORT=6379
|
||||
|
||||
MAIL_MAILER=smtp
|
||||
|
@ -38,26 +34,5 @@ MAIL_ENCRYPTION=null
|
|||
MAIL_FROM_ADDRESS="hello@example.com"
|
||||
MAIL_FROM_NAME="${APP_NAME}"
|
||||
|
||||
AWS_ACCESS_KEY_ID=
|
||||
AWS_SECRET_ACCESS_KEY=
|
||||
AWS_DEFAULT_REGION=us-east-1
|
||||
AWS_BUCKET=
|
||||
AWS_USE_PATH_STYLE_ENDPOINT=false
|
||||
|
||||
PUSHER_APP_ID=
|
||||
PUSHER_APP_KEY=
|
||||
PUSHER_APP_SECRET=
|
||||
PUSHER_HOST=
|
||||
PUSHER_PORT=443
|
||||
PUSHER_SCHEME=https
|
||||
PUSHER_APP_CLUSTER=mt1
|
||||
|
||||
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
||||
VITE_PUSHER_HOST="${PUSHER_HOST}"
|
||||
VITE_PUSHER_PORT="${PUSHER_PORT}"
|
||||
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
|
||||
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
||||
|
||||
SCOUT_DRIVER=database
|
||||
|
||||
EXTERNAL_SECRET=
|
||||
PHP_XDEBUG=false
|
||||
PHP_XDEBUG_MODE='debug'
|
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
custom: ['https://donate.stripe.com/dR6dRIgbafyIaek000', 'https://console.convoypanel.com']
|
91
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
91
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
Normal file
|
@ -0,0 +1,91 @@
|
|||
name: Bug Report
|
||||
description: Something isn't working quite right in the software.
|
||||
labels: [ bug,not confirmed ]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Bug reports should only be used for reporting issues with how the software works. For assistance installing this software, as well as debugging issues with dependencies, please use our [Discord server](https://discord.convoypanel.com).
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Current Behavior
|
||||
description: Please provide a clear & concise description of the issue.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Expected Behavior
|
||||
description: Please describe what you expected to happen.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Steps to Reproduce
|
||||
description: Please be as detailed as possible when providing steps to reproduce, failure to provide steps will result in this issue being closed.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Screenshots
|
||||
description: If applicable, add screenshots to help explain your problem.
|
||||
|
||||
- type: input
|
||||
attributes:
|
||||
label: Proxmox OS Version
|
||||
description: The version of your Proxmox node
|
||||
placeholder: 7.4-13
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
attributes:
|
||||
label: Operating System
|
||||
description: The OS you are using on your own computer to use Convoy.
|
||||
placeholder: Windows 11 22H2
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
attributes:
|
||||
label: Browser
|
||||
description: Your browser and its version
|
||||
placeholder: e.g. Chrome 69, Firefox 420, Chromium 69, Edge 420
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional Context
|
||||
description: Add any other context about the problem here.
|
||||
|
||||
- type: input
|
||||
id: panel-version
|
||||
attributes:
|
||||
label: Panel Version
|
||||
description: Version number of your Panel (latest is not a version)
|
||||
placeholder: 3.10.0-beta
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: panel-logs
|
||||
attributes:
|
||||
label: Error Logs
|
||||
description: |
|
||||
Check out [this page on our documentation](https://convoypanel.com/docs/project/support.html#collecting-panel-logs) for the log collector utility. You will need to run this on the server
|
||||
hosting your instance of Convoy.
|
||||
placeholder: "https://paste.frocdn.com/"
|
||||
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Is there an existing issue for this?
|
||||
description: Please [search here](https://github.com/convoypanel/panel/issues) to see if an issue already exists for your problem.
|
||||
options:
|
||||
- label: I have searched the existing issues before opening this issue.
|
||||
required: true
|
||||
- label: I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
|
||||
required: true
|
11
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
11
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
blank_issues_enabled: true
|
||||
contact_links:
|
||||
- name: Installation Help
|
||||
url: https://discord.convoypanel.com
|
||||
about: Please visit our Discord for help with your installation.
|
||||
- name: General Question
|
||||
url: https://discord.convoypanel.com
|
||||
about: Please visit our Discord for general questions about Convoy.
|
||||
- name: Documentation
|
||||
url: https://convoypanel.com
|
||||
about: Our documentation may have an answer for your issue/question.
|
30
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
Normal file
30
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
name: Feature Request
|
||||
description: Suggest a new feature or improvement for the software.
|
||||
labels: [enhancement]
|
||||
body:
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Is there an existing feature request for this?
|
||||
description: Please [search here](https://github.com/convoypanel/panel/issues?q=is%3Aissue) to see if someone else has already suggested this.
|
||||
options:
|
||||
- label: I have searched the existing issues before opening this feature request.
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Describe the feature you would like to see.
|
||||
description: "A clear & concise description of the feature you'd like to have added, and what issues it would solve."
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Describe the solution you'd like.
|
||||
description: "You must explain how you'd like to see this feature implemented. Technical implementation details are not necessary, rather an idea of how you'd like to see this feature used."
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional context to this request.
|
||||
description: "Add any other context or screenshots about the feature request."
|
80
.github/workflows/release.yml
vendored
Normal file
80
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,80 @@
|
|||
name: Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Update Embedded Version String
|
||||
env:
|
||||
REF: ${{ github.ref }}
|
||||
run: |
|
||||
sed -i "s/ 'version' => 'canary',/ 'version' => '${REF:11}',/" config/app.php
|
||||
|
||||
- name: Build Assets
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
- name: Create Release Archive
|
||||
run: |
|
||||
# Array of files and directories to remove
|
||||
files_to_remove=(
|
||||
"node_modules/"
|
||||
"tests/"
|
||||
"CODE_OF_CONDUCT.md"
|
||||
"CONTRIBUTOR_LICENSE_AGREEMENT"
|
||||
"crowdin.yml"
|
||||
"docker-compose.ci.yml"
|
||||
"phpstan.neon"
|
||||
"phpunit.xml"
|
||||
"stats.html"
|
||||
)
|
||||
|
||||
# Loop over the files to remove and delete them
|
||||
rm -rf "${files_to_remove[@]}"
|
||||
|
||||
# Array of specific dot files to include
|
||||
files_to_include=(
|
||||
".editorconfig"
|
||||
".env.example"
|
||||
".gitattributes"
|
||||
".gitignore"
|
||||
".prettierignore"
|
||||
".prettierrc.json"
|
||||
)
|
||||
|
||||
# Archive files, using * directly outside the array for proper expansion
|
||||
tar --exclude=panel.tar.gz -czf panel.tar.gz * "${files_to_include[@]}"
|
||||
|
||||
- name: Extract Changelog
|
||||
id: extract_changelog
|
||||
env:
|
||||
REF: ${{ github.ref }}
|
||||
run: |
|
||||
sed -n "/^## ${REF:10}/,/^## /{/^## /b;p}" CHANGELOG.md > ./RELEASE_CHANGELOG
|
||||
echo "version_name=${REF:10}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create Checksum and Add to Changelog
|
||||
run: |
|
||||
SUM=`sha256sum panel.tar.gz`
|
||||
echo -e "\n#### SHA256 Checksum\n\n\`\`\`\n$SUM\n\`\`\`\n" >> ./RELEASE_CHANGELOG
|
||||
echo $SUM > checksum.txt
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: ${{ steps.extract_changelog.outputs.version_name }}
|
||||
body_path: ./RELEASE_CHANGELOG
|
||||
draft: true
|
||||
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'alpha') || contains(github.ref, 'rc') }}
|
||||
files: |
|
||||
panel.tar.gz
|
||||
checksum.txt
|
37
.github/workflows/tests.yml
vendored
Normal file
37
.github/workflows/tests.yml
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
name: Tests
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'develop'
|
||||
- '3.0-develop'
|
||||
pull_request:
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Create environment file
|
||||
run: cp .env.ci .env
|
||||
|
||||
- name: Start Docker Containers
|
||||
run: docker compose -f docker-compose.ci.yml up -d
|
||||
|
||||
- name: Install Composer dependencies
|
||||
run: docker compose -f docker-compose.ci.yml exec workspace composer install --prefer-dist --no-interaction --no-progress
|
||||
|
||||
- name: Install NPM dependencies
|
||||
run: docker compose -f docker-compose.ci.yml exec workspace npm install
|
||||
|
||||
- name: Build frontend assets
|
||||
run: docker compose -f docker-compose.ci.yml exec workspace npm run build
|
||||
|
||||
- name: Run database migrations
|
||||
run: docker compose -f docker-compose.ci.yml exec workspace php artisan migrate
|
||||
|
||||
- name: Run feature tests
|
||||
run: docker compose -f docker-compose.ci.yml exec workspace vendor/bin/pest --bootstrap vendor/autoload.php tests/Feature
|
||||
|
||||
- name: Run unit tests
|
||||
run: docker compose -f docker-compose.ci.yml exec workspace vendor/bin/pest --bootstrap vendor/autoload.php tests/Unit
|
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -14,4 +14,9 @@ yarn-error.log
|
|||
/.idea
|
||||
/.vscode
|
||||
/supervisord.log
|
||||
/supervisord.pid
|
||||
/supervisord.pid
|
||||
_ide_*.php
|
||||
stats.html
|
||||
.fleet
|
||||
lang/php_*.json
|
||||
.phpunit.cache
|
4
.prettierignore
Normal file
4
.prettierignore
Normal file
|
@ -0,0 +1,4 @@
|
|||
.github
|
||||
public
|
||||
node_modules
|
||||
resources/views
|
29
.prettierrc.json
Normal file
29
.prettierrc.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"arrowParens": "avoid",
|
||||
"bracketSameLine": false,
|
||||
"bracketSpacing": true,
|
||||
"embeddedLanguageFormatting": "auto",
|
||||
"htmlWhitespaceSensitivity": "css",
|
||||
"insertPragma": false,
|
||||
"jsxSingleQuote": true,
|
||||
"printWidth": 80,
|
||||
"proseWrap": "preserve",
|
||||
"quoteProps": "consistent",
|
||||
"requirePragma": false,
|
||||
"semi": false,
|
||||
"singleAttributePerLine": false,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5",
|
||||
"useTabs": false,
|
||||
"vueIndentScriptAndStyle": false,
|
||||
"tabWidth": 4,
|
||||
"importOrderSeparation": true,
|
||||
"importOrderSortSpecifiers": true,
|
||||
"importOrder": [
|
||||
"^@/api/(.*)$",
|
||||
"^@/components/elements/(.*)$",
|
||||
"^@/components/(.*)$",
|
||||
"^[./]"
|
||||
],
|
||||
"plugins": ["@trivago/prettier-plugin-sort-imports"]
|
||||
}
|
18
.styleci.yml
18
.styleci.yml
|
@ -1,12 +1,12 @@
|
|||
php:
|
||||
preset: laravel
|
||||
disabled:
|
||||
- no_unused_imports
|
||||
finder:
|
||||
not-name:
|
||||
- index.php
|
||||
preset: laravel
|
||||
disabled:
|
||||
- no_unused_imports
|
||||
finder:
|
||||
not-name:
|
||||
- index.php
|
||||
js:
|
||||
finder:
|
||||
not-name:
|
||||
- vite.config.js
|
||||
finder:
|
||||
not-name:
|
||||
- vite.config.js
|
||||
css: true
|
||||
|
|
29
ACKNOWLEDGEMENTS.md
Normal file
29
ACKNOWLEDGEMENTS.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Acknowledgements
|
||||
|
||||
## tslib
|
||||
|
||||
```
|
||||
/******************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
```
|
||||
|
||||
## fakerphp/faker
|
||||
|
||||
Translations are under the CC-BY-SA-3.0 license.
|
||||
https://github.com/FakerPHP/Faker
|
||||
|
||||
## caniuse-lite
|
||||
|
||||
https://github.com/browserslist/caniuse-lite
|
572
CHANGELOG.md
Normal file
572
CHANGELOG.md
Normal file
|
@ -0,0 +1,572 @@
|
|||
# Changelog
|
||||
|
||||
This file is a running track of new features and fixes to each version of the panel released starting with `v2.0.0`.
|
||||
|
||||
This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||
|
||||
## v4.2.4
|
||||
|
||||
### Changes
|
||||
|
||||
- Fixed a bug where initiating a backup with no compression fails. #87
|
||||
|
||||
## v4.2.3
|
||||
|
||||
### Changes
|
||||
|
||||
- Updated code for applying rate limits to NIC. Convoy will no longer override settings other than ratelimit, NIC
|
||||
model (e.g., e1000, vmxnet3, virtio, etc.), and firewall status.
|
||||
|
||||
#### From v4.2.2-rc.2
|
||||
|
||||
- Fix US keyboard characters validation #80
|
||||
- Fixed a visual bug on the bandwidth usage card where the text wasn't centered.
|
||||
|
||||
#### From v4.2.2-rc.1
|
||||
|
||||
- Fix special character support in environment file.
|
||||
- Added checks in server creation to use unique VMID. #78
|
||||
- Add error messages instead of generic server error messages. #49
|
||||
- Scope route model binding by default to prevent unauthorized access of related resources.
|
||||
- Removed a lot of dead code.
|
||||
- Added more tests (getting closer to full release! 😁😩).
|
||||
|
||||
#### From v4.2.1-rc.1
|
||||
|
||||
- Potential fix for disk resize timeout?
|
||||
|
||||
## v4.2.2-rc.2
|
||||
|
||||
### Changes
|
||||
|
||||
- Fix US keyboard characters validation #80
|
||||
- Fixed a visual bug on the bandwidth usage card where the text wasn't centered.
|
||||
|
||||
## v4.2.2-rc.1
|
||||
|
||||
### Changes
|
||||
|
||||
- Fix special character support in environment file.
|
||||
- Added checks in server creation to use unique VMID. #78
|
||||
- Add error messages instead of generic server error messages. #49
|
||||
- Scope route model binding by default to prevent unauthorized access of related resources.
|
||||
- Removed a lot of dead code.
|
||||
- Added more tests (getting closer to full release! 😁😩).
|
||||
|
||||
## v4.2.1-rc.1
|
||||
|
||||
### Changes
|
||||
|
||||
- Potential fix for disk resize timeout?
|
||||
|
||||
## v4.2.0-beta
|
||||
|
||||
### Changes
|
||||
|
||||
- Added server UUID copy to clipboard button in the admin area server table.
|
||||
- Added ability to toggle TLS verification per node basis.
|
||||
|
||||
## v4.1.0-beta
|
||||
|
||||
### Changes
|
||||
|
||||
- Removed the `DB_ROOT_PASSWORD` variable from the environment file. It is now automatically generated, but we still
|
||||
aren't planning on using it.
|
||||
- Added health checks to the Docker compose configuration to prevent the containers from exploding when its dependencies
|
||||
don't start up in time.
|
||||
|
||||
## v4.0.0-beta
|
||||
|
||||
If you use Convoy for a production or commercial environment/purpose, please subscribe to a
|
||||
license [here](https://console.convoypanel.com). It supports my work, and you are also violating the license agreement
|
||||
if you don't. Your deployment of Convoy may be disabled without warning if you don't adhere to the terms of the license
|
||||
agreement.
|
||||
|
||||
### Changes
|
||||
|
||||
- **BREAKING**: Overhauled the IP address management system to add IP pools that can be shared among nodes. #51
|
||||
- **BREAKING**: Fixed Coterm where it doesn't support multiple nodes #50
|
||||
- Fixed inability to use special characters for Redis password.
|
||||
- Fixed error when trying to parse a vm's disk that has no `size` attribute #48
|
||||
- Fixed typo in the input labels on the node creation modal #42
|
||||
- Fixed the mobile navigation menu where it won't automatically close when you click on a link #41
|
||||
- Added ability to copy node and template IDs #40
|
||||
- Fixed incorrect conversion from mebibytes to bytes of a server's bandwidth limit during manual server creation through
|
||||
the admin area UI #70
|
||||
- Fixed missing SSO token creation endpoint
|
||||
- Fixed bulk importing of IPv6 addresses #66
|
||||
- Fixed inability to create servers with IP addresses.
|
||||
- Fixed minor UI bug where addresses in IPAM won't optimistically update after making a change.
|
||||
- Made the IPAM address table sort by descending.
|
||||
- Removed API request throttling
|
||||
- Increased Coterm session token lifetime from 30 seconds to a minute.
|
||||
- Fixed cloning of VM's to the wrong storage location #64
|
||||
|
||||
## v4.0.0-rc.5
|
||||
|
||||
### Changes
|
||||
|
||||
- Fixed missing SSO token creation endpoint
|
||||
|
||||
## v4.0.0-rc.4
|
||||
|
||||
### Changes
|
||||
|
||||
- Fixed bulk importing of IPv6 addresses #66
|
||||
|
||||
## v4.0.0-rc.3
|
||||
|
||||
### Changes
|
||||
|
||||
- Fixed inability to create servers with IP addresses.
|
||||
- Fixed minor UI bug where addresses in IPAM won't optimistically update after making a change.
|
||||
- Made the IPAM address table sort by descending.
|
||||
|
||||
## v3.10.2-beta
|
||||
|
||||
### Changes
|
||||
|
||||
- Fixed cloning of VM's to the wrong storage location #64
|
||||
|
||||
## v4.0.0-rc.2
|
||||
|
||||
### Changes
|
||||
|
||||
- Removed API request throttling
|
||||
- Increased Coterm session token lifetime from 30 seconds to a minute.
|
||||
- Fixed cloning of VM's to the wrong storage location #64
|
||||
|
||||
## v4.0.0-rc.1
|
||||
|
||||
If you use Convoy for a production or commercial environment/purpose, please subscribe to a
|
||||
license [here](https://console.convoypanel.com). It supports my work, and you are also violating the license agreement
|
||||
if you don't. Your deployment of Convoy may be disabled without warning if you don't adhere to the terms of the license
|
||||
agreement.
|
||||
|
||||
### Changes
|
||||
|
||||
- **BREAKING**: Overhauled the IP address management system to add IP pools that can be shared among nodes. #51
|
||||
- **BREAKING**: Fixed Coterm where it doesn't support multiple nodes #50
|
||||
- Fixed inability to use special characters for Redis password.
|
||||
- Fixed error when trying to parse a vm's disk that has no `size` attribute #48
|
||||
- Fixed typo in the input labels on the node creation modal #42
|
||||
- Fixed the mobile navigation menu where it won't automatically close when you click on a link #41
|
||||
- Added ability to copy node and template IDs #40
|
||||
|
||||
## v3.10.1-beta
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fixed `workspace` image failing to build because PHP Composer hash changed from a recent update.
|
||||
|
||||
## v3.10.0-beta
|
||||
|
||||
### Additions
|
||||
|
||||
- Added ISO imports (thanks A LOTTTT Fro!!!)
|
||||
- Added new logo courtesy of Yatin Manuel from [Halvex Inc.](https://halvex.net/)
|
||||
- This changelog was forgotten, so I will add it now
|
||||
|
||||
### Changes
|
||||
|
||||
- mind-numbing frontend refactorings
|
||||
|
||||
## v3.9.3-beta
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fixed inability to successfully build the `workspace` container because the PHP Docker image recently upgraded from
|
||||
Debian 11 to 12 while Nodesource hasn't added stable support for Debian 12.
|
||||
|
||||
## v3.9.2-beta
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fixed inability to save new password/ssh keys on Client > Server > Settings > Security > Authentication
|
||||
|
||||
## v3.9.1-beta
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fixed coterm fields required when trying to update node information instead of updating Coterm information.
|
||||
|
||||
### Changes
|
||||
|
||||
- Reorganized frontend React Router routes
|
||||
|
||||
## v3.9.0-beta
|
||||
|
||||
The release candidate process for non-beta v3.9.0 was discontinued. Convoy will be keeping its beta status while more
|
||||
improvements to the product are made.
|
||||
|
||||
If you are upgrading from v3.8.1-beta, keep note of these notices:
|
||||
|
||||
- v3.9.0-rc.9: :warning: This release may require you to regenerate your Proxmox API token credentials for each of your
|
||||
nodes with the implementation of encryption of node credentials in Convoy from this point on.
|
||||
- v3.9.0-rc.3: :warning: This release makes changes to the data in your database. Rows that have a non-null `deleted_at`
|
||||
field in
|
||||
your `servers` and `users` table will be purged. If your routine relies on soft deletes, please make changes now to
|
||||
stop
|
||||
relying on them as they are removed in this update.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Servers using IP addresses that they shouldn't have access to.
|
||||
|
||||
### Added
|
||||
|
||||
- Address pools (not in use yet)
|
||||
|
||||
### Changed
|
||||
|
||||
- IPAddress internal naming to Address
|
||||
- SSO to use JWT instead of generating+saving tokens to the database
|
||||
|
||||
## v3.9.0-rc.9
|
||||
|
||||
:warning: This release may require you to regenerate your Proxmox API token credentials for each of your nodes with the
|
||||
implementation of encryption of node credentials in Convoy from this point on.
|
||||
|
||||
### Added
|
||||
|
||||
- Coterm support (DEV PREVIEW)
|
||||
- Encryption for PVE node credentials
|
||||
|
||||
### Fixed
|
||||
|
||||
- Potential security vulnerability allowing unauthorized users to access another user's server
|
||||
|
||||
## v3.9.0-rc.8
|
||||
|
||||
### Fixed
|
||||
|
||||
- Inability to reimport the same IP address across different nodes.
|
||||
|
||||
## v3.9.0-rc.7
|
||||
|
||||
### Fixed
|
||||
|
||||
- Password updating when marked optional in a server import
|
||||
|
||||
## v3.9.0-rc.6
|
||||
|
||||
### Fixed
|
||||
|
||||
- Email max length on the login screen
|
||||
|
||||
## v3.9.0-rc.5
|
||||
|
||||
### Fixed
|
||||
|
||||
- Password setting when rebuilding/creating a new server
|
||||
|
||||
## v3.9.0-rc.4
|
||||
|
||||
### Fixed
|
||||
|
||||
- Browser history hijacking on client server settings page
|
||||
|
||||
## v3.9.0-rc.3
|
||||
|
||||
:warning: This release makes changes to the data in your database. Rows that have a non-null `deleted_at` field in
|
||||
your `servers` and `users` table will be purged. If your routine relies on soft deletes, please make changes now to stop
|
||||
relying on them as they are removed in this update.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Adding both a IPv4 and IPv6 address to a server
|
||||
|
||||
### Added
|
||||
|
||||
- Base code for adding translations/localizations to Convoy
|
||||
|
||||
### Removed
|
||||
|
||||
- Soft deletes from `servers` and `users` table
|
||||
|
||||
### Changes
|
||||
|
||||
- Some automatic refactors done by PHPStorm
|
||||
- Renamed Media to Iso
|
||||
|
||||
## v3.9.0-rc.2
|
||||
|
||||
### Fixed
|
||||
|
||||
- Server reinstallations firing wrong job chain
|
||||
- can sync server usages test
|
||||
- ISO download progress monitor
|
||||
- Backup creation progress monitor
|
||||
|
||||
## v3.9.0-rc.1
|
||||
|
||||
### Added
|
||||
|
||||
- Tests
|
||||
|
||||
### Changed
|
||||
|
||||
- Internal HTTP client from Guzzle to a wrapper of it from Laravel
|
||||
- VM building, deletion, and server deletion logic
|
||||
- This should improve reliability of Convoy tremendously
|
||||
|
||||
## v3.8.1-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Rate limit throttling
|
||||
|
||||
## v3.8.0-beta
|
||||
|
||||
### Changed
|
||||
|
||||
- Made system OS password optional if create server option isn't checked when creating a new server in the administrator
|
||||
area
|
||||
|
||||
## v3.7.5-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- English keyboard characters validation rule in create server modal in the administrator area.
|
||||
|
||||
### Changed
|
||||
|
||||
- Some minor refactoring that changed the namespacings of some files to improve code consistency.
|
||||
|
||||
## v3.7.4-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Server power commands
|
||||
|
||||
## v3.7.3-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Server deletion failing when the virtual machine is running
|
||||
|
||||
## v3.7.2-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Error unmounting media (or ISOs) in the server control panel in the client area
|
||||
|
||||
## v3.7.1-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Server bandwidth statistic not updating #14
|
||||
|
||||
## v3.7.0-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Overallocation check logic whenever an administrator tries to update a server's build #16
|
||||
- Issue where you can't use IPv6 for nameservers
|
||||
|
||||
### Changed
|
||||
|
||||
- Made account_password required by default for creating new servers and server installations
|
||||
- Refactored all settings pages
|
||||
- Refactored menu component to reduce bundle size
|
||||
- Refactored Server Usages and Rate Limit sync for better scaling
|
||||
- Minor frontend styling
|
||||
- Refactored disk data transfer object
|
||||
- All password inputs (except for Convoy user account password) has these two validation rules:
|
||||
1. `/^[A-Za-z0-9!@#$%^&*()_+\-=[\]{}|;\':",.\/<>?\\ ]*$/` for checking if the password contains only characters on
|
||||
the U.S. English keyboard.
|
||||
2. `/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})/` for checking if the password contains 8
|
||||
characters, 1 uppercase, 1 lowercase, 1 number and 1 special character.
|
||||
|
||||
### Added
|
||||
|
||||
- Search bars in the administrator area
|
||||
- Log rotation for Laravel log file
|
||||
- Proxmox user pruning to prune expired temporary NoVNC users
|
||||
|
||||
## v3.6.2-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- IP Addresses being clipped if too long in the UI (x2)
|
||||
- Hostname validation regex in frontend
|
||||
- Viewport glitch when a server name or hostname is too long
|
||||
- Validation rule not catching special characters from other languages for OS password validation
|
||||
|
||||
### Note
|
||||
|
||||
If you are developing automation software for Convoy, please implement these regular expressions in your code.
|
||||
Otherwise, your code will error when you send invalid requests.
|
||||
|
||||
- server `account_password` validation
|
||||
- `/^[A-z0-9!@£$%^&*()\'~*_+\-]+$/` to detect special characters from other language
|
||||
- `/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#\$%\^&\*])(?=.{8,})/u` minimum password requirements
|
||||
- server `hostname` validation
|
||||
- `/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$/`
|
||||
|
||||
## v3.6.1-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- IP Addresses being clipped if too long in the UI
|
||||
- Awkward delete address modal
|
||||
|
||||
## v3.6.0-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- IPv6 addresses wouldn't display in client area settings
|
||||
- Confusing "account password" placeholder when creating a server in the admin area
|
||||
|
||||
### Added
|
||||
|
||||
- Ability to view IP addresses of a server on the dashboard in the client area
|
||||
|
||||
## v3.5.1-beta
|
||||
|
||||
### Added
|
||||
|
||||
- Support for hosting Convoy without a hostname
|
||||
|
||||
### Changed
|
||||
|
||||
- Default redis configuration in .env because some people were getting confused by the documentation
|
||||
|
||||
## v3.5.0-beta
|
||||
|
||||
### Changed
|
||||
|
||||
- Settings layout for client side server settings
|
||||
|
||||
### Fixed
|
||||
|
||||
- possibility that `address_ids` will cause an exception when it's null when creating a new server
|
||||
|
||||
## v3.4.0-beta
|
||||
|
||||
### Changed
|
||||
|
||||
- Refactored routes
|
||||
|
||||
### Added
|
||||
|
||||
- Navigation Bar Context. Now switching pages are even more seamless
|
||||
|
||||
## v3.3.0-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Lack of cancel button when deleting an API key
|
||||
|
||||
### Added
|
||||
|
||||
- Ability for administrators to impersonate the client view for a server and also visit the server's configuration in
|
||||
the admin area.
|
||||
- Warnings when creating a new node to disable privilege separation and grant root permissions.
|
||||
|
||||
## v3.2.0-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Broken network syncing when updating an address's assigned server
|
||||
- Text alignment for server counter on the users table in the admin area
|
||||
|
||||
### Added
|
||||
|
||||
- Hyperlinks to the owner on the servers table
|
||||
|
||||
## v3.1.2-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Scoped routing bindings in RouteServiceProvider that were breaking some routes
|
||||
|
||||
## v3.1.1-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Conflicting named routes that would break route optimization/caching
|
||||
|
||||
## v3.1.0-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- IP Address updating
|
||||
- Server build updating
|
||||
|
||||
### Removed
|
||||
|
||||
- Option to sync or not sync network settings when deleting an IP address
|
||||
- The default behavior is always to sync
|
||||
|
||||
## v3.0.0-beta (Tuxedo)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Server installs
|
||||
- a bunch of other stuff
|
||||
|
||||
### Changed
|
||||
|
||||
- from proprietary hard-coded api tokens to Bearer tokens for the application/external api
|
||||
- the whole entire frontend
|
||||
|
||||
### Added
|
||||
|
||||
- Server hostnames
|
||||
- Node location grouping
|
||||
|
||||
### Notes
|
||||
|
||||
- This release is so big that I can't really summarize everything
|
||||
|
||||

|
||||
|
||||
## v2.0.3-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Inability to delete IP address from the admin user interface
|
||||
|
||||
## v2.0.2-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- FQDN validator for the hostname field when adding a new node
|
||||
|
||||
## v2.0.1-beta
|
||||
|
||||
### Fixed
|
||||
|
||||
- Problem where validation errors for the SSH key wouldn't show up
|
||||
- Bug where user couldn't unset a SSH key after saving one
|
||||
|
||||
## v2.0.0-beta (Bombay)
|
||||
|
||||
### Added
|
||||
|
||||
- Storing of CPU, memory, disk, snapshots, backups, and bandwidth limits
|
||||
- Added server suspensions
|
||||
- Added real-time status updates of server installs (though it will be deprecated in v3.x.x)
|
||||
- Automatic bandwidth throttler when a user exceeds the bandwidth limit
|
||||
|
||||
### Changed
|
||||
|
||||
- Internally, server details are now passed around the application using Laravel Data by Spatie. Though in v3.x.x, we
|
||||
are planning on switching to Data Transfer Objects by Spatie. We pulled the wrong package and didn't realize until one
|
||||
month in using the package LOL.
|
||||
- Virtual machines are now limited to one disk. Multiple disks may be supported when a daemon is available in the
|
||||
future.
|
||||
- The built-in web server is now Caddy instead of Nginx. This provides auto SSL out of the box.
|
||||
|
||||
### Fixed
|
||||
|
||||
- The commands in the node viewing page for installing the VNC Broker and templates.
|
||||
|
||||
### Known Bugs
|
||||
|
||||
- The real-time server installation communication is known to be buggy and will be resolved in v3.x.x
|
||||
- Editing the server field for IP Addresses will sometime result in the first server of the node to be used. This will
|
||||
be resolved in v3.x.x
|
||||
|
||||

|
128
CODE_OF_CONDUCT.md
Normal file
128
CODE_OF_CONDUCT.md
Normal file
|
@ -0,0 +1,128 @@
|
|||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
We as members, contributors, and leaders pledge to make participation in our
|
||||
community a harassment-free experience for everyone, regardless of age, body
|
||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||
identity and expression, level of experience, education, socio-economic status,
|
||||
nationality, personal appearance, race, religion, or sexual identity
|
||||
and orientation.
|
||||
|
||||
We pledge to act and interact in ways that contribute to an open, welcoming,
|
||||
diverse, inclusive, and healthy community.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to a positive environment for our
|
||||
community include:
|
||||
|
||||
* Demonstrating empathy and kindness toward other people
|
||||
* Being respectful of differing opinions, viewpoints, and experiences
|
||||
* Giving and gracefully accepting constructive feedback
|
||||
* Accepting responsibility and apologizing to those affected by our mistakes,
|
||||
and learning from the experience
|
||||
* Focusing on what is best not just for us as individuals, but for the
|
||||
overall community
|
||||
|
||||
Examples of unacceptable behavior include:
|
||||
|
||||
* The use of sexualized language or imagery, and sexual attention or
|
||||
advances of any kind
|
||||
* Trolling, insulting or derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or email
|
||||
address, without their explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Enforcement Responsibilities
|
||||
|
||||
Community leaders are responsible for clarifying and enforcing our standards of
|
||||
acceptable behavior and will take appropriate and fair corrective action in
|
||||
response to any behavior that they deem inappropriate, threatening, offensive,
|
||||
or harmful.
|
||||
|
||||
Community leaders have the right and responsibility to remove, edit, or reject
|
||||
comments, commits, code, wiki edits, issues, and other contributions that are
|
||||
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
||||
decisions when appropriate.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies within all community spaces, and also applies when
|
||||
an individual is officially representing the community in public spaces.
|
||||
Examples of representing our community include using an official e-mail address,
|
||||
posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported to the community leaders responsible for enforcement at
|
||||
eric@performave.com.
|
||||
All complaints will be reviewed and investigated promptly and fairly.
|
||||
|
||||
All community leaders are obligated to respect the privacy and security of the
|
||||
reporter of any incident.
|
||||
|
||||
## Enforcement Guidelines
|
||||
|
||||
Community leaders will follow these Community Impact Guidelines in determining
|
||||
the consequences for any action they deem in violation of this Code of Conduct:
|
||||
|
||||
### 1. Correction
|
||||
|
||||
**Community Impact**: Use of inappropriate language or other behavior deemed
|
||||
unprofessional or unwelcome in the community.
|
||||
|
||||
**Consequence**: A private, written warning from community leaders, providing
|
||||
clarity around the nature of the violation and an explanation of why the
|
||||
behavior was inappropriate. A public apology may be requested.
|
||||
|
||||
### 2. Warning
|
||||
|
||||
**Community Impact**: A violation through a single incident or series
|
||||
of actions.
|
||||
|
||||
**Consequence**: A warning with consequences for continued behavior. No
|
||||
interaction with the people involved, including unsolicited interaction with
|
||||
those enforcing the Code of Conduct, for a specified period of time. This
|
||||
includes avoiding interactions in community spaces as well as external channels
|
||||
like social media. Violating these terms may lead to a temporary or
|
||||
permanent ban.
|
||||
|
||||
### 3. Temporary Ban
|
||||
|
||||
**Community Impact**: A serious violation of community standards, including
|
||||
sustained inappropriate behavior.
|
||||
|
||||
**Consequence**: A temporary ban from any sort of interaction or public
|
||||
communication with the community for a specified period of time. No public or
|
||||
private interaction with the people involved, including unsolicited interaction
|
||||
with those enforcing the Code of Conduct, is allowed during this period.
|
||||
Violating these terms may lead to a permanent ban.
|
||||
|
||||
### 4. Permanent Ban
|
||||
|
||||
**Community Impact**: Demonstrating a pattern of violation of community
|
||||
standards, including sustained inappropriate behavior, harassment of an
|
||||
individual, or aggression toward or disparagement of classes of individuals.
|
||||
|
||||
**Consequence**: A permanent ban from any sort of public interaction within
|
||||
the community.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
||||
version 2.0, available at
|
||||
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
||||
|
||||
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
||||
enforcement ladder](https://github.com/mozilla/diversity).
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see the FAQ at
|
||||
https://www.contributor-covenant.org/faq. Translations are available at
|
||||
https://www.contributor-covenant.org/translations.
|
66
CONTRIBUTOR_LICENSE_AGREEMENT
Normal file
66
CONTRIBUTOR_LICENSE_AGREEMENT
Normal file
|
@ -0,0 +1,66 @@
|
|||
### Performave Individual Contributor License Agreement
|
||||
|
||||
Thank you for your interest in contributing to open source software projects (“Projects”) made available by Performave or its affiliates (“Performave”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Performave in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact eric@performave.com.
|
||||
|
||||
|
||||
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
|
||||
|
||||
|
||||
**Copyright License.** You hereby grant, and agree to grant, to Performave a non-exclusive, perpetual, irrevocable, worldwide, fully-paid, royalty-free, transferable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute your Contributions and such derivative works, with the right to sublicense the foregoing rights through multiple tiers of sublicensees.
|
||||
|
||||
|
||||
**Patent License.** You hereby grant, and agree to grant, to Performave a non-exclusive, perpetual, irrevocable,
|
||||
worldwide, fully-paid, royalty-free, transferable patent license to make, have made, use, offer to sell, sell,
|
||||
import, and otherwise transfer your Contributions, where such license applies only to those patent claims
|
||||
licensable by you that are necessarily infringed by your Contributions alone or by combination of your
|
||||
Contributions with the Project to which such Contributions were submitted, with the right to sublicense the
|
||||
foregoing rights through multiple tiers of sublicensees.
|
||||
|
||||
|
||||
**Moral Rights.** To the fullest extent permitted under applicable law, you hereby waive, and agree not to
|
||||
assert, all of your “moral rights” in or relating to your Contributions for the benefit of Performave, its assigns, and
|
||||
their respective direct and indirect sublicensees.
|
||||
|
||||
|
||||
**Third Party Content/Rights.** If your Contribution includes or is based on any source code, object code, bug
|
||||
fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or
|
||||
other works of authorship that were not authored by you (“Third Party Content”) or if you are aware of any
|
||||
third party intellectual property or proprietary rights associated with your Contribution (“Third Party Rights”),
|
||||
then you agree to include with the submission of your Contribution full details respecting such Third Party
|
||||
Content and Third Party Rights, including, without limitation, identification of which aspects of your
|
||||
Contribution contain Third Party Content or are associated with Third Party Rights, the owner/author of the
|
||||
Third Party Content and Third Party Rights, where you obtained the Third Party Content, and any applicable
|
||||
third party license terms or restrictions respecting the Third Party Content and Third Party Rights. For greater
|
||||
certainty, the foregoing obligations respecting the identification of Third Party Content and Third Party Rights
|
||||
do not apply to any portion of a Project that is incorporated into your Contribution to that same Project.
|
||||
|
||||
|
||||
**Representations.** You represent that, other than the Third Party Content and Third Party Rights identified by
|
||||
you in accordance with this Agreement, you are the sole author of your Contributions and are legally entitled
|
||||
to grant the foregoing licenses and waivers in respect of your Contributions. If your Contributions were
|
||||
created in the course of your employment with your past or present employer(s), you represent that such
|
||||
employer(s) has authorized you to make your Contributions on behalf of such employer(s) or such employer
|
||||
(s) has waived all of their right, title or interest in or to your Contributions.
|
||||
|
||||
|
||||
**Disclaimer.** To the fullest extent permitted under applicable law, your Contributions are provided on an "asis"
|
||||
basis, without any warranties or conditions, express or implied, including, without limitation, any implied
|
||||
warranties or conditions of non-infringement, merchantability or fitness for a particular purpose. You are not
|
||||
required to provide support for your Contributions, except to the extent you desire to provide support.
|
||||
|
||||
|
||||
**No Obligation.** You acknowledge that Performave is under no obligation to use or incorporate your Contributions
|
||||
into any of the Projects. The decision to use or incorporate your Contributions into any of the Projects will be
|
||||
made at the sole discretion of Performave or its authorized delegates.
|
||||
|
||||
|
||||
**Disputes.** This Agreement shall be governed by and construed in accordance with the laws of the State of
|
||||
Oklahoma, United States of America, without giving effect to its principles or rules regarding conflicts of laws,
|
||||
other than such principles directing application of Oklahoma law. The parties hereby submit to venue in, and
|
||||
jurisdiction of the courts located in Oklahoma, Oklahoma for purposes relating to this Agreement. In the event
|
||||
that any of the provisions of this Agreement shall be held by a court or other tribunal of competent jurisdiction
|
||||
to be unenforceable, the remaining portions hereof shall remain in full force and effect.
|
||||
|
||||
|
||||
**Assignment.** You agree that Performave may assign this Agreement, and all of its rights, obligations and licenses
|
||||
hereunder.
|
180
LICENSE
180
LICENSE
|
@ -1,180 +0,0 @@
|
|||
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
Version 3, 19 November 2007
|
||||
|
||||
Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.
|
||||
|
||||
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
|
||||
|
||||
Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software.
|
||||
|
||||
A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public.
|
||||
|
||||
The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version.
|
||||
|
||||
An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
0. Definitions.
|
||||
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
|
||||
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices".
|
||||
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
|
||||
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
|
||||
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
|
||||
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
|
||||
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
|
||||
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
|
||||
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
|
||||
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
|
||||
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
|
||||
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
|
||||
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
|
||||
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
|
||||
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
|
||||
All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Remote Network Interaction; Use with the GNU General Public License.
|
||||
Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph.
|
||||
|
||||
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
|
124
LICENSE.md
Normal file
124
LICENSE.md
Normal file
|
@ -0,0 +1,124 @@
|
|||
# Convoy Software End User License Agreement (EULA)
|
||||
|
||||
**Effective Date:** March 3th, 2024
|
||||
|
||||
**Last Updated:** March 13th, 2024
|
||||
|
||||
**License Grantor:** Performave
|
||||
|
||||
## 1. Acceptance of Terms
|
||||
|
||||
By installing, copying, downloading, accessing, or otherwise using the Convoy Panel software ("Software"), you agree to
|
||||
be bound by the terms of this End User License Agreement ("EULA"). If you do not agree to the terms of this EULA, do not
|
||||
install or use the Software.
|
||||
|
||||
## 2. License Grant
|
||||
|
||||
### 2.1 Personal Use License
|
||||
|
||||
Performave grants you a non-exclusive, non-transferable, free license to download, install, and use the Software for
|
||||
personal, non-commercial purposes, provided that you comply with all the terms and conditions of this EULA.
|
||||
|
||||
### 2.2 Enterprise License
|
||||
|
||||
If you wish to use the Software for commercial purposes, including but not limited to production environments, business
|
||||
operations, or any activity intended for profit, you must subscribe to an Enterprise License. The Enterprise License is
|
||||
subscription-based, and the fees are based on the number of nodes on which the Software is used. The specific terms,
|
||||
including the fee structure and the number of nodes allowed, will be determined at the time of the subscription. Each
|
||||
license permits the use of the Software on the number of nodes paid for and is non-transferable.
|
||||
|
||||
### 2.3 Non-Profit Organization License
|
||||
|
||||
Non-profit organizations, upon providing proof of 501(c)(3) registration or its equivalent, are granted a non-exclusive,
|
||||
non-transferable license to use the Software for free. The Software may be used for the organization's operational
|
||||
purposes, subject to the terms and conditions of this EULA.
|
||||
|
||||
### 2.4 Partnership Licenses
|
||||
|
||||
Licenses obtained through partnerships or negotiations with Performave are valid as per the agreements made during such
|
||||
negotiations. These licenses are subject to the specific terms agreed upon and must also adhere to the general terms and
|
||||
conditions of this EULA.
|
||||
|
||||
### 2.5 Insider License
|
||||
|
||||
Performave may grant an Insider License to individuals recruited specifically for testing new versions or features of
|
||||
the Software. This license includes a waiver of fees associated with the use of the Software during the testing period.
|
||||
Testers are expected to be available to test the Software as required and provide feedback to Performave. Performave
|
||||
reserves the right to revoke this license at any time at its discretion, including for lack of participation or if the
|
||||
tester's needs no longer align with the testing program's objectives.
|
||||
|
||||
## 3. Legal Use Requirement
|
||||
|
||||
You agree to use the Software only for lawful purposes and in compliance with all applicable laws and regulations. Any
|
||||
use of the Software for illegal or criminal activities is strictly prohibited. Performave reserves the right to
|
||||
terminate your license if you engage in any illegal conduct with the Software. In the event of such termination,
|
||||
Performave isn't obligated to refund any transactions.
|
||||
|
||||
## 4. Restrictions
|
||||
|
||||
The following restrictions apply to your use of the Software, but these are not all-inclusive. Additional restrictions
|
||||
may also apply as outlined elsewhere in this EULA or as otherwise determined by Performave:
|
||||
|
||||
- You may not modify the Software in a manner that interferes with its licensing mechanism or changes its copyright
|
||||
information without making substantial other modifications.
|
||||
- You are permitted to modify the Software for your personal or enterprise use to tailor it to your needs, provided such
|
||||
modifications do not violate the restrictions stated in this EULA.
|
||||
- You may not distribute or sublicense modified versions of the Software that violate the terms of this EULA.
|
||||
- You may not use the Software in any manner that could damage, disable, overburden, or impair any Performave server, or
|
||||
the network(s) connected to any Performave server, or interfere with any other party's use and enjoyment of the
|
||||
Software.
|
||||
|
||||
### 4.1 Additional Licensing Terms for Modifications and Contributions
|
||||
|
||||
Any modifications, enhancements, derivative works of the Software, or any code from the Software that is incorporated into other works by you or any third party are considered part of the Software and subject to the terms and conditions of this EULA. Such modifications, derivative works, or incorporated code must be offered under the same terms and conditions as those set forth in this EULA, including any provisions regarding distribution and sublicensing. You may not alter the terms of this EULA or sublicense any modifications, derivative works, or incorporated code under terms that differ from those specified in this EULA.
|
||||
|
||||
## 5. License Enforcement and Digital Rights Management
|
||||
|
||||
Performave employs various measures, including Digital Rights Management (DRM), to enforce the terms of this EULA and prevent unauthorized use of the Software. These measures may include, but are not limited to, remotely disabling access to the Software or specific features of the Software for users who are found to be in violation of this EULA. By using the Software, you acknowledge and agree that Performave may, at its sole discretion, implement such measures.
|
||||
|
||||
You further agree that Performave shall not be responsible or liable for any loss, damage, or inconvenience you may suffer as a result of such actions taken to enforce this EULA. Your rights under this EULA may be subject to termination and denial of access to the Software without notice if any form of tampering with or circumvention of the DRM or other license enforcement mechanisms is detected.
|
||||
|
||||
This section is designed to inform users of the license enforcement practices and to legally protect Performave from liability for actions taken in good faith to protect its intellectual property rights.
|
||||
|
||||
## 6. Intellectual Property Rights
|
||||
|
||||
The Software is protected by intellectual property laws and treaties. Performave or its suppliers own all title,
|
||||
copyright, and interest in and to the Software, including any intellectual property rights therein. This EULA grants you
|
||||
no rights to use such content. All rights not expressly granted are reserved by Performave.
|
||||
|
||||
## 7. Termination
|
||||
|
||||
This EULA is effective until terminated. Your rights under this EULA will terminate automatically without notice from
|
||||
Performave if you fail to comply with any term(s) of this EULA. Upon termination, you shall cease all use of the
|
||||
Software and destroy all copies, full or partial, of the Software.
|
||||
|
||||
## 8. Disclaimer of Warranty
|
||||
|
||||
The Software is provided "AS IS," with all faults, without warranty of any kind, and Performave hereby disclaims all
|
||||
warranties and conditions with respect to the Software, either express, implied, or statutory, including, but not
|
||||
limited to, the implied warranties and/or conditions of merchantability, of satisfactory quality, of fitness for a
|
||||
particular purpose, of accuracy, of quiet enjoyment, and non-infringement of third-party rights.
|
||||
|
||||
## 9. Limitation of Liability
|
||||
|
||||
In no event shall Performave be liable for any indirect, incidental, special, consequential, or punitive damages
|
||||
whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business
|
||||
information, or any other pecuniary loss) arising out of the use of or inability to use the Software, even if Performave
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
## 10. Governing Law
|
||||
|
||||
This EULA shall be governed by the laws of the jurisdiction in which Performave is located, without reference to
|
||||
conflict of laws principles.
|
||||
|
||||
## 11. Entire Agreement
|
||||
|
||||
This EULA constitutes the entire agreement between you and Performave relating to the Software and supersedes all prior
|
||||
or contemporaneous oral or written communications, proposals, and representations with respect to the Software or any
|
||||
other subject matter covered by this EULA.
|
||||
|
||||
## 12. Amendment
|
||||
|
||||
Performave reserves the right to amend this EULA at any time, at its sole discretion, by posting an updated version to
|
||||
its website or through the Software. Your continued use of the Software following the posting of an updated EULA will
|
||||
mean that you accept those changes.
|
31
README.md
31
README.md
|
@ -1 +1,30 @@
|
|||
Documentation can be found here: https://docs.convoypanel.com
|
||||

|
||||
|
||||
|
||||

|
||||

|
||||

|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2FConvoyPanel%2Fpanel?ref=badge_shield)
|
||||
|
||||
# Convoy
|
||||
|
||||
Convoy is a modern and performant KVM server management panel for hosting businesses. It's built with PHP and React and proven technology like Proxmox, making it easier to drop Convoy in an existing system.
|
||||
|
||||
Stop paying hundreds of dollars for unreliable and slow software. Subscribe to a license to use Convoy today for $6/node/mo
|
||||
|
||||

|
||||
|
||||
## Documentation
|
||||
|
||||
- [Panel Documentation](https://docs.convoypanel.com)
|
||||
- [Discord Community](https://discord.convoypanel.com)
|
||||
|
||||
## Acknowledgements
|
||||
|
||||
Please [visit this page](https://convoypanel.com/docs/project/about.html#acknowledgements) on our website to view acknowledgements.
|
||||
|
||||
## License
|
||||
|
||||
Convoy is licensed under our own proprietary license.
|
||||
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2FConvoyPanel%2Fpanel?ref=badge_large)
|
||||
|
|
35
app/Actions/Fortify/CreateNewUser.php
Normal file
35
app/Actions/Fortify/CreateNewUser.php
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Actions\Fortify;
|
||||
|
||||
use Convoy\Models\User;
|
||||
use Illuminate\Validation\Rule;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Laravel\Fortify\Contracts\CreatesNewUsers;
|
||||
|
||||
class CreateNewUser implements CreatesNewUsers
|
||||
{
|
||||
use PasswordValidationRules;
|
||||
|
||||
public function create(array $input): User
|
||||
{
|
||||
Validator::make($input, [
|
||||
'name' => ['required', 'string', 'max:255'],
|
||||
'email' => [
|
||||
'required',
|
||||
'string',
|
||||
'email',
|
||||
'max:255',
|
||||
Rule::unique(User::class),
|
||||
],
|
||||
'password' => $this->passwordRules(),
|
||||
])->validate();
|
||||
|
||||
return User::create([
|
||||
'name' => $input['name'],
|
||||
'email' => $input['email'],
|
||||
'password' => Hash::make($input['password']),
|
||||
]);
|
||||
}
|
||||
}
|
16
app/Actions/Fortify/PasswordValidationRules.php
Normal file
16
app/Actions/Fortify/PasswordValidationRules.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Actions\Fortify;
|
||||
|
||||
use Laravel\Fortify\Rules\Password;
|
||||
|
||||
trait PasswordValidationRules
|
||||
{
|
||||
/**
|
||||
* Get the validation rules used to validate passwords.
|
||||
*/
|
||||
protected function passwordRules(): array
|
||||
{
|
||||
return ['required', 'string', new Password, 'confirmed'];
|
||||
}
|
||||
}
|
28
app/Actions/Fortify/ResetUserPassword.php
Normal file
28
app/Actions/Fortify/ResetUserPassword.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Actions\Fortify;
|
||||
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Laravel\Fortify\Contracts\ResetsUserPasswords;
|
||||
|
||||
class ResetUserPassword implements ResetsUserPasswords
|
||||
{
|
||||
use PasswordValidationRules;
|
||||
|
||||
/**
|
||||
* Validate and reset the user's forgotten password.
|
||||
*
|
||||
* @param mixed $user
|
||||
*/
|
||||
public function reset($user, array $input): void
|
||||
{
|
||||
Validator::make($input, [
|
||||
'password' => $this->passwordRules(),
|
||||
])->validate();
|
||||
|
||||
$user->forceFill([
|
||||
'password' => Hash::make($input['password']),
|
||||
])->save();
|
||||
}
|
||||
}
|
31
app/Actions/Fortify/UpdateUserPassword.php
Normal file
31
app/Actions/Fortify/UpdateUserPassword.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Actions\Fortify;
|
||||
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Laravel\Fortify\Contracts\UpdatesUserPasswords;
|
||||
|
||||
class UpdateUserPassword implements UpdatesUserPasswords
|
||||
{
|
||||
use PasswordValidationRules;
|
||||
|
||||
/**
|
||||
* Validate and update the user's password.
|
||||
*
|
||||
* @param mixed $user
|
||||
*/
|
||||
public function update($user, array $input): void
|
||||
{
|
||||
Validator::make($input, [
|
||||
'current_password' => ['required', 'string', 'current_password:web'],
|
||||
'password' => $this->passwordRules(),
|
||||
], [
|
||||
'current_password.current_password' => __('The provided password does not match your current password.'),
|
||||
])->validateWithBag('updatePassword');
|
||||
|
||||
$user->forceFill([
|
||||
'password' => Hash::make($input['password']),
|
||||
])->save();
|
||||
}
|
||||
}
|
57
app/Actions/Fortify/UpdateUserProfileInformation.php
Normal file
57
app/Actions/Fortify/UpdateUserProfileInformation.php
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Actions\Fortify;
|
||||
|
||||
use Illuminate\Validation\Rule;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Illuminate\Contracts\Auth\MustVerifyEmail;
|
||||
use Laravel\Fortify\Contracts\UpdatesUserProfileInformation;
|
||||
|
||||
class UpdateUserProfileInformation implements UpdatesUserProfileInformation
|
||||
{
|
||||
/**
|
||||
* Validate and update the given user's profile information.
|
||||
*
|
||||
* @param mixed $user
|
||||
*/
|
||||
public function update($user, array $input): void
|
||||
{
|
||||
Validator::make($input, [
|
||||
'name' => ['required', 'string', 'max:255'],
|
||||
|
||||
'email' => [
|
||||
'required',
|
||||
'string',
|
||||
'email',
|
||||
'max:255',
|
||||
Rule::unique('users')->ignore($user->id),
|
||||
],
|
||||
])->validateWithBag('updateProfileInformation');
|
||||
|
||||
if ($input['email'] !== $user->email &&
|
||||
$user instanceof MustVerifyEmail) {
|
||||
$this->updateVerifiedUser($user, $input);
|
||||
} else {
|
||||
$user->forceFill([
|
||||
'name' => $input['name'],
|
||||
'email' => $input['email'],
|
||||
])->save();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the given verified user's profile information.
|
||||
*
|
||||
* @param mixed $user
|
||||
*/
|
||||
protected function updateVerifiedUser($user, array $input): void
|
||||
{
|
||||
$user->forceFill([
|
||||
'name' => $input['name'],
|
||||
'email' => $input['email'],
|
||||
'email_verified_at' => null,
|
||||
])->save();
|
||||
|
||||
$user->sendEmailVerificationNotification();
|
||||
}
|
||||
}
|
25
app/Casts/MebibytesToAndFromBytes.php
Normal file
25
app/Casts/MebibytesToAndFromBytes.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Casts;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
|
||||
|
||||
class MebibytesToAndFromBytes implements CastsAttributes
|
||||
{
|
||||
/**
|
||||
* Cast the given value.
|
||||
*/
|
||||
public function get(Model $model, string $key, mixed $value, array $attributes): ?int
|
||||
{
|
||||
return !is_null($value) ? $value * 1048576 : $value; // Convert from megabytes to bytes
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare the given value for storage.
|
||||
*/
|
||||
public function set(Model $model, string $key, mixed $value, array $attributes): ?int
|
||||
{
|
||||
return !is_null($value) ? intval(floor($value / 1048576)) : $value; // Convert from bytes to megabytes to prevent overflow
|
||||
}
|
||||
}
|
30
app/Casts/NullableEncrypter.php
Normal file
30
app/Casts/NullableEncrypter.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Casts;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Contracts\Encryption\Encrypter;
|
||||
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
|
||||
|
||||
class NullableEncrypter implements CastsAttributes
|
||||
{
|
||||
/**
|
||||
* Cast the given value.
|
||||
*
|
||||
* @param array<string, mixed> $attributes
|
||||
*/
|
||||
public function get(Model $model, string $key, mixed $value, array $attributes): ?string
|
||||
{
|
||||
return !empty($value) ? app(Encrypter::class)->decrypt($value) : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare the given value for storage.
|
||||
*
|
||||
* @param array<string, mixed> $attributes
|
||||
*/
|
||||
public function set(Model $model, string $key, mixed $value, array $attributes): ?string
|
||||
{
|
||||
return !empty($value) ? app(Encrypter::class)->encrypt($value) : null;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Console\Commands\Maintenance;
|
||||
|
||||
use Carbon\CarbonImmutable;
|
||||
use InvalidArgumentException;
|
||||
use Illuminate\Console\Command;
|
||||
use Convoy\Repositories\Eloquent\BackupRepository;
|
||||
|
||||
class PruneOrphanedBackupsCommand extends Command
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'c:maintenance:prune-backups {--prune-age=}';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Marks all backups that have not completed in the last "n" minutes as being failed.';
|
||||
|
||||
public function handle(BackupRepository $repository): void
|
||||
{
|
||||
$since = $this->option('prune-age') ?? config('backups.prune_age', 360);
|
||||
if (! $since || ! is_int($since)) {
|
||||
throw new InvalidArgumentException('The "--prune-age" argument must be a value greater than 0.');
|
||||
}
|
||||
|
||||
$query = $repository->getBuilder()
|
||||
->whereNull('completed_at')
|
||||
->where('created_at', '<=', CarbonImmutable::now()->subMinutes($since)->toDateTimeString());
|
||||
|
||||
$count = $query->count();
|
||||
if (! $count) {
|
||||
$this->info('There are no orphaned backups to be marked as failed.');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
$this->warn("Marking {$count} backups that have not been marked as completed in the last {$since} minutes as failed.");
|
||||
|
||||
$query->update([
|
||||
'is_successful' => false,
|
||||
'completed_at' => CarbonImmutable::now(),
|
||||
'updated_at' => CarbonImmutable::now(),
|
||||
]);
|
||||
}
|
||||
}
|
43
app/Console/Commands/Maintenance/PruneUsersCommand.php
Normal file
43
app/Console/Commands/Maintenance/PruneUsersCommand.php
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Console\Commands\Maintenance;
|
||||
|
||||
use Convoy\Models\Node;
|
||||
use Illuminate\Console\Command;
|
||||
use Convoy\Jobs\Node\PruneUsersJob;
|
||||
use Illuminate\Console\View\Components\Task;
|
||||
|
||||
class PruneUsersCommand extends Command
|
||||
{
|
||||
/**
|
||||
* The name and signature of the console command.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'c:maintenance:prune-users';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Prunes all users on all nodes that have expired.';
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*/
|
||||
public function handle(): int
|
||||
{
|
||||
$this->info('Queuing user prune request.');
|
||||
|
||||
$nodes = Node::all();
|
||||
|
||||
$nodes->each(function (Node $node) {
|
||||
(new Task($this->output))->render("Node {$node->fqdn}", function () use ($node) {
|
||||
PruneUsersJob::dispatch($node->id);
|
||||
});
|
||||
});
|
||||
|
||||
return Command::SUCCESS;
|
||||
}
|
||||
}
|
31
app/Console/Commands/Server/ResetUsagesCommand.php
Normal file
31
app/Console/Commands/Server/ResetUsagesCommand.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Console\Commands\Server;
|
||||
|
||||
use Convoy\Models\Server;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class ResetUsagesCommand extends Command
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Reset the bandwidth usage of all servers on the first of each month.';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'c:server:reset-usages';
|
||||
|
||||
/**
|
||||
* Handle command execution.
|
||||
*/
|
||||
public function handle(): void
|
||||
{
|
||||
if (date('d') === '01') {
|
||||
Server::query()->update([
|
||||
'bandwidth_usage' => 0,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
39
app/Console/Commands/Server/UpdateRateLimitsCommand.php
Normal file
39
app/Console/Commands/Server/UpdateRateLimitsCommand.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Console\Commands\Server;
|
||||
|
||||
use Convoy\Models\Node;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Console\View\Components\Task;
|
||||
use Convoy\Jobs\Node\SyncServerRateLimitsJob;
|
||||
|
||||
class UpdateRateLimitsCommand extends Command
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Sync the network rate limits of all servers.';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'c:servers:sync-rate-limits';
|
||||
|
||||
/**
|
||||
* Handle command execution.
|
||||
*/
|
||||
public function handle(): int
|
||||
{
|
||||
$this->info('Queuing rate limits sync request.');
|
||||
|
||||
$nodes = Node::all();
|
||||
|
||||
$nodes->each(function (Node $node) {
|
||||
(new Task($this->output))->render("Node {$node->fqdn}", function () use ($node) {
|
||||
SyncServerRateLimitsJob::dispatch($node->id);
|
||||
});
|
||||
});
|
||||
|
||||
return Command::SUCCESS;
|
||||
}
|
||||
}
|
39
app/Console/Commands/Server/UpdateUsagesCommand.php
Normal file
39
app/Console/Commands/Server/UpdateUsagesCommand.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Console\Commands\Server;
|
||||
|
||||
use Convoy\Models\Node;
|
||||
use Illuminate\Console\Command;
|
||||
use Convoy\Jobs\Node\SyncServerUsagesJob;
|
||||
use Illuminate\Console\View\Components\Task;
|
||||
|
||||
class UpdateUsagesCommand extends Command
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Sync the usages of all the servers.';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'c:servers:sync-usages';
|
||||
|
||||
/**
|
||||
* Handle command execution.
|
||||
*/
|
||||
public function handle(): int
|
||||
{
|
||||
$this->info('Queuing usage sync.');
|
||||
|
||||
$nodes = Node::all();
|
||||
|
||||
$nodes->each(function (Node $node) {
|
||||
(new Task($this->output))->render("Node {$node->fqdn}", function () use ($node) {
|
||||
SyncServerUsagesJob::dispatch($node->id);
|
||||
});
|
||||
});
|
||||
|
||||
return Command::SUCCESS;
|
||||
}
|
||||
}
|
67
app/Console/Commands/User/MakeUserCommand.php
Normal file
67
app/Console/Commands/User/MakeUserCommand.php
Normal file
|
@ -0,0 +1,67 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
Pterodactyl®
|
||||
Copyright © Dane Everitt <dane@daneeveritt.com> and contributors
|
||||
|
||||
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.
|
||||
*/
|
||||
|
||||
namespace Convoy\Console\Commands\User;
|
||||
|
||||
use Exception;
|
||||
use Convoy\Models\User;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Convoy\Exceptions\Model\DataValidationException;
|
||||
|
||||
class MakeUserCommand extends Command
|
||||
{
|
||||
protected $description = 'Creates a user on the system via the CLI.';
|
||||
|
||||
protected $signature = 'c:user:make {--email=} {--name=} {--password=} {--admin=}';
|
||||
|
||||
/**
|
||||
* Handle command request to create a new user.
|
||||
*
|
||||
* @throws Exception
|
||||
* @throws DataValidationException
|
||||
*/
|
||||
public function handle(): void
|
||||
{
|
||||
$root_admin = $this->option('admin') ?? $this->confirm('Is this user an administrator?');
|
||||
$email = $this->option('email') ?? $this->ask('Email Address');
|
||||
$name = $this->option('name') ?? $this->ask('Name');
|
||||
$password = $this->option('password') ?? $this->secret('Password');
|
||||
|
||||
$user = User::create([
|
||||
'name' => $name,
|
||||
'email' => $email,
|
||||
'root_admin' => (bool) $root_admin,
|
||||
'password' => Hash::make($password),
|
||||
]);
|
||||
|
||||
$this->table(['Field', 'Value'], [
|
||||
['Internal ID', $user->id],
|
||||
['Email', $user->email],
|
||||
['Name', $user->name],
|
||||
['Admin', $user->root_admin ? 'Yes' : 'No'],
|
||||
]);
|
||||
}
|
||||
}
|
|
@ -1,32 +1,48 @@
|
|||
<?php
|
||||
|
||||
namespace App\Console;
|
||||
namespace Convoy\Console;
|
||||
|
||||
use Convoy\Models\ActivityLog;
|
||||
use Illuminate\Console\Scheduling\Schedule;
|
||||
use Illuminate\Database\Console\PruneCommand;
|
||||
use Convoy\Console\Commands\Server\ResetUsagesCommand;
|
||||
use Convoy\Console\Commands\Server\UpdateUsagesCommand;
|
||||
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
||||
use Convoy\Console\Commands\Maintenance\PruneUsersCommand;
|
||||
use Convoy\Console\Commands\Server\UpdateRateLimitsCommand;
|
||||
use Convoy\Console\Commands\Maintenance\PruneOrphanedBackupsCommand;
|
||||
|
||||
class Kernel extends ConsoleKernel
|
||||
{
|
||||
/**
|
||||
* Define the application's command schedule.
|
||||
*
|
||||
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
||||
* @return void
|
||||
*/
|
||||
protected function schedule(Schedule $schedule)
|
||||
protected function schedule(Schedule $schedule): void
|
||||
{
|
||||
// $schedule->command('inspire')->hourly();
|
||||
$schedule->command('queue:prune-batches')->daily();
|
||||
|
||||
if (config('backups.prune_age')) {
|
||||
// Every 30 minutes, run the backup pruning command so that any abandoned backups can be deleted.
|
||||
$schedule->command(PruneOrphanedBackupsCommand::class)->everyThirtyMinutes();
|
||||
}
|
||||
|
||||
if (config('activity.prune_days')) {
|
||||
$schedule->command(PruneCommand::class, ['--model' => [ActivityLog::class]])->daily();
|
||||
}
|
||||
|
||||
$schedule->command(ResetUsagesCommand::class)->daily();
|
||||
$schedule->command(PruneUsersCommand::class)->daily();
|
||||
$schedule->command(UpdateUsagesCommand::class)->everyFiveMinutes();
|
||||
$schedule->command(UpdateRateLimitsCommand::class)->everyTenMinutes();
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the commands for the application.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function commands()
|
||||
protected function commands(): void
|
||||
{
|
||||
$this->load(__DIR__.'/Commands');
|
||||
|
||||
require base_path('routes/console.php');
|
||||
//require base_path('routes/console.php');
|
||||
}
|
||||
}
|
||||
|
|
14
app/Contracts/Repository/ActivityRepositoryInterface.php
Normal file
14
app/Contracts/Repository/ActivityRepositoryInterface.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Contracts\Repository;
|
||||
|
||||
use Convoy\Models\Server;
|
||||
use Convoy\Models\ActivityLog;
|
||||
|
||||
interface ActivityRepositoryInterface extends RepositoryInterface
|
||||
{
|
||||
/**
|
||||
* Return the server model associated with an activity
|
||||
*/
|
||||
public function getServer(ActivityLog $activity): ?Server;
|
||||
}
|
|
@ -1,16 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace App\Contracts\Repository;
|
||||
namespace Convoy\Contracts\Repository;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Support\Collection;
|
||||
use Convoy\Exceptions\Model\DataValidationException;
|
||||
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
|
||||
use Convoy\Exceptions\Repository\RecordNotFoundException;
|
||||
|
||||
interface RepositoryInterface
|
||||
{
|
||||
/**
|
||||
* Return an identifier or Model object to be used by the repository.
|
||||
*
|
||||
* @return string|\Closure|object
|
||||
* @return string|Closure|object
|
||||
*/
|
||||
public function model();
|
||||
|
||||
|
@ -38,8 +41,7 @@ interface RepositoryInterface
|
|||
/**
|
||||
* An array of columns to filter the response by.
|
||||
*
|
||||
* @param array|string $columns
|
||||
*
|
||||
* @param array|string $columns
|
||||
* @return $this
|
||||
*/
|
||||
public function setColumns($columns = ['*']);
|
||||
|
@ -72,7 +74,7 @@ interface RepositoryInterface
|
|||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \App\Exceptions\Model\DataValidationException
|
||||
* @throws DataValidationException
|
||||
*/
|
||||
public function create(array $fields, bool $validate = true, bool $force = false);
|
||||
|
||||
|
@ -81,7 +83,7 @@ interface RepositoryInterface
|
|||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \App\Exceptions\Repository\RecordNotFoundException
|
||||
* @throws RecordNotFoundException
|
||||
*/
|
||||
public function find(int $id);
|
||||
|
||||
|
@ -95,7 +97,7 @@ interface RepositoryInterface
|
|||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \App\Exceptions\Repository\RecordNotFoundException
|
||||
* @throws RecordNotFoundException
|
||||
*/
|
||||
public function findFirstWhere(array $fields);
|
||||
|
||||
|
@ -117,12 +119,11 @@ interface RepositoryInterface
|
|||
/**
|
||||
* Update a given ID with the passed array of fields.
|
||||
*
|
||||
* @param int $id
|
||||
*
|
||||
* @param int $id
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \App\Exceptions\Model\DataValidationException
|
||||
* @throws \App\Exceptions\Repository\RecordNotFoundException
|
||||
* @throws DataValidationException
|
||||
* @throws RecordNotFoundException
|
||||
*/
|
||||
public function update($id, array $fields, bool $validate = true, bool $force = false);
|
||||
|
||||
|
@ -137,7 +138,7 @@ interface RepositoryInterface
|
|||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \App\Exceptions\Model\DataValidationException
|
||||
* @throws DataValidationException
|
||||
*/
|
||||
public function updateOrCreate(array $where, array $fields, bool $validate = true, bool $force = false);
|
||||
|
||||
|
@ -166,4 +167,4 @@ interface RepositoryInterface
|
|||
* Get the amount of entries in the database.
|
||||
*/
|
||||
public function count(): int;
|
||||
}
|
||||
}
|
||||
|
|
21
app/Contracts/Repository/ServerRepositoryInterface.php
Normal file
21
app/Contracts/Repository/ServerRepositoryInterface.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Contracts\Repository;
|
||||
|
||||
use Convoy\Models\Server;
|
||||
use Convoy\Exceptions\Repository\RecordNotFoundException;
|
||||
|
||||
interface ServerRepositoryInterface extends RepositoryInterface
|
||||
{
|
||||
/**
|
||||
* Check if a given UUID and UUID-Short string are unique to a server.
|
||||
*/
|
||||
public function isUniqueUuidCombo(string $uuid, string $short): bool;
|
||||
|
||||
/**
|
||||
* Return a server by UUID.
|
||||
*
|
||||
* @throws RecordNotFoundException
|
||||
*/
|
||||
public function getByUuid(string $uuid): Server;
|
||||
}
|
16
app/Data/Helpers/ChecksumData.php
Normal file
16
app/Data/Helpers/ChecksumData.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Helpers;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Convoy\Enums\Helpers\ChecksumAlgorithm;
|
||||
|
||||
class ChecksumData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public string $checksum,
|
||||
public ChecksumAlgorithm $algorithm,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
27
app/Data/Node/Access/CreateUserData.php
Normal file
27
app/Data/Node/Access/CreateUserData.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Node\Access;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Spatie\LaravelData\Data;
|
||||
use Spatie\LaravelData\Casts\EnumCast;
|
||||
use Convoy\Enums\Node\Access\RealmType;
|
||||
use Spatie\LaravelData\Attributes\WithCast;
|
||||
use Spatie\LaravelData\Attributes\Validation\Min;
|
||||
use Spatie\LaravelData\Attributes\Validation\Max;
|
||||
|
||||
class CreateUserData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
#[WithCast(EnumCast::class)]
|
||||
public RealmType $realm_type,
|
||||
public bool $enabled,
|
||||
#[Min(1), Max(60)]
|
||||
public ?string $username = null,
|
||||
#[Min(1), Max(64)]
|
||||
public ?string $password = null,
|
||||
public ?Carbon $expires_at = null,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
29
app/Data/Node/Access/UserCredentialsData.php
Normal file
29
app/Data/Node/Access/UserCredentialsData.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Node\Access;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Convoy\Enums\Node\Access\RealmType;
|
||||
|
||||
class UserCredentialsData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public string $username,
|
||||
public RealmType $realm_type,
|
||||
public string $ticket,
|
||||
public string $csrf_token,
|
||||
)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static function fromRaw(array $raw): UserCredentialsData
|
||||
{
|
||||
return new self(...[
|
||||
'username' => explode('@', $raw['username'])[0],
|
||||
'realm_type' => RealmType::from(explode('@', $raw['username'])[1]),
|
||||
'ticket' => $raw['ticket'],
|
||||
'csrf_token' => $raw['CSRFPreventionToken'],
|
||||
]);
|
||||
}
|
||||
}
|
35
app/Data/Node/Access/UserData.php
Normal file
35
app/Data/Node/Access/UserData.php
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Node\Access;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Arr;
|
||||
use Spatie\LaravelData\Data;
|
||||
use Spatie\LaravelData\Casts\EnumCast;
|
||||
use Convoy\Enums\Node\Access\RealmType;
|
||||
use Spatie\LaravelData\Attributes\WithCast;
|
||||
|
||||
class UserData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public string $username,
|
||||
public ?string $email,
|
||||
#[WithCast(EnumCast::class)]
|
||||
public RealmType $realm_type,
|
||||
public bool $enabled,
|
||||
public ?Carbon $expires_at,
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
public static function fromRaw(array $raw): UserData
|
||||
{
|
||||
return new self(...[
|
||||
'username' => explode('@', $raw['userid'])[0],
|
||||
'email' => Arr::get($raw, 'email'),
|
||||
'realm_type' => RealmType::from($raw['realm-type']),
|
||||
'enabled' => (bool)$raw['enable'],
|
||||
'expires_at' => Arr::get($raw, 'expire') ? Carbon::createFromTimestamp($raw['expire']) : null,
|
||||
]);
|
||||
}
|
||||
}
|
16
app/Data/Node/Storage/FileMetaData.php
Normal file
16
app/Data/Node/Storage/FileMetaData.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Node\Storage;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class FileMetaData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public string $file_name,
|
||||
public string $mime_type,
|
||||
public int $size,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
17
app/Data/Node/Storage/IsoData.php
Normal file
17
app/Data/Node/Storage/IsoData.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Node\Storage;
|
||||
|
||||
use Carbon\CarbonInterface;
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class IsoData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public string $file_name,
|
||||
public int $size,
|
||||
public CarbonInterface $created_at,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
16
app/Data/Server/Deployments/CloudinitAddressConfigData.php
Normal file
16
app/Data/Server/Deployments/CloudinitAddressConfigData.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Deployments;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Convoy\Data\Server\Eloquent\AddressData;
|
||||
|
||||
class CloudinitAddressConfigData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public ?AddressData $ipv4,
|
||||
public ?AddressData $ipv6,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
20
app/Data/Server/Deployments/ServerDeploymentData.php
Normal file
20
app/Data/Server/Deployments/ServerDeploymentData.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Deployments;
|
||||
|
||||
use Convoy\Models\Server;
|
||||
use Convoy\Models\Template;
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class ServerDeploymentData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public Server $server,
|
||||
public ?Template $template,
|
||||
public ?string $account_password,
|
||||
public bool $should_create_server,
|
||||
public bool $start_on_completion,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
25
app/Data/Server/Eloquent/AddressData.php
Normal file
25
app/Data/Server/Eloquent/AddressData.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Eloquent;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Spatie\LaravelData\Attributes\Validation\IP;
|
||||
use Spatie\LaravelData\Attributes\Validation\In;
|
||||
|
||||
class AddressData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $id,
|
||||
public int $address_pool_id,
|
||||
public ?int $server_id,
|
||||
#[In(['ipv4', 'ipv6'])]
|
||||
public string $type,
|
||||
#[IP]
|
||||
public string $address,
|
||||
public int $cidr,
|
||||
public string $gateway,
|
||||
public ?string $mac_address,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
19
app/Data/Server/Eloquent/ServerAddressesData.php
Normal file
19
app/Data/Server/Eloquent/ServerAddressesData.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Eloquent;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Spatie\LaravelData\DataCollection;
|
||||
use Spatie\LaravelData\Attributes\DataCollectionOf;
|
||||
|
||||
class ServerAddressesData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
#[DataCollectionOf(AddressData::class)]
|
||||
public DataCollection $ipv4,
|
||||
#[DataCollectionOf(AddressData::class)]
|
||||
public DataCollection $ipv6,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
23
app/Data/Server/Eloquent/ServerEloquentData.php
Normal file
23
app/Data/Server/Eloquent/ServerEloquentData.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Eloquent;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class ServerEloquentData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $id,
|
||||
public string $uuid_short,
|
||||
public string $uuid,
|
||||
public int $node_id,
|
||||
public string $hostname,
|
||||
public string $name,
|
||||
public ?string $description,
|
||||
public ?string $status,
|
||||
public ServerUsagesData $usages,
|
||||
public ServerLimitsData $limits,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
21
app/Data/Server/Eloquent/ServerLimitsData.php
Normal file
21
app/Data/Server/Eloquent/ServerLimitsData.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Eloquent;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class ServerLimitsData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $cpu,
|
||||
public int $memory,
|
||||
public int $disk,
|
||||
public ?int $snapshots,
|
||||
public ?int $backups,
|
||||
public ?int $bandwidth,
|
||||
public ServerAddressesData $addresses,
|
||||
public ?string $mac_address,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
14
app/Data/Server/Eloquent/ServerUsagesData.php
Normal file
14
app/Data/Server/Eloquent/ServerUsagesData.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Eloquent;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class ServerUsagesData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $bandwidth,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
15
app/Data/Server/MacAddressData.php
Normal file
15
app/Data/Server/MacAddressData.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class MacAddressData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public ?string $proxmox,
|
||||
public ?string $eloquent,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
15
app/Data/Server/Proxmox/Config/AddressConfigData.php
Normal file
15
app/Data/Server/Proxmox/Config/AddressConfigData.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Config;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class AddressConfigData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public ?AddressData $ipv4,
|
||||
public ?AddressData $ipv6,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
16
app/Data/Server/Proxmox/Config/AddressData.php
Normal file
16
app/Data/Server/Proxmox/Config/AddressData.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Config;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class AddressData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public string $address,
|
||||
public int $cidr,
|
||||
public string $gateway,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
24
app/Data/Server/Proxmox/Config/DiskData.php
Normal file
24
app/Data/Server/Proxmox/Config/DiskData.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Config;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Spatie\LaravelData\Casts\EnumCast;
|
||||
use Convoy\Enums\Server\DiskInterface;
|
||||
use Spatie\LaravelData\Attributes\WithCast;
|
||||
|
||||
class DiskData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
#[WithCast(EnumCast::class)]
|
||||
public DiskInterface $interface,
|
||||
public bool $is_primary_disk,
|
||||
|
||||
public bool $is_media,
|
||||
public ?string $media_name,
|
||||
|
||||
public int $size,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
14
app/Data/Server/Proxmox/Config/MediaData.php
Normal file
14
app/Data/Server/Proxmox/Config/MediaData.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Config;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class MediaData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
//
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
21
app/Data/Server/Proxmox/Config/ServerConfigData.php
Normal file
21
app/Data/Server/Proxmox/Config/ServerConfigData.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Config;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Spatie\LaravelData\DataCollection;
|
||||
use Spatie\LaravelData\Attributes\DataCollectionOf;
|
||||
|
||||
class ServerConfigData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public string $mac_address,
|
||||
#[DataCollectionOf(DiskData::class)]
|
||||
public DataCollection $boot_order,
|
||||
#[DataCollectionOf(DiskData::class)]
|
||||
public DataCollection $disks,
|
||||
/* public AddressConfigData $addresses */
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
16
app/Data/Server/Proxmox/Console/NoVncCredentialsData.php
Normal file
16
app/Data/Server/Proxmox/Console/NoVncCredentialsData.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Console;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class NoVncCredentialsData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $port,
|
||||
public string $ticket,
|
||||
public string $pve_auth_cookie,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
19
app/Data/Server/Proxmox/Console/XTermCredentialsData.php
Normal file
19
app/Data/Server/Proxmox/Console/XTermCredentialsData.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Console;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Convoy\Enums\Node\Access\RealmType;
|
||||
|
||||
class XTermCredentialsData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $port,
|
||||
public string $ticket,
|
||||
public string $username,
|
||||
public RealmType $realm_type,
|
||||
public string $pve_auth_cookie,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
21
app/Data/Server/Proxmox/ServerProxmoxData.php
Normal file
21
app/Data/Server/Proxmox/ServerProxmoxData.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Convoy\Data\Server\Proxmox\Config\ServerConfigData;
|
||||
|
||||
class ServerProxmoxData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $id,
|
||||
public string $uuid_short,
|
||||
public string $uuid,
|
||||
public int $node_id,
|
||||
public string $state,
|
||||
public bool $locked,
|
||||
public ServerConfigData $config,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
30
app/Data/Server/Proxmox/ServerStateData.php
Normal file
30
app/Data/Server/Proxmox/ServerStateData.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
use Convoy\Enums\Server\State;
|
||||
|
||||
class ServerStateData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public State $state,
|
||||
public float $cpu_used,
|
||||
public int $memory_total,
|
||||
public int $memory_used,
|
||||
public int $uptime,
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
public static function fromRaw(array $raw)
|
||||
{
|
||||
return new self(...[
|
||||
'state' => State::from($raw['status']),
|
||||
'uptime' => $raw['uptime'],
|
||||
'cpu_used' => $raw['cpu'],
|
||||
'memory_total' => $raw['maxmem'],
|
||||
'memory_used' => $raw['mem'],
|
||||
]);
|
||||
}
|
||||
}
|
15
app/Data/Server/Proxmox/Usages/ServerDiskData.php
Normal file
15
app/Data/Server/Proxmox/Usages/ServerDiskData.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Usages;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class ServerDiskData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $write,
|
||||
public int $read,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
15
app/Data/Server/Proxmox/Usages/ServerNetworkData.php
Normal file
15
app/Data/Server/Proxmox/Usages/ServerNetworkData.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Usages;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class ServerNetworkData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $in,
|
||||
public int $out,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
16
app/Data/Server/Proxmox/Usages/ServerUsagesData.php
Normal file
16
app/Data/Server/Proxmox/Usages/ServerUsagesData.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Data\Server\Proxmox\Usages;
|
||||
|
||||
use Spatie\LaravelData\Data;
|
||||
|
||||
class ServerUsagesData extends Data
|
||||
{
|
||||
public function __construct(
|
||||
public int $bandwidth,
|
||||
public ServerNetworkData $network,
|
||||
public ServerDiskData $disk,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
10
app/Enums/Activity/Status.php
Normal file
10
app/Enums/Activity/Status.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Activity;
|
||||
|
||||
enum Status: string
|
||||
{
|
||||
case OK = 'ok';
|
||||
case ERROR = 'error';
|
||||
case RUNNING = 'running';
|
||||
}
|
9
app/Enums/Api/ApiKeyType.php
Normal file
9
app/Enums/Api/ApiKeyType.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Api;
|
||||
|
||||
enum ApiKeyType: string
|
||||
{
|
||||
case ACCOUNT = 'account';
|
||||
case APPLICATION = 'application';
|
||||
}
|
13
app/Enums/Helpers/ChecksumAlgorithm.php
Normal file
13
app/Enums/Helpers/ChecksumAlgorithm.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Helpers;
|
||||
|
||||
enum ChecksumAlgorithm: string
|
||||
{
|
||||
case MD5 = 'md5';
|
||||
case SHA1 = 'sha1';
|
||||
case SHA224 = 'sha224';
|
||||
case SHA256 = 'sha256';
|
||||
case SHA384 = 'sha384';
|
||||
case SHA512 = 'sha512';
|
||||
}
|
|
@ -1,12 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums\Network;
|
||||
namespace Convoy\Enums\Network;
|
||||
|
||||
enum AddressType: string
|
||||
{
|
||||
case IPV4 = 'ipv4';
|
||||
case GWV4 = 'gw'; //gateway
|
||||
|
||||
case IPV6 = 'ipv6';
|
||||
case GWV6 = 'gw6';
|
||||
}
|
||||
}
|
||||
|
|
9
app/Enums/Node/Access/RealmType.php
Normal file
9
app/Enums/Node/Access/RealmType.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Node\Access;
|
||||
|
||||
enum RealmType: string
|
||||
{
|
||||
case PAM = 'pam';
|
||||
case PVE = 'pve';
|
||||
}
|
9
app/Enums/Node/Storage/ContentType.php
Normal file
9
app/Enums/Node/Storage/ContentType.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Node\Storage;
|
||||
|
||||
enum ContentType: string
|
||||
{
|
||||
case ISO = 'iso';
|
||||
case VZTMPL = 'vztmpl';
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums\Proxmox;
|
||||
|
||||
enum AuthenticationType: string
|
||||
{
|
||||
case PVE = 'pve'; // use PVE if the user doesn't exist as a Linux user
|
||||
case PAM = 'pam'; // use PAM only if the user exists as a Linux user
|
||||
}
|
9
app/Enums/Server/AuthenticationType.php
Normal file
9
app/Enums/Server/AuthenticationType.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum AuthenticationType: string
|
||||
{
|
||||
case KEY = 'ssh_keys';
|
||||
case PASSWORD = 'password';
|
||||
}
|
11
app/Enums/Server/BackupCompressionType.php
Normal file
11
app/Enums/Server/BackupCompressionType.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum BackupCompressionType: string
|
||||
{
|
||||
case NONE = 'none';
|
||||
case LZO = 'lzo';
|
||||
case GZIP = 'gzip';
|
||||
case ZSTD = 'zstd';
|
||||
}
|
10
app/Enums/Server/BackupMode.php
Normal file
10
app/Enums/Server/BackupMode.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum BackupMode: string
|
||||
{
|
||||
case SNAPSHOT = 'snapshot';
|
||||
case SUSPEND = 'suspend';
|
||||
case KILL = 'kill';
|
||||
}
|
9
app/Enums/Server/BiosType.php
Normal file
9
app/Enums/Server/BiosType.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum BiosType: string
|
||||
{
|
||||
case OVMF = 'ovmf';
|
||||
case SEABIOS = 'seabios';
|
||||
}
|
9
app/Enums/Server/ConsoleType.php
Normal file
9
app/Enums/Server/ConsoleType.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum ConsoleType: string
|
||||
{
|
||||
case NOVNC = 'novnc';
|
||||
case XTERMJS = 'xtermjs';
|
||||
}
|
66
app/Enums/Server/DiskInterface.php
Normal file
66
app/Enums/Server/DiskInterface.php
Normal file
|
@ -0,0 +1,66 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum DiskInterface: string
|
||||
{
|
||||
case IDE0 = 'ide0';
|
||||
case IDE1 = 'ide1';
|
||||
case IDE2 = 'ide2';
|
||||
case IDE3 = 'ide3';
|
||||
case SCSI0 = 'scsi0';
|
||||
case SCSI1 = 'scsi1';
|
||||
case SCSI2 = 'scsi2';
|
||||
case SCSI3 = 'scsi3';
|
||||
case SCSI4 = 'scsi4';
|
||||
case SCSI5 = 'scsi5';
|
||||
case SCSI6 = 'scsi6';
|
||||
case SCSI7 = 'scsi7';
|
||||
case SCSI8 = 'scsi8';
|
||||
case SCSI9 = 'scsi9';
|
||||
case SCSI10 = 'scsi10';
|
||||
case SCSI11 = 'scsi11';
|
||||
case SCSI12 = 'scsi12';
|
||||
case SCSI13 = 'scsi13';
|
||||
case SCSI14 = 'scsi14';
|
||||
case SCSI15 = 'scsi15';
|
||||
case SCSI16 = 'scsi16';
|
||||
case SCSI17 = 'scsi17';
|
||||
case SCSI18 = 'scsi18';
|
||||
case SCSI19 = 'scsi19';
|
||||
case SCSI20 = 'scsi20';
|
||||
case SCSI21 = 'scsi21';
|
||||
case SCSI22 = 'scsi22';
|
||||
case SCSI23 = 'scsi23';
|
||||
case SCSI24 = 'scsi24';
|
||||
case SCSI25 = 'scsi25';
|
||||
case SCSI26 = 'scsi26';
|
||||
case SCSI27 = 'scsi27';
|
||||
case SCSI28 = 'scsi28';
|
||||
case SCSI29 = 'scsi29';
|
||||
case SCSI30 = 'scsi30';
|
||||
case VIRTIO0 = 'virtio0';
|
||||
case VIRTIO1 = 'virtio1';
|
||||
case VIRTIO2 = 'virtio2';
|
||||
case VIRTIO3 = 'virtio3';
|
||||
case VIRTIO4 = 'virtio4';
|
||||
case VIRTIO5 = 'virtio5';
|
||||
case VIRTIO6 = 'virtio6';
|
||||
case VIRTIO7 = 'virtio7';
|
||||
case VIRTIO8 = 'virtio8';
|
||||
case VIRTIO9 = 'virtio9';
|
||||
case VIRTIO10 = 'virtio10';
|
||||
case VIRTIO11 = 'virtio11';
|
||||
case VIRTIO12 = 'virtio12';
|
||||
case VIRTIO13 = 'virtio13';
|
||||
case VIRTIO14 = 'virtio14';
|
||||
case VIRTIO15 = 'virtio15';
|
||||
case SATA0 = 'sata0';
|
||||
case SATA1 = 'sata1';
|
||||
case SATA2 = 'sata2';
|
||||
case SATA3 = 'sata3';
|
||||
case SATA4 = 'sata4';
|
||||
case SATA5 = 'sata5';
|
||||
case EFIDISK0 = 'efidisk0';
|
||||
case TPMSTATE0 = 'tpmstate0';
|
||||
}
|
9
app/Enums/Server/MetricParameter.php
Normal file
9
app/Enums/Server/MetricParameter.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum MetricParameter: string
|
||||
{
|
||||
case AVERAGE = 'AVERAGE';
|
||||
case MAX = 'MAX';
|
||||
}
|
12
app/Enums/Server/MetricTimeframe.php
Normal file
12
app/Enums/Server/MetricTimeframe.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum MetricTimeframe: string
|
||||
{
|
||||
case HOUR = 'hour';
|
||||
case DAY = 'day';
|
||||
case WEEK = 'week';
|
||||
case MONTH = 'month';
|
||||
case YEAR = 'year';
|
||||
}
|
14
app/Enums/Server/PowerAction.php
Normal file
14
app/Enums/Server/PowerAction.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum PowerAction: string
|
||||
{
|
||||
case RESTART = 'restart';
|
||||
case RESET = 'reset';
|
||||
case RESUME = 'resume';
|
||||
case SHUTDOWN = 'shutdown';
|
||||
case START = 'start';
|
||||
case KILL = 'kill';
|
||||
case SUSPEND = 'suspend';
|
||||
}
|
14
app/Enums/Server/State.php
Normal file
14
app/Enums/Server/State.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum State: string
|
||||
{
|
||||
case STOPPED = 'stopped';
|
||||
case RUNNING = 'running';
|
||||
|
||||
/* Synthetic states (not part of Proxmox but used in Convoy) */
|
||||
case STOPPING = 'stopping';
|
||||
case STARTING = 'starting';
|
||||
case SHUTTING_DOWN = 'shutting_down';
|
||||
}
|
14
app/Enums/Server/Status.php
Normal file
14
app/Enums/Server/Status.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum Status: string
|
||||
{
|
||||
case INSTALLING = 'installing';
|
||||
case INSTALL_FAILED = 'install_failed';
|
||||
case SUSPENDED = 'suspended';
|
||||
case RESTORING_BACKUP = 'restoring_backup';
|
||||
case RESTORING_SNAPSHOT = 'restoring_snapshot';
|
||||
case DELETING = 'deleting';
|
||||
case DELETION_FAILED = 'deletion_failed';
|
||||
}
|
9
app/Enums/Server/SuspensionAction.php
Normal file
9
app/Enums/Server/SuspensionAction.php
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Enums\Server;
|
||||
|
||||
enum SuspensionAction: string
|
||||
{
|
||||
case SUSPEND = 'suspend';
|
||||
case UNSUSPEND = 'unsuspend';
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums\Servers\Cloudinit;
|
||||
|
||||
enum AuthenticationType: string
|
||||
{
|
||||
case KEY = 'sshkeys';
|
||||
case PASSWORD = 'cipassword';
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums\Servers\Cloudinit;
|
||||
|
||||
enum BiosType: string
|
||||
{
|
||||
case OVMF = 'ovmf';
|
||||
case SEABIOS = 'seabios';
|
||||
}
|
40
app/Events/Activity/Activity.php
Normal file
40
app/Events/Activity/Activity.php
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Events\Activity;
|
||||
|
||||
use Illuminate\Support\Str;
|
||||
use Convoy\Models\ActivityLog;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
abstract class Activity
|
||||
{
|
||||
public function __construct(public ActivityLog $model)
|
||||
{
|
||||
}
|
||||
|
||||
public function is(string $event): bool
|
||||
{
|
||||
return $this->model->event === $event;
|
||||
}
|
||||
|
||||
public function actor(): ?Model
|
||||
{
|
||||
return $this->isSystem() ? null : $this->model->actor;
|
||||
}
|
||||
|
||||
public function isServerEvent(): bool
|
||||
{
|
||||
return Str::startsWith($this->model->event, 'server:');
|
||||
}
|
||||
|
||||
public function isUserEvent(): bool
|
||||
{
|
||||
return Str::startsWith($this->model->event, 'user:');
|
||||
}
|
||||
|
||||
public function isSystem()
|
||||
{
|
||||
// @phpstan-ignore-next-line
|
||||
return is_null($this->model->actor_id);
|
||||
}
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
namespace Convoy\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class ConvoyException extends Exception
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
82
app/Exceptions/DisplayException.php
Normal file
82
app/Exceptions/DisplayException.php
Normal file
|
@ -0,0 +1,82 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use Throwable;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Http\Response;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use Illuminate\Container\Container;
|
||||
use Illuminate\Http\RedirectResponse;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
|
||||
|
||||
class DisplayException extends ConvoyException implements HttpExceptionInterface
|
||||
{
|
||||
public const LEVEL_DEBUG = 'debug';
|
||||
|
||||
public const LEVEL_INFO = 'info';
|
||||
|
||||
public const LEVEL_WARNING = 'warning';
|
||||
|
||||
public const LEVEL_ERROR = 'error';
|
||||
|
||||
/**
|
||||
* DisplayException constructor.
|
||||
*/
|
||||
public function __construct(string $message, ?Throwable $previous = null, protected string $level = self::LEVEL_ERROR, int $code = 0)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
|
||||
public function getErrorLevel(): string
|
||||
{
|
||||
return $this->level;
|
||||
}
|
||||
|
||||
public function getStatusCode(): int
|
||||
{
|
||||
return Response::HTTP_BAD_REQUEST;
|
||||
}
|
||||
|
||||
public function getHeaders(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the exception to the user by adding a flashed message to the session
|
||||
* and then redirecting them back to the page that they came from. If the
|
||||
* request originated from an API hit, return the error in JSONAPI spec format.
|
||||
*/
|
||||
public function render(Request $request): JsonResponse|RedirectResponse
|
||||
{
|
||||
if ($request->expectsJson()) {
|
||||
return response()->json(Handler::toArray($this), $this->getStatusCode(), $this->getHeaders());
|
||||
}
|
||||
|
||||
return redirect()->back()->withInput();
|
||||
}
|
||||
|
||||
/**
|
||||
* Log the exception to the logs using the defined error level only if the previous
|
||||
* exception is set.
|
||||
*
|
||||
* @throws Throwable
|
||||
*/
|
||||
public function report()
|
||||
{
|
||||
if (! $this->getPrevious() instanceof Exception || ! Handler::isReportable($this->getPrevious())) {
|
||||
return null;
|
||||
}
|
||||
|
||||
try {
|
||||
$logger = Container::getInstance()->make(LoggerInterface::class);
|
||||
} catch (Exception) {
|
||||
throw $this->getPrevious();
|
||||
}
|
||||
|
||||
return $logger->{$this->getErrorLevel()}($this->getPrevious());
|
||||
}
|
||||
}
|
|
@ -1,30 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
namespace Convoy\Exceptions;
|
||||
|
||||
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||
use Exception;
|
||||
use Throwable;
|
||||
use Illuminate\Container\Container;
|
||||
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||
|
||||
class Handler extends ExceptionHandler
|
||||
{
|
||||
/**
|
||||
* A list of exception types with their corresponding custom log levels.
|
||||
*
|
||||
* @var array<class-string<\Throwable>, \Psr\Log\LogLevel::*>
|
||||
*/
|
||||
protected $levels = [
|
||||
//
|
||||
];
|
||||
|
||||
/**
|
||||
* A list of the exception types that are not reported.
|
||||
*
|
||||
* @var array<int, class-string<\Throwable>>
|
||||
*/
|
||||
protected $dontReport = [
|
||||
//
|
||||
];
|
||||
|
||||
/**
|
||||
* A list of the inputs that are never flashed to the session on validation exceptions.
|
||||
*
|
||||
|
@ -38,13 +22,28 @@ class Handler extends ExceptionHandler
|
|||
|
||||
/**
|
||||
* Register the exception handling callbacks for the application.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
public function register(): void
|
||||
{
|
||||
$this->reportable(function (Throwable $e) {
|
||||
//
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an array of exceptions that should not be reported.
|
||||
*/
|
||||
public static function isReportable(Exception $exception): bool
|
||||
{
|
||||
return (new static(Container::getInstance()))->shouldReport($exception);
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to allow reaching into the handler to convert an exception
|
||||
* into the expected array response type.
|
||||
*/
|
||||
public static function toArray(Throwable $e): array
|
||||
{
|
||||
return (new self(app()))->convertExceptionToArray($e);
|
||||
}
|
||||
}
|
||||
|
|
26
app/Exceptions/Http/Server/ServerStatusConflictException.php
Normal file
26
app/Exceptions/Http/Server/ServerStatusConflictException.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Exceptions\Http\Server;
|
||||
|
||||
use Throwable;
|
||||
use Convoy\Models\Server;
|
||||
use Symfony\Component\HttpKernel\Exception\ConflictHttpException;
|
||||
|
||||
class ServerStatusConflictException extends ConflictHttpException
|
||||
{
|
||||
/**
|
||||
* Exception thrown when the server is in an unsupported state for API access or
|
||||
* certain operations within the codebase.
|
||||
*/
|
||||
public function __construct(Server $server, Throwable $previous = null)
|
||||
{
|
||||
$message = 'This server is currently in an unsupported status, please try again later.';
|
||||
if ($server->isSuspended()) {
|
||||
$message = 'This server is currently suspended and the functionality requested is unavailable.';
|
||||
} elseif (! $server->isInstalled()) {
|
||||
$message = 'This server has not yet completed its installation process, please try again later.';
|
||||
}
|
||||
|
||||
parent::__construct($message, $previous);
|
||||
}
|
||||
}
|
|
@ -1,10 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace App\Exceptions\Model;
|
||||
namespace Convoy\Exceptions\Model;
|
||||
|
||||
use Illuminate\Support\MessageBag;
|
||||
use Convoy\Exceptions\ConvoyException;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Contracts\Validation\Validator;
|
||||
use App\Exceptions\ConvoyException;
|
||||
use Illuminate\Contracts\Support\MessageProvider;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
|
||||
|
||||
|
@ -40,27 +41,20 @@ class DataValidationException extends ConvoyException implements HttpExceptionIn
|
|||
|
||||
/**
|
||||
* Return the validator message bag.
|
||||
*
|
||||
* @return \Illuminate\Support\MessageBag
|
||||
*/
|
||||
public function getMessageBag()
|
||||
public function getMessageBag(): MessageBag
|
||||
{
|
||||
return $this->validator->errors();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the status code for this request.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getStatusCode(): int
|
||||
{
|
||||
return 500;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getHeaders(): array
|
||||
{
|
||||
return [];
|
||||
|
@ -75,4 +69,4 @@ class DataValidationException extends ConvoyException implements HttpExceptionIn
|
|||
{
|
||||
return $this->model;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace App\Exceptions\Repository\Proxmox;
|
||||
namespace Convoy\Exceptions\Repository\Proxmox;
|
||||
|
||||
use App\Exceptions\Repository\RepositoryException;
|
||||
use Illuminate\Http\Client\Response;
|
||||
use Illuminate\Http\Client\RequestException;
|
||||
use Convoy\Exceptions\Repository\RepositoryException;
|
||||
|
||||
class ProxmoxConnectionException extends RepositoryException
|
||||
{
|
||||
}
|
||||
public function __construct(Response $response, RequestException $exception)
|
||||
{
|
||||
parent::__construct($response->reason() . PHP_EOL . $exception->getMessage() . PHP_EOL . $exception->getTraceAsString(), $exception->getCode(), $exception);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace App\Exceptions\Repository;
|
||||
namespace Convoy\Exceptions\Repository;
|
||||
|
||||
use Illuminate\Http\Response;
|
||||
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
|
||||
|
@ -9,8 +9,6 @@ class RecordNotFoundException extends RepositoryException implements HttpExcepti
|
|||
{
|
||||
/**
|
||||
* Returns the status code.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getStatusCode(): int
|
||||
{
|
||||
|
@ -19,11 +17,9 @@ class RecordNotFoundException extends RepositoryException implements HttpExcepti
|
|||
|
||||
/**
|
||||
* Returns response headers.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getHeaders(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace App\Exceptions\Repository;
|
||||
namespace Convoy\Exceptions\Repository;
|
||||
|
||||
use App\Exceptions\ConvoyException;
|
||||
use Convoy\Exceptions\ConvoyException;
|
||||
|
||||
class RepositoryException extends ConvoyException
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
13
app/Exceptions/Service/Api/InvalidJWTException.php
Normal file
13
app/Exceptions/Service/Api/InvalidJWTException.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Exceptions\Service\Api;
|
||||
use Throwable;
|
||||
use Convoy\Exceptions\ConvoyException;
|
||||
|
||||
class InvalidJWTException extends ConvoyException
|
||||
{
|
||||
public function __construct(?Throwable $previous = null)
|
||||
{
|
||||
parent::__construct(message: 'Invalid JWT token', previous: $previous);
|
||||
}
|
||||
}
|
16
app/Exceptions/Service/Backup/BackupLockedException.php
Normal file
16
app/Exceptions/Service/Backup/BackupLockedException.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Exceptions\Service\Backup;
|
||||
|
||||
use Convoy\Exceptions\DisplayException;
|
||||
|
||||
class BackupLockedException extends DisplayException
|
||||
{
|
||||
/**
|
||||
* TooManyBackupsException constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('Cannot delete a backup that is marked as locked.');
|
||||
}
|
||||
}
|
18
app/Exceptions/Service/Backup/TooManyBackupsException.php
Normal file
18
app/Exceptions/Service/Backup/TooManyBackupsException.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Exceptions\Service\Backup;
|
||||
|
||||
use Convoy\Exceptions\DisplayException;
|
||||
|
||||
class TooManyBackupsException extends DisplayException
|
||||
{
|
||||
/**
|
||||
* TooManyBackupsException constructor.
|
||||
*/
|
||||
public function __construct(int $backupLimit)
|
||||
{
|
||||
parent::__construct(
|
||||
sprintf('Cannot create a new backup, this server has reached its limit of %d backups.', $backupLimit)
|
||||
);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Exceptions\Service\Deployment;
|
||||
|
||||
use Convoy\Exceptions\DisplayException;
|
||||
|
||||
class InvalidTemplateException extends DisplayException
|
||||
{
|
||||
}
|
18
app/Exceptions/Service/Network/AddressInUseException.php
Normal file
18
app/Exceptions/Service/Network/AddressInUseException.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Exceptions\Service\Network;
|
||||
|
||||
use Convoy\Exceptions\DisplayException;
|
||||
|
||||
class AddressInUseException extends DisplayException
|
||||
{
|
||||
/**
|
||||
* TooManyBackupsException constructor.
|
||||
*/
|
||||
public function __construct(int $addressId)
|
||||
{
|
||||
parent::__construct(
|
||||
sprintf('Address %d is currently in use by another server.', $addressId),
|
||||
);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Exceptions\Service\Node\IsoLibrary;
|
||||
|
||||
use Convoy\Exceptions\DisplayException;
|
||||
|
||||
class InvalidIsoLinkException extends DisplayException
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('The ISO link provided is either unreachable or invalid.');
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace Convoy\Exceptions\Service\Server\Allocation;
|
||||
|
||||
use Convoy\Exceptions\DisplayException;
|
||||
|
||||
class IsoAlreadyMountedException extends DisplayException
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('The requested ISO is already mounted');
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue