mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-20 03:02:38 +00:00
Compare commits
4578 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
75258cfa2a | ||
![]() |
b6dcae9b50 | ||
![]() |
a775c855cb | ||
![]() |
e168c8448b | ||
![]() |
dc56486b1f | ||
![]() |
c1fad04473 | ||
![]() |
0b09ef8380 | ||
![]() |
121623582a | ||
![]() |
c4c4b8867b | ||
![]() |
5e9e146545 | ||
![]() |
8deb184043 | ||
![]() |
7c150be23d | ||
![]() |
2ab5b585f6 | ||
![]() |
9911450bd8 | ||
![]() |
1ec20030af | ||
![]() |
3a670596f5 | ||
![]() |
09f7dbecda | ||
![]() |
63543afa2b | ||
![]() |
0383e2e15a | ||
![]() |
2c9f272d42 | ||
![]() |
e3ba342665 | ||
![]() |
b22bea8b45 | ||
![]() |
263d125849 | ||
![]() |
9f69eee8f9 | ||
![]() |
4d1f216241 | ||
![]() |
ee02ad2630 | ||
![]() |
a55755f9c1 | ||
![]() |
eb010e0fca | ||
![]() |
c56ab9f10c | ||
![]() |
e57d0c248f | ||
![]() |
a50b467d9f | ||
![]() |
a696ad132c | ||
![]() |
0234d00ace | ||
![]() |
f4af3191ef | ||
![]() |
4183fa9a03 | ||
![]() |
e9ec11df4b | ||
![]() |
b3e25cf536 | ||
![]() |
683305e5b9 | ||
![]() |
332705d841 | ||
![]() |
f6573b9f3b | ||
![]() |
0ce1f70820 | ||
![]() |
03785a8169 | ||
![]() |
ed9693f236 | ||
![]() |
2a568f3b82 | ||
![]() |
52f20da52a | ||
![]() |
4a57f73072 | ||
![]() |
8b03d3260d | ||
![]() |
bf02da9fd9 | ||
![]() |
cf03286b5b | ||
![]() |
37d566bdb0 | ||
![]() |
82477cb55c | ||
![]() |
8b90eddc56 | ||
![]() |
3ebd96ef73 | ||
![]() |
f07456286e | ||
![]() |
dbfc24001f | ||
![]() |
481c7aaf19 | ||
![]() |
5ac2c0a2ba | ||
![]() |
aec8f4c57a | ||
![]() |
b7b70dbaf2 | ||
![]() |
4096d0d2d6 | ||
![]() |
e08f2ac7f1 | ||
![]() |
beb985062d | ||
![]() |
c57ab693f9 | ||
![]() |
aa4ae81fe0 | ||
![]() |
60c1af244a | ||
![]() |
4a1487c193 | ||
![]() |
fbc32463fc | ||
![]() |
b51ce74552 | ||
![]() |
55f4ee214d | ||
![]() |
2846aebc6a | ||
![]() |
4a51a1f360 | ||
![]() |
8bbac4c679 | ||
![]() |
7ed278dec9 | ||
![]() |
e1d8afdf32 | ||
![]() |
d7baf25a6b | ||
![]() |
c5d274a384 | ||
![]() |
9cc0d4b3d1 | ||
![]() |
ec076e66d8 | ||
![]() |
32e64ccd34 | ||
![]() |
a16350d9f4 | ||
![]() |
8c81dca8b9 | ||
![]() |
f6599099ee | ||
![]() |
df5d656827 | ||
![]() |
d07a9a1b56 | ||
![]() |
386e7f8208 | ||
![]() |
bc99bf5e8f | ||
![]() |
b25091f757 | ||
![]() |
bc8c3cc009 | ||
![]() |
eb188cf83f | ||
![]() |
61b9535039 | ||
![]() |
a0cc05ba92 | ||
![]() |
9e70ff57b4 | ||
![]() |
95ad7d6201 | ||
![]() |
31cd8c6d38 | ||
![]() |
055fc6e0c3 | ||
![]() |
2ce7affc9a | ||
![]() |
00761a15d1 | ||
![]() |
afcb7262ea | ||
![]() |
9289e293fd | ||
![]() |
224cb07907 | ||
![]() |
cbcb04cf53 | ||
![]() |
b8d7303828 | ||
![]() |
025689312b | ||
![]() |
7284cb5685 | ||
![]() |
f48c6d3c04 | ||
![]() |
c5a0825587 | ||
![]() |
a0115cf10f | ||
![]() |
7e489eed25 | ||
![]() |
580b7e2671 | ||
![]() |
05273fa8d2 | ||
![]() |
0f6176470f | ||
![]() |
8958dee86e | ||
![]() |
b6072496d4 | ||
![]() |
02c5ce77db | ||
![]() |
7c6d5aaa56 | ||
![]() |
8e49c07187 | ||
![]() |
f463f97f24 | ||
![]() |
2ca2a73311 | ||
![]() |
06c38cd613 | ||
![]() |
ed18a8fb46 | ||
![]() |
58389fd357 | ||
![]() |
bbb7f6ec6f | ||
![]() |
dec91bd9ed | ||
![]() |
eb67c4c109 | ||
![]() |
358863999e | ||
![]() |
875534e50a | ||
![]() |
d0b7a2cccf | ||
![]() |
01eee60fdc | ||
![]() |
64555d6efb | ||
![]() |
603d655ec4 | ||
![]() |
8e0b86a5dc | ||
![]() |
424606c8a4 | ||
![]() |
507280b073 | ||
![]() |
acf6c13fd9 | ||
![]() |
fda68ddf20 | ||
![]() |
a0c9e81611 | ||
![]() |
78e56ee2f7 | ||
![]() |
9a4ded7d80 | ||
![]() |
3f673ce4d4 | ||
![]() |
6d7b1f87e4 | ||
![]() |
f3882d4553 | ||
![]() |
58653d3700 | ||
![]() |
23cc1fdbbe | ||
![]() |
813eabc340 | ||
![]() |
9720418bb5 | ||
![]() |
4fe172e4b2 | ||
![]() |
4ce232bcfe | ||
![]() |
aa9d89c846 | ||
![]() |
a13414341b | ||
![]() |
0f35e87290 | ||
![]() |
5c1c514361 | ||
![]() |
1b0e3c717f | ||
![]() |
c35550f324 | ||
![]() |
f6a5b783d2 | ||
![]() |
23360ad415 | ||
![]() |
f711aaceb8 | ||
![]() |
f28dbe4306 | ||
![]() |
2accf24f72 | ||
![]() |
2570be93a6 | ||
![]() |
1b11ca6f36 | ||
![]() |
6d703bb6e3 | ||
![]() |
504bb09319 | ||
![]() |
82dd00873d | ||
![]() |
9144726e4f | ||
![]() |
23b713464c | ||
![]() |
89e4144855 | ||
![]() |
8665bbc085 | ||
![]() |
bc02a82338 | ||
![]() |
442958df1d | ||
![]() |
7861d2ffcf | ||
![]() |
b86aefc038 | ||
![]() |
b55c72828e | ||
![]() |
eb85681b41 | ||
![]() |
2a1759ba3b | ||
![]() |
eb3feaad45 | ||
![]() |
a783a72d6b | ||
![]() |
cdb4682bca | ||
![]() |
81b5c7ca6f | ||
![]() |
1c2a29807b | ||
![]() |
7d9d48819a | ||
![]() |
0bfb3751fb | ||
![]() |
911806879f | ||
![]() |
c31be003d1 | ||
![]() |
282125e90f | ||
![]() |
eca57cc3e9 | ||
![]() |
3be290457f | ||
![]() |
bca6ae7862 | ||
![]() |
5b6cbd8195 | ||
![]() |
b54d210eb3 | ||
![]() |
64cc883ac1 | ||
![]() |
3e3a109dd2 | ||
![]() |
51990751a6 | ||
![]() |
f7b19964a7 | ||
![]() |
02d9c7cd27 | ||
![]() |
afffbe2982 | ||
![]() |
39341df8cb | ||
![]() |
8296a23d79 | ||
![]() |
3272e3588a | ||
![]() |
beddf442b1 | ||
![]() |
08b2ec2300 | ||
![]() |
9d984fedf3 | ||
![]() |
e6c17f31be | ||
![]() |
b04bb28ed1 | ||
![]() |
cb4ef4495a | ||
![]() |
d46cf46f6e | ||
![]() |
577a694df6 | ||
![]() |
6fa5705d4b | ||
![]() |
56cc841b65 | ||
![]() |
2e6f624d2f | ||
![]() |
0766cb4776 | ||
![]() |
7145665cbf | ||
![]() |
6ad706aa88 | ||
![]() |
c977585e4c | ||
![]() |
a0df27c929 | ||
![]() |
d688ca4515 | ||
![]() |
53df0bf9a4 | ||
![]() |
99fc04b763 | ||
![]() |
afea42d517 | ||
![]() |
1ec672694a | ||
![]() |
d28a64e538 | ||
![]() |
77b0275572 | ||
![]() |
ba5b157f7e | ||
![]() |
4ab40ed6af | ||
![]() |
275d8250ea | ||
![]() |
5e79b39654 | ||
![]() |
738f721f3a | ||
![]() |
49709bb270 | ||
![]() |
ee5b102142 | ||
![]() |
5706a2452e | ||
![]() |
15a2338ff2 | ||
![]() |
bd9366e7fc | ||
![]() |
f691f03741 | ||
![]() |
d656978818 | ||
![]() |
18c38ed1f3 | ||
![]() |
61885a0eaa | ||
![]() |
6ad625b0c1 | ||
![]() |
c497ef9e81 | ||
![]() |
da62c2cac6 | ||
![]() |
979cc5cd93 | ||
![]() |
c9c8fb6501 | ||
![]() |
d9892e57bd | ||
![]() |
9420d3d0a5 | ||
![]() |
c124014115 | ||
![]() |
9eb67ba8ed | ||
![]() |
dde7c4a770 | ||
![]() |
8fdcde5f22 | ||
![]() |
b296354873 | ||
![]() |
adc2a215c1 | ||
![]() |
6d5fc19464 | ||
![]() |
50f8563c67 | ||
![]() |
f68d49cb9e | ||
![]() |
9018e5bc19 | ||
![]() |
9d8624f341 | ||
![]() |
839739fb71 | ||
![]() |
4ba5c957e0 | ||
![]() |
dbeab2a0c3 | ||
![]() |
10c8ca62d2 | ||
![]() |
a9faf1ff7b | ||
![]() |
4b56c05e65 | ||
![]() |
114cd6d4b6 | ||
![]() |
b0dd490ae1 | ||
![]() |
3769259c93 | ||
![]() |
5275fbd4ea | ||
![]() |
86039a89fc | ||
![]() |
2348955af5 | ||
![]() |
7baf9994bd | ||
![]() |
facc2bb28e | ||
![]() |
ba1e3405d6 | ||
![]() |
63a80bf2b9 | ||
![]() |
a23d0453a3 | ||
![]() |
bb4e1f426f | ||
![]() |
51caba694a | ||
![]() |
d59495a4db | ||
![]() |
32005ad2ab | ||
![]() |
50798d0a63 | ||
![]() |
aecf60f233 | ||
![]() |
c9853e9e3a | ||
![]() |
8df8381f51 | ||
![]() |
bf8bdf12df | ||
![]() |
49ea851da9 | ||
![]() |
fed2d81c44 | ||
![]() |
51ff4970ec | ||
![]() |
683eb5bf78 | ||
![]() |
cdf254816b | ||
![]() |
adce8fa7dd | ||
![]() |
5380f23dab | ||
![]() |
6cac7702e9 | ||
![]() |
85ae9d710c | ||
![]() |
da8aa01466 | ||
![]() |
7990bcf333 | ||
![]() |
2457f5ff22 | ||
![]() |
372a3dad83 | ||
![]() |
d0a5531ebc | ||
![]() |
e84d3a0f53 | ||
![]() |
6d7b4c8000 | ||
![]() |
d61f84ca7f | ||
![]() |
d85f4f2cce | ||
![]() |
f7df87621a | ||
![]() |
f009c6ec4a | ||
![]() |
89fbd4867e | ||
![]() |
c45a1d9984 | ||
![]() |
c531b8f020 | ||
![]() |
513319c1ec | ||
![]() |
587044cba1 | ||
![]() |
3593d995a9 | ||
![]() |
e84db8113a | ||
![]() |
2e7ccb42ac | ||
![]() |
dae08c5084 | ||
![]() |
cff284fdc3 | ||
![]() |
2d54cbc8fd | ||
![]() |
c399b8b135 | ||
![]() |
3700db6dd5 | ||
![]() |
c5c0948ae5 | ||
![]() |
bec2659bfb | ||
![]() |
03c50c54bb | ||
![]() |
0b73a1da00 | ||
![]() |
5a7af0dae2 | ||
![]() |
72ee7f3b00 | ||
![]() |
2cd9872b10 | ||
![]() |
e033967eee | ||
![]() |
316682f17b | ||
![]() |
30b438ff84 | ||
![]() |
5032388cc7 | ||
![]() |
9ad3f2813b | ||
![]() |
e2aa9adad7 | ||
![]() |
9786982c6e | ||
![]() |
83e186c00c | ||
![]() |
d40ff8c1c1 | ||
![]() |
2b79c23686 | ||
![]() |
736adbde23 | ||
![]() |
3901ae6ab1 | ||
![]() |
7d6d4f94ee | ||
![]() |
a624b6a8f4 | ||
![]() |
d5c8091e08 | ||
![]() |
ccd87001c8 | ||
![]() |
511148dbc3 | ||
![]() |
5e338062c5 | ||
![]() |
ae8dca8423 | ||
![]() |
1132fde45f | ||
![]() |
61787b54c3 | ||
![]() |
67431ad107 | ||
![]() |
2ca5405120 | ||
![]() |
983264d873 | ||
![]() |
7a430d6b43 | ||
![]() |
66b7e1f34b | ||
![]() |
5162c887df | ||
![]() |
5507b25d65 | ||
![]() |
d1882a3213 | ||
![]() |
cbd772873a | ||
![]() |
7a19d3c2be | ||
![]() |
c7cb5f9978 | ||
![]() |
d40c444d07 | ||
![]() |
0dfa5d0c7d | ||
![]() |
f8dfb5905f | ||
![]() |
bd9719918c | ||
![]() |
3c014a8f0e | ||
![]() |
d53dfcbccb | ||
![]() |
380e2879bc | ||
![]() |
534d3ca93e | ||
![]() |
3816db68aa | ||
![]() |
cb46a036aa | ||
![]() |
d733bdf1db | ||
![]() |
168b0ea9d4 | ||
![]() |
a479fef432 | ||
![]() |
7c05c8faac | ||
![]() |
54ec6daa2d | ||
![]() |
756fc48534 | ||
![]() |
3dc222e46c | ||
![]() |
91a791bfed | ||
![]() |
88e0549c33 | ||
![]() |
474cc60451 | ||
![]() |
69e8496c99 | ||
![]() |
1327acccad | ||
![]() |
8e868580e5 | ||
![]() |
58ca578f64 | ||
![]() |
377052c90c | ||
![]() |
584c504e25 | ||
![]() |
f015c00ecb | ||
![]() |
9073ca8128 | ||
![]() |
140b28b60d | ||
![]() |
8fce7fbec7 | ||
![]() |
0a52be2a04 | ||
![]() |
49694242d4 | ||
![]() |
da2a92fc5f | ||
![]() |
3db9de3b53 | ||
![]() |
eb78c6618b | ||
![]() |
4f027fe95a | ||
![]() |
9cef129f6b | ||
![]() |
30982b9e7b | ||
![]() |
9dea54a9d6 | ||
![]() |
3de904c963 | ||
![]() |
b2d01fdde6 | ||
![]() |
179f9b37f5 | ||
![]() |
ca0f2a0adf | ||
![]() |
17106721f0 | ||
![]() |
a2958f5a26 | ||
![]() |
b10454a00c | ||
![]() |
fc4458bfbb | ||
![]() |
932201fa23 | ||
![]() |
ed85d1f2a9 | ||
![]() |
e4a21a1493 | ||
![]() |
5e08b51fed | ||
![]() |
19cd33d35b | ||
![]() |
4c123d8e3b | ||
![]() |
dc7f5d6b84 | ||
![]() |
2c27a0f727 | ||
![]() |
e39b98ea51 | ||
![]() |
c1399947f4 | ||
![]() |
e76e130e66 | ||
![]() |
362d076b98 | ||
![]() |
101efdd2e7 | ||
![]() |
6b436955fc | ||
![]() |
bb0e26a7b4 | ||
![]() |
15e89bf0ef | ||
![]() |
ee324c68cb | ||
![]() |
3fdc3b6f82 | ||
![]() |
a9303901cf | ||
![]() |
9a5ef22f3a | ||
![]() |
41e91373d3 | ||
![]() |
670ad6e150 | ||
![]() |
46d1a0f5c1 | ||
![]() |
4c641b0fb2 | ||
![]() |
8971321083 | ||
![]() |
d04188a248 | ||
![]() |
372b91a362 | ||
![]() |
bfd0b645d0 | ||
![]() |
ed5af44c06 | ||
![]() |
735b536c04 | ||
![]() |
011c8b23fd | ||
![]() |
9dd47d932f | ||
![]() |
ac08fc5b40 | ||
![]() |
4f770a8995 | ||
![]() |
9f0147994b | ||
![]() |
a397602525 | ||
![]() |
39a4f22c1c | ||
![]() |
4e30f54295 | ||
![]() |
a8eac67c85 | ||
![]() |
2212923de0 | ||
![]() |
535408143a | ||
![]() |
7b8bcfad55 | ||
![]() |
2024031a7a | ||
![]() |
77a1af5ab8 | ||
![]() |
e69be4cf55 | ||
![]() |
fae5681858 | ||
![]() |
12488d3f2d | ||
![]() |
e09ea821bd | ||
![]() |
6dad457552 | ||
![]() |
3372db660c | ||
![]() |
6fb069cc50 | ||
![]() |
17db5f3793 | ||
![]() |
b74a967c92 | ||
![]() |
85124bcfcf | ||
![]() |
0e5e383425 | ||
![]() |
952dfac255 | ||
![]() |
e932f89a13 | ||
![]() |
dccd443e04 | ||
![]() |
344351b712 | ||
![]() |
0ff2c11432 | ||
![]() |
eea9160c4c | ||
![]() |
c0d132c79b | ||
![]() |
a4778fc970 | ||
![]() |
768f5a9255 | ||
![]() |
3a68a4abac | ||
![]() |
8a84f23eb2 | ||
![]() |
c44e671293 | ||
![]() |
6d93b7f78d | ||
![]() |
819f4ee587 | ||
![]() |
ea42b1eadb | ||
![]() |
138c8259ff | ||
![]() |
8d8275caa8 | ||
![]() |
1dd7b08f63 | ||
![]() |
0042f50b1b | ||
![]() |
3c68399eb0 | ||
![]() |
ec35eb2506 | ||
![]() |
cddf608cb9 | ||
![]() |
eaa641c21e | ||
![]() |
b88baac7e3 | ||
![]() |
de3e6f8a72 | ||
![]() |
9eebadce02 | ||
![]() |
ffd19ec853 | ||
![]() |
75b9bd82e8 | ||
![]() |
f7e2aa5c96 | ||
![]() |
8c1e27cd76 | ||
![]() |
f05b960494 | ||
![]() |
3ba7445d81 | ||
![]() |
c7798bc657 | ||
![]() |
1745053229 | ||
![]() |
dc5bc1fe5b | ||
![]() |
e8ebb5d6e3 | ||
![]() |
8910580d0b | ||
![]() |
ebb12bef4e | ||
![]() |
5a2f2229d2 | ||
![]() |
4262e3eb1f | ||
![]() |
392921f585 | ||
![]() |
d81baf21e9 | ||
![]() |
31e7aa61b1 | ||
![]() |
06556abb6d | ||
![]() |
1a77edcecb | ||
![]() |
bc31f0601c | ||
![]() |
3d0e9d399c | ||
![]() |
37cd4108d6 | ||
![]() |
24784b214f | ||
![]() |
2382b74526 | ||
![]() |
7296f11288 | ||
![]() |
0989c4c36b | ||
![]() |
d3a125aad0 | ||
![]() |
39378fce09 | ||
![]() |
a1486b0ee4 | ||
![]() |
7104c73c96 | ||
![]() |
486acb04fa | ||
![]() |
df232e1a8f | ||
![]() |
ef2fbc6093 | ||
![]() |
b1a7db7e28 | ||
![]() |
c58d282f3d | ||
![]() |
94e782038d | ||
![]() |
0bb5333d77 | ||
![]() |
5feca875ea | ||
![]() |
ab69057327 | ||
![]() |
a6e0d3e37c | ||
![]() |
90adede20b | ||
![]() |
5509ce5557 | ||
![]() |
067ddca6d3 | ||
![]() |
179f85cf49 | ||
![]() |
0dcc72dcd9 | ||
![]() |
afa8e5ad13 | ||
![]() |
ed292505b6 | ||
![]() |
bb07f30b4f | ||
![]() |
cf157ab360 | ||
![]() |
2a75f0733d | ||
![]() |
79d13c2686 | ||
![]() |
fef59104bc | ||
![]() |
c6ab10c1ba | ||
![]() |
3d708aeee6 | ||
![]() |
65fa66fb18 | ||
![]() |
8cda45f750 | ||
![]() |
9d2fabc7d3 | ||
![]() |
d3689b5683 | ||
![]() |
751a3da979 | ||
![]() |
ed855e1492 | ||
![]() |
816cd117f7 | ||
![]() |
fad28141fa | ||
![]() |
97f743a89e | ||
![]() |
da0804141b | ||
![]() |
1e4baa8439 | ||
![]() |
1d2250ef45 | ||
![]() |
24a06a7a88 | ||
![]() |
b44b5fa63e | ||
![]() |
19f3639121 | ||
![]() |
51060d9826 | ||
![]() |
b1b635c1d9 | ||
![]() |
caeb95cb10 | ||
![]() |
3705555f67 | ||
![]() |
3f4a36d2b5 | ||
![]() |
0b17346cff | ||
![]() |
f359ebeea5 | ||
![]() |
94845020e8 | ||
![]() |
93f84db542 | ||
![]() |
c48f85797f | ||
![]() |
b7065b7748 | ||
![]() |
2645c0824f | ||
![]() |
7f01f3cb20 | ||
![]() |
f90bf425ad | ||
![]() |
7f4f3434ec | ||
![]() |
5961db5aa7 | ||
![]() |
1f24f35fe9 | ||
![]() |
742e0c6a72 | ||
![]() |
6cdc78ed4f | ||
![]() |
00a5a2365e | ||
![]() |
41e74657d7 | ||
![]() |
0d3a759fdc | ||
![]() |
d1d78c1b14 | ||
![]() |
862f4ad60c | ||
![]() |
0d10d0971e | ||
![]() |
519169ee7b | ||
![]() |
499497c959 | ||
![]() |
5b26596c5c | ||
![]() |
bb6973033c | ||
![]() |
6f181c3815 | ||
![]() |
fd75bf83f5 | ||
![]() |
273bc9eb04 | ||
![]() |
a89b5b5333 | ||
![]() |
aa17548b53 | ||
![]() |
df06904a9c | ||
![]() |
1d8712a8d4 | ||
![]() |
61b608693b | ||
![]() |
63e52b1b48 | ||
![]() |
59910a461d | ||
![]() |
7579f25807 | ||
![]() |
f66a6b12cd | ||
![]() |
a5fa488d67 | ||
![]() |
689fb82a70 | ||
![]() |
f44f3cbc2a | ||
![]() |
08175152e0 | ||
![]() |
6f97d5d625 | ||
![]() |
6bd9867c3e | ||
![]() |
41dceec63d | ||
![]() |
a5f151602b | ||
![]() |
04f6d0568e | ||
![]() |
c92789100c | ||
![]() |
c9b72d5b27 | ||
![]() |
1ee9e88809 | ||
![]() |
039a679ccb | ||
![]() |
5d52f88c9c | ||
![]() |
4cdfe27c8f | ||
![]() |
9a406757f5 | ||
![]() |
66d252bc2b | ||
![]() |
e2dfdcdabd | ||
![]() |
d2701877c0 | ||
![]() |
6fd9c065dc | ||
![]() |
61f01f35ae | ||
![]() |
581a2ca341 | ||
![]() |
5423e22aeb | ||
![]() |
1b10046e1a | ||
![]() |
0ae59b7de7 | ||
![]() |
5cc5c877a5 | ||
![]() |
2d81bdbeb6 | ||
![]() |
4d8f1e3e4b | ||
![]() |
552cfe75f5 | ||
![]() |
b1590068a7 | ||
![]() |
4ef00fe6f9 | ||
![]() |
6062ba36f2 | ||
![]() |
226994a6df | ||
![]() |
56c757561f | ||
![]() |
c4b2352c6c | ||
![]() |
b7b52fd04d | ||
![]() |
8c3bfcac3b | ||
![]() |
901b32ce16 | ||
![]() |
7481624273 | ||
![]() |
a52b610eff | ||
![]() |
5813244ff8 | ||
![]() |
7678386138 | ||
![]() |
c0a2108c25 | ||
![]() |
1698210ead | ||
![]() |
dfcf3f116b | ||
![]() |
2ba8946cac | ||
![]() |
59dfab2d8b | ||
![]() |
801c392e0c | ||
![]() |
4cc0320ed0 | ||
![]() |
83311c694c | ||
![]() |
fd285bfc4e | ||
![]() |
b69755b417 | ||
![]() |
5e92674ec4 | ||
![]() |
bd6864fe1f | ||
![]() |
ff3f12a350 | ||
![]() |
15aa35a809 | ||
![]() |
5255fd1a6c | ||
![]() |
5853180af8 | ||
![]() |
49c5102b40 | ||
![]() |
621ae93392 | ||
![]() |
a334785ac7 | ||
![]() |
9f3507e726 | ||
![]() |
270a2c7fa3 | ||
![]() |
41fd548e7a | ||
![]() |
048af05db9 | ||
![]() |
5bfabc8115 | ||
![]() |
95f231612b | ||
![]() |
f45a9836b2 | ||
![]() |
443f7d59f9 | ||
![]() |
46e60ce966 | ||
![]() |
f76fe1f16d | ||
![]() |
8f8856dcb8 | ||
![]() |
c4d8f62673 | ||
![]() |
8178b4e98b | ||
![]() |
a9c97110f9 | ||
![]() |
a9c4a25fb1 | ||
![]() |
439d68b908 | ||
![]() |
dac7d5e73b | ||
![]() |
14cb862790 | ||
![]() |
89dfabdc9f | ||
![]() |
7ae5376573 | ||
![]() |
955f99b6a4 | ||
![]() |
a40284bec4 | ||
![]() |
c92fe83c40 | ||
![]() |
1508d13cf3 | ||
![]() |
8770ee3a99 | ||
![]() |
b68f772a15 | ||
![]() |
6a5dc12732 | ||
![]() |
8a9da6ab1b | ||
![]() |
966b845e39 | ||
![]() |
aa986ef1a6 | ||
![]() |
0379739ac9 | ||
![]() |
5be7c6cbd8 | ||
![]() |
3d3ffaf5cb | ||
![]() |
243fdb60d0 | ||
![]() |
86c8949d9c | ||
![]() |
ce4730f9d7 | ||
![]() |
ae51a90181 | ||
![]() |
06dfcc1a45 | ||
![]() |
6ffa454979 | ||
![]() |
574ff84967 | ||
![]() |
5f2d445d00 | ||
![]() |
d68e0d3e39 | ||
![]() |
7ea62c5ce4 | ||
![]() |
276ef10dd5 | ||
![]() |
e35afe475a | ||
![]() |
d2bb86407f | ||
![]() |
f2e63495e7 | ||
![]() |
244ee64c30 | ||
![]() |
f1a92de4e6 | ||
![]() |
4c746ec653 | ||
![]() |
401906b88e | ||
![]() |
dbec2ed350 | ||
![]() |
5c8db43447 | ||
![]() |
34e1100ae2 | ||
![]() |
a2787bb09e | ||
![]() |
376a2e19ea | ||
![]() |
b2a3a0411c | ||
![]() |
387f590d9c | ||
![]() |
cefd786685 | ||
![]() |
907ab8bdef | ||
![]() |
4fd56a11c8 | ||
![]() |
909738e6f6 | ||
![]() |
3003812477 | ||
![]() |
4c7bfedf55 | ||
![]() |
dd1523c72e | ||
![]() |
e7299eb0fb | ||
![]() |
f7ba8f0e41 | ||
![]() |
a975b6ab94 | ||
![]() |
c81e5fe123 | ||
![]() |
92a5fe04c6 | ||
![]() |
c30d13b97c | ||
![]() |
9f842f0dec | ||
![]() |
a013acb632 | ||
![]() |
d717c78ea0 | ||
![]() |
a87d07f4d2 | ||
![]() |
30c7a0b947 | ||
![]() |
4e6f8dd57a | ||
![]() |
03fe21d020 | ||
![]() |
9a608a034d | ||
![]() |
0858a879e5 | ||
![]() |
2ff408c8c8 | ||
![]() |
333f384bc8 | ||
![]() |
fc07b95d67 | ||
![]() |
af5d96e2cc | ||
![]() |
011ac8df44 | ||
![]() |
dd063409e3 | ||
![]() |
f2feb34927 | ||
![]() |
ed96852fdb | ||
![]() |
d09b8ba9cf | ||
![]() |
f809052193 | ||
![]() |
263b55fda8 | ||
![]() |
20b401601c | ||
![]() |
b3626f0208 | ||
![]() |
f9e6b3e162 | ||
![]() |
98edc27088 | ||
![]() |
8ac310bdfd | ||
![]() |
46e15e57f7 | ||
![]() |
a22c8248a3 | ||
![]() |
6980a87a08 | ||
![]() |
d2d14ce4bb | ||
![]() |
a99cd47081 | ||
![]() |
ac077302f1 | ||
![]() |
7697254fe0 | ||
![]() |
6a236099c8 | ||
![]() |
adf9172888 | ||
![]() |
83aba057c2 | ||
![]() |
cefd085f87 | ||
![]() |
f0899d35c8 | ||
![]() |
2a5e37bc8b | ||
![]() |
8ed4b77f1f | ||
![]() |
7189da15f2 | ||
![]() |
7973332035 | ||
![]() |
604c21ffd7 | ||
![]() |
63204e8edf | ||
![]() |
946b77115e | ||
![]() |
168c1d806b | ||
![]() |
d8f71b513c | ||
![]() |
16564fd9e8 | ||
![]() |
6169090c13 | ||
![]() |
7f9e313ec1 | ||
![]() |
4261301dfb | ||
![]() |
17e52c6019 | ||
![]() |
9eaf40f7a8 | ||
![]() |
69750e11d4 | ||
![]() |
6449b6c01f | ||
![]() |
07d7c54d91 | ||
![]() |
4b0d11976f | ||
![]() |
5bfae7241c | ||
![]() |
a23cf58d47 | ||
![]() |
ba8ebcbd68 | ||
![]() |
c14c2bbf35 | ||
![]() |
76a85d26c8 | ||
![]() |
e507fa30df | ||
![]() |
6208d5f5c2 | ||
![]() |
e7bc13a0be | ||
![]() |
81f30218cf | ||
![]() |
15ff226a5b | ||
![]() |
af91f4e203 | ||
![]() |
9b2f38261b | ||
![]() |
bc64b6f004 | ||
![]() |
e8c769d8e6 | ||
![]() |
68d690b6b9 | ||
![]() |
ebe6ebe3f3 | ||
![]() |
3f44b97b5f | ||
![]() |
a2e0dd829c | ||
![]() |
a2eb249766 | ||
![]() |
339814f3bc | ||
![]() |
959c902748 | ||
![]() |
05a8dcf2be | ||
![]() |
b59522f0b3 | ||
![]() |
b544243164 | ||
![]() |
283843677e | ||
![]() |
cfb18e2b6c | ||
![]() |
520a1ab586 | ||
![]() |
3388d5fe31 | ||
![]() |
a33fe60bbe | ||
![]() |
da5445ac87 | ||
![]() |
e99bf7f16d | ||
![]() |
e1cdaf1f28 | ||
![]() |
3bea06f906 | ||
![]() |
e28bd3c4d6 | ||
![]() |
93cd2b724e | ||
![]() |
b01f3b9b05 | ||
![]() |
6cea7d7fa3 | ||
![]() |
13ea8296af | ||
![]() |
c53d21965a | ||
![]() |
6e13ac4d5f | ||
![]() |
b9ed4c3325 | ||
![]() |
faf1c836eb | ||
![]() |
d5bd212d00 | ||
![]() |
5f7a267e65 | ||
![]() |
10067db6b0 | ||
![]() |
11a433ed1c | ||
![]() |
f1bf489203 | ||
![]() |
b13ac5fcbf | ||
![]() |
4e819f1b3c | ||
![]() |
d490738d5b | ||
![]() |
4a7ec0f9a8 | ||
![]() |
9195d6a318 | ||
![]() |
5132854603 | ||
![]() |
4b69aa5c10 | ||
![]() |
13b6caa608 | ||
![]() |
1600255c26 | ||
![]() |
a302506095 | ||
![]() |
8ada1b93bb | ||
![]() |
7bae89770c | ||
![]() |
bd7db225e8 | ||
![]() |
933e4e30d8 | ||
![]() |
ceee649086 | ||
![]() |
7bb043ce9b | ||
![]() |
bc2f640a95 | ||
![]() |
29c59c96bd | ||
![]() |
5e7981aa07 | ||
![]() |
2885ea8da2 | ||
![]() |
8e3c066b27 | ||
![]() |
e819f649aa | ||
![]() |
c67d63d88a | ||
![]() |
de4053db83 | ||
![]() |
57f7253610 | ||
![]() |
8d6f0d49c6 | ||
![]() |
a5dc315a64 | ||
![]() |
0569714439 | ||
![]() |
e14f2d0c84 | ||
![]() |
db7be1a1db | ||
![]() |
2c81893c76 | ||
![]() |
d071c09bf7 | ||
![]() |
e8a022ac9a | ||
![]() |
4ed10f782b | ||
![]() |
3870acbdfd | ||
![]() |
b03ecf584c | ||
![]() |
036426e230 | ||
![]() |
b74406d82c | ||
![]() |
02c34f9908 | ||
![]() |
6d61ae5cbe | ||
![]() |
8d829a97b2 | ||
![]() |
6723087a6e | ||
![]() |
8d32ca32c2 | ||
![]() |
a82cd18d9a | ||
![]() |
b2a5b428a2 | ||
![]() |
37f05617a5 | ||
![]() |
4cde56906e | ||
![]() |
81599155e8 | ||
![]() |
471e5b1975 | ||
![]() |
9c43fa0644 | ||
![]() |
b7d7431d05 | ||
![]() |
b18dcd69f2 | ||
![]() |
92ac337263 | ||
![]() |
2ffa9a5e6e | ||
![]() |
dcdeb23cc3 | ||
![]() |
0efd7130f0 | ||
![]() |
234b57b00c | ||
![]() |
af88ddae8c | ||
![]() |
666654a5ef | ||
![]() |
8a3fb4885e | ||
![]() |
e94134def6 | ||
![]() |
410c8b913f | ||
![]() |
5eb0877381 | ||
![]() |
180fb3f4d6 | ||
![]() |
64deec434a | ||
![]() |
dd4a1107ed | ||
![]() |
72dcf04690 | ||
![]() |
6836ded397 | ||
![]() |
7b5932738e | ||
![]() |
f9ffc91ace | ||
![]() |
967603abcc | ||
![]() |
6bbc9001e9 | ||
![]() |
f5d868e2d3 | ||
![]() |
87994cc2a0 | ||
![]() |
8d7bc15f88 | ||
![]() |
85717dcdd8 | ||
![]() |
2a0fad33d6 | ||
![]() |
e2d3518f04 | ||
![]() |
d96ba346d2 | ||
![]() |
ec20eaee44 | ||
![]() |
9524d6d430 | ||
![]() |
2dc167cbb9 | ||
![]() |
274bc480b4 | ||
![]() |
1fffd116e5 | ||
![]() |
d255a3e3c3 | ||
![]() |
4718062b4c | ||
![]() |
92b770326f | ||
![]() |
5f685bf069 | ||
![]() |
f9aaefd107 | ||
![]() |
7ecd88719e | ||
![]() |
13ca6c14f1 | ||
![]() |
2df557dff7 | ||
![]() |
0bebecc968 | ||
![]() |
20b9cbf5df | ||
![]() |
e266d809e1 | ||
![]() |
0c0a1c0fd5 | ||
![]() |
81e50e0bf5 | ||
![]() |
b76f1175c5 | ||
![]() |
2132759889 | ||
![]() |
f4d621ca6e | ||
![]() |
1597e46fe8 | ||
![]() |
be076c98d4 | ||
![]() |
4e820ff795 | ||
![]() |
54255688f5 | ||
![]() |
ee214cb886 | ||
![]() |
fcb98c6d3c | ||
![]() |
a5399b473f | ||
![]() |
1e7b2cb6c9 | ||
![]() |
90b65da7e4 | ||
![]() |
5c1983644e | ||
![]() |
967e04534e | ||
![]() |
bb88e1daf8 | ||
![]() |
1e7b922e44 | ||
![]() |
cd2c1361c5 | ||
![]() |
4f92b738b5 | ||
![]() |
283d883e5a | ||
![]() |
515eec3d1a | ||
![]() |
d7fa527605 | ||
![]() |
b698b256f1 | ||
![]() |
c271779092 | ||
![]() |
5b542d6c79 | ||
![]() |
b15352ceb0 | ||
![]() |
248977c518 | ||
![]() |
c1898c745e | ||
![]() |
2102163f2f | ||
![]() |
26797a868b | ||
![]() |
6a978972df | ||
![]() |
b397a102c1 | ||
![]() |
9cc9ea8d40 | ||
![]() |
265174bd5e | ||
![]() |
424cc169bb | ||
![]() |
456d059982 | ||
![]() |
32de0745e4 | ||
![]() |
8bd1c7ff31 | ||
![]() |
bbcd7d6fae | ||
![]() |
a941b878ea | ||
![]() |
d07c5cf69c | ||
![]() |
06dac2b448 | ||
![]() |
743cea91c1 | ||
![]() |
0e02397915 | ||
![]() |
e06ca8cf59 | ||
![]() |
380e266440 | ||
![]() |
9ebef52038 | ||
![]() |
bbfc63a621 | ||
![]() |
3d55c2976a | ||
![]() |
4568ebc913 | ||
![]() |
aa64f6515c | ||
![]() |
df570a1d71 | ||
![]() |
25bfd2983e | ||
![]() |
cb2e9fb1f4 | ||
![]() |
729c18bd54 | ||
![]() |
e59bf129e0 | ||
![]() |
f87c9ee73e | ||
![]() |
516c42892f | ||
![]() |
dc86771502 | ||
![]() |
c26c60ccd1 | ||
![]() |
4d335c25bf | ||
![]() |
3991d76013 | ||
![]() |
8bf0001441 | ||
![]() |
5ec1cae50e | ||
![]() |
c69b3cb917 | ||
![]() |
3b16651ae1 | ||
![]() |
0e01b79506 | ||
![]() |
b7dc6f0bba | ||
![]() |
a0d824e344 | ||
![]() |
275e029fc9 | ||
![]() |
60e19ce502 | ||
![]() |
22d19ab575 | ||
![]() |
3fd562368c | ||
![]() |
9096a14801 | ||
![]() |
43b09077c5 | ||
![]() |
61e21d7ded | ||
![]() |
9352f2566c | ||
![]() |
8dd4a6b69e | ||
![]() |
624ae34c3f | ||
![]() |
fbd6e83a67 | ||
![]() |
9283b03f3e | ||
![]() |
46e0a0306c | ||
![]() |
66e1975e24 | ||
![]() |
f94b159704 | ||
![]() |
987fdca9db | ||
![]() |
6a4a24e2d7 | ||
![]() |
3d5dfea734 | ||
![]() |
07a9178009 | ||
![]() |
7603de279a | ||
![]() |
60c1fa840b | ||
![]() |
dbbd359984 | ||
![]() |
a6a9314bdb | ||
![]() |
1a5026b4e8 | ||
![]() |
2aaf74cecd | ||
![]() |
c718379722 | ||
![]() |
fd5303ecf0 | ||
![]() |
3cd36c4b21 | ||
![]() |
ad7df0f70a | ||
![]() |
7ecbd4303e | ||
![]() |
68278c796d | ||
![]() |
14a5d177e1 | ||
![]() |
96a7f0a3f0 | ||
![]() |
4be37a986e | ||
![]() |
7ceb30c000 | ||
![]() |
2b5c69c451 | ||
![]() |
b0d6a7f07b | ||
![]() |
c3d37894aa | ||
![]() |
bf934c96c9 | ||
![]() |
c368df39b0 | ||
![]() |
7685a1e98e | ||
![]() |
f5cfdd80a7 | ||
![]() |
c1d882df5b | ||
![]() |
05fb3692f7 | ||
![]() |
3fc0979f63 | ||
![]() |
ad9c5acba9 | ||
![]() |
53334af9e4 | ||
![]() |
70348e159f | ||
![]() |
48f471ef7c | ||
![]() |
403a81bdb5 | ||
![]() |
835e72b247 | ||
![]() |
4948380069 | ||
![]() |
e21ad7dfaf | ||
![]() |
da76eb3962 | ||
![]() |
a6d4505d76 | ||
![]() |
f18f447575 | ||
![]() |
7f8f9b878f | ||
![]() |
3e1b03838e | ||
![]() |
eef45a73c9 | ||
![]() |
eda4d1b753 | ||
![]() |
80179a373d | ||
![]() |
8a8de046f8 | ||
![]() |
ac6f9ea17d | ||
![]() |
0c74cde4e6 | ||
![]() |
4cbcd41bf2 | ||
![]() |
1b66719357 | ||
![]() |
3bca714bb2 | ||
![]() |
9c2f3dac71 | ||
![]() |
3149aee3cc | ||
![]() |
840605cc75 | ||
![]() |
5929b330e4 | ||
![]() |
0cac04d3dd | ||
![]() |
281469ebd1 | ||
![]() |
a87e0d0e46 | ||
![]() |
47fd9a421f | ||
![]() |
ab2127faef | ||
![]() |
021c8fe15a | ||
![]() |
e6629fa5d1 | ||
![]() |
a900775ada | ||
![]() |
28a23c1f13 | ||
![]() |
301b1bb941 | ||
![]() |
96fd97b7a9 | ||
![]() |
6f53f7d007 | ||
![]() |
5cb542e0d9 | ||
![]() |
4fbdd1fc8c | ||
![]() |
5f173bdab3 | ||
![]() |
bf9e19cc21 | ||
![]() |
af640ac4d4 | ||
![]() |
ebfe702df6 | ||
![]() |
4500757acd | ||
![]() |
15fdb5c768 | ||
![]() |
1f18d8d677 | ||
![]() |
e468c51668 | ||
![]() |
4bc0abac3c | ||
![]() |
e965ab748b | ||
![]() |
4c64583377 | ||
![]() |
a7b3ec382d | ||
![]() |
b16a949e53 | ||
![]() |
37a300b105 | ||
![]() |
8d05268a92 | ||
![]() |
ba12aed572 | ||
![]() |
c287a15996 | ||
![]() |
9b307172d2 | ||
![]() |
855850f2a5 | ||
![]() |
6e729b6179 | ||
![]() |
3742aa3158 | ||
![]() |
acbdec0507 | ||
![]() |
343479d002 | ||
![]() |
c325e29200 | ||
![]() |
b811574d47 | ||
![]() |
63faaaeda4 | ||
![]() |
6f2875d3c6 | ||
![]() |
6ac88eab0f | ||
![]() |
0786ddc5de | ||
![]() |
6e891ab1be | ||
![]() |
414d290649 | ||
![]() |
4973d23ef8 | ||
![]() |
48131547a1 | ||
![]() |
2d259670c6 | ||
![]() |
da333382e1 | ||
![]() |
e248179333 | ||
![]() |
87fd4eeaa5 | ||
![]() |
e801d53e61 | ||
![]() |
902102ef24 | ||
![]() |
ffd5a48b1f | ||
![]() |
0fad31a5c6 | ||
![]() |
2300141b84 | ||
![]() |
1f0ffa2a33 | ||
![]() |
cb4df1ee4d | ||
![]() |
0e250469d4 | ||
![]() |
b84a59b3cd | ||
![]() |
f6273e2250 | ||
![]() |
3c9b3ddf5c | ||
![]() |
d9252f53a3 | ||
![]() |
59e0f7fde6 | ||
![]() |
8dbd2da593 | ||
![]() |
d1aae81e44 | ||
![]() |
bf59f6b1ee | ||
![]() |
70892c4813 | ||
![]() |
b5c63c9d7e | ||
![]() |
d0cb9326f5 | ||
![]() |
886a69f665 | ||
![]() |
0c449f7b24 | ||
![]() |
1a262a1233 | ||
![]() |
67b25cb9e6 | ||
![]() |
66ddd24f7d | ||
![]() |
b56b70c312 | ||
![]() |
ab00d875b8 | ||
![]() |
8208c9b23b | ||
![]() |
6071c7c9d1 | ||
![]() |
216a542bfb | ||
![]() |
9bcf9502ef | ||
![]() |
1167716b7b | ||
![]() |
4df855f37c | ||
![]() |
5a7a87846b | ||
![]() |
91e4cf3744 | ||
![]() |
6354fd8ae9 | ||
![]() |
ac6ece75c9 | ||
![]() |
d91ca01dff | ||
![]() |
6d0640211a | ||
![]() |
f9b1de2e7d | ||
![]() |
bc9f1e2533 | ||
![]() |
df765431e4 | ||
![]() |
f61db3f2c1 | ||
![]() |
5efd29e54e | ||
![]() |
790f3c4861 | ||
![]() |
8247a8f2d0 | ||
![]() |
8b1cbb470d | ||
![]() |
067044eacb | ||
![]() |
3e0b76d430 | ||
![]() |
585de092b4 | ||
![]() |
56007ff3a2 | ||
![]() |
df37e245d0 | ||
![]() |
2faccf5374 | ||
![]() |
7aec65b48a | ||
![]() |
2e00ae4cdd | ||
![]() |
3973f1022d | ||
![]() |
3d92dc861f | ||
![]() |
9dfea97080 | ||
![]() |
b500c48fa0 | ||
![]() |
4e8677a911 | ||
![]() |
b525eec82b | ||
![]() |
45cec645de | ||
![]() |
2953080339 | ||
![]() |
7c9214cb92 | ||
![]() |
4075d2c891 | ||
![]() |
8365133d6c | ||
![]() |
fc0510fc6f | ||
![]() |
e7cffc378f | ||
![]() |
2faa7ce749 | ||
![]() |
d35bc0e636 | ||
![]() |
d2bf2e7631 | ||
![]() |
a126477e86 | ||
![]() |
d68c99542c | ||
![]() |
5472cec885 | ||
![]() |
a068209f64 | ||
![]() |
57fd321f85 | ||
![]() |
3135e146f9 | ||
![]() |
7bc6bd3095 | ||
![]() |
bb8c712ffa | ||
![]() |
73583fdea1 | ||
![]() |
ebf0179d61 | ||
![]() |
ececc4fda0 | ||
![]() |
1151ff1b26 | ||
![]() |
75f703326f | ||
![]() |
77fafbe578 | ||
![]() |
0c2b01dbb4 | ||
![]() |
96e3b7db10 | ||
![]() |
ac99be3bb7 | ||
![]() |
48b91fa31a | ||
![]() |
0e22875b8b | ||
![]() |
76fb2afc40 | ||
![]() |
fe246cc060 | ||
![]() |
8b4b209861 | ||
![]() |
af8edb4ff3 | ||
![]() |
f2b7cfa7f7 | ||
![]() |
f65fba1869 | ||
![]() |
9ae95d7bbb | ||
![]() |
229cb20f68 | ||
![]() |
893c2f2d90 | ||
![]() |
0f64c5a806 | ||
![]() |
eef6d55877 | ||
![]() |
01e1bc0cb8 | ||
![]() |
99de40b73e | ||
![]() |
f0de20e747 | ||
![]() |
decb673f28 | ||
![]() |
76d011c4b2 | ||
![]() |
3b47409532 | ||
![]() |
df00b0e345 | ||
![]() |
4009e6a85b | ||
![]() |
7ffa8c4c2e | ||
![]() |
22d08c62f1 | ||
![]() |
1b796fd2d9 | ||
![]() |
bd2593a771 | ||
![]() |
7aeb1ba1d5 | ||
![]() |
0734596eaa | ||
![]() |
6b9168c1e8 | ||
![]() |
c1b1280182 | ||
![]() |
f795dd9bfb | ||
![]() |
6bb87ee6d7 | ||
![]() |
a8c61532d2 | ||
![]() |
e5417fdede | ||
![]() |
a7cae463b2 | ||
![]() |
72f088ac05 | ||
![]() |
cd900449af | ||
![]() |
cc8e02edda | ||
![]() |
787e3163f8 | ||
![]() |
767467b9ae | ||
![]() |
c0777279fe | ||
![]() |
ad70e7dfb3 | ||
![]() |
cc4b7bc21b | ||
![]() |
bd84864288 | ||
![]() |
17b1282817 | ||
![]() |
5f0049bfea | ||
![]() |
d3ebc5b161 | ||
![]() |
eb0645f185 | ||
![]() |
32a91add34 | ||
![]() |
fc31fa0eeb | ||
![]() |
4ec627c0b1 | ||
![]() |
6482429091 | ||
![]() |
ddabba5f89 | ||
![]() |
262c48409b | ||
![]() |
e9928b7577 | ||
![]() |
f3afd18b76 | ||
![]() |
203f79a121 | ||
![]() |
19bde653c1 | ||
![]() |
8f0de303f3 | ||
![]() |
c1ba9d37ab | ||
![]() |
1d5aee6ef8 | ||
![]() |
665d5f7317 | ||
![]() |
9057100182 | ||
![]() |
b074e08f34 | ||
![]() |
d3f442a209 | ||
![]() |
c1212e3d8c | ||
![]() |
5888a1ad5b | ||
![]() |
caea17ccb2 | ||
![]() |
475c16f627 | ||
![]() |
1597dc078d | ||
![]() |
b576a2fd40 | ||
![]() |
ce6cdd8f20 | ||
![]() |
16d06705b3 | ||
![]() |
7015bdfa48 | ||
![]() |
a69943085a | ||
![]() |
45fa9e5ae9 | ||
![]() |
1316f4d338 | ||
![]() |
f4c70a3c43 | ||
![]() |
33c2caa0c8 | ||
![]() |
3674e90c93 | ||
![]() |
0a39ee3bbe | ||
![]() |
8636a8b228 | ||
![]() |
f5c0570533 | ||
![]() |
b7c15f7b70 | ||
![]() |
298863c701 | ||
![]() |
f90928507a | ||
![]() |
71ff98d61d | ||
![]() |
1f4be5baad | ||
![]() |
cff7754735 | ||
![]() |
0fb3e45ca5 | ||
![]() |
1806db31d1 | ||
![]() |
7c1f3a7594 | ||
![]() |
cc6321baf7 | ||
![]() |
3c3c9b22a9 | ||
![]() |
73cb6c9204 | ||
![]() |
25354c03a5 | ||
![]() |
18cecf124f | ||
![]() |
2f1b1d8b80 | ||
![]() |
c3653e0eaa | ||
![]() |
4a3f8f3004 | ||
![]() |
6cfaebf043 | ||
![]() |
e0b37253c8 | ||
![]() |
b9697f5227 | ||
![]() |
6553148de9 | ||
![]() |
387ed7e072 | ||
![]() |
289c22cc4a | ||
![]() |
4163402f5e | ||
![]() |
f6a46055aa | ||
![]() |
7751bb64cb | ||
![]() |
662e9c53d9 | ||
![]() |
45435a8789 | ||
![]() |
e31090cf4b | ||
![]() |
2cc3278791 | ||
![]() |
693f7731f9 | ||
![]() |
02f4d3bd2d | ||
![]() |
b6869d643e | ||
![]() |
abec2442b7 | ||
![]() |
64a89c8d33 | ||
![]() |
76f172b080 | ||
![]() |
a5363a539b | ||
![]() |
b5161325ef | ||
![]() |
a8f2002a9b | ||
![]() |
96ee0f5647 | ||
![]() |
c2e8790df3 | ||
![]() |
03ab73d92e | ||
![]() |
56971f9ed9 | ||
![]() |
7f51210672 | ||
![]() |
dd3c4d7096 | ||
![]() |
9701e5e0ff | ||
![]() |
da40383cf4 | ||
![]() |
8e94947ed9 | ||
![]() |
c01a03e93d | ||
![]() |
ca0cd42d7a | ||
![]() |
01c9c19536 | ||
![]() |
1b9d1240eb | ||
![]() |
d2dc4fae3a | ||
![]() |
e434ecdaca | ||
![]() |
569a67327c | ||
![]() |
146824badc | ||
![]() |
eaa66f85f6 | ||
![]() |
e4eb82b738 | ||
![]() |
969a6ab24a | ||
![]() |
7d59060dc6 | ||
![]() |
308812a82e | ||
![]() |
fc26becba4 | ||
![]() |
02a2dbef69 | ||
![]() |
013cc1dee4 | ||
![]() |
6d0f2c1b82 | ||
![]() |
2cccc02e76 | ||
![]() |
356aa6521b | ||
![]() |
cf323a3d55 | ||
![]() |
6bab3c374c | ||
![]() |
570e8cec9e | ||
![]() |
bf810fa8d3 | ||
![]() |
66dfb2813c | ||
![]() |
95a8987844 | ||
![]() |
9fd2df6e30 | ||
![]() |
7f707b2a6f | ||
![]() |
5406310f3e | ||
![]() |
b21cc70dd7 | ||
![]() |
4a5d9d4b78 | ||
![]() |
1e1b162cbe | ||
![]() |
b1bc294955 | ||
![]() |
01ab0583f5 | ||
![]() |
786dfc7fb8 | ||
![]() |
061abe6004 | ||
![]() |
3e3ef76808 | ||
![]() |
7067cc7da4 | ||
![]() |
e6bbecb02d | ||
![]() |
b70196653f | ||
![]() |
9508aa7713 | ||
![]() |
1ce33aa38d | ||
![]() |
0fa436c373 | ||
![]() |
296935b0d7 | ||
![]() |
1c25bbe773 | ||
![]() |
c8d97e5594 | ||
![]() |
e426a52a87 | ||
![]() |
faa796feb9 | ||
![]() |
cdc38ace39 | ||
![]() |
4043377377 | ||
![]() |
c226b4d00a | ||
![]() |
19c9e0a0c2 | ||
![]() |
ef9a0c8d3d | ||
![]() |
d1ad4dd561 | ||
![]() |
b92863b024 | ||
![]() |
91fda7ee81 | ||
![]() |
8a4407ef72 | ||
![]() |
a8beeff422 | ||
![]() |
eda83cc7ed | ||
![]() |
aea3c7d6e8 | ||
![]() |
24028747d3 | ||
![]() |
5bd682b59d | ||
![]() |
969027e3f2 | ||
![]() |
019e38a746 | ||
![]() |
1f7a648057 | ||
![]() |
c17b4bdaeb | ||
![]() |
634519e891 | ||
![]() |
bd42f677b4 | ||
![]() |
75a8b83946 | ||
![]() |
e600fe97a3 | ||
![]() |
d1520cf08d | ||
![]() |
f9169eac96 | ||
![]() |
f8cbd6301e | ||
![]() |
b86f6cae03 | ||
![]() |
9e95f80d94 | ||
![]() |
c7b0132a78 | ||
![]() |
8206d509fc | ||
![]() |
3fe67dba8b | ||
![]() |
c0309ee367 | ||
![]() |
17ec79ccfc | ||
![]() |
a5ba7cadf7 | ||
![]() |
2581c9cfc8 | ||
![]() |
068558accd | ||
![]() |
5562ea4566 | ||
![]() |
f82840f1ea | ||
![]() |
bb93d3e6c8 | ||
![]() |
19a27ded86 | ||
![]() |
5614719e0a | ||
![]() |
7492330721 | ||
![]() |
9c86c4f170 | ||
![]() |
e6bddc66ef | ||
![]() |
40551de313 | ||
![]() |
ef3b67757a | ||
![]() |
68658400be | ||
![]() |
7ff9bffb0b | ||
![]() |
6bfa0ee13b | ||
![]() |
7a764a2996 | ||
![]() |
10573c6f2b | ||
![]() |
0aaf9e400f | ||
![]() |
a39f726643 | ||
![]() |
2e9a8c4fc0 | ||
![]() |
fae9cbc8e6 | ||
![]() |
d248d5dc92 | ||
![]() |
164044c070 | ||
![]() |
dd6ea5f3c8 | ||
![]() |
983aed4268 | ||
![]() |
520a7bca93 | ||
![]() |
58ee2386d7 | ||
![]() |
8f6d20c1a3 | ||
![]() |
9995ca1547 | ||
![]() |
1b3497c9c4 | ||
![]() |
a2ef74902f | ||
![]() |
7db3781abf | ||
![]() |
9e929bd709 | ||
![]() |
3531710dc6 | ||
![]() |
7f31d892ac | ||
![]() |
6bea2c387d | ||
![]() |
c33cbae7cc | ||
![]() |
1e7b368ccf | ||
![]() |
b4ceadce1c | ||
![]() |
49f9bc716a | ||
![]() |
5f25351d48 | ||
![]() |
ff1a084fa3 | ||
![]() |
2fd6a31f02 | ||
![]() |
ecff6b5850 | ||
![]() |
c92b4b12c8 | ||
![]() |
10f8468637 | ||
![]() |
50ded8da59 | ||
![]() |
b1481b8e54 | ||
![]() |
74048f772e | ||
![]() |
a1762a6f9b | ||
![]() |
7e1aa8a5cd | ||
![]() |
8f6dfe29da | ||
![]() |
582ab21bc3 | ||
![]() |
f352d6db81 | ||
![]() |
1a8f86cc0b | ||
![]() |
cdf3636ae7 | ||
![]() |
ab36ab57e4 | ||
![]() |
2cfd59cb30 | ||
![]() |
542a9d2529 | ||
![]() |
493175e6fd | ||
![]() |
b6e6a2c36e | ||
![]() |
a265574821 | ||
![]() |
d51847103d | ||
![]() |
6712ff6fa2 | ||
![]() |
b462351933 | ||
![]() |
888a0c022e | ||
![]() |
11667f07c5 | ||
![]() |
2483dbc694 | ||
![]() |
d2ba9806f3 | ||
![]() |
5932b86af4 | ||
![]() |
71d3e4c317 | ||
![]() |
ea1ff23f36 | ||
![]() |
8587d49979 | ||
![]() |
506ed7f43f | ||
![]() |
265fb6bd1d | ||
![]() |
e58d5d46c1 | ||
![]() |
59926daf7f | ||
![]() |
536e1923b4 | ||
![]() |
8852f2c0ee | ||
![]() |
39f4018d87 | ||
![]() |
dffee135f8 | ||
![]() |
2efc1f5686 | ||
![]() |
9a15b2be43 | ||
![]() |
5ab832ba87 | ||
![]() |
2541a943ce | ||
![]() |
bf69683df6 | ||
![]() |
d2a3eefcd0 | ||
![]() |
10b90aa2d2 | ||
![]() |
2eeb2fcd35 | ||
![]() |
765405ea2a | ||
![]() |
669b4b46e6 | ||
![]() |
4f336e589d | ||
![]() |
3a3416c069 | ||
![]() |
30f795d925 | ||
![]() |
3c4153b195 | ||
![]() |
5e777a43a1 | ||
![]() |
f06bdb0552 | ||
![]() |
db899c19d8 | ||
![]() |
7da6778ce1 | ||
![]() |
600be26638 | ||
![]() |
ee5d1cf876 | ||
![]() |
18cf8adc71 | ||
![]() |
94650c27a8 | ||
![]() |
019083ed5a | ||
![]() |
ffcf80c3a5 | ||
![]() |
a97ec9bd83 | ||
![]() |
c801838690 | ||
![]() |
85ff5ecafd | ||
![]() |
968ca15f06 | ||
![]() |
4e009474e0 | ||
![]() |
8bb33b2c4c | ||
![]() |
8b27dcb3b6 | ||
![]() |
0fb48872ac | ||
![]() |
36b18fb6cc | ||
![]() |
b68c98ff3e | ||
![]() |
104a1b6fca | ||
![]() |
473270bbdb | ||
![]() |
329650a9b4 | ||
![]() |
4952747699 | ||
![]() |
310376525b | ||
![]() |
f28e728317 | ||
![]() |
cd0ac4181e | ||
![]() |
2f8e7a2c67 | ||
![]() |
25c7c531f5 | ||
![]() |
d5a1188086 | ||
![]() |
ece87d0569 | ||
![]() |
c8ba330833 | ||
![]() |
f6dbb97a30 | ||
![]() |
7252445b4c | ||
![]() |
ae8e8f388c | ||
![]() |
64bf7f3696 | ||
![]() |
42eed7dbea | ||
![]() |
c68fcaf53d | ||
![]() |
cc03ac9e8f | ||
![]() |
597f83c735 | ||
![]() |
ae6292ba38 | ||
![]() |
268276d4a7 | ||
![]() |
befafe9a05 | ||
![]() |
748ae10e7c | ||
![]() |
6b74043b85 | ||
![]() |
4aa61601c3 | ||
![]() |
2a38208004 | ||
![]() |
fe5adbbbdc | ||
![]() |
e426ce257c | ||
![]() |
42724b09c1 | ||
![]() |
643f476e35 | ||
![]() |
e40c8f0d21 | ||
![]() |
69eeb8369f | ||
![]() |
557612c4c1 | ||
![]() |
8838f010b9 | ||
![]() |
0f394fd9e4 | ||
![]() |
407396cde0 | ||
![]() |
f56fc51c74 | ||
![]() |
1418ac176d | ||
![]() |
66c85b7d8b | ||
![]() |
58e3c1fbdb | ||
![]() |
14fe3c36bf | ||
![]() |
3bdca4615c | ||
![]() |
a32d6bf768 | ||
![]() |
9dfd73fcc5 | ||
![]() |
2266e14f38 | ||
![]() |
fbfb804b29 | ||
![]() |
6e1c0e4cb0 | ||
![]() |
fb1b3e2c6d | ||
![]() |
cea08caea3 | ||
![]() |
fddde93759 | ||
![]() |
498b5f9867 | ||
![]() |
171de4d107 | ||
![]() |
f2eabf6308 | ||
![]() |
284ffe4e00 | ||
![]() |
9b442172fb | ||
![]() |
bdd75c4b55 | ||
![]() |
20c0a2a381 | ||
![]() |
019f3b038a | ||
![]() |
60f8a12877 | ||
![]() |
c5c1d593ad | ||
![]() |
ca3ff29068 | ||
![]() |
792c85cf9b | ||
![]() |
a04dfb041e | ||
![]() |
2f8d502541 | ||
![]() |
c56c49adeb | ||
![]() |
d5426b0626 | ||
![]() |
a729384dfd | ||
![]() |
e2fddcf681 | ||
![]() |
370dbbc579 | ||
![]() |
55ee92d162 | ||
![]() |
3d0dc2e81a | ||
![]() |
3f1f19865d | ||
![]() |
add6bc1ec8 | ||
![]() |
86546fe63e | ||
![]() |
bd58136c5d | ||
![]() |
bedecfb4c8 | ||
![]() |
e7c3e53309 | ||
![]() |
71b3081e4d | ||
![]() |
9c76cac02a | ||
![]() |
847d219e8a | ||
![]() |
1bb0e4fbd1 | ||
![]() |
4c67023c7e | ||
![]() |
66f67e17bb | ||
![]() |
7768769dc0 | ||
![]() |
f96b304779 | ||
![]() |
4615891b9d | ||
![]() |
e5e2860221 | ||
![]() |
2f7f3834b6 | ||
![]() |
d81758d517 | ||
![]() |
2322fdd7cd | ||
![]() |
c2452e17ca | ||
![]() |
ab936de02d | ||
![]() |
dbcd1eb426 | ||
![]() |
cdefcdb8fb | ||
![]() |
41d949c73b | ||
![]() |
d49cc052aa | ||
![]() |
216c0279be | ||
![]() |
4764e17580 | ||
![]() |
0e3d1e2d49 | ||
![]() |
1ff8e1d409 | ||
![]() |
5da7f07fbe | ||
![]() |
f2ab4ff83a | ||
![]() |
9152c1d037 | ||
![]() |
b087cdc002 | ||
![]() |
adcc8d2f8d | ||
![]() |
745b1e778e | ||
![]() |
2d13cd4a47 | ||
![]() |
fc06763371 | ||
![]() |
68d5cf0e92 | ||
![]() |
3f01fb31d9 | ||
![]() |
30838da15e | ||
![]() |
698b1c07c4 | ||
![]() |
f2b4d90aee | ||
![]() |
099efe2bdd | ||
![]() |
78a7596454 | ||
![]() |
e467fe36dc | ||
![]() |
f3ecc81a1b | ||
![]() |
dab156b452 | ||
![]() |
dfe3ffc581 | ||
![]() |
031451e740 | ||
![]() |
8dc72589ca | ||
![]() |
afbfe5d850 | ||
![]() |
76ed17453e | ||
![]() |
485db0a3ba | ||
![]() |
9d687f1069 | ||
![]() |
75ce0bf06b | ||
![]() |
457be48362 | ||
![]() |
e8e0fe1fea | ||
![]() |
2886a661ac | ||
![]() |
266c08f9af | ||
![]() |
f9a16f8be0 | ||
![]() |
e08664c56e | ||
![]() |
53231bad61 | ||
![]() |
520584bccb | ||
![]() |
266e0b2ce9 | ||
![]() |
492c667a6f | ||
![]() |
83e4139d41 | ||
![]() |
480d565944 | ||
![]() |
261c0a95b4 | ||
![]() |
8c79008d6f | ||
![]() |
00379db370 | ||
![]() |
c9cb470034 | ||
![]() |
0e0a153adb | ||
![]() |
4a41c71d9b | ||
![]() |
2c2ac80030 | ||
![]() |
2bdd7cb080 | ||
![]() |
f70a542a37 | ||
![]() |
9d2a427622 | ||
![]() |
8fdc0a7a6c | ||
![]() |
459ab11a8a | ||
![]() |
00cc563388 | ||
![]() |
37dca47ab2 | ||
![]() |
5af8a55f6a | ||
![]() |
8b7410f35c | ||
![]() |
511b213db2 | ||
![]() |
b30203bc48 | ||
![]() |
f5e025917f | ||
![]() |
ec4a0e1b6e | ||
![]() |
78d243c304 | ||
![]() |
aa86e94853 | ||
![]() |
f72567ee14 | ||
![]() |
840e68c187 | ||
![]() |
0f99a0e3c0 | ||
![]() |
412d16f236 | ||
![]() |
94e4f8648b | ||
![]() |
cdbbdacb7d | ||
![]() |
18a959dc8c | ||
![]() |
7a29ab4d20 | ||
![]() |
ee75b784d1 | ||
![]() |
3a4bc7cdd1 | ||
![]() |
7ad83fce40 | ||
![]() |
e3eaae4b56 | ||
![]() |
e4de08b258 | ||
![]() |
20a233e770 | ||
![]() |
f63f02045e | ||
![]() |
b597725fa0 | ||
![]() |
b4253ec7e7 | ||
![]() |
1ec3e638a5 | ||
![]() |
4c6587d6a0 | ||
![]() |
ac5736005b | ||
![]() |
c1a08156f8 | ||
![]() |
334975c445 | ||
![]() |
fac25238d4 | ||
![]() |
93dccfffe1 | ||
![]() |
6f1c1cdb04 | ||
![]() |
02f8fad54d | ||
![]() |
f4a7132a89 | ||
![]() |
d06f1c6856 | ||
![]() |
2626f4ee3b | ||
![]() |
aa4d098844 | ||
![]() |
884b21efd5 | ||
![]() |
f586944db3 | ||
![]() |
e45c304b31 | ||
![]() |
c2f7aca9da | ||
![]() |
6c0698c7de | ||
![]() |
3e1d5cc447 | ||
![]() |
f298bf125a | ||
![]() |
6da194fae8 | ||
![]() |
04e2e1510d | ||
![]() |
ea70757fc7 | ||
![]() |
e0ea4e2de4 | ||
![]() |
9519392809 | ||
![]() |
da7c28735f | ||
![]() |
cbfb87b329 | ||
![]() |
95c7599db5 | ||
![]() |
5beb1b56df | ||
![]() |
13762759fd | ||
![]() |
55c30ba266 | ||
![]() |
b5ccb55b58 | ||
![]() |
69e68897e4 | ||
![]() |
0055fdbdc4 | ||
![]() |
f4be4e733c | ||
![]() |
1b6ed6dc5b | ||
![]() |
215700fc83 | ||
![]() |
f4c2c401ec | ||
![]() |
f3f386545e | ||
![]() |
c163bf6fb5 | ||
![]() |
c3741d7fb0 | ||
![]() |
3aaf6f72d6 | ||
![]() |
e8700cee61 | ||
![]() |
89446e60a6 | ||
![]() |
dfe9bdd15f | ||
![]() |
cd7c015dd3 | ||
![]() |
df38c41c7a | ||
![]() |
b43d9d5ae6 | ||
![]() |
0b92d6e0ba | ||
![]() |
8c8b31f304 | ||
![]() |
74403d1f0f | ||
![]() |
e2354703ed | ||
![]() |
453b07706a | ||
![]() |
b76d7a2b2d | ||
![]() |
dc5de38db0 | ||
![]() |
182761e407 | ||
![]() |
fcd1d3ed66 | ||
![]() |
dad18d985a | ||
![]() |
d924d241b0 | ||
![]() |
d01393efd3 | ||
![]() |
11b3db5c80 | ||
![]() |
19ca039486 | ||
![]() |
67ca1bebc4 | ||
![]() |
e68a9e662a | ||
![]() |
a857007d65 | ||
![]() |
fa73b38756 | ||
![]() |
663416f097 | ||
![]() |
db7a071e5d | ||
![]() |
a28e077e4d | ||
![]() |
b5b7e39981 | ||
![]() |
54c8ac3e39 | ||
![]() |
1a7a9055e4 | ||
![]() |
6283a4b187 | ||
![]() |
579233dc75 | ||
![]() |
a99bb2c61a | ||
![]() |
17e6bccf93 | ||
![]() |
7d779a7859 | ||
![]() |
67ef2e68a4 | ||
![]() |
cd93d9a0a8 | ||
![]() |
2f1c33b5e0 | ||
![]() |
0c146ddf72 | ||
![]() |
42092ead8b | ||
![]() |
69bedb8933 | ||
![]() |
2ffe7de372 | ||
![]() |
42d6e67402 | ||
![]() |
fff95ef76b | ||
![]() |
10c6ac7779 | ||
![]() |
0605219dcf | ||
![]() |
8b3bd01c2e | ||
![]() |
22fb647908 | ||
![]() |
019213c015 | ||
![]() |
90b4504f09 | ||
![]() |
698d759682 | ||
![]() |
2fc96073a1 | ||
![]() |
7e805fa665 | ||
![]() |
1d13249e17 | ||
![]() |
0854b7a7c4 | ||
![]() |
351c18c061 | ||
![]() |
5443bca39a | ||
![]() |
c3cc4d82ec | ||
![]() |
1d961495f3 | ||
![]() |
5a21ff8e95 | ||
![]() |
575276cf79 | ||
![]() |
e299a7f4cd | ||
![]() |
7c4fbe867e | ||
![]() |
8f61fce938 | ||
![]() |
68aa530fb2 | ||
![]() |
7855e4bb56 | ||
![]() |
6c8c5fe31b | ||
![]() |
eff28911d3 | ||
![]() |
d0af8fe4dc | ||
![]() |
059f08c00e | ||
![]() |
bf8e0a9c6a | ||
![]() |
a7a577281a | ||
![]() |
d6d55df24d | ||
![]() |
dcae7d368c | ||
![]() |
86bac2c54e | ||
![]() |
732878baf5 | ||
![]() |
57802c8e3d | ||
![]() |
145f7624ca | ||
![]() |
aafc1de0a3 | ||
![]() |
79a3fe6cc6 | ||
![]() |
c59f64fab9 | ||
![]() |
33ddb24379 | ||
![]() |
dcc442351d | ||
![]() |
9de9034400 | ||
![]() |
4cb01ba5da | ||
![]() |
27ff75857e | ||
![]() |
7e19698138 | ||
![]() |
14d85597f8 | ||
![]() |
9b63e3e88d | ||
![]() |
283f94c85f | ||
![]() |
a052d2b602 | ||
![]() |
6f7aee2b3e | ||
![]() |
67549e2d94 | ||
![]() |
a5cee8d380 | ||
![]() |
75e3a9a7b0 | ||
![]() |
dc93b843cd | ||
![]() |
90182a6204 | ||
![]() |
b1dcd28b7e | ||
![]() |
4252035f78 | ||
![]() |
ba5ec66182 | ||
![]() |
fd3bff3181 | ||
![]() |
ca2c850122 | ||
![]() |
e39d7a1ee9 | ||
![]() |
e988a25237 | ||
![]() |
82b1ab56de | ||
![]() |
f06d6e6c19 | ||
![]() |
170986f9f2 | ||
![]() |
31fc0f66b7 | ||
![]() |
1fc5e41592 | ||
![]() |
80d41ee2e1 | ||
![]() |
5b25a882e0 | ||
![]() |
89aa9c30c0 | ||
![]() |
6ea6f224b8 | ||
![]() |
e68cecf48d | ||
![]() |
2feb3d03d7 | ||
![]() |
cf3ebab4ba | ||
![]() |
b5b9cc1c38 | ||
![]() |
2bf9618768 | ||
![]() |
e34fe94d8c | ||
![]() |
f5b804748a | ||
![]() |
54f0203584 | ||
![]() |
b1901acd3a | ||
![]() |
39f6da1a83 | ||
![]() |
b23217fb3e | ||
![]() |
fcc3dd228d | ||
![]() |
d17db93fbf | ||
![]() |
c82e5d1a1a | ||
![]() |
fd69556450 | ||
![]() |
36c384246c | ||
![]() |
e9040fafec | ||
![]() |
6488d15860 | ||
![]() |
1bee6fa839 | ||
![]() |
122baf4de8 | ||
![]() |
af901ac7bb | ||
![]() |
1dfe58ad11 | ||
![]() |
a681daaca2 | ||
![]() |
b67b7c1238 | ||
![]() |
388e7c9719 | ||
![]() |
2bc47e81a3 | ||
![]() |
4337b8321b | ||
![]() |
506e5d6058 | ||
![]() |
58545a3586 | ||
![]() |
0875dbf3d7 | ||
![]() |
c28011c4ea | ||
![]() |
e4866d9c9a | ||
![]() |
aad9e21f57 | ||
![]() |
8cbb9f3116 | ||
![]() |
b20c0b1469 | ||
![]() |
1806e336fc | ||
![]() |
52a133fad1 | ||
![]() |
d7e2bb6b94 | ||
![]() |
983919153b | ||
![]() |
f7f7800460 | ||
![]() |
cb91e5a4dc | ||
![]() |
2c4a3d6641 | ||
![]() |
386e3d17cd | ||
![]() |
88f653b583 | ||
![]() |
72749bcf70 | ||
![]() |
7765153b40 | ||
![]() |
f2a23c962a | ||
![]() |
14b6f26aab | ||
![]() |
ad54c72b90 | ||
![]() |
3d97c0f941 | ||
![]() |
14ea872f1e | ||
![]() |
aca00fa346 | ||
![]() |
15a407a617 | ||
![]() |
ba891d50bf | ||
![]() |
44bf8305d4 | ||
![]() |
56bcbbaa31 | ||
![]() |
c8859c5df1 | ||
![]() |
94f04e6fd8 | ||
![]() |
2bd9a253ed | ||
![]() |
84e77c41fa | ||
![]() |
08b1c609bc | ||
![]() |
55d9c1bad3 | ||
![]() |
e6b84f9191 | ||
![]() |
de99a9c93e | ||
![]() |
36f2b8656e | ||
![]() |
be373e948e | ||
![]() |
f79d2fba07 | ||
![]() |
d2eac83f6a | ||
![]() |
df0e50a08f | ||
![]() |
d25a3709d9 | ||
![]() |
e28a1e1d38 | ||
![]() |
aec55ac1b6 | ||
![]() |
9a7fc2e55e | ||
![]() |
96c4ca249a | ||
![]() |
2099c2af7c | ||
![]() |
c4d2635839 | ||
![]() |
08999e8189 | ||
![]() |
0a5fd7fdb8 | ||
![]() |
e3eaa284bb | ||
![]() |
92305933b1 | ||
![]() |
502a6a4461 | ||
![]() |
b2aa644859 | ||
![]() |
0c993085e0 | ||
![]() |
1b06287fe3 | ||
![]() |
c37732d1ae | ||
![]() |
a56c000f60 | ||
![]() |
3a38dbac17 | ||
![]() |
cf56beb3f9 | ||
![]() |
c9ea78eb1c | ||
![]() |
ffed8ac7b4 | ||
![]() |
19672407f0 | ||
![]() |
8178d6eaba | ||
![]() |
1a90067754 | ||
![]() |
36af3348bc | ||
![]() |
b496317b5a | ||
![]() |
5ccf79d05c | ||
![]() |
30b8b45e5e | ||
![]() |
65b3136261 | ||
![]() |
ff65d34f03 | ||
![]() |
1d5f8e5488 | ||
![]() |
a226064711 | ||
![]() |
8f0a05a7e4 | ||
![]() |
76a0dcd372 | ||
![]() |
5b17c1d6eb | ||
![]() |
1fa09d1621 | ||
![]() |
e40554f89b | ||
![]() |
735bcf978f | ||
![]() |
c0b17a06ef | ||
![]() |
5b84756137 | ||
![]() |
89742c4913 | ||
![]() |
89d9307d56 | ||
![]() |
40a68aa8f8 | ||
![]() |
84b96a7343 | ||
![]() |
9ec57761f9 | ||
![]() |
e3deb88a8d | ||
![]() |
2ffb08bb88 | ||
![]() |
9d34731198 | ||
![]() |
f709de2403 | ||
![]() |
2675a24649 | ||
![]() |
526054332a | ||
![]() |
6275d1bc50 | ||
![]() |
1ae3b127fc | ||
![]() |
1bdf334844 | ||
![]() |
70014a7bc9 | ||
![]() |
757080addd | ||
![]() |
d000993905 | ||
![]() |
5e342c6fa7 | ||
![]() |
5e06b0c0ec | ||
![]() |
76c6b34270 | ||
![]() |
7fbe6b4dc3 | ||
![]() |
ed656ca0f3 | ||
![]() |
a9f9b94478 | ||
![]() |
cd7f92797b | ||
![]() |
f0dab9cc05 | ||
![]() |
68cade5b1d | ||
![]() |
e1566d2a1f | ||
![]() |
e1a9ad600b | ||
![]() |
db016e0652 | ||
![]() |
6490fc2b99 | ||
![]() |
1e5f7d2116 | ||
![]() |
69b01eb911 | ||
![]() |
c2797ecfc1 | ||
![]() |
9f64769b6d | ||
![]() |
b79e465092 | ||
![]() |
a8f141f6d1 | ||
![]() |
c54ebb8bc7 | ||
![]() |
8b62d3d5da | ||
![]() |
1b528a7874 | ||
![]() |
dc9a268d3c | ||
![]() |
4a74113dee | ||
![]() |
60bcdc8bc3 | ||
![]() |
15ec27e658 | ||
![]() |
ed6fef9844 | ||
![]() |
a6508f5b03 | ||
![]() |
9d5f409a5a | ||
![]() |
0cafec4c7a | ||
![]() |
961766744b | ||
![]() |
565084925a | ||
![]() |
6745603edd | ||
![]() |
e806a6efae | ||
![]() |
c071848aa6 | ||
![]() |
56d5d3df3e | ||
![]() |
e1ee45ee85 | ||
![]() |
fad920940f | ||
![]() |
74383be05e | ||
![]() |
9c504be9ee | ||
![]() |
4aab2a5c8e | ||
![]() |
64d3fcd403 | ||
![]() |
712d78984c | ||
![]() |
d7aa109dc6 | ||
![]() |
b4e88cb0b7 | ||
![]() |
6d57cbe5c8 | ||
![]() |
a0c11f58dd | ||
![]() |
652c2ee49b | ||
![]() |
1e54e211ca | ||
![]() |
b42ca2ed0c | ||
![]() |
7f02f4722c | ||
![]() |
dbe2846e3b | ||
![]() |
61314f05fc | ||
![]() |
cd62d0f5e8 | ||
![]() |
9c70c7a8ea | ||
![]() |
a98cf0e68e | ||
![]() |
d2efdda911 | ||
![]() |
7068456d20 | ||
![]() |
30d07c3ba3 | ||
![]() |
663e957d3d | ||
![]() |
6d6116857c | ||
![]() |
cfbcd7f60f | ||
![]() |
0ccefbebfc | ||
![]() |
4cff39c4d9 | ||
![]() |
8f501b6b1a | ||
![]() |
1ca29a7db8 | ||
![]() |
94ec8a25bc | ||
![]() |
804ca6590f | ||
![]() |
d78598ef0d | ||
![]() |
07a1328671 | ||
![]() |
f93d8e8a45 | ||
![]() |
1f91664e82 | ||
![]() |
cd87c4fee6 | ||
![]() |
eb765dabfd | ||
![]() |
5c7b85a981 | ||
![]() |
5af168fb92 | ||
![]() |
2da0ebbd23 | ||
![]() |
5b1990b3b2 | ||
![]() |
af3fbb397a | ||
![]() |
5365ca76ce | ||
![]() |
0a30f00263 | ||
![]() |
ef473d34f5 | ||
![]() |
191d4963ce | ||
![]() |
23602e5d9e | ||
![]() |
48e05710ae | ||
![]() |
796780c1ef | ||
![]() |
57a09fb9cd | ||
![]() |
e18beb89d9 | ||
![]() |
a05eae5615 | ||
![]() |
dae4c5ff09 | ||
![]() |
b341ffd2f4 | ||
![]() |
6d41a0fd7e | ||
![]() |
a364a2de71 | ||
![]() |
14abf65269 | ||
![]() |
a23ba1c6ac | ||
![]() |
0c67711f9f | ||
![]() |
26293797cb | ||
![]() |
6e02a6b422 | ||
![]() |
6c448ae37e | ||
![]() |
aa35ae1393 | ||
![]() |
cb748567e1 | ||
![]() |
3f48625560 | ||
![]() |
d3417688d6 | ||
![]() |
5bf0af1aaf | ||
![]() |
1c896b94b9 | ||
![]() |
b6b5d47dca | ||
![]() |
8857da871e | ||
![]() |
32320bbf32 | ||
![]() |
2d3fc00d02 | ||
![]() |
0564beb98c | ||
![]() |
fbbaecf25a | ||
![]() |
192a5ea68b | ||
![]() |
c98996f0d2 | ||
![]() |
acfa3e3167 | ||
![]() |
978e65d690 | ||
![]() |
74d12c7973 | ||
![]() |
dcadae9136 | ||
![]() |
e90bebd574 | ||
![]() |
c0ccfbba7d | ||
![]() |
d2e2b51983 | ||
![]() |
ae5c919785 | ||
![]() |
d4082b79fc | ||
![]() |
d14b17e08d | ||
![]() |
c7a4f6f94b | ||
![]() |
de652e4833 | ||
![]() |
742991abca | ||
![]() |
3ff15d03f3 | ||
![]() |
3695f5d096 | ||
![]() |
a46a9ef307 | ||
![]() |
2f49437608 | ||
![]() |
83e9e9230a | ||
![]() |
e4234fe6ab | ||
![]() |
a87b351476 | ||
![]() |
a62521f241 | ||
![]() |
28643cc276 | ||
![]() |
abd08e6fd8 | ||
![]() |
65829c2e3e | ||
![]() |
8c3920d26e | ||
![]() |
c413aaa5bf | ||
![]() |
9d306bbec3 | ||
![]() |
41f7f3f793 | ||
![]() |
f8eb608a5b | ||
![]() |
e159fdfd82 | ||
![]() |
54f3284faa | ||
![]() |
0f10e9a72f | ||
![]() |
031914a012 | ||
![]() |
6178a46fe2 | ||
![]() |
630595a7f3 | ||
![]() |
5f312250eb | ||
![]() |
5f3a2aafdf | ||
![]() |
3c8eb46765 | ||
![]() |
4098098f00 | ||
![]() |
5a0bc35799 | ||
![]() |
3ad20e27ae | ||
![]() |
b2ea43b25b | ||
![]() |
0f3ba99ff0 | ||
![]() |
d06da0d9c6 | ||
![]() |
ebd32d626f | ||
![]() |
6149f0de7c | ||
![]() |
7724559a8e | ||
![]() |
864eabebba | ||
![]() |
83229faf3c | ||
![]() |
4e578934ab | ||
![]() |
d6ba3fa90b | ||
![]() |
fb796afd61 | ||
![]() |
0a86d1e843 | ||
![]() |
35fae7b87d | ||
![]() |
c67d3a4d29 | ||
![]() |
779c0ae60c | ||
![]() |
901aa600d3 | ||
![]() |
912fe49ab3 | ||
![]() |
cb896ce319 | ||
![]() |
4c67b7e535 | ||
![]() |
e4134f0a81 | ||
![]() |
6114356dff | ||
![]() |
bb8796b3be | ||
![]() |
f0a6ea454f | ||
![]() |
ba880c174e | ||
![]() |
cf271dfeb5 | ||
![]() |
12657eee5a | ||
![]() |
116adc2168 | ||
![]() |
429e27c759 | ||
![]() |
0911ba8646 | ||
![]() |
5b7c1a8c6c | ||
![]() |
eaad11ae8b | ||
![]() |
4a08f1a349 | ||
![]() |
aeb875aa3c | ||
![]() |
47569fac50 | ||
![]() |
f41b50d014 | ||
![]() |
fb4a8b24cc | ||
![]() |
45a907d378 | ||
![]() |
287051b0cc | ||
![]() |
446b529719 | ||
![]() |
0e4ea60bd6 | ||
![]() |
46f563dc4f | ||
![]() |
6d2fa323e0 | ||
![]() |
c2e0ce5674 | ||
![]() |
66fb4966fa | ||
![]() |
7e7e14706a | ||
![]() |
24e513ae9f | ||
![]() |
4c0b9cf1a5 | ||
![]() |
1b7c9ffbcb | ||
![]() |
d9893ed2b6 | ||
![]() |
829e661c39 | ||
![]() |
db268c5ee7 | ||
![]() |
4ee3a150a3 | ||
![]() |
1751825256 | ||
![]() |
4df5d60bcb | ||
![]() |
c2e11058bb | ||
![]() |
38eab5342d | ||
![]() |
57aae68930 | ||
![]() |
fe07b50377 | ||
![]() |
5303ba8dce | ||
![]() |
57a85df30d | ||
![]() |
500e0e8602 | ||
![]() |
c71f8abcb1 | ||
![]() |
a7eb18783c | ||
![]() |
1530d34cff | ||
![]() |
de23443ded | ||
![]() |
919ec88d2d | ||
![]() |
a350d3ceff | ||
![]() |
6e303dfcc9 | ||
![]() |
11bd49fe49 | ||
![]() |
2eb8b94674 | ||
![]() |
6372a2e97a | ||
![]() |
baab1231b4 | ||
![]() |
98e96a2235 | ||
![]() |
3521e44d78 | ||
![]() |
b573e0a621 | ||
![]() |
293203cb64 | ||
![]() |
02622a48eb | ||
![]() |
c69cf81917 | ||
![]() |
9df10c5ac5 | ||
![]() |
f4f5efdea8 | ||
![]() |
4a26254cca | ||
![]() |
1004ecd56b | ||
![]() |
38076a44d7 | ||
![]() |
738bbc5cf3 | ||
![]() |
6eb88be6e8 | ||
![]() |
4999239cd8 | ||
![]() |
a18b0ba973 | ||
![]() |
91a9d479d5 | ||
![]() |
ebd8c607bb | ||
![]() |
b54f15cf8d | ||
![]() |
63736e8301 | ||
![]() |
28c3f1e254 | ||
![]() |
c87655b7ff | ||
![]() |
d0ec8d574e | ||
![]() |
6c69b5da03 | ||
![]() |
8cda274438 | ||
![]() |
cb62fa81d5 | ||
![]() |
45198cef64 | ||
![]() |
ece6300ebd | ||
![]() |
471567b3ba | ||
![]() |
6dbc79f161 | ||
![]() |
deb8039d53 | ||
![]() |
7eac5feb74 | ||
![]() |
95f6cb7513 | ||
![]() |
06d42e6f03 | ||
![]() |
5a871f6095 | ||
![]() |
3a55604d3c | ||
![]() |
bf0d100b84 | ||
![]() |
0404662e99 | ||
![]() |
8d0530650e | ||
![]() |
9addaedaf3 | ||
![]() |
3c00c60b84 | ||
![]() |
bc4849a904 | ||
![]() |
60b54c42ec | ||
![]() |
97ec997a04 | ||
![]() |
a8d01a77cb | ||
![]() |
bf65f1e510 | ||
![]() |
94af0e53e5 | ||
![]() |
a9a8973894 | ||
![]() |
72408c7d68 | ||
![]() |
c856f77622 | ||
![]() |
e5ea08b38b | ||
![]() |
d623126103 | ||
![]() |
5879cdc6fa | ||
![]() |
58ee9fdc4a | ||
![]() |
d97e36f6d7 | ||
![]() |
018aefe29f | ||
![]() |
3b70949651 | ||
![]() |
2190b67507 | ||
![]() |
190b5a3859 | ||
![]() |
681b5e5113 | ||
![]() |
e2ae389184 | ||
![]() |
2514ba4e36 | ||
![]() |
1a68d14cf8 | ||
![]() |
b44dcf553c | ||
![]() |
4afbeb3cb6 | ||
![]() |
a5b51e9145 | ||
![]() |
fbe464309b | ||
![]() |
aa34509ab1 | ||
![]() |
a3ef037ccb | ||
![]() |
5541537b1b | ||
![]() |
24bbf051c3 | ||
![]() |
600c703ef4 | ||
![]() |
ec4e648e3a | ||
![]() |
0ca13c5eae | ||
![]() |
3af7e03aeb | ||
![]() |
cbedd7e5be | ||
![]() |
e726b7ec3b | ||
![]() |
5c2445d643 | ||
![]() |
32735b1e61 | ||
![]() |
0aa3e6e4e4 | ||
![]() |
ef5ac9a8ee | ||
![]() |
79f6f2f62e | ||
![]() |
3ade4d9b2b | ||
![]() |
dda53569b1 | ||
![]() |
1b845b2722 | ||
![]() |
bdf477f6ef | ||
![]() |
fc40a5e242 | ||
![]() |
d34d8ec2cf | ||
![]() |
98349a1889 | ||
![]() |
f78e397dd6 | ||
![]() |
4f54918381 | ||
![]() |
8f53a69c2e | ||
![]() |
04cd89709c | ||
![]() |
78e4736db6 | ||
![]() |
1cab8788c8 | ||
![]() |
a611ad3536 | ||
![]() |
b061a14e15 | ||
![]() |
9272425bab | ||
![]() |
4575b58da3 | ||
![]() |
ed29b9e423 | ||
![]() |
a72be741d4 | ||
![]() |
696cbde942 | ||
![]() |
8583ffa598 | ||
![]() |
bef1c643b6 | ||
![]() |
5dbacb70f4 | ||
![]() |
931a6f16dc | ||
![]() |
c111730d08 | ||
![]() |
cec6b0041a | ||
![]() |
f0482675dd | ||
![]() |
2129bf04a1 | ||
![]() |
eb25bc9edb | ||
![]() |
85a0f1df1c | ||
![]() |
2117aeabca | ||
![]() |
dc6bd5c697 | ||
![]() |
793dcfed34 | ||
![]() |
ffdfe8817c | ||
![]() |
ae8a692d8b | ||
![]() |
276df16488 | ||
![]() |
904e1239a8 | ||
![]() |
e5edd6ff8b | ||
![]() |
66d06c2b8b | ||
![]() |
9fee7ea763 | ||
![]() |
53187cd5e9 | ||
![]() |
5e923cfbdd | ||
![]() |
27de894a6d | ||
![]() |
9c0c3260ad | ||
![]() |
26ab592fc7 | ||
![]() |
d2200eea25 | ||
![]() |
fde934787a | ||
![]() |
cbee178245 | ||
![]() |
9ee358aa47 | ||
![]() |
e87c9252d9 | ||
![]() |
22f012a859 | ||
![]() |
0c02a61319 | ||
![]() |
50a2bee7d3 | ||
![]() |
2f272d961b | ||
![]() |
00276dfc30 | ||
![]() |
d48b936126 | ||
![]() |
b95519355c | ||
![]() |
3bbd129270 | ||
![]() |
ea07560161 | ||
![]() |
7f62acb4d9 | ||
![]() |
d39c8fec8c | ||
![]() |
03508b33a8 | ||
![]() |
41d13ee44b | ||
![]() |
9eb22ddc19 | ||
![]() |
b670f111ff | ||
![]() |
801ae21200 | ||
![]() |
f19f31ac73 | ||
![]() |
94631ccef6 | ||
![]() |
d30be160c9 | ||
![]() |
3dbeafa7ba | ||
![]() |
a4814bca2d | ||
![]() |
e3243a9465 | ||
![]() |
0c2ec195e4 | ||
![]() |
f0da48dd4d | ||
![]() |
61e018f8b4 | ||
![]() |
a054201e20 | ||
![]() |
f0fa959c4e | ||
![]() |
eea9ba5bfb | ||
![]() |
12f97ef51f | ||
![]() |
86be767939 | ||
![]() |
b65a1312b3 | ||
![]() |
a1c87db46f | ||
![]() |
83d2b3b7fa | ||
![]() |
c20c534b90 | ||
![]() |
df907ec7f9 | ||
![]() |
6ea97ffe9b | ||
![]() |
d9d7f8dc92 | ||
![]() |
f4b6da00fb | ||
![]() |
171e4cc3be | ||
![]() |
1e922d906f | ||
![]() |
6c8d9823ac | ||
![]() |
821875e057 | ||
![]() |
35cc077d82 | ||
![]() |
63faeb365c | ||
![]() |
b8690562d2 | ||
![]() |
5b81cab0ed | ||
![]() |
68cc61b537 | ||
![]() |
9111eb3473 | ||
![]() |
0764b7c18b | ||
![]() |
8e46efef95 | ||
![]() |
d9ae23188f | ||
![]() |
01a153555a | ||
![]() |
f28cde134e | ||
![]() |
0d45ed0faa | ||
![]() |
c76a73ad35 | ||
![]() |
5a58741879 | ||
![]() |
bf609ce874 | ||
![]() |
0c2d527aec | ||
![]() |
027a2fb0a4 | ||
![]() |
85cd07a263 | ||
![]() |
74ebb47509 | ||
![]() |
b8f56fd3ca | ||
![]() |
0692cc2cc1 | ||
![]() |
e9a89a188e | ||
![]() |
be46795975 | ||
![]() |
3b8ac4388a | ||
![]() |
0c70e11df8 | ||
![]() |
f784260633 | ||
![]() |
7e37c4d831 | ||
![]() |
74f08b5da0 | ||
![]() |
b6efebc237 | ||
![]() |
c7adff3862 | ||
![]() |
51620ab0f3 | ||
![]() |
0fd2254684 | ||
![]() |
a8e25e907c | ||
![]() |
15e131fd67 | ||
![]() |
e650b25bb6 | ||
![]() |
1b9222f6e2 | ||
![]() |
f3bd849bef | ||
![]() |
6012bcb2b9 | ||
![]() |
c9e402afdc | ||
![]() |
f9ba752140 | ||
![]() |
90e03e410a | ||
![]() |
72f41306c2 | ||
![]() |
b26a0aea19 | ||
![]() |
2cbc9cec73 | ||
![]() |
22d57cfc6b | ||
![]() |
15c64122a6 | ||
![]() |
f7bb75ce56 | ||
![]() |
fe18428806 | ||
![]() |
529bbbde4d | ||
![]() |
674689af4a | ||
![]() |
0813126058 | ||
![]() |
8322882265 | ||
![]() |
7e0cebecb0 | ||
![]() |
adf4dcdbbf | ||
![]() |
5ae1c96893 | ||
![]() |
1dfa11551c | ||
![]() |
385718dd78 | ||
![]() |
d5500422c9 | ||
![]() |
ebfdc659d8 | ||
![]() |
7f1db1df3e | ||
![]() |
2960f78adb | ||
![]() |
4760c5029d | ||
![]() |
2f501e9d74 | ||
![]() |
9b66710bf5 | ||
![]() |
fbb2252314 | ||
![]() |
e2dee395e4 | ||
![]() |
022d7c16ca | ||
![]() |
3524bfaf0c | ||
![]() |
760b99bd5a | ||
![]() |
1b8a79f820 | ||
![]() |
c078e14472 | ||
![]() |
da7f3ac6f5 | ||
![]() |
2e9f4cece4 | ||
![]() |
b390641478 | ||
![]() |
ac5d4f68d1 | ||
![]() |
f2ab8c8ea7 | ||
![]() |
24eb401a0a | ||
![]() |
8e91cf1b26 | ||
![]() |
c7fe944357 | ||
![]() |
b2b83dfb94 | ||
![]() |
95dc22370e | ||
![]() |
f7f6c78913 | ||
![]() |
5bb7fc2a39 | ||
![]() |
17fa75074d | ||
![]() |
07d6557804 | ||
![]() |
c4a5da969a | ||
![]() |
4fa2b8f70e | ||
![]() |
18cad9d342 | ||
![]() |
3fab07e0bc | ||
![]() |
0924e6626d | ||
![]() |
d26ad8dbe5 | ||
![]() |
7614efcaf6 | ||
![]() |
da44a7c01b | ||
![]() |
750deb9367 | ||
![]() |
98bb6c1c59 | ||
![]() |
82fcc6768a | ||
![]() |
ad92ede00a | ||
![]() |
696e0ff27e | ||
![]() |
40ed2efcb6 | ||
![]() |
824dd6bc5d | ||
![]() |
da96281acb | ||
![]() |
b77f45f46b | ||
![]() |
24418da690 | ||
![]() |
01affa0908 | ||
![]() |
69eb8f32cb | ||
![]() |
5a66691607 | ||
![]() |
03b9d50c67 | ||
![]() |
d42f28de4e | ||
![]() |
5c8ccce785 | ||
![]() |
c2310c1d6c | ||
![]() |
83565de2c0 | ||
![]() |
a627b885c7 | ||
![]() |
8b6747173a | ||
![]() |
439c8fb246 | ||
![]() |
f4d86b4ab0 | ||
![]() |
e330c88411 | ||
![]() |
9c5c08859d | ||
![]() |
a21128a734 | ||
![]() |
4132b18e59 | ||
![]() |
5e6bc07610 | ||
![]() |
b7fcc5e29d | ||
![]() |
395c10596e | ||
![]() |
c3f2b60b3b | ||
![]() |
53ca3d4e6c | ||
![]() |
fdabcf5d44 | ||
![]() |
65c2595f26 | ||
![]() |
2d05e922a2 | ||
![]() |
0d2efa2c4a | ||
![]() |
88169e74ed | ||
![]() |
eb6afae1c0 | ||
![]() |
8359b26d3f | ||
![]() |
d2184dd931 | ||
![]() |
e5f8d144f2 | ||
![]() |
f4a7bf6d2a | ||
![]() |
44002a6399 | ||
![]() |
2fbb51ceb2 | ||
![]() |
cfefe2b6c9 | ||
![]() |
87d50eca87 | ||
![]() |
a4da672134 | ||
![]() |
1b24180327 | ||
![]() |
f250f89491 | ||
![]() |
7dd7cc7ebc | ||
![]() |
a83f5cd0f0 | ||
![]() |
6e94be527a | ||
![]() |
6102f48c7d | ||
![]() |
3b82a634c5 | ||
![]() |
f8728ad881 | ||
![]() |
40e51e4ca7 | ||
![]() |
851d567776 | ||
![]() |
784173f7e9 | ||
![]() |
ca00643416 | ||
![]() |
6ba4fb5cf6 | ||
![]() |
9cc2fdffde | ||
![]() |
967153ba45 | ||
![]() |
437b84a5f9 | ||
![]() |
57a2b99b3c | ||
![]() |
8039240c26 | ||
![]() |
d97cf0e854 | ||
![]() |
f70d50a8dc | ||
![]() |
ade201095a | ||
![]() |
c541431773 | ||
![]() |
0f7a98d34d | ||
![]() |
b8a5ca2c40 | ||
![]() |
91115b39a9 | ||
![]() |
ac8856ac2b | ||
![]() |
d5ba61a104 | ||
![]() |
a486c684f9 | ||
![]() |
d6647f710f | ||
![]() |
8524589d8c | ||
![]() |
7dbad27156 | ||
![]() |
4eb8d8c496 | ||
![]() |
99d78fb9e7 | ||
![]() |
3301e7dc75 | ||
![]() |
75b3645bc3 | ||
![]() |
000f3562c2 | ||
![]() |
012a1e0497 | ||
![]() |
a72763f5a3 | ||
![]() |
ae85e285db | ||
![]() |
b87b38d3b9 | ||
![]() |
bb448f3dc2 | ||
![]() |
d7cb2ab3b2 | ||
![]() |
c1f85ce27b | ||
![]() |
7ac390bcb4 | ||
![]() |
5ae2dbcb14 | ||
![]() |
1f8e6b6e31 | ||
![]() |
06d25815d3 | ||
![]() |
62b6e48a9e | ||
![]() |
8b79c5d7b6 | ||
![]() |
52666d4a8a | ||
![]() |
7cfa3305bf | ||
![]() |
1bc986423d | ||
![]() |
abc3364a7b | ||
![]() |
d9c87cf498 | ||
![]() |
878c236f49 | ||
![]() |
c59c83024c | ||
![]() |
64e56f0d0d | ||
![]() |
8deaea0b69 | ||
![]() |
633406704c | ||
![]() |
bad3b32037 | ||
![]() |
2e2a044493 | ||
![]() |
690b63fc74 | ||
![]() |
f9cbea3d6b | ||
![]() |
1ddf44edd6 | ||
![]() |
05e163aaf3 | ||
![]() |
3bf87d157e | ||
![]() |
6f3a88971e | ||
![]() |
85f455964d | ||
![]() |
feffdd90f0 | ||
![]() |
192177fc88 | ||
![]() |
ba9ce4b420 | ||
![]() |
7faea490fc | ||
![]() |
4fb19da661 | ||
![]() |
ecad5c9aae | ||
![]() |
86dadda21e | ||
![]() |
06d2e90fa4 | ||
![]() |
517637137c | ||
![]() |
fb311fcf10 | ||
![]() |
5cf976739c | ||
![]() |
10647bb50f | ||
![]() |
7fb82afa20 | ||
![]() |
14850847ee | ||
![]() |
4b8726e599 | ||
![]() |
d122196fac | ||
![]() |
cc11b3027c | ||
![]() |
b967fce25d | ||
![]() |
641b0f74b6 | ||
![]() |
ed3fe01dd3 | ||
![]() |
eb8c125788 | ||
![]() |
4d789163bc | ||
![]() |
b7a4703231 | ||
![]() |
d853c8465d | ||
![]() |
6e98a57096 | ||
![]() |
eab599de41 | ||
![]() |
f121e87aa6 | ||
![]() |
057256553b | ||
![]() |
88d5d78403 | ||
![]() |
8e3b33dd53 | ||
![]() |
98457eb67d | ||
![]() |
c738542201 | ||
![]() |
7c74def6ff | ||
![]() |
e08e47bbec | ||
![]() |
3d4271e731 | ||
![]() |
811d96e74a | ||
![]() |
3ee5bc262f | ||
![]() |
a3fa6c7d8e | ||
![]() |
2c95baffeb | ||
![]() |
00ae44129d | ||
![]() |
cd17eb0fa7 | ||
![]() |
c031881a20 | ||
![]() |
359f712b46 | ||
![]() |
46f9fc2bc6 | ||
![]() |
19fe44e4aa | ||
![]() |
5f1017f27d | ||
![]() |
1aaa70fddb | ||
![]() |
0c40cff9a4 | ||
![]() |
5734499778 | ||
![]() |
ee8f3e09f8 | ||
![]() |
3fdaabcdcf | ||
![]() |
f6b1407e4c | ||
![]() |
6844258c67 | ||
![]() |
2302cf63c8 | ||
![]() |
51f414d466 | ||
![]() |
fd33cc5b45 | ||
![]() |
a4f1d0bc43 | ||
![]() |
c784a58740 | ||
![]() |
49eb831663 | ||
![]() |
43b184cf07 | ||
![]() |
92fbc8e216 | ||
![]() |
6a4d1dfab8 | ||
![]() |
6e63afe31f | ||
![]() |
2be49a3745 | ||
![]() |
7850fa30a5 | ||
![]() |
170c1c5152 | ||
![]() |
c8e5e39865 | ||
![]() |
0dbc623028 | ||
![]() |
f17194ca91 | ||
![]() |
22d3659803 | ||
![]() |
d0684334b3 | ||
![]() |
e99be039d4 | ||
![]() |
94f3589623 | ||
![]() |
37151d75cb | ||
![]() |
cad8d09ba8 | ||
![]() |
63fdc1298f | ||
![]() |
f826f673d1 | ||
![]() |
67fa52dedb | ||
![]() |
a414703c09 | ||
![]() |
e1fe3bbdc0 | ||
![]() |
250f87db59 | ||
![]() |
b0a104d3d4 | ||
![]() |
471265c4e0 | ||
![]() |
2795f5bc0e | ||
![]() |
35ea74576e | ||
![]() |
9597e041da | ||
![]() |
9df2fbb187 | ||
![]() |
b7f2739dfe | ||
![]() |
3d3ddd7704 | ||
![]() |
2021a351e5 | ||
![]() |
c0dde47d37 | ||
![]() |
6bb541e0d0 | ||
![]() |
db78a3abed | ||
![]() |
a05d4c6154 | ||
![]() |
ca5a5bf120 | ||
![]() |
5a59866a32 | ||
![]() |
4d19cc3e38 | ||
![]() |
3e28df8f67 | ||
![]() |
46357e7856 | ||
![]() |
49eeec269a | ||
![]() |
73cef92d6d | ||
![]() |
994bd93e69 | ||
![]() |
622ccd4654 | ||
![]() |
da97544fa0 | ||
![]() |
ccdd5d375b | ||
![]() |
7ec6014a10 | ||
![]() |
4de909747b | ||
![]() |
94933470cd | ||
![]() |
ef7313097c | ||
![]() |
d40873e768 | ||
![]() |
a0577572b0 | ||
![]() |
aa28af85b7 | ||
![]() |
af557bfe18 | ||
![]() |
1e8c9beee6 | ||
![]() |
578ac60f5f | ||
![]() |
69edd8a4fe | ||
![]() |
538bf07c08 | ||
![]() |
707318fcc8 | ||
![]() |
f7bc512123 | ||
![]() |
8c2cb172fe | ||
![]() |
7b798a88ee | ||
![]() |
2a09f88fd6 | ||
![]() |
a61e7c7a39 | ||
![]() |
2e234300a2 | ||
![]() |
be9ee471fd | ||
![]() |
0851aca863 | ||
![]() |
e6786db393 | ||
![]() |
e8ea126611 | ||
![]() |
5e3d4b001c | ||
![]() |
e7ed1d1ca2 | ||
![]() |
5bbc9ef97c | ||
![]() |
2cf91d58e7 | ||
![]() |
5bb191e14d | ||
![]() |
90fe38ec83 | ||
![]() |
531a18810b | ||
![]() |
574265e4a8 | ||
![]() |
58c60ec11c | ||
![]() |
b2bbf48c18 | ||
![]() |
9f461e180a | ||
![]() |
a96b86778f | ||
![]() |
b222c48060 | ||
![]() |
f0379489bf | ||
![]() |
c55f3bf3c3 | ||
![]() |
41d7521b97 | ||
![]() |
94e9cbcd71 | ||
![]() |
d0e52fd641 | ||
![]() |
3d1b8f47c0 | ||
![]() |
e465ac854d | ||
![]() |
f61873c7e4 | ||
![]() |
2563d71728 | ||
![]() |
22de4ae9c4 | ||
![]() |
358ec8002e | ||
![]() |
bd38b15e74 | ||
![]() |
4c40bf5d29 | ||
![]() |
e7a12286dd | ||
![]() |
ff6aceaeac | ||
![]() |
dac78913aa | ||
![]() |
2ad377130b | ||
![]() |
5d40264f0f | ||
![]() |
a74f3832a5 | ||
![]() |
d9c82089ee | ||
![]() |
ac61d697b6 | ||
![]() |
5da7b3ae1f | ||
![]() |
a7e96aae66 | ||
![]() |
8db2534082 | ||
![]() |
685a903cd5 | ||
![]() |
2285526e93 | ||
![]() |
bc259542b5 | ||
![]() |
904925ee4d | ||
![]() |
c192e70b94 | ||
![]() |
1f939a2a40 | ||
![]() |
90f80be3f0 | ||
![]() |
b85ec067ca | ||
![]() |
13cb4b3f2e | ||
![]() |
edf2cbe768 | ||
![]() |
76759715d2 | ||
![]() |
c43bb32010 | ||
![]() |
e9e3b8c0f3 | ||
![]() |
f8bc48f8df | ||
![]() |
8571f1d5d9 | ||
![]() |
0713451c28 | ||
![]() |
03c1b61573 | ||
![]() |
875e6496c6 | ||
![]() |
783fa3e108 | ||
![]() |
4f7746427f | ||
![]() |
0a74c95b2a | ||
![]() |
56dbe3263f | ||
![]() |
c23cac5073 | ||
![]() |
a6b4fb7729 | ||
![]() |
419c129ec7 | ||
![]() |
c75c6b392c | ||
![]() |
510cbe2c92 | ||
![]() |
aa5163d5c4 | ||
![]() |
b55136d561 | ||
![]() |
e9a3306f6e | ||
![]() |
762f4b5408 | ||
![]() |
ba006b2eef | ||
![]() |
9ad23f9ede | ||
![]() |
479a98fd18 | ||
![]() |
77c30ad85b | ||
![]() |
7699d85f3b | ||
![]() |
a0dbc3ae70 | ||
![]() |
bca3f857dc | ||
![]() |
54e364b7bc | ||
![]() |
1a2c611c42 | ||
![]() |
1f4666c6cd | ||
![]() |
7db4dfa768 | ||
![]() |
db64236f85 | ||
![]() |
14d079a1eb | ||
![]() |
5a922ca983 | ||
![]() |
ea1a0ebbc3 | ||
![]() |
44156b6006 | ||
![]() |
4383da91bd | ||
![]() |
ded237ee77 | ||
![]() |
522e652e8d | ||
![]() |
dd9abfcc09 | ||
![]() |
3ba64bd038 | ||
![]() |
80a1461e7d | ||
![]() |
1fa7d1cbcf | ||
![]() |
043214d751 | ||
![]() |
6e86f4056e | ||
![]() |
9bbe00c84b | ||
![]() |
2c2f2ffee2 | ||
![]() |
5c734d8885 | ||
![]() |
03b95d20fa | ||
![]() |
859cc23dc2 | ||
![]() |
767f0ed63f | ||
![]() |
d58b9b4fe0 | ||
![]() |
e03922a009 | ||
![]() |
90c0e9dace | ||
![]() |
93d0836241 | ||
![]() |
2ad871e653 | ||
![]() |
1d5286943f | ||
![]() |
2f98430e6f | ||
![]() |
89b1723d35 | ||
![]() |
a67e420c38 | ||
![]() |
40baa96fc3 | ||
![]() |
de24846309 | ||
![]() |
e819c1622e | ||
![]() |
f37d8fc0ed | ||
![]() |
0792f81e04 | ||
![]() |
21fdd28f08 | ||
![]() |
004cc6dc0a | ||
![]() |
54f2dcff9d | ||
![]() |
d0227c236a | ||
![]() |
b67fa954a6 | ||
![]() |
5e8a830505 | ||
![]() |
d405143919 | ||
![]() |
320ab7ed7f | ||
![]() |
f6000c3760 | ||
![]() |
fdb1874ada | ||
![]() |
8030ebf64c | ||
![]() |
7511ae532e | ||
![]() |
5a41d902bd | ||
![]() |
b9272b2923 | ||
![]() |
fdf07888c3 | ||
![]() |
20de7e5fdf | ||
![]() |
1c63c47f5f | ||
![]() |
78a0ca1c9d | ||
![]() |
86298c5be2 | ||
![]() |
914f75533f | ||
![]() |
d3bb19e03b | ||
![]() |
19dbefc5c8 | ||
![]() |
15540445d9 | ||
![]() |
ba7a442644 | ||
![]() |
6a49e3f468 | ||
![]() |
efd63ec1d8 | ||
![]() |
3beaee62bb | ||
![]() |
c235e9b919 | ||
![]() |
f92bb4f8ee | ||
![]() |
75af19a497 | ||
![]() |
db73870e0e | ||
![]() |
7dc0b2bab6 | ||
![]() |
eb61437a52 | ||
![]() |
280db0bf37 | ||
![]() |
622479ef7f | ||
![]() |
f3207f92e7 | ||
![]() |
f7dac2c3d9 | ||
![]() |
2d3b7ae939 | ||
![]() |
a83002679d | ||
![]() |
06513103c9 | ||
![]() |
bf5db77aff | ||
![]() |
3e8f975345 | ||
![]() |
a9d32b588a | ||
![]() |
aaf90f6506 | ||
![]() |
acf64bdefa | ||
![]() |
022bd27b8a | ||
![]() |
9b5878de9e | ||
![]() |
61b3015c74 | ||
![]() |
dd1531aaf8 | ||
![]() |
ef815db8f2 | ||
![]() |
3fca6c0bf5 | ||
![]() |
b32a03531c | ||
![]() |
20f5f050f3 | ||
![]() |
c349da723c | ||
![]() |
a0676486dd | ||
![]() |
125e4832e0 | ||
![]() |
d731dc793b | ||
![]() |
011a7cffd2 | ||
![]() |
326958316d | ||
![]() |
b77d7e842c | ||
![]() |
8a1924b51a | ||
![]() |
c560595e1f | ||
![]() |
8901fac2bf | ||
![]() |
3c8cd43fec | ||
![]() |
c813f020e0 | ||
![]() |
1fe4c33b6a | ||
![]() |
14d9c386fd | ||
![]() |
984d0127f1 | ||
![]() |
f472f59513 | ||
![]() |
48587aca23 | ||
![]() |
5fc3916fff | ||
![]() |
df22f8da5f | ||
![]() |
8e56f61d0f | ||
![]() |
fb10e63489 | ||
![]() |
4d3d58715b | ||
![]() |
c5682f5756 | ||
![]() |
fa263edcc3 | ||
![]() |
0accdded17 | ||
![]() |
b5efeec7fe | ||
![]() |
feb85faae2 | ||
![]() |
d12a4afc8a | ||
![]() |
fc4f914e71 | ||
![]() |
d1dadf4e06 | ||
![]() |
6a3415abbb | ||
![]() |
09c2ab9be8 | ||
![]() |
573ba5e9ac | ||
![]() |
c0f20a4e0a | ||
![]() |
56ee58c239 | ||
![]() |
f4b8ffcca4 | ||
![]() |
e98c9d2a06 | ||
![]() |
45341ee9ce | ||
![]() |
45401e044f | ||
![]() |
38e91fc76f | ||
![]() |
74206dc009 | ||
![]() |
22b470387f | ||
![]() |
20161546d5 | ||
![]() |
af4b32aece | ||
![]() |
71f5dbccb6 | ||
![]() |
717495a980 | ||
![]() |
38dce65dc1 | ||
![]() |
84e6f03134 | ||
![]() |
ce37e736ab | ||
![]() |
f255923b67 | ||
![]() |
138942c09e | ||
![]() |
6fb258967d | ||
![]() |
e3665c3042 | ||
![]() |
1088c057e0 | ||
![]() |
c440c5b3d9 | ||
![]() |
c773ca37ad | ||
![]() |
6fafd5c991 | ||
![]() |
3794079610 | ||
![]() |
412633b669 | ||
![]() |
013b89eb13 | ||
![]() |
fc49367f79 | ||
![]() |
6e83c39f13 | ||
![]() |
010dc1ef86 | ||
![]() |
0a5fa31edb | ||
![]() |
dd9f885293 | ||
![]() |
28b81cd878 | ||
![]() |
bfd05dfa78 | ||
![]() |
dd6413d350 | ||
![]() |
02e1ef685c | ||
![]() |
6efaf155d9 | ||
![]() |
5e7c7e981e | ||
![]() |
16224ebd33 | ||
![]() |
e5379117fb | ||
![]() |
1171069ced | ||
![]() |
78c5e0b56c | ||
![]() |
147ae2c5be | ||
![]() |
9b8622bc58 | ||
![]() |
52775aa66a | ||
![]() |
436f8fda07 | ||
![]() |
e80f8ff69f | ||
![]() |
928f188689 | ||
![]() |
2d85d51879 | ||
![]() |
29a1c786a3 | ||
![]() |
8acaa427d6 | ||
![]() |
cd70d36bbb | ||
![]() |
6154befef6 | ||
![]() |
1efec2adab | ||
![]() |
51c5b993ab | ||
![]() |
e2d09101d4 | ||
![]() |
4f6c823ae7 | ||
![]() |
f915532703 | ||
![]() |
6c9e0a6641 | ||
![]() |
cf5fb9a2e7 | ||
![]() |
6c2106b5be | ||
![]() |
f3f6bc5b33 | ||
![]() |
a86380419e | ||
![]() |
a8f35f6edd | ||
![]() |
764b9abc6b | ||
![]() |
099682892b | ||
![]() |
a6a64f1fdc | ||
![]() |
dd39b6d1bc | ||
![]() |
faaf03a44a | ||
![]() |
01bda22721 | ||
![]() |
964310b7ba | ||
![]() |
f4a9fb73b4 | ||
![]() |
567fccb02e | ||
![]() |
1630a94cfa | ||
![]() |
e4e2e91467 | ||
![]() |
8d64891b8b | ||
![]() |
11ff38dd40 | ||
![]() |
7d5972d330 | ||
![]() |
2a03e2c6b9 | ||
![]() |
458bbe3f1a | ||
![]() |
502adec4ce | ||
![]() |
dcd1039215 | ||
![]() |
577dc2d7d6 | ||
![]() |
629ca22a97 | ||
![]() |
33f9fb8150 | ||
![]() |
f92591b825 | ||
![]() |
e1b90212e4 | ||
![]() |
c19222b22f | ||
![]() |
cf8f26d616 | ||
![]() |
610487eb83 | ||
![]() |
3ff661fe9e | ||
![]() |
bf0c9837cc | ||
![]() |
a8460bb132 | ||
![]() |
70a7d6a0de | ||
![]() |
98c8d45f0b | ||
![]() |
c49afdf0ff | ||
![]() |
e487dfbbc6 | ||
![]() |
c953aafb05 | ||
![]() |
065102c263 | ||
![]() |
9a618fbb25 | ||
![]() |
c5028d72a6 | ||
![]() |
860b33696d | ||
![]() |
fafc4f6ad9 | ||
![]() |
a8df27e5a1 | ||
![]() |
3c7a830fda | ||
![]() |
79b91930fa | ||
![]() |
1c49047390 | ||
![]() |
3eb178db49 | ||
![]() |
741191a498 | ||
![]() |
3a442b9f09 | ||
![]() |
ec883971ef | ||
![]() |
b31e21d80e | ||
![]() |
aa7657c544 | ||
![]() |
4c4aaea26d | ||
![]() |
c38acaff81 | ||
![]() |
763f4659cc | ||
![]() |
2a643d2136 | ||
![]() |
15d25db3f8 | ||
![]() |
938e6c0fd7 | ||
![]() |
11596374ba | ||
![]() |
319c4efbe7 | ||
![]() |
e19be90a6b | ||
![]() |
dc0fa915d4 | ||
![]() |
4b485825c9 | ||
![]() |
11433a5378 | ||
![]() |
4101260d6e | ||
![]() |
a6756ed3b8 | ||
![]() |
d1c5ddc5a6 | ||
![]() |
9e6b6f5a06 | ||
![]() |
0ab2852114 | ||
![]() |
75966ddef6 | ||
![]() |
e510f2e84d | ||
![]() |
d1139ac55f | ||
![]() |
ee7f568aed | ||
![]() |
fa1a853db0 | ||
![]() |
f752ab5edd | ||
![]() |
17139b649b | ||
![]() |
5561e80b04 | ||
![]() |
a0d9d8d576 | ||
![]() |
c7bb90bc6b | ||
![]() |
9524361bb4 | ||
![]() |
1576ea38f8 | ||
![]() |
c521e58190 | ||
![]() |
f9ad844fd6 | ||
![]() |
abf72a42e7 | ||
![]() |
c5362d5f9e | ||
![]() |
15f9dde1c9 | ||
![]() |
db8fb0021f | ||
![]() |
36b6444f34 | ||
![]() |
7b80ac476f | ||
![]() |
9b225b56a9 | ||
![]() |
9634d954d4 | ||
![]() |
8546b01249 | ||
![]() |
a2426e2f90 | ||
![]() |
45181ee945 | ||
![]() |
9d1c72ae7c | ||
![]() |
153758d4de | ||
![]() |
699e4fec73 | ||
![]() |
f703399770 | ||
![]() |
28ceec6fad | ||
![]() |
616291485e | ||
![]() |
6f423143ea | ||
![]() |
dc0d3a40ab | ||
![]() |
7299b2def4 | ||
![]() |
51735c415b | ||
![]() |
544cbc6f01 | ||
![]() |
2121a29f89 | ||
![]() |
8afdafebf9 | ||
![]() |
282dfa1bea | ||
![]() |
096afcb690 | ||
![]() |
a3a8b0e7d1 | ||
![]() |
84f8aa9aa9 | ||
![]() |
383677f3f1 | ||
![]() |
35b0181df0 | ||
![]() |
bdd71ff840 | ||
![]() |
d9b83719d6 | ||
![]() |
83d7be3447 | ||
![]() |
ae2d504beb | ||
![]() |
86b94c3b7f | ||
![]() |
91f16dfcb7 | ||
![]() |
f84f0df9b5 | ||
![]() |
0c4716b047 | ||
![]() |
a1024ee392 | ||
![]() |
28abbcc858 | ||
![]() |
c6a6294046 | ||
![]() |
335d664e7c | ||
![]() |
04458ad31d | ||
![]() |
c82547bf30 | ||
![]() |
a3491f064f | ||
![]() |
1496bb6079 | ||
![]() |
536efeb26e | ||
![]() |
104ceef548 | ||
![]() |
e91961224d | ||
![]() |
b02b1832b4 | ||
![]() |
130c03c8b8 | ||
![]() |
dfb7d3364c | ||
![]() |
3244c96f1c | ||
![]() |
e8db5ff7fe | ||
![]() |
b18ba810a5 | ||
![]() |
374964cd07 | ||
![]() |
d42165f0bb | ||
![]() |
59532d93ef | ||
![]() |
585d62c0cd | ||
![]() |
979eb1aa0c | ||
![]() |
b53be9d45c | ||
![]() |
4ebe8c1270 | ||
![]() |
cdefd617d0 | ||
![]() |
75bbca68ce | ||
![]() |
9c48511c69 | ||
![]() |
77da92f42a | ||
![]() |
299ef6e6db | ||
![]() |
40cd885c11 | ||
![]() |
5239d9c823 | ||
![]() |
dac93c2475 | ||
![]() |
a659bafaa3 | ||
![]() |
11e847ac74 | ||
![]() |
75e1f073cc | ||
![]() |
a010b138b4 | ||
![]() |
32d1114948 | ||
![]() |
5d741259da | ||
![]() |
804aa99f06 | ||
![]() |
fea8f3c185 | ||
![]() |
c07cc28d88 | ||
![]() |
7b23019040 | ||
![]() |
a97adc6626 | ||
![]() |
96d6b0ce94 | ||
![]() |
0e7095720b | ||
![]() |
65f8c22cc7 | ||
![]() |
24915f4df5 | ||
![]() |
c2c45520a5 | ||
![]() |
7c3a0d39e6 | ||
![]() |
d03a169dae | ||
![]() |
53215726e1 | ||
![]() |
b51f9fa37e | ||
![]() |
f78269d16e | ||
![]() |
5926ed1f73 | ||
![]() |
07e26508b0 | ||
![]() |
7aa3b41dfe | ||
![]() |
87625a23bb | ||
![]() |
35447463ba | ||
![]() |
7e0ab55e5f | ||
![]() |
abde31148f | ||
![]() |
24ac2d4236 | ||
![]() |
328b5d79d3 | ||
![]() |
79e4667ce4 | ||
![]() |
a815eb552a | ||
![]() |
d7ce508894 | ||
![]() |
704f1205a6 | ||
![]() |
1f386d4a83 | ||
![]() |
b5d96e7db7 | ||
![]() |
bd23b8c75f | ||
![]() |
230a677c74 | ||
![]() |
82ae7460bf | ||
![]() |
edab0f3a25 | ||
![]() |
db767e2d12 | ||
![]() |
f3c475eeba | ||
![]() |
22aa2b6341 | ||
![]() |
8cbd46a023 | ||
![]() |
8efef06fb1 | ||
![]() |
0233ee0c0d | ||
![]() |
b03cc85f79 | ||
![]() |
c984e62378 | ||
![]() |
0a026a9cd8 | ||
![]() |
133d62a2ef | ||
![]() |
053eb65a0b | ||
![]() |
baad8337f9 | ||
![]() |
41bea7c23a | ||
![]() |
3246e83251 | ||
![]() |
5d10c3446a | ||
![]() |
813bf24445 | ||
![]() |
ff43d02803 | ||
![]() |
7fa7ec0891 | ||
![]() |
9aa3ae955f | ||
![]() |
b640ac4660 | ||
![]() |
b5ea092964 | ||
![]() |
12e23ee199 | ||
![]() |
62ed5f2db5 | ||
![]() |
1627d3a53f | ||
![]() |
80357bbcb3 | ||
![]() |
d8bc0495de | ||
![]() |
8346cd6c88 | ||
![]() |
50afca7961 | ||
![]() |
20ca5e37e9 | ||
![]() |
3365875fbd | ||
![]() |
642501e365 | ||
![]() |
0ec5f25be6 | ||
![]() |
53d4e90411 | ||
![]() |
291e145ac5 | ||
![]() |
221ca0c404 | ||
![]() |
aa20248c83 | ||
![]() |
b386d23d09 | ||
![]() |
aa9c164940 | ||
![]() |
d6abb363f6 | ||
![]() |
09aa1c57f1 | ||
![]() |
ab95cc6726 | ||
![]() |
e99d3f7055 | ||
![]() |
2a7c0b3402 | ||
![]() |
c74dc7d114 | ||
![]() |
6e6c2aadd7 | ||
![]() |
64b67ba641 | ||
![]() |
22b185240c | ||
![]() |
1032c52216 | ||
![]() |
43e5209490 | ||
![]() |
3b4ea9501f | ||
![]() |
4c90d20c9c | ||
![]() |
b9fba8d71f | ||
![]() |
6176063e73 | ||
![]() |
74aa8f1e6d | ||
![]() |
b99c741a11 | ||
![]() |
1f1b59597b | ||
![]() |
7f89eeb365 | ||
![]() |
4665496ddb | ||
![]() |
377165a38f | ||
![]() |
c320f16a0b | ||
![]() |
e5e0786c8b | ||
![]() |
c35d86f976 | ||
![]() |
d6140093c0 | ||
![]() |
df373c9f7e | ||
![]() |
0cbe402e99 | ||
![]() |
e561e48f04 | ||
![]() |
367317af6c | ||
![]() |
467460679b | ||
![]() |
187860bded | ||
![]() |
37cee574ef | ||
![]() |
ea5f7f0848 | ||
![]() |
6e05f1225b | ||
![]() |
7d6a0bced9 | ||
![]() |
985939c145 | ||
![]() |
d4af96647e | ||
![]() |
0f4d617887 | ||
![]() |
a606d3181c | ||
![]() |
c12b0cd10a | ||
![]() |
4f4f97b69e | ||
![]() |
77078cded4 | ||
![]() |
457fb013ef | ||
![]() |
eaa2fef868 | ||
![]() |
4ddd9af50f | ||
![]() |
433b6c6910 | ||
![]() |
93d1fea67d | ||
![]() |
e759794408 | ||
![]() |
4afbfd3946 | ||
![]() |
0a7767eaaa | ||
![]() |
6582f0029b | ||
![]() |
23a82bcd7a | ||
![]() |
57647abc24 | ||
![]() |
c6e04c3c9e | ||
![]() |
5416e4054a | ||
![]() |
21b94765ce | ||
![]() |
1d4bff4f65 | ||
![]() |
237d18974e | ||
![]() |
b62fa72ceb | ||
![]() |
90753a2c11 | ||
![]() |
3befabead0 | ||
![]() |
12528ae72c | ||
![]() |
e754f24712 | ||
![]() |
96f661e821 | ||
![]() |
0f9f23eb6c | ||
![]() |
144aea4b91 | ||
![]() |
795bfd045d | ||
![]() |
b25f5265b1 | ||
![]() |
9464d51b2b | ||
![]() |
52f47aa46c | ||
![]() |
2599737033 | ||
![]() |
8e33f82a85 | ||
![]() |
79e243c267 | ||
![]() |
059591fbae | ||
![]() |
eb8345543e | ||
![]() |
d14bfc5586 | ||
![]() |
f71a240239 | ||
![]() |
f015846c11 | ||
![]() |
dedcd6c647 | ||
![]() |
0d69cda8bd | ||
![]() |
da948ae6bb | ||
![]() |
bdfdc6ced0 | ||
![]() |
5b82e43da5 | ||
![]() |
3f0859658d | ||
![]() |
ed2c651429 | ||
![]() |
e72f039c75 | ||
![]() |
6fb5cef962 | ||
![]() |
c64afa1bfc | ||
![]() |
b4d8021ce0 | ||
![]() |
28c9bd3f7e | ||
![]() |
52110aff44 | ||
![]() |
bd4ee91a19 | ||
![]() |
e13972b9da | ||
![]() |
884eb07793 | ||
![]() |
a669198bfa | ||
![]() |
d8319b6cc2 | ||
![]() |
3cefc6be27 | ||
![]() |
b3a837c64c | ||
![]() |
63d5806388 | ||
![]() |
dd0cabdaa4 | ||
![]() |
2c2566d8fa | ||
![]() |
f253e352cd | ||
![]() |
c01b10a593 | ||
![]() |
3bfec270ac | ||
![]() |
14174896ad | ||
![]() |
8dd72661af | ||
![]() |
592469464b | ||
![]() |
432d1ff9a6 | ||
![]() |
9ca80d30ce | ||
![]() |
63f7a14883 | ||
![]() |
8763225972 | ||
![]() |
fb7b17d240 | ||
![]() |
1013da463f | ||
![]() |
caadd1815a | ||
![]() |
d7aaa0c6ef | ||
![]() |
32c882af91 | ||
![]() |
37253aae1f | ||
![]() |
4a3197fbc5 | ||
![]() |
d4eeb06a20 | ||
![]() |
2386206fe0 | ||
![]() |
d2c4d833f4 | ||
![]() |
3f86741de7 | ||
![]() |
1e2d51eb77 | ||
![]() |
8b5642949a | ||
![]() |
b3bcae8bd6 | ||
![]() |
6c4855e1eb | ||
![]() |
c071bdaf96 | ||
![]() |
1b3ccfffe8 | ||
![]() |
df4af6127f | ||
![]() |
c139efb1e9 | ||
![]() |
d71afb71da | ||
![]() |
20148e061a | ||
![]() |
d60ea440f6 | ||
![]() |
b80677d009 | ||
![]() |
c2382d4f5b | ||
![]() |
e58ce86264 | ||
![]() |
507c0143ee | ||
![]() |
fff9283ca4 | ||
![]() |
6672cf0812 | ||
![]() |
c2f1d55c0e | ||
![]() |
7e8890cc55 | ||
![]() |
446ab058e3 | ||
![]() |
1571052a74 | ||
![]() |
eee908d02c | ||
![]() |
d43ce30663 | ||
![]() |
dcc9a1ae15 | ||
![]() |
e9ee514c9a | ||
![]() |
87b4a169ca | ||
![]() |
0bf83db41b | ||
![]() |
bbdba70db6 | ||
![]() |
09f3518069 | ||
![]() |
62448bfb93 | ||
![]() |
b1c16a673d | ||
![]() |
36ae4ae70e | ||
![]() |
166bb2861f | ||
![]() |
5747951cc7 | ||
![]() |
ba37b9e577 | ||
![]() |
16e8dfe417 | ||
![]() |
b4887fcd37 | ||
![]() |
f6e2b79dd8 | ||
![]() |
737c3e90eb | ||
![]() |
47a2102694 | ||
![]() |
3e5f85ccf3 | ||
![]() |
18eef3b23a | ||
![]() |
ee2247d77c | ||
![]() |
344bf48c9b | ||
![]() |
ca0921a95a | ||
![]() |
884b3c0f4b | ||
![]() |
c7f01c9bbd | ||
![]() |
ebabb96ce0 | ||
![]() |
73706ae26d | ||
![]() |
a7591f9738 | ||
![]() |
ec05ab1e3c | ||
![]() |
9e495f700e | ||
![]() |
9d4f0671f3 | ||
![]() |
319af78171 | ||
![]() |
2c94bbf751 | ||
![]() |
56a6d3f77d | ||
![]() |
c3d60ed9f7 | ||
![]() |
05f0007437 | ||
![]() |
793421bf59 | ||
![]() |
e0eba21ab7 | ||
![]() |
0d8478b82e | ||
![]() |
20591d966e | ||
![]() |
49aea9879b | ||
![]() |
70aa294cc1 | ||
![]() |
4c2ed3c35d | ||
![]() |
1084362f7c | ||
![]() |
6d712590f1 | ||
![]() |
288075c724 | ||
![]() |
f887972348 | ||
![]() |
5e71e0fd4a | ||
![]() |
8aade372cb | ||
![]() |
3a469d72a0 | ||
![]() |
dd4a1aa0d4 | ||
![]() |
629554f8a8 | ||
![]() |
a1ef8eaf29 | ||
![]() |
05c55e53a8 | ||
![]() |
494ef1a78a | ||
![]() |
1a6fb16166 | ||
![]() |
430183fa14 | ||
![]() |
dcc842dfeb | ||
![]() |
99789e2b9a | ||
![]() |
6b24a7919d | ||
![]() |
e48b23c2be | ||
![]() |
3a8a8fb467 | ||
![]() |
d1c4586d6b | ||
![]() |
652c2840f9 | ||
![]() |
7ad366d253 | ||
![]() |
503953fb9b | ||
![]() |
5e33f2d50f | ||
![]() |
e417e424fa | ||
![]() |
68c9e9c2b9 | ||
![]() |
b1e04a89be | ||
![]() |
83e6b0c0c6 | ||
![]() |
2f7f1aab8a | ||
![]() |
5620dd76fa | ||
![]() |
4f4eedc175 | ||
![]() |
73f6e8809a | ||
![]() |
8cca0d74dc | ||
![]() |
f770ae3eb6 | ||
![]() |
ae99aa0bbe | ||
![]() |
59a1336b8d | ||
![]() |
7af3a981b5 | ||
![]() |
ade7304eea | ||
![]() |
9fc61cae48 | ||
![]() |
95808a3cfd | ||
![]() |
4bccc96684 | ||
![]() |
887c027ec2 | ||
![]() |
afa1380672 | ||
![]() |
95ccbb5995 | ||
![]() |
d17c8ad7fc | ||
![]() |
b6849b8e7d | ||
![]() |
b2eba34506 | ||
![]() |
23a991a0b4 | ||
![]() |
319acec27c | ||
![]() |
4a9dd87496 | ||
![]() |
d59ed64345 | ||
![]() |
df15abd072 | ||
![]() |
d6e454c320 | ||
![]() |
2717d7bdad | ||
![]() |
07fe5a8b13 | ||
![]() |
7d7ea45465 | ||
![]() |
0e0ab349fb | ||
![]() |
5612cf32e5 | ||
![]() |
886a675f62 | ||
![]() |
f6e50abd65 | ||
![]() |
a649610d61 | ||
![]() |
4d30a49031 | ||
![]() |
f2204d81f1 | ||
![]() |
c3ffa30e7a | ||
![]() |
8790ce1890 | ||
![]() |
b4c7cf6099 | ||
![]() |
a05eb66c99 | ||
![]() |
0281af75f4 | ||
![]() |
bd32dedb48 | ||
![]() |
ff2a3f4e3a | ||
![]() |
b1e78f0354 | ||
![]() |
3cf92e07df | ||
![]() |
b208b368d8 | ||
![]() |
8153dafc73 | ||
![]() |
c7711dac6d | ||
![]() |
041932ed01 | ||
![]() |
8c3c68e613 | ||
![]() |
98be7826a3 | ||
![]() |
534f88dd9a | ||
![]() |
5d5ac041cd | ||
![]() |
3b0501e69f | ||
![]() |
237362ddd3 | ||
![]() |
5f0380cefb | ||
![]() |
84bc4662c2 | ||
![]() |
b478bfb3cf | ||
![]() |
da12320a0c | ||
![]() |
f6c1fd76f2 | ||
![]() |
509a077ec0 | ||
![]() |
5fa2d8f5ca | ||
![]() |
9705d42e02 | ||
![]() |
82cb9e0203 | ||
![]() |
4ffda656e8 | ||
![]() |
bb165fadf6 | ||
![]() |
fd9ee1901b | ||
![]() |
a62a887649 | ||
![]() |
7c5a755602 | ||
![]() |
95ae3a3c7e | ||
![]() |
eea841d25d | ||
![]() |
b01f3bb2a1 | ||
![]() |
32222d7d0a | ||
![]() |
2d245351e5 | ||
![]() |
8cfe353061 | ||
![]() |
3056a2ea2e | ||
![]() |
ba6d5ae2af | ||
![]() |
adba05bac5 | ||
![]() |
c66c4d8fd5 | ||
![]() |
f84235166e | ||
![]() |
f5157085aa | ||
![]() |
0376b5087d | ||
![]() |
9c7ff70072 | ||
![]() |
b2378d6d5f | ||
![]() |
d8e21e673d | ||
![]() |
0e479f3502 | ||
![]() |
1f6f909b2e | ||
![]() |
c9f38e2813 | ||
![]() |
7b47cb43c1 | ||
![]() |
0dd00a6023 | ||
![]() |
1c24e2dec6 | ||
![]() |
ce0921d0c5 | ||
![]() |
780f176fd9 | ||
![]() |
f145617b0f | ||
![]() |
7bd8443739 | ||
![]() |
7ce8090346 | ||
![]() |
cf391f937a | ||
![]() |
1602f60e53 | ||
![]() |
c19b1cc76d | ||
![]() |
7e1f7f6a50 | ||
![]() |
735d9629cf | ||
![]() |
87e2454858 | ||
![]() |
e195b47ffc | ||
![]() |
54acfa8880 | ||
![]() |
74e07656d2 | ||
![]() |
fb1338537b | ||
![]() |
d4b1ed859c | ||
![]() |
3561cc710b | ||
![]() |
bcd2e64a93 | ||
![]() |
504d4abe12 | ||
![]() |
df0d1a2134 | ||
![]() |
ec4f5495ba | ||
![]() |
37962e2b2a | ||
![]() |
d6915f4d5f | ||
![]() |
6cb8c81de1 | ||
![]() |
3351ce2bc5 | ||
![]() |
fc45a0d9ba | ||
![]() |
55c850a8a8 | ||
![]() |
193ac67176 | ||
![]() |
1be797faba | ||
![]() |
99f29e59a1 | ||
![]() |
50b4e7f26e | ||
![]() |
87def3837b | ||
![]() |
a20e924ee7 | ||
![]() |
597dcd864a | ||
![]() |
8e1de85980 | ||
![]() |
4fb3f2a1fe | ||
![]() |
0801518f5d | ||
![]() |
23bbec4459 | ||
![]() |
e4c3c039be | ||
![]() |
11a031e238 | ||
![]() |
ed46d44b97 | ||
![]() |
1b12ca80ec | ||
![]() |
853f005180 | ||
![]() |
deec6c43a1 | ||
![]() |
f9ac5b327a | ||
![]() |
5ce359b14e | ||
![]() |
8b90194d1b | ||
![]() |
f64c2e0a7f | ||
![]() |
82e0066ed4 | ||
![]() |
b2c3eb1644 | ||
![]() |
45a41811de | ||
![]() |
e47dd122f8 | ||
![]() |
e8c32255da | ||
![]() |
d30fa97729 | ||
![]() |
56ca2e43e9 | ||
![]() |
c4d7045a24 | ||
![]() |
67effd6985 | ||
![]() |
df8aaeb1d5 | ||
![]() |
348182f4b3 | ||
![]() |
e3e82d02ad | ||
![]() |
1c7a9b00be | ||
![]() |
fc0c5e80da | ||
![]() |
208eed05ff | ||
![]() |
cb551effb9 | ||
![]() |
c16ae1ab39 | ||
![]() |
5e73c67d67 | ||
![]() |
2ac3dcbd43 | ||
![]() |
fe3473fc8b | ||
![]() |
a2dc3cb388 | ||
![]() |
ca5186978e | ||
![]() |
103ad53f45 | ||
![]() |
03e2aed969 | ||
![]() |
77092c7a0c | ||
![]() |
48813e6be1 | ||
![]() |
b6ca8abcfd | ||
![]() |
8f4e653020 | ||
![]() |
9b4452fd7b | ||
![]() |
fd1fff11cc | ||
![]() |
1b3e6a4831 | ||
![]() |
a6262a662e | ||
![]() |
b88bae5c5a | ||
![]() |
069b78b305 | ||
![]() |
6c1573d0aa | ||
![]() |
b60a302821 | ||
![]() |
3c490163ea | ||
![]() |
2ed61cbe35 | ||
![]() |
0cc19d6a9f | ||
![]() |
c588ccd63e | ||
![]() |
159474ff23 | ||
![]() |
220c3fe3b3 | ||
![]() |
fc51559556 | ||
![]() |
06725504a3 | ||
![]() |
fddc063b97 | ||
![]() |
9d32c5a29b | ||
![]() |
fc38e56373 | ||
![]() |
16f7f0501f | ||
![]() |
989e750e48 | ||
![]() |
46e36e2dda | ||
![]() |
9bde9b18f1 | ||
![]() |
ff592dd66f | ||
![]() |
2810b9ae0a | ||
![]() |
d09a6d130c | ||
![]() |
b873107275 | ||
![]() |
e4e84a7ecf | ||
![]() |
61643a698c | ||
![]() |
4b59e3f971 | ||
![]() |
48c18e17d5 | ||
![]() |
337f4f9d87 | ||
![]() |
584f36f0a1 | ||
![]() |
286cb4cde8 | ||
![]() |
66cb6732ed | ||
![]() |
182d5eeef9 | ||
![]() |
cf8641964c | ||
![]() |
010cccd33e | ||
![]() |
bef650d4a4 | ||
![]() |
4fadf7c75b | ||
![]() |
418cd41f14 | ||
![]() |
81e3156f8b | ||
![]() |
c18094ee07 | ||
![]() |
4157f8f2ec | ||
![]() |
eb792d9f8a | ||
![]() |
1f56a49f28 | ||
![]() |
32c97efab4 | ||
![]() |
b8f65234bc | ||
![]() |
51f6c3a059 | ||
![]() |
38ea77ebbe | ||
![]() |
1a250c7b2b | ||
![]() |
6c9b8401f9 | ||
![]() |
8f0f6bf89c | ||
![]() |
7d3ca90dfe | ||
![]() |
9bc391250d | ||
![]() |
12b6bcaf05 | ||
![]() |
7028fe0b4d | ||
![]() |
8cb8547532 | ||
![]() |
eb4c6f3f09 | ||
![]() |
16eb85adfb | ||
![]() |
8672ad12b1 | ||
![]() |
0a67dbffb0 | ||
![]() |
3678c376c9 | ||
![]() |
95b2821824 | ||
![]() |
6c33d55d16 | ||
![]() |
9915e163c5 | ||
![]() |
7cdd5e546f | ||
![]() |
b45fbe1dcc | ||
![]() |
6f3c50e75d | ||
![]() |
2db58b786d | ||
![]() |
84d01b1828 | ||
![]() |
b1a239cdc4 | ||
![]() |
cf0e451ef4 | ||
![]() |
33648f2a4c | ||
![]() |
ac4d535dbf | ||
![]() |
09855c0caf | ||
![]() |
46e81f0890 | ||
![]() |
69bc0fb8b3 | ||
![]() |
a5c038f5e8 | ||
![]() |
9d1ceee797 | ||
![]() |
7dd3c01606 | ||
![]() |
88804dd558 | ||
![]() |
19fec86f9b | ||
![]() |
0dec5bb161 | ||
![]() |
7a5f0faf0c | ||
![]() |
9a812f16bd | ||
![]() |
1148206fc8 | ||
![]() |
e49e0ebe56 | ||
![]() |
456b82d2bb | ||
![]() |
15fe4fd175 | ||
![]() |
f81890fa95 | ||
![]() |
0dc35c9df9 | ||
![]() |
9cb2aa989a | ||
![]() |
2b2fd2728c | ||
![]() |
06843c1cdc | ||
![]() |
326d5e6b63 | ||
![]() |
2ecdffd65c | ||
![]() |
e89e253636 | ||
![]() |
15c0878084 | ||
![]() |
e71f8b8f7b | ||
![]() |
996dbdb0b4 | ||
![]() |
9ac8bc9328 | ||
![]() |
f4dd53d79d | ||
![]() |
8e1a6d8e73 | ||
![]() |
d3e02eaa89 | ||
![]() |
4bff06dafb | ||
![]() |
18c8ae844e | ||
![]() |
4af9d9b6c3 | ||
![]() |
bfe4995ed5 | ||
![]() |
d4bb667051 | ||
![]() |
1c3c773dac | ||
![]() |
7105e19468 | ||
![]() |
7729cb3ecc | ||
![]() |
f3045f0519 | ||
![]() |
b11eddfaa8 | ||
![]() |
84224a65ff | ||
![]() |
a2c8fe0370 | ||
![]() |
778dd81615 | ||
![]() |
1a76664d56 | ||
![]() |
99d1ae52fc | ||
![]() |
cae4a5456f | ||
![]() |
3f6e4af5a9 | ||
![]() |
420f017bce | ||
![]() |
44895011dc | ||
![]() |
2177d38e9c | ||
![]() |
8c3511a8b3 | ||
![]() |
62c3540467 | ||
![]() |
b034ab5a8e | ||
![]() |
434ef46088 | ||
![]() |
308304e4a4 | ||
![]() |
e388822e9d | ||
![]() |
6a4bc0289d | ||
![]() |
d93d62371c | ||
![]() |
b29190c4f0 | ||
![]() |
1b088fade6 | ||
![]() |
9cd0441cd3 | ||
![]() |
396f16e7b2 | ||
![]() |
fb693442f5 | ||
![]() |
ee97bb17ba | ||
![]() |
4e35e5b8ae | ||
![]() |
f0e466420a | ||
![]() |
1a40fe54a6 | ||
![]() |
d03be77665 | ||
![]() |
9792a377e4 | ||
![]() |
51b8d964c8 | ||
![]() |
60e5825579 | ||
![]() |
c504461b66 | ||
![]() |
b8e7b3941a | ||
![]() |
96fd8008cd | ||
![]() |
6a4dfc5ba4 | ||
![]() |
60c78658ef | ||
![]() |
0dd382883f | ||
![]() |
58351b9a63 | ||
![]() |
51d295a1da | ||
![]() |
73031f4b80 | ||
![]() |
aa8a757fe2 | ||
![]() |
1ecd0916d5 | ||
![]() |
fe922fce87 | ||
![]() |
3fa8be77d6 | ||
![]() |
6253ab7bb0 | ||
![]() |
385d1d2c24 | ||
![]() |
96ee3e50a7 | ||
![]() |
c9624d4cdb | ||
![]() |
526261937d | ||
![]() |
6631f56ebf | ||
![]() |
f866bf8dbe | ||
![]() |
28d186a13d | ||
![]() |
fbbbd36535 | ||
![]() |
ff328f0f6f | ||
![]() |
d0708b0051 | ||
![]() |
baa7c8f975 | ||
![]() |
ab23f5e6cd | ||
![]() |
82f7308e1b | ||
![]() |
85f2727872 | ||
![]() |
787b16a7be | ||
![]() |
d50efa626a | ||
![]() |
9bc866124b | ||
![]() |
b08aef967e | ||
![]() |
47ea0f5f98 | ||
![]() |
3e3f7c3f47 | ||
![]() |
cd6ae89cd9 | ||
![]() |
58bf120eba | ||
![]() |
8164ef9762 | ||
![]() |
d096a21da6 | ||
![]() |
4a2959b3ec | ||
![]() |
c6cc1430a9 | ||
![]() |
a050b546b9 | ||
![]() |
39732d74c9 | ||
![]() |
21911bfe57 | ||
![]() |
8cc5d5dc78 | ||
![]() |
632a274b8f | ||
![]() |
97ef18db65 | ||
![]() |
f11957b8f4 | ||
![]() |
bb5395cd29 | ||
![]() |
0978095a37 | ||
![]() |
cf16782338 | ||
![]() |
8f93ac7e7a | ||
![]() |
756bb7f6e1 | ||
![]() |
ee52a8e805 | ||
![]() |
a454954bd0 | ||
![]() |
9a581e70a1 | ||
![]() |
15978d4d07 | ||
![]() |
288747c660 | ||
![]() |
33cd8446d3 | ||
![]() |
0d029ebe6d | ||
![]() |
abcb23a838 | ||
![]() |
f7b53ef959 | ||
![]() |
9a3a3feb4c | ||
![]() |
9a01062ae2 | ||
![]() |
34134df3a7 | ||
![]() |
6ba60f61cb | ||
![]() |
aeb544aff7 | ||
![]() |
0d3a9e6491 | ||
![]() |
cb0f361171 | ||
![]() |
afb3bcaa8b | ||
![]() |
df06904f4a | ||
![]() |
79380c209d | ||
![]() |
425d64a023 | ||
![]() |
e58a4c9a76 | ||
![]() |
79ffb2de47 | ||
![]() |
fb5c6d3837 | ||
![]() |
fd67dccc5c | ||
![]() |
fdfef07d15 | ||
![]() |
a1dbecf3b8 | ||
![]() |
b4383065d3 | ||
![]() |
57956d0525 | ||
![]() |
11a7d8adfb | ||
![]() |
a7fcc3ca3f | ||
![]() |
aba5fe36d8 | ||
![]() |
03c1c88b5b | ||
![]() |
a8211e07d8 | ||
![]() |
74ac5b802d | ||
![]() |
5ed3ffc0c8 | ||
![]() |
900bf43a8a | ||
![]() |
870a1c85c7 | ||
![]() |
103306f00c | ||
![]() |
3224628f36 | ||
![]() |
837b49a5d2 | ||
![]() |
ce2becb55e | ||
![]() |
18a936e648 | ||
![]() |
c283547692 | ||
![]() |
e1d93950ad | ||
![]() |
fb5e36bc6f | ||
![]() |
d59ebc3e32 | ||
![]() |
27fa12427c | ||
![]() |
295b2fff5a | ||
![]() |
c54896ba70 | ||
![]() |
ec6d46bc8f | ||
![]() |
7517e70740 | ||
![]() |
781789e779 | ||
![]() |
2d2c18f0bd | ||
![]() |
cbcee5d87d | ||
![]() |
38ed1cbc9d | ||
![]() |
4ed372af13 | ||
![]() |
8ee31a6ba3 | ||
![]() |
bb7d22d019 | ||
![]() |
3c3cdb2736 | ||
![]() |
7b456a28d1 | ||
![]() |
089e95f250 | ||
![]() |
9ea73fcb09 | ||
![]() |
5e81ae1798 | ||
![]() |
93820d26ba | ||
![]() |
bce70cc024 | ||
![]() |
931ca18340 | ||
![]() |
2079d61a14 | ||
![]() |
bafe237375 | ||
![]() |
561a7cf520 | ||
![]() |
a72b660cbb | ||
![]() |
50917ead5f | ||
![]() |
39faa125d5 | ||
![]() |
168cb758ec | ||
![]() |
4f73382e95 | ||
![]() |
b9891088ad | ||
![]() |
4e6e63dca2 | ||
![]() |
f619b96228 | ||
![]() |
12b199c5e5 | ||
![]() |
31b608a1e9 | ||
![]() |
02316e1e40 | ||
![]() |
2b45aa42f5 | ||
![]() |
4e2de8bdc6 | ||
![]() |
e64e8d24ac | ||
![]() |
2ec0c5e284 | ||
![]() |
de9d498109 | ||
![]() |
b796694cd5 | ||
![]() |
641ddbbbb9 | ||
![]() |
bc8860ce32 | ||
![]() |
4b8f0d0972 | ||
![]() |
e8361b3c0e | ||
![]() |
95f8b1bbc5 | ||
![]() |
162b840100 | ||
![]() |
10cd0f3992 | ||
![]() |
5c76c37a50 | ||
![]() |
bfdbc2371d | ||
![]() |
9f5fda6a04 | ||
![]() |
98589b487c | ||
![]() |
df8b1b5dd2 | ||
![]() |
cb004e9d8b | ||
![]() |
8da64860e7 | ||
![]() |
3db929a2be | ||
![]() |
d90b1e2c00 | ||
![]() |
004fe91d37 | ||
![]() |
5bc72998e0 | ||
![]() |
66b22c5818 | ||
![]() |
6bd4925753 | ||
![]() |
a8f8667a03 | ||
![]() |
0eec8b84a1 | ||
![]() |
cc83b9349d | ||
![]() |
27a9fd1792 | ||
![]() |
47ef51d51e | ||
![]() |
35c967653b | ||
![]() |
dfaeb4692c | ||
![]() |
019d322351 | ||
![]() |
3d5c1c6cef | ||
![]() |
66cab785fc | ||
![]() |
b406025aae | ||
![]() |
01d9faefa5 | ||
![]() |
08f5a25d3b | ||
![]() |
4da76d0e5f | ||
![]() |
c4db84ad0e | ||
![]() |
a5df622099 | ||
![]() |
f9628f883d | ||
![]() |
dad16cd589 | ||
![]() |
9035b400a6 | ||
![]() |
d6c36ec406 | ||
![]() |
20350846fc | ||
![]() |
c31ae1a651 | ||
![]() |
0819ed2053 | ||
![]() |
51a610d46c | ||
![]() |
2bc226eb57 | ||
![]() |
801554f708 | ||
![]() |
c864448dc9 | ||
![]() |
127eff49ee | ||
![]() |
5247fd50db | ||
![]() |
3dfa5ba43a | ||
![]() |
90c56a9d66 | ||
![]() |
aa2af10f67 | ||
![]() |
a641ebf221 | ||
![]() |
40d0f50838 | ||
![]() |
2385f3c9db | ||
![]() |
b51c608d3f | ||
![]() |
a3be70f0a5 | ||
![]() |
ca9c039ba6 | ||
![]() |
7f187f9857 | ||
![]() |
4036448c02 | ||
![]() |
94d7523f83 | ||
![]() |
f7786e207e | ||
![]() |
9e212c515e | ||
![]() |
ad9872d884 | ||
![]() |
90757544fd | ||
![]() |
302daddcd1 | ||
![]() |
a278e925a1 | ||
![]() |
a8413a1539 | ||
![]() |
078229a5e4 | ||
![]() |
44a1f90308 | ||
![]() |
b222ec7631 | ||
![]() |
f136cca5df | ||
![]() |
7cabc5670d | ||
![]() |
ea9051624d | ||
![]() |
0d37f3a79b | ||
![]() |
7624b78544 | ||
![]() |
f1afbb3442 | ||
![]() |
1e0642b086 | ||
![]() |
d7ce77b7c6 | ||
![]() |
1d894dda24 | ||
![]() |
d0bfd3e523 | ||
![]() |
a1dfe07bfc | ||
![]() |
6d2f645363 | ||
![]() |
c647e8639f | ||
![]() |
bdb729a5f2 | ||
![]() |
217feb6a1f | ||
![]() |
52ec4120cd | ||
![]() |
e7fcf3f189 | ||
![]() |
aa66d0a0eb | ||
![]() |
1bce2dc5c5 | ||
![]() |
6bcaf4f875 | ||
![]() |
0956415707 | ||
![]() |
ec334239e0 | ||
![]() |
b9424e634f | ||
![]() |
eb74846d7d | ||
![]() |
97dab9be8d | ||
![]() |
3df4a78464 | ||
![]() |
3138cb015a | ||
![]() |
f502886510 | ||
![]() |
b127b24f02 | ||
![]() |
9eb0c668c4 | ||
![]() |
813f14aa02 | ||
![]() |
01ea982fca | ||
![]() |
a452fea96d | ||
![]() |
b1ebd6632f | ||
![]() |
a7602781c4 | ||
![]() |
30d0df8b79 | ||
![]() |
4b57362056 | ||
![]() |
92ef180efa | ||
![]() |
314bac6cee | ||
![]() |
5c5cc42fe0 | ||
![]() |
f9734a3c52 | ||
![]() |
d0f378d719 | ||
![]() |
c60cb0ba90 | ||
![]() |
85f074b95a | ||
![]() |
66bbf75dd3 | ||
![]() |
7f52d8e860 | ||
![]() |
0c748c1be4 | ||
![]() |
949ab9a5c4 | ||
![]() |
ca46a1cbe6 | ||
![]() |
aa2d197642 | ||
![]() |
0f2ed33ec2 | ||
![]() |
c4d0758f52 | ||
![]() |
e10296831e | ||
![]() |
208af3e130 | ||
![]() |
0951c06fdf | ||
![]() |
a93a99eef3 | ||
![]() |
c22110cf21 | ||
![]() |
f23fd221e4 | ||
![]() |
a3829d3e72 | ||
![]() |
9b85f97835 | ||
![]() |
54285319f6 | ||
![]() |
387e63e6f6 | ||
![]() |
112df5a3fe | ||
![]() |
b63b224c36 | ||
![]() |
20537e87a4 | ||
![]() |
f94569f9ca | ||
![]() |
69e0380406 | ||
![]() |
0cb46f63df | ||
![]() |
073cc891c6 | ||
![]() |
dbf3121c81 | ||
![]() |
b263484c30 | ||
![]() |
56831d345d | ||
![]() |
27f8f955bf | ||
![]() |
f4716de5b6 | ||
![]() |
a01387f5b1 | ||
![]() |
438efc9ca2 | ||
![]() |
469c214ec8 | ||
![]() |
81f9c1e7d1 | ||
![]() |
27f459b63b | ||
![]() |
829c3c6838 | ||
![]() |
27434acef6 | ||
![]() |
3330b4d5d8 | ||
![]() |
abeea42751 | ||
![]() |
e7a484e401 | ||
![]() |
1e06c1e392 | ||
![]() |
688cc2320d | ||
![]() |
5271792666 | ||
![]() |
b8dfea9ae3 | ||
![]() |
5b08c0a013 | ||
![]() |
b3a6596b54 | ||
![]() |
3918db10c8 | ||
![]() |
f0f8210279 | ||
![]() |
eea7ea9d0a | ||
![]() |
36bddba74a | ||
![]() |
77c4a5e95b | ||
![]() |
cfb8617fc8 | ||
![]() |
23f032eaa5 | ||
![]() |
3662829cc9 | ||
![]() |
e025ec0131 | ||
![]() |
ac0a20365b | ||
![]() |
b691a3e6b8 | ||
![]() |
579ca341b4 | ||
![]() |
d99d2e3ef4 | ||
![]() |
8dfbfd8e7d | ||
![]() |
ff306281b9 | ||
![]() |
9f8ebe489f | ||
![]() |
b122c6ef8b | ||
![]() |
d8258482e2 | ||
![]() |
3e53c51903 | ||
![]() |
bb11bf8748 | ||
![]() |
69c614162f | ||
![]() |
d029796e1e | ||
![]() |
38f2aa871e | ||
![]() |
592367c43a | ||
![]() |
41e0507cd3 | ||
![]() |
8947948a0a | ||
![]() |
ee2f71f71b | ||
![]() |
ba0f05b286 | ||
![]() |
acfae43253 | ||
![]() |
e9eacdecd2 | ||
![]() |
8eba631f8d | ||
![]() |
67d6c674df | ||
![]() |
b05a7809b5 | ||
![]() |
0342b7fdcd | ||
![]() |
af7decae18 | ||
![]() |
080f1e8250 | ||
![]() |
b6992ed6b9 | ||
![]() |
82ec2a65e0 | ||
![]() |
9a80f6b57e | ||
![]() |
77843135b0 | ||
![]() |
2b2c0f1ae2 | ||
![]() |
d335a3330f | ||
![]() |
9303f8e72d | ||
![]() |
6316e21be2 | ||
![]() |
87d4746f5e | ||
![]() |
187e10d8c9 | ||
![]() |
c7b8a434c3 | ||
![]() |
b58474173a | ||
![]() |
95fa27374b | ||
![]() |
b0c0167c54 | ||
![]() |
0f078ba4c9 | ||
![]() |
1f4915692b | ||
![]() |
ca2473e895 | ||
![]() |
bc3e66097c | ||
![]() |
97189d41f3 | ||
![]() |
0ff5be49ab | ||
![]() |
d07f12e010 | ||
![]() |
5b6b3f3fb3 | ||
![]() |
618e517d4c | ||
![]() |
c2f2858363 | ||
![]() |
dc39043cd6 | ||
![]() |
d07c8c821c | ||
![]() |
bb0daa9522 | ||
![]() |
e4aa7bd511 | ||
![]() |
ea4071ca9f | ||
![]() |
33d0617538 | ||
![]() |
a003691c7b | ||
![]() |
a5c0643d13 | ||
![]() |
787bc6ed94 | ||
![]() |
df8e58c5cb | ||
![]() |
ada8bfa52f | ||
![]() |
8506dbe2e5 | ||
![]() |
a5a0fc7344 | ||
![]() |
028d19c0fe | ||
![]() |
a76f71a648 | ||
![]() |
a0f47b8de7 | ||
![]() |
df042909bb | ||
![]() |
9aa430268b | ||
![]() |
41ab13c14f | ||
![]() |
7fcb9c3636 | ||
![]() |
4fc06cfd78 | ||
![]() |
8e9c296014 | ||
![]() |
c0d22d55c9 | ||
![]() |
f393ccf745 | ||
![]() |
6495741238 | ||
![]() |
b125b3e3aa | ||
![]() |
2db6d5dae9 | ||
![]() |
44abf6ab47 | ||
![]() |
525accfae6 | ||
![]() |
5a10eec50f | ||
![]() |
f692069616 | ||
![]() |
463ea8fdd2 | ||
![]() |
94dd22a784 | ||
![]() |
99830a40a1 | ||
![]() |
5d45545ca1 | ||
![]() |
36f05e6f4e | ||
![]() |
3155e21cbb | ||
![]() |
6227422c4d | ||
![]() |
7d0ea92da4 | ||
![]() |
75bd708010 | ||
![]() |
df6f84945b | ||
![]() |
9a43c39d3e | ||
![]() |
a1cd356232 | ||
![]() |
aebe03b585 | ||
![]() |
eeaef556c2 | ||
![]() |
39c3295f68 | ||
![]() |
46977b0f01 | ||
![]() |
e4fa133c47 | ||
![]() |
2e613ad5e7 | ||
![]() |
6ece8c0ad7 | ||
![]() |
5bf959a3a5 | ||
![]() |
a59a32eb08 | ||
![]() |
7ff74a47c8 | ||
![]() |
bf933f5ca4 | ||
![]() |
9987b75662 | ||
![]() |
982e9ce58f | ||
![]() |
27977851fb | ||
![]() |
86736193fe | ||
![]() |
6cc141516b | ||
![]() |
c08b3a8ebd | ||
![]() |
5ef80ceb64 | ||
![]() |
6513515555 | ||
![]() |
6652b2eb2a | ||
![]() |
e74865caba | ||
![]() |
a527f5a3e7 | ||
![]() |
12f721717b | ||
![]() |
63c707b38b | ||
![]() |
da7396110b | ||
![]() |
b13e969dd5 | ||
![]() |
f544bb25b5 | ||
![]() |
84abf4bd91 | ||
![]() |
84207afaf0 | ||
![]() |
d80fca38e9 | ||
![]() |
50e0587546 | ||
![]() |
0bd1e13676 | ||
![]() |
9b8de15797 | ||
![]() |
089e37026f | ||
![]() |
8110dc959a | ||
![]() |
ceba1abe06 | ||
![]() |
3d2fa4930d | ||
![]() |
fc04d48f1f | ||
![]() |
64f4f7a38e | ||
![]() |
0bf73bae39 | ||
![]() |
51c2daec6e | ||
![]() |
bd431f64f6 | ||
![]() |
703aee4cad | ||
![]() |
f5c7ccaeff | ||
![]() |
84b3136f26 | ||
![]() |
d780a9a47d | ||
![]() |
4985a44058 | ||
![]() |
36f4732e6a | ||
![]() |
f6c0c39f1a | ||
![]() |
db39b8f4a7 | ||
![]() |
6f4827b3e0 | ||
![]() |
16879b07d2 | ||
![]() |
0f47b04b49 | ||
![]() |
8e40ba197a | ||
![]() |
20c0292b5c | ||
![]() |
c3e2c25359 | ||
![]() |
b833e5e7db | ||
![]() |
ea7a3ea8bf | ||
![]() |
a67ca43f75 | ||
![]() |
9f785710e9 | ||
![]() |
306e0706a1 | ||
![]() |
463ead502d | ||
![]() |
2059abd9c0 | ||
![]() |
1d1c0131bb | ||
![]() |
828ae39c22 | ||
![]() |
14badb37fe | ||
![]() |
0e42ba33fb | ||
![]() |
7bd3b18ebc | ||
![]() |
39cdcb4daf | ||
![]() |
65ed86e396 | ||
![]() |
303b95a1c1 | ||
![]() |
7a97c05206 | ||
![]() |
0c42e3c755 | ||
![]() |
9ef05fec5d | ||
![]() |
706846b628 | ||
![]() |
ed7957d987 | ||
![]() |
d7ae60ae91 | ||
![]() |
c6a117fe4f | ||
![]() |
222e69bfaa | ||
![]() |
c85f0f59a8 | ||
![]() |
1331c7de8a | ||
![]() |
6053dc624f | ||
![]() |
592c20c7d4 | ||
![]() |
035bba89f5 | ||
![]() |
70972f70d7 | ||
![]() |
aec787b927 | ||
![]() |
c3aed7cb69 | ||
![]() |
9f4f7368d0 | ||
![]() |
f89f7ced5f | ||
![]() |
ad8a3ed2a1 | ||
![]() |
b90d7e4956 | ||
![]() |
3266acb2ce | ||
![]() |
668709a33f | ||
![]() |
4c8b67c4b2 | ||
![]() |
1d383a6354 | ||
![]() |
998a431747 | ||
![]() |
f1c1a1e877 | ||
![]() |
f672a63ae7 | ||
![]() |
656554e247 | ||
![]() |
0355f63a48 | ||
![]() |
7af114aebe | ||
![]() |
fd62033b98 | ||
![]() |
37f7c899a5 | ||
![]() |
90b160dd34 | ||
![]() |
97fe5e6341 | ||
![]() |
3e9a97b9ce | ||
![]() |
9396edb2e3 | ||
![]() |
06c134e96a | ||
![]() |
9ea80a6139 | ||
![]() |
c20285aa9d | ||
![]() |
9862f28ac5 | ||
![]() |
91617c30ca | ||
![]() |
d79690ce18 | ||
![]() |
aec0e1c43a | ||
![]() |
92a5dbe015 | ||
![]() |
0905961fde | ||
![]() |
fd0c8f5059 | ||
![]() |
8ffaa08b04 | ||
![]() |
aba99ab8fc | ||
![]() |
9a94019db4 | ||
![]() |
e0b5f2d59b | ||
![]() |
c1f7c49804 | ||
![]() |
f35a30d316 | ||
![]() |
f7aca6ed21 | ||
![]() |
a31631e342 | ||
![]() |
c48e4d12c9 | ||
![]() |
07d044a32c | ||
![]() |
9d6389352d | ||
![]() |
7d95cf6472 | ||
![]() |
2d3705bb81 | ||
![]() |
26fc7c3461 | ||
![]() |
4c5b5109c6 | ||
![]() |
7179ae8cc1 | ||
![]() |
640bcef48e | ||
![]() |
721edf2ed8 | ||
![]() |
11e966b402 | ||
![]() |
2e5f9d5035 | ||
![]() |
43402b3d9a | ||
![]() |
6b7aaad986 | ||
![]() |
48c962343e | ||
![]() |
7e5cf471a0 | ||
![]() |
9ae805538a | ||
![]() |
33444a3308 | ||
![]() |
c9854bee98 | ||
![]() |
94d4b241b3 | ||
![]() |
ffbe89ec2e | ||
![]() |
a610e93cc9 | ||
![]() |
613e5387c5 | ||
![]() |
fe7b8d671b | ||
![]() |
cd96d33598 | ||
![]() |
e37fd3a8f4 | ||
![]() |
f8a5d6872c | ||
![]() |
b7303cd3b5 | ||
![]() |
cca2141078 | ||
![]() |
cc1ea0b0b0 | ||
![]() |
ad9af34f99 | ||
![]() |
1830df1922 | ||
![]() |
6b5236a359 | ||
![]() |
ba2cd8ee64 | ||
![]() |
43122ca984 | ||
![]() |
9bd261acde | ||
![]() |
8583b7f485 | ||
![]() |
3408bcd294 | ||
![]() |
02416856b9 | ||
![]() |
300c8dedfd | ||
![]() |
b0ff1a17a4 | ||
![]() |
0eb2105b16 | ||
![]() |
a53a94e1c2 | ||
![]() |
2adc3a45fb | ||
![]() |
63904e2f97 | ||
![]() |
0b27b96255 | ||
![]() |
87870ade49 | ||
![]() |
9214824510 | ||
![]() |
f3e97bc27c | ||
![]() |
d40127a3e8 | ||
![]() |
1983226581 | ||
![]() |
4be577085e | ||
![]() |
998f4dc36b | ||
![]() |
29a8be7c3d | ||
![]() |
6c3dbc2eee | ||
![]() |
c5dc579017 | ||
![]() |
5a674dd02e | ||
![]() |
fbca0dd9a6 | ||
![]() |
25303b2dfe | ||
![]() |
936448e11c | ||
![]() |
bd1419899d | ||
![]() |
702f112602 | ||
![]() |
f8a332c2e6 | ||
![]() |
6925c0eee4 | ||
![]() |
bef622d3e7 | ||
![]() |
0f1bd1be06 | ||
![]() |
ecc78da55a | ||
![]() |
6d164224e9 | ||
![]() |
811c14b8ba | ||
![]() |
ff1744cbbc | ||
![]() |
e875220edd | ||
![]() |
f0004760f6 | ||
![]() |
efc2f53954 | ||
![]() |
53dadee350 | ||
![]() |
e08f05b069 | ||
![]() |
ee33869f84 | ||
![]() |
66f9a4ee68 | ||
![]() |
2e542f17a3 | ||
![]() |
16696a42f5 | ||
![]() |
473b90da53 | ||
![]() |
60d2d0ff3a | ||
![]() |
e70e93c4b4 | ||
![]() |
5f05196915 | ||
![]() |
c2d0f64340 | ||
![]() |
a3f1249f0a | ||
![]() |
515ccaacd9 | ||
![]() |
3b23633721 | ||
![]() |
d9f6c59543 | ||
![]() |
dad799fa46 | ||
![]() |
baac15f316 | ||
![]() |
0a51ae26bc | ||
![]() |
5691becace | ||
![]() |
d8eebe7698 | ||
![]() |
d5fd40821e | ||
![]() |
ec973ee6c3 | ||
![]() |
eea259055e | ||
![]() |
ca8479c681 | ||
![]() |
3093f8765f | ||
![]() |
6077d10be3 | ||
![]() |
668edc1948 | ||
![]() |
a015ada29a | ||
![]() |
dbdab1bc60 | ||
![]() |
8595e251a2 | ||
![]() |
adc5dd0520 | ||
![]() |
6af8f3a3f2 | ||
![]() |
323d7ad507 | ||
![]() |
84f5115bd1 | ||
![]() |
bc72fd7f46 | ||
![]() |
2d9afd0c21 | ||
![]() |
af47c583b4 | ||
![]() |
d2ff8f8720 | ||
![]() |
8205ed9495 | ||
![]() |
b210a3ebd5 | ||
![]() |
5ae3098faa | ||
![]() |
7ffa7f5bce | ||
![]() |
32134e3a43 | ||
![]() |
2c85a1417b | ||
![]() |
9d2919248b | ||
![]() |
38ec6d90a5 | ||
![]() |
ed9dd0e62a | ||
![]() |
c1ac3e5891 | ||
![]() |
06478da63b | ||
![]() |
11fd8d5109 | ||
![]() |
ddedcd44b7 | ||
![]() |
df2a83ed20 | ||
![]() |
2c69ca43f5 | ||
![]() |
1b5b756a0e | ||
![]() |
1497790209 | ||
![]() |
7692aeecfa | ||
![]() |
262533570f | ||
![]() |
33e8926efe | ||
![]() |
8c31b78630 | ||
![]() |
396b539496 | ||
![]() |
9c82789664 | ||
![]() |
4ccb8c8b1f | ||
![]() |
fc3c944c16 | ||
![]() |
f7ca56557c | ||
![]() |
8273f8b756 | ||
![]() |
855d75d0bc | ||
![]() |
1cc6ed8fb6 | ||
![]() |
fc31f14507 | ||
![]() |
a179695f33 | ||
![]() |
691bb9d171 | ||
![]() |
d38edd02bf | ||
![]() |
dfa413a39e | ||
![]() |
e226a27233 | ||
![]() |
2fff6c255d | ||
![]() |
b0cd0ebb91 | ||
![]() |
5951c9b2c4 | ||
![]() |
8d13ed4a8d | ||
![]() |
ba35934824 | ||
![]() |
04a398a1af | ||
![]() |
c4adb08d6d | ||
![]() |
3509242ee6 | ||
![]() |
ded1080bc2 | ||
![]() |
e6da9c6cd9 | ||
![]() |
6ffae461d4 | ||
![]() |
2bed909a17 | ||
![]() |
9bb7b3fbdd | ||
![]() |
152f26f05b | ||
![]() |
276bf850c9 | ||
![]() |
6aba69ce85 | ||
![]() |
efa9649696 | ||
![]() |
66ac657159 | ||
![]() |
1c551f923b | ||
![]() |
454ceb2ada | ||
![]() |
8cbacf850a | ||
![]() |
75890e8f37 | ||
![]() |
8d086ad91c | ||
![]() |
20f96796d7 | ||
![]() |
204dd9e300 | ||
![]() |
bbf906eccc | ||
![]() |
21c8c09430 | ||
![]() |
74da95df67 | ||
![]() |
12e00abe29 | ||
![]() |
708327a548 | ||
![]() |
864a4332df | ||
![]() |
563e8b49e8 | ||
![]() |
994c6d3cde | ||
![]() |
a6f068a93b | ||
![]() |
f8e48e066a | ||
![]() |
efd0f0f224 | ||
![]() |
5ff20d4583 | ||
![]() |
c360b630e3 | ||
![]() |
f703a29cd4 | ||
![]() |
f5ad6d4be5 | ||
![]() |
6f807c3519 | ||
![]() |
6af253cc5d | ||
![]() |
4aebf52129 | ||
![]() |
f45aed66b0 | ||
![]() |
d44f290750 | ||
![]() |
8df9100994 | ||
![]() |
629d9aa174 | ||
![]() |
eae9397fa2 | ||
![]() |
99efe01a08 | ||
![]() |
6acedb973a | ||
![]() |
7d35a76ebf | ||
![]() |
141e66b538 | ||
![]() |
6c7179355e | ||
![]() |
8f3b2096a8 | ||
![]() |
59bb7c2bf0 | ||
![]() |
9320ffd2b5 | ||
![]() |
0a9f6297a3 | ||
![]() |
d58143e4e1 | ||
![]() |
a245fb5c83 | ||
![]() |
4b8d06b0a7 | ||
![]() |
2a006e850e | ||
![]() |
3aad608649 | ||
![]() |
58fc87091d | ||
![]() |
2f38c2220f | ||
![]() |
27f39047c1 | ||
![]() |
2dabd202ce | ||
![]() |
7e575603ee | ||
![]() |
fc715fb31e | ||
![]() |
20a3597220 | ||
![]() |
a7190aa19a | ||
![]() |
cef39b2940 | ||
![]() |
04fcaf783e | ||
![]() |
2c2f146895 | ||
![]() |
a2f603dedd | ||
![]() |
335dd3cee6 | ||
![]() |
095d845f3c | ||
![]() |
68e900822b | ||
![]() |
385bcca788 | ||
![]() |
ec091b59af | ||
![]() |
8194d7d760 | ||
![]() |
53dc9f3393 | ||
![]() |
21dda0d1f7 | ||
![]() |
2e744dc991 | ||
![]() |
b9a1d5c2be | ||
![]() |
1060b7cfa8 | ||
![]() |
cab47bbb0e | ||
![]() |
4b09dd11ec | ||
![]() |
e18429aeb0 | ||
![]() |
62148859b9 | ||
![]() |
4d7a57a9f3 | ||
![]() |
75234fc6bc | ||
![]() |
a60b34a451 | ||
![]() |
e96714016c | ||
![]() |
9bd55ced76 | ||
![]() |
d9b5df89e3 | ||
![]() |
c2d137d1f2 | ||
![]() |
c8f515dff7 | ||
![]() |
b7d55de222 | ||
![]() |
99842e9ff5 | ||
![]() |
502db7a873 | ||
![]() |
6b857193ff | ||
![]() |
bd97bd875d | ||
![]() |
b2312f32c4 | ||
![]() |
76fca987a7 | ||
![]() |
e5d30af29d | ||
![]() |
0bb7758cb0 | ||
![]() |
ae96a5e725 | ||
![]() |
03cac08b1d | ||
![]() |
e498069fd5 | ||
![]() |
7aa686d979 | ||
![]() |
7ec39aa756 | ||
![]() |
ebf8eb5b85 | ||
![]() |
48a7bb90fe | ||
![]() |
e0421b28bf | ||
![]() |
854164f40b | ||
![]() |
46fead4c73 | ||
![]() |
0532a91b1a | ||
![]() |
bc080070ed | ||
![]() |
432ff7d767 | ||
![]() |
bbf612b3a8 | ||
![]() |
ae5e0c0ff6 | ||
![]() |
ff6feca946 | ||
![]() |
dae95f473e | ||
![]() |
bba1884582 | ||
![]() |
075e0de142 | ||
![]() |
29cc80d849 | ||
![]() |
7b9c346cde | ||
![]() |
892fc82a20 | ||
![]() |
177d8e7769 | ||
![]() |
d183d32c58 | ||
![]() |
cd19564acc | ||
![]() |
69115baf41 | ||
![]() |
120fa61a0a | ||
![]() |
85cbdefaaa | ||
![]() |
afcff0eebd | ||
![]() |
bc04183e47 | ||
![]() |
71df02bc09 | ||
![]() |
80f22ab0d8 | ||
![]() |
57d27dcbee | ||
![]() |
d8ab364889 | ||
![]() |
05376503ed | ||
![]() |
ec459b23c8 | ||
![]() |
0761207cc2 | ||
![]() |
ddc24177dd | ||
![]() |
02dcd07437 | ||
![]() |
a517e4aeb1 | ||
![]() |
39b53ef56f | ||
![]() |
79b7089360 | ||
![]() |
869795a530 | ||
![]() |
cbd067e759 | ||
![]() |
6e98bacbbd | ||
![]() |
16a8658878 | ||
![]() |
5785ae72c7 | ||
![]() |
7e0014dd13 | ||
![]() |
4c7cb0a5d2 | ||
![]() |
c340e02078 | ||
![]() |
4f43b7338b | ||
![]() |
2b6546adc9 | ||
![]() |
069d87b80f | ||
![]() |
d6428f92ce | ||
![]() |
ed8e8a792e | ||
![]() |
db6f6281fc | ||
![]() |
10bca456a9 | ||
![]() |
8218e80bfc | ||
![]() |
d789d33229 | ||
![]() |
562e5cdf32 | ||
![]() |
6721cba75b | ||
![]() |
fae8d9f70d | ||
![]() |
8309f008c2 | ||
![]() |
781a37fbe1 | ||
![]() |
1d3240887c |
4033 changed files with 191118 additions and 108035 deletions
|
@ -2,9 +2,10 @@ root = "."
|
||||||
tmp_dir = ".air"
|
tmp_dir = ".air"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
pre_cmd = ["killall -9 gitea 2>/dev/null || true"] # kill off potential zombie processes from previous runs
|
||||||
cmd = "make --no-print-directory backend"
|
cmd = "make --no-print-directory backend"
|
||||||
bin = "gitea"
|
bin = "gitea"
|
||||||
delay = 1000
|
delay = 2000
|
||||||
include_ext = ["go", "tmpl"]
|
include_ext = ["go", "tmpl"]
|
||||||
include_file = ["main.go"]
|
include_file = ["main.go"]
|
||||||
include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
|
include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
|
||||||
|
@ -15,8 +16,14 @@ exclude_dir = [
|
||||||
"modules/avatar/testdata",
|
"modules/avatar/testdata",
|
||||||
"modules/git/tests",
|
"modules/git/tests",
|
||||||
"modules/migration/file_format_testdata",
|
"modules/migration/file_format_testdata",
|
||||||
|
"modules/markup/tests/repo/repo1_filepreview",
|
||||||
"routers/private/tests",
|
"routers/private/tests",
|
||||||
"services/gitdiff/testdata",
|
"services/gitdiff/testdata",
|
||||||
|
"services/migrations/testdata",
|
||||||
|
"services/webhook/sourcehut/testdata",
|
||||||
]
|
]
|
||||||
exclude_regex = ["_test.go$", "_gen.go$"]
|
exclude_regex = ["_test.go$", "_gen.go$"]
|
||||||
stop_on_error = true
|
stop_on_error = true
|
||||||
|
|
||||||
|
[log]
|
||||||
|
main_only = true
|
||||||
|
|
|
@ -1,57 +0,0 @@
|
||||||
# The full repository name
|
|
||||||
repo: go-gitea/gitea
|
|
||||||
|
|
||||||
# Service type (gitea or github)
|
|
||||||
service: github
|
|
||||||
|
|
||||||
# Base URL for Gitea instance if using gitea service type (optional)
|
|
||||||
# Default: https://gitea.com
|
|
||||||
base-url:
|
|
||||||
|
|
||||||
# Changelog groups and which labeled PRs to add to each group
|
|
||||||
groups:
|
|
||||||
-
|
|
||||||
name: BREAKING
|
|
||||||
labels:
|
|
||||||
- pr/breaking
|
|
||||||
-
|
|
||||||
name: SECURITY
|
|
||||||
labels:
|
|
||||||
- topic/security
|
|
||||||
-
|
|
||||||
name: FEATURES
|
|
||||||
labels:
|
|
||||||
- type/feature
|
|
||||||
-
|
|
||||||
name: API
|
|
||||||
labels:
|
|
||||||
- modifies/api
|
|
||||||
-
|
|
||||||
name: ENHANCEMENTS
|
|
||||||
labels:
|
|
||||||
- type/enhancement
|
|
||||||
- type/refactoring
|
|
||||||
- topic/ui
|
|
||||||
-
|
|
||||||
name: BUGFIXES
|
|
||||||
labels:
|
|
||||||
- type/bug
|
|
||||||
-
|
|
||||||
name: TESTING
|
|
||||||
labels:
|
|
||||||
- type/testing
|
|
||||||
-
|
|
||||||
name: BUILD
|
|
||||||
labels:
|
|
||||||
- topic/build
|
|
||||||
- topic/code-linting
|
|
||||||
-
|
|
||||||
name: DOCS
|
|
||||||
labels:
|
|
||||||
- type/docs
|
|
||||||
-
|
|
||||||
name: MISC
|
|
||||||
default: true
|
|
||||||
|
|
||||||
# regex indicating which labels to skip for the changelog
|
|
||||||
skip-labels: skip-changelog|backport\/.+
|
|
471
.deadcode-out
471
.deadcode-out
|
@ -1,345 +1,234 @@
|
||||||
package "code.gitea.io/gitea/cmd"
|
forgejo.org/cmd
|
||||||
func NoMainListener
|
NoMainListener
|
||||||
|
|
||||||
package "code.gitea.io/gitea/cmd/forgejo"
|
forgejo.org/cmd/forgejo
|
||||||
func ContextSetNoInit
|
ContextSetNoInit
|
||||||
func ContextSetNoExit
|
ContextSetNoExit
|
||||||
func ContextSetStderr
|
ContextSetStderr
|
||||||
func ContextGetStderr
|
ContextGetStderr
|
||||||
func ContextSetStdout
|
ContextSetStdout
|
||||||
func ContextSetStdin
|
ContextSetStdin
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models"
|
forgejo.org/models
|
||||||
func IsErrUpdateTaskNotExist
|
IsErrSHANotFound
|
||||||
func (ErrUpdateTaskNotExist).Error
|
IsErrMergeDivergingFastForwardOnly
|
||||||
func (ErrUpdateTaskNotExist).Unwrap
|
|
||||||
func IsErrSHANotFound
|
|
||||||
func IsErrMergeDivergingFastForwardOnly
|
|
||||||
func GetYamlFixturesAccess
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/actions"
|
forgejo.org/models/auth
|
||||||
func (ScheduleList).GetUserIDs
|
WebAuthnCredentials
|
||||||
func (ScheduleList).GetRepoIDs
|
|
||||||
func (ScheduleList).LoadTriggerUser
|
|
||||||
func (ScheduleList).LoadRepos
|
|
||||||
func GetVariableByID
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/asymkey"
|
forgejo.org/models/db
|
||||||
func (ErrGPGKeyAccessDenied).Error
|
TruncateBeans
|
||||||
func (ErrGPGKeyAccessDenied).Unwrap
|
InTransaction
|
||||||
func HasDeployKey
|
DumpTables
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/auth"
|
forgejo.org/models/dbfs
|
||||||
func GetSourceByName
|
file.renameTo
|
||||||
func GetWebAuthnCredentialByID
|
Create
|
||||||
func WebAuthnCredentials
|
Rename
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/db"
|
forgejo.org/models/forgefed
|
||||||
func TruncateBeans
|
GetFederationHost
|
||||||
func InTransaction
|
|
||||||
func DumpTables
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/dbfs"
|
forgejo.org/models/forgejo/semver
|
||||||
func (*file).renameTo
|
GetVersion
|
||||||
func Create
|
SetVersionString
|
||||||
func Rename
|
SetVersion
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/forgejo/semver"
|
forgejo.org/models/git
|
||||||
func GetVersion
|
RemoveDeletedBranchByID
|
||||||
func SetVersionString
|
|
||||||
func SetVersion
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/git"
|
forgejo.org/models/issues
|
||||||
func RemoveDeletedBranchByID
|
IsErrUnknownDependencyType
|
||||||
|
IsErrIssueWasClosed
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/issues"
|
forgejo.org/models/organization
|
||||||
func IsErrUnknownDependencyType
|
SearchMembersOptions.ToConds
|
||||||
func (ErrNewIssueInsert).Error
|
|
||||||
func IsErrIssueWasClosed
|
|
||||||
func ChangeMilestoneStatus
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/migrations/base"
|
forgejo.org/models/perm/access
|
||||||
func removeAllWithRetry
|
GetRepoWriters
|
||||||
func newXORMEngine
|
|
||||||
func deleteDB
|
|
||||||
func PrepareTestEnv
|
|
||||||
func MainTest
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/organization"
|
forgejo.org/models/repo
|
||||||
func UpdateTeamUnits
|
WatchRepoMode
|
||||||
func (SearchMembersOptions).ToConds
|
|
||||||
func UsersInTeamsCount
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/perm/access"
|
forgejo.org/models/user
|
||||||
func GetRepoWriters
|
IsErrExternalLoginUserAlreadyExist
|
||||||
|
IsErrExternalLoginUserNotExist
|
||||||
|
NewFederatedUser
|
||||||
|
IsErrUserSettingIsNotExist
|
||||||
|
GetUserAllSettings
|
||||||
|
DeleteUserSetting
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/project"
|
forgejo.org/modules/activitypub
|
||||||
func UpdateBoardSorting
|
NewContext
|
||||||
func ChangeProjectStatus
|
Context.APClientFactory
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/repo"
|
forgejo.org/modules/assetfs
|
||||||
func DeleteAttachmentsByIssue
|
Bindata
|
||||||
func (*releaseSorter).Len
|
|
||||||
func (*releaseSorter).Less
|
|
||||||
func (*releaseSorter).Swap
|
|
||||||
func SortReleases
|
|
||||||
func FindReposMapByIDs
|
|
||||||
func (SearchOrderBy).String
|
|
||||||
func IsErrTopicNotExist
|
|
||||||
func (ErrTopicNotExist).Error
|
|
||||||
func (ErrTopicNotExist).Unwrap
|
|
||||||
func GetTopicByName
|
|
||||||
func WatchRepoMode
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/unittest"
|
forgejo.org/modules/auth/password/hash
|
||||||
func CheckConsistencyFor
|
DummyHasher.HashWithSaltBytes
|
||||||
func checkForConsistency
|
NewDummyHasher
|
||||||
func GetXORMEngine
|
|
||||||
func OverrideFixtures
|
|
||||||
func InitFixtures
|
|
||||||
func LoadFixtures
|
|
||||||
func Copy
|
|
||||||
func CopyDir
|
|
||||||
func NewMockWebServer
|
|
||||||
func NormalizedFullPath
|
|
||||||
func FixturesDir
|
|
||||||
func fatalTestError
|
|
||||||
func InitSettings
|
|
||||||
func MainTest
|
|
||||||
func CreateTestEngine
|
|
||||||
func PrepareTestDatabase
|
|
||||||
func PrepareTestEnv
|
|
||||||
func Cond
|
|
||||||
func OrderBy
|
|
||||||
func LoadBeanIfExists
|
|
||||||
func BeanExists
|
|
||||||
func AssertExistsAndLoadBean
|
|
||||||
func GetCount
|
|
||||||
func AssertNotExistsBean
|
|
||||||
func AssertExistsIf
|
|
||||||
func AssertSuccessfulInsert
|
|
||||||
func AssertCount
|
|
||||||
func AssertInt64InRange
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/models/user"
|
forgejo.org/modules/auth/password/pwn
|
||||||
func IsErrPrimaryEmailCannotDelete
|
WithHTTP
|
||||||
func (ErrUserInactive).Error
|
|
||||||
func (ErrUserInactive).Unwrap
|
|
||||||
func IsErrExternalLoginUserAlreadyExist
|
|
||||||
func IsErrExternalLoginUserNotExist
|
|
||||||
func IsErrUserSettingIsNotExist
|
|
||||||
func GetUserAllSettings
|
|
||||||
func DeleteUserSetting
|
|
||||||
func GetUserEmailsByNames
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/activitypub"
|
forgejo.org/modules/base
|
||||||
func CurrentTime
|
SetupGiteaRoot
|
||||||
func containsRequiredHTTPHeaders
|
|
||||||
func NewClient
|
|
||||||
func (*Client).NewRequest
|
|
||||||
func (*Client).Post
|
|
||||||
func GetPrivateKey
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/assetfs"
|
forgejo.org/modules/cache
|
||||||
func Bindata
|
GetInt
|
||||||
|
WithNoCacheContext
|
||||||
|
RemoveContextData
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/auth/password/hash"
|
forgejo.org/modules/emoji
|
||||||
func (*DummyHasher).HashWithSaltBytes
|
ReplaceCodes
|
||||||
func NewDummyHasher
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/auth/password/pwn"
|
forgejo.org/modules/eventsource
|
||||||
func WithHTTP
|
Event.String
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/base"
|
forgejo.org/modules/forgefed
|
||||||
func SetupGiteaRoot
|
NewForgeUndoLike
|
||||||
|
ForgeUndoLike.UnmarshalJSON
|
||||||
|
ForgeUndoLike.Validate
|
||||||
|
GetItemByType
|
||||||
|
JSONUnmarshalerFn
|
||||||
|
NotEmpty
|
||||||
|
ToRepository
|
||||||
|
OnRepository
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/cache"
|
forgejo.org/modules/git
|
||||||
func GetInt
|
AllowLFSFiltersArgs
|
||||||
func WithNoCacheContext
|
AddChanges
|
||||||
func RemoveContextData
|
AddChangesWithArgs
|
||||||
|
CommitChanges
|
||||||
|
CommitChangesWithArgs
|
||||||
|
SetUpdateHook
|
||||||
|
openRepositoryWithDefaultContext
|
||||||
|
ToEntryMode
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/charset"
|
forgejo.org/modules/gitrepo
|
||||||
func (*BreakWriter).Write
|
GetBranchCommitID
|
||||||
|
GetWikiDefaultBranch
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/emoji"
|
forgejo.org/modules/graceful
|
||||||
func ReplaceCodes
|
Manager.TerminateContext
|
||||||
|
Manager.Err
|
||||||
|
Manager.Value
|
||||||
|
Manager.Deadline
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/eventsource"
|
forgejo.org/modules/hcaptcha
|
||||||
func (*Event).String
|
WithHTTP
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/git"
|
forgejo.org/modules/hostmatcher
|
||||||
func AllowLFSFiltersArgs
|
HostMatchList.AppendPattern
|
||||||
func AddChanges
|
|
||||||
func AddChangesWithArgs
|
|
||||||
func CommitChanges
|
|
||||||
func CommitChangesWithArgs
|
|
||||||
func IsErrExecTimeout
|
|
||||||
func (ErrExecTimeout).Error
|
|
||||||
func (ErrUnsupportedVersion).Error
|
|
||||||
func SetUpdateHook
|
|
||||||
func GetObjectFormatOfRepo
|
|
||||||
func openRepositoryWithDefaultContext
|
|
||||||
func IsTagExist
|
|
||||||
func ToEntryMode
|
|
||||||
func (*LimitedReaderCloser).Read
|
|
||||||
func (*LimitedReaderCloser).Close
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/gitgraph"
|
forgejo.org/modules/json
|
||||||
func (*Parser).Reset
|
StdJSON.Marshal
|
||||||
|
StdJSON.Unmarshal
|
||||||
|
StdJSON.NewEncoder
|
||||||
|
StdJSON.NewDecoder
|
||||||
|
StdJSON.Indent
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/gitrepo"
|
forgejo.org/modules/log
|
||||||
func GetBranchCommitID
|
NewEventWriterBuffer
|
||||||
func GetWikiDefaultBranch
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/graceful"
|
forgejo.org/modules/markup
|
||||||
func (*Manager).TerminateContext
|
GetRendererByType
|
||||||
func (*Manager).Err
|
RenderString
|
||||||
func (*Manager).Value
|
IsMarkupFile
|
||||||
func (*Manager).Deadline
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/hcaptcha"
|
forgejo.org/modules/markup/console
|
||||||
func WithHTTP
|
Render
|
||||||
|
RenderString
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/json"
|
forgejo.org/modules/markup/markdown
|
||||||
func (StdJSON).Marshal
|
RenderRawString
|
||||||
func (StdJSON).Unmarshal
|
|
||||||
func (StdJSON).NewEncoder
|
|
||||||
func (StdJSON).NewDecoder
|
|
||||||
func (StdJSON).Indent
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/markup"
|
forgejo.org/modules/markup/mdstripper
|
||||||
func IsSameDomain
|
stripRenderer.AddOptions
|
||||||
func GetRendererByType
|
StripMarkdown
|
||||||
func RenderString
|
|
||||||
func IsMarkupFile
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/markup/console"
|
forgejo.org/modules/markup/orgmode
|
||||||
func Render
|
RenderString
|
||||||
func RenderString
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/markup/markdown"
|
forgejo.org/modules/process
|
||||||
func IsDetails
|
Manager.ExecTimeout
|
||||||
func IsSummary
|
|
||||||
func IsTaskCheckBoxListItem
|
|
||||||
func IsIcon
|
|
||||||
func RenderRawString
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/markup/markdown/math"
|
forgejo.org/modules/queue
|
||||||
func WithInlineDollarParser
|
newBaseChannelSimple
|
||||||
func WithBlockDollarParser
|
newBaseChannelUnique
|
||||||
|
newBaseRedisSimple
|
||||||
|
newBaseRedisUnique
|
||||||
|
testStateRecorder.Records
|
||||||
|
testStateRecorder.Reset
|
||||||
|
newWorkerPoolQueueForTest
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/markup/mdstripper"
|
forgejo.org/modules/queue/lqinternal
|
||||||
func StripMarkdown
|
QueueItemIDBytes
|
||||||
|
QueueItemKeyBytes
|
||||||
|
ListLevelQueueKeys
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/markup/orgmode"
|
forgejo.org/modules/setting
|
||||||
func RenderString
|
NewConfigProviderFromData
|
||||||
|
GitConfigType.GetOption
|
||||||
|
InitLoggersForTest
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/private"
|
forgejo.org/modules/sync
|
||||||
func ActionsRunnerRegister
|
StatusTable.Start
|
||||||
|
StatusTable.IsRunning
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/process"
|
forgejo.org/modules/timeutil
|
||||||
func (*Manager).ExecTimeout
|
GetExecutableModTime
|
||||||
|
MockSet
|
||||||
|
MockUnset
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/queue"
|
forgejo.org/modules/translation
|
||||||
func newBaseChannelSimple
|
MockLocale.Language
|
||||||
func newBaseChannelUnique
|
MockLocale.TrString
|
||||||
func newBaseRedisSimple
|
MockLocale.Tr
|
||||||
func newBaseRedisUnique
|
MockLocale.TrN
|
||||||
func newWorkerPoolQueueForTest
|
MockLocale.TrPluralString
|
||||||
|
MockLocale.TrPluralStringAllForms
|
||||||
|
MockLocale.TrSize
|
||||||
|
MockLocale.HasKey
|
||||||
|
MockLocale.PrettyNumber
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/queue/lqinternal"
|
forgejo.org/modules/translation/localeiter
|
||||||
func QueueItemIDBytes
|
IterateMessagesContent
|
||||||
func QueueItemKeyBytes
|
|
||||||
func ListLevelQueueKeys
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/setting"
|
forgejo.org/modules/util
|
||||||
func NewConfigProviderFromData
|
OptionalArg
|
||||||
func (*GitConfigType).GetOption
|
|
||||||
func InitLoggersForTest
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/storage"
|
forgejo.org/modules/util/filebuffer
|
||||||
func (ErrInvalidConfiguration).Error
|
CreateFromReader
|
||||||
func IsErrInvalidConfiguration
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/structs"
|
forgejo.org/modules/validation
|
||||||
func ParseCreateHook
|
IsErrNotValid
|
||||||
func ParsePushHook
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/sync"
|
forgejo.org/modules/web
|
||||||
func (*StatusTable).Start
|
RouteMock
|
||||||
func (*StatusTable).IsRunning
|
RouteMockReset
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/testlogger"
|
forgejo.org/modules/zstd
|
||||||
func (*testLoggerWriterCloser).pushT
|
NewWriter
|
||||||
func (*testLoggerWriterCloser).Log
|
Writer.Write
|
||||||
func (*testLoggerWriterCloser).recordError
|
Writer.Close
|
||||||
func (*testLoggerWriterCloser).printMsg
|
|
||||||
func (*testLoggerWriterCloser).popT
|
|
||||||
func (*testLoggerWriterCloser).Reset
|
|
||||||
func PrintCurrentTest
|
|
||||||
func Printf
|
|
||||||
func NewTestLoggerWriter
|
|
||||||
func (*TestLogEventWriter).Base
|
|
||||||
func (*TestLogEventWriter).GetLevel
|
|
||||||
func (*TestLogEventWriter).GetWriterName
|
|
||||||
func (*TestLogEventWriter).GetWriterType
|
|
||||||
func (*TestLogEventWriter).Run
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/timeutil"
|
forgejo.org/routers/web/org
|
||||||
func GetExecutableModTime
|
MustEnableProjects
|
||||||
func MockSet
|
|
||||||
func MockUnset
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/translation"
|
forgejo.org/services/context
|
||||||
func (MockLocale).Language
|
GetPrivateContext
|
||||||
func (MockLocale).TrString
|
|
||||||
func (MockLocale).Tr
|
|
||||||
func (MockLocale).TrN
|
|
||||||
func (MockLocale).PrettyNumber
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/util/filebuffer"
|
forgejo.org/services/repository
|
||||||
func CreateFromReader
|
IsErrForkAlreadyExist
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/web"
|
forgejo.org/services/repository/files
|
||||||
func RouteMock
|
ContentType.String
|
||||||
func RouteMockReset
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/modules/web/middleware"
|
forgejo.org/services/repository/gitgraph
|
||||||
func DeleteLocaleCookie
|
Parser.Reset
|
||||||
|
|
||||||
package "code.gitea.io/gitea/routers/web"
|
forgejo.org/services/webhook
|
||||||
func NotFound
|
NewNotifier
|
||||||
|
|
||||||
package "code.gitea.io/gitea/routers/web/org"
|
|
||||||
func MustEnableProjects
|
|
||||||
func getActionIssues
|
|
||||||
func UpdateIssueProject
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/context"
|
|
||||||
func GetPrivateContext
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/convert"
|
|
||||||
func ToSecret
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/forms"
|
|
||||||
func (*DeadlineForm).Validate
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/pull"
|
|
||||||
func IsCommitStatusContextSuccess
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/repository"
|
|
||||||
func IsErrForkAlreadyExist
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/repository/archiver"
|
|
||||||
func ArchiveRepository
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/repository/files"
|
|
||||||
func (*ContentType).String
|
|
||||||
func GetFileResponseFromCommit
|
|
||||||
func (*TemporaryUploadRepository).GetLastCommit
|
|
||||||
func (*TemporaryUploadRepository).GetLastCommitByRef
|
|
||||||
|
|
||||||
package "code.gitea.io/gitea/services/webhook"
|
|
||||||
func NewNotifier
|
|
||||||
func List
|
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
{
|
{
|
||||||
"name": "Gitea DevContainer",
|
"name": "Gitea DevContainer",
|
||||||
"image": "mcr.microsoft.com/devcontainers/go:1.21-bullseye",
|
"image": "mcr.microsoft.com/devcontainers/go:1.24-bullseye",
|
||||||
"features": {
|
"features": {
|
||||||
// installs nodejs into container
|
// installs nodejs into container
|
||||||
"ghcr.io/devcontainers/features/node:1": {
|
"ghcr.io/devcontainers/features/node:1": {
|
||||||
"version": "20"
|
"version": "22"
|
||||||
},
|
},
|
||||||
"ghcr.io/devcontainers/features/git-lfs:1.1.0": {},
|
"ghcr.io/devcontainers/features/git-lfs:1.2.3": {},
|
||||||
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
|
"ghcr.io/warrenbuckley/codespace-features/sqlite:1": {}
|
||||||
"ghcr.io/devcontainers/features/python:1": {
|
|
||||||
"version": "3.12"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
|
@ -25,8 +22,9 @@
|
||||||
"Vue.volar",
|
"Vue.volar",
|
||||||
"ms-azuretools.vscode-docker",
|
"ms-azuretools.vscode-docker",
|
||||||
"vitest.explorer",
|
"vitest.explorer",
|
||||||
"qwtel.sqlite-viewer",
|
"cweijan.vscode-database-client2",
|
||||||
"GitHub.vscode-pull-request-github"
|
"GitHub.vscode-pull-request-github",
|
||||||
|
"Azurite.azurite"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -34,6 +34,7 @@ _testmain.go
|
||||||
|
|
||||||
*coverage.out
|
*coverage.out
|
||||||
coverage.all
|
coverage.all
|
||||||
|
coverage/
|
||||||
cpu.out
|
cpu.out
|
||||||
|
|
||||||
/modules/migration/bindata.go
|
/modules/migration/bindata.go
|
||||||
|
@ -77,7 +78,6 @@ cpu.out
|
||||||
/public/assets/css
|
/public/assets/css
|
||||||
/public/assets/fonts
|
/public/assets/fonts
|
||||||
/public/assets/img/avatar
|
/public/assets/img/avatar
|
||||||
/public/assets/img/webpack
|
|
||||||
/vendor
|
/vendor
|
||||||
/web_src/fomantic/node_modules
|
/web_src/fomantic/node_modules
|
||||||
/web_src/fomantic/build/*
|
/web_src/fomantic/build/*
|
||||||
|
@ -95,6 +95,9 @@ cpu.out
|
||||||
/.air
|
/.air
|
||||||
/.go-licenses
|
/.go-licenses
|
||||||
|
|
||||||
|
# Files and folders that were previously generated
|
||||||
|
/public/assets/img/webpack
|
||||||
|
|
||||||
# Snapcraft
|
# Snapcraft
|
||||||
snap/.snapcraft/
|
snap/.snapcraft/
|
||||||
parts/
|
parts/
|
||||||
|
|
|
@ -9,7 +9,10 @@ charset = utf-8
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
||||||
[*.{go,tmpl,html}]
|
[{*.{go,tmpl,html},Makefile,go.mod}]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
[go.*]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
[templates/custom/*.tmpl]
|
[templates/custom/*.tmpl]
|
||||||
|
@ -21,8 +24,13 @@ indent_style = space
|
||||||
[templates/user/auth/oidc_wellknown.tmpl]
|
[templates/user/auth/oidc_wellknown.tmpl]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
[Makefile]
|
|
||||||
indent_style = tab
|
|
||||||
|
|
||||||
[*.svg]
|
[*.svg]
|
||||||
insert_final_newline = false
|
insert_final_newline = false
|
||||||
|
|
||||||
|
[options/locale/locale_*.ini]
|
||||||
|
insert_final_newline = false
|
||||||
|
|
||||||
|
# Weblate JSON output defaults to four spaces
|
||||||
|
[options/locale_next/locale_*.json]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
1
.envrc.example
Normal file
1
.envrc.example
Normal file
|
@ -0,0 +1 @@
|
||||||
|
use flake
|
841
.eslintrc.yaml
841
.eslintrc.yaml
|
@ -1,841 +0,0 @@
|
||||||
root: true
|
|
||||||
reportUnusedDisableDirectives: true
|
|
||||||
|
|
||||||
ignorePatterns:
|
|
||||||
- /web_src/js/vendor
|
|
||||||
|
|
||||||
parserOptions:
|
|
||||||
sourceType: module
|
|
||||||
ecmaVersion: latest
|
|
||||||
|
|
||||||
plugins:
|
|
||||||
- "@eslint-community/eslint-plugin-eslint-comments"
|
|
||||||
- "@stylistic/eslint-plugin-js"
|
|
||||||
- eslint-plugin-array-func
|
|
||||||
- eslint-plugin-github
|
|
||||||
- eslint-plugin-i
|
|
||||||
- eslint-plugin-jquery
|
|
||||||
- eslint-plugin-no-jquery
|
|
||||||
- eslint-plugin-no-use-extend-native
|
|
||||||
- eslint-plugin-regexp
|
|
||||||
- eslint-plugin-sonarjs
|
|
||||||
- eslint-plugin-unicorn
|
|
||||||
- eslint-plugin-vitest
|
|
||||||
- eslint-plugin-vitest-globals
|
|
||||||
- eslint-plugin-wc
|
|
||||||
|
|
||||||
env:
|
|
||||||
es2024: true
|
|
||||||
node: true
|
|
||||||
|
|
||||||
overrides:
|
|
||||||
- files: ["web_src/**/*"]
|
|
||||||
globals:
|
|
||||||
__webpack_public_path__: true
|
|
||||||
process: false # https://github.com/webpack/webpack/issues/15833
|
|
||||||
- files: ["web_src/**/*", "docs/**/*"]
|
|
||||||
env:
|
|
||||||
browser: true
|
|
||||||
node: false
|
|
||||||
- files: ["web_src/**/*worker.*"]
|
|
||||||
env:
|
|
||||||
worker: true
|
|
||||||
rules:
|
|
||||||
no-restricted-globals: [2, addEventListener, blur, close, closed, confirm, defaultStatus, defaultstatus, error, event, external, find, focus, frameElement, frames, history, innerHeight, innerWidth, isFinite, isNaN, length, locationbar, menubar, moveBy, moveTo, name, onblur, onerror, onfocus, onload, onresize, onunload, open, opener, opera, outerHeight, outerWidth, pageXOffset, pageYOffset, parent, print, removeEventListener, resizeBy, resizeTo, screen, screenLeft, screenTop, screenX, screenY, scroll, scrollbars, scrollBy, scrollTo, scrollX, scrollY, status, statusbar, stop, toolbar, top]
|
|
||||||
- files: ["*.config.*"]
|
|
||||||
rules:
|
|
||||||
i/no-unused-modules: [0]
|
|
||||||
- files: ["**/*.test.*", "web_src/js/test/setup.js"]
|
|
||||||
env:
|
|
||||||
vitest-globals/env: true
|
|
||||||
rules:
|
|
||||||
vitest/consistent-test-filename: [0]
|
|
||||||
vitest/consistent-test-it: [0]
|
|
||||||
vitest/expect-expect: [0]
|
|
||||||
vitest/max-expects: [0]
|
|
||||||
vitest/max-nested-describe: [0]
|
|
||||||
vitest/no-alias-methods: [0]
|
|
||||||
vitest/no-commented-out-tests: [0]
|
|
||||||
vitest/no-conditional-expect: [0]
|
|
||||||
vitest/no-conditional-in-test: [0]
|
|
||||||
vitest/no-conditional-tests: [0]
|
|
||||||
vitest/no-disabled-tests: [0]
|
|
||||||
vitest/no-done-callback: [0]
|
|
||||||
vitest/no-duplicate-hooks: [0]
|
|
||||||
vitest/no-focused-tests: [0]
|
|
||||||
vitest/no-hooks: [0]
|
|
||||||
vitest/no-identical-title: [2]
|
|
||||||
vitest/no-interpolation-in-snapshots: [0]
|
|
||||||
vitest/no-large-snapshots: [0]
|
|
||||||
vitest/no-mocks-import: [0]
|
|
||||||
vitest/no-restricted-matchers: [0]
|
|
||||||
vitest/no-restricted-vi-methods: [0]
|
|
||||||
vitest/no-standalone-expect: [0]
|
|
||||||
vitest/no-test-prefixes: [0]
|
|
||||||
vitest/no-test-return-statement: [0]
|
|
||||||
vitest/prefer-called-with: [0]
|
|
||||||
vitest/prefer-comparison-matcher: [0]
|
|
||||||
vitest/prefer-each: [0]
|
|
||||||
vitest/prefer-equality-matcher: [0]
|
|
||||||
vitest/prefer-expect-resolves: [0]
|
|
||||||
vitest/prefer-hooks-in-order: [0]
|
|
||||||
vitest/prefer-hooks-on-top: [2]
|
|
||||||
vitest/prefer-lowercase-title: [0]
|
|
||||||
vitest/prefer-mock-promise-shorthand: [0]
|
|
||||||
vitest/prefer-snapshot-hint: [0]
|
|
||||||
vitest/prefer-spy-on: [0]
|
|
||||||
vitest/prefer-strict-equal: [0]
|
|
||||||
vitest/prefer-to-be: [0]
|
|
||||||
vitest/prefer-to-be-falsy: [0]
|
|
||||||
vitest/prefer-to-be-object: [0]
|
|
||||||
vitest/prefer-to-be-truthy: [0]
|
|
||||||
vitest/prefer-to-contain: [0]
|
|
||||||
vitest/prefer-to-have-length: [0]
|
|
||||||
vitest/prefer-todo: [0]
|
|
||||||
vitest/require-hook: [0]
|
|
||||||
vitest/require-to-throw-message: [0]
|
|
||||||
vitest/require-top-level-describe: [0]
|
|
||||||
vitest/valid-describe-callback: [2]
|
|
||||||
vitest/valid-expect: [2]
|
|
||||||
vitest/valid-title: [2]
|
|
||||||
- files: ["web_src/js/modules/fetch.js", "web_src/js/standalone/**/*"]
|
|
||||||
rules:
|
|
||||||
no-restricted-syntax: [2, WithStatement, ForInStatement, LabeledStatement, SequenceExpression]
|
|
||||||
|
|
||||||
rules:
|
|
||||||
"@eslint-community/eslint-comments/disable-enable-pair": [2]
|
|
||||||
"@eslint-community/eslint-comments/no-aggregating-enable": [2]
|
|
||||||
"@eslint-community/eslint-comments/no-duplicate-disable": [2]
|
|
||||||
"@eslint-community/eslint-comments/no-restricted-disable": [0]
|
|
||||||
"@eslint-community/eslint-comments/no-unlimited-disable": [2]
|
|
||||||
"@eslint-community/eslint-comments/no-unused-disable": [2]
|
|
||||||
"@eslint-community/eslint-comments/no-unused-enable": [2]
|
|
||||||
"@eslint-community/eslint-comments/no-use": [0]
|
|
||||||
"@eslint-community/eslint-comments/require-description": [0]
|
|
||||||
"@stylistic/js/array-bracket-newline": [0]
|
|
||||||
"@stylistic/js/array-bracket-spacing": [2, never]
|
|
||||||
"@stylistic/js/array-element-newline": [0]
|
|
||||||
"@stylistic/js/arrow-parens": [2, always]
|
|
||||||
"@stylistic/js/arrow-spacing": [2, {before: true, after: true}]
|
|
||||||
"@stylistic/js/block-spacing": [0]
|
|
||||||
"@stylistic/js/brace-style": [2, 1tbs, {allowSingleLine: true}]
|
|
||||||
"@stylistic/js/comma-dangle": [2, always-multiline]
|
|
||||||
"@stylistic/js/comma-spacing": [2, {before: false, after: true}]
|
|
||||||
"@stylistic/js/comma-style": [2, last]
|
|
||||||
"@stylistic/js/computed-property-spacing": [2, never]
|
|
||||||
"@stylistic/js/dot-location": [2, property]
|
|
||||||
"@stylistic/js/eol-last": [2]
|
|
||||||
"@stylistic/js/function-call-spacing": [2, never]
|
|
||||||
"@stylistic/js/function-call-argument-newline": [0]
|
|
||||||
"@stylistic/js/function-paren-newline": [0]
|
|
||||||
"@stylistic/js/generator-star-spacing": [0]
|
|
||||||
"@stylistic/js/implicit-arrow-linebreak": [0]
|
|
||||||
"@stylistic/js/indent": [2, 2, {ignoreComments: true, SwitchCase: 1}]
|
|
||||||
"@stylistic/js/key-spacing": [2]
|
|
||||||
"@stylistic/js/keyword-spacing": [2]
|
|
||||||
"@stylistic/js/linebreak-style": [2, unix]
|
|
||||||
"@stylistic/js/lines-around-comment": [0]
|
|
||||||
"@stylistic/js/lines-between-class-members": [0]
|
|
||||||
"@stylistic/js/max-len": [0]
|
|
||||||
"@stylistic/js/max-statements-per-line": [0]
|
|
||||||
"@stylistic/js/multiline-ternary": [0]
|
|
||||||
"@stylistic/js/new-parens": [2]
|
|
||||||
"@stylistic/js/newline-per-chained-call": [0]
|
|
||||||
"@stylistic/js/no-confusing-arrow": [0]
|
|
||||||
"@stylistic/js/no-extra-parens": [0]
|
|
||||||
"@stylistic/js/no-extra-semi": [2]
|
|
||||||
"@stylistic/js/no-floating-decimal": [0]
|
|
||||||
"@stylistic/js/no-mixed-operators": [0]
|
|
||||||
"@stylistic/js/no-mixed-spaces-and-tabs": [2]
|
|
||||||
"@stylistic/js/no-multi-spaces": [2, {ignoreEOLComments: true, exceptions: {Property: true}}]
|
|
||||||
"@stylistic/js/no-multiple-empty-lines": [2, {max: 1, maxEOF: 0, maxBOF: 0}]
|
|
||||||
"@stylistic/js/no-tabs": [2]
|
|
||||||
"@stylistic/js/no-trailing-spaces": [2]
|
|
||||||
"@stylistic/js/no-whitespace-before-property": [2]
|
|
||||||
"@stylistic/js/nonblock-statement-body-position": [2]
|
|
||||||
"@stylistic/js/object-curly-newline": [0]
|
|
||||||
"@stylistic/js/object-curly-spacing": [2, never]
|
|
||||||
"@stylistic/js/object-property-newline": [0]
|
|
||||||
"@stylistic/js/one-var-declaration-per-line": [0]
|
|
||||||
"@stylistic/js/operator-linebreak": [2, after]
|
|
||||||
"@stylistic/js/padded-blocks": [2, never]
|
|
||||||
"@stylistic/js/padding-line-between-statements": [0]
|
|
||||||
"@stylistic/js/quote-props": [0]
|
|
||||||
"@stylistic/js/quotes": [2, single, {avoidEscape: true, allowTemplateLiterals: true}]
|
|
||||||
"@stylistic/js/rest-spread-spacing": [2, never]
|
|
||||||
"@stylistic/js/semi": [2, always, {omitLastInOneLineBlock: true}]
|
|
||||||
"@stylistic/js/semi-spacing": [2, {before: false, after: true}]
|
|
||||||
"@stylistic/js/semi-style": [2, last]
|
|
||||||
"@stylistic/js/space-before-blocks": [2, always]
|
|
||||||
"@stylistic/js/space-before-function-paren": [2, {anonymous: ignore, named: never, asyncArrow: always}]
|
|
||||||
"@stylistic/js/space-in-parens": [2, never]
|
|
||||||
"@stylistic/js/space-infix-ops": [2]
|
|
||||||
"@stylistic/js/space-unary-ops": [2]
|
|
||||||
"@stylistic/js/spaced-comment": [2, always]
|
|
||||||
"@stylistic/js/switch-colon-spacing": [2]
|
|
||||||
"@stylistic/js/template-curly-spacing": [2, never]
|
|
||||||
"@stylistic/js/template-tag-spacing": [2, never]
|
|
||||||
"@stylistic/js/wrap-iife": [2, inside]
|
|
||||||
"@stylistic/js/wrap-regex": [0]
|
|
||||||
"@stylistic/js/yield-star-spacing": [2, after]
|
|
||||||
accessor-pairs: [2]
|
|
||||||
array-callback-return: [2, {checkForEach: true}]
|
|
||||||
array-func/avoid-reverse: [2]
|
|
||||||
array-func/from-map: [2]
|
|
||||||
array-func/no-unnecessary-this-arg: [2]
|
|
||||||
array-func/prefer-array-from: [2]
|
|
||||||
array-func/prefer-flat-map: [0] # handled by unicorn/prefer-array-flat-map
|
|
||||||
array-func/prefer-flat: [0] # handled by unicorn/prefer-array-flat
|
|
||||||
arrow-body-style: [0]
|
|
||||||
block-scoped-var: [2]
|
|
||||||
camelcase: [0]
|
|
||||||
capitalized-comments: [0]
|
|
||||||
class-methods-use-this: [0]
|
|
||||||
complexity: [0]
|
|
||||||
consistent-return: [0]
|
|
||||||
consistent-this: [0]
|
|
||||||
constructor-super: [2]
|
|
||||||
curly: [0]
|
|
||||||
default-case-last: [2]
|
|
||||||
default-case: [0]
|
|
||||||
default-param-last: [0]
|
|
||||||
dot-notation: [0]
|
|
||||||
eqeqeq: [2]
|
|
||||||
for-direction: [2]
|
|
||||||
func-name-matching: [2]
|
|
||||||
func-names: [0]
|
|
||||||
func-style: [0]
|
|
||||||
getter-return: [2]
|
|
||||||
github/a11y-aria-label-is-well-formatted: [0]
|
|
||||||
github/a11y-no-title-attribute: [0]
|
|
||||||
github/a11y-no-visually-hidden-interactive-element: [0]
|
|
||||||
github/a11y-role-supports-aria-props: [0]
|
|
||||||
github/a11y-svg-has-accessible-name: [0]
|
|
||||||
github/array-foreach: [0]
|
|
||||||
github/async-currenttarget: [2]
|
|
||||||
github/async-preventdefault: [2]
|
|
||||||
github/authenticity-token: [0]
|
|
||||||
github/get-attribute: [0]
|
|
||||||
github/js-class-name: [0]
|
|
||||||
github/no-blur: [0]
|
|
||||||
github/no-d-none: [0]
|
|
||||||
github/no-dataset: [2]
|
|
||||||
github/no-dynamic-script-tag: [2]
|
|
||||||
github/no-implicit-buggy-globals: [2]
|
|
||||||
github/no-inner-html: [0]
|
|
||||||
github/no-innerText: [2]
|
|
||||||
github/no-then: [2]
|
|
||||||
github/no-useless-passive: [2]
|
|
||||||
github/prefer-observers: [2]
|
|
||||||
github/require-passive-events: [2]
|
|
||||||
github/unescaped-html-literal: [0]
|
|
||||||
grouped-accessor-pairs: [2]
|
|
||||||
guard-for-in: [0]
|
|
||||||
id-blacklist: [0]
|
|
||||||
id-length: [0]
|
|
||||||
id-match: [0]
|
|
||||||
i/consistent-type-specifier-style: [0]
|
|
||||||
i/default: [0]
|
|
||||||
i/dynamic-import-chunkname: [0]
|
|
||||||
i/export: [2]
|
|
||||||
i/exports-last: [0]
|
|
||||||
i/extensions: [2, always, {ignorePackages: true}]
|
|
||||||
i/first: [2]
|
|
||||||
i/group-exports: [0]
|
|
||||||
i/max-dependencies: [0]
|
|
||||||
i/named: [2]
|
|
||||||
i/namespace: [0]
|
|
||||||
i/newline-after-import: [0]
|
|
||||||
i/no-absolute-path: [0]
|
|
||||||
i/no-amd: [2]
|
|
||||||
i/no-anonymous-default-export: [0]
|
|
||||||
i/no-commonjs: [2]
|
|
||||||
i/no-cycle: [2, {ignoreExternal: true, maxDepth: 1}]
|
|
||||||
i/no-default-export: [0]
|
|
||||||
i/no-deprecated: [0]
|
|
||||||
i/no-dynamic-require: [0]
|
|
||||||
i/no-empty-named-blocks: [2]
|
|
||||||
i/no-extraneous-dependencies: [2]
|
|
||||||
i/no-import-module-exports: [0]
|
|
||||||
i/no-internal-modules: [0]
|
|
||||||
i/no-mutable-exports: [0]
|
|
||||||
i/no-named-as-default-member: [0]
|
|
||||||
i/no-named-as-default: [2]
|
|
||||||
i/no-named-default: [0]
|
|
||||||
i/no-named-export: [0]
|
|
||||||
i/no-namespace: [0]
|
|
||||||
i/no-nodejs-modules: [0]
|
|
||||||
i/no-relative-packages: [0]
|
|
||||||
i/no-relative-parent-imports: [0]
|
|
||||||
i/no-restricted-paths: [0]
|
|
||||||
i/no-self-import: [2]
|
|
||||||
i/no-unassigned-import: [0]
|
|
||||||
i/no-unresolved: [2, {commonjs: true, ignore: ["\\?.+$", ^vitest/]}]
|
|
||||||
i/no-unused-modules: [2, {unusedExports: true}]
|
|
||||||
i/no-useless-path-segments: [2, {commonjs: true}]
|
|
||||||
i/no-webpack-loader-syntax: [2]
|
|
||||||
i/order: [0]
|
|
||||||
i/prefer-default-export: [0]
|
|
||||||
i/unambiguous: [0]
|
|
||||||
init-declarations: [0]
|
|
||||||
jquery/no-ajax-events: [2]
|
|
||||||
jquery/no-ajax: [2]
|
|
||||||
jquery/no-animate: [2]
|
|
||||||
jquery/no-attr: [2]
|
|
||||||
jquery/no-bind: [2]
|
|
||||||
jquery/no-class: [0]
|
|
||||||
jquery/no-clone: [2]
|
|
||||||
jquery/no-closest: [0]
|
|
||||||
jquery/no-css: [2]
|
|
||||||
jquery/no-data: [0]
|
|
||||||
jquery/no-deferred: [2]
|
|
||||||
jquery/no-delegate: [2]
|
|
||||||
jquery/no-each: [0]
|
|
||||||
jquery/no-extend: [2]
|
|
||||||
jquery/no-fade: [2]
|
|
||||||
jquery/no-filter: [0]
|
|
||||||
jquery/no-find: [0]
|
|
||||||
jquery/no-global-eval: [2]
|
|
||||||
jquery/no-grep: [2]
|
|
||||||
jquery/no-has: [2]
|
|
||||||
jquery/no-hide: [2]
|
|
||||||
jquery/no-html: [0]
|
|
||||||
jquery/no-in-array: [2]
|
|
||||||
jquery/no-is-array: [2]
|
|
||||||
jquery/no-is-function: [2]
|
|
||||||
jquery/no-is: [2]
|
|
||||||
jquery/no-load: [2]
|
|
||||||
jquery/no-map: [2]
|
|
||||||
jquery/no-merge: [2]
|
|
||||||
jquery/no-param: [2]
|
|
||||||
jquery/no-parent: [0]
|
|
||||||
jquery/no-parents: [0]
|
|
||||||
jquery/no-parse-html: [2]
|
|
||||||
jquery/no-prop: [2]
|
|
||||||
jquery/no-proxy: [2]
|
|
||||||
jquery/no-ready: [2]
|
|
||||||
jquery/no-serialize: [2]
|
|
||||||
jquery/no-show: [2]
|
|
||||||
jquery/no-size: [2]
|
|
||||||
jquery/no-sizzle: [0]
|
|
||||||
jquery/no-slide: [0]
|
|
||||||
jquery/no-submit: [0]
|
|
||||||
jquery/no-text: [0]
|
|
||||||
jquery/no-toggle: [2]
|
|
||||||
jquery/no-trigger: [0]
|
|
||||||
jquery/no-trim: [2]
|
|
||||||
jquery/no-val: [0]
|
|
||||||
jquery/no-when: [2]
|
|
||||||
jquery/no-wrap: [2]
|
|
||||||
line-comment-position: [0]
|
|
||||||
logical-assignment-operators: [0]
|
|
||||||
max-classes-per-file: [0]
|
|
||||||
max-depth: [0]
|
|
||||||
max-lines-per-function: [0]
|
|
||||||
max-lines: [0]
|
|
||||||
max-nested-callbacks: [0]
|
|
||||||
max-params: [0]
|
|
||||||
max-statements: [0]
|
|
||||||
multiline-comment-style: [2, separate-lines]
|
|
||||||
new-cap: [0]
|
|
||||||
no-alert: [0]
|
|
||||||
no-array-constructor: [2]
|
|
||||||
no-async-promise-executor: [0]
|
|
||||||
no-await-in-loop: [0]
|
|
||||||
no-bitwise: [0]
|
|
||||||
no-buffer-constructor: [0]
|
|
||||||
no-caller: [2]
|
|
||||||
no-case-declarations: [2]
|
|
||||||
no-class-assign: [2]
|
|
||||||
no-compare-neg-zero: [2]
|
|
||||||
no-cond-assign: [2, except-parens]
|
|
||||||
no-console: [1, {allow: [debug, info, warn, error]}]
|
|
||||||
no-const-assign: [2]
|
|
||||||
no-constant-binary-expression: [2]
|
|
||||||
no-constant-condition: [0]
|
|
||||||
no-constructor-return: [2]
|
|
||||||
no-continue: [0]
|
|
||||||
no-control-regex: [0]
|
|
||||||
no-debugger: [1]
|
|
||||||
no-delete-var: [2]
|
|
||||||
no-div-regex: [0]
|
|
||||||
no-dupe-args: [2]
|
|
||||||
no-dupe-class-members: [2]
|
|
||||||
no-dupe-else-if: [2]
|
|
||||||
no-dupe-keys: [2]
|
|
||||||
no-duplicate-case: [2]
|
|
||||||
no-duplicate-imports: [2]
|
|
||||||
no-else-return: [2]
|
|
||||||
no-empty-character-class: [2]
|
|
||||||
no-empty-function: [0]
|
|
||||||
no-empty-pattern: [2]
|
|
||||||
no-empty-static-block: [2]
|
|
||||||
no-empty: [2, {allowEmptyCatch: true}]
|
|
||||||
no-eq-null: [2]
|
|
||||||
no-eval: [2]
|
|
||||||
no-ex-assign: [2]
|
|
||||||
no-extend-native: [2]
|
|
||||||
no-extra-bind: [2]
|
|
||||||
no-extra-boolean-cast: [2]
|
|
||||||
no-extra-label: [0]
|
|
||||||
no-fallthrough: [2]
|
|
||||||
no-func-assign: [2]
|
|
||||||
no-global-assign: [2]
|
|
||||||
no-implicit-coercion: [2]
|
|
||||||
no-implicit-globals: [0]
|
|
||||||
no-implied-eval: [2]
|
|
||||||
no-import-assign: [2]
|
|
||||||
no-inline-comments: [0]
|
|
||||||
no-inner-declarations: [2]
|
|
||||||
no-invalid-regexp: [2]
|
|
||||||
no-invalid-this: [0]
|
|
||||||
no-irregular-whitespace: [2]
|
|
||||||
no-iterator: [2]
|
|
||||||
no-jquery/no-ajax-events: [2]
|
|
||||||
no-jquery/no-ajax: [2]
|
|
||||||
no-jquery/no-and-self: [2]
|
|
||||||
no-jquery/no-animate-toggle: [2]
|
|
||||||
no-jquery/no-animate: [2]
|
|
||||||
no-jquery/no-append-html: [2]
|
|
||||||
no-jquery/no-attr: [2]
|
|
||||||
no-jquery/no-bind: [2]
|
|
||||||
no-jquery/no-box-model: [2]
|
|
||||||
no-jquery/no-browser: [2]
|
|
||||||
no-jquery/no-camel-case: [2]
|
|
||||||
no-jquery/no-class-state: [0]
|
|
||||||
no-jquery/no-class: [0]
|
|
||||||
no-jquery/no-clone: [2]
|
|
||||||
no-jquery/no-closest: [0]
|
|
||||||
no-jquery/no-constructor-attributes: [2]
|
|
||||||
no-jquery/no-contains: [2]
|
|
||||||
no-jquery/no-context-prop: [2]
|
|
||||||
no-jquery/no-css: [2]
|
|
||||||
no-jquery/no-data: [0]
|
|
||||||
no-jquery/no-deferred: [2]
|
|
||||||
no-jquery/no-delegate: [2]
|
|
||||||
no-jquery/no-each-collection: [0]
|
|
||||||
no-jquery/no-each-util: [0]
|
|
||||||
no-jquery/no-each: [0]
|
|
||||||
no-jquery/no-error-shorthand: [2]
|
|
||||||
no-jquery/no-error: [2]
|
|
||||||
no-jquery/no-escape-selector: [2]
|
|
||||||
no-jquery/no-event-shorthand: [2]
|
|
||||||
no-jquery/no-extend: [2]
|
|
||||||
no-jquery/no-fade: [2]
|
|
||||||
no-jquery/no-filter: [0]
|
|
||||||
no-jquery/no-find-collection: [0]
|
|
||||||
no-jquery/no-find-util: [2]
|
|
||||||
no-jquery/no-find: [0]
|
|
||||||
no-jquery/no-fx-interval: [2]
|
|
||||||
no-jquery/no-global-eval: [2]
|
|
||||||
no-jquery/no-global-selector: [0]
|
|
||||||
no-jquery/no-grep: [2]
|
|
||||||
no-jquery/no-has: [2]
|
|
||||||
no-jquery/no-hold-ready: [2]
|
|
||||||
no-jquery/no-html: [0]
|
|
||||||
no-jquery/no-in-array: [2]
|
|
||||||
no-jquery/no-is-array: [2]
|
|
||||||
no-jquery/no-is-empty-object: [2]
|
|
||||||
no-jquery/no-is-function: [2]
|
|
||||||
no-jquery/no-is-numeric: [2]
|
|
||||||
no-jquery/no-is-plain-object: [2]
|
|
||||||
no-jquery/no-is-window: [2]
|
|
||||||
no-jquery/no-is: [2]
|
|
||||||
no-jquery/no-jquery-constructor: [0]
|
|
||||||
no-jquery/no-live: [2]
|
|
||||||
no-jquery/no-load-shorthand: [2]
|
|
||||||
no-jquery/no-load: [2]
|
|
||||||
no-jquery/no-map-collection: [0]
|
|
||||||
no-jquery/no-map-util: [2]
|
|
||||||
no-jquery/no-map: [2]
|
|
||||||
no-jquery/no-merge: [2]
|
|
||||||
no-jquery/no-node-name: [2]
|
|
||||||
no-jquery/no-noop: [2]
|
|
||||||
no-jquery/no-now: [2]
|
|
||||||
no-jquery/no-on-ready: [2]
|
|
||||||
no-jquery/no-other-methods: [0]
|
|
||||||
no-jquery/no-other-utils: [2]
|
|
||||||
no-jquery/no-param: [2]
|
|
||||||
no-jquery/no-parent: [0]
|
|
||||||
no-jquery/no-parents: [0]
|
|
||||||
no-jquery/no-parse-html-literal: [0]
|
|
||||||
no-jquery/no-parse-html: [2]
|
|
||||||
no-jquery/no-parse-json: [2]
|
|
||||||
no-jquery/no-parse-xml: [2]
|
|
||||||
no-jquery/no-prop: [2]
|
|
||||||
no-jquery/no-proxy: [2]
|
|
||||||
no-jquery/no-ready-shorthand: [2]
|
|
||||||
no-jquery/no-ready: [2]
|
|
||||||
no-jquery/no-selector-prop: [2]
|
|
||||||
no-jquery/no-serialize: [2]
|
|
||||||
no-jquery/no-size: [2]
|
|
||||||
no-jquery/no-sizzle: [0]
|
|
||||||
no-jquery/no-slide: [2]
|
|
||||||
no-jquery/no-sub: [2]
|
|
||||||
no-jquery/no-support: [2]
|
|
||||||
no-jquery/no-text: [0]
|
|
||||||
no-jquery/no-trigger: [0]
|
|
||||||
no-jquery/no-trim: [2]
|
|
||||||
no-jquery/no-type: [2]
|
|
||||||
no-jquery/no-unique: [2]
|
|
||||||
no-jquery/no-unload-shorthand: [2]
|
|
||||||
no-jquery/no-val: [0]
|
|
||||||
no-jquery/no-visibility: [2]
|
|
||||||
no-jquery/no-when: [2]
|
|
||||||
no-jquery/no-wrap: [2]
|
|
||||||
no-jquery/variable-pattern: [2]
|
|
||||||
no-label-var: [2]
|
|
||||||
no-labels: [0] # handled by no-restricted-syntax
|
|
||||||
no-lone-blocks: [2]
|
|
||||||
no-lonely-if: [0]
|
|
||||||
no-loop-func: [0]
|
|
||||||
no-loss-of-precision: [2]
|
|
||||||
no-magic-numbers: [0]
|
|
||||||
no-misleading-character-class: [2]
|
|
||||||
no-multi-assign: [0]
|
|
||||||
no-multi-str: [2]
|
|
||||||
no-negated-condition: [0]
|
|
||||||
no-nested-ternary: [0]
|
|
||||||
no-new-func: [2]
|
|
||||||
no-new-native-nonconstructor: [2]
|
|
||||||
no-new-object: [2]
|
|
||||||
no-new-symbol: [2]
|
|
||||||
no-new-wrappers: [2]
|
|
||||||
no-new: [0]
|
|
||||||
no-nonoctal-decimal-escape: [2]
|
|
||||||
no-obj-calls: [2]
|
|
||||||
no-octal-escape: [2]
|
|
||||||
no-octal: [2]
|
|
||||||
no-param-reassign: [0]
|
|
||||||
no-plusplus: [0]
|
|
||||||
no-promise-executor-return: [0]
|
|
||||||
no-proto: [2]
|
|
||||||
no-prototype-builtins: [2]
|
|
||||||
no-redeclare: [2]
|
|
||||||
no-regex-spaces: [2]
|
|
||||||
no-restricted-exports: [0]
|
|
||||||
no-restricted-globals: [2, addEventListener, blur, close, closed, confirm, defaultStatus, defaultstatus, error, event, external, find, focus, frameElement, frames, history, innerHeight, innerWidth, isFinite, isNaN, length, location, locationbar, menubar, moveBy, moveTo, name, onblur, onerror, onfocus, onload, onresize, onunload, open, opener, opera, outerHeight, outerWidth, pageXOffset, pageYOffset, parent, print, removeEventListener, resizeBy, resizeTo, screen, screenLeft, screenTop, screenX, screenY, scroll, scrollbars, scrollBy, scrollTo, scrollX, scrollY, self, status, statusbar, stop, toolbar, top, __dirname, __filename]
|
|
||||||
no-restricted-imports: [0]
|
|
||||||
no-restricted-syntax: [2, WithStatement, ForInStatement, LabeledStatement, SequenceExpression, {selector: "CallExpression[callee.name='fetch']", message: "use modules/fetch.js instead"}]
|
|
||||||
no-return-assign: [0]
|
|
||||||
no-script-url: [2]
|
|
||||||
no-self-assign: [2, {props: true}]
|
|
||||||
no-self-compare: [2]
|
|
||||||
no-sequences: [2]
|
|
||||||
no-setter-return: [2]
|
|
||||||
no-shadow-restricted-names: [2]
|
|
||||||
no-shadow: [0]
|
|
||||||
no-sparse-arrays: [2]
|
|
||||||
no-template-curly-in-string: [2]
|
|
||||||
no-ternary: [0]
|
|
||||||
no-this-before-super: [2]
|
|
||||||
no-throw-literal: [2]
|
|
||||||
no-undef-init: [2]
|
|
||||||
no-undef: [2, {typeof: true}]
|
|
||||||
no-undefined: [0]
|
|
||||||
no-underscore-dangle: [0]
|
|
||||||
no-unexpected-multiline: [2]
|
|
||||||
no-unmodified-loop-condition: [2]
|
|
||||||
no-unneeded-ternary: [0]
|
|
||||||
no-unreachable-loop: [2]
|
|
||||||
no-unreachable: [2]
|
|
||||||
no-unsafe-finally: [2]
|
|
||||||
no-unsafe-negation: [2]
|
|
||||||
no-unused-expressions: [2]
|
|
||||||
no-unused-labels: [2]
|
|
||||||
no-unused-private-class-members: [2]
|
|
||||||
no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, caughtErrorsIgnorePattern: ^_, destructuredArrayIgnorePattern: ^_, ignoreRestSiblings: false}]
|
|
||||||
no-use-before-define: [2, {functions: false, classes: true, variables: true, allowNamedExports: true}]
|
|
||||||
no-use-extend-native/no-use-extend-native: [2]
|
|
||||||
no-useless-backreference: [2]
|
|
||||||
no-useless-call: [2]
|
|
||||||
no-useless-catch: [2]
|
|
||||||
no-useless-computed-key: [2]
|
|
||||||
no-useless-concat: [2]
|
|
||||||
no-useless-constructor: [2]
|
|
||||||
no-useless-escape: [2]
|
|
||||||
no-useless-rename: [2]
|
|
||||||
no-useless-return: [2]
|
|
||||||
no-var: [2]
|
|
||||||
no-void: [2]
|
|
||||||
no-warning-comments: [0]
|
|
||||||
no-with: [0] # handled by no-restricted-syntax
|
|
||||||
object-shorthand: [2, always]
|
|
||||||
one-var-declaration-per-line: [0]
|
|
||||||
one-var: [0]
|
|
||||||
operator-assignment: [2, always]
|
|
||||||
operator-linebreak: [2, after]
|
|
||||||
prefer-arrow-callback: [2, {allowNamedFunctions: true, allowUnboundThis: true}]
|
|
||||||
prefer-const: [2, {destructuring: all, ignoreReadBeforeAssign: true}]
|
|
||||||
prefer-destructuring: [0]
|
|
||||||
prefer-exponentiation-operator: [2]
|
|
||||||
prefer-named-capture-group: [0]
|
|
||||||
prefer-numeric-literals: [2]
|
|
||||||
prefer-object-has-own: [2]
|
|
||||||
prefer-object-spread: [2]
|
|
||||||
prefer-promise-reject-errors: [2, {allowEmptyReject: false}]
|
|
||||||
prefer-regex-literals: [2]
|
|
||||||
prefer-rest-params: [2]
|
|
||||||
prefer-spread: [2]
|
|
||||||
prefer-template: [2]
|
|
||||||
radix: [2, as-needed]
|
|
||||||
regexp/confusing-quantifier: [2]
|
|
||||||
regexp/control-character-escape: [2]
|
|
||||||
regexp/hexadecimal-escape: [0]
|
|
||||||
regexp/letter-case: [0]
|
|
||||||
regexp/match-any: [2]
|
|
||||||
regexp/negation: [2]
|
|
||||||
regexp/no-contradiction-with-assertion: [0]
|
|
||||||
regexp/no-control-character: [0]
|
|
||||||
regexp/no-dupe-characters-character-class: [2]
|
|
||||||
regexp/no-dupe-disjunctions: [2]
|
|
||||||
regexp/no-empty-alternative: [2]
|
|
||||||
regexp/no-empty-capturing-group: [2]
|
|
||||||
regexp/no-empty-character-class: [0]
|
|
||||||
regexp/no-empty-group: [2]
|
|
||||||
regexp/no-empty-lookarounds-assertion: [2]
|
|
||||||
regexp/no-empty-string-literal: [2]
|
|
||||||
regexp/no-escape-backspace: [2]
|
|
||||||
regexp/no-extra-lookaround-assertions: [0]
|
|
||||||
regexp/no-invalid-regexp: [2]
|
|
||||||
regexp/no-invisible-character: [2]
|
|
||||||
regexp/no-lazy-ends: [2]
|
|
||||||
regexp/no-legacy-features: [2]
|
|
||||||
regexp/no-misleading-capturing-group: [0]
|
|
||||||
regexp/no-misleading-unicode-character: [0]
|
|
||||||
regexp/no-missing-g-flag: [2]
|
|
||||||
regexp/no-non-standard-flag: [2]
|
|
||||||
regexp/no-obscure-range: [2]
|
|
||||||
regexp/no-octal: [2]
|
|
||||||
regexp/no-optional-assertion: [2]
|
|
||||||
regexp/no-potentially-useless-backreference: [2]
|
|
||||||
regexp/no-standalone-backslash: [2]
|
|
||||||
regexp/no-super-linear-backtracking: [0]
|
|
||||||
regexp/no-super-linear-move: [0]
|
|
||||||
regexp/no-trivially-nested-assertion: [2]
|
|
||||||
regexp/no-trivially-nested-quantifier: [2]
|
|
||||||
regexp/no-unused-capturing-group: [0]
|
|
||||||
regexp/no-useless-assertions: [2]
|
|
||||||
regexp/no-useless-backreference: [2]
|
|
||||||
regexp/no-useless-character-class: [2]
|
|
||||||
regexp/no-useless-dollar-replacements: [2]
|
|
||||||
regexp/no-useless-escape: [2]
|
|
||||||
regexp/no-useless-flag: [2]
|
|
||||||
regexp/no-useless-lazy: [2]
|
|
||||||
regexp/no-useless-non-capturing-group: [2]
|
|
||||||
regexp/no-useless-quantifier: [2]
|
|
||||||
regexp/no-useless-range: [2]
|
|
||||||
regexp/no-useless-set-operand: [2]
|
|
||||||
regexp/no-useless-string-literal: [2]
|
|
||||||
regexp/no-useless-two-nums-quantifier: [2]
|
|
||||||
regexp/no-zero-quantifier: [2]
|
|
||||||
regexp/optimal-lookaround-quantifier: [2]
|
|
||||||
regexp/optimal-quantifier-concatenation: [0]
|
|
||||||
regexp/prefer-character-class: [0]
|
|
||||||
regexp/prefer-d: [0]
|
|
||||||
regexp/prefer-escape-replacement-dollar-char: [0]
|
|
||||||
regexp/prefer-lookaround: [0]
|
|
||||||
regexp/prefer-named-backreference: [0]
|
|
||||||
regexp/prefer-named-capture-group: [0]
|
|
||||||
regexp/prefer-named-replacement: [0]
|
|
||||||
regexp/prefer-plus-quantifier: [2]
|
|
||||||
regexp/prefer-predefined-assertion: [2]
|
|
||||||
regexp/prefer-quantifier: [0]
|
|
||||||
regexp/prefer-question-quantifier: [2]
|
|
||||||
regexp/prefer-range: [2]
|
|
||||||
regexp/prefer-regexp-exec: [2]
|
|
||||||
regexp/prefer-regexp-test: [2]
|
|
||||||
regexp/prefer-result-array-groups: [0]
|
|
||||||
regexp/prefer-set-operation: [2]
|
|
||||||
regexp/prefer-star-quantifier: [2]
|
|
||||||
regexp/prefer-unicode-codepoint-escapes: [2]
|
|
||||||
regexp/prefer-w: [0]
|
|
||||||
regexp/require-unicode-regexp: [0]
|
|
||||||
regexp/simplify-set-operations: [2]
|
|
||||||
regexp/sort-alternatives: [0]
|
|
||||||
regexp/sort-character-class-elements: [0]
|
|
||||||
regexp/sort-flags: [0]
|
|
||||||
regexp/strict: [2]
|
|
||||||
regexp/unicode-escape: [0]
|
|
||||||
regexp/use-ignore-case: [0]
|
|
||||||
require-atomic-updates: [0]
|
|
||||||
require-await: [0]
|
|
||||||
require-unicode-regexp: [0]
|
|
||||||
require-yield: [2]
|
|
||||||
sonarjs/cognitive-complexity: [0]
|
|
||||||
sonarjs/elseif-without-else: [0]
|
|
||||||
sonarjs/max-switch-cases: [0]
|
|
||||||
sonarjs/no-all-duplicated-branches: [2]
|
|
||||||
sonarjs/no-collapsible-if: [0]
|
|
||||||
sonarjs/no-collection-size-mischeck: [2]
|
|
||||||
sonarjs/no-duplicate-string: [0]
|
|
||||||
sonarjs/no-duplicated-branches: [0]
|
|
||||||
sonarjs/no-element-overwrite: [2]
|
|
||||||
sonarjs/no-empty-collection: [2]
|
|
||||||
sonarjs/no-extra-arguments: [2]
|
|
||||||
sonarjs/no-gratuitous-expressions: [2]
|
|
||||||
sonarjs/no-identical-conditions: [2]
|
|
||||||
sonarjs/no-identical-expressions: [2]
|
|
||||||
sonarjs/no-identical-functions: [2, 5]
|
|
||||||
sonarjs/no-ignored-return: [2]
|
|
||||||
sonarjs/no-inverted-boolean-check: [2]
|
|
||||||
sonarjs/no-nested-switch: [0]
|
|
||||||
sonarjs/no-nested-template-literals: [0]
|
|
||||||
sonarjs/no-one-iteration-loop: [2]
|
|
||||||
sonarjs/no-redundant-boolean: [2]
|
|
||||||
sonarjs/no-redundant-jump: [2]
|
|
||||||
sonarjs/no-same-line-conditional: [2]
|
|
||||||
sonarjs/no-small-switch: [0]
|
|
||||||
sonarjs/no-unused-collection: [2]
|
|
||||||
sonarjs/no-use-of-empty-return-value: [2]
|
|
||||||
sonarjs/no-useless-catch: [2]
|
|
||||||
sonarjs/non-existent-operator: [2]
|
|
||||||
sonarjs/prefer-immediate-return: [0]
|
|
||||||
sonarjs/prefer-object-literal: [0]
|
|
||||||
sonarjs/prefer-single-boolean-return: [0]
|
|
||||||
sonarjs/prefer-while: [2]
|
|
||||||
sort-imports: [0]
|
|
||||||
sort-keys: [0]
|
|
||||||
sort-vars: [0]
|
|
||||||
strict: [0]
|
|
||||||
symbol-description: [2]
|
|
||||||
unicode-bom: [2, never]
|
|
||||||
unicorn/better-regex: [0]
|
|
||||||
unicorn/catch-error-name: [0]
|
|
||||||
unicorn/consistent-destructuring: [2]
|
|
||||||
unicorn/consistent-function-scoping: [2]
|
|
||||||
unicorn/custom-error-definition: [0]
|
|
||||||
unicorn/empty-brace-spaces: [2]
|
|
||||||
unicorn/error-message: [0]
|
|
||||||
unicorn/escape-case: [0]
|
|
||||||
unicorn/expiring-todo-comments: [0]
|
|
||||||
unicorn/explicit-length-check: [0]
|
|
||||||
unicorn/filename-case: [0]
|
|
||||||
unicorn/import-index: [0]
|
|
||||||
unicorn/import-style: [0]
|
|
||||||
unicorn/new-for-builtins: [2]
|
|
||||||
unicorn/no-abusive-eslint-disable: [0]
|
|
||||||
unicorn/no-array-callback-reference: [0]
|
|
||||||
unicorn/no-array-for-each: [2]
|
|
||||||
unicorn/no-array-method-this-argument: [2]
|
|
||||||
unicorn/no-array-push-push: [2]
|
|
||||||
unicorn/no-array-reduce: [2]
|
|
||||||
unicorn/no-await-expression-member: [0]
|
|
||||||
unicorn/no-console-spaces: [0]
|
|
||||||
unicorn/no-document-cookie: [2]
|
|
||||||
unicorn/no-empty-file: [2]
|
|
||||||
unicorn/no-for-loop: [0]
|
|
||||||
unicorn/no-hex-escape: [0]
|
|
||||||
unicorn/no-instanceof-array: [0]
|
|
||||||
unicorn/no-invalid-remove-event-listener: [2]
|
|
||||||
unicorn/no-keyword-prefix: [0]
|
|
||||||
unicorn/no-lonely-if: [2]
|
|
||||||
unicorn/no-negated-condition: [0]
|
|
||||||
unicorn/no-nested-ternary: [0]
|
|
||||||
unicorn/no-new-array: [0]
|
|
||||||
unicorn/no-new-buffer: [0]
|
|
||||||
unicorn/no-null: [0]
|
|
||||||
unicorn/no-object-as-default-parameter: [0]
|
|
||||||
unicorn/no-process-exit: [0]
|
|
||||||
unicorn/no-static-only-class: [2]
|
|
||||||
unicorn/no-thenable: [2]
|
|
||||||
unicorn/no-this-assignment: [2]
|
|
||||||
unicorn/no-typeof-undefined: [2]
|
|
||||||
unicorn/no-unnecessary-await: [2]
|
|
||||||
unicorn/no-unnecessary-polyfills: [2]
|
|
||||||
unicorn/no-unreadable-array-destructuring: [0]
|
|
||||||
unicorn/no-unreadable-iife: [2]
|
|
||||||
unicorn/no-unused-properties: [2]
|
|
||||||
unicorn/no-useless-fallback-in-spread: [2]
|
|
||||||
unicorn/no-useless-length-check: [2]
|
|
||||||
unicorn/no-useless-promise-resolve-reject: [2]
|
|
||||||
unicorn/no-useless-spread: [2]
|
|
||||||
unicorn/no-useless-switch-case: [2]
|
|
||||||
unicorn/no-useless-undefined: [0]
|
|
||||||
unicorn/no-zero-fractions: [2]
|
|
||||||
unicorn/number-literal-case: [0]
|
|
||||||
unicorn/numeric-separators-style: [0]
|
|
||||||
unicorn/prefer-add-event-listener: [2]
|
|
||||||
unicorn/prefer-array-find: [2]
|
|
||||||
unicorn/prefer-array-flat-map: [2]
|
|
||||||
unicorn/prefer-array-flat: [2]
|
|
||||||
unicorn/prefer-array-index-of: [2]
|
|
||||||
unicorn/prefer-array-some: [2]
|
|
||||||
unicorn/prefer-at: [0]
|
|
||||||
unicorn/prefer-blob-reading-methods: [2]
|
|
||||||
unicorn/prefer-code-point: [0]
|
|
||||||
unicorn/prefer-date-now: [2]
|
|
||||||
unicorn/prefer-default-parameters: [0]
|
|
||||||
unicorn/prefer-dom-node-append: [2]
|
|
||||||
unicorn/prefer-dom-node-dataset: [0]
|
|
||||||
unicorn/prefer-dom-node-remove: [2]
|
|
||||||
unicorn/prefer-dom-node-text-content: [2]
|
|
||||||
unicorn/prefer-event-target: [2]
|
|
||||||
unicorn/prefer-export-from: [0]
|
|
||||||
unicorn/prefer-includes: [2]
|
|
||||||
unicorn/prefer-json-parse-buffer: [0]
|
|
||||||
unicorn/prefer-keyboard-event-key: [2]
|
|
||||||
unicorn/prefer-logical-operator-over-ternary: [2]
|
|
||||||
unicorn/prefer-math-trunc: [2]
|
|
||||||
unicorn/prefer-modern-dom-apis: [0]
|
|
||||||
unicorn/prefer-modern-math-apis: [2]
|
|
||||||
unicorn/prefer-module: [2]
|
|
||||||
unicorn/prefer-native-coercion-functions: [2]
|
|
||||||
unicorn/prefer-negative-index: [2]
|
|
||||||
unicorn/prefer-node-protocol: [2]
|
|
||||||
unicorn/prefer-number-properties: [0]
|
|
||||||
unicorn/prefer-object-from-entries: [2]
|
|
||||||
unicorn/prefer-object-has-own: [0]
|
|
||||||
unicorn/prefer-optional-catch-binding: [2]
|
|
||||||
unicorn/prefer-prototype-methods: [0]
|
|
||||||
unicorn/prefer-query-selector: [0]
|
|
||||||
unicorn/prefer-reflect-apply: [0]
|
|
||||||
unicorn/prefer-regexp-test: [2]
|
|
||||||
unicorn/prefer-set-has: [0]
|
|
||||||
unicorn/prefer-set-size: [2]
|
|
||||||
unicorn/prefer-spread: [0]
|
|
||||||
unicorn/prefer-string-replace-all: [0]
|
|
||||||
unicorn/prefer-string-slice: [0]
|
|
||||||
unicorn/prefer-string-starts-ends-with: [2]
|
|
||||||
unicorn/prefer-string-trim-start-end: [2]
|
|
||||||
unicorn/prefer-switch: [0]
|
|
||||||
unicorn/prefer-ternary: [0]
|
|
||||||
unicorn/prefer-text-content: [2]
|
|
||||||
unicorn/prefer-top-level-await: [0]
|
|
||||||
unicorn/prefer-type-error: [0]
|
|
||||||
unicorn/prevent-abbreviations: [0]
|
|
||||||
unicorn/relative-url-style: [2]
|
|
||||||
unicorn/require-array-join-separator: [2]
|
|
||||||
unicorn/require-number-to-fixed-digits-argument: [2]
|
|
||||||
unicorn/require-post-message-target-origin: [0]
|
|
||||||
unicorn/string-content: [0]
|
|
||||||
unicorn/switch-case-braces: [0]
|
|
||||||
unicorn/template-indent: [2]
|
|
||||||
unicorn/text-encoding-identifier-case: [0]
|
|
||||||
unicorn/throw-new-error: [2]
|
|
||||||
use-isnan: [2]
|
|
||||||
valid-typeof: [2, {requireStringLiterals: true}]
|
|
||||||
vars-on-top: [0]
|
|
||||||
wc/attach-shadow-constructor: [2]
|
|
||||||
wc/define-tag-after-class-definition: [0]
|
|
||||||
wc/expose-class-on-global: [0]
|
|
||||||
wc/file-name-matches-element: [2]
|
|
||||||
wc/guard-define-call: [0]
|
|
||||||
wc/guard-super-call: [2]
|
|
||||||
wc/max-elements-per-file: [0]
|
|
||||||
wc/no-child-traversal-in-attributechangedcallback: [2]
|
|
||||||
wc/no-child-traversal-in-connectedcallback: [2]
|
|
||||||
wc/no-closed-shadow-root: [2]
|
|
||||||
wc/no-constructor-attributes: [2]
|
|
||||||
wc/no-constructor-params: [2]
|
|
||||||
wc/no-constructor: [2]
|
|
||||||
wc/no-customized-built-in-elements: [2]
|
|
||||||
wc/no-exports-with-element: [0]
|
|
||||||
wc/no-invalid-element-name: [2]
|
|
||||||
wc/no-invalid-extends: [2]
|
|
||||||
wc/no-method-prefixed-with-on: [2]
|
|
||||||
wc/no-self-class: [2]
|
|
||||||
wc/no-typos: [2]
|
|
||||||
wc/require-listener-teardown: [2]
|
|
||||||
wc/tag-name-matches-class: [2]
|
|
||||||
yoda: [2, never]
|
|
|
@ -13,21 +13,22 @@ minor_version=$(make show-version-minor)
|
||||||
|
|
||||||
cd $end_to_end
|
cd $end_to_end
|
||||||
|
|
||||||
if ! test -f forgejo/sources/$minor_version ; then
|
if ! test -f forgejo/sources/$minor_version; then
|
||||||
echo "FAIL: forgejo/sources/$minor_version does not exist in the end-to-end repository"
|
echo "FAIL: forgejo/sources/$minor_version does not exist in the end-to-end repository"
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
date > last-upgrade
|
echo -n $minor_version >forgejo/build-from-sources
|
||||||
|
date >last-upgrade
|
||||||
|
|
||||||
if test -f "$forgejo_pr_or_ref" ; then
|
if test -f "$forgejo_pr_or_ref"; then
|
||||||
forgejo_pr=$forgejo_pr_or_ref
|
forgejo_pr=$forgejo_pr_or_ref
|
||||||
head_url=$(jq --raw-output .head.repo.html_url < $forgejo_pr)
|
head_url=$(jq --raw-output .head.repo.html_url <$forgejo_pr)
|
||||||
test "$head_url" != null
|
test "$head_url" != null
|
||||||
branch=$(jq --raw-output .head.ref < $forgejo_pr)
|
branch=$(jq --raw-output .head.ref <$forgejo_pr)
|
||||||
test "$branch" != null
|
test "$branch" != null
|
||||||
echo $head_url $branch $full_version > forgejo/sources/$minor_version
|
echo $head_url $branch $full_version >forgejo/sources/$minor_version
|
||||||
else
|
else
|
||||||
forgejo_ref=$forgejo_pr_or_ref
|
forgejo_ref=$forgejo_pr_or_ref
|
||||||
echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY ${forgejo_ref#refs/heads/} $full_version > forgejo/sources/$minor_version
|
echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY ${forgejo_ref#refs/heads/} $full_version >forgejo/sources/$minor_version
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,15 +8,15 @@ forgejo=$3
|
||||||
forgejo_ref=$4
|
forgejo_ref=$4
|
||||||
|
|
||||||
cd $end_to_end
|
cd $end_to_end
|
||||||
date > last-upgrade
|
date >last-upgrade
|
||||||
organizations=lib/ORGANIZATIONS
|
organizations=lib/ORGANIZATIONS
|
||||||
if ! test -f $organizations ; then
|
if ! test -f $organizations; then
|
||||||
echo "$organizations file not found"
|
echo "$organizations file not found"
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
# do not include forgejo-experimental so that 7.0-test is found
|
# Inverse the order of lookup because the goal in the release built
|
||||||
# in forgejo-integration where it was just built instead of
|
# pipeline is to test the latest build, if available, instead of the
|
||||||
# forgejo-experimental which was published by the previous build
|
# stable version by the same version.
|
||||||
#
|
#
|
||||||
echo forgejo forgejo-integration > $organizations
|
echo forgejo-integration forgejo-experimental forgejo >$organizations
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: 🦋 Bug Report (web interface / frontend)
|
name: 🦋 Bug Report (web interface / frontend)
|
||||||
description: Something doesn't look quite as it should? Report it here!
|
description: Something doesn't look quite as it should? Report it here!
|
||||||
title: "[BUG] "
|
title: "bug: "
|
||||||
labels: ["bug/new-report", "forgejo/ui"]
|
labels: ["bug/new-report", "forgejo/ui"]
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
|
@ -13,16 +13,29 @@ body:
|
||||||
- Please speak English, as this is the language all maintainers can speak and write.
|
- Please speak English, as this is the language all maintainers can speak and write.
|
||||||
- Be as clear and concise as possible. A very verbose report is harder to interpret in a concrete way.
|
- Be as clear and concise as possible. A very verbose report is harder to interpret in a concrete way.
|
||||||
- Be civil, and follow the [Forgejo Code of Conduct](https://codeberg.org/forgejo/code-of-conduct).
|
- Be civil, and follow the [Forgejo Code of Conduct](https://codeberg.org/forgejo/code-of-conduct).
|
||||||
- Please make sure you are using the latest release of Forgejo and take a moment to [check that your issue hasn't been reported before](https://codeberg.org/forgejo/forgejo/issues?q=&type=all&labels=78137).
|
- Take a moment to [check that your issue hasn't been reported before](https://codeberg.org/forgejo/forgejo/issues?q=&type=all&labels=78137).
|
||||||
- Please give all relevant information below for bug reports, as incomplete details may result in the issue not being considered.
|
- type: dropdown
|
||||||
|
id: can-reproduce
|
||||||
|
attributes:
|
||||||
|
label: Can you reproduce the bug on the Forgejo test instance?
|
||||||
|
description: |
|
||||||
|
Please try reproducing your issue at https://dev.next.forgejo.org.
|
||||||
|
It is running the latest development branch and will confirm the problem is not already fixed.
|
||||||
|
If you can reproduce it, provide a URL in the description.
|
||||||
|
options:
|
||||||
|
- "Yes"
|
||||||
|
- "No"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: Description
|
||||||
description: |
|
description: |
|
||||||
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see below).
|
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see above).
|
||||||
If you think this is a JavaScript error, show us the JavaScript console.
|
If you think this is a JavaScript error, include a copy of the JavaScript console.
|
||||||
If the error appears to relate to Forgejo the server, please also give us `DEBUG` level logs. (See https://forgejo.org/docs/latest/admin/logging-documentation/)
|
validations:
|
||||||
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: screenshots
|
id: screenshots
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -35,20 +48,6 @@ body:
|
||||||
attributes:
|
attributes:
|
||||||
label: Forgejo Version
|
label: Forgejo Version
|
||||||
description: Forgejo version (or commit reference) your instance is running
|
description: Forgejo version (or commit reference) your instance is running
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: dropdown
|
|
||||||
id: can-reproduce
|
|
||||||
attributes:
|
|
||||||
label: Can you reproduce the bug on Forgejo Next?
|
|
||||||
description: |
|
|
||||||
Please try reproducing your issue at [Forgejo Next](https://next.forgejo.org).
|
|
||||||
If you can reproduce it, please provide a URL in the Description field.
|
|
||||||
options:
|
|
||||||
- "Yes"
|
|
||||||
- "No"
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: input
|
- type: input
|
||||||
id: browser-ver
|
id: browser-ver
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -56,8 +55,3 @@ body:
|
||||||
description: The browser and version that you are using to access Forgejo
|
description: The browser and version that you are using to access Forgejo
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
|
||||||
id: os-ver
|
|
||||||
attributes:
|
|
||||||
label: Operating System
|
|
||||||
description: The operating system you are using to access Forgejo
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: 🐛 Bug Report (server / backend)
|
name: 🐛 Bug Report (server / backend)
|
||||||
description: Found something you weren't expecting? Report it here!
|
description: Found something you weren't expecting? Report it here!
|
||||||
title: "[BUG] "
|
title: "bug: "
|
||||||
labels: bug/new-report
|
labels: bug/new-report
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
|
@ -13,14 +13,26 @@ body:
|
||||||
- Please speak English, as this is the language all maintainers can speak and write.
|
- Please speak English, as this is the language all maintainers can speak and write.
|
||||||
- Be as clear and concise as possible. A very verbose report is harder to interpret in a concrete way.
|
- Be as clear and concise as possible. A very verbose report is harder to interpret in a concrete way.
|
||||||
- Be civil, and follow the [Forgejo Code of Conduct](https://codeberg.org/forgejo/code-of-conduct).
|
- Be civil, and follow the [Forgejo Code of Conduct](https://codeberg.org/forgejo/code-of-conduct).
|
||||||
- Please make sure you are using the latest release of Forgejo and take a moment to [check that your issue hasn't been reported before](https://codeberg.org/forgejo/forgejo/issues?q=&type=all&labels=78137).
|
- Take a moment to [check that your issue hasn't been reported before](https://codeberg.org/forgejo/forgejo/issues?q=&type=all&labels=78137).
|
||||||
- Please give all relevant information below for bug reports, as incomplete details may result in the issue not being considered.
|
- type: dropdown
|
||||||
|
id: can-reproduce
|
||||||
|
attributes:
|
||||||
|
label: Can you reproduce the bug on the Forgejo test instance?
|
||||||
|
description: |
|
||||||
|
Please try reproducing your issue at https://dev.next.forgejo.org.
|
||||||
|
It is running the latest development branch and will confirm the problem is not already fixed.
|
||||||
|
If you can reproduce it, provide a URL in the description.
|
||||||
|
options:
|
||||||
|
- "Yes"
|
||||||
|
- "No"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: Description
|
||||||
description: |
|
description: |
|
||||||
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see below).
|
Please provide a description of your issue here, with a URL if you were able to reproduce the issue (see above).
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
|
@ -28,18 +40,14 @@ body:
|
||||||
attributes:
|
attributes:
|
||||||
label: Forgejo Version
|
label: Forgejo Version
|
||||||
description: Forgejo version (or commit reference) of your instance
|
description: Forgejo version (or commit reference) of your instance
|
||||||
validations:
|
- type: textarea
|
||||||
required: true
|
id: run-info
|
||||||
- type: dropdown
|
|
||||||
id: can-reproduce
|
|
||||||
attributes:
|
attributes:
|
||||||
label: Can you reproduce the bug on Forgejo Next?
|
label: How are you running Forgejo?
|
||||||
description: |
|
description: |
|
||||||
Please try reproducing your issue at [Forgejo Next](https://next.forgejo.org).
|
Please include information on whether you built Forgejo yourself, used one of our downloads, or are using some other package.
|
||||||
If you can reproduce it, please provide a URL in the Description field.
|
Please also tell us how you are running Forgejo, e.g. if it is being run from a container, a command-line, systemd etc.
|
||||||
options:
|
If you are using a package or systemd tell us what distribution you are using.
|
||||||
- "Yes"
|
|
||||||
- "No"
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
@ -53,31 +61,6 @@ body:
|
||||||
|
|
||||||
Please copy and paste your logs here, with any sensitive information (e.g. API keys) removed/hidden.
|
Please copy and paste your logs here, with any sensitive information (e.g. API keys) removed/hidden.
|
||||||
You can wrap your logs in `<details>...</details>` tags so it doesn't take up too much space in the issue.
|
You can wrap your logs in `<details>...</details>` tags so it doesn't take up too much space in the issue.
|
||||||
- type: textarea
|
|
||||||
id: screenshots
|
|
||||||
attributes:
|
|
||||||
label: Screenshots
|
|
||||||
description: If this issue involves the Web Interface, please provide one or more screenshots
|
|
||||||
- type: input
|
|
||||||
id: git-ver
|
|
||||||
attributes:
|
|
||||||
label: Git Version
|
|
||||||
description: The version of git running on the server
|
|
||||||
- type: input
|
|
||||||
id: os-ver
|
|
||||||
attributes:
|
|
||||||
label: Operating System
|
|
||||||
description: The operating system you are using to run Forgejo
|
|
||||||
- type: textarea
|
|
||||||
id: run-info
|
|
||||||
attributes:
|
|
||||||
label: How are you running Forgejo?
|
|
||||||
description: |
|
|
||||||
Please include information on whether you built Forgejo yourself, used one of our downloads, or are using some other package.
|
|
||||||
Please also tell us how you are running Forgejo, e.g. if it is being run from docker, a command-line, systemd etc.
|
|
||||||
If you are using a package or systemd tell us what distribution you are using.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: database
|
id: database
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -87,4 +70,3 @@ body:
|
||||||
- SQLite
|
- SQLite
|
||||||
- PostgreSQL
|
- PostgreSQL
|
||||||
- MySQL
|
- MySQL
|
||||||
- MSSQL
|
|
|
@ -1,7 +1,7 @@
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: 🔓 Security Reports
|
- name: 🔓 Security Reports
|
||||||
url: mailto:security@forgejo.org
|
url: mailto:security@forgejo.org
|
||||||
about: "Please email <security@forgejo.org> (GPG: `A4676E79`) instead of opening a public issue."
|
about: "Please email <security@forgejo.org> (See https://forgejo.org/.well-known/security.txt)."
|
||||||
- name: 💬 Matrix Chat Room
|
- name: 💬 Matrix Chat Room
|
||||||
url: https://matrix.to/#/#forgejo-chat:matrix.org
|
url: https://matrix.to/#/#forgejo-chat:matrix.org
|
||||||
about: Please ask questions and discuss configuration or deployment problems here.
|
about: Please ask questions and discuss configuration or deployment problems here.
|
|
@ -1,6 +1,6 @@
|
||||||
name: 💡 Feature Request
|
name: 💡 Feature Request
|
||||||
description: Got an idea for a feature that Forgejo doesn't have yet? Suggest it here!
|
description: Got an idea for a feature that Forgejo doesn't have yet? Suggest it here!
|
||||||
title: "[FEAT] "
|
title: "feat: "
|
||||||
labels: ["enhancement/feature"]
|
labels: ["enhancement/feature"]
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
33
.forgejo/pull_request_template.md
Normal file
33
.forgejo/pull_request_template.md
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
name: "Pull Request Template"
|
||||||
|
about: "Template for all Pull Requests"
|
||||||
|
labels:
|
||||||
|
|
||||||
|
- test/needed
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Checklist
|
||||||
|
|
||||||
|
The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org).
|
||||||
|
|
||||||
|
### Tests
|
||||||
|
|
||||||
|
- I added test coverage for Go changes...
|
||||||
|
- [ ] in their respective `*_test.go` for unit tests.
|
||||||
|
- [ ] in the `tests/integration` directory if it involves interactions with a live Forgejo server.
|
||||||
|
- I added test coverage for JavaScript changes...
|
||||||
|
- [ ] in `web_src/js/*.test.js` if it can be unit tested.
|
||||||
|
- [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests)).
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change.
|
||||||
|
- [ ] I did not document these changes and I do not expect someone else to do it.
|
||||||
|
|
||||||
|
### Release notes
|
||||||
|
|
||||||
|
- [ ] I do not want this change to show in the release notes.
|
||||||
|
- [ ] I want the title to show in the release notes with a link to this pull request.
|
||||||
|
- [ ] I want the content of the `release-notes/<pull request number>.md` to be be used for the release notes instead of the title.
|
4
.forgejo/testdata/build-release/Dockerfile
vendored
4
.forgejo/testdata/build-release/Dockerfile
vendored
|
@ -1,4 +1,6 @@
|
||||||
FROM code.forgejo.org/oci/alpine:3.19
|
FROM data.forgejo.org/oci/alpine:3.21
|
||||||
ARG RELEASE_VERSION=unkown
|
ARG RELEASE_VERSION=unkown
|
||||||
|
LABEL maintainer="contact@forgejo.org" \
|
||||||
|
org.opencontainers.image.version="${RELEASE_VERSION}"
|
||||||
RUN mkdir -p /app/gitea
|
RUN mkdir -p /app/gitea
|
||||||
RUN ( echo '#!/bin/sh' ; echo "echo forgejo v$RELEASE_VERSION" ) > /app/gitea/gitea ; chmod +x /app/gitea/gitea
|
RUN ( echo '#!/bin/sh' ; echo "echo forgejo v$RELEASE_VERSION" ) > /app/gitea/gitea ; chmod +x /app/gitea/gitea
|
||||||
|
|
3
.forgejo/testdata/build-release/go.mod
vendored
Normal file
3
.forgejo/testdata/build-release/go.mod
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module forgejo.org
|
||||||
|
|
||||||
|
go 1.23.3
|
29
.forgejo/workflows-composite/apt-install-from/action.yaml
Normal file
29
.forgejo/workflows-composite/apt-install-from/action.yaml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
inputs:
|
||||||
|
packages:
|
||||||
|
description: 'Packages to install'
|
||||||
|
required: true
|
||||||
|
release:
|
||||||
|
description: 'Release to install from'
|
||||||
|
default: testing
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: setup apt package source
|
||||||
|
run: |
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
echo "deb http://deb.debian.org/debian/ ${RELEASE} main" > "/etc/apt/sources.list.d/${RELEASE}.list"
|
||||||
|
env:
|
||||||
|
RELEASE: ${{inputs.release}}
|
||||||
|
- name: install packages
|
||||||
|
run: |
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get -q install -qq -y ${PACKAGES}
|
||||||
|
env:
|
||||||
|
PACKAGES: ${{inputs.packages}}
|
||||||
|
- name: remove temporary package list to prevent using it in other steps
|
||||||
|
run: |
|
||||||
|
rm "/etc/apt/sources.list.d/${RELEASE}.list"
|
||||||
|
apt-get update -qq
|
||||||
|
env:
|
||||||
|
RELEASE: ${{inputs.release}}
|
15
.forgejo/workflows-composite/build-backend/action.yaml
Normal file
15
.forgejo/workflows-composite/build-backend/action.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
su forgejo -c 'make deps-backend'
|
||||||
|
- uses: https://data.forgejo.org/actions/cache@v4
|
||||||
|
id: cache-backend
|
||||||
|
with:
|
||||||
|
path: ${{github.workspace}}/gitea
|
||||||
|
key: backend-build-${{ github.sha }}
|
||||||
|
- if: steps.cache-backend.outputs.cache-hit != 'true'
|
||||||
|
run: |
|
||||||
|
su forgejo -c 'make backend'
|
||||||
|
env:
|
||||||
|
TAGS: bindata
|
61
.forgejo/workflows-composite/setup-cache-go/action.yaml
Normal file
61
.forgejo/workflows-composite/setup-cache-go/action.yaml
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
name: 'Forgejo Actions to setup Go and cache dependencies'
|
||||||
|
author: 'Forgejo authors'
|
||||||
|
description: |
|
||||||
|
Wrap the setup-go with improved dependency caching.
|
||||||
|
inputs:
|
||||||
|
username:
|
||||||
|
description: 'User for which to manage the dependency cache'
|
||||||
|
default: root
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: "Install zstd for faster caching"
|
||||||
|
run: |
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get -q install -qq -y zstd
|
||||||
|
|
||||||
|
- name: "Set up Go using setup-go"
|
||||||
|
uses: https://data.forgejo.org/actions/setup-go@v5
|
||||||
|
id: go-version
|
||||||
|
with:
|
||||||
|
go-version-file: "go.mod"
|
||||||
|
# do not cache dependencies, we do this manually
|
||||||
|
cache: false
|
||||||
|
|
||||||
|
- name: "Get go environment information"
|
||||||
|
id: go-environment
|
||||||
|
run: |
|
||||||
|
chmod 755 $HOME # ensure ${RUN_AS_USER} has permission when go is located in $HOME
|
||||||
|
export GOROOT="$(go env GOROOT)"
|
||||||
|
echo "modcache=$(su ${RUN_AS_USER} -c '${GOROOT}/bin/go env GOMODCACHE')" >> "$GITHUB_OUTPUT"
|
||||||
|
echo "cache=$(su ${RUN_AS_USER} -c '${GOROOT}/bin/go env GOCACHE')" >> "$GITHUB_OUTPUT"
|
||||||
|
env:
|
||||||
|
RUN_AS_USER: ${{ inputs.username }}
|
||||||
|
GO_VERSION: ${{ steps.go-version.outputs.go-version }}
|
||||||
|
|
||||||
|
- name: "Create cache folders with correct permissions (for non-root users)"
|
||||||
|
if: inputs.username != 'root'
|
||||||
|
# when the cache is restored, only the permissions of the last part are restored
|
||||||
|
# so assuming that /home/user exists and we are restoring /home/user/go/pkg/mod,
|
||||||
|
# both folders will have the correct permissions, but
|
||||||
|
# /home/user/go and /home/user/go/pkg might be owned by root
|
||||||
|
run: |
|
||||||
|
su ${RUN_AS_USER} -c 'mkdir -p "${MODCACHE_DIR}" "${CACHE_DIR}"'
|
||||||
|
env:
|
||||||
|
RUN_AS_USER: ${{ inputs.username }}
|
||||||
|
MODCACHE_DIR: ${{ steps.go-environment.outputs.modcache }}
|
||||||
|
CACHE_DIR: ${{ steps.go-environment.outputs.cache }}
|
||||||
|
|
||||||
|
- name: "Restore Go dependencies from cache or mark for later caching"
|
||||||
|
id: cache-deps
|
||||||
|
uses: https://data.forgejo.org/actions/cache@v4
|
||||||
|
with:
|
||||||
|
key: setup-cache-go-deps-${{ runner.os }}-${{ inputs.username }}-${{ steps.go-version.outputs.go_version }}-${{ hashFiles('go.sum', 'go.mod') }}
|
||||||
|
restore-keys: |
|
||||||
|
setup-cache-go-deps-${{ runner.os }}-${{ inputs.username }}-${{ steps.go-version.outputs.go_version }}-
|
||||||
|
setup-cache-go-deps-${{ runner.os }}-${{ inputs.username }}-
|
||||||
|
path: |
|
||||||
|
${{ steps.go-environment.outputs.modcache }}
|
||||||
|
${{ steps.go-environment.outputs.cache }}
|
25
.forgejo/workflows-composite/setup-env/action.yaml
Normal file
25
.forgejo/workflows-composite/setup-env/action.yaml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# TODO:
|
||||||
|
# - [ ] prepare a forgejo ci image with the necessary tools and forgejo user
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: setup user and permissions
|
||||||
|
run: |
|
||||||
|
git config --add safe.directory '*'
|
||||||
|
# ignore if the user already exists (like with the playwright image)
|
||||||
|
adduser --quiet --comment forgejo --disabled-password forgejo || true
|
||||||
|
chown -R forgejo:forgejo .
|
||||||
|
|
||||||
|
- uses: ./.forgejo/workflows-composite/setup-cache-go
|
||||||
|
with:
|
||||||
|
username: forgejo
|
||||||
|
|
||||||
|
- name: validate go version
|
||||||
|
run: |
|
||||||
|
set -ex
|
||||||
|
toolchain=$(grep -oP '(?<=toolchain ).+' go.mod)
|
||||||
|
version=$(go version | cut -d' ' -f3)
|
||||||
|
if dpkg --compare-versions ${version#go} lt ${toolchain#go}; then
|
||||||
|
echo "go version too low: $toolchain >= $version"
|
||||||
|
exit 1
|
||||||
|
fi
|
|
@ -22,6 +22,8 @@
|
||||||
# `backport/v1.21` label on a merged pull request that can be backported
|
# `backport/v1.21` label on a merged pull request that can be backported
|
||||||
# without conflict.
|
# without conflict.
|
||||||
#
|
#
|
||||||
|
name: issue-labels
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types:
|
types:
|
||||||
|
@ -31,57 +33,29 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
backporting:
|
backporting:
|
||||||
if: >
|
if: >
|
||||||
!startsWith(vars.ROLE, 'forgejo-') && (
|
( vars.ROLE == 'forgejo-coding' ) && (
|
||||||
github.event.pull_request.merged
|
github.event.pull_request.merged
|
||||||
&& (
|
&&
|
||||||
(
|
contains(toJSON(github.event.pull_request.labels), 'backport/v')
|
||||||
github.event.action == 'closed' &&
|
|
||||||
contains(toJSON(github.event.pull_request.labels), 'backport/v')
|
|
||||||
)
|
|
||||||
||
|
|
||||||
(
|
|
||||||
github.event.action == 'labeled' &&
|
|
||||||
contains(github.event.label.name, 'backport/v')
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: 'docker.io/node:20-bookworm'
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch labels
|
- name: event info
|
||||||
id: fetch-labels
|
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
set -x
|
cat <<'EOF'
|
||||||
echo "Labels retrieved below"
|
${{ toJSON(github) }}
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
EOF
|
||||||
apt-get update -qq
|
- uses: https://data.forgejo.org/actions/git-backporting@v4.8.5
|
||||||
apt-get -q install -qq -y jq
|
|
||||||
filtered_labels=$(echo "$LABELS" | jq -c 'map(select(.name | startswith("backport/v")))')
|
|
||||||
echo "FILTERED_LABELS=${filtered_labels}" >> $GITHUB_ENV
|
|
||||||
env:
|
|
||||||
LABELS: ${{ toJSON(github.event.pull_request.labels) }}
|
|
||||||
- name: Extract targets
|
|
||||||
id: extract-targets
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
set -x
|
|
||||||
targets="$(echo $FILTERED_LABELS | jq -c '[.[] | .name | sub("backport/"; "")]')"
|
|
||||||
echo "targets=$(echo $targets)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Printing info
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "targets: ${{ steps.extract-targets.outputs.targets }}"
|
|
||||||
echo "target-branch: ${{ fromJSON(steps.extract-targets.outputs.targets)[0] }}"
|
|
||||||
echo "pull-request: ${{ github.event.pull_request.url }}"
|
|
||||||
|
|
||||||
- uses: https://code.forgejo.org/actions/git-backporting@v4.6.0
|
|
||||||
with:
|
with:
|
||||||
target-branch: ${{ fromJSON(steps.extract-targets.outputs.targets)[0] }}/forgejo
|
target-branch-pattern: "^backport/(?<target>(v.*))$"
|
||||||
strategy: ort
|
strategy: ort
|
||||||
strategy-option: find-renames
|
strategy-option: find-renames
|
||||||
no-squash: true
|
cherry-pick-options: -x
|
||||||
auth: ${{ secrets.BACKPORT_TOKEN }}
|
auth: ${{ secrets.BACKPORT_TOKEN }}
|
||||||
pull-request: ${{ github.event.pull_request.url }}
|
pull-request: ${{ github.event.pull_request.url }}
|
||||||
|
auto-no-squash: true
|
||||||
|
enable-err-notification: true
|
||||||
|
git-user: forgejo-backport-action
|
||||||
|
git-email: forgejo-backport-action@noreply.codeberg.org
|
||||||
|
|
|
@ -22,13 +22,13 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-simulation:
|
release-simulation:
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
if: vars.ROLE == 'forgejo-coding'
|
||||||
runs-on: self-hosted
|
runs-on: lxc-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
- id: forgejo
|
- id: forgejo
|
||||||
uses: https://code.forgejo.org/actions/setup-forgejo@v1
|
uses: https://data.forgejo.org/actions/setup-forgejo@v2.0.4
|
||||||
with:
|
with:
|
||||||
user: root
|
user: root
|
||||||
password: admin1234
|
password: admin1234
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# See also https://forgejo.org/docs/next/developer/RELEASE/#release-process
|
# See also https://forgejo.org/docs/next/contributor/release/#stable-release-process
|
||||||
#
|
#
|
||||||
# https://codeberg.org/forgejo-integration/forgejo
|
# https://codeberg.org/forgejo-integration/forgejo
|
||||||
#
|
#
|
||||||
|
@ -14,6 +14,12 @@
|
||||||
# secrets.CASCADE_DESTINATION_TOKEN: <generated from code.forgejo.org/forgejo-ci> scope read:user, write:repository, write:issue
|
# secrets.CASCADE_DESTINATION_TOKEN: <generated from code.forgejo.org/forgejo-ci> scope read:user, write:repository, write:issue
|
||||||
# vars.CASCADE_DESTINATION_DOER: forgejo-ci
|
# vars.CASCADE_DESTINATION_DOER: forgejo-ci
|
||||||
#
|
#
|
||||||
|
# vars.SKIP_END_TO_END: `true` or `false`
|
||||||
|
# It must be `false` (or absent) so https://code.forgejo.org/forgejo/end-to-end is run
|
||||||
|
# with the newly built release.
|
||||||
|
# It must be set to `true` when a release is missing, for instance because it was
|
||||||
|
# removed and failed to upload.
|
||||||
|
#
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags: 'v[0-9]+.[0-9]+.*'
|
tags: 'v[0-9]+.[0-9]+.*'
|
||||||
|
@ -23,11 +29,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: self-hosted
|
runs-on: lxc-bookworm
|
||||||
# root is used for testing, allow it
|
# root is used for testing, allow it
|
||||||
if: vars.ROLE == 'forgejo-integration' || github.repository_owner == 'root'
|
if: vars.ROLE == 'forgejo-integration' || github.repository_owner == 'root'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
@ -37,14 +43,13 @@ jobs:
|
||||||
repository="${{ github.repository }}"
|
repository="${{ github.repository }}"
|
||||||
echo "value=${repository##*/}" >> "$GITHUB_OUTPUT"
|
echo "value=${repository##*/}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- uses: https://code.forgejo.org/actions/setup-node@v3
|
- uses: https://data.forgejo.org/actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 22
|
||||||
|
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
- uses: https://data.forgejo.org/actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
go-version-file: "go.mod"
|
||||||
check-latest: true
|
|
||||||
|
|
||||||
- name: version from ref
|
- name: version from ref
|
||||||
id: release-info
|
id: release-info
|
||||||
|
@ -88,7 +93,7 @@ jobs:
|
||||||
|
|
||||||
- name: cache node_modules
|
- name: cache node_modules
|
||||||
id: node
|
id: node
|
||||||
uses: https://code.forgejo.org/actions/cache@v3
|
uses: https://data.forgejo.org/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
node_modules
|
node_modules
|
||||||
|
@ -159,7 +164,7 @@ jobs:
|
||||||
|
|
||||||
- name: build container & release
|
- name: build container & release
|
||||||
if: ${{ secrets.TOKEN != '' }}
|
if: ${{ secrets.TOKEN != '' }}
|
||||||
uses: https://code.forgejo.org/forgejo/forgejo-build-publish/build@v3
|
uses: https://data.forgejo.org/forgejo/forgejo-build-publish/build@v5.3.4
|
||||||
with:
|
with:
|
||||||
forgejo: "${{ env.GITHUB_SERVER_URL }}"
|
forgejo: "${{ env.GITHUB_SERVER_URL }}"
|
||||||
owner: "${{ env.GITHUB_REPOSITORY_OWNER }}"
|
owner: "${{ env.GITHUB_REPOSITORY_OWNER }}"
|
||||||
|
@ -173,11 +178,12 @@ jobs:
|
||||||
binary-name: forgejo
|
binary-name: forgejo
|
||||||
binary-path: /app/gitea/gitea
|
binary-path: /app/gitea/gitea
|
||||||
override: "${{ steps.release-info.outputs.override }}"
|
override: "${{ steps.release-info.outputs.override }}"
|
||||||
|
verify-labels: "maintainer=contact@forgejo.org,org.opencontainers.image.version=${{ steps.release-info.outputs.version }}"
|
||||||
verbose: ${{ vars.VERBOSE || secrets.VERBOSE || 'false' }}
|
verbose: ${{ vars.VERBOSE || secrets.VERBOSE || 'false' }}
|
||||||
|
|
||||||
- name: build rootless container
|
- name: build rootless container
|
||||||
if: ${{ secrets.TOKEN != '' }}
|
if: ${{ secrets.TOKEN != '' }}
|
||||||
uses: https://code.forgejo.org/forgejo/forgejo-build-publish/build@v3
|
uses: https://data.forgejo.org/forgejo/forgejo-build-publish/build@v5.3.4
|
||||||
with:
|
with:
|
||||||
forgejo: "${{ env.GITHUB_SERVER_URL }}"
|
forgejo: "${{ env.GITHUB_SERVER_URL }}"
|
||||||
owner: "${{ env.GITHUB_REPOSITORY_OWNER }}"
|
owner: "${{ env.GITHUB_REPOSITORY_OWNER }}"
|
||||||
|
@ -190,11 +196,12 @@ jobs:
|
||||||
suffix: -rootless
|
suffix: -rootless
|
||||||
dockerfile: Dockerfile.rootless
|
dockerfile: Dockerfile.rootless
|
||||||
override: "${{ steps.release-info.outputs.override }}"
|
override: "${{ steps.release-info.outputs.override }}"
|
||||||
|
verify-labels: "maintainer=contact@forgejo.org,org.opencontainers.image.version=${{ steps.release-info.outputs.version }}"
|
||||||
verbose: ${{ vars.VERBOSE || secrets.VERBOSE || 'false' }}
|
verbose: ${{ vars.VERBOSE || secrets.VERBOSE || 'false' }}
|
||||||
|
|
||||||
- name: end-to-end tests
|
- name: end-to-end tests
|
||||||
if: ${{ secrets.TOKEN != '' && vars.ROLE == 'forgejo-integration' }}
|
if: ${{ secrets.TOKEN != '' && vars.ROLE == 'forgejo-integration' && vars.SKIP_END_TO_END != 'true' }}
|
||||||
uses: https://code.forgejo.org/actions/cascading-pr@v2
|
uses: https://data.forgejo.org/actions/cascading-pr@v2.2.0
|
||||||
with:
|
with:
|
||||||
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
||||||
origin-repo: ${{ github.repository }}
|
origin-repo: ${{ github.repository }}
|
||||||
|
|
|
@ -12,8 +12,10 @@
|
||||||
# whatever is in the default branch instead
|
# whatever is in the default branch instead
|
||||||
#
|
#
|
||||||
# - after it is merged, double check it works by setting the
|
# - after it is merged, double check it works by setting the
|
||||||
# run-end-to-end-test on a pull request (any pull request will doe
|
# run-end-to-end-test on a pull request (any pull request will do)
|
||||||
#
|
#
|
||||||
|
name: issue-labels
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -23,42 +25,23 @@ on:
|
||||||
- labeled
|
- labeled
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
info:
|
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
|
||||||
runs-on: docker
|
|
||||||
container:
|
|
||||||
image: node:20-bookworm
|
|
||||||
steps:
|
|
||||||
- name: event
|
|
||||||
run: |
|
|
||||||
echo github.event.pull_request.head.repo.fork = ${{ github.event.pull_request.head.repo.fork }}
|
|
||||||
echo github.event.action = ${{ github.event.action }}
|
|
||||||
echo github.event.pull_request.merged = ${{ github.event.pull_request.merged }}
|
|
||||||
echo github.event.pull_request.labels.*.name
|
|
||||||
cat <<'EOF'
|
|
||||||
${{ toJSON(github.event.pull_request.labels.*.name) }}
|
|
||||||
EOF
|
|
||||||
cat <<'EOF'
|
|
||||||
${{ toJSON(github.event) }}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cascade:
|
cascade:
|
||||||
if: >
|
if: >
|
||||||
!startsWith(vars.ROLE, 'forgejo-') && (
|
vars.ROLE == 'forgejo-coding' && (
|
||||||
github.event_name == 'push' ||
|
github.event_name == 'push' ||
|
||||||
(
|
(
|
||||||
github.event.action == 'label_updated' && contains(github.event.pull_request.labels.*.name, 'run-end-to-end-tests')
|
github.event.action == 'label_updated' && github.event.label.name == 'run-end-to-end-tests'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:20-bookworm
|
image: data.forgejo.org/oci/node:22-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
show-progress: 'false'
|
show-progress: 'false'
|
||||||
- uses: actions/cascading-pr@v2
|
- uses: https://data.forgejo.org/actions/cascading-pr@v2.2.0
|
||||||
with:
|
with:
|
||||||
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
||||||
origin-repo: ${{ github.repository }}
|
origin-repo: ${{ github.repository }}
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
name: e2e
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- Makefile
|
|
||||||
- .forgejo/workflows/e2e.yml
|
|
||||||
- tests/e2e/**
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test-e2e:
|
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
|
||||||
runs-on: docker
|
|
||||||
container:
|
|
||||||
image: 'docker.io/node:20-bookworm'
|
|
||||||
steps:
|
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: "1.22"
|
|
||||||
check-latest: true
|
|
||||||
- run: |
|
|
||||||
apt-get -qq update
|
|
||||||
apt-get -qq install -q sudo
|
|
||||||
sed -i -e 's/%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD:ALL/' /etc/sudoers
|
|
||||||
git config --add safe.directory '*'
|
|
||||||
adduser --quiet --comment forgejo --disabled-password forgejo
|
|
||||||
adduser forgejo sudo
|
|
||||||
chown -R forgejo:forgejo .
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make deps-frontend frontend deps-backend'
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make generate test-e2e-sqlite'
|
|
||||||
timeout-minutes: 40
|
|
||||||
env:
|
|
||||||
DEPS_PLAYWRIGHT: 1
|
|
||||||
USE_REPO_TEST_DIR: 1
|
|
39
.forgejo/workflows/forgejo-integration-cleanup.yml
Normal file
39
.forgejo/workflows/forgejo-integration-cleanup.yml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
schedule:
|
||||||
|
- cron: '@daily'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
integration-cleanup:
|
||||||
|
if: vars.ROLE == 'forgejo-integration'
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: apt install curl jq
|
||||||
|
run: |
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get -q install -qq -y curl jq
|
||||||
|
|
||||||
|
- name: remove old releases and tags
|
||||||
|
run: |
|
||||||
|
url=https://any:${{ secrets.TOKEN }}@codeberg.org
|
||||||
|
curl -sS "$url/api/v1/repos/forgejo-integration/forgejo/releases" | jq -r '.[] | "\(.published_at) \(.tag_name)"' | sort | while read published_at version ; do
|
||||||
|
if echo $version | grep -e '-test$' >/dev/null; then
|
||||||
|
old="18 months"
|
||||||
|
else
|
||||||
|
old="1 day"
|
||||||
|
fi
|
||||||
|
too_old=$(env -i date --date="- $old" +%F)
|
||||||
|
too_old_seconds=$(env -i date --date="- $old" +%s)
|
||||||
|
published_at_seconds=$(env -i date --date="$published_at" +%s)
|
||||||
|
if test $published_at_seconds -le $too_old_seconds ; then
|
||||||
|
echo "$version was published more than $old ago ($published_at <= $too_old) and will be removed"
|
||||||
|
curl -X DELETE -sS "$url/api/v1/repos/forgejo-integration/forgejo/releases/tags/$version"
|
||||||
|
else
|
||||||
|
echo "$version was published less than $old ago"
|
||||||
|
fi
|
||||||
|
done
|
45
.forgejo/workflows/merge-requirements.yml
Normal file
45
.forgejo/workflows/merge-requirements.yml
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# Copyright 2024 The Forgejo Authors
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
name: requirements
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- labeled
|
||||||
|
- edited
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
merge-conditions:
|
||||||
|
if: vars.ROLE == 'forgejo-coding'
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
steps:
|
||||||
|
- name: Debug output
|
||||||
|
run: |
|
||||||
|
cat <<'EOF'
|
||||||
|
${{ toJSON(github) }}
|
||||||
|
EOF
|
||||||
|
- name: Missing test label
|
||||||
|
if: >
|
||||||
|
!(
|
||||||
|
contains(toJSON(github.event.pull_request.labels), 'test/present')
|
||||||
|
|| contains(toJSON(github.event.pull_request.labels), 'test/not-needed')
|
||||||
|
|| contains(toJSON(github.event.pull_request.labels), 'test/manual')
|
||||||
|
)
|
||||||
|
run: |
|
||||||
|
echo "A team member must set the label to either 'present', 'not-needed' or 'manual'."
|
||||||
|
exit 1
|
||||||
|
- name: Missing manual test instructions
|
||||||
|
if: >
|
||||||
|
(
|
||||||
|
contains(toJSON(github.event.pull_request.labels), 'test/manual')
|
||||||
|
&& !contains(toJSON(github.event.pull_request.body), '# Test')
|
||||||
|
)
|
||||||
|
run: |
|
||||||
|
echo "Manual test label is set. The PR description needs to contain test steps introduced by a heading like:"
|
||||||
|
echo "# Testing"
|
||||||
|
exit 1
|
24
.forgejo/workflows/milestone.yml
Normal file
24
.forgejo/workflows/milestone.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Copyright 2024 The Forgejo Authors
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
#
|
||||||
|
name: milestone
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- closed
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
set:
|
||||||
|
if: vars.ROLE == 'forgejo-coding' && github.event.pull_request.merged
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: 'data.forgejo.org/oci/ci:1'
|
||||||
|
steps:
|
||||||
|
- uses: https://data.forgejo.org/forgejo/set-milestone@v1.0.0
|
||||||
|
with:
|
||||||
|
forgejo: https://codeberg.org
|
||||||
|
repository: forgejo/forgejo
|
||||||
|
token: ${{ secrets.SET_MILESTONE_TOKEN }}
|
||||||
|
pr-number: ${{ github.event.pull_request.number }}
|
||||||
|
verbose: ${{ vars.SET_MILESTONE_VERBOSE }}
|
|
@ -1,6 +1,8 @@
|
||||||
name: mirror
|
name: mirror
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '@daily'
|
- cron: '@daily'
|
||||||
|
|
||||||
|
@ -9,7 +11,7 @@ jobs:
|
||||||
if: ${{ secrets.MIRROR_TOKEN != '' }}
|
if: ${{ secrets.MIRROR_TOKEN != '' }}
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: 'docker.io/node:20-bookworm'
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
steps:
|
steps:
|
||||||
- name: git push {v*/,}forgejo
|
- name: git push {v*/,}forgejo
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
# See also https://forgejo.org/docs/next/developer/RELEASE/#release-process
|
# See also https://forgejo.org/docs/next/contributor/release/#stable-release-process
|
||||||
|
#
|
||||||
|
# TOKEN_NEXT_DIGEST is a token with write repository access to https://invisible.forgejo.org/infrastructure/next-digest issued by https://invisible.forgejo.org/forgejo-next-digest
|
||||||
#
|
#
|
||||||
# https://codeberg.org/forgejo-experimental/forgejo
|
# https://codeberg.org/forgejo-experimental/forgejo
|
||||||
#
|
#
|
||||||
|
@ -14,7 +16,7 @@
|
||||||
# vars.DOER: forgejo-experimental-ci
|
# vars.DOER: forgejo-experimental-ci
|
||||||
# secrets.TOKEN: <generated from codeberg.org/forgejo-experimental-ci>
|
# secrets.TOKEN: <generated from codeberg.org/forgejo-experimental-ci>
|
||||||
#
|
#
|
||||||
# http://private.forgejo.org/forgejo/forgejo
|
# http://invisible.forgejo.org/forgejo/forgejo
|
||||||
#
|
#
|
||||||
# Copies & sign a release from codeberg.org/forgejo-integration to codeberg.org/forgejo
|
# Copies & sign a release from codeberg.org/forgejo-integration to codeberg.org/forgejo
|
||||||
#
|
#
|
||||||
|
@ -36,20 +38,20 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: self-hosted
|
runs-on: lxc-bookworm
|
||||||
if: vars.DOER != '' && vars.FORGEJO != '' && vars.TO_OWNER != '' && vars.FROM_OWNER != '' && secrets.TOKEN != ''
|
if: vars.DOER != '' && vars.FORGEJO != '' && vars.TO_OWNER != '' && vars.FROM_OWNER != '' && secrets.TOKEN != ''
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
- name: copy & sign
|
- name: copy & sign
|
||||||
uses: https://code.forgejo.org/forgejo/forgejo-build-publish/publish@v4
|
uses: https://data.forgejo.org/forgejo/forgejo-build-publish/publish@v5.3.4
|
||||||
with:
|
with:
|
||||||
from-forgejo: ${{ vars.FORGEJO }}
|
from-forgejo: ${{ vars.FORGEJO }}
|
||||||
to-forgejo: ${{ vars.FORGEJO }}
|
to-forgejo: ${{ vars.FORGEJO }}
|
||||||
from-owner: ${{ vars.FROM_OWNER }}
|
from-owner: ${{ vars.FROM_OWNER }}
|
||||||
to-owner: ${{ vars.TO_OWNER }}
|
to-owner: ${{ vars.TO_OWNER }}
|
||||||
repo: ${{ vars.REPO }}
|
repo: ${{ vars.REPO }}
|
||||||
release-notes: "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#{ANCHOR}"
|
release-notes: "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/{VERSION}.md"
|
||||||
ref-name: ${{ github.ref_name }}
|
ref-name: ${{ github.ref_name }}
|
||||||
sha: ${{ github.sha }}
|
sha: ${{ github.sha }}
|
||||||
from-token: ${{ secrets.TOKEN }}
|
from-token: ${{ secrets.TOKEN }}
|
||||||
|
@ -59,21 +61,28 @@ jobs:
|
||||||
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
verbose: ${{ vars.VERBOSE }}
|
verbose: ${{ vars.VERBOSE }}
|
||||||
|
|
||||||
|
- name: get trigger mirror issue
|
||||||
|
id: mirror
|
||||||
|
uses: https://data.forgejo.org/infrastructure/issue-action/get@v1.3.0
|
||||||
|
with:
|
||||||
|
forgejo: https://code.forgejo.org
|
||||||
|
repository: forgejo/forgejo
|
||||||
|
labels: mirror-trigger
|
||||||
|
|
||||||
- name: set up go for the DNS update below
|
- name: trigger the mirror
|
||||||
if: vars.ROLE == 'forgejo-experimental' && secrets.OVH_APP_KEY != ''
|
uses: https://data.forgejo.org/infrastructure/issue-action/set@v1.3.0
|
||||||
uses: https://code.forgejo.org/actions/setup-go@v4
|
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
forgejo: https://code.forgejo.org
|
||||||
check-latest: true
|
repository: forgejo/forgejo
|
||||||
- name: update the _release.experimental DNS record
|
token: ${{ secrets.LABEL_ISSUE_FORGEJO_MIRROR_TOKEN }}
|
||||||
if: vars.ROLE == 'forgejo-experimental' && secrets.OVH_APP_KEY != ''
|
numbers: ${{ steps.mirror.outputs.numbers }}
|
||||||
uses: https://code.forgejo.org/actions/ovh-dns-update@v1
|
label-wait-if-exists: 3600
|
||||||
|
label: trigger
|
||||||
|
|
||||||
|
- name: upgrade v*.next.forgejo.org
|
||||||
|
uses: https://data.forgejo.org/infrastructure/next-digest@v1.1.0
|
||||||
with:
|
with:
|
||||||
subdomain: _release.experimental
|
url: https://placeholder:${{ secrets.TOKEN_NEXT_DIGEST }}@invisible.forgejo.org/infrastructure/next-digest
|
||||||
domain: forgejo.com # there is a CNAME from .org to .com (for security reasons)
|
ref_name: '${{ github.ref_name }}'
|
||||||
record-id: 5283602601
|
image: 'codeberg.org/forgejo-experimental/forgejo'
|
||||||
value: v=${{ github.ref_name }}
|
tag_suffix: '-rootless'
|
||||||
ovh-app-key: ${{ secrets.OVH_APP_KEY }}
|
|
||||||
ovh-app-secret: ${{ secrets.OVH_APP_SECRET }}
|
|
||||||
ovh-consumer-key: ${{ secrets.OVH_CON_KEY }}
|
|
||||||
|
|
36
.forgejo/workflows/release-notes-assistant-milestones.yml
Normal file
36
.forgejo/workflows/release-notes-assistant-milestones.yml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
schedule:
|
||||||
|
- cron: '@daily'
|
||||||
|
|
||||||
|
env:
|
||||||
|
RNA_VERSION: v1.2.5 # renovate: datasource=gitea-releases depName=forgejo/release-notes-assistant registryUrl=https://code.forgejo.org
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release-notes:
|
||||||
|
if: vars.ROLE == 'forgejo-coding'
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
steps:
|
||||||
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: https://data.forgejo.org/actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version-file: "go.mod"
|
||||||
|
cache: false
|
||||||
|
|
||||||
|
- name: apt install jq
|
||||||
|
run: |
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get -q install -y -qq jq
|
||||||
|
|
||||||
|
- name: update open milestones
|
||||||
|
run: |
|
||||||
|
set -x
|
||||||
|
curl -sS $GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/milestones?state=open | jq -r '.[] | .title' | while read forgejo version ; do
|
||||||
|
milestone="$forgejo $version"
|
||||||
|
go run code.forgejo.org/forgejo/release-notes-assistant@$RNA_VERSION --config .release-notes-assistant.yaml --storage milestone --storage-location "$milestone" --forgejo-url $GITHUB_SERVER_URL --repository $GITHUB_REPOSITORY --token ${{ secrets.RELEASE_NOTES_ASSISTANT_TOKEN }} release $version
|
||||||
|
done
|
44
.forgejo/workflows/release-notes-assistant.yml
Normal file
44
.forgejo/workflows/release-notes-assistant.yml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
name: issue-labels
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
- labeled
|
||||||
|
|
||||||
|
env:
|
||||||
|
RNA_VERSION: v1.2.5 # renovate: datasource=gitea-releases depName=forgejo/release-notes-assistant registryUrl=https://code.forgejo.org
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release-notes:
|
||||||
|
if: ( vars.ROLE == 'forgejo-coding' ) && contains(github.event.pull_request.labels.*.name, 'worth a release-note')
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
steps:
|
||||||
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
|
- name: event
|
||||||
|
run: |
|
||||||
|
cat <<'EOF'
|
||||||
|
${{ toJSON(github.event.pull_request.labels.*.name) }}
|
||||||
|
EOF
|
||||||
|
cat <<'EOF'
|
||||||
|
${{ toJSON(github.event) }}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
- uses: https://data.forgejo.org/actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version-file: "go.mod"
|
||||||
|
cache: false
|
||||||
|
|
||||||
|
- name: apt install jq
|
||||||
|
run: |
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get -q install -y -qq jq
|
||||||
|
|
||||||
|
- name: release-notes-assistant preview
|
||||||
|
run: |
|
||||||
|
go run code.forgejo.org/forgejo/release-notes-assistant@$RNA_VERSION --config .release-notes-assistant.yaml --storage pr --storage-location ${{ github.event.pull_request.number }} --forgejo-url $GITHUB_SERVER_URL --repository $GITHUB_REPOSITORY --token ${{ secrets.RELEASE_NOTES_ASSISTANT_TOKEN }} preview ${{ github.event.pull_request.number }}
|
|
@ -1,34 +1,49 @@
|
||||||
|
#
|
||||||
|
# Runs every 2 hours, but Renovate is limited to create new PR before 4am.
|
||||||
|
# See renovate.json for more settings.
|
||||||
|
# Automerge is enabled for Renovate PR's but need to be approved before.
|
||||||
|
#
|
||||||
name: renovate
|
name: renovate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'renovate/**' # self-test updates
|
- renovate/** # self-test updates
|
||||||
|
paths:
|
||||||
|
- .forgejo/workflows/renovate.yml
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '*/30 * * * *'
|
- cron: '0 0/2 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RENOVATE_DRY_RUN: ${{ (github.event_name != 'schedule' && github.ref_name != github.event.repository.default_branch) && 'full' || '' }}
|
RENOVATE_DRY_RUN: ${{ (github.event_name != 'schedule' && github.ref_name != github.event.repository.default_branch) && 'full' || '' }}
|
||||||
RENOVATE_REPOSITORIES: ${{ github.repository }}
|
RENOVATE_REPOSITORIES: ${{ github.repository }}
|
||||||
|
# fix because 10.0.0-58-7e1df53+gitea-1.22.0 < 10.0.0 for semver
|
||||||
|
# and codeberg api returns such versions from `git describe --tags`
|
||||||
|
# RENOVATE_X_PLATFORM_VERSION: 10.0.0+gitea-1.22.0 currently not needed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
renovate:
|
renovate:
|
||||||
if: ${{ secrets.RENOVATE_TOKEN != '' }}
|
if: vars.ROLE == 'forgejo-coding' && secrets.RENOVATE_TOKEN != ''
|
||||||
|
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/visualon/renovate:37.272.0
|
image: data.forgejo.org/renovate/renovate:40.11.19
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
- name: Load renovate repo cache
|
||||||
|
uses: https://data.forgejo.org/actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
.tmp/cache/renovate/repository
|
.tmp/cache/renovate/repository
|
||||||
|
.tmp/cache/renovate/renovate-cache-sqlite
|
||||||
|
.tmp/osv
|
||||||
key: repo-cache-${{ github.run_id }}
|
key: repo-cache-${{ github.run_id }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
repo-cache-
|
repo-cache-
|
||||||
|
|
||||||
- run: renovate
|
- name: Run renovate
|
||||||
|
run: renovate
|
||||||
env:
|
env:
|
||||||
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
||||||
LOG_LEVEL: debug
|
LOG_LEVEL: debug
|
||||||
|
@ -39,15 +54,21 @@ jobs:
|
||||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
RENOVATE_GIT_AUTHOR: 'Renovate Bot <forgejo-renovate-action@forgejo.org>'
|
RENOVATE_GIT_AUTHOR: 'Renovate Bot <forgejo-renovate-action@forgejo.org>'
|
||||||
|
|
||||||
|
RENOVATE_X_SQLITE_PACKAGE_CACHE: true
|
||||||
|
|
||||||
GIT_AUTHOR_NAME: 'Renovate Bot'
|
GIT_AUTHOR_NAME: 'Renovate Bot'
|
||||||
GIT_AUTHOR_EMAIL: 'forgejo-renovate-action@forgejo.org'
|
GIT_AUTHOR_EMAIL: 'forgejo-renovate-action@forgejo.org'
|
||||||
GIT_COMMITTER_NAME: 'Renovate Bot'
|
GIT_COMMITTER_NAME: 'Renovate Bot'
|
||||||
GIT_COMMITTER_EMAIL: 'forgejo-renovate-action@forgejo.org'
|
GIT_COMMITTER_EMAIL: 'forgejo-renovate-action@forgejo.org'
|
||||||
|
|
||||||
|
OSV_OFFLINE_ROOT_DIR: ${{ github.workspace }}/.tmp/osv
|
||||||
|
|
||||||
- name: Save renovate repo cache
|
- name: Save renovate repo cache
|
||||||
if: always() && env.RENOVATE_DRY_RUN == 'true'
|
if: always() && env.RENOVATE_DRY_RUN != 'full'
|
||||||
uses: https://code.forgejo.org/actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: https://data.forgejo.org/actions/cache/save@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
.tmp/cache/renovate/repository
|
.tmp/cache/renovate/repository
|
||||||
|
.tmp/cache/renovate/renovate-cache-sqlite
|
||||||
|
.tmp/osv
|
||||||
key: repo-cache-${{ github.run_id }}
|
key: repo-cache-${{ github.run_id }}
|
||||||
|
|
|
@ -6,206 +6,282 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- 'forgejo*'
|
- 'forgejo*'
|
||||||
- 'v*/forgejo*'
|
- 'v*/forgejo*'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
backend-checks:
|
backend-checks:
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: 'docker.io/node:20-bookworm'
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
options: --tmpfs /tmp:exec,noatime
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- name: event info
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
run: |
|
||||||
with:
|
cat <<'EOF'
|
||||||
go-version: "1.22"
|
${{ toJSON(github) }}
|
||||||
check-latest: true
|
EOF
|
||||||
- run: make deps-backend deps-tools
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- run: make --always-make -j$(nproc) lint-backend checks-backend # ensure the "go-licenses" make target runs
|
- uses: ./.forgejo/workflows-composite/setup-env
|
||||||
|
- run: su forgejo -c 'make deps-backend deps-tools'
|
||||||
|
- run: su forgejo -c 'make --always-make -j$(nproc) lint-backend tidy-check swagger-check lint-swagger fmt-check swagger-validate' # ensure the "go-licenses" make target runs
|
||||||
|
- uses: ./.forgejo/workflows-composite/build-backend
|
||||||
frontend-checks:
|
frontend-checks:
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: 'docker.io/node:20-bookworm'
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
options: --tmpfs /tmp:exec,noatime
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- run: make deps-frontend
|
- run: make deps-frontend
|
||||||
- run: make lint-frontend
|
- run: make lint-frontend
|
||||||
- run: make checks-frontend
|
- run: make checks-frontend
|
||||||
- run: make test-frontend
|
- run: make test-frontend-coverage
|
||||||
- run: make frontend
|
- run: make frontend
|
||||||
|
- name: Install zstd for cache saving
|
||||||
|
# works around https://github.com/actions/cache/issues/1169, because the
|
||||||
|
# consuming job has zstd and doesn't restore the cache otherwise
|
||||||
|
run: |
|
||||||
|
apt-get update -qq
|
||||||
|
apt-get -q install -qq -y zstd
|
||||||
|
- name: "Cache frontend build for playwright testing"
|
||||||
|
uses: https://data.forgejo.org/actions/cache/save@v4
|
||||||
|
with:
|
||||||
|
path: ${{github.workspace}}/public/assets
|
||||||
|
key: frontend-build-${{ github.sha }}
|
||||||
test-unit:
|
test-unit:
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: [backend-checks, frontend-checks]
|
needs: [backend-checks, frontend-checks]
|
||||||
container:
|
container:
|
||||||
image: 'docker.io/node:20-bookworm'
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
options: --tmpfs /tmp:exec,noatime
|
||||||
services:
|
services:
|
||||||
|
elasticsearch:
|
||||||
|
image: data.forgejo.org/oci/bitnami/elasticsearch:7
|
||||||
|
options: --tmpfs /bitnami/elasticsearch/data
|
||||||
|
env:
|
||||||
|
discovery.type: single-node
|
||||||
|
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
|
||||||
minio:
|
minio:
|
||||||
image: bitnami/minio:2024.2.26
|
image: data.forgejo.org/oci/bitnami/minio:2024.8.17
|
||||||
options: >-
|
options: >-
|
||||||
--hostname gitea.minio
|
--hostname gitea.minio --tmpfs /bitnami/minio/data:noatime
|
||||||
env:
|
env:
|
||||||
MINIO_DOMAIN: minio
|
MINIO_DOMAIN: minio
|
||||||
MINIO_ROOT_USER: 123456
|
MINIO_ROOT_USER: 123456
|
||||||
MINIO_ROOT_PASSWORD: 12345678
|
MINIO_ROOT_PASSWORD: 12345678
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
- uses: ./.forgejo/workflows-composite/setup-env
|
||||||
with:
|
|
||||||
go-version: "1.22"
|
|
||||||
- run: |
|
|
||||||
git config --add safe.directory '*'
|
|
||||||
adduser --quiet --comment forgejo --disabled-password forgejo
|
|
||||||
chown -R forgejo:forgejo .
|
|
||||||
- name: install git >= 2.42
|
- name: install git >= 2.42
|
||||||
|
uses: ./.forgejo/workflows-composite/apt-install-from
|
||||||
|
with:
|
||||||
|
packages: git
|
||||||
|
- name: test release-notes-assistant.sh
|
||||||
run: |
|
run: |
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
apt-get -q install -qq -y jq
|
||||||
echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list
|
./release-notes-assistant.sh test_main
|
||||||
apt-get update -qq
|
- uses: ./.forgejo/workflows-composite/build-backend
|
||||||
apt-get -q install -qq -y git
|
|
||||||
rm /etc/apt/sources.list.d/testing.list
|
|
||||||
apt-get update -qq
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make deps-backend'
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make backend'
|
|
||||||
env:
|
|
||||||
TAGS: bindata
|
|
||||||
- run: |
|
- run: |
|
||||||
su forgejo -c 'make test-backend test-check'
|
su forgejo -c 'make test-backend test-check'
|
||||||
timeout-minutes: 50
|
timeout-minutes: 120
|
||||||
env:
|
env:
|
||||||
RACE_ENABLED: 'true'
|
RACE_ENABLED: 'true'
|
||||||
TAGS: bindata
|
TAGS: bindata
|
||||||
test-mysql:
|
TEST_ELASTICSEARCH_URL: http://elasticsearch:9200
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
test-e2e:
|
||||||
|
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: [backend-checks, frontend-checks]
|
needs: [backend-checks, frontend-checks]
|
||||||
container:
|
container:
|
||||||
image: 'docker.io/node:20-bookworm'
|
image: 'data.forgejo.org/oci/playwright:latest'
|
||||||
|
options: --tmpfs /tmp:exec,noatime
|
||||||
|
steps:
|
||||||
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 20
|
||||||
|
- uses: ./.forgejo/workflows-composite/setup-env
|
||||||
|
- name: "Restore frontend build"
|
||||||
|
uses: https://data.forgejo.org/actions/cache/restore@v4
|
||||||
|
id: cache-frontend
|
||||||
|
with:
|
||||||
|
path: ${{github.workspace}}/public/assets
|
||||||
|
key: frontend-build-${{ github.sha }}
|
||||||
|
- name: "Build frontend (if not cached)"
|
||||||
|
if: steps.cache-frontend.outputs.cache-hit != 'true'
|
||||||
|
run: |
|
||||||
|
su forgejo -c 'make deps-frontend frontend'
|
||||||
|
- uses: ./.forgejo/workflows-composite/build-backend
|
||||||
|
- name: Get changed files
|
||||||
|
id: changed-files
|
||||||
|
uses: https://data.forgejo.org/tj-actions/changed-files@v46
|
||||||
|
with:
|
||||||
|
separator: '\n'
|
||||||
|
- run: |
|
||||||
|
su forgejo -c 'make generate test-e2e-sqlite'
|
||||||
|
timeout-minutes: 120
|
||||||
|
env:
|
||||||
|
USE_REPO_TEST_DIR: 1
|
||||||
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
||||||
|
CHANGED_FILES: ${{steps.changed-files.outputs.all_changed_files}}
|
||||||
|
- name: Upload test artifacts on failure
|
||||||
|
if: failure()
|
||||||
|
uses: https://data.forgejo.org/forgejo/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: test-artifacts.zip
|
||||||
|
path: tests/e2e/test-artifacts/
|
||||||
|
retention-days: 3
|
||||||
|
test-remote-cacher:
|
||||||
|
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||||
|
runs-on: docker
|
||||||
|
needs: [backend-checks, frontend-checks, test-unit]
|
||||||
|
container:
|
||||||
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
options: --tmpfs /tmp:exec,noatime
|
||||||
|
name: ${{ format('test-remote-cacher ({0})', matrix.cacher.name) }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
cacher:
|
||||||
|
- name: redis
|
||||||
|
image: data.forgejo.org/oci/bitnami/redis:7.2
|
||||||
|
options: --tmpfs /bitnami/redis/data:noatime
|
||||||
|
- name: redict
|
||||||
|
image: registry.redict.io/redict:7.3.0-scratch
|
||||||
|
options: --tmpfs /data:noatime
|
||||||
|
- name: valkey
|
||||||
|
image: data.forgejo.org/oci/bitnami/valkey:7.2
|
||||||
|
options: --tmpfs /bitnami/redis/data:noatime
|
||||||
|
- name: garnet
|
||||||
|
image: ghcr.io/microsoft/garnet-alpine:1.0.14
|
||||||
|
options: --tmpfs /data:noatime
|
||||||
|
services:
|
||||||
|
cacher:
|
||||||
|
image: ${{ matrix.cacher.image }}
|
||||||
|
options: ${{ matrix.cacher.options }}
|
||||||
|
steps:
|
||||||
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
|
- uses: ./.forgejo/workflows-composite/setup-env
|
||||||
|
- name: install git >= 2.42
|
||||||
|
uses: ./.forgejo/workflows-composite/apt-install-from
|
||||||
|
with:
|
||||||
|
packages: git
|
||||||
|
- uses: ./.forgejo/workflows-composite/build-backend
|
||||||
|
- run: |
|
||||||
|
su forgejo -c 'make test-remote-cacher test-check'
|
||||||
|
timeout-minutes: 120
|
||||||
|
env:
|
||||||
|
RACE_ENABLED: 'true'
|
||||||
|
TAGS: bindata
|
||||||
|
TEST_REDIS_SERVER: cacher:${{ matrix.cacher.port }}
|
||||||
|
test-mysql:
|
||||||
|
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||||
|
runs-on: docker
|
||||||
|
needs: [backend-checks, frontend-checks]
|
||||||
|
container:
|
||||||
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
options: --tmpfs /tmp:exec,noatime
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: 'docker.io/mysql:8-debian'
|
image: 'data.forgejo.org/oci/bitnami/mysql:8.4'
|
||||||
env:
|
env:
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
ALLOW_EMPTY_PASSWORD: yes
|
||||||
MYSQL_DATABASE: testgitea
|
MYSQL_DATABASE: testgitea
|
||||||
#
|
#
|
||||||
# See also https://codeberg.org/forgejo/forgejo/issues/976
|
# See also https://codeberg.org/forgejo/forgejo/issues/976
|
||||||
#
|
#
|
||||||
cmd: ['mysqld', '--innodb-adaptive-flushing=OFF', '--innodb-buffer-pool-size=4G', '--innodb-log-buffer-size=128M', '--innodb-flush-log-at-trx-commit=0', '--innodb-flush-log-at-timeout=30', '--innodb-flush-method=nosync', '--innodb-fsync-threshold=1000000000']
|
MYSQL_EXTRA_FLAGS: --innodb-adaptive-flushing=OFF --innodb-buffer-pool-size=4G --innodb-log-buffer-size=128M --innodb-flush-log-at-trx-commit=0 --innodb-flush-log-at-timeout=30 --innodb-flush-method=nosync --innodb-fsync-threshold=1000000000 --disable-log-bin
|
||||||
|
options: --tmpfs /bitnami/mysql/data:noatime
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
- uses: ./.forgejo/workflows-composite/setup-env
|
||||||
with:
|
|
||||||
go-version: "1.22"
|
|
||||||
- name: install dependencies & git >= 2.42
|
- name: install dependencies & git >= 2.42
|
||||||
run: |
|
uses: ./.forgejo/workflows-composite/apt-install-from
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
with:
|
||||||
echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list
|
packages: git git-lfs
|
||||||
apt-get update -qq
|
- uses: ./.forgejo/workflows-composite/build-backend
|
||||||
apt-get install --no-install-recommends -qq -y git git-lfs
|
|
||||||
rm /etc/apt/sources.list.d/testing.list
|
|
||||||
apt-get update -qq
|
|
||||||
- name: setup user and permissions
|
|
||||||
run: |
|
|
||||||
git config --add safe.directory '*'
|
|
||||||
adduser --quiet --comment forgejo --disabled-password forgejo
|
|
||||||
chown -R forgejo:forgejo .
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make deps-backend'
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make backend'
|
|
||||||
env:
|
|
||||||
TAGS: bindata
|
|
||||||
- run: |
|
- run: |
|
||||||
su forgejo -c 'make test-mysql-migration test-mysql'
|
su forgejo -c 'make test-mysql-migration test-mysql'
|
||||||
timeout-minutes: 50
|
timeout-minutes: 120
|
||||||
env:
|
env:
|
||||||
TAGS: bindata
|
|
||||||
USE_REPO_TEST_DIR: 1
|
USE_REPO_TEST_DIR: 1
|
||||||
test-pgsql:
|
test-pgsql:
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: [backend-checks, frontend-checks]
|
needs: [backend-checks, frontend-checks]
|
||||||
container:
|
container:
|
||||||
image: 'docker.io/node:20-bookworm'
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
options: --tmpfs /tmp:exec,noatime
|
||||||
services:
|
services:
|
||||||
minio:
|
minio:
|
||||||
image: bitnami/minio:2024.2.26
|
image: data.forgejo.org/oci/bitnami/minio:2024.8.17
|
||||||
env:
|
env:
|
||||||
MINIO_ROOT_USER: 123456
|
MINIO_ROOT_USER: 123456
|
||||||
MINIO_ROOT_PASSWORD: 12345678
|
MINIO_ROOT_PASSWORD: 12345678
|
||||||
|
options: --tmpfs /bitnami/minio/data
|
||||||
|
ldap:
|
||||||
|
image: data.forgejo.org/oci/test-openldap:latest
|
||||||
pgsql:
|
pgsql:
|
||||||
image: 'docker.io/postgres:15'
|
image: data.forgejo.org/oci/bitnami/postgresql:16
|
||||||
env:
|
env:
|
||||||
POSTGRES_DB: test
|
POSTGRESQL_DATABASE: test
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRESQL_PASSWORD: postgres
|
||||||
|
POSTGRESQL_FSYNC: off
|
||||||
|
POSTGRESQL_EXTRA_FLAGS: -c full_page_writes=off
|
||||||
|
options: --tmpfs /bitnami/postgresql
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
- uses: ./.forgejo/workflows-composite/setup-env
|
||||||
with:
|
|
||||||
go-version: "1.22"
|
|
||||||
- name: install dependencies & git >= 2.42
|
- name: install dependencies & git >= 2.42
|
||||||
run: |
|
uses: ./.forgejo/workflows-composite/apt-install-from
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
with:
|
||||||
echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list
|
packages: git git-lfs
|
||||||
apt-get update -qq
|
- uses: ./.forgejo/workflows-composite/build-backend
|
||||||
apt-get install --no-install-recommends -qq -y git git-lfs
|
|
||||||
rm /etc/apt/sources.list.d/testing.list
|
|
||||||
apt-get update -qq
|
|
||||||
- name: setup user and permissions
|
|
||||||
run: |
|
|
||||||
git config --add safe.directory '*'
|
|
||||||
adduser --quiet --comment forgejo --disabled-password forgejo
|
|
||||||
chown -R forgejo:forgejo .
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make deps-backend'
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make backend'
|
|
||||||
env:
|
|
||||||
TAGS: bindata
|
|
||||||
- run: |
|
- run: |
|
||||||
su forgejo -c 'make test-pgsql-migration test-pgsql'
|
su forgejo -c 'make test-pgsql-migration test-pgsql'
|
||||||
timeout-minutes: 50
|
timeout-minutes: 120
|
||||||
env:
|
env:
|
||||||
TAGS: bindata
|
|
||||||
RACE_ENABLED: true
|
RACE_ENABLED: true
|
||||||
USE_REPO_TEST_DIR: 1
|
USE_REPO_TEST_DIR: 1
|
||||||
|
TEST_LDAP: 1
|
||||||
test-sqlite:
|
test-sqlite:
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
needs: [backend-checks, frontend-checks]
|
needs: [backend-checks, frontend-checks]
|
||||||
container:
|
container:
|
||||||
image: 'docker.io/node:20-bookworm'
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
options: --tmpfs /tmp:exec,noatime
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
- uses: ./.forgejo/workflows-composite/setup-env
|
||||||
with:
|
|
||||||
go-version: "1.22"
|
|
||||||
- name: install dependencies & git >= 2.42
|
- name: install dependencies & git >= 2.42
|
||||||
run: |
|
uses: ./.forgejo/workflows-composite/apt-install-from
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
with:
|
||||||
echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list
|
packages: git git-lfs
|
||||||
apt-get update -qq
|
- uses: ./.forgejo/workflows-composite/build-backend
|
||||||
apt-get install --no-install-recommends -qq -y git git-lfs
|
|
||||||
rm /etc/apt/sources.list.d/testing.list
|
|
||||||
apt-get update -qq
|
|
||||||
- name: setup user and permissions
|
|
||||||
run: |
|
|
||||||
git config --add safe.directory '*'
|
|
||||||
adduser --quiet --comment forgejo --disabled-password forgejo
|
|
||||||
chown -R forgejo:forgejo .
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make deps-backend'
|
|
||||||
- run: |
|
|
||||||
su forgejo -c 'make backend'
|
|
||||||
env:
|
|
||||||
TAGS: bindata sqlite sqlite_unlock_notify
|
|
||||||
- run: |
|
- run: |
|
||||||
su forgejo -c 'make test-sqlite-migration test-sqlite'
|
su forgejo -c 'make test-sqlite-migration test-sqlite'
|
||||||
timeout-minutes: 50
|
timeout-minutes: 120
|
||||||
env:
|
env:
|
||||||
TAGS: bindata sqlite sqlite_unlock_notify
|
TAGS: sqlite sqlite_unlock_notify
|
||||||
RACE_ENABLED: true
|
RACE_ENABLED: true
|
||||||
TEST_TAGS: sqlite sqlite_unlock_notify
|
TEST_TAGS: sqlite sqlite_unlock_notify
|
||||||
USE_REPO_TEST_DIR: 1
|
USE_REPO_TEST_DIR: 1
|
||||||
|
security-check:
|
||||||
|
if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
|
||||||
|
runs-on: docker
|
||||||
|
needs:
|
||||||
|
- test-sqlite
|
||||||
|
- test-pgsql
|
||||||
|
- test-mysql
|
||||||
|
- test-remote-cacher
|
||||||
|
- test-unit
|
||||||
|
container:
|
||||||
|
image: 'data.forgejo.org/oci/node:22-bookworm'
|
||||||
|
options: --tmpfs /tmp:exec,noatime
|
||||||
|
steps:
|
||||||
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
|
- uses: ./.forgejo/workflows-composite/setup-env
|
||||||
|
- run: su forgejo -c 'make deps-backend deps-tools'
|
||||||
|
- run: su forgejo -c 'make security-check'
|
||||||
|
|
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1,5 +1,6 @@
|
||||||
* text=auto eol=lf
|
* text=auto eol=lf
|
||||||
*.tmpl linguist-language=go-html-template
|
*.tmpl linguist-language=go-html-template
|
||||||
|
*.pb.go linguist-generated
|
||||||
/assets/*.json linguist-generated
|
/assets/*.json linguist-generated
|
||||||
/public/assets/img/svg/*.svg linguist-generated
|
/public/assets/img/svg/*.svg linguist-generated
|
||||||
/templates/swagger/v1_json.tmpl linguist-generated
|
/templates/swagger/v1_json.tmpl linguist-generated
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
name: "Pull Request Template"
|
|
||||||
about: "Template for all Pull Requests"
|
|
||||||
labels:
|
|
||||||
|
|
||||||
- test/needed
|
|
||||||
|
|
||||||
---
|
|
||||||
<!--
|
|
||||||
Before submitting a PR, please read the contributing guidelines:
|
|
||||||
https://codeberg.org/forgejo/forgejo/src/branch/forgejo/CONTRIBUTING.md
|
|
||||||
-->
|
|
13
.gitignore
vendored
13
.gitignore
vendored
|
@ -37,6 +37,7 @@ _testmain.go
|
||||||
|
|
||||||
*coverage.out
|
*coverage.out
|
||||||
coverage.all
|
coverage.all
|
||||||
|
coverage/
|
||||||
cpu.out
|
cpu.out
|
||||||
|
|
||||||
/modules/migration/bindata.go
|
/modules/migration/bindata.go
|
||||||
|
@ -56,6 +57,7 @@ cpu.out
|
||||||
/gitea-vet
|
/gitea-vet
|
||||||
/debug
|
/debug
|
||||||
/integrations.test
|
/integrations.test
|
||||||
|
/forgejo
|
||||||
|
|
||||||
/bin
|
/bin
|
||||||
/dist
|
/dist
|
||||||
|
@ -72,6 +74,7 @@ cpu.out
|
||||||
/tests/e2e/reports
|
/tests/e2e/reports
|
||||||
/tests/e2e/test-artifacts
|
/tests/e2e/test-artifacts
|
||||||
/tests/e2e/test-snapshots
|
/tests/e2e/test-snapshots
|
||||||
|
/tests/e2e/.auth
|
||||||
/tests/*.ini
|
/tests/*.ini
|
||||||
/tests/**/*.git/**/*.sample
|
/tests/**/*.git/**/*.sample
|
||||||
/node_modules
|
/node_modules
|
||||||
|
@ -83,7 +86,6 @@ cpu.out
|
||||||
/public/assets/css
|
/public/assets/css
|
||||||
/public/assets/fonts
|
/public/assets/fonts
|
||||||
/public/assets/licenses.txt
|
/public/assets/licenses.txt
|
||||||
/public/assets/img/webpack
|
|
||||||
/vendor
|
/vendor
|
||||||
/web_src/fomantic/node_modules
|
/web_src/fomantic/node_modules
|
||||||
/web_src/fomantic/build/*
|
/web_src/fomantic/build/*
|
||||||
|
@ -102,6 +104,9 @@ cpu.out
|
||||||
/.go-licenses
|
/.go-licenses
|
||||||
/.cur-deadcode-out
|
/.cur-deadcode-out
|
||||||
|
|
||||||
|
# Files and folders that were previously generated
|
||||||
|
/public/assets/img/webpack
|
||||||
|
|
||||||
# Snapcraft
|
# Snapcraft
|
||||||
/gitea_a*.txt
|
/gitea_a*.txt
|
||||||
snap/.snapcraft/
|
snap/.snapcraft/
|
||||||
|
@ -113,6 +118,12 @@ prime/
|
||||||
*_source.tar.bz2
|
*_source.tar.bz2
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# Direnv configuration
|
||||||
|
/.envrc
|
||||||
|
|
||||||
|
# nix-direnv generated files
|
||||||
|
.direnv/
|
||||||
|
|
||||||
# Make evidence files
|
# Make evidence files
|
||||||
/.make_evidence
|
/.make_evidence
|
||||||
|
|
||||||
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "manual-testing"]
|
|
||||||
path = manual-testing
|
|
||||||
url = https://codeberg.org/forgejo/forgejo-manual-testing
|
|
|
@ -43,7 +43,7 @@ vscode:
|
||||||
- Vue.volar
|
- Vue.volar
|
||||||
- ms-azuretools.vscode-docker
|
- ms-azuretools.vscode-docker
|
||||||
- vitest.explorer
|
- vitest.explorer
|
||||||
- qwtel.sqlite-viewer
|
- cweijan.vscode-database-client2
|
||||||
- GitHub.vscode-pull-request-github
|
- GitHub.vscode-pull-request-github
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
|
|
259
.golangci.yml
259
.golangci.yml
|
@ -1,136 +1,165 @@
|
||||||
|
version: "2"
|
||||||
|
output:
|
||||||
|
sort-order:
|
||||||
|
- file
|
||||||
linters:
|
linters:
|
||||||
|
default: none
|
||||||
enable:
|
enable:
|
||||||
- bidichk
|
- bidichk
|
||||||
# - deadcode # deprecated - https://github.com/golangci/golangci-lint/issues/1841
|
|
||||||
- depguard
|
- depguard
|
||||||
- dupl
|
- dupl
|
||||||
- errcheck
|
- errcheck
|
||||||
- forbidigo
|
- forbidigo
|
||||||
- gocritic
|
- gocritic
|
||||||
# - gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
|
|
||||||
- gofmt
|
|
||||||
- gofumpt
|
|
||||||
- gosimple
|
|
||||||
- govet
|
- govet
|
||||||
- ineffassign
|
- ineffassign
|
||||||
- nakedret
|
- nakedret
|
||||||
- nolintlint
|
- nolintlint
|
||||||
- revive
|
- revive
|
||||||
- staticcheck
|
- staticcheck
|
||||||
# - structcheck # deprecated - https://github.com/golangci/golangci-lint/issues/1841
|
- testifylint
|
||||||
- stylecheck
|
|
||||||
- typecheck
|
|
||||||
- unconvert
|
- unconvert
|
||||||
|
- unparam
|
||||||
- unused
|
- unused
|
||||||
# - varcheck # deprecated - https://github.com/golangci/golangci-lint/issues/1841
|
- usetesting
|
||||||
- wastedassign
|
- wastedassign
|
||||||
enable-all: false
|
settings:
|
||||||
disable-all: true
|
depguard:
|
||||||
fast: false
|
rules:
|
||||||
|
main:
|
||||||
run:
|
deny:
|
||||||
timeout: 10m
|
- pkg: encoding/json
|
||||||
skip-dirs:
|
desc: use gitea's modules/json instead of encoding/json
|
||||||
- node_modules
|
- pkg: github.com/unknwon/com
|
||||||
- public
|
desc: use gitea's util and replacements
|
||||||
- web_src
|
- pkg: io/ioutil
|
||||||
|
desc: use os or io instead
|
||||||
linters-settings:
|
- pkg: golang.org/x/exp
|
||||||
stylecheck:
|
desc: it's experimental and unreliable
|
||||||
checks: ["all", "-ST1005", "-ST1003"]
|
- pkg: forgejo.org/modules/git/internal
|
||||||
nakedret:
|
desc: do not use the internal package, use AddXxx function instead
|
||||||
max-func-lines: 0
|
- pkg: gopkg.in/ini.v1
|
||||||
gocritic:
|
desc: do not use the ini package, use gitea's config system instead
|
||||||
disabled-checks:
|
- pkg: github.com/minio/sha256-simd
|
||||||
- ifElseChain
|
desc: use crypto/sha256 instead, see https://codeberg.org/forgejo/forgejo/pulls/1528
|
||||||
- singleCaseSwitch # Every time this occurred in the code, there was no other way.
|
gocritic:
|
||||||
revive:
|
disabled-checks:
|
||||||
ignore-generated-header: false
|
- ifElseChain
|
||||||
severity: warning
|
revive:
|
||||||
confidence: 0.8
|
severity: error
|
||||||
errorCode: 1
|
rules:
|
||||||
warningCode: 1
|
- name: atomic
|
||||||
|
- name: bare-return
|
||||||
|
- name: blank-imports
|
||||||
|
- name: constant-logical-expr
|
||||||
|
- name: context-as-argument
|
||||||
|
- name: context-keys-type
|
||||||
|
- name: dot-imports
|
||||||
|
- name: duplicated-imports
|
||||||
|
- name: empty-lines
|
||||||
|
- name: error-naming
|
||||||
|
- name: error-return
|
||||||
|
- name: error-strings
|
||||||
|
- name: errorf
|
||||||
|
- name: exported
|
||||||
|
- name: identical-branches
|
||||||
|
- name: if-return
|
||||||
|
- name: increment-decrement
|
||||||
|
- name: indent-error-flow
|
||||||
|
- name: modifies-value-receiver
|
||||||
|
- name: package-comments
|
||||||
|
- name: range
|
||||||
|
- name: receiver-naming
|
||||||
|
- name: redefines-builtin-id
|
||||||
|
- name: string-of-int
|
||||||
|
- name: superfluous-else
|
||||||
|
- name: time-naming
|
||||||
|
- name: unconditional-recursion
|
||||||
|
- name: unexported-return
|
||||||
|
- name: unreachable-code
|
||||||
|
- name: var-declaration
|
||||||
|
- name: var-naming
|
||||||
|
- name: redefines-builtin-id
|
||||||
|
disabled: true
|
||||||
|
staticcheck:
|
||||||
|
checks:
|
||||||
|
- all
|
||||||
|
testifylint:
|
||||||
|
disable:
|
||||||
|
- go-require
|
||||||
|
exclusions:
|
||||||
|
generated: lax
|
||||||
|
presets:
|
||||||
|
- comments
|
||||||
|
- common-false-positives
|
||||||
|
- legacy
|
||||||
|
- std-error-handling
|
||||||
rules:
|
rules:
|
||||||
- name: blank-imports
|
- linters:
|
||||||
- name: context-as-argument
|
- nolintlint
|
||||||
- name: context-keys-type
|
path: models/db/sql_postgres_with_schema.go
|
||||||
- name: dot-imports
|
- linters:
|
||||||
- name: error-return
|
- dupl
|
||||||
- name: error-strings
|
- errcheck
|
||||||
- name: error-naming
|
- gocyclo
|
||||||
- name: exported
|
- gosec
|
||||||
- name: if-return
|
- staticcheck
|
||||||
- name: increment-decrement
|
- unparam
|
||||||
- name: var-naming
|
path: _test\.go
|
||||||
- name: var-declaration
|
- linters:
|
||||||
- name: package-comments
|
- dupl
|
||||||
- name: range
|
- errcheck
|
||||||
- name: receiver-naming
|
- gocyclo
|
||||||
- name: time-naming
|
- gosec
|
||||||
- name: unexported-return
|
path: models/migrations/v
|
||||||
- name: indent-error-flow
|
- linters:
|
||||||
- name: errorf
|
- forbidigo
|
||||||
- name: duplicated-imports
|
path: cmd
|
||||||
- name: modifies-value-receiver
|
- linters:
|
||||||
gofumpt:
|
- dupl
|
||||||
extra-rules: true
|
text: (?i)webhook
|
||||||
depguard:
|
- linters:
|
||||||
rules:
|
- gocritic
|
||||||
main:
|
text: (?i)`ID' should not be capitalized
|
||||||
deny:
|
- linters:
|
||||||
- pkg: encoding/json
|
- deadcode
|
||||||
desc: use gitea's modules/json instead of encoding/json
|
- unused
|
||||||
- pkg: github.com/unknwon/com
|
text: (?i)swagger
|
||||||
desc: use gitea's util and replacements
|
- linters:
|
||||||
- pkg: io/ioutil
|
- staticcheck
|
||||||
desc: use os or io instead
|
text: (?i)argument x is overwritten before first use
|
||||||
- pkg: golang.org/x/exp
|
- linters:
|
||||||
desc: it's experimental and unreliable
|
- gocritic
|
||||||
- pkg: code.gitea.io/gitea/modules/git/internal
|
text: '(?i)commentFormatting: put a space between `//` and comment text'
|
||||||
desc: do not use the internal package, use AddXxx function instead
|
- linters:
|
||||||
- pkg: gopkg.in/ini.v1
|
- gocritic
|
||||||
desc: do not use the ini package, use gitea's config system instead
|
text: '(?i)exitAfterDefer:'
|
||||||
- pkg: github.com/minio/sha256-simd
|
- linters:
|
||||||
desc: use crypto/sha256 instead, see https://codeberg.org/forgejo/forgejo/pulls/1528
|
- staticcheck
|
||||||
|
text: "(ST1005|ST1003|QF1001):"
|
||||||
|
paths:
|
||||||
|
- node_modules
|
||||||
|
- public
|
||||||
|
- web_src
|
||||||
|
- third_party$
|
||||||
|
- builtin$
|
||||||
|
- examples$
|
||||||
issues:
|
issues:
|
||||||
max-issues-per-linter: 0
|
max-issues-per-linter: 0
|
||||||
max-same-issues: 0
|
max-same-issues: 0
|
||||||
exclude-rules:
|
formatters:
|
||||||
# Exclude some linters from running on tests files.
|
enable:
|
||||||
- path: _test\.go
|
- gofmt
|
||||||
linters:
|
- gofumpt
|
||||||
- gocyclo
|
settings:
|
||||||
- errcheck
|
gofumpt:
|
||||||
- dupl
|
extra-rules: true
|
||||||
- gosec
|
exclusions:
|
||||||
- unparam
|
generated: lax
|
||||||
- staticcheck
|
paths:
|
||||||
- path: models/migrations/v
|
- node_modules
|
||||||
linters:
|
- public
|
||||||
- gocyclo
|
- web_src
|
||||||
- errcheck
|
- third_party$
|
||||||
- dupl
|
- builtin$
|
||||||
- gosec
|
- examples$
|
||||||
- path: cmd
|
|
||||||
linters:
|
|
||||||
- forbidigo
|
|
||||||
- linters:
|
|
||||||
- dupl
|
|
||||||
text: "webhook"
|
|
||||||
- linters:
|
|
||||||
- gocritic
|
|
||||||
text: "`ID' should not be capitalized"
|
|
||||||
- linters:
|
|
||||||
- unused
|
|
||||||
- deadcode
|
|
||||||
text: "swagger"
|
|
||||||
- linters:
|
|
||||||
- staticcheck
|
|
||||||
text: "argument x is overwritten before first use"
|
|
||||||
- text: "commentFormatting: put a space between `//` and comment text"
|
|
||||||
linters:
|
|
||||||
- gocritic
|
|
||||||
- text: "exitAfterDefer:"
|
|
||||||
linters:
|
|
||||||
- gocritic
|
|
||||||
|
|
4
.ignore
4
.ignore
|
@ -4,6 +4,8 @@
|
||||||
/modules/options/bindata.go
|
/modules/options/bindata.go
|
||||||
/modules/public/bindata.go
|
/modules/public/bindata.go
|
||||||
/modules/templates/bindata.go
|
/modules/templates/bindata.go
|
||||||
/vendor
|
/options/gitignore
|
||||||
|
/options/license
|
||||||
/public/assets
|
/public/assets
|
||||||
|
/vendor
|
||||||
node_modules
|
node_modules
|
||||||
|
|
2
.mailmap
Normal file
2
.mailmap
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Unknwon <u@gogs.io> <joe2010xtmf@163.com>
|
||||||
|
Unknwon <u@gogs.io> 无闻 <u@gogs.io>
|
27
.release-notes-assistant.yaml
Normal file
27
.release-notes-assistant.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
categorize: './release-notes-assistant.sh'
|
||||||
|
branch-development: 'forgejo'
|
||||||
|
branch-pattern: 'v*/forgejo'
|
||||||
|
branch-find-version: 'v(?P<version>\d+\.\d+)/forgejo'
|
||||||
|
branch-to-version: '${version}.0'
|
||||||
|
branch-from-version: 'v%[1]d.%[2]d/forgejo'
|
||||||
|
tag-from-version: 'v%[1]d.%[2]d.%[3]d'
|
||||||
|
branch-known:
|
||||||
|
- 'v7.0/forgejo'
|
||||||
|
cleanup-line: 'sed -Ee "s/^(feat|fix):\s*//g" -e "s/^\[WIP\] //" -e "s/^WIP: //" -e "s;\[(UI|BUG|FEAT|v.*?/forgejo)\]\s*;;g"'
|
||||||
|
render-header: |
|
||||||
|
|
||||||
|
## Release notes
|
||||||
|
comment: |
|
||||||
|
<details>
|
||||||
|
<summary>Where does that come from?</summary>
|
||||||
|
The following is a preview of the release notes for this pull request, as they will appear in the upcoming release. They are derived from the content of the `%[2]s/%[3]s.md` file, if it exists, or the title of the pull request. They were also added at the bottom of the description of this pull request for easier reference.
|
||||||
|
|
||||||
|
This message and the release notes originate from a call to the [release-notes-assistant](https://code.forgejo.org/forgejo/release-notes-assistant).
|
||||||
|
|
||||||
|
```diff
|
||||||
|
%[4]s
|
||||||
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
%[1]s
|
|
@ -1,223 +0,0 @@
|
||||||
plugins:
|
|
||||||
- stylelint-declaration-strict-value
|
|
||||||
- stylelint-declaration-block-no-ignored-properties
|
|
||||||
- "@stylistic/stylelint-plugin"
|
|
||||||
|
|
||||||
ignoreFiles:
|
|
||||||
- "**/*.go"
|
|
||||||
|
|
||||||
overrides:
|
|
||||||
- files: ["**/chroma/*", "**/codemirror/*", "**/standalone/*", "**/console.css", "font_i18n.css"]
|
|
||||||
rules:
|
|
||||||
scale-unlimited/declaration-strict-value: null
|
|
||||||
- files: ["**/chroma/*", "**/codemirror/*"]
|
|
||||||
rules:
|
|
||||||
block-no-empty: null
|
|
||||||
- files: ["**/*.vue"]
|
|
||||||
customSyntax: postcss-html
|
|
||||||
|
|
||||||
rules:
|
|
||||||
"@stylistic/at-rule-name-case": null
|
|
||||||
"@stylistic/at-rule-name-newline-after": null
|
|
||||||
"@stylistic/at-rule-name-space-after": null
|
|
||||||
"@stylistic/at-rule-semicolon-newline-after": null
|
|
||||||
"@stylistic/at-rule-semicolon-space-before": null
|
|
||||||
"@stylistic/block-closing-brace-empty-line-before": null
|
|
||||||
"@stylistic/block-closing-brace-newline-after": null
|
|
||||||
"@stylistic/block-closing-brace-newline-before": null
|
|
||||||
"@stylistic/block-closing-brace-space-after": null
|
|
||||||
"@stylistic/block-closing-brace-space-before": null
|
|
||||||
"@stylistic/block-opening-brace-newline-after": null
|
|
||||||
"@stylistic/block-opening-brace-newline-before": null
|
|
||||||
"@stylistic/block-opening-brace-space-after": null
|
|
||||||
"@stylistic/block-opening-brace-space-before": always
|
|
||||||
"@stylistic/color-hex-case": lower
|
|
||||||
"@stylistic/declaration-bang-space-after": never
|
|
||||||
"@stylistic/declaration-bang-space-before": null
|
|
||||||
"@stylistic/declaration-block-semicolon-newline-after": null
|
|
||||||
"@stylistic/declaration-block-semicolon-newline-before": null
|
|
||||||
"@stylistic/declaration-block-semicolon-space-after": null
|
|
||||||
"@stylistic/declaration-block-semicolon-space-before": never
|
|
||||||
"@stylistic/declaration-block-trailing-semicolon": null
|
|
||||||
"@stylistic/declaration-colon-newline-after": null
|
|
||||||
"@stylistic/declaration-colon-space-after": null
|
|
||||||
"@stylistic/declaration-colon-space-before": never
|
|
||||||
"@stylistic/function-comma-newline-after": null
|
|
||||||
"@stylistic/function-comma-newline-before": null
|
|
||||||
"@stylistic/function-comma-space-after": null
|
|
||||||
"@stylistic/function-comma-space-before": null
|
|
||||||
"@stylistic/function-max-empty-lines": 0
|
|
||||||
"@stylistic/function-parentheses-newline-inside": never-multi-line
|
|
||||||
"@stylistic/function-parentheses-space-inside": null
|
|
||||||
"@stylistic/function-whitespace-after": null
|
|
||||||
"@stylistic/indentation": 2
|
|
||||||
"@stylistic/linebreaks": null
|
|
||||||
"@stylistic/max-empty-lines": 1
|
|
||||||
"@stylistic/max-line-length": null
|
|
||||||
"@stylistic/media-feature-colon-space-after": null
|
|
||||||
"@stylistic/media-feature-colon-space-before": never
|
|
||||||
"@stylistic/media-feature-name-case": null
|
|
||||||
"@stylistic/media-feature-parentheses-space-inside": null
|
|
||||||
"@stylistic/media-feature-range-operator-space-after": always
|
|
||||||
"@stylistic/media-feature-range-operator-space-before": always
|
|
||||||
"@stylistic/media-query-list-comma-newline-after": null
|
|
||||||
"@stylistic/media-query-list-comma-newline-before": null
|
|
||||||
"@stylistic/media-query-list-comma-space-after": null
|
|
||||||
"@stylistic/media-query-list-comma-space-before": null
|
|
||||||
"@stylistic/named-grid-areas-alignment": null
|
|
||||||
"@stylistic/no-empty-first-line": null
|
|
||||||
"@stylistic/no-eol-whitespace": true
|
|
||||||
"@stylistic/no-extra-semicolons": true
|
|
||||||
"@stylistic/no-missing-end-of-source-newline": null
|
|
||||||
"@stylistic/number-leading-zero": null
|
|
||||||
"@stylistic/number-no-trailing-zeros": null
|
|
||||||
"@stylistic/property-case": lower
|
|
||||||
"@stylistic/selector-attribute-brackets-space-inside": null
|
|
||||||
"@stylistic/selector-attribute-operator-space-after": null
|
|
||||||
"@stylistic/selector-attribute-operator-space-before": null
|
|
||||||
"@stylistic/selector-combinator-space-after": null
|
|
||||||
"@stylistic/selector-combinator-space-before": null
|
|
||||||
"@stylistic/selector-descendant-combinator-no-non-space": null
|
|
||||||
"@stylistic/selector-list-comma-newline-after": null
|
|
||||||
"@stylistic/selector-list-comma-newline-before": null
|
|
||||||
"@stylistic/selector-list-comma-space-after": always-single-line
|
|
||||||
"@stylistic/selector-list-comma-space-before": never-single-line
|
|
||||||
"@stylistic/selector-max-empty-lines": 0
|
|
||||||
"@stylistic/selector-pseudo-class-case": lower
|
|
||||||
"@stylistic/selector-pseudo-class-parentheses-space-inside": never
|
|
||||||
"@stylistic/selector-pseudo-element-case": lower
|
|
||||||
"@stylistic/string-quotes": double
|
|
||||||
"@stylistic/unicode-bom": null
|
|
||||||
"@stylistic/unit-case": lower
|
|
||||||
"@stylistic/value-list-comma-newline-after": null
|
|
||||||
"@stylistic/value-list-comma-newline-before": null
|
|
||||||
"@stylistic/value-list-comma-space-after": null
|
|
||||||
"@stylistic/value-list-comma-space-before": null
|
|
||||||
"@stylistic/value-list-max-empty-lines": 0
|
|
||||||
alpha-value-notation: null
|
|
||||||
annotation-no-unknown: true
|
|
||||||
at-rule-allowed-list: null
|
|
||||||
at-rule-disallowed-list: null
|
|
||||||
at-rule-empty-line-before: null
|
|
||||||
at-rule-no-unknown: [true, {ignoreAtRules: [tailwind]}]
|
|
||||||
at-rule-no-vendor-prefix: true
|
|
||||||
at-rule-property-required-list: null
|
|
||||||
block-no-empty: true
|
|
||||||
color-function-notation: null
|
|
||||||
color-hex-alpha: null
|
|
||||||
color-hex-length: null
|
|
||||||
color-named: null
|
|
||||||
color-no-hex: null
|
|
||||||
color-no-invalid-hex: true
|
|
||||||
comment-empty-line-before: null
|
|
||||||
comment-no-empty: true
|
|
||||||
comment-pattern: null
|
|
||||||
comment-whitespace-inside: null
|
|
||||||
comment-word-disallowed-list: null
|
|
||||||
custom-media-pattern: null
|
|
||||||
custom-property-empty-line-before: null
|
|
||||||
custom-property-no-missing-var-function: true
|
|
||||||
custom-property-pattern: null
|
|
||||||
declaration-block-no-duplicate-custom-properties: true
|
|
||||||
declaration-block-no-duplicate-properties: [true, {ignore: [consecutive-duplicates-with-different-values]}]
|
|
||||||
declaration-block-no-redundant-longhand-properties: null
|
|
||||||
declaration-block-no-shorthand-property-overrides: null
|
|
||||||
declaration-block-single-line-max-declarations: null
|
|
||||||
declaration-empty-line-before: null
|
|
||||||
declaration-no-important: null
|
|
||||||
declaration-property-max-values: null
|
|
||||||
declaration-property-unit-allowed-list: null
|
|
||||||
declaration-property-unit-disallowed-list: {line-height: [em]}
|
|
||||||
declaration-property-value-allowed-list: null
|
|
||||||
declaration-property-value-disallowed-list: null
|
|
||||||
declaration-property-value-no-unknown: true
|
|
||||||
font-family-name-quotes: always-where-recommended
|
|
||||||
font-family-no-duplicate-names: true
|
|
||||||
font-family-no-missing-generic-family-keyword: true
|
|
||||||
font-weight-notation: null
|
|
||||||
function-allowed-list: null
|
|
||||||
function-calc-no-unspaced-operator: true
|
|
||||||
function-disallowed-list: null
|
|
||||||
function-linear-gradient-no-nonstandard-direction: true
|
|
||||||
function-name-case: lower
|
|
||||||
function-no-unknown: true
|
|
||||||
function-url-no-scheme-relative: null
|
|
||||||
function-url-quotes: always
|
|
||||||
function-url-scheme-allowed-list: null
|
|
||||||
function-url-scheme-disallowed-list: null
|
|
||||||
hue-degree-notation: null
|
|
||||||
import-notation: string
|
|
||||||
keyframe-block-no-duplicate-selectors: true
|
|
||||||
keyframe-declaration-no-important: true
|
|
||||||
keyframe-selector-notation: null
|
|
||||||
keyframes-name-pattern: null
|
|
||||||
length-zero-no-unit: [true, ignore: [custom-properties], ignoreFunctions: [var]]
|
|
||||||
max-nesting-depth: null
|
|
||||||
media-feature-name-allowed-list: null
|
|
||||||
media-feature-name-disallowed-list: null
|
|
||||||
media-feature-name-no-unknown: true
|
|
||||||
media-feature-name-no-vendor-prefix: true
|
|
||||||
media-feature-name-unit-allowed-list: null
|
|
||||||
media-feature-name-value-allowed-list: null
|
|
||||||
media-feature-name-value-no-unknown: true
|
|
||||||
media-feature-range-notation: null
|
|
||||||
media-query-no-invalid: true
|
|
||||||
named-grid-areas-no-invalid: true
|
|
||||||
no-descending-specificity: null
|
|
||||||
no-duplicate-at-import-rules: true
|
|
||||||
no-duplicate-selectors: true
|
|
||||||
no-empty-source: true
|
|
||||||
no-invalid-double-slash-comments: true
|
|
||||||
no-invalid-position-at-import-rule: [true, ignoreAtRules: [tailwind]]
|
|
||||||
no-irregular-whitespace: true
|
|
||||||
no-unknown-animations: null
|
|
||||||
no-unknown-custom-properties: null
|
|
||||||
number-max-precision: null
|
|
||||||
plugin/declaration-block-no-ignored-properties: true
|
|
||||||
property-allowed-list: null
|
|
||||||
property-disallowed-list: null
|
|
||||||
property-no-unknown: true
|
|
||||||
property-no-vendor-prefix: null
|
|
||||||
rule-empty-line-before: null
|
|
||||||
rule-selector-property-disallowed-list: null
|
|
||||||
scale-unlimited/declaration-strict-value: [[/color$/, font-weight], {ignoreValues: /^(inherit|transparent|unset|initial|currentcolor|none)$/, ignoreFunctions: false, disableFix: true, expandShorthand: true}]
|
|
||||||
selector-anb-no-unmatchable: true
|
|
||||||
selector-attribute-name-disallowed-list: null
|
|
||||||
selector-attribute-operator-allowed-list: null
|
|
||||||
selector-attribute-operator-disallowed-list: null
|
|
||||||
selector-attribute-quotes: always
|
|
||||||
selector-class-pattern: null
|
|
||||||
selector-combinator-allowed-list: null
|
|
||||||
selector-combinator-disallowed-list: null
|
|
||||||
selector-disallowed-list: null
|
|
||||||
selector-id-pattern: null
|
|
||||||
selector-max-attribute: null
|
|
||||||
selector-max-class: null
|
|
||||||
selector-max-combinators: null
|
|
||||||
selector-max-compound-selectors: null
|
|
||||||
selector-max-id: null
|
|
||||||
selector-max-pseudo-class: null
|
|
||||||
selector-max-specificity: null
|
|
||||||
selector-max-type: null
|
|
||||||
selector-max-universal: null
|
|
||||||
selector-nested-pattern: null
|
|
||||||
selector-no-qualifying-type: null
|
|
||||||
selector-no-vendor-prefix: true
|
|
||||||
selector-not-notation: null
|
|
||||||
selector-pseudo-class-allowed-list: null
|
|
||||||
selector-pseudo-class-disallowed-list: null
|
|
||||||
selector-pseudo-class-no-unknown: true
|
|
||||||
selector-pseudo-element-allowed-list: null
|
|
||||||
selector-pseudo-element-colon-notation: double
|
|
||||||
selector-pseudo-element-disallowed-list: null
|
|
||||||
selector-pseudo-element-no-unknown: true
|
|
||||||
selector-type-case: lower
|
|
||||||
selector-type-no-unknown: [true, {ignore: [custom-elements]}]
|
|
||||||
shorthand-property-no-redundant-values: true
|
|
||||||
string-no-newline: true
|
|
||||||
time-min-milliseconds: null
|
|
||||||
unit-allowed-list: null
|
|
||||||
unit-disallowed-list: null
|
|
||||||
unit-no-unknown: true
|
|
||||||
value-keyword-case: null
|
|
||||||
value-no-vendor-prefix: [true, {ignoreValues: [box, inline-box]}]
|
|
17
BSDmakefile
17
BSDmakefile
|
@ -36,10 +36,6 @@ GARGS = "--no-print-directory"
|
||||||
JARG = -j$(.MAKE.JOBS)
|
JARG = -j$(.MAKE.JOBS)
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# bmake prefers out-of-source builds and tries to cd into ./obj (among others)
|
|
||||||
# where possible. GNU Make doesn't, so override that value.
|
|
||||||
.OBJDIR: ./
|
|
||||||
|
|
||||||
# The GNU convention is to use the lowercased `prefix` variable/macro to
|
# The GNU convention is to use the lowercased `prefix` variable/macro to
|
||||||
# specify the installation directory. Humor them.
|
# specify the installation directory. Humor them.
|
||||||
GPREFIX =
|
GPREFIX =
|
||||||
|
@ -48,11 +44,12 @@ GPREFIX =
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.BEGIN: .SILENT
|
.BEGIN: .SILENT
|
||||||
which $(GMAKE) || (printf "Error: GNU Make is required!\n\n" 1>&2 && false)
|
which $(GMAKE) >/dev/null || (printf "Error: GNU Make is required!\n\n" 1>&2 && false)
|
||||||
|
|
||||||
.PHONY: FRC
|
.PHONY: EMPTY
|
||||||
$(.TARGETS): FRC
|
EMPTY: .SILENT
|
||||||
$(GMAKE) $(GPREFIX) $(GARGS) $(.TARGETS:S,.DONE,,) $(JARG)
|
$(GMAKE) $(GPREFIX) $(GARGS) $(JARG)
|
||||||
|
|
||||||
.DONE .DEFAULT: .SILENT
|
.PHONY: $(.TARGETS)
|
||||||
$(GMAKE) $(GPREFIX) $(GARGS) $(.TARGETS:S,.DONE,,) $(JARG)
|
$(.TARGETS): .SILENT
|
||||||
|
$(GMAKE) $(GPREFIX) $(GARGS) $(JARG) $@
|
||||||
|
|
8355
CHANGELOG.md
8355
CHANGELOG.md
File diff suppressed because it is too large
Load diff
25
CODEOWNERS
25
CODEOWNERS
|
@ -6,27 +6,36 @@
|
||||||
|
|
||||||
# Please mind the alphabetic order of reviewers.
|
# Please mind the alphabetic order of reviewers.
|
||||||
|
|
||||||
# Files related to the CI of the Forgejo project.
|
|
||||||
.forgejo/.* @dachary @earl-warren
|
|
||||||
|
|
||||||
# Files related to frontend development.
|
# Files related to frontend development.
|
||||||
|
|
||||||
# Javascript and CSS code.
|
# Javascript and CSS code.
|
||||||
web_src/.* @caesar @crystal @gusted
|
web_src/.* @beowulf @gusted
|
||||||
|
|
||||||
# HTML templates used by the backend.
|
# HTML templates used by the backend.
|
||||||
templates/.* @caesar @crystal @gusted
|
templates/.* @beowulf @gusted
|
||||||
|
## the issue sidebar was touched by fnetx
|
||||||
|
templates/repo/issue/view_content/sidebar.* @fnetx
|
||||||
|
|
||||||
|
# Playwright tests
|
||||||
|
tests/e2e/.* @fnetx
|
||||||
|
|
||||||
# Files related to Go development.
|
# Files related to Go development.
|
||||||
|
|
||||||
# The modules usually don't require much knowledge about Forgejo and could
|
# The modules usually don't require much knowledge about Forgejo and could
|
||||||
# be reviewed by Go developers.
|
# be reviewed by Go developers.
|
||||||
modules/.* @dachary @earl-warren @gusted
|
modules/.* @gusted
|
||||||
|
|
||||||
# Models has code related to SQL queries, general database knowledge and XORM.
|
# Models has code related to SQL queries, general database knowledge and XORM.
|
||||||
models/.* @dachary @earl-warren @gusted
|
models/.* @gusted
|
||||||
|
|
||||||
# The routers directory contains the most amount code that requires a good grasp
|
# The routers directory contains the most amount code that requires a good grasp
|
||||||
# of how Forgejo comes together. It's tedious to write good integration testing
|
# of how Forgejo comes together. It's tedious to write good integration testing
|
||||||
# for code that lives in here.
|
# for code that lives in here.
|
||||||
routers/.* @dachary @earl-warren @gusted
|
routers/.* @gusted
|
||||||
|
|
||||||
|
# Let locale changes be checked by the translation team.
|
||||||
|
options/locale/.* @0ko
|
||||||
|
options/locale_next/.* @0ko
|
||||||
|
|
||||||
|
# Personal interest
|
||||||
|
.*/webhook.* @oliverpool
|
||||||
|
|
|
@ -4,21 +4,4 @@ The Forgejo project is run by a community of people who are expected to follow t
|
||||||
|
|
||||||
Sensitive security-related issues should be reported to [security@forgejo.org](mailto:security@forgejo.org) using [encryption](https://keyoxide.org/security@forgejo.org).
|
Sensitive security-related issues should be reported to [security@forgejo.org](mailto:security@forgejo.org) using [encryption](https://keyoxide.org/security@forgejo.org).
|
||||||
|
|
||||||
## For everyone involved
|
You can find links to the different aspects of Developer documentation on this page: [Forgejo Contributor Guide](https://forgejo.org/docs/next/contributor/).
|
||||||
|
|
||||||
- [Documentation](https://forgejo.org/docs/next/)
|
|
||||||
- [Code of Conduct](https://forgejo.org/docs/latest/developer/coc/)
|
|
||||||
- [Bugs, features, security and others discussions](https://forgejo.org/docs/latest/developer/discussions/)
|
|
||||||
- [Governance](https://forgejo.org/docs/latest/developer/governance/)
|
|
||||||
- [Sustainability and funding](https://codeberg.org/forgejo/sustainability/src/branch/main/README.md)
|
|
||||||
|
|
||||||
## For contributors
|
|
||||||
|
|
||||||
- [Developer Certificate of Origin (DCO)](https://forgejo.org/docs/latest/developer/dco/)
|
|
||||||
- [Development workflow](https://forgejo.org/docs/latest/developer/workflow/)
|
|
||||||
- [Compiling from source](https://forgejo.org/docs/latest/developer/from-source/)
|
|
||||||
|
|
||||||
## For maintainers
|
|
||||||
|
|
||||||
- [Release management](https://forgejo.org/docs/latest/developer/release/)
|
|
||||||
- [Secrets](https://forgejo.org/docs/latest/developer/secrets/)
|
|
||||||
|
|
47
Dockerfile
47
Dockerfile
|
@ -1,13 +1,13 @@
|
||||||
FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx
|
FROM --platform=$BUILDPLATFORM data.forgejo.org/oci/xx AS xx
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22-alpine3.19 as build-env
|
FROM --platform=$BUILDPLATFORM data.forgejo.org/oci/golang:1.24-alpine3.21 AS build-env
|
||||||
|
|
||||||
ARG GOPROXY
|
ARG GOPROXY
|
||||||
ENV GOPROXY ${GOPROXY:-direct}
|
ENV GOPROXY=${GOPROXY:-https://proxy.golang.org,direct}
|
||||||
|
|
||||||
ARG RELEASE_VERSION
|
ARG RELEASE_VERSION
|
||||||
ARG TAGS="sqlite sqlite_unlock_notify"
|
ARG TAGS="sqlite sqlite_unlock_notify"
|
||||||
ENV TAGS "bindata timetzdata $TAGS"
|
ENV TAGS="bindata timetzdata $TAGS"
|
||||||
ARG CGO_EXTRA_CFLAGS
|
ARG CGO_EXTRA_CFLAGS
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -30,13 +30,13 @@ RUN cp /*-alpine-linux-musl*/lib/ld-musl-*.so.1 /lib || true
|
||||||
|
|
||||||
RUN apk --no-cache add build-base git nodejs npm
|
RUN apk --no-cache add build-base git nodejs npm
|
||||||
|
|
||||||
COPY . ${GOPATH}/src/code.gitea.io/gitea
|
COPY . ${GOPATH}/src/forgejo.org
|
||||||
WORKDIR ${GOPATH}/src/code.gitea.io/gitea
|
WORKDIR ${GOPATH}/src/forgejo.org
|
||||||
|
|
||||||
RUN make clean
|
RUN make clean
|
||||||
RUN make frontend
|
RUN make frontend
|
||||||
RUN go build contrib/environment-to-ini/environment-to-ini.go && xx-verify environment-to-ini
|
RUN go build contrib/environment-to-ini/environment-to-ini.go && xx-verify environment-to-ini
|
||||||
RUN make RELEASE_VERSION=$RELEASE_VERSION go-check generate-backend static-executable && xx-verify gitea
|
RUN LDFLAGS="-buildid=" make RELEASE_VERSION=$RELEASE_VERSION GOFLAGS="-trimpath" go-check generate-backend static-executable && xx-verify gitea
|
||||||
|
|
||||||
# Copy local files
|
# Copy local files
|
||||||
COPY docker/root /tmp/local
|
COPY docker/root /tmp/local
|
||||||
|
@ -47,12 +47,22 @@ RUN chmod 755 /tmp/local/usr/bin/entrypoint \
|
||||||
/tmp/local/etc/s6/gitea/* \
|
/tmp/local/etc/s6/gitea/* \
|
||||||
/tmp/local/etc/s6/openssh/* \
|
/tmp/local/etc/s6/openssh/* \
|
||||||
/tmp/local/etc/s6/.s6-svscan/* \
|
/tmp/local/etc/s6/.s6-svscan/* \
|
||||||
/go/src/code.gitea.io/gitea/gitea \
|
/go/src/forgejo.org/gitea \
|
||||||
/go/src/code.gitea.io/gitea/environment-to-ini
|
/go/src/forgejo.org/environment-to-ini
|
||||||
RUN chmod 644 /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete
|
RUN chmod 644 /go/src/forgejo.org/contrib/autocompletion/bash_autocomplete
|
||||||
|
|
||||||
FROM docker.io/library/alpine:3.19
|
FROM data.forgejo.org/oci/alpine:3.21
|
||||||
LABEL maintainer="contact@forgejo.org"
|
ARG RELEASE_VERSION
|
||||||
|
LABEL maintainer="contact@forgejo.org" \
|
||||||
|
org.opencontainers.image.authors="Forgejo" \
|
||||||
|
org.opencontainers.image.url="https://forgejo.org" \
|
||||||
|
org.opencontainers.image.documentation="https://forgejo.org/download/#container-image" \
|
||||||
|
org.opencontainers.image.source="https://codeberg.org/forgejo/forgejo" \
|
||||||
|
org.opencontainers.image.version="${RELEASE_VERSION}" \
|
||||||
|
org.opencontainers.image.vendor="Forgejo" \
|
||||||
|
org.opencontainers.image.licenses="GPL-3.0-or-later" \
|
||||||
|
org.opencontainers.image.title="Forgejo. Beyond coding. We forge." \
|
||||||
|
org.opencontainers.image.description="Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job."
|
||||||
|
|
||||||
EXPOSE 22 3000
|
EXPOSE 22 3000
|
||||||
|
|
||||||
|
@ -82,16 +92,17 @@ RUN addgroup \
|
||||||
git && \
|
git && \
|
||||||
echo "git:*" | chpasswd -e
|
echo "git:*" | chpasswd -e
|
||||||
|
|
||||||
ENV USER git
|
ENV USER=git
|
||||||
ENV GITEA_CUSTOM /data/gitea
|
ENV GITEA_CUSTOM=/data/gitea
|
||||||
|
|
||||||
VOLUME ["/data"]
|
VOLUME ["/data"]
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/entrypoint"]
|
ENTRYPOINT ["/usr/bin/entrypoint"]
|
||||||
CMD ["/bin/s6-svscan", "/etc/s6"]
|
CMD ["/usr/bin/s6-svscan", "/etc/s6"]
|
||||||
|
|
||||||
COPY --from=build-env /tmp/local /
|
COPY --from=build-env /tmp/local /
|
||||||
RUN cd /usr/local/bin ; ln -s gitea forgejo
|
RUN cd /usr/local/bin ; ln -s gitea forgejo
|
||||||
COPY --from=build-env /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea
|
COPY --from=build-env /go/src/forgejo.org/gitea /app/gitea/gitea
|
||||||
COPY --from=build-env /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini
|
RUN ln -s /app/gitea/gitea /app/gitea/forgejo-cli
|
||||||
COPY --from=build-env /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh
|
COPY --from=build-env /go/src/forgejo.org/environment-to-ini /usr/local/bin/environment-to-ini
|
||||||
|
COPY --from=build-env /go/src/forgejo.org/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx
|
FROM --platform=$BUILDPLATFORM data.forgejo.org/oci/xx AS xx
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22-alpine3.19 as build-env
|
FROM --platform=$BUILDPLATFORM data.forgejo.org/oci/golang:1.24-alpine3.21 AS build-env
|
||||||
|
|
||||||
ARG GOPROXY
|
ARG GOPROXY
|
||||||
ENV GOPROXY ${GOPROXY:-direct}
|
ENV GOPROXY=${GOPROXY:-https://proxy.golang.org,direct}
|
||||||
|
|
||||||
ARG RELEASE_VERSION
|
ARG RELEASE_VERSION
|
||||||
ARG TAGS="sqlite sqlite_unlock_notify"
|
ARG TAGS="sqlite sqlite_unlock_notify"
|
||||||
ENV TAGS "bindata timetzdata $TAGS"
|
ENV TAGS="bindata timetzdata $TAGS"
|
||||||
ARG CGO_EXTRA_CFLAGS
|
ARG CGO_EXTRA_CFLAGS
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -30,8 +30,8 @@ RUN cp /*-alpine-linux-musl*/lib/ld-musl-*.so.1 /lib || true
|
||||||
|
|
||||||
RUN apk --no-cache add build-base git nodejs npm
|
RUN apk --no-cache add build-base git nodejs npm
|
||||||
|
|
||||||
COPY . ${GOPATH}/src/code.gitea.io/gitea
|
COPY . ${GOPATH}/src/forgejo.org
|
||||||
WORKDIR ${GOPATH}/src/code.gitea.io/gitea
|
WORKDIR ${GOPATH}/src/forgejo.org
|
||||||
|
|
||||||
RUN make clean
|
RUN make clean
|
||||||
RUN make frontend
|
RUN make frontend
|
||||||
|
@ -45,12 +45,22 @@ COPY docker/rootless /tmp/local
|
||||||
RUN chmod 755 /tmp/local/usr/local/bin/docker-entrypoint.sh \
|
RUN chmod 755 /tmp/local/usr/local/bin/docker-entrypoint.sh \
|
||||||
/tmp/local/usr/local/bin/docker-setup.sh \
|
/tmp/local/usr/local/bin/docker-setup.sh \
|
||||||
/tmp/local/usr/local/bin/gitea \
|
/tmp/local/usr/local/bin/gitea \
|
||||||
/go/src/code.gitea.io/gitea/gitea \
|
/go/src/forgejo.org/gitea \
|
||||||
/go/src/code.gitea.io/gitea/environment-to-ini
|
/go/src/forgejo.org/environment-to-ini
|
||||||
RUN chmod 644 /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete
|
RUN chmod 644 /go/src/forgejo.org/contrib/autocompletion/bash_autocomplete
|
||||||
|
|
||||||
FROM docker.io/library/alpine:3.19
|
FROM data.forgejo.org/oci/alpine:3.21
|
||||||
LABEL maintainer="contact@forgejo.org"
|
ARG RELEASE_VERSION
|
||||||
|
LABEL maintainer="contact@forgejo.org" \
|
||||||
|
org.opencontainers.image.authors="Forgejo" \
|
||||||
|
org.opencontainers.image.url="https://forgejo.org" \
|
||||||
|
org.opencontainers.image.documentation="https://forgejo.org/download/#container-image" \
|
||||||
|
org.opencontainers.image.source="https://codeberg.org/forgejo/forgejo" \
|
||||||
|
org.opencontainers.image.version="${RELEASE_VERSION}" \
|
||||||
|
org.opencontainers.image.vendor="Forgejo" \
|
||||||
|
org.opencontainers.image.licenses="GPL-3.0-or-later" \
|
||||||
|
org.opencontainers.image.title="Forgejo. Beyond coding. We forge." \
|
||||||
|
org.opencontainers.image.description="Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job."
|
||||||
|
|
||||||
EXPOSE 2222 3000
|
EXPOSE 2222 3000
|
||||||
|
|
||||||
|
@ -62,6 +72,7 @@ RUN apk --no-cache add \
|
||||||
git \
|
git \
|
||||||
curl \
|
curl \
|
||||||
gnupg \
|
gnupg \
|
||||||
|
openssh-client \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
RUN addgroup \
|
RUN addgroup \
|
||||||
|
@ -80,23 +91,26 @@ RUN chown git:git /var/lib/gitea /etc/gitea
|
||||||
|
|
||||||
COPY --from=build-env /tmp/local /
|
COPY --from=build-env /tmp/local /
|
||||||
RUN cd /usr/local/bin ; ln -s gitea forgejo
|
RUN cd /usr/local/bin ; ln -s gitea forgejo
|
||||||
COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea
|
COPY --from=build-env --chown=root:root /go/src/forgejo.org/gitea /app/gitea/gitea
|
||||||
COPY --from=build-env --chown=root:root /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini
|
RUN ln -s /app/gitea/gitea /app/gitea/forgejo-cli
|
||||||
COPY --from=build-env /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh
|
COPY --from=build-env --chown=root:root /go/src/forgejo.org/environment-to-ini /usr/local/bin/environment-to-ini
|
||||||
|
COPY --from=build-env /go/src/forgejo.org/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh
|
||||||
|
|
||||||
#git:git
|
#git:git
|
||||||
USER 1000:1000
|
USER 1000:1000
|
||||||
ENV GITEA_WORK_DIR /var/lib/gitea
|
ENV GITEA_WORK_DIR=/var/lib/gitea
|
||||||
ENV GITEA_CUSTOM /var/lib/gitea/custom
|
ENV GITEA_CUSTOM=/var/lib/gitea/custom
|
||||||
ENV GITEA_TEMP /tmp/gitea
|
ENV GITEA_TEMP=/tmp/gitea
|
||||||
ENV TMPDIR /tmp/gitea
|
ENV TMPDIR=/tmp/gitea
|
||||||
|
|
||||||
#TODO add to docs the ability to define the ini to load (useful to test and revert a config)
|
# Legacy config file for backwards compatibility
|
||||||
ENV GITEA_APP_INI /etc/gitea/app.ini
|
# TODO: remove on next major version release
|
||||||
ENV HOME "/var/lib/gitea/git"
|
ENV GITEA_APP_INI_LEGACY=/etc/gitea/app.ini
|
||||||
|
|
||||||
|
ENV GITEA_APP_INI=${GITEA_CUSTOM}/conf/app.ini
|
||||||
|
ENV HOME="/var/lib/gitea/git"
|
||||||
VOLUME ["/var/lib/gitea", "/etc/gitea"]
|
VOLUME ["/var/lib/gitea", "/etc/gitea"]
|
||||||
WORKDIR /var/lib/gitea
|
WORKDIR /var/lib/gitea
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/dumb-init", "--", "/usr/local/bin/docker-entrypoint.sh"]
|
ENTRYPOINT ["/usr/bin/dumb-init", "--", "/usr/local/bin/docker-entrypoint.sh"]
|
||||||
CMD []
|
CMD []
|
||||||
|
|
||||||
|
|
689
LICENSE
689
LICENSE
|
@ -1,21 +1,674 @@
|
||||||
Copyright (c) 2022 The Forgejo Authors
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Copyright (c) 2016 The Gitea Authors
|
Version 3, 29 June 2007
|
||||||
Copyright (c) 2015 The Gogs Authors
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
in the Software without restriction, including without limitation the rights
|
of this license document, but changing it is not allowed.
|
||||||
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
|
Preamble
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
The GNU General Public License is a free, copyleft license for
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
software and other kinds of works.
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
The licenses for most software and other practical works are designed
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
to take away your freedom to share and change the works. By contrast,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
THE SOFTWARE.
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
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 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. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
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 Affero 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 special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU 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 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 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 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.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short
|
||||||
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
<program> Copyright (C) <year> <name of author>
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, your program's commands
|
||||||
|
might be different; for a GUI interface, you would use an "about box".
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
|
<https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program
|
||||||
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
|
may consider it more useful to permit linking proprietary applications with
|
||||||
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
|
Public License instead of this License. But first, please read
|
||||||
|
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||||
|
|
61
MAINTAINERS
61
MAINTAINERS
|
@ -1,61 +0,0 @@
|
||||||
Alexey Makhov <amakhov@avito.ru> (@makhov)
|
|
||||||
Bo-Yi Wu <appleboy.tw@gmail.com> (@appleboy)
|
|
||||||
Ethan Koenig <ethantkoenig@gmail.com> (@ethantkoenig)
|
|
||||||
Kees de Vries <bouwko@gmail.com> (@Bwko)
|
|
||||||
Kim Carlbäcker <kim.carlbacker@gmail.com> (@bkcsoft)
|
|
||||||
LefsFlare <nobody@nobody.tld> (@LefsFlarey)
|
|
||||||
Lunny Xiao <xiaolunwen@gmail.com> (@lunny)
|
|
||||||
Rachid Zarouali <nobody@nobody.tld> (@xinity)
|
|
||||||
Rémy Boulanouar <admin@dblk.org> (@DblK)
|
|
||||||
Sandro Santilli <strk@kbt.io> (@strk)
|
|
||||||
Thibault Meyer <meyer.thibault@gmail.com> (@0xbaadf00d)
|
|
||||||
Thomas Boerger <thomas@webhippie.de> (@tboerger)
|
|
||||||
Patrick G <geek1011@outlook.com> (@geek1011)
|
|
||||||
Antoine Girard <sapk@sapk.fr> (@sapk)
|
|
||||||
Lauris Bukšis-Haberkorns <lauris@nix.lv> (@lafriks)
|
|
||||||
Jonas Östanbäck <jonas.ostanback@gmail.com> (@cez81)
|
|
||||||
David Schneiderbauer <dschneiderbauer@gmail.com> (@daviian)
|
|
||||||
Peter Žeby <morlinest@gmail.com> (@morlinest)
|
|
||||||
Matti Ranta <techknowlogick@gitea.io> (@techknowlogick)
|
|
||||||
Jonas Franz <info@jonasfranz.software> (@jonasfranz)
|
|
||||||
Alexey Terentyev <axifnx@gmail.com> (@axifive)
|
|
||||||
Lanre Adelowo <yo@lanre.wtf> (@adelowo)
|
|
||||||
Konrad Langenberg <k@knt.li> (@kolaente)
|
|
||||||
He-Long Zhang <outman99@hotmail.com> (@BetaCat0)
|
|
||||||
Andrew Thornton <art27@cantab.net> (@zeripath)
|
|
||||||
John Olheiser <john.olheiser@gmail.com> (@jolheiser)
|
|
||||||
Richard Mahn <rich.mahn@unfoldingword.org> (@richmahn)
|
|
||||||
Mrsdizzie <info@mrsdizzie.com> (@mrsdizzie)
|
|
||||||
silverwind <me@silverwind.io> (@silverwind)
|
|
||||||
Gary Kim <gary@garykim.dev> (@gary-kim)
|
|
||||||
Guillermo Prandi <gitea.maint@mailfilter.com.ar> (@guillep2k)
|
|
||||||
Mura Li <typeless@ctli.io> (@typeless)
|
|
||||||
6543 <6543@obermui.de> (@6543)
|
|
||||||
jaqra <jaqra@hotmail.com> (@jaqra)
|
|
||||||
David Svantesson <davidsvantesson@gmail.com> (@davidsvantesson)
|
|
||||||
a1012112796 <1012112796@qq.com> (@a1012112796)
|
|
||||||
Karl Heinz Marbaise <kama@soebes.de> (@khmarbaise)
|
|
||||||
Norwin Roosen <git@nroo.de> (@noerw)
|
|
||||||
Kyle Dumont <kdumontnu@gmail.com> (@kdumontnu)
|
|
||||||
Patrick Schratz <patrick.schratz@gmail.com> (@pat-s)
|
|
||||||
Janis Estelmann <admin@oldschoolhack.me> (@KN4CK3R)
|
|
||||||
Steven Kriegler <sk.bunsenbrenner@gmail.com> (@justusbunsi)
|
|
||||||
Jimmy Praet <jimmy.praet@telenet.be> (@jpraet)
|
|
||||||
Leon Hofmeister <dev.lh@web.de> (@delvh)
|
|
||||||
Wim <wim@42.be> (@42wim)
|
|
||||||
Jason Song <i@wolfogre.com> (@wolfogre)
|
|
||||||
Yarden Shoham <git@yardenshoham.com> (@yardenshoham)
|
|
||||||
Yu Tian <zettat123@gmail.com> (@Zettat123)
|
|
||||||
Eddie Yang <576951401@qq.com> (@yp05327)
|
|
||||||
Dong Ge <gedong_1994@163.com> (@sillyguodong)
|
|
||||||
Xinyi Gong <hestergong@gmail.com> (@HesterG)
|
|
||||||
wxiaoguang <wxiaoguang@gmail.com> (@wxiaoguang)
|
|
||||||
Gary Moon <gary@garymoon.net> (@garymoon)
|
|
||||||
Philip Peterson <philip.c.peterson@gmail.com> (@philip-peterson)
|
|
||||||
Denys Konovalov <kontakt@denyskon.de> (@denyskon)
|
|
||||||
Punit Inani <punitinani1@gmail.com> (@puni9869)
|
|
||||||
CaiCandong <1290147055@qq.com> (@caicandong)
|
|
||||||
Rui Chen <rui@chenrui.dev> (@chenrui333)
|
|
||||||
Nanguan Lin <nanguanlin6@gmail.com> (@lng2020)
|
|
||||||
kerwin612 <kerwin612@qq.com> (@kerwin612)
|
|
||||||
Gary Wang <git@blumia.net> (@BLumia)
|
|
502
Makefile
502
Makefile
|
@ -16,52 +16,51 @@ else
|
||||||
|
|
||||||
DIST := dist
|
DIST := dist
|
||||||
DIST_DIRS := $(DIST)/binaries $(DIST)/release
|
DIST_DIRS := $(DIST)/binaries $(DIST)/release
|
||||||
IMPORT := code.gitea.io/gitea
|
IMPORT := forgejo.org
|
||||||
|
|
||||||
GO ?= go
|
GO ?= $(shell go env GOROOT)/bin/go
|
||||||
SHASUM ?= shasum -a 256
|
SHASUM ?= shasum -a 256
|
||||||
HAS_GO := $(shell hash $(GO) > /dev/null 2>&1 && echo yes)
|
HAS_GO := $(shell hash $(GO) > /dev/null 2>&1 && echo yes)
|
||||||
COMMA := ,
|
COMMA := ,
|
||||||
DIFF ?= diff --unified
|
DIFF ?= diff --unified
|
||||||
|
|
||||||
|
ifeq ($(USE_GOTESTSUM), yes)
|
||||||
|
GOTEST ?= gotestsum --
|
||||||
|
GOTESTCOMPILEDRUNPREFIX ?= gotestsum --raw-command -- go tool test2json -t
|
||||||
|
GOTESTCOMPILEDRUNSUFFIX ?= -test.v=test2json
|
||||||
|
else
|
||||||
|
GOTEST ?= $(GO) test
|
||||||
|
GOTESTCOMPILEDRUNPREFIX ?=
|
||||||
|
GOTESTCOMPILEDRUNSUFFIX ?=
|
||||||
|
endif
|
||||||
|
|
||||||
XGO_VERSION := go-1.21.x
|
XGO_VERSION := go-1.21.x
|
||||||
|
|
||||||
AIR_PACKAGE ?= github.com/cosmtrek/air@v1.49.0
|
AIR_PACKAGE ?= github.com/air-verse/air@v1 # renovate: datasource=go
|
||||||
EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@2.7.0
|
EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/v3/cmd/editorconfig-checker@v3.2.1 # renovate: datasource=go
|
||||||
GOFUMPT_PACKAGE ?= mvdan.cc/gofumpt@v0.6.0
|
GOFUMPT_PACKAGE ?= mvdan.cc/gofumpt@v0.8.0 # renovate: datasource=go
|
||||||
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.1
|
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6 # renovate: datasource=go
|
||||||
GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.11
|
GXZ_PACKAGE ?= github.com/ulikunitz/xz/cmd/gxz@v0.5.11 # renovate: datasource=go
|
||||||
MISSPELL_PACKAGE ?= github.com/golangci/misspell/cmd/misspell@v0.4.1
|
MISSPELL_PACKAGE ?= github.com/golangci/misspell/cmd/misspell@v0.6.0 # renovate: datasource=go
|
||||||
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.30.6-0.20240201115257-bcc7c78b7786
|
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.31.0 # renovate: datasource=go
|
||||||
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
|
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
|
||||||
GO_LICENSES_PACKAGE ?= github.com/google/go-licenses@v1.6.0
|
GO_LICENSES_PACKAGE ?= github.com/google/go-licenses@v1.6.0 # renovate: datasource=go
|
||||||
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/govulncheck@v1.0.3
|
GOVULNCHECK_PACKAGE ?= golang.org/x/vuln/cmd/govulncheck@v1 # renovate: datasource=go
|
||||||
ACTIONLINT_PACKAGE ?= github.com/rhysd/actionlint/cmd/actionlint@v1.6.26
|
DEADCODE_PACKAGE ?= golang.org/x/tools/cmd/deadcode@v0.32.0 # renovate: datasource=go
|
||||||
DEADCODE_PACKAGE ?= golang.org/x/tools/internal/cmd/deadcode@v0.14.0
|
GOMOCK_PACKAGE ?= go.uber.org/mock/mockgen@v0.5.1 # renovate: datasource=go
|
||||||
|
GOPLS_PACKAGE ?= golang.org/x/tools/gopls@v0.18.1 # renovate: datasource=go
|
||||||
|
RENOVATE_NPM_PACKAGE ?= renovate@40.11.19 # renovate: datasource=docker packageName=data.forgejo.org/renovate/renovate
|
||||||
|
|
||||||
DOCKER_IMAGE ?= gitea/gitea
|
# https://github.com/disposable-email-domains/disposable-email-domains/commits/main/
|
||||||
DOCKER_TAG ?= latest
|
DISPOSABLE_EMAILS_SHA ?= 0c27e671231d27cf66370034d7f6818037416989 # renovate: ...
|
||||||
DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)
|
|
||||||
|
|
||||||
ifeq ($(HAS_GO), yes)
|
ifeq ($(HAS_GO), yes)
|
||||||
CGO_EXTRA_CFLAGS := -DSQLITE_MAX_VARIABLE_NUMBER=32766
|
CGO_EXTRA_CFLAGS := -DSQLITE_MAX_VARIABLE_NUMBER=32766
|
||||||
CGO_CFLAGS ?= $(shell $(GO) env CGO_CFLAGS) $(CGO_EXTRA_CFLAGS)
|
CGO_CFLAGS ?= $(shell $(GO) env CGO_CFLAGS) $(CGO_EXTRA_CFLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(GOOS),windows)
|
GOFLAGS := -v
|
||||||
IS_WINDOWS := yes
|
EXECUTABLE ?= gitea
|
||||||
else ifeq ($(patsubst Windows%,Windows,$(OS)),Windows)
|
|
||||||
ifeq ($(GOOS),)
|
|
||||||
IS_WINDOWS := yes
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
ifeq ($(IS_WINDOWS),yes)
|
|
||||||
GOFLAGS := -v -buildmode=exe
|
|
||||||
EXECUTABLE ?= gitea.exe
|
|
||||||
else
|
|
||||||
GOFLAGS := -v
|
|
||||||
EXECUTABLE ?= gitea
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(shell sed --version 2>/dev/null | grep -q GNU && echo gnu),gnu)
|
ifeq ($(shell sed --version 2>/dev/null | grep -q GNU && echo gnu),gnu)
|
||||||
SED_INPLACE := sed -i
|
SED_INPLACE := sed -i
|
||||||
|
@ -88,39 +87,48 @@ STORED_VERSION=$(shell cat $(STORED_VERSION_FILE) 2>/dev/null)
|
||||||
ifneq ($(STORED_VERSION),)
|
ifneq ($(STORED_VERSION),)
|
||||||
FORGEJO_VERSION ?= $(STORED_VERSION)
|
FORGEJO_VERSION ?= $(STORED_VERSION)
|
||||||
else
|
else
|
||||||
# drop the "g" prefix prepended by git describe to the commit hash
|
ifneq ($(GITEA_VERSION),)
|
||||||
FORGEJO_VERSION ?= $(shell git describe --exclude '*-test' --tags --always | sed 's/^v//' | sed 's/\-g/-/')+${GITEA_COMPATIBILITY}
|
FORGEJO_VERSION ?= $(GITEA_VERSION)
|
||||||
|
FORGEJO_VERSION_API ?= $(GITEA_VERSION)+${GITEA_COMPATIBILITY}
|
||||||
|
else
|
||||||
|
# drop the "g" prefix prepended by git describe to the commit hash
|
||||||
|
FORGEJO_VERSION ?= $(shell git describe --exclude '*-test' --tags --always 2>/dev/null | sed 's/^v//' | sed 's/\-g/-/')
|
||||||
|
ifneq ($(FORGEJO_VERSION),)
|
||||||
|
ifneq ($(GITEA_COMPATIBILITY),)
|
||||||
|
FORGEJO_VERSION := $(FORGEJO_VERSION)+$(GITEA_COMPATIBILITY)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
FORGEJO_VERSION_MAJOR=$(shell echo $(FORGEJO_VERSION) | sed -e 's/\..*//')
|
FORGEJO_VERSION_MAJOR=$(shell echo $(FORGEJO_VERSION) | sed -e 's/\..*//')
|
||||||
FORGEJO_VERSION_MINOR=$(shell echo $(FORGEJO_VERSION) | sed -E -e 's/^([0-9]+\.[0-9]+).*/\1/')
|
FORGEJO_VERSION_MINOR=$(shell echo $(FORGEJO_VERSION) | sed -E -e 's/^([0-9]+\.[0-9]+).*/\1/')
|
||||||
|
|
||||||
show-version-full:
|
|
||||||
@echo ${FORGEJO_VERSION}
|
|
||||||
|
|
||||||
show-version-major:
|
|
||||||
@echo ${FORGEJO_VERSION_MAJOR}
|
|
||||||
|
|
||||||
show-version-minor:
|
|
||||||
@echo ${FORGEJO_VERSION_MINOR}
|
|
||||||
|
|
||||||
RELEASE_VERSION ?= ${FORGEJO_VERSION}
|
RELEASE_VERSION ?= ${FORGEJO_VERSION}
|
||||||
VERSION ?= ${RELEASE_VERSION}
|
VERSION ?= ${RELEASE_VERSION}
|
||||||
|
|
||||||
LDFLAGS := $(LDFLAGS) -X "main.ReleaseVersion=$(RELEASE_VERSION)" -X "main.MakeVersion=$(MAKE_VERSION)" -X "main.Version=$(FORGEJO_VERSION)" -X "main.Tags=$(TAGS)" -X "main.ForgejoVersion=$(FORGEJO_VERSION)"
|
FORGEJO_VERSION_API ?= ${FORGEJO_VERSION}
|
||||||
|
|
||||||
|
# Strip binaries by default to reduce size, allow overriding for debugging
|
||||||
|
STRIP ?= 1
|
||||||
|
ifeq ($(STRIP),1)
|
||||||
|
LDFLAGS := $(LDFLAGS) -s -w
|
||||||
|
endif
|
||||||
|
LDFLAGS := $(LDFLAGS) -X "main.ReleaseVersion=$(RELEASE_VERSION)" -X "main.MakeVersion=$(MAKE_VERSION)" -X "main.Version=$(FORGEJO_VERSION)" -X "main.Tags=$(TAGS)" -X "main.ForgejoVersion=$(FORGEJO_VERSION_API)"
|
||||||
|
|
||||||
LINUX_ARCHS ?= linux/amd64,linux/386,linux/arm-5,linux/arm-6,linux/arm64
|
LINUX_ARCHS ?= linux/amd64,linux/386,linux/arm-5,linux/arm-6,linux/arm64
|
||||||
|
|
||||||
ifeq ($(HAS_GO), yes)
|
ifeq ($(HAS_GO), yes)
|
||||||
GO_PACKAGES ?= $(filter-out code.gitea.io/gitea/tests/integration/migration-test code.gitea.io/gitea/tests code.gitea.io/gitea/tests/integration code.gitea.io/gitea/tests/e2e,$(shell $(GO) list ./... | grep -v /vendor/))
|
GO_TEST_PACKAGES ?= $(filter-out $(shell $(GO) list forgejo.org/models/migrations/...) $(shell $(GO) list forgejo.org/models/forgejo_migrations/...) forgejo.org/tests/integration/migration-test forgejo.org/tests forgejo.org/tests/integration forgejo.org/tests/e2e,$(shell $(GO) list ./...))
|
||||||
GO_TEST_PACKAGES ?= $(filter-out $(shell $(GO) list code.gitea.io/gitea/models/migrations/...) $(shell $(GO) list code.gitea.io/gitea/models/forgejo_migrations/...) code.gitea.io/gitea/tests/integration/migration-test code.gitea.io/gitea/tests code.gitea.io/gitea/tests/integration code.gitea.io/gitea/tests/e2e,$(shell $(GO) list ./... | grep -v /vendor/))
|
|
||||||
endif
|
endif
|
||||||
|
REMOTE_CACHER_MODULES ?= cache nosql session queue
|
||||||
|
GO_TEST_REMOTE_CACHER_PACKAGES ?= $(addprefix forgejo.org/modules/,$(REMOTE_CACHER_MODULES))
|
||||||
|
|
||||||
FOMANTIC_WORK_DIR := web_src/fomantic
|
FOMANTIC_WORK_DIR := web_src/fomantic
|
||||||
|
|
||||||
WEBPACK_SOURCES := $(shell find web_src/js web_src/css -type f)
|
WEBPACK_SOURCES := $(shell find web_src/js web_src/css -type f)
|
||||||
WEBPACK_CONFIGS := webpack.config.js tailwind.config.js
|
WEBPACK_CONFIGS := webpack.config.js tailwind.config.js
|
||||||
WEBPACK_DEST := public/assets/js/index.js public/assets/css/index.css
|
WEBPACK_DEST := public/assets/js/index.js public/assets/css/index.css
|
||||||
WEBPACK_DEST_ENTRIES := public/assets/js public/assets/css public/assets/fonts public/assets/img/webpack
|
WEBPACK_DEST_ENTRIES := public/assets/js public/assets/css public/assets/fonts
|
||||||
|
|
||||||
BINDATA_DEST := modules/public/bindata.go modules/options/bindata.go modules/templates/bindata.go
|
BINDATA_DEST := modules/public/bindata.go modules/options/bindata.go modules/templates/bindata.go
|
||||||
BINDATA_HASH := $(addsuffix .hash,$(BINDATA_DEST))
|
BINDATA_HASH := $(addsuffix .hash,$(BINDATA_DEST))
|
||||||
|
@ -145,9 +153,8 @@ TAR_EXCLUDES := .git data indexers queues log node_modules $(EXECUTABLE) $(FOMAN
|
||||||
GO_DIRS := build cmd models modules routers services tests
|
GO_DIRS := build cmd models modules routers services tests
|
||||||
WEB_DIRS := web_src/js web_src/css
|
WEB_DIRS := web_src/js web_src/css
|
||||||
|
|
||||||
ESLINT_FILES := web_src/js tools *.config.js tests/e2e
|
|
||||||
STYLELINT_FILES := web_src/css web_src/js/components/*.vue
|
STYLELINT_FILES := web_src/css web_src/js/components/*.vue
|
||||||
SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github
|
SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github $(wildcard *.go *.js *.ts *.vue *.md *.yml *.yaml)
|
||||||
|
|
||||||
GO_SOURCES := $(wildcard *.go)
|
GO_SOURCES := $(wildcard *.go)
|
||||||
GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" ! -path modules/options/bindata.go ! -path modules/public/bindata.go ! -path modules/templates/bindata.go)
|
GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" ! -path modules/options/bindata.go ! -path modules/public/bindata.go ! -path modules/templates/bindata.go)
|
||||||
|
@ -155,7 +162,7 @@ GO_SOURCES += $(GENERATED_GO_DEST)
|
||||||
GO_SOURCES_NO_BINDATA := $(GO_SOURCES)
|
GO_SOURCES_NO_BINDATA := $(GO_SOURCES)
|
||||||
|
|
||||||
ifeq ($(HAS_GO), yes)
|
ifeq ($(HAS_GO), yes)
|
||||||
MIGRATION_PACKAGES := $(shell $(GO) list code.gitea.io/gitea/models/migrations/... code.gitea.io/gitea/models/forgejo_migrations/...)
|
MIGRATION_PACKAGES := $(shell $(GO) list forgejo.org/models/migrations/... forgejo.org/models/forgejo_migrations/...)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(filter $(TAGS_SPLIT),bindata),bindata)
|
ifeq ($(filter $(TAGS_SPLIT),bindata),bindata)
|
||||||
|
@ -176,9 +183,10 @@ SWAGGER_SPEC_S_JSON := s|"basePath": *"{{AppSubUrl \| JSEscape}}/api/v1"|"basePa
|
||||||
SWAGGER_EXCLUDE := code.gitea.io/sdk
|
SWAGGER_EXCLUDE := code.gitea.io/sdk
|
||||||
SWAGGER_NEWLINE_COMMAND := -e '$$a\'
|
SWAGGER_NEWLINE_COMMAND := -e '$$a\'
|
||||||
SWAGGER_SPEC_BRANDING := s|Gitea API|Forgejo API|g
|
SWAGGER_SPEC_BRANDING := s|Gitea API|Forgejo API|g
|
||||||
|
SWAGGER_SPEC_LICENSE := s|"name": "MIT"|"name": "This file is distributed under the MIT license for the purpose of interoperability"|
|
||||||
|
|
||||||
TEST_MYSQL_HOST ?= mysql:3306
|
TEST_MYSQL_HOST ?= mysql:3306
|
||||||
TEST_MYSQL_DBNAME ?= testgitea
|
TEST_MYSQL_DBNAME ?= testgitea?multiStatements=true
|
||||||
TEST_MYSQL_USERNAME ?= root
|
TEST_MYSQL_USERNAME ?= root
|
||||||
TEST_MYSQL_PASSWORD ?=
|
TEST_MYSQL_PASSWORD ?=
|
||||||
TEST_PGSQL_HOST ?= pgsql:5432
|
TEST_PGSQL_HOST ?= pgsql:5432
|
||||||
|
@ -186,10 +194,6 @@ TEST_PGSQL_DBNAME ?= testgitea
|
||||||
TEST_PGSQL_USERNAME ?= postgres
|
TEST_PGSQL_USERNAME ?= postgres
|
||||||
TEST_PGSQL_PASSWORD ?= postgres
|
TEST_PGSQL_PASSWORD ?= postgres
|
||||||
TEST_PGSQL_SCHEMA ?= gtestschema
|
TEST_PGSQL_SCHEMA ?= gtestschema
|
||||||
TEST_MSSQL_HOST ?= mssql:1433
|
|
||||||
TEST_MSSQL_DBNAME ?= gitea
|
|
||||||
TEST_MSSQL_USERNAME ?= sa
|
|
||||||
TEST_MSSQL_PASSWORD ?= MwantsaSecurePassword1
|
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: build
|
all: build
|
||||||
|
@ -210,10 +214,8 @@ help:
|
||||||
@echo " - deps-frontend install frontend dependencies"
|
@echo " - deps-frontend install frontend dependencies"
|
||||||
@echo " - deps-backend install backend dependencies"
|
@echo " - deps-backend install backend dependencies"
|
||||||
@echo " - deps-tools install tool dependencies"
|
@echo " - deps-tools install tool dependencies"
|
||||||
@echo " - deps-py install python dependencies"
|
|
||||||
@echo " - lint lint everything"
|
@echo " - lint lint everything"
|
||||||
@echo " - lint-fix lint everything and fix issues"
|
@echo " - lint-fix lint everything and fix issues"
|
||||||
@echo " - lint-actions lint action workflow files"
|
|
||||||
@echo " - lint-frontend lint frontend files"
|
@echo " - lint-frontend lint frontend files"
|
||||||
@echo " - lint-frontend-fix lint frontend files and fix issues"
|
@echo " - lint-frontend-fix lint frontend files and fix issues"
|
||||||
@echo " - lint-backend lint backend files"
|
@echo " - lint-backend lint backend files"
|
||||||
|
@ -221,16 +223,14 @@ help:
|
||||||
@echo " - lint-go lint go files"
|
@echo " - lint-go lint go files"
|
||||||
@echo " - lint-go-fix lint go files and fix issues"
|
@echo " - lint-go-fix lint go files and fix issues"
|
||||||
@echo " - lint-go-vet lint go files with vet"
|
@echo " - lint-go-vet lint go files with vet"
|
||||||
|
@echo " - lint-go-gopls lint go files with gopls"
|
||||||
@echo " - lint-js lint js files"
|
@echo " - lint-js lint js files"
|
||||||
@echo " - lint-js-fix lint js files and fix issues"
|
@echo " - lint-js-fix lint js files and fix issues"
|
||||||
@echo " - lint-css lint css files"
|
@echo " - lint-css lint css files"
|
||||||
@echo " - lint-css-fix lint css files and fix issues"
|
@echo " - lint-css-fix lint css files and fix issues"
|
||||||
@echo " - lint-md lint markdown files"
|
@echo " - lint-md lint markdown files"
|
||||||
@echo " - lint-swagger lint swagger files"
|
@echo " - lint-swagger lint swagger files"
|
||||||
@echo " - lint-templates lint template files"
|
@echo " - lint-renovate lint renovate files"
|
||||||
@echo " - lint-yaml lint yaml files"
|
|
||||||
@echo " - lint-spell lint spelling"
|
|
||||||
@echo " - lint-spell-fix lint spelling and fix issues"
|
|
||||||
@echo " - checks run various consistency checks"
|
@echo " - checks run various consistency checks"
|
||||||
@echo " - checks-frontend check frontend files"
|
@echo " - checks-frontend check frontend files"
|
||||||
@echo " - checks-backend check backend files"
|
@echo " - checks-backend check backend files"
|
||||||
|
@ -238,11 +238,10 @@ help:
|
||||||
@echo " - show-version-full show the same version as the API endpoint"
|
@echo " - show-version-full show the same version as the API endpoint"
|
||||||
@echo " - show-version-major show major release number only"
|
@echo " - show-version-major show major release number only"
|
||||||
@echo " - test-frontend test frontend files"
|
@echo " - test-frontend test frontend files"
|
||||||
|
@echo " - test-frontend-coverage test frontend files and display code coverage"
|
||||||
@echo " - test-backend test backend files"
|
@echo " - test-backend test backend files"
|
||||||
@echo " - test-e2e[\#TestSpecificName] test end to end using playwright"
|
@echo " - test-remote-cacher test backend files that use a remote cache"
|
||||||
@echo " - update update js and py dependencies"
|
@echo " - test-e2e-sqlite[\#name.test.e2e] test end to end using playwright and sqlite"
|
||||||
@echo " - update-js update js dependencies"
|
|
||||||
@echo " - update-py update py dependencies"
|
|
||||||
@echo " - webpack build webpack files"
|
@echo " - webpack build webpack files"
|
||||||
@echo " - svg build svg files"
|
@echo " - svg build svg files"
|
||||||
@echo " - fomantic build fomantic files"
|
@echo " - fomantic build fomantic files"
|
||||||
|
@ -251,14 +250,44 @@ help:
|
||||||
@echo " - generate-license update license files"
|
@echo " - generate-license update license files"
|
||||||
@echo " - generate-gitignore update gitignore files"
|
@echo " - generate-gitignore update gitignore files"
|
||||||
@echo " - generate-manpage generate manpage"
|
@echo " - generate-manpage generate manpage"
|
||||||
|
@echo " - generate-gomock generate gomock files"
|
||||||
@echo " - generate-forgejo-api generate the forgejo API from spec"
|
@echo " - generate-forgejo-api generate the forgejo API from spec"
|
||||||
@echo " - forgejo-api-validate check if the forgejo API matches the specs"
|
@echo " - forgejo-api-validate check if the forgejo API matches the specs"
|
||||||
@echo " - generate-swagger generate the swagger spec from code comments"
|
@echo " - generate-swagger generate the swagger spec from code comments"
|
||||||
@echo " - swagger-validate check if the swagger spec is valid"
|
@echo " - swagger-validate check if the swagger spec is valid"
|
||||||
@echo " - go-licenses regenerate go licenses"
|
@echo " - go-licenses regenerate go licenses"
|
||||||
@echo " - tidy run go mod tidy"
|
@echo " - tidy run go mod tidy"
|
||||||
@echo " - test[\#TestSpecificName] run unit test"
|
@echo " - test[\#TestSpecificName] run unit test"
|
||||||
@echo " - test-sqlite[\#TestSpecificName] run integration test for sqlite"
|
@echo " - test-sqlite[\#TestSpecificName] run integration test for sqlite"
|
||||||
|
@echo " - reproduce-build\#version build a reproducible binary for the specified release version"
|
||||||
|
|
||||||
|
.PHONY: verify-version
|
||||||
|
verify-version:
|
||||||
|
ifeq ($(FORGEJO_VERSION),)
|
||||||
|
@echo "Error: Could not determine FORGEJO_VERSION; version file $(STORED_VERSION_FILE) not present and no suitable git tag found"
|
||||||
|
@echo 'In most cases this likely means you forgot to fetch git tags, you can fix this by executing `git fetch --tags`. If this is not possible and this is part of a custom build process, then you can set a specific version by writing it to $(STORED_VERSION_FILE) (This must be a semver compatible version).'
|
||||||
|
@false
|
||||||
|
endif
|
||||||
|
|
||||||
|
.PHONY: show-version-full
|
||||||
|
show-version-full: verify-version
|
||||||
|
@echo ${FORGEJO_VERSION}
|
||||||
|
|
||||||
|
.PHONY: show-version-major
|
||||||
|
show-version-major: verify-version
|
||||||
|
@echo ${FORGEJO_VERSION_MAJOR}
|
||||||
|
|
||||||
|
.PHONY: show-version-minor
|
||||||
|
show-version-minor: verify-version
|
||||||
|
@echo ${FORGEJO_VERSION_MINOR}
|
||||||
|
|
||||||
|
.PHONY: show-version-api
|
||||||
|
show-version-api: verify-version
|
||||||
|
@echo ${FORGEJO_VERSION_API}
|
||||||
|
|
||||||
|
###
|
||||||
|
# Check system and environment requirements
|
||||||
|
###
|
||||||
|
|
||||||
.PHONY: go-check
|
.PHONY: go-check
|
||||||
go-check:
|
go-check:
|
||||||
|
@ -266,14 +295,14 @@ go-check:
|
||||||
$(eval MIN_GO_VERSION := $(shell printf "%03d%03d" $(shell echo '$(MIN_GO_VERSION_STR)' | tr '.' ' ')))
|
$(eval MIN_GO_VERSION := $(shell printf "%03d%03d" $(shell echo '$(MIN_GO_VERSION_STR)' | tr '.' ' ')))
|
||||||
$(eval GO_VERSION := $(shell printf "%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9]+' | tr '.' ' ');))
|
$(eval GO_VERSION := $(shell printf "%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9]+' | tr '.' ' ');))
|
||||||
@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
|
@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
|
||||||
echo "Gitea requires Go $(MIN_GO_VERSION_STR) or greater to build. You can get it at https://go.dev/dl/"; \
|
echo "Forgejo requires Go $(MIN_GO_VERSION_STR) or greater to build. You can get it at https://go.dev/dl/"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
.PHONY: git-check
|
.PHONY: git-check
|
||||||
git-check:
|
git-check:
|
||||||
@if git lfs >/dev/null 2>&1 ; then : ; else \
|
@if git lfs >/dev/null 2>&1 ; then : ; else \
|
||||||
echo "Gitea requires git with lfs support to run tests." ; \
|
echo "Forgejo requires git with lfs support to run tests." ; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -284,10 +313,14 @@ node-check:
|
||||||
$(eval NODE_VERSION := $(shell printf "%03d%03d%03d" $(shell node -v | cut -c2- | tr '.' ' ');))
|
$(eval NODE_VERSION := $(shell printf "%03d%03d%03d" $(shell node -v | cut -c2- | tr '.' ' ');))
|
||||||
$(eval NPM_MISSING := $(shell hash npm > /dev/null 2>&1 || echo 1))
|
$(eval NPM_MISSING := $(shell hash npm > /dev/null 2>&1 || echo 1))
|
||||||
@if [ "$(NODE_VERSION)" -lt "$(MIN_NODE_VERSION)" -o "$(NPM_MISSING)" = "1" ]; then \
|
@if [ "$(NODE_VERSION)" -lt "$(MIN_NODE_VERSION)" -o "$(NPM_MISSING)" = "1" ]; then \
|
||||||
echo "Gitea requires Node.js $(MIN_NODE_VERSION_STR) or greater and npm to build. You can get it at https://nodejs.org/en/download/"; \
|
echo "Forgejo requires Node.js $(MIN_NODE_VERSION_STR) or greater and npm to build. You can get it at https://nodejs.org/en/download/"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
###
|
||||||
|
# Basic maintenance, check and lint targets
|
||||||
|
###
|
||||||
|
|
||||||
.PHONY: clean-all
|
.PHONY: clean-all
|
||||||
clean-all: clean
|
clean-all: clean
|
||||||
rm -rf $(WEBPACK_DEST_ENTRIES) node_modules
|
rm -rf $(WEBPACK_DEST_ENTRIES) node_modules
|
||||||
|
@ -299,14 +332,14 @@ clean:
|
||||||
e2e*.test \
|
e2e*.test \
|
||||||
tests/integration/gitea-integration-* \
|
tests/integration/gitea-integration-* \
|
||||||
tests/integration/indexers-* \
|
tests/integration/indexers-* \
|
||||||
tests/mysql.ini tests/pgsql.ini tests/mssql.ini man/ \
|
tests/mysql.ini tests/pgsql.ini man/ \
|
||||||
tests/e2e/gitea-e2e-*/ \
|
tests/e2e/gitea-e2e-*/ \
|
||||||
tests/e2e/indexers-*/ \
|
tests/e2e/indexers-*/ \
|
||||||
tests/e2e/reports/ tests/e2e/test-artifacts/ tests/e2e/test-snapshots/
|
tests/e2e/reports/ tests/e2e/test-artifacts/ tests/e2e/test-snapshots/
|
||||||
|
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt:
|
fmt:
|
||||||
GOFUMPT_PACKAGE=$(GOFUMPT_PACKAGE) $(GO) run build/code-batch-process.go gitea-fmt -w '{file-list}'
|
@GOFUMPT_PACKAGE=$(GOFUMPT_PACKAGE) $(GO) run build/code-batch-process.go gitea-fmt -w '{file-list}'
|
||||||
$(eval TEMPLATES := $(shell find templates -type f -name '*.tmpl'))
|
$(eval TEMPLATES := $(shell find templates -type f -name '*.tmpl'))
|
||||||
@# strip whitespace after '{{' or '(' and before '}}' or ')' unless there is only
|
@# strip whitespace after '{{' or '(' and before '}}' or ')' unless there is only
|
||||||
@# whitespace before it
|
@# whitespace before it
|
||||||
|
@ -354,6 +387,7 @@ $(SWAGGER_SPEC): $(GO_SOURCES_NO_BINDATA)
|
||||||
$(SED_INPLACE) '$(SWAGGER_SPEC_S_TMPL)' './$(SWAGGER_SPEC)'
|
$(SED_INPLACE) '$(SWAGGER_SPEC_S_TMPL)' './$(SWAGGER_SPEC)'
|
||||||
$(SED_INPLACE) $(SWAGGER_NEWLINE_COMMAND) './$(SWAGGER_SPEC)'
|
$(SED_INPLACE) $(SWAGGER_NEWLINE_COMMAND) './$(SWAGGER_SPEC)'
|
||||||
$(SED_INPLACE) '$(SWAGGER_SPEC_BRANDING)' './$(SWAGGER_SPEC)'
|
$(SED_INPLACE) '$(SWAGGER_SPEC_BRANDING)' './$(SWAGGER_SPEC)'
|
||||||
|
$(SED_INPLACE) '$(SWAGGER_SPEC_LICENSE)' './$(SWAGGER_SPEC)'
|
||||||
|
|
||||||
.PHONY: swagger-check
|
.PHONY: swagger-check
|
||||||
swagger-check: generate-swagger
|
swagger-check: generate-swagger
|
||||||
|
@ -376,10 +410,10 @@ checks-frontend: lockfile-check svg-check
|
||||||
checks-backend: tidy-check swagger-check fmt-check swagger-validate security-check
|
checks-backend: tidy-check swagger-check fmt-check swagger-validate security-check
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: lint-frontend lint-backend lint-spell
|
lint: lint-frontend lint-backend
|
||||||
|
|
||||||
.PHONY: lint-fix
|
.PHONY: lint-fix
|
||||||
lint-fix: lint-frontend-fix lint-backend-fix lint-spell-fix
|
lint-fix: lint-frontend-fix lint-backend-fix
|
||||||
|
|
||||||
.PHONY: lint-frontend
|
.PHONY: lint-frontend
|
||||||
lint-frontend: lint-js lint-css
|
lint-frontend: lint-js lint-css
|
||||||
|
@ -388,18 +422,18 @@ lint-frontend: lint-js lint-css
|
||||||
lint-frontend-fix: lint-js-fix lint-css-fix
|
lint-frontend-fix: lint-js-fix lint-css-fix
|
||||||
|
|
||||||
.PHONY: lint-backend
|
.PHONY: lint-backend
|
||||||
lint-backend: lint-go lint-go-vet lint-editorconfig
|
lint-backend: lint-go lint-go-vet lint-editorconfig lint-renovate lint-locale lint-locale-usage lint-disposable-emails
|
||||||
|
|
||||||
.PHONY: lint-backend-fix
|
.PHONY: lint-backend-fix
|
||||||
lint-backend-fix: lint-go-fix lint-go-vet lint-editorconfig
|
lint-backend-fix: lint-go-fix lint-go-vet lint-editorconfig lint-disposable-emails-fix
|
||||||
|
|
||||||
.PHONY: lint-js
|
.PHONY: lint-js
|
||||||
lint-js: node_modules
|
lint-js: node_modules
|
||||||
npx eslint --color --max-warnings=0 --ext js,vue $(ESLINT_FILES)
|
npx eslint --color --max-warnings=0
|
||||||
|
|
||||||
.PHONY: lint-js-fix
|
.PHONY: lint-js-fix
|
||||||
lint-js-fix: node_modules
|
lint-js-fix: node_modules
|
||||||
npx eslint --color --max-warnings=0 --ext js,vue $(ESLINT_FILES) --fix
|
npx eslint --color --max-warnings=0 --fix
|
||||||
|
|
||||||
.PHONY: lint-css
|
.PHONY: lint-css
|
||||||
lint-css: node_modules
|
lint-css: node_modules
|
||||||
|
@ -413,58 +447,67 @@ lint-css-fix: node_modules
|
||||||
lint-swagger: node_modules
|
lint-swagger: node_modules
|
||||||
npx spectral lint -q -F hint $(SWAGGER_SPEC)
|
npx spectral lint -q -F hint $(SWAGGER_SPEC)
|
||||||
|
|
||||||
|
.PHONY: lint-renovate
|
||||||
|
lint-renovate: node_modules
|
||||||
|
npx --yes --package $(RENOVATE_NPM_PACKAGE) -- renovate-config-validator > .lint-renovate 2>&1 || true
|
||||||
|
@if grep --quiet --extended-regexp -e '^( ERROR:)' .lint-renovate ; then cat .lint-renovate ; rm .lint-renovate ; exit 1 ; fi
|
||||||
|
@rm .lint-renovate
|
||||||
|
|
||||||
|
.PHONY: lint-locale
|
||||||
|
lint-locale:
|
||||||
|
$(GO) run build/lint-locale/lint-locale.go
|
||||||
|
|
||||||
|
.PHONY: lint-locale-usage
|
||||||
|
lint-locale-usage:
|
||||||
|
$(GO) run build/lint-locale-usage/lint-locale-usage.go
|
||||||
|
|
||||||
.PHONY: lint-md
|
.PHONY: lint-md
|
||||||
lint-md: node_modules
|
lint-md: node_modules
|
||||||
npx markdownlint docs *.md
|
npx markdownlint docs *.md
|
||||||
|
|
||||||
.PHONY: lint-spell
|
RUN_DEADCODE = $(GO) run $(DEADCODE_PACKAGE) -generated=false -f='{{println .Path}}{{range .Funcs}}{{printf "\t%s\n" .Name}}{{end}}{{println}}' -test forgejo.org
|
||||||
lint-spell:
|
|
||||||
@go run $(MISSPELL_PACKAGE) -error $(SPELLCHECK_FILES)
|
|
||||||
|
|
||||||
.PHONY: lint-spell-fix
|
|
||||||
lint-spell-fix:
|
|
||||||
@go run $(MISSPELL_PACKAGE) -w $(SPELLCHECK_FILES)
|
|
||||||
|
|
||||||
.PHONY: lint-go
|
.PHONY: lint-go
|
||||||
lint-go:
|
lint-go:
|
||||||
$(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS)
|
$(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS)
|
||||||
$(GO) run $(DEADCODE_PACKAGE) -generated=false -test code.gitea.io/gitea > .cur-deadcode-out
|
$(RUN_DEADCODE) > .cur-deadcode-out
|
||||||
@$(DIFF) .deadcode-out .cur-deadcode-out \
|
@$(DIFF) .deadcode-out .cur-deadcode-out \
|
||||||
|| (code=$$?; echo "Please run 'make lint-go-fix' and commit the result"; exit $${code})
|
|| (code=$$?; echo "Please run 'make lint-go-fix' and commit the result"; exit $${code})
|
||||||
|
|
||||||
.PHONY: lint-go-fix
|
.PHONY: lint-go-fix
|
||||||
lint-go-fix:
|
lint-go-fix:
|
||||||
$(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS) --fix
|
$(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS) --fix
|
||||||
$(GO) run $(DEADCODE_PACKAGE) -generated=false -test code.gitea.io/gitea > .deadcode-out
|
$(RUN_DEADCODE) > .deadcode-out
|
||||||
|
|
||||||
# workaround step for the lint-go-windows CI task because 'go run' can not
|
|
||||||
# have distinct GOOS/GOARCH for its build and run steps
|
|
||||||
.PHONY: lint-go-windows
|
|
||||||
lint-go-windows:
|
|
||||||
@GOOS= GOARCH= $(GO) install $(GOLANGCI_LINT_PACKAGE)
|
|
||||||
golangci-lint run
|
|
||||||
|
|
||||||
.PHONY: lint-go-vet
|
.PHONY: lint-go-vet
|
||||||
lint-go-vet:
|
lint-go-vet:
|
||||||
@echo "Running go vet..."
|
@echo "Running go vet..."
|
||||||
@$(GO) vet $(GO_PACKAGES)
|
@$(GO) vet ./...
|
||||||
|
|
||||||
|
.PHONY: lint-go-gopls
|
||||||
|
lint-go-gopls:
|
||||||
|
@echo "Running gopls check..."
|
||||||
|
@GO=$(GO) GOPLS_PACKAGE=$(GOPLS_PACKAGE) tools/lint-go-gopls.sh $(GO_SOURCES_NO_BINDATA)
|
||||||
|
|
||||||
.PHONY: lint-editorconfig
|
.PHONY: lint-editorconfig
|
||||||
lint-editorconfig:
|
lint-editorconfig:
|
||||||
$(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) templates .forgejo/workflows
|
$(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) templates .forgejo/workflows
|
||||||
|
|
||||||
.PHONY: lint-actions
|
.PHONY: lint-disposable-emails
|
||||||
lint-actions:
|
lint-disposable-emails:
|
||||||
$(GO) run $(ACTIONLINT_PACKAGE)
|
$(GO) run build/generate-disposable-email.go -check -r $(DISPOSABLE_EMAILS_SHA)
|
||||||
|
|
||||||
.PHONY: lint-templates
|
.PHONY: lint-disposable-emails-fix
|
||||||
lint-templates: .venv node_modules
|
lint-disposable-emails-fix:
|
||||||
@node tools/lint-templates-svg.js
|
$(GO) run build/generate-disposable-email.go -r $(DISPOSABLE_EMAILS_SHA)
|
||||||
@poetry run djlint $(shell find templates -type f -iname '*.tmpl')
|
|
||||||
|
|
||||||
.PHONY: lint-yaml
|
.PHONY: security-check
|
||||||
lint-yaml: .venv
|
security-check:
|
||||||
@poetry run yamllint .
|
go run $(GOVULNCHECK_PACKAGE) -show color ./...
|
||||||
|
|
||||||
|
###
|
||||||
|
# Development and testing targets
|
||||||
|
###
|
||||||
|
|
||||||
.PHONY: watch
|
.PHONY: watch
|
||||||
watch:
|
watch:
|
||||||
|
@ -485,12 +528,21 @@ test: test-frontend test-backend
|
||||||
.PHONY: test-backend
|
.PHONY: test-backend
|
||||||
test-backend:
|
test-backend:
|
||||||
@echo "Running go test with $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..."
|
@echo "Running go test with $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..."
|
||||||
@$(GO) test $(GOTESTFLAGS) -tags='$(TEST_TAGS)' $(GO_TEST_PACKAGES)
|
@$(GOTEST) $(GOTESTFLAGS) -tags='$(TEST_TAGS)' $(GO_TEST_PACKAGES)
|
||||||
|
|
||||||
|
.PHONY: test-remote-cacher
|
||||||
|
test-remote-cacher:
|
||||||
|
@echo "Running go test with $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..."
|
||||||
|
@$(GOTEST) $(GOTESTFLAGS) -tags='$(TEST_TAGS)' $(GO_TEST_REMOTE_CACHER_PACKAGES)
|
||||||
|
|
||||||
.PHONY: test-frontend
|
.PHONY: test-frontend
|
||||||
test-frontend: node_modules
|
test-frontend: node_modules
|
||||||
npx vitest
|
npx vitest
|
||||||
|
|
||||||
|
.PHONY: test-frontend-coverage
|
||||||
|
test-frontend-coverage: node_modules
|
||||||
|
npx vitest --coverage --coverage.include 'web_src/**'
|
||||||
|
|
||||||
.PHONY: test-check
|
.PHONY: test-check
|
||||||
test-check:
|
test-check:
|
||||||
@echo "Running test-check...";
|
@echo "Running test-check...";
|
||||||
|
@ -506,7 +558,7 @@ test-check:
|
||||||
.PHONY: test\#%
|
.PHONY: test\#%
|
||||||
test\#%:
|
test\#%:
|
||||||
@echo "Running go test with -tags '$(TEST_TAGS)'..."
|
@echo "Running go test with -tags '$(TEST_TAGS)'..."
|
||||||
@$(GO) test $(GOTESTFLAGS) -tags='$(TEST_TAGS)' -run $(subst .,/,$*) $(GO_TEST_PACKAGES)
|
@$(GOTEST) $(GOTESTFLAGS) -tags='$(TEST_TAGS)' -run $(subst .,/,$*) $(GO_TEST_PACKAGES)
|
||||||
|
|
||||||
.PHONY: coverage
|
.PHONY: coverage
|
||||||
coverage:
|
coverage:
|
||||||
|
@ -517,7 +569,7 @@ coverage:
|
||||||
.PHONY: unit-test-coverage
|
.PHONY: unit-test-coverage
|
||||||
unit-test-coverage:
|
unit-test-coverage:
|
||||||
@echo "Running unit-test-coverage $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..."
|
@echo "Running unit-test-coverage $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..."
|
||||||
@$(GO) test $(GOTESTFLAGS) -timeout=20m -tags='$(TEST_TAGS)' -cover -coverprofile coverage.out $(GO_TEST_PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1
|
@$(GOTEST) $(GOTESTFLAGS) -timeout=20m -tags='$(TEST_TAGS)' -cover -coverprofile coverage.out $(GO_TEST_PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1
|
||||||
|
|
||||||
.PHONY: tidy
|
.PHONY: tidy
|
||||||
tidy:
|
tidy:
|
||||||
|
@ -538,7 +590,7 @@ tidy-check: tidy
|
||||||
go-licenses: $(GO_LICENSE_FILE)
|
go-licenses: $(GO_LICENSE_FILE)
|
||||||
|
|
||||||
$(GO_LICENSE_FILE): go.mod go.sum
|
$(GO_LICENSE_FILE): go.mod go.sum
|
||||||
-$(GO) run $(GO_LICENSES_PACKAGE) save . --force --save_path=$(GO_LICENSE_TMP_DIR) 2>/dev/null
|
-$(GO) run $(GO_LICENSES_PACKAGE) save . --force --ignore forgejo.org --save_path=$(GO_LICENSE_TMP_DIR) 2>/dev/null
|
||||||
$(GO) run build/generate-go-licenses.go $(GO_LICENSE_TMP_DIR) $(GO_LICENSE_FILE)
|
$(GO) run build/generate-go-licenses.go $(GO_LICENSE_TMP_DIR) $(GO_LICENSE_FILE)
|
||||||
@rm -rf $(GO_LICENSE_TMP_DIR)
|
@rm -rf $(GO_LICENSE_TMP_DIR)
|
||||||
|
|
||||||
|
@ -550,11 +602,11 @@ generate-ini-sqlite:
|
||||||
|
|
||||||
.PHONY: test-sqlite
|
.PHONY: test-sqlite
|
||||||
test-sqlite: integrations.sqlite.test generate-ini-sqlite
|
test-sqlite: integrations.sqlite.test generate-ini-sqlite
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GOTESTCOMPILEDRUNPREFIX) ./integrations.sqlite.test $(GOTESTCOMPILEDRUNSUFFIX)
|
||||||
|
|
||||||
.PHONY: test-sqlite\#%
|
.PHONY: test-sqlite\#%
|
||||||
test-sqlite\#%: integrations.sqlite.test generate-ini-sqlite
|
test-sqlite\#%: integrations.sqlite.test generate-ini-sqlite
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test -test.run $(subst .,/,$*)
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GOTESTCOMPILEDRUNPREFIX) ./integrations.sqlite.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run $(subst .,/,$*)
|
||||||
|
|
||||||
.PHONY: test-sqlite-migration
|
.PHONY: test-sqlite-migration
|
||||||
test-sqlite-migration: migrations.sqlite.test migrations.individual.sqlite.test
|
test-sqlite-migration: migrations.sqlite.test migrations.individual.sqlite.test
|
||||||
|
@ -571,11 +623,11 @@ generate-ini-mysql:
|
||||||
|
|
||||||
.PHONY: test-mysql
|
.PHONY: test-mysql
|
||||||
test-mysql: integrations.mysql.test generate-ini-mysql
|
test-mysql: integrations.mysql.test generate-ini-mysql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./integrations.mysql.test
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GOTESTCOMPILEDRUNPREFIX) ./integrations.mysql.test $(GOTESTCOMPILEDRUNSUFFIX)
|
||||||
|
|
||||||
.PHONY: test-mysql\#%
|
.PHONY: test-mysql\#%
|
||||||
test-mysql\#%: integrations.mysql.test generate-ini-mysql
|
test-mysql\#%: integrations.mysql.test generate-ini-mysql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./integrations.mysql.test -test.run $(subst .,/,$*)
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GOTESTCOMPILEDRUNPREFIX) ./integrations.mysql.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run $(subst .,/,$*)
|
||||||
|
|
||||||
.PHONY: test-mysql-migration
|
.PHONY: test-mysql-migration
|
||||||
test-mysql-migration: migrations.mysql.test migrations.individual.mysql.test
|
test-mysql-migration: migrations.mysql.test migrations.individual.mysql.test
|
||||||
|
@ -589,40 +641,20 @@ generate-ini-pgsql:
|
||||||
-e 's|{{REPO_TEST_DIR}}|${REPO_TEST_DIR}|g' \
|
-e 's|{{REPO_TEST_DIR}}|${REPO_TEST_DIR}|g' \
|
||||||
-e 's|{{TEST_LOGGER}}|$(or $(TEST_LOGGER),test$(COMMA)file)|g' \
|
-e 's|{{TEST_LOGGER}}|$(or $(TEST_LOGGER),test$(COMMA)file)|g' \
|
||||||
-e 's|{{TEST_TYPE}}|$(or $(TEST_TYPE),integration)|g' \
|
-e 's|{{TEST_TYPE}}|$(or $(TEST_TYPE),integration)|g' \
|
||||||
|
-e 's|{{TEST_STORAGE_TYPE}}|$(or $(TEST_STORAGE_TYPE),minio)|g' \
|
||||||
tests/pgsql.ini.tmpl > tests/pgsql.ini
|
tests/pgsql.ini.tmpl > tests/pgsql.ini
|
||||||
|
|
||||||
.PHONY: test-pgsql
|
.PHONY: test-pgsql
|
||||||
test-pgsql: integrations.pgsql.test generate-ini-pgsql
|
test-pgsql: integrations.pgsql.test generate-ini-pgsql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GOTESTCOMPILEDRUNPREFIX) ./integrations.pgsql.test $(GOTESTCOMPILEDRUNSUFFIX)
|
||||||
|
|
||||||
.PHONY: test-pgsql\#%
|
.PHONY: test-pgsql\#%
|
||||||
test-pgsql\#%: integrations.pgsql.test generate-ini-pgsql
|
test-pgsql\#%: integrations.pgsql.test generate-ini-pgsql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test -test.run $(subst .,/,$*)
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GOTESTCOMPILEDRUNPREFIX) ./integrations.pgsql.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run $(subst .,/,$*)
|
||||||
|
|
||||||
.PHONY: test-pgsql-migration
|
.PHONY: test-pgsql-migration
|
||||||
test-pgsql-migration: migrations.pgsql.test migrations.individual.pgsql.test
|
test-pgsql-migration: migrations.pgsql.test migrations.individual.pgsql.test
|
||||||
|
|
||||||
generate-ini-mssql:
|
|
||||||
sed -e 's|{{TEST_MSSQL_HOST}}|${TEST_MSSQL_HOST}|g' \
|
|
||||||
-e 's|{{TEST_MSSQL_DBNAME}}|${TEST_MSSQL_DBNAME}|g' \
|
|
||||||
-e 's|{{TEST_MSSQL_USERNAME}}|${TEST_MSSQL_USERNAME}|g' \
|
|
||||||
-e 's|{{TEST_MSSQL_PASSWORD}}|${TEST_MSSQL_PASSWORD}|g' \
|
|
||||||
-e 's|{{REPO_TEST_DIR}}|${REPO_TEST_DIR}|g' \
|
|
||||||
-e 's|{{TEST_LOGGER}}|$(or $(TEST_LOGGER),test$(COMMA)file)|g' \
|
|
||||||
-e 's|{{TEST_TYPE}}|$(or $(TEST_TYPE),integration)|g' \
|
|
||||||
tests/mssql.ini.tmpl > tests/mssql.ini
|
|
||||||
|
|
||||||
.PHONY: test-mssql
|
|
||||||
test-mssql: integrations.mssql.test generate-ini-mssql
|
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mssql.ini ./integrations.mssql.test
|
|
||||||
|
|
||||||
.PHONY: test-mssql\#%
|
|
||||||
test-mssql\#%: integrations.mssql.test generate-ini-mssql
|
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mssql.ini ./integrations.mssql.test -test.run $(subst .,/,$*)
|
|
||||||
|
|
||||||
.PHONY: test-mssql-migration
|
|
||||||
test-mssql-migration: migrations.mssql.test migrations.individual.mssql.test
|
|
||||||
|
|
||||||
.PHONY: playwright
|
.PHONY: playwright
|
||||||
playwright: deps-frontend
|
playwright: deps-frontend
|
||||||
npx playwright install $(PLAYWRIGHT_FLAGS)
|
npx playwright install $(PLAYWRIGHT_FLAGS)
|
||||||
|
@ -637,39 +669,34 @@ test-e2e: test-e2e-sqlite
|
||||||
|
|
||||||
.PHONY: test-e2e-sqlite
|
.PHONY: test-e2e-sqlite
|
||||||
test-e2e-sqlite: playwright e2e.sqlite.test generate-ini-sqlite
|
test-e2e-sqlite: playwright e2e.sqlite.test generate-ini-sqlite
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./e2e.sqlite.test -test.run TestE2e
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GOTESTCOMPILEDRUNPREFIX) ./e2e.sqlite.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run TestE2e
|
||||||
|
|
||||||
.PHONY: test-e2e-sqlite\#%
|
.PHONY: test-e2e-sqlite\#%
|
||||||
test-e2e-sqlite\#%: playwright e2e.sqlite.test generate-ini-sqlite
|
test-e2e-sqlite\#%: playwright e2e.sqlite.test generate-ini-sqlite
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./e2e.sqlite.test -test.run TestE2e/$*
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GOTESTCOMPILEDRUNPREFIX) ./e2e.sqlite.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run TestE2e/$*
|
||||||
|
|
||||||
|
.PHONY: test-e2e-sqlite-firefox\#%
|
||||||
|
test-e2e-sqlite-firefox\#%: playwright e2e.sqlite.test generate-ini-sqlite
|
||||||
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini PLAYWRIGHT_PROJECT=firefox $(GOTESTCOMPILEDRUNPREFIX) ./e2e.sqlite.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run TestE2e/$*
|
||||||
|
|
||||||
.PHONY: test-e2e-mysql
|
.PHONY: test-e2e-mysql
|
||||||
test-e2e-mysql: playwright e2e.mysql.test generate-ini-mysql
|
test-e2e-mysql: playwright e2e.mysql.test generate-ini-mysql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./e2e.mysql.test -test.run TestE2e
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GOTESTCOMPILEDRUNPREFIX) ./e2e.mysql.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run TestE2e
|
||||||
|
|
||||||
.PHONY: test-e2e-mysql\#%
|
.PHONY: test-e2e-mysql\#%
|
||||||
test-e2e-mysql\#%: playwright e2e.mysql.test generate-ini-mysql
|
test-e2e-mysql\#%: playwright e2e.mysql.test generate-ini-mysql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./e2e.mysql.test -test.run TestE2e/$*
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GOTESTCOMPILEDRUNPREFIX) ./e2e.mysql.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run TestE2e/$*
|
||||||
|
|
||||||
.PHONY: test-e2e-pgsql
|
.PHONY: test-e2e-pgsql
|
||||||
test-e2e-pgsql: playwright e2e.pgsql.test generate-ini-pgsql
|
test-e2e-pgsql: playwright e2e.pgsql.test generate-ini-pgsql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./e2e.pgsql.test -test.run TestE2e
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GOTESTCOMPILEDRUNPREFIX) ./e2e.pgsql.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run TestE2e
|
||||||
|
|
||||||
.PHONY: test-e2e-pgsql\#%
|
.PHONY: test-e2e-pgsql\#%
|
||||||
test-e2e-pgsql\#%: playwright e2e.pgsql.test generate-ini-pgsql
|
test-e2e-pgsql\#%: playwright e2e.pgsql.test generate-ini-pgsql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./e2e.pgsql.test -test.run TestE2e/$*
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GOTESTCOMPILEDRUNPREFIX) ./e2e.pgsql.test $(GOTESTCOMPILEDRUNSUFFIX) -test.run TestE2e/$*
|
||||||
|
|
||||||
.PHONY: test-e2e-mssql
|
|
||||||
test-e2e-mssql: playwright e2e.mssql.test generate-ini-mssql
|
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mssql.ini ./e2e.mssql.test -test.run TestE2e
|
|
||||||
|
|
||||||
.PHONY: test-e2e-mssql\#%
|
|
||||||
test-e2e-mssql\#%: playwright e2e.mssql.test generate-ini-mssql
|
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mssql.ini ./e2e.mssql.test -test.run TestE2e/$*
|
|
||||||
|
|
||||||
.PHONY: test-e2e-debugserver
|
.PHONY: test-e2e-debugserver
|
||||||
test-e2e-debugserver: e2e.sqlite.test generate-ini-sqlite
|
test-e2e-debugserver: e2e.sqlite.test generate-ini-sqlite
|
||||||
sed -i s/3003/3000/g tests/sqlite.ini
|
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./e2e.sqlite.test -test.run TestDebugserver -test.timeout 24h
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./e2e.sqlite.test -test.run TestDebugserver -test.timeout 24h
|
||||||
|
|
||||||
.PHONY: bench-sqlite
|
.PHONY: bench-sqlite
|
||||||
|
@ -680,10 +707,6 @@ bench-sqlite: integrations.sqlite.test generate-ini-sqlite
|
||||||
bench-mysql: integrations.mysql.test generate-ini-mysql
|
bench-mysql: integrations.mysql.test generate-ini-mysql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./integrations.mysql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./integrations.mysql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
|
||||||
|
|
||||||
.PHONY: bench-mssql
|
|
||||||
bench-mssql: integrations.mssql.test generate-ini-mssql
|
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mssql.ini ./integrations.mssql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
|
|
||||||
|
|
||||||
.PHONY: bench-pgsql
|
.PHONY: bench-pgsql
|
||||||
bench-pgsql: integrations.pgsql.test generate-ini-pgsql
|
bench-pgsql: integrations.pgsql.test generate-ini-pgsql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./integrations.pgsql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
|
||||||
|
@ -697,102 +720,84 @@ integration-test-coverage-sqlite: integrations.cover.sqlite.test generate-ini-sq
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./integrations.cover.sqlite.test -test.coverprofile=integration.coverage.out
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./integrations.cover.sqlite.test -test.coverprofile=integration.coverage.out
|
||||||
|
|
||||||
integrations.mysql.test: git-check $(GO_SOURCES)
|
integrations.mysql.test: git-check $(GO_SOURCES)
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -o integrations.mysql.test
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/integration -o integrations.mysql.test
|
||||||
|
|
||||||
integrations.pgsql.test: git-check $(GO_SOURCES)
|
integrations.pgsql.test: git-check $(GO_SOURCES)
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -o integrations.pgsql.test
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/integration -o integrations.pgsql.test
|
||||||
|
|
||||||
integrations.mssql.test: git-check $(GO_SOURCES)
|
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -o integrations.mssql.test
|
|
||||||
|
|
||||||
integrations.sqlite.test: git-check $(GO_SOURCES)
|
integrations.sqlite.test: git-check $(GO_SOURCES)
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -o integrations.sqlite.test -tags '$(TEST_TAGS)'
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/integration -o integrations.sqlite.test -tags '$(TEST_TAGS)'
|
||||||
|
|
||||||
integrations.cover.test: git-check $(GO_SOURCES)
|
integrations.cover.test: git-check $(GO_SOURCES)
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -coverpkg $(shell echo $(GO_TEST_PACKAGES) | tr ' ' ',') -o integrations.cover.test
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/integration -coverpkg $(shell echo $(GO_TEST_PACKAGES) | tr ' ' ',') -o integrations.cover.test
|
||||||
|
|
||||||
integrations.cover.sqlite.test: git-check $(GO_SOURCES)
|
integrations.cover.sqlite.test: git-check $(GO_SOURCES)
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration -coverpkg $(shell echo $(GO_TEST_PACKAGES) | tr ' ' ',') -o integrations.cover.sqlite.test -tags '$(TEST_TAGS)'
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/integration -coverpkg $(shell echo $(GO_TEST_PACKAGES) | tr ' ' ',') -o integrations.cover.sqlite.test -tags '$(TEST_TAGS)'
|
||||||
|
|
||||||
.PHONY: migrations.mysql.test
|
.PHONY: migrations.mysql.test
|
||||||
migrations.mysql.test: $(GO_SOURCES) generate-ini-mysql
|
migrations.mysql.test: $(GO_SOURCES) generate-ini-mysql
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.mysql.test
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/integration/migration-test -o migrations.mysql.test
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini ./migrations.mysql.test
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GOTESTCOMPILEDRUNPREFIX) ./migrations.mysql.test $(GOTESTCOMPILEDRUNSUFFIX)
|
||||||
|
|
||||||
.PHONY: migrations.pgsql.test
|
.PHONY: migrations.pgsql.test
|
||||||
migrations.pgsql.test: $(GO_SOURCES) generate-ini-pgsql
|
migrations.pgsql.test: $(GO_SOURCES) generate-ini-pgsql
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.pgsql.test
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/integration/migration-test -o migrations.pgsql.test
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini ./migrations.pgsql.test
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GOTESTCOMPILEDRUNPREFIX) ./migrations.pgsql.test $(GOTESTCOMPILEDRUNSUFFIX)
|
||||||
|
|
||||||
.PHONY: migrations.mssql.test
|
|
||||||
migrations.mssql.test: $(GO_SOURCES) generate-ini-mssql
|
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.mssql.test
|
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mssql.ini ./migrations.mssql.test
|
|
||||||
|
|
||||||
.PHONY: migrations.sqlite.test
|
.PHONY: migrations.sqlite.test
|
||||||
migrations.sqlite.test: $(GO_SOURCES) generate-ini-sqlite
|
migrations.sqlite.test: $(GO_SOURCES) generate-ini-sqlite
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/integration/migration-test -o migrations.sqlite.test -tags '$(TEST_TAGS)'
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/integration/migration-test -o migrations.sqlite.test -tags '$(TEST_TAGS)'
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini ./migrations.sqlite.test
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GOTESTCOMPILEDRUNPREFIX) ./migrations.sqlite.test $(GOTESTCOMPILEDRUNSUFFIX)
|
||||||
|
|
||||||
.PHONY: migrations.individual.mysql.test
|
.PHONY: migrations.individual.mysql.test
|
||||||
migrations.individual.mysql.test: $(GO_SOURCES)
|
migrations.individual.mysql.test: $(GO_SOURCES)
|
||||||
for pkg in $(MIGRATION_PACKAGES); do \
|
for pkg in $(MIGRATION_PACKAGES); do \
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg || exit 1; \
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mysql.ini $(GOTEST) $(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg || exit 1; \
|
||||||
done
|
done
|
||||||
|
|
||||||
.PHONY: migrations.individual.sqlite.test\#%
|
.PHONY: migrations.individual.sqlite.test\#%
|
||||||
migrations.individual.sqlite.test\#%: $(GO_SOURCES) generate-ini-sqlite
|
migrations.individual.sqlite.test\#%: $(GO_SOURCES) generate-ini-sqlite
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' code.gitea.io/gitea/models/migrations/$*
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GOTEST) $(GOTESTFLAGS) -tags '$(TEST_TAGS)' forgejo.org/models/migrations/$*
|
||||||
|
|
||||||
.PHONY: migrations.individual.pgsql.test
|
.PHONY: migrations.individual.pgsql.test
|
||||||
migrations.individual.pgsql.test: $(GO_SOURCES)
|
migrations.individual.pgsql.test: $(GO_SOURCES)
|
||||||
for pkg in $(MIGRATION_PACKAGES); do \
|
for pkg in $(MIGRATION_PACKAGES); do \
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg || exit 1;\
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GOTEST) $(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg || exit 1;\
|
||||||
done
|
done
|
||||||
|
|
||||||
.PHONY: migrations.individual.pgsql.test\#%
|
.PHONY: migrations.individual.pgsql.test\#%
|
||||||
migrations.individual.pgsql.test\#%: $(GO_SOURCES) generate-ini-pgsql
|
migrations.individual.pgsql.test\#%: $(GO_SOURCES) generate-ini-pgsql
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' code.gitea.io/gitea/models/migrations/$*
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/pgsql.ini $(GOTEST) $(GOTESTFLAGS) -tags '$(TEST_TAGS)' forgejo.org/models/migrations/$*
|
||||||
|
|
||||||
|
|
||||||
.PHONY: migrations.individual.mssql.test
|
|
||||||
migrations.individual.mssql.test: $(GO_SOURCES) generate-ini-mssql
|
|
||||||
for pkg in $(MIGRATION_PACKAGES); do \
|
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mssql.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' -test.failfast $$pkg || exit 1; \
|
|
||||||
done
|
|
||||||
|
|
||||||
.PHONY: migrations.individual.mssql.test\#%
|
|
||||||
migrations.individual.mssql.test\#%: $(GO_SOURCES) generate-ini-mssql
|
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/mssql.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' code.gitea.io/gitea/models/migrations/$*
|
|
||||||
|
|
||||||
.PHONY: migrations.individual.sqlite.test
|
.PHONY: migrations.individual.sqlite.test
|
||||||
migrations.individual.sqlite.test: $(GO_SOURCES) generate-ini-sqlite
|
migrations.individual.sqlite.test: $(GO_SOURCES) generate-ini-sqlite
|
||||||
for pkg in $(MIGRATION_PACKAGES); do \
|
for pkg in $(MIGRATION_PACKAGES); do \
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg || exit 1; \
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GOTEST) $(GOTESTFLAGS) -tags '$(TEST_TAGS)' $$pkg || exit 1; \
|
||||||
done
|
done
|
||||||
|
|
||||||
.PHONY: migrations.individual.sqlite.test\#%
|
.PHONY: migrations.individual.sqlite.test\#%
|
||||||
migrations.individual.sqlite.test\#%: $(GO_SOURCES) generate-ini-sqlite
|
migrations.individual.sqlite.test\#%: $(GO_SOURCES) generate-ini-sqlite
|
||||||
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GO) test $(GOTESTFLAGS) -tags '$(TEST_TAGS)' code.gitea.io/gitea/models/migrations/$*
|
GITEA_ROOT="$(CURDIR)" GITEA_CONF=tests/sqlite.ini $(GOTEST) $(GOTESTFLAGS) -tags '$(TEST_TAGS)' forgejo.org/models/migrations/$*
|
||||||
|
|
||||||
e2e.mysql.test: $(GO_SOURCES)
|
e2e.mysql.test: $(GO_SOURCES)
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/e2e -o e2e.mysql.test
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/e2e -o e2e.mysql.test
|
||||||
|
|
||||||
e2e.pgsql.test: $(GO_SOURCES)
|
e2e.pgsql.test: $(GO_SOURCES)
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/e2e -o e2e.pgsql.test
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/e2e -o e2e.pgsql.test
|
||||||
|
|
||||||
e2e.mssql.test: $(GO_SOURCES)
|
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/e2e -o e2e.mssql.test
|
|
||||||
|
|
||||||
e2e.sqlite.test: $(GO_SOURCES)
|
e2e.sqlite.test: $(GO_SOURCES)
|
||||||
$(GO) test $(GOTESTFLAGS) -c code.gitea.io/gitea/tests/e2e -o e2e.sqlite.test -tags '$(TEST_TAGS)'
|
$(GOTEST) $(GOTESTFLAGS) -c forgejo.org/tests/e2e -o e2e.sqlite.test -tags '$(TEST_TAGS)'
|
||||||
|
|
||||||
.PHONY: check
|
.PHONY: check
|
||||||
check: test
|
check: test
|
||||||
|
|
||||||
|
###
|
||||||
|
# Production / build targets
|
||||||
|
###
|
||||||
|
|
||||||
.PHONY: install $(TAGS_PREREQ)
|
.PHONY: install $(TAGS_PREREQ)
|
||||||
install: $(wildcard *.go)
|
install: $(wildcard *.go) | verify-version
|
||||||
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) install -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)'
|
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)'
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: frontend backend
|
build: frontend backend
|
||||||
|
@ -813,24 +818,20 @@ generate-backend: $(TAGS_PREREQ) generate-go
|
||||||
.PHONY: generate-go
|
.PHONY: generate-go
|
||||||
generate-go: $(TAGS_PREREQ)
|
generate-go: $(TAGS_PREREQ)
|
||||||
@echo "Running go generate..."
|
@echo "Running go generate..."
|
||||||
@CC= GOOS= GOARCH= $(GO) generate -tags '$(TAGS)' $(GO_PACKAGES)
|
@CC= GOOS= GOARCH= CGO_ENABLED=0 $(GO) generate -tags '$(TAGS)' ./...
|
||||||
|
|
||||||
.PHONY: merge-locales
|
.PHONY: merge-locales
|
||||||
merge-locales:
|
merge-locales:
|
||||||
@echo "NOT NEEDED: THIS IS A NOOP AS OF Forgejo 7.0 BUT KEPT FOR BACKWARD COMPATIBILITY"
|
@echo "NOT NEEDED: THIS IS A NOOP AS OF Forgejo 7.0 BUT KEPT FOR BACKWARD COMPATIBILITY"
|
||||||
|
|
||||||
.PHONY: security-check
|
$(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ) | verify-version
|
||||||
security-check:
|
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $@
|
||||||
go run $(GOVULNCHECK_PACKAGE) ./...
|
|
||||||
|
|
||||||
$(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ)
|
|
||||||
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@
|
|
||||||
|
|
||||||
forgejo: $(EXECUTABLE)
|
forgejo: $(EXECUTABLE)
|
||||||
ln -f $(EXECUTABLE) forgejo
|
ln -f $(EXECUTABLE) forgejo
|
||||||
|
|
||||||
static-executable: $(GO_SOURCES) $(TAGS_PREREQ)
|
static-executable: $(GO_SOURCES) $(TAGS_PREREQ) | verify-version
|
||||||
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags 'netgo osusergo $(TAGS)' -ldflags '-s -w -linkmode external -extldflags "-static" $(LDFLAGS)' -o $(EXECUTABLE)
|
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags 'netgo osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -o $(EXECUTABLE)
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
release: frontend generate release-linux release-copy release-compress vendor release-sources release-check
|
release: frontend generate release-linux release-copy release-compress vendor release-sources release-check
|
||||||
|
@ -841,26 +842,19 @@ sources-tarbal: frontend generate vendor release-sources release-check
|
||||||
$(DIST_DIRS):
|
$(DIST_DIRS):
|
||||||
mkdir -p $(DIST_DIRS)
|
mkdir -p $(DIST_DIRS)
|
||||||
|
|
||||||
.PHONY: release-windows
|
|
||||||
release-windows: | $(DIST_DIRS)
|
|
||||||
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION) .
|
|
||||||
ifeq (,$(findstring gogit,$(TAGS)))
|
|
||||||
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -buildmode exe -dest $(DIST)/binaries -tags 'osusergo gogit $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'windows/*' -out gitea-$(VERSION)-gogit .
|
|
||||||
endif
|
|
||||||
|
|
||||||
.PHONY: release-linux
|
.PHONY: release-linux
|
||||||
release-linux: | $(DIST_DIRS)
|
release-linux: | $(DIST_DIRS) verify-version
|
||||||
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets '$(LINUX_ARCHS)' -out forgejo-$(VERSION) .
|
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets '$(LINUX_ARCHS)' -out forgejo-$(VERSION) .
|
||||||
ifeq ($(CI),true)
|
ifeq ($(CI),true)
|
||||||
cp /build/* $(DIST)/binaries
|
cp /build/* $(DIST)/binaries
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: release-darwin
|
.PHONY: release-darwin
|
||||||
release-darwin: | $(DIST_DIRS)
|
release-darwin: | $(DIST_DIRS) verify-version
|
||||||
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin-10.12/amd64,darwin-10.12/arm64' -out gitea-$(VERSION) .
|
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'darwin-10.12/amd64,darwin-10.12/arm64' -out gitea-$(VERSION) .
|
||||||
|
|
||||||
.PHONY: release-freebsd
|
.PHONY: release-freebsd
|
||||||
release-freebsd: | $(DIST_DIRS)
|
release-freebsd: | $(DIST_DIRS) verify-version
|
||||||
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'freebsd/amd64' -out gitea-$(VERSION) .
|
CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -dest $(DIST)/binaries -tags 'netgo osusergo $(TAGS)' -ldflags '$(LDFLAGS)' -targets 'freebsd/amd64' -out gitea-$(VERSION) .
|
||||||
|
|
||||||
.PHONY: release-copy
|
.PHONY: release-copy
|
||||||
|
@ -889,11 +883,32 @@ release-sources: | $(DIST_DIRS)
|
||||||
release-docs: | $(DIST_DIRS) docs
|
release-docs: | $(DIST_DIRS) docs
|
||||||
tar -czf $(DIST)/release/gitea-docs-$(VERSION).tar.gz -C ./docs .
|
tar -czf $(DIST)/release/gitea-docs-$(VERSION).tar.gz -C ./docs .
|
||||||
|
|
||||||
.PHONY: deps
|
.PHONY: reproduce-build
|
||||||
deps: deps-frontend deps-backend deps-tools deps-py
|
reproduce-build:
|
||||||
|
# Start building the Dockerfile with the RELEASE_VERSION tag set. GOPROXY is set
|
||||||
|
# for convenience, because the default of the Dockerfile is `direct` which can be
|
||||||
|
# quite slow.
|
||||||
|
@docker build --build-arg="RELEASE_VERSION=$(RELEASE_VERSION)" --build-arg="GOPROXY=$(shell $(GO) env GOPROXY)" --tag "forgejo-reproducibility" .
|
||||||
|
@id=$$(docker create forgejo-reproducibility); \
|
||||||
|
docker cp $$id:/app/gitea/gitea ./forgejo; \
|
||||||
|
docker rm -v $$id; \
|
||||||
|
docker image rm forgejo-reproducibility:latest
|
||||||
|
|
||||||
.PHONY: deps-py
|
.PHONY: reproduce-build\#%
|
||||||
deps-py: .venv
|
reproduce-build\#%:
|
||||||
|
@git switch -d "$*"
|
||||||
|
# All the current variables are based on information before the git checkout happened.
|
||||||
|
# Call the makefile again, so these variables are correct and can be used for building
|
||||||
|
# a reproducible binary. Always execute git switch -, to go back to the previous branch.
|
||||||
|
@make reproduce-build; \
|
||||||
|
(code=$$?; git switch -; exit $${code})
|
||||||
|
|
||||||
|
###
|
||||||
|
# Dependency management
|
||||||
|
###
|
||||||
|
|
||||||
|
.PHONY: deps
|
||||||
|
deps: deps-frontend deps-backend deps-tools
|
||||||
|
|
||||||
.PHONY: deps-frontend
|
.PHONY: deps-frontend
|
||||||
deps-frontend: node_modules
|
deps-frontend: node_modules
|
||||||
|
@ -914,31 +929,15 @@ deps-tools:
|
||||||
$(GO) install $(XGO_PACKAGE)
|
$(GO) install $(XGO_PACKAGE)
|
||||||
$(GO) install $(GO_LICENSES_PACKAGE)
|
$(GO) install $(GO_LICENSES_PACKAGE)
|
||||||
$(GO) install $(GOVULNCHECK_PACKAGE)
|
$(GO) install $(GOVULNCHECK_PACKAGE)
|
||||||
$(GO) install $(ACTIONLINT_PACKAGE)
|
$(GO) install $(GOMOCK_PACKAGE)
|
||||||
|
$(GO) install $(GOPLS_PACKAGE)
|
||||||
|
|
||||||
node_modules: package-lock.json
|
node_modules: package-lock.json
|
||||||
npm install --no-save
|
npm install --no-save
|
||||||
@touch node_modules
|
@touch node_modules
|
||||||
|
|
||||||
.venv: poetry.lock
|
.venv: poetry.lock
|
||||||
poetry install --no-root
|
poetry install
|
||||||
@touch .venv
|
|
||||||
|
|
||||||
.PHONY: update
|
|
||||||
update: update-js update-py
|
|
||||||
|
|
||||||
.PHONY: update-js
|
|
||||||
update-js: node-check | node_modules
|
|
||||||
npx updates -u -f package.json
|
|
||||||
rm -rf node_modules package-lock.json
|
|
||||||
npm install --package-lock
|
|
||||||
@touch node_modules
|
|
||||||
|
|
||||||
.PHONY: update-py
|
|
||||||
update-py: node-check | node_modules
|
|
||||||
npx updates -u -f pyproject.toml
|
|
||||||
rm -rf .venv poetry.lock
|
|
||||||
poetry install --no-root
|
|
||||||
@touch .venv
|
@touch .venv
|
||||||
|
|
||||||
.PHONY: fomantic
|
.PHONY: fomantic
|
||||||
|
@ -959,8 +958,9 @@ webpack: $(WEBPACK_DEST)
|
||||||
|
|
||||||
$(WEBPACK_DEST): $(WEBPACK_SOURCES) $(WEBPACK_CONFIGS) package-lock.json
|
$(WEBPACK_DEST): $(WEBPACK_SOURCES) $(WEBPACK_CONFIGS) package-lock.json
|
||||||
@$(MAKE) -s node-check node_modules
|
@$(MAKE) -s node-check node_modules
|
||||||
rm -rf $(WEBPACK_DEST_ENTRIES)
|
@rm -rf $(WEBPACK_DEST_ENTRIES)
|
||||||
npx webpack
|
@echo "Running webpack..."
|
||||||
|
@BROWSERSLIST_IGNORE_OLD_DATA=true npx webpack
|
||||||
@touch $(WEBPACK_DEST)
|
@touch $(WEBPACK_DEST)
|
||||||
|
|
||||||
.PHONY: svg
|
.PHONY: svg
|
||||||
|
@ -980,16 +980,6 @@ lockfile-check:
|
||||||
@git diff --exit-code --color=always package-lock.json \
|
@git diff --exit-code --color=always package-lock.json \
|
||||||
|| (code=$$?; echo "Please run 'npm install --package-lock-only' and commit the result"; exit $${code})
|
|| (code=$$?; echo "Please run 'npm install --package-lock-only' and commit the result"; exit $${code})
|
||||||
|
|
||||||
.PHONY: update-translations
|
|
||||||
update-translations:
|
|
||||||
mkdir -p ./translations
|
|
||||||
cd ./translations && curl -L https://crowdin.com/download/project/gitea.zip > gitea.zip && unzip gitea.zip
|
|
||||||
rm ./translations/gitea.zip
|
|
||||||
$(SED_INPLACE) -e 's/="/=/g' -e 's/"$$//g' ./translations/*.ini
|
|
||||||
$(SED_INPLACE) -e 's/\\"/"/g' ./translations/*.ini
|
|
||||||
mv ./translations/*.ini ./options/locale/
|
|
||||||
rmdir ./translations
|
|
||||||
|
|
||||||
.PHONY: generate-license
|
.PHONY: generate-license
|
||||||
generate-license:
|
generate-license:
|
||||||
$(GO) run build/generate-licenses.go
|
$(GO) run build/generate-licenses.go
|
||||||
|
@ -998,10 +988,13 @@ generate-license:
|
||||||
generate-gitignore:
|
generate-gitignore:
|
||||||
$(GO) run build/generate-gitignores.go
|
$(GO) run build/generate-gitignores.go
|
||||||
|
|
||||||
|
.PHONY: generate-gomock
|
||||||
|
generate-gomock:
|
||||||
|
$(GO) run $(GOMOCK_PACKAGE) -package mock -destination ./modules/queue/mock/redisuniversalclient.go forgejo.org/modules/nosql RedisClient
|
||||||
|
|
||||||
.PHONY: generate-images
|
.PHONY: generate-images
|
||||||
generate-images: | node_modules
|
generate-images: | node_modules
|
||||||
npm install --no-save fabric@6.0.0-beta20 imagemin-zopfli@7
|
node tools/generate-images.js
|
||||||
node tools/generate-images.js $(TAGS)
|
|
||||||
|
|
||||||
.PHONY: generate-manpage
|
.PHONY: generate-manpage
|
||||||
generate-manpage:
|
generate-manpage:
|
||||||
|
@ -1011,11 +1004,6 @@ generate-manpage:
|
||||||
@gzip -9 man/man1/gitea.1 && echo man/man1/gitea.1.gz created
|
@gzip -9 man/man1/gitea.1 && echo man/man1/gitea.1.gz created
|
||||||
@#TODO A small script that formats config-cheat-sheet.en-us.md nicely for use as a config man page
|
@#TODO A small script that formats config-cheat-sheet.en-us.md nicely for use as a config man page
|
||||||
|
|
||||||
.PHONY: docker
|
|
||||||
docker:
|
|
||||||
docker build --disable-content-trust=false -t $(DOCKER_REF) .
|
|
||||||
# support also build args docker build --build-arg GITEA_VERSION=v1.2.3 --build-arg TAGS="bindata sqlite sqlite_unlock_notify" .
|
|
||||||
|
|
||||||
# This endif closes the if at the top of the file
|
# This endif closes the if at the top of the file
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
10
README.md
10
README.md
|
@ -15,11 +15,6 @@ Our promise: **Independent Free/Libre Software forever!**
|
||||||
|
|
||||||
## What does Forgejo offer?
|
## What does Forgejo offer?
|
||||||
|
|
||||||
<!-- If you want to know what Forgejo is like,
|
|
||||||
you can check out public instances,
|
|
||||||
e.g. [Codeberg.org](https://codeberg.org).
|
|
||||||
-->
|
|
||||||
|
|
||||||
If you like any of the following, Forgejo is literally meant for you:
|
If you like any of the following, Forgejo is literally meant for you:
|
||||||
|
|
||||||
- Lightweight: Forgejo can easily be hosted on nearly **every machine**.
|
- Lightweight: Forgejo can easily be hosted on nearly **every machine**.
|
||||||
|
@ -40,6 +35,11 @@ If you like any of the following, Forgejo is literally meant for you:
|
||||||
|
|
||||||
Dive into the [documentation](https://forgejo.org/docs/latest/), subscribe to releases and blog post on [our website](https://forgejo.org), <a href="https://floss.social/@forgejo" rel="me">find us on the Fediverse</a> or hop into [our Matrix room](https://matrix.to/#/#forgejo-chat:matrix.org) if you have any questions or want to get involved.
|
Dive into the [documentation](https://forgejo.org/docs/latest/), subscribe to releases and blog post on [our website](https://forgejo.org), <a href="https://floss.social/@forgejo" rel="me">find us on the Fediverse</a> or hop into [our Matrix room](https://matrix.to/#/#forgejo-chat:matrix.org) if you have any questions or want to get involved.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Forgejo is distributed under the terms of the [GPL version 3.0](LICENSE) or any later version.
|
||||||
|
|
||||||
|
The agreement for this license [was documented in June 2023](https://codeberg.org/forgejo/governance/pulls/24) and implemented during the development of Forgejo v9.0. All Forgejo versions before v9.0 are distributed under the MIT license.
|
||||||
|
|
||||||
## Get involved
|
## Get involved
|
||||||
|
|
||||||
|
|
953
RELEASE-NOTES.md
953
RELEASE-NOTES.md
File diff suppressed because it is too large
Load diff
339
assets/go-licenses.json
generated
339
assets/go-licenses.json
generated
File diff suppressed because one or more lines are too long
9
build.go
9
build.go
|
@ -11,13 +11,4 @@ package main
|
||||||
import (
|
import (
|
||||||
// for embed
|
// for embed
|
||||||
_ "github.com/shurcooL/vfsgen"
|
_ "github.com/shurcooL/vfsgen"
|
||||||
|
|
||||||
// for cover merge
|
|
||||||
_ "golang.org/x/tools/cover"
|
|
||||||
|
|
||||||
// for vet
|
|
||||||
_ "code.gitea.io/gitea-vet"
|
|
||||||
|
|
||||||
// for swagger
|
|
||||||
_ "github.com/go-swagger/go-swagger/cmd/swagger"
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,14 +12,14 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/container"
|
"forgejo.org/modules/container"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if len(os.Args) != 2 {
|
if len(os.Args) != 2 {
|
||||||
println("usage: backport-locales <to-ref>")
|
fmt.Println("usage: backport-locales <to-ref>")
|
||||||
println("eg: backport-locales release/v1.19")
|
fmt.Println("eg: backport-locales release/v1.19")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"code.gitea.io/gitea/build/codeformat"
|
"forgejo.org/build/codeformat"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Windows has a limitation for command line arguments, the size can not exceed 32KB.
|
// Windows has a limitation for command line arguments, the size can not exceed 32KB.
|
||||||
|
@ -69,6 +69,7 @@ func newFileCollector(fileFilter string, batchSize int) (*fileCollector, error)
|
||||||
co.includePatterns = append(co.includePatterns, regexp.MustCompile(`.*\.go$`))
|
co.includePatterns = append(co.includePatterns, regexp.MustCompile(`.*\.go$`))
|
||||||
|
|
||||||
co.excludePatterns = append(co.excludePatterns, regexp.MustCompile(`.*\bbindata\.go$`))
|
co.excludePatterns = append(co.excludePatterns, regexp.MustCompile(`.*\bbindata\.go$`))
|
||||||
|
co.excludePatterns = append(co.excludePatterns, regexp.MustCompile(`\.pb\.go$`))
|
||||||
co.excludePatterns = append(co.excludePatterns, regexp.MustCompile(`tests/gitea-repositories-meta`))
|
co.excludePatterns = append(co.excludePatterns, regexp.MustCompile(`tests/gitea-repositories-meta`))
|
||||||
co.excludePatterns = append(co.excludePatterns, regexp.MustCompile(`tests/integration/migration-test`))
|
co.excludePatterns = append(co.excludePatterns, regexp.MustCompile(`tests/integration/migration-test`))
|
||||||
co.excludePatterns = append(co.excludePatterns, regexp.MustCompile(`modules/git/tests`))
|
co.excludePatterns = append(co.excludePatterns, regexp.MustCompile(`modules/git/tests`))
|
||||||
|
@ -203,17 +204,6 @@ Example:
|
||||||
`, "file-batch-exec")
|
`, "file-batch-exec")
|
||||||
}
|
}
|
||||||
|
|
||||||
func getGoVersion() string {
|
|
||||||
goModFile, err := os.ReadFile("go.mod")
|
|
||||||
if err != nil {
|
|
||||||
log.Fatalf(`Faild to read "go.mod": %v`, err)
|
|
||||||
os.Exit(1)
|
|
||||||
}
|
|
||||||
goModVersionRegex := regexp.MustCompile(`go \d+\.\d+`)
|
|
||||||
goModVersionLine := goModVersionRegex.Find(goModFile)
|
|
||||||
return string(goModVersionLine[3:])
|
|
||||||
}
|
|
||||||
|
|
||||||
func newFileCollectorFromMainOptions(mainOptions map[string]string) (fc *fileCollector, err error) {
|
func newFileCollectorFromMainOptions(mainOptions map[string]string) (fc *fileCollector, err error) {
|
||||||
fileFilter := mainOptions["file-filter"]
|
fileFilter := mainOptions["file-filter"]
|
||||||
if fileFilter == "" {
|
if fileFilter == "" {
|
||||||
|
@ -278,7 +268,8 @@ func main() {
|
||||||
log.Print("the -d option is not supported by gitea-fmt")
|
log.Print("the -d option is not supported by gitea-fmt")
|
||||||
}
|
}
|
||||||
cmdErrors = append(cmdErrors, giteaFormatGoImports(files, containsString(subArgs, "-w")))
|
cmdErrors = append(cmdErrors, giteaFormatGoImports(files, containsString(subArgs, "-w")))
|
||||||
cmdErrors = append(cmdErrors, passThroughCmd("go", append([]string{"run", os.Getenv("GOFUMPT_PACKAGE"), "-extra", "-lang", getGoVersion()}, substArgs...)))
|
cmdErrors = append(cmdErrors, passThroughCmd("gofmt", append([]string{"-w", "-r", "interface{} -> any"}, substArgs...)))
|
||||||
|
cmdErrors = append(cmdErrors, passThroughCmd("go", append([]string{"run", os.Getenv("GOFUMPT_PACKAGE"), "-extra"}, substArgs...)))
|
||||||
default:
|
default:
|
||||||
log.Fatalf("unknown cmd: %s %v", subCmd, subArgs)
|
log.Fatalf("unknown cmd: %s %v", subCmd, subArgs)
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,8 +13,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var importPackageGroupOrders = map[string]int{
|
var importPackageGroupOrders = map[string]int{
|
||||||
"": 1, // internal
|
"": 1, // internal
|
||||||
"code.gitea.io/gitea/": 2,
|
"forgejo.org/": 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
var errInvalidCommentBetweenImports = errors.New("comments between imported packages are invalid, please move comments to the end of the package line")
|
var errInvalidCommentBetweenImports = errors.New("comments between imported packages are invalid, please move comments to the end of the package line")
|
||||||
|
|
|
@ -7,6 +7,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestFormatImportsSimple(t *testing.T) {
|
func TestFormatImportsSimple(t *testing.T) {
|
||||||
|
@ -29,7 +30,7 @@ import (
|
||||||
)
|
)
|
||||||
`
|
`
|
||||||
|
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Equal(t, expected, string(formatted))
|
assert.Equal(t, expected, string(formatted))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,8 +58,8 @@ import (
|
||||||
|
|
||||||
"code.gitea.io/other/package"
|
"code.gitea.io/other/package"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
"code.gitea.io/gitea/modules/util"
|
"forgejo.org/modules/util"
|
||||||
|
|
||||||
"xorm.io/the/package"
|
"xorm.io/the/package"
|
||||||
|
|
||||||
|
@ -81,8 +82,8 @@ import (
|
||||||
_ "image/jpeg" // for processing jpeg images
|
_ "image/jpeg" // for processing jpeg images
|
||||||
_ "image/png" // for processing png images
|
_ "image/png" // for processing png images
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
"code.gitea.io/gitea/modules/util"
|
"forgejo.org/modules/util"
|
||||||
|
|
||||||
"code.gitea.io/other/package"
|
"code.gitea.io/other/package"
|
||||||
"github.com/issue9/identicon"
|
"github.com/issue9/identicon"
|
||||||
|
@ -92,7 +93,7 @@ import (
|
||||||
)
|
)
|
||||||
`
|
`
|
||||||
|
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Equal(t, expected, string(formatted))
|
assert.Equal(t, expected, string(formatted))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -120,5 +121,5 @@ import (
|
||||||
"image/gif"
|
"image/gif"
|
||||||
)
|
)
|
||||||
`))
|
`))
|
||||||
assert.ErrorIs(t, err, errInvalidCommentBetweenImports)
|
require.ErrorIs(t, err, errInvalidCommentBetweenImports)
|
||||||
}
|
}
|
||||||
|
|
203
build/generate-disposable-email.go
Normal file
203
build/generate-disposable-email.go
Normal file
|
@ -0,0 +1,203 @@
|
||||||
|
// Copyright 2024 James Hatfield
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
//go:build ignore
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bufio"
|
||||||
|
"bytes"
|
||||||
|
"crypto"
|
||||||
|
"flag"
|
||||||
|
"fmt"
|
||||||
|
"go/format"
|
||||||
|
"io"
|
||||||
|
"log"
|
||||||
|
"net/http"
|
||||||
|
"os"
|
||||||
|
"regexp"
|
||||||
|
"strings"
|
||||||
|
)
|
||||||
|
|
||||||
|
const disposableEmailListURL string = "https://raw.githubusercontent.com/disposable-email-domains/disposable-email-domains/%s/disposable_email_blocklist.conf"
|
||||||
|
|
||||||
|
var (
|
||||||
|
gitRef *string = flag.String("r", "master", "Git reference of the domain list version")
|
||||||
|
outPat *string = flag.String("o", "modules/setting/disposable_email_domain_data.go", "Output path")
|
||||||
|
check *bool = flag.Bool("check", false, "Check if the current output file matches the current upstream list")
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
flag.Parse()
|
||||||
|
|
||||||
|
if *check {
|
||||||
|
// read in the local copy of the domain list
|
||||||
|
local, err := get_local_file()
|
||||||
|
if err != nil {
|
||||||
|
log.Fatalf("File Read Error: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// generate the remote copy of the domain list
|
||||||
|
remote, err := generate()
|
||||||
|
if err != nil {
|
||||||
|
log.Fatalf("Generation Error: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// strip the comments from both (so we dont fail simply due to git ref difference)
|
||||||
|
local = strip_comments(local)
|
||||||
|
remote = strip_comments(remote)
|
||||||
|
|
||||||
|
// generate the hash of the local copy
|
||||||
|
local_sha, err := hash(local)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatalf("Local Hash Generation Error: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// generate the hash of the remote copy
|
||||||
|
remote_sha, err := hash(remote)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatalf("Remote Hash Generation Error: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// if the hashes dont match then the local copy needs to be updated
|
||||||
|
if local_sha != remote_sha {
|
||||||
|
log.Fatalf("Disposable email domain list needs to be updated!! \"make lint-disposable-emails-fix\"")
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
// generate the source code (array of domains)
|
||||||
|
res, err := generate()
|
||||||
|
if err != nil {
|
||||||
|
log.Fatalf("Generation Error: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// write result to a file
|
||||||
|
err = os.WriteFile(*outPat, res, 0o644)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatalf("File Write Error: %v", err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func strip_comments(data []byte) []byte {
|
||||||
|
result := make([]byte, 0, len(data))
|
||||||
|
|
||||||
|
re := regexp.MustCompile(`^\W*//.*$`)
|
||||||
|
|
||||||
|
for _, line := range bytes.Split(data, []byte("\n")) {
|
||||||
|
if !re.Match(line) {
|
||||||
|
result = append(result, line...)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result
|
||||||
|
}
|
||||||
|
|
||||||
|
func hash(data []byte) (string, error) {
|
||||||
|
var err error
|
||||||
|
|
||||||
|
hash := crypto.SHA3_256.New()
|
||||||
|
|
||||||
|
_, err = hash.Write(data)
|
||||||
|
if err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
|
|
||||||
|
return fmt.Sprintf("%x", hash.Sum(nil)), err
|
||||||
|
}
|
||||||
|
|
||||||
|
func get_local_file() ([]byte, error) {
|
||||||
|
var err error
|
||||||
|
|
||||||
|
f, err := os.Open(*outPat)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
defer f.Close()
|
||||||
|
|
||||||
|
data, err := io.ReadAll(f)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
return data, err
|
||||||
|
}
|
||||||
|
|
||||||
|
func get_remote() ([]string, error) {
|
||||||
|
var err error
|
||||||
|
var url string = fmt.Sprintf(disposableEmailListURL, *gitRef)
|
||||||
|
|
||||||
|
// download the domain list
|
||||||
|
res, err := http.Get(url)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
defer res.Body.Close()
|
||||||
|
|
||||||
|
body, err := io.ReadAll(res.Body)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
// go through all entries (1 domain per line)
|
||||||
|
scanner := bufio.NewScanner(bytes.NewReader(body))
|
||||||
|
|
||||||
|
var arrDomains []string
|
||||||
|
for scanner.Scan() {
|
||||||
|
line := scanner.Text()
|
||||||
|
arrDomains = append(arrDomains, line)
|
||||||
|
}
|
||||||
|
|
||||||
|
return arrDomains, err
|
||||||
|
}
|
||||||
|
|
||||||
|
func generate() ([]byte, error) {
|
||||||
|
var err error
|
||||||
|
var url string = fmt.Sprintf(disposableEmailListURL, *gitRef)
|
||||||
|
|
||||||
|
// download the domains list
|
||||||
|
arrDomains, err := get_remote()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
// build the string in a readable way
|
||||||
|
var sb strings.Builder
|
||||||
|
|
||||||
|
_, err = sb.WriteString("[]string{\n")
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, item := range arrDomains {
|
||||||
|
_, err = sb.WriteString(fmt.Sprintf("\t%q,\n", item))
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
_, err = sb.WriteString("}")
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
// insert the values into file
|
||||||
|
final := fmt.Sprintf(hdr, url, sb.String())
|
||||||
|
|
||||||
|
return format.Source([]byte(final))
|
||||||
|
}
|
||||||
|
|
||||||
|
const hdr = `
|
||||||
|
// Copyright 2024 James Hatfield
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
//
|
||||||
|
// Code generated by build/generate-disposable-email.go. DO NOT EDIT
|
||||||
|
// Sourced from %s
|
||||||
|
package setting
|
||||||
|
|
||||||
|
import "sync"
|
||||||
|
|
||||||
|
var DisposableEmailDomains = sync.OnceValue(func() []string {
|
||||||
|
return %s
|
||||||
|
})
|
||||||
|
`
|
|
@ -20,7 +20,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/json"
|
"forgejo.org/modules/json"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -53,8 +53,6 @@ func (e Emoji) MarshalJSON() ([]byte, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
var err error
|
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
// generate data
|
// generate data
|
||||||
|
@ -83,8 +81,6 @@ var replacer = strings.NewReplacer(
|
||||||
var emojiRE = regexp.MustCompile(`\{Emoji:"([^"]*)"`)
|
var emojiRE = regexp.MustCompile(`\{Emoji:"([^"]*)"`)
|
||||||
|
|
||||||
func generate() ([]byte, error) {
|
func generate() ([]byte, error) {
|
||||||
var err error
|
|
||||||
|
|
||||||
// load gemoji data
|
// load gemoji data
|
||||||
res, err := http.Get(gemojiURL)
|
res, err := http.Get(gemojiURL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -142,7 +138,7 @@ func generate() ([]byte, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// gitea customizations
|
// Forgejo customizations
|
||||||
i, ok := aliasMap["tada"]
|
i, ok := aliasMap["tada"]
|
||||||
if ok {
|
if ok {
|
||||||
data[i].Aliases = append(data[i].Aliases, "hooray")
|
data[i].Aliases = append(data[i].Aliases, "hooray")
|
||||||
|
|
|
@ -15,7 +15,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/util"
|
"forgejo.org/modules/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
@ -16,7 +16,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/container"
|
"forgejo.org/modules/container"
|
||||||
)
|
)
|
||||||
|
|
||||||
// regexp is based on go-license, excluding README and NOTICE
|
// regexp is based on go-license, excluding README and NOTICE
|
||||||
|
@ -77,6 +77,20 @@ func main() {
|
||||||
sort.Strings(paths)
|
sort.Strings(paths)
|
||||||
|
|
||||||
var entries []LicenseEntry
|
var entries []LicenseEntry
|
||||||
|
|
||||||
|
{
|
||||||
|
licenseText, err := os.ReadFile("LICENSE")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
entries = append(entries, LicenseEntry{
|
||||||
|
Name: "codeberg.org/forgejo/forgejo",
|
||||||
|
Path: "codeberg.org/forgejo/forgejo/GPL-3.0-or-later",
|
||||||
|
LicenseText: string(licenseText),
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
for _, filePath := range paths {
|
for _, filePath := range paths {
|
||||||
licenseText, err := os.ReadFile(filePath)
|
licenseText, err := os.ReadFile(filePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -88,9 +102,9 @@ func main() {
|
||||||
pkgName := path.Dir(pkgPath)
|
pkgName := path.Dir(pkgPath)
|
||||||
|
|
||||||
// There might be a bug somewhere in go-licenses that sometimes interprets the
|
// There might be a bug somewhere in go-licenses that sometimes interprets the
|
||||||
// root package as "." and sometimes as "code.gitea.io/gitea". Workaround by
|
// root package as "." and sometimes as "forgejo.org". Workaround by
|
||||||
// removing both of them for the sake of stable output.
|
// removing both of them for the sake of stable output.
|
||||||
if pkgName == "." || pkgName == "code.gitea.io/gitea" {
|
if pkgName == "." || pkgName == "forgejo.org" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/util"
|
"forgejo.org/modules/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
@ -1,118 +0,0 @@
|
||||||
// Copyright 2020 The Gitea Authors. All rights reserved.
|
|
||||||
// Copyright (c) 2015, Wade Simmons
|
|
||||||
// SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
// gocovmerge takes the results from multiple `go test -coverprofile` runs and
|
|
||||||
// merges them into one profile
|
|
||||||
|
|
||||||
//go:build ignore
|
|
||||||
|
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"flag"
|
|
||||||
"fmt"
|
|
||||||
"io"
|
|
||||||
"log"
|
|
||||||
"os"
|
|
||||||
"sort"
|
|
||||||
|
|
||||||
"golang.org/x/tools/cover"
|
|
||||||
)
|
|
||||||
|
|
||||||
func mergeProfiles(p, merge *cover.Profile) {
|
|
||||||
if p.Mode != merge.Mode {
|
|
||||||
log.Fatalf("cannot merge profiles with different modes")
|
|
||||||
}
|
|
||||||
// Since the blocks are sorted, we can keep track of where the last block
|
|
||||||
// was inserted and only look at the blocks after that as targets for merge
|
|
||||||
startIndex := 0
|
|
||||||
for _, b := range merge.Blocks {
|
|
||||||
startIndex = mergeProfileBlock(p, b, startIndex)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func mergeProfileBlock(p *cover.Profile, pb cover.ProfileBlock, startIndex int) int {
|
|
||||||
sortFunc := func(i int) bool {
|
|
||||||
pi := p.Blocks[i+startIndex]
|
|
||||||
return pi.StartLine >= pb.StartLine && (pi.StartLine != pb.StartLine || pi.StartCol >= pb.StartCol)
|
|
||||||
}
|
|
||||||
|
|
||||||
i := 0
|
|
||||||
if sortFunc(i) != true {
|
|
||||||
i = sort.Search(len(p.Blocks)-startIndex, sortFunc)
|
|
||||||
}
|
|
||||||
i += startIndex
|
|
||||||
if i < len(p.Blocks) && p.Blocks[i].StartLine == pb.StartLine && p.Blocks[i].StartCol == pb.StartCol {
|
|
||||||
if p.Blocks[i].EndLine != pb.EndLine || p.Blocks[i].EndCol != pb.EndCol {
|
|
||||||
log.Fatalf("OVERLAP MERGE: %v %v %v", p.FileName, p.Blocks[i], pb)
|
|
||||||
}
|
|
||||||
switch p.Mode {
|
|
||||||
case "set":
|
|
||||||
p.Blocks[i].Count |= pb.Count
|
|
||||||
case "count", "atomic":
|
|
||||||
p.Blocks[i].Count += pb.Count
|
|
||||||
default:
|
|
||||||
log.Fatalf("unsupported covermode: '%s'", p.Mode)
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if i > 0 {
|
|
||||||
pa := p.Blocks[i-1]
|
|
||||||
if pa.EndLine >= pb.EndLine && (pa.EndLine != pb.EndLine || pa.EndCol > pb.EndCol) {
|
|
||||||
log.Fatalf("OVERLAP BEFORE: %v %v %v", p.FileName, pa, pb)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if i < len(p.Blocks)-1 {
|
|
||||||
pa := p.Blocks[i+1]
|
|
||||||
if pa.StartLine <= pb.StartLine && (pa.StartLine != pb.StartLine || pa.StartCol < pb.StartCol) {
|
|
||||||
log.Fatalf("OVERLAP AFTER: %v %v %v", p.FileName, pa, pb)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
p.Blocks = append(p.Blocks, cover.ProfileBlock{})
|
|
||||||
copy(p.Blocks[i+1:], p.Blocks[i:])
|
|
||||||
p.Blocks[i] = pb
|
|
||||||
}
|
|
||||||
return i + 1
|
|
||||||
}
|
|
||||||
|
|
||||||
func addProfile(profiles []*cover.Profile, p *cover.Profile) []*cover.Profile {
|
|
||||||
i := sort.Search(len(profiles), func(i int) bool { return profiles[i].FileName >= p.FileName })
|
|
||||||
if i < len(profiles) && profiles[i].FileName == p.FileName {
|
|
||||||
mergeProfiles(profiles[i], p)
|
|
||||||
} else {
|
|
||||||
profiles = append(profiles, nil)
|
|
||||||
copy(profiles[i+1:], profiles[i:])
|
|
||||||
profiles[i] = p
|
|
||||||
}
|
|
||||||
return profiles
|
|
||||||
}
|
|
||||||
|
|
||||||
func dumpProfiles(profiles []*cover.Profile, out io.Writer) {
|
|
||||||
if len(profiles) == 0 {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
fmt.Fprintf(out, "mode: %s\n", profiles[0].Mode)
|
|
||||||
for _, p := range profiles {
|
|
||||||
for _, b := range p.Blocks {
|
|
||||||
fmt.Fprintf(out, "%s:%d.%d,%d.%d %d %d\n", p.FileName, b.StartLine, b.StartCol, b.EndLine, b.EndCol, b.NumStmt, b.Count)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
flag.Parse()
|
|
||||||
|
|
||||||
var merged []*cover.Profile
|
|
||||||
|
|
||||||
for _, file := range flag.Args() {
|
|
||||||
profiles, err := cover.ParseProfiles(file)
|
|
||||||
if err != nil {
|
|
||||||
log.Fatalf("failed to parse profile '%s': %v", file, err)
|
|
||||||
}
|
|
||||||
for _, p := range profiles {
|
|
||||||
merged = addProfile(merged, p)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dumpProfiles(merged, os.Stdout)
|
|
||||||
}
|
|
383
build/lint-locale-usage/lint-locale-usage.go
Normal file
383
build/lint-locale-usage/lint-locale-usage.go
Normal file
|
@ -0,0 +1,383 @@
|
||||||
|
// Copyright 2023 The Gitea Authors. All rights reserved.
|
||||||
|
// Copyright 2025 The Forgejo Authors. All rights reserved.
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"go/ast"
|
||||||
|
goParser "go/parser"
|
||||||
|
"go/token"
|
||||||
|
"io/fs"
|
||||||
|
"os"
|
||||||
|
"path/filepath"
|
||||||
|
"strconv"
|
||||||
|
"strings"
|
||||||
|
"text/template"
|
||||||
|
tmplParser "text/template/parse"
|
||||||
|
|
||||||
|
"forgejo.org/modules/container"
|
||||||
|
fjTemplates "forgejo.org/modules/templates"
|
||||||
|
"forgejo.org/modules/translation/localeiter"
|
||||||
|
"forgejo.org/modules/util"
|
||||||
|
)
|
||||||
|
|
||||||
|
// this works by first gathering all valid source string IDs from `en-US` reference files
|
||||||
|
// and then checking if all used source strings are actually defined
|
||||||
|
|
||||||
|
type LocatedError struct {
|
||||||
|
Location string
|
||||||
|
Kind string
|
||||||
|
Err error
|
||||||
|
}
|
||||||
|
|
||||||
|
func (e LocatedError) Error() string {
|
||||||
|
var sb strings.Builder
|
||||||
|
|
||||||
|
sb.WriteString(e.Location)
|
||||||
|
sb.WriteString(":\t")
|
||||||
|
if e.Kind != "" {
|
||||||
|
sb.WriteString(e.Kind)
|
||||||
|
sb.WriteString(": ")
|
||||||
|
}
|
||||||
|
sb.WriteString("ERROR: ")
|
||||||
|
sb.WriteString(e.Err.Error())
|
||||||
|
|
||||||
|
return sb.String()
|
||||||
|
}
|
||||||
|
|
||||||
|
func InitLocaleTrFunctions() map[string][]uint {
|
||||||
|
ret := make(map[string][]uint)
|
||||||
|
|
||||||
|
f0 := []uint{0}
|
||||||
|
ret["Tr"] = f0
|
||||||
|
ret["TrString"] = f0
|
||||||
|
ret["TrHTML"] = f0
|
||||||
|
|
||||||
|
ret["TrPluralString"] = []uint{1}
|
||||||
|
ret["TrN"] = []uint{1, 2}
|
||||||
|
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
|
||||||
|
type Handler struct {
|
||||||
|
OnMsgid func(fset *token.FileSet, pos token.Pos, msgid string)
|
||||||
|
OnUnexpectedInvoke func(fset *token.FileSet, pos token.Pos, funcname string, argc int)
|
||||||
|
LocaleTrFunctions map[string][]uint
|
||||||
|
}
|
||||||
|
|
||||||
|
// the `Handle*File` functions follow the following calling convention:
|
||||||
|
// * `fname` is the name of the input file
|
||||||
|
// * `src` is either `nil` (then the function invokes `ReadFile` to read the file)
|
||||||
|
// or the contents of the file as {`[]byte`, or a `string`}
|
||||||
|
|
||||||
|
func (handler Handler) HandleGoFile(fname string, src any) error {
|
||||||
|
fset := token.NewFileSet()
|
||||||
|
node, err := goParser.ParseFile(fset, fname, src, goParser.SkipObjectResolution)
|
||||||
|
if err != nil {
|
||||||
|
return LocatedError{
|
||||||
|
Location: fname,
|
||||||
|
Kind: "Go parser",
|
||||||
|
Err: err,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ast.Inspect(node, func(n ast.Node) bool {
|
||||||
|
// search for function calls of the form `anything.Tr(any-string-lit, ...)`
|
||||||
|
|
||||||
|
call, ok := n.(*ast.CallExpr)
|
||||||
|
if !ok || len(call.Args) < 1 {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
funSel, ok := call.Fun.(*ast.SelectorExpr)
|
||||||
|
if !ok {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
ltf, ok := handler.LocaleTrFunctions[funSel.Sel.Name]
|
||||||
|
if !ok {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
var gotUnexpectedInvoke *int
|
||||||
|
|
||||||
|
for _, argNum := range ltf {
|
||||||
|
if len(call.Args) >= int(argNum+1) {
|
||||||
|
argLit, ok := call.Args[int(argNum)].(*ast.BasicLit)
|
||||||
|
if !ok || argLit.Kind != token.STRING {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
// extract string content
|
||||||
|
arg, err := strconv.Unquote(argLit.Value)
|
||||||
|
if err == nil {
|
||||||
|
// found interesting strings
|
||||||
|
handler.OnMsgid(fset, argLit.ValuePos, arg)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
argc := len(call.Args)
|
||||||
|
gotUnexpectedInvoke = &argc
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if gotUnexpectedInvoke != nil {
|
||||||
|
handler.OnUnexpectedInvoke(fset, funSel.Sel.NamePos, funSel.Sel.Name, *gotUnexpectedInvoke)
|
||||||
|
}
|
||||||
|
|
||||||
|
return true
|
||||||
|
})
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// derived from source: modules/templates/scopedtmpl/scopedtmpl.go, L169-L213
|
||||||
|
func (handler Handler) handleTemplateNode(fset *token.FileSet, node tmplParser.Node) {
|
||||||
|
switch node.Type() {
|
||||||
|
case tmplParser.NodeAction:
|
||||||
|
handler.handleTemplatePipeNode(fset, node.(*tmplParser.ActionNode).Pipe)
|
||||||
|
case tmplParser.NodeList:
|
||||||
|
nodeList := node.(*tmplParser.ListNode)
|
||||||
|
handler.handleTemplateFileNodes(fset, nodeList.Nodes)
|
||||||
|
case tmplParser.NodePipe:
|
||||||
|
handler.handleTemplatePipeNode(fset, node.(*tmplParser.PipeNode))
|
||||||
|
case tmplParser.NodeTemplate:
|
||||||
|
handler.handleTemplatePipeNode(fset, node.(*tmplParser.TemplateNode).Pipe)
|
||||||
|
case tmplParser.NodeIf:
|
||||||
|
nodeIf := node.(*tmplParser.IfNode)
|
||||||
|
handler.handleTemplateBranchNode(fset, nodeIf.BranchNode)
|
||||||
|
case tmplParser.NodeRange:
|
||||||
|
nodeRange := node.(*tmplParser.RangeNode)
|
||||||
|
handler.handleTemplateBranchNode(fset, nodeRange.BranchNode)
|
||||||
|
case tmplParser.NodeWith:
|
||||||
|
nodeWith := node.(*tmplParser.WithNode)
|
||||||
|
handler.handleTemplateBranchNode(fset, nodeWith.BranchNode)
|
||||||
|
|
||||||
|
case tmplParser.NodeCommand:
|
||||||
|
nodeCommand := node.(*tmplParser.CommandNode)
|
||||||
|
|
||||||
|
handler.handleTemplateFileNodes(fset, nodeCommand.Args)
|
||||||
|
|
||||||
|
if len(nodeCommand.Args) < 2 {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
nodeChain, ok := nodeCommand.Args[0].(*tmplParser.ChainNode)
|
||||||
|
if !ok {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
nodeIdent, ok := nodeChain.Node.(*tmplParser.IdentifierNode)
|
||||||
|
if !ok || nodeIdent.Ident != "ctx" || len(nodeChain.Field) != 2 || nodeChain.Field[0] != "Locale" {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
ltf, ok := handler.LocaleTrFunctions[nodeChain.Field[1]]
|
||||||
|
if !ok {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
var gotUnexpectedInvoke *int
|
||||||
|
|
||||||
|
for _, argNum := range ltf {
|
||||||
|
if len(nodeCommand.Args) >= int(argNum+2) {
|
||||||
|
nodeString, ok := nodeCommand.Args[int(argNum+1)].(*tmplParser.StringNode)
|
||||||
|
if ok {
|
||||||
|
// found interesting strings
|
||||||
|
// the column numbers are a bit "off", but much better than nothing
|
||||||
|
handler.OnMsgid(fset, token.Pos(nodeString.Pos), nodeString.Text)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
argc := len(nodeCommand.Args) - 1
|
||||||
|
gotUnexpectedInvoke = &argc
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if gotUnexpectedInvoke != nil {
|
||||||
|
handler.OnUnexpectedInvoke(fset, token.Pos(nodeChain.Pos), nodeChain.Field[1], *gotUnexpectedInvoke)
|
||||||
|
}
|
||||||
|
|
||||||
|
default:
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (handler Handler) handleTemplatePipeNode(fset *token.FileSet, pipeNode *tmplParser.PipeNode) {
|
||||||
|
if pipeNode == nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// NOTE: we can't pass `pipeNode.Cmds` to handleTemplateFileNodes due to incompatible argument types
|
||||||
|
for _, node := range pipeNode.Cmds {
|
||||||
|
handler.handleTemplateNode(fset, node)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (handler Handler) handleTemplateBranchNode(fset *token.FileSet, branchNode tmplParser.BranchNode) {
|
||||||
|
handler.handleTemplatePipeNode(fset, branchNode.Pipe)
|
||||||
|
handler.handleTemplateFileNodes(fset, branchNode.List.Nodes)
|
||||||
|
if branchNode.ElseList != nil {
|
||||||
|
handler.handleTemplateFileNodes(fset, branchNode.ElseList.Nodes)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (handler Handler) handleTemplateFileNodes(fset *token.FileSet, nodes []tmplParser.Node) {
|
||||||
|
for _, node := range nodes {
|
||||||
|
handler.handleTemplateNode(fset, node)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (handler Handler) HandleTemplateFile(fname string, src any) error {
|
||||||
|
var tmplContent []byte
|
||||||
|
switch src2 := src.(type) {
|
||||||
|
case nil:
|
||||||
|
var err error
|
||||||
|
tmplContent, err = os.ReadFile(fname)
|
||||||
|
if err != nil {
|
||||||
|
return LocatedError{
|
||||||
|
Location: fname,
|
||||||
|
Kind: "ReadFile",
|
||||||
|
Err: err,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case []byte:
|
||||||
|
tmplContent = src2
|
||||||
|
case string:
|
||||||
|
// SAFETY: we do not modify tmplContent below
|
||||||
|
tmplContent = util.UnsafeStringToBytes(src2)
|
||||||
|
default:
|
||||||
|
panic("invalid type for 'src'")
|
||||||
|
}
|
||||||
|
|
||||||
|
fset := token.NewFileSet()
|
||||||
|
fset.AddFile(fname, 1, len(tmplContent)).SetLinesForContent(tmplContent)
|
||||||
|
// SAFETY: we do not modify tmplContent2 below
|
||||||
|
tmplContent2 := util.UnsafeBytesToString(tmplContent)
|
||||||
|
|
||||||
|
tmpl := template.New(fname)
|
||||||
|
tmpl.Funcs(fjTemplates.NewFuncMap())
|
||||||
|
tmplParsed, err := tmpl.Parse(tmplContent2)
|
||||||
|
if err != nil {
|
||||||
|
return LocatedError{
|
||||||
|
Location: fname,
|
||||||
|
Kind: "Template parser",
|
||||||
|
Err: err,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
handler.handleTemplateFileNodes(fset, tmplParsed.Root.Nodes)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// This command assumes that we get started from the project root directory
|
||||||
|
//
|
||||||
|
// Possible command line flags:
|
||||||
|
//
|
||||||
|
// --allow-missing-msgids don't return an error code if missing message IDs are found
|
||||||
|
//
|
||||||
|
// EXIT CODES:
|
||||||
|
//
|
||||||
|
// 0 success, no issues found
|
||||||
|
// 1 unable to walk directory tree
|
||||||
|
// 2 unable to parse locale ini/json files
|
||||||
|
// 3 unable to parse go or text/template files
|
||||||
|
// 4 found missing message IDs
|
||||||
|
//
|
||||||
|
//nolint:forbidigo
|
||||||
|
func main() {
|
||||||
|
allowMissingMsgids := false
|
||||||
|
for _, arg := range os.Args[1:] {
|
||||||
|
if arg == "--allow-missing-msgids" {
|
||||||
|
allowMissingMsgids = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
onError := func(err error) {
|
||||||
|
if err == nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
fmt.Println(err.Error())
|
||||||
|
os.Exit(3)
|
||||||
|
}
|
||||||
|
|
||||||
|
msgids := make(container.Set[string])
|
||||||
|
|
||||||
|
localeFile := filepath.Join(filepath.Join("options", "locale"), "locale_en-US.ini")
|
||||||
|
localeContent, err := os.ReadFile(localeFile)
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("%s:\tERROR: %s\n", localeFile, err.Error())
|
||||||
|
os.Exit(2)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err = localeiter.IterateMessagesContent(localeContent, func(trKey, trValue string) error {
|
||||||
|
msgids[trKey] = struct{}{}
|
||||||
|
return nil
|
||||||
|
}); err != nil {
|
||||||
|
fmt.Printf("%s:\tERROR: %s\n", localeFile, err.Error())
|
||||||
|
os.Exit(2)
|
||||||
|
}
|
||||||
|
|
||||||
|
localeFile = filepath.Join(filepath.Join("options", "locale_next"), "locale_en-US.json")
|
||||||
|
localeContent, err = os.ReadFile(localeFile)
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("%s:\tERROR: %s\n", localeFile, err.Error())
|
||||||
|
os.Exit(2)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := localeiter.IterateMessagesNextContent(localeContent, func(trKey, pluralForm, trValue string) error {
|
||||||
|
// ignore plural form
|
||||||
|
msgids[trKey] = struct{}{}
|
||||||
|
return nil
|
||||||
|
}); err != nil {
|
||||||
|
fmt.Printf("%s:\tERROR: %s\n", localeFile, err.Error())
|
||||||
|
os.Exit(2)
|
||||||
|
}
|
||||||
|
|
||||||
|
gotAnyMsgidError := false
|
||||||
|
|
||||||
|
handler := Handler{
|
||||||
|
OnMsgid: func(fset *token.FileSet, pos token.Pos, msgid string) {
|
||||||
|
if !msgids.Contains(msgid) {
|
||||||
|
gotAnyMsgidError = true
|
||||||
|
fmt.Printf("%s:\tmissing msgid: %s\n", fset.Position(pos).String(), msgid)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
OnUnexpectedInvoke: func(fset *token.FileSet, pos token.Pos, funcname string, argc int) {
|
||||||
|
gotAnyMsgidError = true
|
||||||
|
fmt.Printf("%s:\tunexpected invocation of %s with %d arguments\n", fset.Position(pos).String(), funcname, argc)
|
||||||
|
},
|
||||||
|
LocaleTrFunctions: InitLocaleTrFunctions(),
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := filepath.WalkDir(".", func(fpath string, d fs.DirEntry, err error) error {
|
||||||
|
if err != nil {
|
||||||
|
if os.IsNotExist(err) {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
name := d.Name()
|
||||||
|
if d.IsDir() {
|
||||||
|
if name == "docker" || name == ".git" || name == "node_modules" {
|
||||||
|
return fs.SkipDir
|
||||||
|
}
|
||||||
|
} else if name == "bindata.go" || fpath == "modules/translation/i18n/i18n_test.go" {
|
||||||
|
// skip false positives
|
||||||
|
} else if strings.HasSuffix(name, ".go") {
|
||||||
|
onError(handler.HandleGoFile(fpath, nil))
|
||||||
|
} else if strings.HasSuffix(name, ".tmpl") {
|
||||||
|
if strings.HasPrefix(fpath, "tests") && strings.HasSuffix(name, ".ini.tmpl") {
|
||||||
|
// skip false positives
|
||||||
|
} else {
|
||||||
|
onError(handler.HandleTemplateFile(fpath, nil))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}); err != nil {
|
||||||
|
fmt.Printf("walkdir ERROR: %s\n", err.Error())
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
if !allowMissingMsgids && gotAnyMsgidError {
|
||||||
|
os.Exit(4)
|
||||||
|
}
|
||||||
|
}
|
50
build/lint-locale-usage/lint-locale-usage_test.go
Normal file
50
build/lint-locale-usage/lint-locale-usage_test.go
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
// Copyright 2025 The Forgejo Authors. All rights reserved.
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"go/token"
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
|
)
|
||||||
|
|
||||||
|
func buildHandler(ret *[]string) Handler {
|
||||||
|
return Handler{
|
||||||
|
OnMsgid: func(fset *token.FileSet, pos token.Pos, msgid string) {
|
||||||
|
*ret = append(*ret, msgid)
|
||||||
|
},
|
||||||
|
OnUnexpectedInvoke: func(fset *token.FileSet, pos token.Pos, funcname string, argc int) {},
|
||||||
|
LocaleTrFunctions: InitLocaleTrFunctions(),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func HandleGoFileWrapped(t *testing.T, fname, src string) []string {
|
||||||
|
var ret []string
|
||||||
|
handler := buildHandler(&ret)
|
||||||
|
require.NoError(t, handler.HandleGoFile(fname, src))
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
|
||||||
|
func HandleTemplateFileWrapped(t *testing.T, fname, src string) []string {
|
||||||
|
var ret []string
|
||||||
|
handler := buildHandler(&ret)
|
||||||
|
require.NoError(t, handler.HandleTemplateFile(fname, src))
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestUsagesParser(t *testing.T) {
|
||||||
|
t.Run("go, simple", func(t *testing.T) {
|
||||||
|
assert.Equal(t,
|
||||||
|
[]string{"what.an.example"},
|
||||||
|
HandleGoFileWrapped(t, "<g1>", "package main\nfunc Render(ctx *context.Context) string { return ctx.Tr(\"what.an.example\"); }\n"))
|
||||||
|
})
|
||||||
|
|
||||||
|
t.Run("template, simple", func(t *testing.T) {
|
||||||
|
assert.Equal(t,
|
||||||
|
[]string{"what.an.example"},
|
||||||
|
HandleTemplateFileWrapped(t, "<t1>", "{{ ctx.Locale.Tr \"what.an.example\" }}\n"))
|
||||||
|
})
|
||||||
|
}
|
195
build/lint-locale/lint-locale.go
Normal file
195
build/lint-locale/lint-locale.go
Normal file
|
@ -0,0 +1,195 @@
|
||||||
|
// Copyright 2024 The Forgejo Authors. All rights reserved.
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
//nolint:forbidigo
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"html"
|
||||||
|
"io/fs"
|
||||||
|
"os"
|
||||||
|
"path/filepath"
|
||||||
|
"regexp"
|
||||||
|
"slices"
|
||||||
|
"strings"
|
||||||
|
|
||||||
|
"forgejo.org/modules/translation/localeiter"
|
||||||
|
|
||||||
|
"github.com/microcosm-cc/bluemonday"
|
||||||
|
"github.com/sergi/go-diff/diffmatchpatch"
|
||||||
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
policy *bluemonday.Policy
|
||||||
|
tagRemover *strings.Replacer
|
||||||
|
safeURL = "https://TO-BE-REPLACED.COM"
|
||||||
|
|
||||||
|
// Matches href="", href="#", href="%s", href="#%s", href="%[1]s" and href="#%[1]s".
|
||||||
|
placeHolderRegex = regexp.MustCompile(`href="#?(%s|%\[\d\]s)?"`)
|
||||||
|
|
||||||
|
dmp = diffmatchpatch.New()
|
||||||
|
)
|
||||||
|
|
||||||
|
func initBlueMondayPolicy() {
|
||||||
|
policy = bluemonday.NewPolicy()
|
||||||
|
|
||||||
|
policy.RequireParseableURLs(true)
|
||||||
|
policy.AllowURLSchemes("https")
|
||||||
|
|
||||||
|
// Only allow safe URL on href.
|
||||||
|
// Only allow target="_blank".
|
||||||
|
// Only allow rel="nopener noreferrer", rel="noopener" and rel="noreferrer".
|
||||||
|
// Only allow placeholder on id and class.
|
||||||
|
policy.AllowAttrs("href").Matching(regexp.MustCompile("^" + regexp.QuoteMeta(safeURL) + "$")).OnElements("a")
|
||||||
|
policy.AllowAttrs("target").Matching(regexp.MustCompile("^_blank$")).OnElements("a")
|
||||||
|
policy.AllowAttrs("rel").Matching(regexp.MustCompile("^(noopener|noreferrer|noopener noreferrer)$")).OnElements("a")
|
||||||
|
policy.AllowAttrs("id", "class").Matching(regexp.MustCompile(`^%s|%\[\d\]s$`)).OnElements("a")
|
||||||
|
|
||||||
|
// Only allow positional placeholder as class.
|
||||||
|
positionalPlaceholderRe := regexp.MustCompile(`^%\[\d\]s$`)
|
||||||
|
policy.AllowAttrs("class").Matching(positionalPlaceholderRe).OnElements("strong")
|
||||||
|
policy.AllowAttrs("id").Matching(positionalPlaceholderRe).OnElements("code")
|
||||||
|
|
||||||
|
// Allowed elements with no attributes. Must be a recognized tagname.
|
||||||
|
policy.AllowElements("strong", "br", "b", "strike", "code", "i")
|
||||||
|
|
||||||
|
// TODO: Remove <c> in `actions.workflow.dispatch.trigger_found`.
|
||||||
|
policy.AllowNoAttrs().OnElements("c")
|
||||||
|
}
|
||||||
|
|
||||||
|
func initRemoveTags() {
|
||||||
|
oldnew := []string{}
|
||||||
|
for _, el := range []string{
|
||||||
|
"email@example.com", "correu@example.com", "epasts@domens.lv", "email@exemplo.com", "eposta@ornek.com", "email@példa.hu", "email@esempio.it",
|
||||||
|
"user", "utente", "lietotājs", "gebruiker", "usuário", "Benutzer", "Bruker", "bruger", "użytkownik",
|
||||||
|
"server", "servidor", "kiszolgáló", "serveris",
|
||||||
|
"label", "etichetta", "etiķete", "rótulo", "Label", "utilizador", "etiket", "iezīme", "etykieta",
|
||||||
|
} {
|
||||||
|
oldnew = append(oldnew, "<"+el+">", "REPLACED-TAG")
|
||||||
|
}
|
||||||
|
|
||||||
|
tagRemover = strings.NewReplacer(oldnew...)
|
||||||
|
}
|
||||||
|
|
||||||
|
func preprocessTranslationValue(value string) string {
|
||||||
|
// href should be a parsable URL, replace placeholder strings with a safe url.
|
||||||
|
value = placeHolderRegex.ReplaceAllString(value, `href="`+safeURL+`"`)
|
||||||
|
|
||||||
|
// Remove tags that aren't tags but will be parsed as tags. We already know they are safe and sound.
|
||||||
|
value = tagRemover.Replace(value)
|
||||||
|
|
||||||
|
return value
|
||||||
|
}
|
||||||
|
|
||||||
|
func checkValue(trKey, value string) []string {
|
||||||
|
keyValue := preprocessTranslationValue(value)
|
||||||
|
|
||||||
|
if html.UnescapeString(policy.Sanitize(keyValue)) == keyValue {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create a nice diff of the difference.
|
||||||
|
diffs := dmp.DiffMain(keyValue, html.UnescapeString(policy.Sanitize(keyValue)), false)
|
||||||
|
diffs = dmp.DiffCleanupSemantic(diffs)
|
||||||
|
diffs = dmp.DiffCleanupEfficiency(diffs)
|
||||||
|
|
||||||
|
return []string{trKey + ": " + dmp.DiffPrettyText(diffs)}
|
||||||
|
}
|
||||||
|
|
||||||
|
func checkLocaleContent(localeContent []byte) []string {
|
||||||
|
errors := []string{}
|
||||||
|
|
||||||
|
if err := localeiter.IterateMessagesContent(localeContent, func(trKey, trValue string) error {
|
||||||
|
errors = append(errors, checkValue(trKey, trValue)...)
|
||||||
|
return nil
|
||||||
|
}); err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return errors
|
||||||
|
}
|
||||||
|
|
||||||
|
func checkLocaleNextContent(localeContent []byte) []string {
|
||||||
|
errors := []string{}
|
||||||
|
|
||||||
|
if err := localeiter.IterateMessagesNextContent(localeContent, func(trKey, pluralForm, trValue string) error {
|
||||||
|
fullKey := trKey
|
||||||
|
if pluralForm != "" {
|
||||||
|
fullKey = trKey + "." + pluralForm
|
||||||
|
}
|
||||||
|
errors = append(errors, checkValue(fullKey, trValue)...)
|
||||||
|
return nil
|
||||||
|
}); err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return errors
|
||||||
|
}
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
initBlueMondayPolicy()
|
||||||
|
initRemoveTags()
|
||||||
|
|
||||||
|
localeDir := filepath.Join("options", "locale")
|
||||||
|
localeFiles, err := os.ReadDir(localeDir)
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Safety check that we are not reading the wrong directory.
|
||||||
|
if !slices.ContainsFunc(localeFiles, func(e fs.DirEntry) bool { return strings.HasSuffix(e.Name(), ".ini") }) {
|
||||||
|
fmt.Println("No locale files found")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
exitCode := 0
|
||||||
|
for _, localeFile := range localeFiles {
|
||||||
|
if !strings.HasSuffix(localeFile.Name(), ".ini") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
localeContent, err := os.ReadFile(filepath.Join(localeDir, localeFile.Name()))
|
||||||
|
if err != nil {
|
||||||
|
fmt.Println(localeFile.Name())
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := checkLocaleContent(localeContent); len(err) > 0 {
|
||||||
|
fmt.Println(localeFile.Name())
|
||||||
|
fmt.Println(strings.Join(err, "\n"))
|
||||||
|
fmt.Println()
|
||||||
|
exitCode = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check the locale next.
|
||||||
|
localeDir = filepath.Join("options", "locale_next")
|
||||||
|
localeFiles, err = os.ReadDir(localeDir)
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Safety check that we are not reading the wrong directory.
|
||||||
|
if !slices.ContainsFunc(localeFiles, func(e fs.DirEntry) bool { return strings.HasSuffix(e.Name(), ".json") }) {
|
||||||
|
fmt.Println("No locale_next files found")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, localeFile := range localeFiles {
|
||||||
|
localeContent, err := os.ReadFile(filepath.Join(localeDir, localeFile.Name()))
|
||||||
|
if err != nil {
|
||||||
|
fmt.Println(localeFile.Name())
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := checkLocaleNextContent(localeContent); len(err) > 0 {
|
||||||
|
fmt.Println(localeFile.Name())
|
||||||
|
fmt.Println(strings.Join(err, "\n"))
|
||||||
|
fmt.Println()
|
||||||
|
exitCode = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
os.Exit(exitCode)
|
||||||
|
}
|
106
build/lint-locale/lint-locale_test.go
Normal file
106
build/lint-locale/lint-locale_test.go
Normal file
|
@ -0,0 +1,106 @@
|
||||||
|
// Copyright 2024 The Forgejo Authors. All rights reserved.
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestLocalizationPolicy(t *testing.T) {
|
||||||
|
initBlueMondayPolicy()
|
||||||
|
initRemoveTags()
|
||||||
|
|
||||||
|
t.Run("Remove tags", func(t *testing.T) {
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte(`hidden_comment_types_description = Comment types checked here will not be shown inside issue pages. Checking "Label" for example removes all "<user> added/removed <label>" comments.`)))
|
||||||
|
|
||||||
|
assert.Equal(t, []string{"key: \x1b[31m<not-an-allowed-key>\x1b[0m REPLACED-TAG"}, checkLocaleContent([]byte(`key = "<not-an-allowed-key> <label>"`)))
|
||||||
|
assert.Equal(t, []string{"key: \x1b[31m<user@example.com>\x1b[0m REPLACED-TAG"}, checkLocaleContent([]byte(`key = "<user@example.com> <email@example.com>"`)))
|
||||||
|
assert.Equal(t, []string{"key: \x1b[31m<tag>\x1b[0m REPLACED-TAG \x1b[31m</tag>\x1b[0m"}, checkLocaleContent([]byte(`key = "<tag> <email@example.com> </tag>"`)))
|
||||||
|
})
|
||||||
|
|
||||||
|
t.Run("Specific exception", func(t *testing.T) {
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte(`workflow.dispatch.trigger_found = This workflow has a <c>workflow_dispatch</c> event trigger.`)))
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte(`pulls.title_desc_one = wants to merge %[1]d commit from <code>%[2]s</code> into <code id="%[4]s">%[3]s</code>`)))
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte(`editor.commit_directly_to_this_branch = Commit directly to the <strong class="%[2]s">%[1]s</strong> branch.`)))
|
||||||
|
|
||||||
|
assert.Equal(t, []string{"workflow.dispatch.trigger_found: This workflow has a \x1b[31m<d>\x1b[0mworkflow_dispatch\x1b[31m</d>\x1b[0m event trigger."}, checkLocaleContent([]byte(`workflow.dispatch.trigger_found = This workflow has a <d>workflow_dispatch</d> event trigger.`)))
|
||||||
|
assert.Equal(t, []string{"key: <code\x1b[31m id=\"branch_targe\"\x1b[0m>%[3]s</code>"}, checkLocaleContent([]byte(`key = <code id="branch_targe">%[3]s</code>`)))
|
||||||
|
assert.Equal(t, []string{"key: <a\x1b[31m class=\"ui sh\"\x1b[0m href=\"https://TO-BE-REPLACED.COM\">"}, checkLocaleContent([]byte(`key = <a class="ui sh" href="%[3]s">`)))
|
||||||
|
assert.Equal(t, []string{"key: <a\x1b[31m class=\"js-click-me\"\x1b[0m href=\"https://TO-BE-REPLACED.COM\">"}, checkLocaleContent([]byte(`key = <a class="js-click-me" href="%[3]s">`)))
|
||||||
|
assert.Equal(t, []string{"key: <strong\x1b[31m class=\"branch-target\"\x1b[0m>%[1]s</strong>"}, checkLocaleContent([]byte(`key = <strong class="branch-target">%[1]s</strong>`)))
|
||||||
|
})
|
||||||
|
|
||||||
|
t.Run("General safe tags", func(t *testing.T) {
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte("error404 = The page you are trying to reach either <strong>does not exist</strong> or <strong>you are not authorized</strong> to view it.")))
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte("teams.specific_repositories_helper = Members will only have access to repositories explicitly added to the team. Selecting this <strong>will not</strong> automatically remove repositories already added with <i>All repositories</i>.")))
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte("sqlite_helper = File path for the SQLite3 database.<br>Enter an absolute path if you run Forgejo as a service.")))
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte("hi_user_x = Hi <b>%s</b>,")))
|
||||||
|
|
||||||
|
assert.Equal(t, []string{"error404: The page you are trying to reach either <strong\x1b[31m title='aaa'\x1b[0m>does not exist</strong> or <strong>you are not authorized</strong> to view it."}, checkLocaleContent([]byte("error404 = The page you are trying to reach either <strong title='aaa'>does not exist</strong> or <strong>you are not authorized</strong> to view it.")))
|
||||||
|
})
|
||||||
|
|
||||||
|
t.Run("<a>", func(t *testing.T) {
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte(`admin.new_user.text = Please <a href="%s">click here</a> to manage this user from the admin panel.`)))
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte(`access_token_desc = Selected token permissions limit authorization only to the corresponding <a href="%[1]s" target="_blank">API</a> routes. Read the <a href="%[2]s" target="_blank">documentation</a> for more information.`)))
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte(`webauthn_desc = Security keys are hardware devices containing cryptographic keys. They can be used for two-factor authentication. Security keys must support the <a rel="noreferrer" target="_blank" href="%s">WebAuthn Authenticator</a> standard.`)))
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte("issues.closed_at = `closed this issue <a id=\"%[1]s\" href=\"#%[1]s\">%[2]s</a>`")))
|
||||||
|
|
||||||
|
assert.Equal(t, []string{"key: \x1b[31m<a href=\"https://example.com\">\x1b[0m"}, checkLocaleContent([]byte(`key = <a href="https://example.com">`)))
|
||||||
|
assert.Equal(t, []string{"key: \x1b[31m<a href=\"javascript:alert('1')\">\x1b[0m"}, checkLocaleContent([]byte(`key = <a href="javascript:alert('1')">`)))
|
||||||
|
assert.Equal(t, []string{"key: <a href=\"https://TO-BE-REPLACED.COM\"\x1b[31m download\x1b[0m>"}, checkLocaleContent([]byte(`key = <a href="%s" download>`)))
|
||||||
|
assert.Equal(t, []string{"key: <a href=\"https://TO-BE-REPLACED.COM\"\x1b[31m target=\"_self\"\x1b[0m>"}, checkLocaleContent([]byte(`key = <a href="%s" target="_self">`)))
|
||||||
|
assert.Equal(t, []string{"key: \x1b[31m<a href=\"https://example.com/%s\">\x1b[0m"}, checkLocaleContent([]byte(`key = <a href="https://example.com/%s">`)))
|
||||||
|
assert.Equal(t, []string{"key: \x1b[31m<a href=\"https://example.com/?q=%s\">\x1b[0m"}, checkLocaleContent([]byte(`key = <a href="https://example.com/?q=%s">`)))
|
||||||
|
assert.Equal(t, []string{"key: \x1b[31m<a href=\"%s/open-redirect\">\x1b[0m"}, checkLocaleContent([]byte(`key = <a href="%s/open-redirect">`)))
|
||||||
|
assert.Equal(t, []string{"key: \x1b[31m<a href=\"%s?q=open-redirect\">\x1b[0m"}, checkLocaleContent([]byte(`key = <a href="%s?q=open-redirect">`)))
|
||||||
|
})
|
||||||
|
|
||||||
|
t.Run("Escaped HTML characters", func(t *testing.T) {
|
||||||
|
assert.Empty(t, checkLocaleContent([]byte("activity.git_stats_push_to_branch = `إلى %s و\"`")))
|
||||||
|
|
||||||
|
assert.Equal(t, []string{"key: و\x1b[31m \x1b[0m\x1b[32m\u00a0\x1b[0m"}, checkLocaleContent([]byte(`key = و `)))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestNextLocalizationPolicy(t *testing.T) {
|
||||||
|
initBlueMondayPolicy()
|
||||||
|
initRemoveTags()
|
||||||
|
|
||||||
|
t.Run("Nested locales", func(t *testing.T) {
|
||||||
|
assert.Empty(t, checkLocaleNextContent([]byte(`{
|
||||||
|
"settings": {
|
||||||
|
"hidden_comment_types_description": "Comment types checked here will not be shown inside issue pages. Checking \"Label\" for example removes all \"<user> added/removed <label>\" comments."
|
||||||
|
}
|
||||||
|
}`)))
|
||||||
|
|
||||||
|
assert.Equal(t, []string{"settings.hidden_comment_types_description: \"\x1b[31m<not-an-allowed-key>\x1b[0m REPLACED-TAG\""}, checkLocaleNextContent([]byte(`{
|
||||||
|
"settings": {
|
||||||
|
"hidden_comment_types_description": "\"<not-an-allowed-key> <label>\""
|
||||||
|
}
|
||||||
|
}`)))
|
||||||
|
})
|
||||||
|
|
||||||
|
t.Run("Flat locales", func(t *testing.T) {
|
||||||
|
assert.Empty(t, checkLocaleNextContent([]byte(`{
|
||||||
|
"settings.hidden_comment_types_description": "Comment types checked here will not be shown inside issue pages. Checking \"Label\" for example removes all \"<user> added/removed <label>\" comments."
|
||||||
|
}`)))
|
||||||
|
|
||||||
|
assert.Equal(t, []string{"settings.hidden_comment_types_description: \"\x1b[31m<not-an-allowed-key>\x1b[0m REPLACED-TAG\""}, checkLocaleNextContent([]byte(`{
|
||||||
|
"settings.hidden_comment_types_description": "\"<not-an-allowed-key> <label>\""
|
||||||
|
}`)))
|
||||||
|
})
|
||||||
|
|
||||||
|
t.Run("Plural form", func(t *testing.T) {
|
||||||
|
assert.Equal(t, []string{"repo.pulls.title_desc: key = \x1b[31m<a href=\"https://example.com\">\x1b[0m"}, checkLocaleNextContent([]byte(`{"repo.pulls.title_desc": {
|
||||||
|
"few": "key = <a href=\"%s\">",
|
||||||
|
"other": "key = <a href=\"https://example.com\">"
|
||||||
|
}}`)))
|
||||||
|
|
||||||
|
assert.Equal(t, []string{"repo.pulls.title_desc.few: key = \x1b[31m<a href=\"https://example.com\">\x1b[0m"}, checkLocaleNextContent([]byte(`{"repo.pulls.title_desc": {
|
||||||
|
"few": "key = <a href=\"https://example.com\">",
|
||||||
|
"other": "key = <a href=\"%s\">"
|
||||||
|
}}`)))
|
||||||
|
})
|
||||||
|
}
|
|
@ -1,52 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# this script runs in alpine image which only has `sh` shell
|
|
||||||
|
|
||||||
set +e
|
|
||||||
if sed --version 2>/dev/null | grep -q GNU; then
|
|
||||||
SED_INPLACE="sed -i"
|
|
||||||
else
|
|
||||||
SED_INPLACE="sed -i ''"
|
|
||||||
fi
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ ! -f ./options/locale/locale_en-US.ini ]; then
|
|
||||||
echo "please run this script in the root directory of the project"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
mv ./options/locale/locale_en-US.ini ./options/
|
|
||||||
|
|
||||||
# the "ini" library for locale has many quirks, its behavior is different from Crowdin.
|
|
||||||
# see i18n_test.go for more details
|
|
||||||
|
|
||||||
# this script helps to unquote the Crowdin outputs for the quirky ini library
|
|
||||||
# * find all `key="...\"..."` lines
|
|
||||||
# * remove the leading quote
|
|
||||||
# * remove the trailing quote
|
|
||||||
# * unescape the quotes
|
|
||||||
# * eg: key="...\"..." => key=..."...
|
|
||||||
$SED_INPLACE -r -e '/^[-.A-Za-z0-9_]+[ ]*=[ ]*".*"$/ {
|
|
||||||
s/^([-.A-Za-z0-9_]+)[ ]*=[ ]*"/\1=/
|
|
||||||
s/"$//
|
|
||||||
s/\\"/"/g
|
|
||||||
}' ./options/locale/*.ini
|
|
||||||
|
|
||||||
# * if the escaped line is incomplete like `key="...` or `key=..."`, quote it with backticks
|
|
||||||
# * eg: key="... => key=`"...`
|
|
||||||
# * eg: key=..." => key=`..."`
|
|
||||||
$SED_INPLACE -r -e 's/^([-.A-Za-z0-9_]+)[ ]*=[ ]*(".*[^"])$/\1=`\2`/' ./options/locale/*.ini
|
|
||||||
$SED_INPLACE -r -e 's/^([-.A-Za-z0-9_]+)[ ]*=[ ]*([^"].*")$/\1=`\2`/' ./options/locale/*.ini
|
|
||||||
|
|
||||||
# Remove translation under 25% of en_us
|
|
||||||
baselines=$(wc -l "./options/locale_en-US.ini" | cut -d" " -f1)
|
|
||||||
baselines=$((baselines / 4))
|
|
||||||
for filename in ./options/locale/*.ini; do
|
|
||||||
lines=$(wc -l "$filename" | cut -d" " -f1)
|
|
||||||
if [ $lines -lt $baselines ]; then
|
|
||||||
echo "Removing $filename: $lines/$baselines"
|
|
||||||
rm "$filename"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
mv ./options/locale_en-US.ini ./options/locale/
|
|
|
@ -6,8 +6,8 @@ package cmd
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/private"
|
"forgejo.org/modules/private"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
12
cmd/admin.go
12
cmd/admin.go
|
@ -8,12 +8,12 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/db"
|
"forgejo.org/models/db"
|
||||||
repo_model "code.gitea.io/gitea/models/repo"
|
repo_model "forgejo.org/models/repo"
|
||||||
"code.gitea.io/gitea/modules/git"
|
"forgejo.org/modules/git"
|
||||||
"code.gitea.io/gitea/modules/gitrepo"
|
"forgejo.org/modules/gitrepo"
|
||||||
"code.gitea.io/gitea/modules/log"
|
"forgejo.org/modules/log"
|
||||||
repo_module "code.gitea.io/gitea/modules/repository"
|
repo_module "forgejo.org/modules/repository"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,13 +4,14 @@
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"text/tabwriter"
|
"text/tabwriter"
|
||||||
|
|
||||||
auth_model "code.gitea.io/gitea/models/auth"
|
auth_model "forgejo.org/models/auth"
|
||||||
"code.gitea.io/gitea/models/db"
|
"forgejo.org/models/db"
|
||||||
auth_service "code.gitea.io/gitea/services/auth"
|
auth_service "forgejo.org/services/auth"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -91,7 +92,7 @@ func runListAuth(c *cli.Context) error {
|
||||||
|
|
||||||
func runDeleteAuth(c *cli.Context) error {
|
func runDeleteAuth(c *cli.Context) error {
|
||||||
if !c.IsSet("id") {
|
if !c.IsSet("id") {
|
||||||
return fmt.Errorf("--id flag is missing")
|
return errors.New("--id flag is missing")
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx, cancel := installSignals()
|
ctx, cancel := installSignals()
|
||||||
|
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/auth"
|
"forgejo.org/models/auth"
|
||||||
"code.gitea.io/gitea/services/auth/source/ldap"
|
"forgejo.org/services/auth/source/ldap"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -386,7 +386,7 @@ func (a *authService) addLdapSimpleAuth(c *cli.Context) error {
|
||||||
return a.createAuthSource(ctx, authSource)
|
return a.createAuthSource(ctx, authSource)
|
||||||
}
|
}
|
||||||
|
|
||||||
// updateLdapBindDn updates a new LDAP (simple auth) authentication source.
|
// updateLdapSimpleAuth updates a new LDAP (simple auth) authentication source.
|
||||||
func (a *authService) updateLdapSimpleAuth(c *cli.Context) error {
|
func (a *authService) updateLdapSimpleAuth(c *cli.Context) error {
|
||||||
ctx, cancel := installSignals()
|
ctx, cancel := installSignals()
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
|
@ -7,10 +7,11 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/auth"
|
"forgejo.org/models/auth"
|
||||||
"code.gitea.io/gitea/services/auth/source/ldap"
|
"forgejo.org/services/auth/source/ldap"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -215,11 +216,11 @@ func TestAddLdapBindDn(t *testing.T) {
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
updateAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
updateAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
||||||
assert.FailNow(t, "case %d: should not call updateAuthSource", n)
|
assert.FailNow(t, "should not call updateAuthSource", "case: %d", n)
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
getAuthSourceByID: func(ctx context.Context, id int64) (*auth.Source, error) {
|
getAuthSourceByID: func(ctx context.Context, id int64) (*auth.Source, error) {
|
||||||
assert.FailNow(t, "case %d: should not call getAuthSourceByID", n)
|
assert.FailNow(t, "should not call getAuthSourceByID", "case: %d", n)
|
||||||
return nil, nil
|
return nil, nil
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -234,7 +235,7 @@ func TestAddLdapBindDn(t *testing.T) {
|
||||||
if c.errMsg != "" {
|
if c.errMsg != "" {
|
||||||
assert.EqualError(t, err, c.errMsg, "case %d: error should match", n)
|
assert.EqualError(t, err, c.errMsg, "case %d: error should match", n)
|
||||||
} else {
|
} else {
|
||||||
assert.NoError(t, err, "case %d: should have no errors", n)
|
require.NoError(t, err, "case %d: should have no errors", n)
|
||||||
assert.Equal(t, c.source, createdAuthSource, "case %d: wrong authSource", n)
|
assert.Equal(t, c.source, createdAuthSource, "case %d: wrong authSource", n)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -446,11 +447,11 @@ func TestAddLdapSimpleAuth(t *testing.T) {
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
updateAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
updateAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
||||||
assert.FailNow(t, "case %d: should not call updateAuthSource", n)
|
assert.FailNow(t, "should not call updateAuthSource", "case: %d", n)
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
getAuthSourceByID: func(ctx context.Context, id int64) (*auth.Source, error) {
|
getAuthSourceByID: func(ctx context.Context, id int64) (*auth.Source, error) {
|
||||||
assert.FailNow(t, "case %d: should not call getAuthSourceByID", n)
|
assert.FailNow(t, "should not call getAuthSourceByID", "case: %d", n)
|
||||||
return nil, nil
|
return nil, nil
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -465,7 +466,7 @@ func TestAddLdapSimpleAuth(t *testing.T) {
|
||||||
if c.errMsg != "" {
|
if c.errMsg != "" {
|
||||||
assert.EqualError(t, err, c.errMsg, "case %d: error should match", n)
|
assert.EqualError(t, err, c.errMsg, "case %d: error should match", n)
|
||||||
} else {
|
} else {
|
||||||
assert.NoError(t, err, "case %d: should have no errors", n)
|
require.NoError(t, err, "case %d: should have no errors", n)
|
||||||
assert.Equal(t, c.authSource, createdAuthSource, "case %d: wrong authSource", n)
|
assert.Equal(t, c.authSource, createdAuthSource, "case %d: wrong authSource", n)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -897,7 +898,7 @@ func TestUpdateLdapBindDn(t *testing.T) {
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
createAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
createAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
||||||
assert.FailNow(t, "case %d: should not call createAuthSource", n)
|
assert.FailNow(t, "should not call createAuthSource", "case: %d", n)
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
updateAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
updateAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
||||||
|
@ -928,7 +929,7 @@ func TestUpdateLdapBindDn(t *testing.T) {
|
||||||
if c.errMsg != "" {
|
if c.errMsg != "" {
|
||||||
assert.EqualError(t, err, c.errMsg, "case %d: error should match", n)
|
assert.EqualError(t, err, c.errMsg, "case %d: error should match", n)
|
||||||
} else {
|
} else {
|
||||||
assert.NoError(t, err, "case %d: should have no errors", n)
|
require.NoError(t, err, "case %d: should have no errors", n)
|
||||||
assert.Equal(t, c.authSource, updatedAuthSource, "case %d: wrong authSource", n)
|
assert.Equal(t, c.authSource, updatedAuthSource, "case %d: wrong authSource", n)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1287,7 +1288,7 @@ func TestUpdateLdapSimpleAuth(t *testing.T) {
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
createAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
createAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
||||||
assert.FailNow(t, "case %d: should not call createAuthSource", n)
|
assert.FailNow(t, "should not call createAuthSource", "case: %d", n)
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
updateAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
updateAuthSource: func(ctx context.Context, authSource *auth.Source) error {
|
||||||
|
@ -1318,7 +1319,7 @@ func TestUpdateLdapSimpleAuth(t *testing.T) {
|
||||||
if c.errMsg != "" {
|
if c.errMsg != "" {
|
||||||
assert.EqualError(t, err, c.errMsg, "case %d: error should match", n)
|
assert.EqualError(t, err, c.errMsg, "case %d: error should match", n)
|
||||||
} else {
|
} else {
|
||||||
assert.NoError(t, err, "case %d: should have no errors", n)
|
require.NoError(t, err, "case %d: should have no errors", n)
|
||||||
assert.Equal(t, c.authSource, updatedAuthSource, "case %d: wrong authSource", n)
|
assert.Equal(t, c.authSource, updatedAuthSource, "case %d: wrong authSource", n)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,11 +4,12 @@
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
auth_model "code.gitea.io/gitea/models/auth"
|
auth_model "forgejo.org/models/auth"
|
||||||
"code.gitea.io/gitea/services/auth/source/oauth2"
|
"forgejo.org/services/auth/source/oauth2"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -193,7 +194,7 @@ func runAddOauth(c *cli.Context) error {
|
||||||
|
|
||||||
func runUpdateOauth(c *cli.Context) error {
|
func runUpdateOauth(c *cli.Context) error {
|
||||||
if !c.IsSet("id") {
|
if !c.IsSet("id") {
|
||||||
return fmt.Errorf("--id flag is missing")
|
return errors.New("--id flag is missing")
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx, cancel := installSignals()
|
ctx, cancel := installSignals()
|
||||||
|
|
|
@ -5,12 +5,11 @@ package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
auth_model "code.gitea.io/gitea/models/auth"
|
auth_model "forgejo.org/models/auth"
|
||||||
"code.gitea.io/gitea/modules/util"
|
"forgejo.org/modules/util"
|
||||||
"code.gitea.io/gitea/services/auth/source/smtp"
|
"forgejo.org/services/auth/source/smtp"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -166,7 +165,7 @@ func runAddSMTP(c *cli.Context) error {
|
||||||
|
|
||||||
func runUpdateSMTP(c *cli.Context) error {
|
func runUpdateSMTP(c *cli.Context) error {
|
||||||
if !c.IsSet("id") {
|
if !c.IsSet("id") {
|
||||||
return fmt.Errorf("--id flag is missing")
|
return errors.New("--id flag is missing")
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx, cancel := installSignals()
|
ctx, cancel := installSignals()
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
asymkey_model "code.gitea.io/gitea/models/asymkey"
|
asymkey_model "forgejo.org/models/asymkey"
|
||||||
"code.gitea.io/gitea/modules/graceful"
|
"forgejo.org/modules/graceful"
|
||||||
repo_service "code.gitea.io/gitea/services/repository"
|
repo_service "forgejo.org/services/repository"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,11 +7,11 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
user_model "code.gitea.io/gitea/models/user"
|
user_model "forgejo.org/models/user"
|
||||||
"code.gitea.io/gitea/modules/auth/password"
|
"forgejo.org/modules/auth/password"
|
||||||
"code.gitea.io/gitea/modules/optional"
|
"forgejo.org/modules/optional"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
user_service "code.gitea.io/gitea/services/user"
|
user_service "forgejo.org/services/user"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -36,6 +36,7 @@ var microcmdUserChangePassword = &cli.Command{
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "must-change-password",
|
Name: "must-change-password",
|
||||||
Usage: "User must change password",
|
Usage: "User must change password",
|
||||||
|
Value: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -57,23 +58,18 @@ func runChangePassword(c *cli.Context) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
var mustChangePassword optional.Option[bool]
|
|
||||||
if c.IsSet("must-change-password") {
|
|
||||||
mustChangePassword = optional.Some(c.Bool("must-change-password"))
|
|
||||||
}
|
|
||||||
|
|
||||||
opts := &user_service.UpdateAuthOptions{
|
opts := &user_service.UpdateAuthOptions{
|
||||||
Password: optional.Some(c.String("password")),
|
Password: optional.Some(c.String("password")),
|
||||||
MustChangePassword: mustChangePassword,
|
MustChangePassword: optional.Some(c.Bool("must-change-password")),
|
||||||
}
|
}
|
||||||
if err := user_service.UpdateAuth(ctx, user, opts); err != nil {
|
if err := user_service.UpdateAuth(ctx, user, opts); err != nil {
|
||||||
switch {
|
switch {
|
||||||
case errors.Is(err, password.ErrMinLength):
|
case errors.Is(err, password.ErrMinLength):
|
||||||
return fmt.Errorf("Password is not long enough. Needs to be at least %d", setting.MinPasswordLength)
|
return fmt.Errorf("password is not long enough, needs to be at least %d characters", setting.MinPasswordLength)
|
||||||
case errors.Is(err, password.ErrComplexity):
|
case errors.Is(err, password.ErrComplexity):
|
||||||
return errors.New("Password does not meet complexity requirements")
|
return errors.New("password does not meet complexity requirements")
|
||||||
case errors.Is(err, password.ErrIsPwned):
|
case errors.Is(err, password.ErrIsPwned):
|
||||||
return errors.New("The password you chose is on a list of stolen passwords previously exposed in public data breaches. Please try again with a different password.\nFor more details, see https://haveibeenpwned.com/Passwords")
|
return errors.New("the password is in a list of stolen passwords previously exposed in public data breaches, please try again with a different password, to see more details: https://haveibeenpwned.com/Passwords")
|
||||||
default:
|
default:
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,12 +6,14 @@ package cmd
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"strings"
|
||||||
|
|
||||||
auth_model "code.gitea.io/gitea/models/auth"
|
auth_model "forgejo.org/models/auth"
|
||||||
user_model "code.gitea.io/gitea/models/user"
|
"forgejo.org/models/db"
|
||||||
pwd "code.gitea.io/gitea/modules/auth/password"
|
user_model "forgejo.org/models/user"
|
||||||
"code.gitea.io/gitea/modules/optional"
|
pwd "forgejo.org/modules/auth/password"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/optional"
|
||||||
|
"forgejo.org/modules/setting"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -46,9 +48,10 @@ var microcmdUserCreate = &cli.Command{
|
||||||
Usage: "Generate a random password for the user",
|
Usage: "Generate a random password for the user",
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "must-change-password",
|
Name: "must-change-password",
|
||||||
Usage: "Set this option to false to prevent forcing the user to change their password after initial login",
|
Usage: "Set this option to false to prevent forcing the user to change their password after initial login",
|
||||||
Value: true,
|
Value: true,
|
||||||
|
DisableDefaultText: true,
|
||||||
},
|
},
|
||||||
&cli.IntFlag{
|
&cli.IntFlag{
|
||||||
Name: "random-password-length",
|
Name: "random-password-length",
|
||||||
|
@ -59,23 +62,41 @@ var microcmdUserCreate = &cli.Command{
|
||||||
Name: "access-token",
|
Name: "access-token",
|
||||||
Usage: "Generate access token for the user",
|
Usage: "Generate access token for the user",
|
||||||
},
|
},
|
||||||
|
&cli.StringFlag{
|
||||||
|
Name: "access-token-name",
|
||||||
|
Usage: `Name of the generated access token`,
|
||||||
|
Value: "gitea-admin",
|
||||||
|
},
|
||||||
|
&cli.StringFlag{
|
||||||
|
Name: "access-token-scopes",
|
||||||
|
Usage: `Scopes of the generated access token, comma separated. Examples: "all", "public-only,read:issue", "write:repository,write:user"`,
|
||||||
|
Value: "all",
|
||||||
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "restricted",
|
Name: "restricted",
|
||||||
Usage: "Make a restricted user account",
|
Usage: "Make a restricted user account",
|
||||||
},
|
},
|
||||||
|
&cli.StringFlag{
|
||||||
|
Name: "fullname",
|
||||||
|
Usage: `The full, human-readable name of the user`,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
func runCreateUser(c *cli.Context) error {
|
func runCreateUser(c *cli.Context) error {
|
||||||
|
// this command highly depends on the many setting options (create org, visibility, etc.), so it must have a full setting load first
|
||||||
|
// duplicate setting loading should be safe at the moment, but it should be refactored & improved in the future.
|
||||||
|
setting.LoadSettings()
|
||||||
|
|
||||||
if err := argsSet(c, "email"); err != nil {
|
if err := argsSet(c, "email"); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.IsSet("name") && c.IsSet("username") {
|
if c.IsSet("name") && c.IsSet("username") {
|
||||||
return errors.New("Cannot set both --name and --username flags")
|
return errors.New("cannot set both --name and --username flags")
|
||||||
}
|
}
|
||||||
if !c.IsSet("name") && !c.IsSet("username") {
|
if !c.IsSet("name") && !c.IsSet("username") {
|
||||||
return errors.New("One of --name or --username flags must be set")
|
return errors.New("one of --name or --username flags must be set")
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.IsSet("password") && c.IsSet("random-password") {
|
if c.IsSet("password") && c.IsSet("random-password") {
|
||||||
|
@ -111,12 +132,21 @@ func runCreateUser(c *cli.Context) error {
|
||||||
return errors.New("must set either password or random-password flag")
|
return errors.New("must set either password or random-password flag")
|
||||||
}
|
}
|
||||||
|
|
||||||
changePassword := c.Bool("must-change-password")
|
isAdmin := c.Bool("admin")
|
||||||
|
mustChangePassword := true // always default to true
|
||||||
// If this is the first user being created.
|
if c.IsSet("must-change-password") {
|
||||||
// Take it as the admin and don't force a password update.
|
// if the flag is set, use the value provided by the user
|
||||||
if n := user_model.CountUsers(ctx, nil); n == 0 {
|
mustChangePassword = c.Bool("must-change-password")
|
||||||
changePassword = false
|
} else {
|
||||||
|
// check whether there are users in the database
|
||||||
|
hasUserRecord, err := db.IsTableNotEmpty(&user_model.User{})
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("IsTableNotEmpty: %w", err)
|
||||||
|
}
|
||||||
|
if !hasUserRecord {
|
||||||
|
// if this is the first admin being created, don't force to change password (keep the old behavior)
|
||||||
|
mustChangePassword = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
restricted := optional.None[bool]()
|
restricted := optional.None[bool]()
|
||||||
|
@ -132,9 +162,10 @@ func runCreateUser(c *cli.Context) error {
|
||||||
Name: username,
|
Name: username,
|
||||||
Email: c.String("email"),
|
Email: c.String("email"),
|
||||||
Passwd: password,
|
Passwd: password,
|
||||||
IsAdmin: c.Bool("admin"),
|
IsAdmin: isAdmin,
|
||||||
MustChangePassword: changePassword,
|
MustChangePassword: mustChangePassword,
|
||||||
Visibility: visibility,
|
Visibility: visibility,
|
||||||
|
FullName: c.String("fullname"),
|
||||||
}
|
}
|
||||||
|
|
||||||
overwriteDefault := &user_model.CreateUserOverwriteOptions{
|
overwriteDefault := &user_model.CreateUserOverwriteOptions{
|
||||||
|
@ -142,23 +173,40 @@ func runCreateUser(c *cli.Context) error {
|
||||||
IsRestricted: restricted,
|
IsRestricted: restricted,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var accessTokenName string
|
||||||
|
var accessTokenScope auth_model.AccessTokenScope
|
||||||
|
if c.IsSet("access-token") {
|
||||||
|
accessTokenName = strings.TrimSpace(c.String("access-token-name"))
|
||||||
|
if accessTokenName == "" {
|
||||||
|
return errors.New("access-token-name cannot be empty")
|
||||||
|
}
|
||||||
|
var err error
|
||||||
|
accessTokenScope, err = auth_model.AccessTokenScope(c.String("access-token-scopes")).Normalize()
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("invalid access token scope provided: %w", err)
|
||||||
|
}
|
||||||
|
if !accessTokenScope.HasPermissionScope() {
|
||||||
|
return errors.New("access token does not have any permission")
|
||||||
|
}
|
||||||
|
} else if c.IsSet("access-token-name") || c.IsSet("access-token-scopes") {
|
||||||
|
return errors.New("access-token-name and access-token-scopes flags are only valid when access-token flag is set")
|
||||||
|
}
|
||||||
|
|
||||||
|
// arguments should be prepared before creating the user & access token, in case there is anything wrong
|
||||||
|
|
||||||
|
// create the user
|
||||||
if err := user_model.CreateUser(ctx, u, overwriteDefault); err != nil {
|
if err := user_model.CreateUser(ctx, u, overwriteDefault); err != nil {
|
||||||
return fmt.Errorf("CreateUser: %w", err)
|
return fmt.Errorf("CreateUser: %w", err)
|
||||||
}
|
}
|
||||||
|
fmt.Printf("New user '%s' has been successfully created!\n", username)
|
||||||
|
|
||||||
if c.Bool("access-token") {
|
// create the access token
|
||||||
t := &auth_model.AccessToken{
|
if accessTokenScope != "" {
|
||||||
Name: "gitea-admin",
|
t := &auth_model.AccessToken{Name: accessTokenName, UID: u.ID, Scope: accessTokenScope}
|
||||||
UID: u.ID,
|
|
||||||
}
|
|
||||||
|
|
||||||
if err := auth_model.NewAccessToken(ctx, t); err != nil {
|
if err := auth_model.NewAccessToken(ctx, t); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("Access token was successfully created... %s\n", t.Token)
|
fmt.Printf("Access token was successfully created... %s\n", t.Token)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("New user '%s' has been successfully created!\n", username)
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,12 +4,13 @@
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
user_model "code.gitea.io/gitea/models/user"
|
user_model "forgejo.org/models/user"
|
||||||
"code.gitea.io/gitea/modules/storage"
|
"forgejo.org/modules/storage"
|
||||||
user_service "code.gitea.io/gitea/services/user"
|
user_service "forgejo.org/services/user"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -42,7 +43,7 @@ var microcmdUserDelete = &cli.Command{
|
||||||
|
|
||||||
func runDeleteUser(c *cli.Context) error {
|
func runDeleteUser(c *cli.Context) error {
|
||||||
if !c.IsSet("id") && !c.IsSet("username") && !c.IsSet("email") {
|
if !c.IsSet("id") && !c.IsSet("username") && !c.IsSet("email") {
|
||||||
return fmt.Errorf("You must provide the id, username or email of a user to delete")
|
return errors.New("You must provide the id, username or email of a user to delete")
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx, cancel := installSignals()
|
ctx, cancel := installSignals()
|
||||||
|
|
|
@ -4,10 +4,11 @@
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
auth_model "code.gitea.io/gitea/models/auth"
|
auth_model "forgejo.org/models/auth"
|
||||||
user_model "code.gitea.io/gitea/models/user"
|
user_model "forgejo.org/models/user"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -33,8 +34,8 @@ var microcmdUserGenerateAccessToken = &cli.Command{
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "scopes",
|
Name: "scopes",
|
||||||
Value: "",
|
Value: "all",
|
||||||
Usage: "Comma separated list of scopes to apply to access token",
|
Usage: `Comma separated list of scopes to apply to access token, examples: "all", "public-only,read:issue", "write:repository,write:user"`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Action: runGenerateAccessToken,
|
Action: runGenerateAccessToken,
|
||||||
|
@ -42,7 +43,7 @@ var microcmdUserGenerateAccessToken = &cli.Command{
|
||||||
|
|
||||||
func runGenerateAccessToken(c *cli.Context) error {
|
func runGenerateAccessToken(c *cli.Context) error {
|
||||||
if !c.IsSet("username") {
|
if !c.IsSet("username") {
|
||||||
return fmt.Errorf("You must provide a username to generate a token for")
|
return errors.New("you must provide a username to generate a token for")
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx, cancel := installSignals()
|
ctx, cancel := installSignals()
|
||||||
|
@ -68,7 +69,7 @@ func runGenerateAccessToken(c *cli.Context) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if exist {
|
if exist {
|
||||||
return fmt.Errorf("access token name has been used already")
|
return errors.New("access token name has been used already")
|
||||||
}
|
}
|
||||||
|
|
||||||
// make sure the scopes are valid
|
// make sure the scopes are valid
|
||||||
|
@ -76,6 +77,9 @@ func runGenerateAccessToken(c *cli.Context) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("invalid access token scope provided: %w", err)
|
return fmt.Errorf("invalid access token scope provided: %w", err)
|
||||||
}
|
}
|
||||||
|
if !accessTokenScope.HasPermissionScope() {
|
||||||
|
return errors.New("access token does not have any permission")
|
||||||
|
}
|
||||||
t.Scope = accessTokenScope
|
t.Scope = accessTokenScope
|
||||||
|
|
||||||
// create the token
|
// create the token
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"text/tabwriter"
|
"text/tabwriter"
|
||||||
|
|
||||||
user_model "code.gitea.io/gitea/models/user"
|
user_model "forgejo.org/models/user"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
user_model "code.gitea.io/gitea/models/user"
|
user_model "forgejo.org/models/user"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
|
@ -15,10 +15,10 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/db"
|
"forgejo.org/models/db"
|
||||||
"code.gitea.io/gitea/modules/log"
|
"forgejo.org/modules/log"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
"code.gitea.io/gitea/modules/util"
|
"forgejo.org/modules/util"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
|
@ -11,16 +11,15 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"text/tabwriter"
|
"text/tabwriter"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/db"
|
"forgejo.org/models/db"
|
||||||
"code.gitea.io/gitea/models/migrations"
|
"forgejo.org/models/migrations"
|
||||||
migrate_base "code.gitea.io/gitea/models/migrations/base"
|
migrate_base "forgejo.org/models/migrations/base"
|
||||||
"code.gitea.io/gitea/modules/container"
|
"forgejo.org/modules/container"
|
||||||
"code.gitea.io/gitea/modules/log"
|
"forgejo.org/modules/log"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
"code.gitea.io/gitea/services/doctor"
|
"forgejo.org/services/doctor"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"xorm.io/xorm"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// CmdDoctor represents the available doctor sub-command.
|
// CmdDoctor represents the available doctor sub-command.
|
||||||
|
@ -120,7 +119,7 @@ func runRecreateTable(ctx *cli.Context) error {
|
||||||
|
|
||||||
args := ctx.Args()
|
args := ctx.Args()
|
||||||
names := make([]string, 0, ctx.NArg())
|
names := make([]string, 0, ctx.NArg())
|
||||||
for i := 0; i < ctx.NArg(); i++ {
|
for i := range ctx.NArg() {
|
||||||
names = append(names, args.Get(i))
|
names = append(names, args.Get(i))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,11 +129,17 @@ func runRecreateTable(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
recreateTables := migrate_base.RecreateTables(beans...)
|
recreateTables := migrate_base.RecreateTables(beans...)
|
||||||
|
|
||||||
return db.InitEngineWithMigration(stdCtx, func(x *xorm.Engine) error {
|
return db.InitEngineWithMigration(stdCtx, func(x db.Engine) error {
|
||||||
if err := migrations.EnsureUpToDate(x); err != nil {
|
engine, err := db.GetMasterEngine(x)
|
||||||
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return recreateTables(x)
|
|
||||||
|
if err := migrations.EnsureUpToDate(engine); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return recreateTables(engine)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,11 +148,12 @@ func setupDoctorDefaultLogger(ctx *cli.Context, colorize bool) {
|
||||||
setupConsoleLogger(log.FATAL, log.CanColorStderr, os.Stderr)
|
setupConsoleLogger(log.FATAL, log.CanColorStderr, os.Stderr)
|
||||||
|
|
||||||
logFile := ctx.String("log-file")
|
logFile := ctx.String("log-file")
|
||||||
if logFile == "" {
|
switch logFile {
|
||||||
|
case "":
|
||||||
return // if no doctor log-file is set, do not show any log from default logger
|
return // if no doctor log-file is set, do not show any log from default logger
|
||||||
} else if logFile == "-" {
|
case "-":
|
||||||
setupConsoleLogger(log.TRACE, colorize, os.Stdout)
|
setupConsoleLogger(log.TRACE, colorize, os.Stdout)
|
||||||
} else {
|
default:
|
||||||
logFile, _ = filepath.Abs(logFile)
|
logFile, _ = filepath.Abs(logFile)
|
||||||
writeMode := log.WriterMode{Level: log.TRACE, WriterOption: log.WriterFileOption{FileName: logFile}}
|
writeMode := log.WriterMode{Level: log.TRACE, WriterOption: log.WriterFileOption{FileName: logFile}}
|
||||||
writer, err := log.NewEventWriter("console-to-file", "file", writeMode)
|
writer, err := log.NewEventWriter("console-to-file", "file", writeMode)
|
||||||
|
|
|
@ -6,9 +6,9 @@ package cmd
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/db"
|
"forgejo.org/models/db"
|
||||||
"code.gitea.io/gitea/modules/log"
|
"forgejo.org/modules/log"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -17,7 +17,7 @@ import (
|
||||||
var cmdDoctorConvert = &cli.Command{
|
var cmdDoctorConvert = &cli.Command{
|
||||||
Name: "convert",
|
Name: "convert",
|
||||||
Usage: "Convert the database",
|
Usage: "Convert the database",
|
||||||
Description: "A command to convert an existing MySQL database from utf8 to utf8mb4 or MSSQL database from varchar to nvarchar",
|
Description: "A command to convert an existing MySQL database from utf8 to utf8mb4",
|
||||||
Action: runDoctorConvert,
|
Action: runDoctorConvert,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,21 +35,14 @@ func runDoctorConvert(ctx *cli.Context) error {
|
||||||
log.Info("Log path: %s", setting.Log.RootPath)
|
log.Info("Log path: %s", setting.Log.RootPath)
|
||||||
log.Info("Configuration file: %s", setting.CustomConf)
|
log.Info("Configuration file: %s", setting.CustomConf)
|
||||||
|
|
||||||
switch {
|
if setting.Database.Type.IsMySQL() {
|
||||||
case setting.Database.Type.IsMySQL():
|
|
||||||
if err := db.ConvertDatabaseTable(); err != nil {
|
if err := db.ConvertDatabaseTable(); err != nil {
|
||||||
log.Fatal("Failed to convert database & table: %v", err)
|
log.Fatal("Failed to convert database & table: %v", err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
fmt.Println("Converted successfully, please confirm your database's character set is now utf8mb4")
|
fmt.Println("Converted successfully, please confirm your database's character set is now utf8mb4")
|
||||||
case setting.Database.Type.IsMSSQL():
|
} else {
|
||||||
if err := db.ConvertVarcharToNVarchar(); err != nil {
|
fmt.Println("This command can only be used with a MySQL database")
|
||||||
log.Fatal("Failed to convert database from varchar to nvarchar: %v", err)
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
fmt.Println("Converted successfully, please confirm your database's all columns character is NVARCHAR now")
|
|
||||||
default:
|
|
||||||
fmt.Println("This command can only be used with a MySQL or MSSQL database")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -7,10 +7,10 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/log"
|
"forgejo.org/modules/log"
|
||||||
"code.gitea.io/gitea/services/doctor"
|
"forgejo.org/services/doctor"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -25,9 +25,9 @@ func TestDoctorRun(t *testing.T) {
|
||||||
app := cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Commands = []*cli.Command{cmdDoctorCheck}
|
app.Commands = []*cli.Command{cmdDoctorCheck}
|
||||||
err := app.Run([]string{"./gitea", "check", "--run", "test-check"})
|
err := app.Run([]string{"./gitea", "check", "--run", "test-check"})
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
err = app.Run([]string{"./gitea", "check", "--run", "no-such"})
|
err = app.Run([]string{"./gitea", "check", "--run", "no-such"})
|
||||||
assert.ErrorContains(t, err, `unknown checks: "no-such"`)
|
require.ErrorContains(t, err, `unknown checks: "no-such"`)
|
||||||
err = app.Run([]string{"./gitea", "check", "--run", "test-check,no-such"})
|
err = app.Run([]string{"./gitea", "check", "--run", "test-check,no-such"})
|
||||||
assert.ErrorContains(t, err, `unknown checks: "no-such"`)
|
require.ErrorContains(t, err, `unknown checks: "no-such"`)
|
||||||
}
|
}
|
||||||
|
|
76
cmd/dump.go
76
cmd/dump.go
|
@ -13,14 +13,14 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/db"
|
"forgejo.org/models/db"
|
||||||
"code.gitea.io/gitea/modules/json"
|
"forgejo.org/modules/json"
|
||||||
"code.gitea.io/gitea/modules/log"
|
"forgejo.org/modules/log"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
"code.gitea.io/gitea/modules/storage"
|
"forgejo.org/modules/storage"
|
||||||
"code.gitea.io/gitea/modules/util"
|
"forgejo.org/modules/util"
|
||||||
|
|
||||||
"gitea.com/go-chi/session"
|
"code.forgejo.org/go-chi/session"
|
||||||
"github.com/mholt/archiver/v3"
|
"github.com/mholt/archiver/v3"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -122,23 +122,22 @@ It can be used for backup and capture Forgejo server image to send to maintainer
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "tempdir",
|
Name: "tempdir",
|
||||||
Aliases: []string{"t"},
|
Aliases: []string{"t"},
|
||||||
Value: os.TempDir(),
|
|
||||||
Usage: "Temporary dir path",
|
Usage: "Temporary dir path",
|
||||||
},
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "database",
|
Name: "database",
|
||||||
Aliases: []string{"d"},
|
Aliases: []string{"d"},
|
||||||
Usage: "Specify the database SQL syntax: sqlite3, mysql, mssql, postgres",
|
Usage: "Specify the database SQL syntax: sqlite3, mysql, postgres",
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "skip-repository",
|
Name: "skip-repository",
|
||||||
Aliases: []string{"R"},
|
Aliases: []string{"R"},
|
||||||
Usage: "Skip the repository dumping",
|
Usage: "Skip repositories",
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "skip-log",
|
Name: "skip-log",
|
||||||
Aliases: []string{"L"},
|
Aliases: []string{"L"},
|
||||||
Usage: "Skip the log dumping",
|
Usage: "Skip logs",
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "skip-custom-dir",
|
Name: "skip-custom-dir",
|
||||||
|
@ -160,6 +159,10 @@ It can be used for backup and capture Forgejo server image to send to maintainer
|
||||||
Name: "skip-index",
|
Name: "skip-index",
|
||||||
Usage: "Skip bleve index data",
|
Usage: "Skip bleve index data",
|
||||||
},
|
},
|
||||||
|
&cli.BoolFlag{
|
||||||
|
Name: "skip-repo-archives",
|
||||||
|
Usage: "Skip repository archives",
|
||||||
|
},
|
||||||
&cli.GenericFlag{
|
&cli.GenericFlag{
|
||||||
Name: "type",
|
Name: "type",
|
||||||
Value: outputTypeEnum,
|
Value: outputTypeEnum,
|
||||||
|
@ -233,7 +236,7 @@ func runDump(ctx *cli.Context) error {
|
||||||
if file == nil {
|
if file == nil {
|
||||||
file, err = os.Create(fileName)
|
file, err = os.Create(fileName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fatal("Unable to open %s: %v", fileName, err)
|
fatal("Failed to open %s: %v", fileName, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
defer file.Close()
|
defer file.Close()
|
||||||
|
@ -250,7 +253,7 @@ func runDump(ctx *cli.Context) error {
|
||||||
iface, err = archiver.ByExtension(fileName)
|
iface, err = archiver.ByExtension(fileName)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fatal("Unable to get archiver for extension: %v", err)
|
fatal("Failed to get archiver for extension: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
w, _ := iface.(archiver.Writer)
|
w, _ := iface.(archiver.Writer)
|
||||||
|
@ -260,7 +263,7 @@ func runDump(ctx *cli.Context) error {
|
||||||
defer w.Close()
|
defer w.Close()
|
||||||
|
|
||||||
if ctx.IsSet("skip-repository") && ctx.Bool("skip-repository") {
|
if ctx.IsSet("skip-repository") && ctx.Bool("skip-repository") {
|
||||||
log.Info("Skip dumping local repositories")
|
log.Info("Skipping local repositories")
|
||||||
} else {
|
} else {
|
||||||
log.Info("Dumping local repositories... %s", setting.RepoRootPath)
|
log.Info("Dumping local repositories... %s", setting.RepoRootPath)
|
||||||
if err := addRecursiveExclude(w, "repos", setting.RepoRootPath, []string{absFileName}, verbose); err != nil {
|
if err := addRecursiveExclude(w, "repos", setting.RepoRootPath, []string{absFileName}, verbose); err != nil {
|
||||||
|
@ -268,9 +271,9 @@ func runDump(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.IsSet("skip-lfs-data") && ctx.Bool("skip-lfs-data") {
|
if ctx.IsSet("skip-lfs-data") && ctx.Bool("skip-lfs-data") {
|
||||||
log.Info("Skip dumping LFS data")
|
log.Info("Skipping LFS data")
|
||||||
} else if !setting.LFS.StartServer {
|
} else if !setting.LFS.StartServer {
|
||||||
log.Info("LFS isn't enabled. Skip dumping LFS data")
|
log.Info("LFS not enabled - skipping")
|
||||||
} else if err := storage.LFS.IterateObjects("", func(objPath string, object storage.Object) error {
|
} else if err := storage.LFS.IterateObjects("", func(objPath string, object storage.Object) error {
|
||||||
info, err := object.Stat()
|
info, err := object.Stat()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -284,18 +287,31 @@ func runDump(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
tmpDir := ctx.String("tempdir")
|
tmpDir := ctx.String("tempdir")
|
||||||
|
if tmpDir == "" {
|
||||||
|
tmpDir, err = os.MkdirTemp("", "forgejo-dump-*")
|
||||||
|
if err != nil {
|
||||||
|
fatal("Failed to create temporary directory: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
defer func() {
|
||||||
|
if err := util.Remove(tmpDir); err != nil {
|
||||||
|
log.Warn("Failed to remove temporary directory: %s: Error: %v", tmpDir, err)
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
}
|
||||||
|
|
||||||
if _, err := os.Stat(tmpDir); os.IsNotExist(err) {
|
if _, err := os.Stat(tmpDir); os.IsNotExist(err) {
|
||||||
fatal("Path does not exist: %s", tmpDir)
|
fatal("Path does not exist: %s", tmpDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
dbDump, err := os.CreateTemp(tmpDir, "forgejo-db.sql")
|
dbDump, err := os.CreateTemp(tmpDir, "forgejo-db.sql")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fatal("Failed to create tmp file: %v", err)
|
fatal("Failed to create temporary file: %v", err)
|
||||||
}
|
}
|
||||||
defer func() {
|
defer func() {
|
||||||
_ = dbDump.Close()
|
_ = dbDump.Close()
|
||||||
if err := util.Remove(dbDump.Name()); err != nil {
|
if err := util.Remove(dbDump.Name()); err != nil {
|
||||||
log.Warn("Unable to remove temporary file: %s: Error: %v", dbDump.Name(), err)
|
log.Warn("Failed to remove temporary database file: %s: Error: %v", dbDump.Name(), err)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
@ -331,16 +347,16 @@ func runDump(ctx *cli.Context) error {
|
||||||
fatal("Failed to include custom: %v", err)
|
fatal("Failed to include custom: %v", err)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.Info("Custom dir %s is inside data dir %s, skipped", setting.CustomPath, setting.AppDataPath)
|
log.Info("Custom dir %s is inside data dir %s, skipping", setting.CustomPath, setting.AppDataPath)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.Info("Custom dir %s doesn't exist, skipped", setting.CustomPath)
|
log.Info("Custom dir %s does not exist, skipping", setting.CustomPath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
isExist, err := util.IsExist(setting.AppDataPath)
|
isExist, err := util.IsExist(setting.AppDataPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Unable to check if %s exists. Error: %v", setting.AppDataPath, err)
|
log.Error("Failed to check if %s exists: %v", setting.AppDataPath, err)
|
||||||
}
|
}
|
||||||
if isExist {
|
if isExist {
|
||||||
log.Info("Packing data directory...%s", setting.AppDataPath)
|
log.Info("Packing data directory...%s", setting.AppDataPath)
|
||||||
|
@ -355,10 +371,16 @@ func runDump(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.IsSet("skip-index") && ctx.Bool("skip-index") {
|
if ctx.IsSet("skip-index") && ctx.Bool("skip-index") {
|
||||||
|
log.Info("Skipping bleve index data")
|
||||||
excludes = append(excludes, setting.Indexer.RepoPath)
|
excludes = append(excludes, setting.Indexer.RepoPath)
|
||||||
excludes = append(excludes, setting.Indexer.IssuePath)
|
excludes = append(excludes, setting.Indexer.IssuePath)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ctx.IsSet("skip-repo-archives") && ctx.Bool("skip-repo-archives") {
|
||||||
|
log.Info("Skipping repository archives data")
|
||||||
|
excludes = append(excludes, setting.RepoArchive.Storage.Path)
|
||||||
|
}
|
||||||
|
|
||||||
excludes = append(excludes, setting.RepoRootPath)
|
excludes = append(excludes, setting.RepoRootPath)
|
||||||
excludes = append(excludes, setting.LFS.Storage.Path)
|
excludes = append(excludes, setting.LFS.Storage.Path)
|
||||||
excludes = append(excludes, setting.Attachment.Storage.Path)
|
excludes = append(excludes, setting.Attachment.Storage.Path)
|
||||||
|
@ -371,7 +393,7 @@ func runDump(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.IsSet("skip-attachment-data") && ctx.Bool("skip-attachment-data") {
|
if ctx.IsSet("skip-attachment-data") && ctx.Bool("skip-attachment-data") {
|
||||||
log.Info("Skip dumping attachment data")
|
log.Info("Skipping attachment data")
|
||||||
} else if err := storage.Attachments.IterateObjects("", func(objPath string, object storage.Object) error {
|
} else if err := storage.Attachments.IterateObjects("", func(objPath string, object storage.Object) error {
|
||||||
info, err := object.Stat()
|
info, err := object.Stat()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -384,9 +406,9 @@ func runDump(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.IsSet("skip-package-data") && ctx.Bool("skip-package-data") {
|
if ctx.IsSet("skip-package-data") && ctx.Bool("skip-package-data") {
|
||||||
log.Info("Skip dumping package data")
|
log.Info("Skipping package data")
|
||||||
} else if !setting.Packages.Enabled {
|
} else if !setting.Packages.Enabled {
|
||||||
log.Info("Packages isn't enabled. Skip dumping package data")
|
log.Info("Package registry not enabled - skipping")
|
||||||
} else if err := storage.Packages.IterateObjects("", func(objPath string, object storage.Object) error {
|
} else if err := storage.Packages.IterateObjects("", func(objPath string, object storage.Object) error {
|
||||||
info, err := object.Stat()
|
info, err := object.Stat()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -402,11 +424,11 @@ func runDump(ctx *cli.Context) error {
|
||||||
// ensuring that it's clear the dump is skipped whether the directory's initialized
|
// ensuring that it's clear the dump is skipped whether the directory's initialized
|
||||||
// yet or not.
|
// yet or not.
|
||||||
if ctx.IsSet("skip-log") && ctx.Bool("skip-log") {
|
if ctx.IsSet("skip-log") && ctx.Bool("skip-log") {
|
||||||
log.Info("Skip dumping log files")
|
log.Info("Skipping log files")
|
||||||
} else {
|
} else {
|
||||||
isExist, err := util.IsExist(setting.Log.RootPath)
|
isExist, err := util.IsExist(setting.Log.RootPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Unable to check if %s exists. Error: %v", setting.Log.RootPath, err)
|
log.Error("Failed to check if %s exists: %v", setting.Log.RootPath, err)
|
||||||
}
|
}
|
||||||
if isExist {
|
if isExist {
|
||||||
if err := addRecursiveExclude(w, "log", setting.Log.RootPath, []string{absFileName}, verbose); err != nil {
|
if err := addRecursiveExclude(w, "log", setting.Log.RootPath, []string{absFileName}, verbose); err != nil {
|
||||||
|
@ -456,7 +478,7 @@ func addRecursiveExclude(w archiver.Writer, insidePath, absPath string, excludeA
|
||||||
currentInsidePath := path.Join(insidePath, file.Name())
|
currentInsidePath := path.Join(insidePath, file.Name())
|
||||||
|
|
||||||
if util.SliceContainsString(excludeAbsPath, currentAbsPath) {
|
if util.SliceContainsString(excludeAbsPath, currentAbsPath) {
|
||||||
log.Debug("Skipping %q because matched an excluded path.", currentAbsPath)
|
log.Debug("Skipping %q (matched an excluded path)", currentAbsPath)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,14 +10,14 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/git"
|
"forgejo.org/modules/git"
|
||||||
"code.gitea.io/gitea/modules/log"
|
"forgejo.org/modules/log"
|
||||||
base "code.gitea.io/gitea/modules/migration"
|
base "forgejo.org/modules/migration"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
"code.gitea.io/gitea/modules/structs"
|
"forgejo.org/modules/structs"
|
||||||
"code.gitea.io/gitea/modules/util"
|
"forgejo.org/modules/util"
|
||||||
"code.gitea.io/gitea/services/convert"
|
"forgejo.org/services/convert"
|
||||||
"code.gitea.io/gitea/services/migrations"
|
"forgejo.org/services/migrations"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
|
@ -10,6 +10,7 @@ import (
|
||||||
|
|
||||||
"github.com/mholt/archiver/v3"
|
"github.com/mholt/archiver/v3"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
type mockArchiver struct {
|
type mockArchiver struct {
|
||||||
|
@ -35,29 +36,29 @@ func TestAddRecursiveExclude(t *testing.T) {
|
||||||
archiver := &mockArchiver{}
|
archiver := &mockArchiver{}
|
||||||
|
|
||||||
err := addRecursiveExclude(archiver, "", dir, []string{}, false)
|
err := addRecursiveExclude(archiver, "", dir, []string{}, false)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Empty(t, archiver.addedFiles)
|
assert.Empty(t, archiver.addedFiles)
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("Single file", func(t *testing.T) {
|
t.Run("Single file", func(t *testing.T) {
|
||||||
dir := t.TempDir()
|
dir := t.TempDir()
|
||||||
err := os.WriteFile(dir+"/example", nil, 0o666)
|
err := os.WriteFile(dir+"/example", nil, 0o666)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
t.Run("No exclude", func(t *testing.T) {
|
t.Run("No exclude", func(t *testing.T) {
|
||||||
archiver := &mockArchiver{}
|
archiver := &mockArchiver{}
|
||||||
|
|
||||||
err = addRecursiveExclude(archiver, "", dir, nil, false)
|
err = addRecursiveExclude(archiver, "", dir, nil, false)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Len(t, archiver.addedFiles, 1)
|
assert.Len(t, archiver.addedFiles, 1)
|
||||||
assert.EqualValues(t, "example", archiver.addedFiles[0])
|
assert.Contains(t, archiver.addedFiles, "example")
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("With exclude", func(t *testing.T) {
|
t.Run("With exclude", func(t *testing.T) {
|
||||||
archiver := &mockArchiver{}
|
archiver := &mockArchiver{}
|
||||||
|
|
||||||
err = addRecursiveExclude(archiver, "", dir, []string{dir + "/example"}, false)
|
err = addRecursiveExclude(archiver, "", dir, []string{dir + "/example"}, false)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Empty(t, archiver.addedFiles)
|
assert.Empty(t, archiver.addedFiles)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -65,30 +66,30 @@ func TestAddRecursiveExclude(t *testing.T) {
|
||||||
t.Run("File inside directory", func(t *testing.T) {
|
t.Run("File inside directory", func(t *testing.T) {
|
||||||
dir := t.TempDir()
|
dir := t.TempDir()
|
||||||
err := os.MkdirAll(dir+"/deep/nested/folder", 0o750)
|
err := os.MkdirAll(dir+"/deep/nested/folder", 0o750)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
err = os.WriteFile(dir+"/deep/nested/folder/example", nil, 0o666)
|
err = os.WriteFile(dir+"/deep/nested/folder/example", nil, 0o666)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
err = os.WriteFile(dir+"/deep/nested/folder/another-file", nil, 0o666)
|
err = os.WriteFile(dir+"/deep/nested/folder/another-file", nil, 0o666)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
t.Run("No exclude", func(t *testing.T) {
|
t.Run("No exclude", func(t *testing.T) {
|
||||||
archiver := &mockArchiver{}
|
archiver := &mockArchiver{}
|
||||||
|
|
||||||
err = addRecursiveExclude(archiver, "", dir, nil, false)
|
err = addRecursiveExclude(archiver, "", dir, nil, false)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Len(t, archiver.addedFiles, 5)
|
assert.Len(t, archiver.addedFiles, 5)
|
||||||
assert.EqualValues(t, "deep", archiver.addedFiles[0])
|
assert.Contains(t, archiver.addedFiles, "deep")
|
||||||
assert.EqualValues(t, "deep/nested", archiver.addedFiles[1])
|
assert.Contains(t, archiver.addedFiles, "deep/nested")
|
||||||
assert.EqualValues(t, "deep/nested/folder", archiver.addedFiles[2])
|
assert.Contains(t, archiver.addedFiles, "deep/nested/folder")
|
||||||
assert.EqualValues(t, "deep/nested/folder/example", archiver.addedFiles[3])
|
assert.Contains(t, archiver.addedFiles, "deep/nested/folder/example")
|
||||||
assert.EqualValues(t, "deep/nested/folder/another-file", archiver.addedFiles[4])
|
assert.Contains(t, archiver.addedFiles, "deep/nested/folder/another-file")
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("Exclude first directory", func(t *testing.T) {
|
t.Run("Exclude first directory", func(t *testing.T) {
|
||||||
archiver := &mockArchiver{}
|
archiver := &mockArchiver{}
|
||||||
|
|
||||||
err = addRecursiveExclude(archiver, "", dir, []string{dir + "/deep"}, false)
|
err = addRecursiveExclude(archiver, "", dir, []string{dir + "/deep"}, false)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Empty(t, archiver.addedFiles)
|
assert.Empty(t, archiver.addedFiles)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -96,22 +97,22 @@ func TestAddRecursiveExclude(t *testing.T) {
|
||||||
archiver := &mockArchiver{}
|
archiver := &mockArchiver{}
|
||||||
|
|
||||||
err = addRecursiveExclude(archiver, "", dir, []string{dir + "/deep/nested/folder"}, false)
|
err = addRecursiveExclude(archiver, "", dir, []string{dir + "/deep/nested/folder"}, false)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Len(t, archiver.addedFiles, 2)
|
assert.Len(t, archiver.addedFiles, 2)
|
||||||
assert.EqualValues(t, "deep", archiver.addedFiles[0])
|
assert.Contains(t, archiver.addedFiles, "deep")
|
||||||
assert.EqualValues(t, "deep/nested", archiver.addedFiles[1])
|
assert.Contains(t, archiver.addedFiles, "deep/nested")
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("Exclude file", func(t *testing.T) {
|
t.Run("Exclude file", func(t *testing.T) {
|
||||||
archiver := &mockArchiver{}
|
archiver := &mockArchiver{}
|
||||||
|
|
||||||
err = addRecursiveExclude(archiver, "", dir, []string{dir + "/deep/nested/folder/example"}, false)
|
err = addRecursiveExclude(archiver, "", dir, []string{dir + "/deep/nested/folder/example"}, false)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Len(t, archiver.addedFiles, 4)
|
assert.Len(t, archiver.addedFiles, 4)
|
||||||
assert.EqualValues(t, "deep", archiver.addedFiles[0])
|
assert.Contains(t, archiver.addedFiles, "deep")
|
||||||
assert.EqualValues(t, "deep/nested", archiver.addedFiles[1])
|
assert.Contains(t, archiver.addedFiles, "deep/nested")
|
||||||
assert.EqualValues(t, "deep/nested/folder", archiver.addedFiles[2])
|
assert.Contains(t, archiver.addedFiles, "deep/nested/folder")
|
||||||
assert.EqualValues(t, "deep/nested/folder/another-file", archiver.addedFiles[3])
|
assert.Contains(t, archiver.addedFiles, "deep/nested/folder/another-file")
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,13 +10,13 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/assetfs"
|
"forgejo.org/modules/assetfs"
|
||||||
"code.gitea.io/gitea/modules/log"
|
"forgejo.org/modules/log"
|
||||||
"code.gitea.io/gitea/modules/options"
|
"forgejo.org/modules/options"
|
||||||
"code.gitea.io/gitea/modules/public"
|
"forgejo.org/modules/public"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
"code.gitea.io/gitea/modules/templates"
|
"forgejo.org/modules/templates"
|
||||||
"code.gitea.io/gitea/modules/util"
|
"forgejo.org/modules/util"
|
||||||
|
|
||||||
"github.com/gobwas/glob"
|
"github.com/gobwas/glob"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
@ -157,9 +157,9 @@ func runViewDo(c *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(matchedAssetFiles) == 0 {
|
if len(matchedAssetFiles) == 0 {
|
||||||
return fmt.Errorf("no files matched the given pattern")
|
return errors.New("no files matched the given pattern")
|
||||||
} else if len(matchedAssetFiles) > 1 {
|
} else if len(matchedAssetFiles) > 1 {
|
||||||
return fmt.Errorf("too many files matched the given pattern, try to be more specific")
|
return errors.New("too many files matched the given pattern, try to be more specific")
|
||||||
}
|
}
|
||||||
|
|
||||||
data, err := matchedAssetFiles[0].fs.ReadFile(matchedAssetFiles[0].name)
|
data, err := matchedAssetFiles[0].fs.ReadFile(matchedAssetFiles[0].name)
|
||||||
|
@ -180,7 +180,7 @@ func runExtractDo(c *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.NArg() == 0 {
|
if c.NArg() == 0 {
|
||||||
return fmt.Errorf("a list of pattern of files to extract is mandatory (e.g. '**' for all)")
|
return errors.New("a list of pattern of files to extract is mandatory (e.g. '**' for all)")
|
||||||
}
|
}
|
||||||
|
|
||||||
destdir := "."
|
destdir := "."
|
||||||
|
|
|
@ -11,10 +11,10 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
actions_model "code.gitea.io/gitea/models/actions"
|
actions_model "forgejo.org/models/actions"
|
||||||
"code.gitea.io/gitea/modules/private"
|
"forgejo.org/modules/private"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
private_routers "code.gitea.io/gitea/routers/private"
|
private_routers "forgejo.org/routers/private"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -86,6 +86,11 @@ func SubcmdActionsRegister(ctx context.Context) *cli.Command {
|
||||||
Value: "",
|
Value: "",
|
||||||
Usage: "comma separated list of labels supported by the runner (e.g. docker,ubuntu-latest,self-hosted) (not required since v1.21)",
|
Usage: "comma separated list of labels supported by the runner (e.g. docker,ubuntu-latest,self-hosted) (not required since v1.21)",
|
||||||
},
|
},
|
||||||
|
&cli.BoolFlag{
|
||||||
|
Name: "keep-labels",
|
||||||
|
Value: false,
|
||||||
|
Usage: "do not affect the labels when updating an existing runner",
|
||||||
|
},
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "name",
|
Name: "name",
|
||||||
Value: "runner",
|
Value: "runner",
|
||||||
|
@ -133,9 +138,20 @@ func validateSecret(secret string) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func getLabels(cliCtx *cli.Context) (*[]string, error) {
|
||||||
|
if !cliCtx.Bool("keep-labels") {
|
||||||
|
lblValue := strings.Split(cliCtx.String("labels"), ",")
|
||||||
|
return &lblValue, nil
|
||||||
|
}
|
||||||
|
if cliCtx.String("labels") != "" {
|
||||||
|
return nil, fmt.Errorf("--labels and --keep-labels should not be used together")
|
||||||
|
}
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
|
||||||
func RunRegister(ctx context.Context, cliCtx *cli.Context) error {
|
func RunRegister(ctx context.Context, cliCtx *cli.Context) error {
|
||||||
|
var cancel context.CancelFunc
|
||||||
if !ContextGetNoInit(ctx) {
|
if !ContextGetNoInit(ctx) {
|
||||||
var cancel context.CancelFunc
|
|
||||||
ctx, cancel = installSignals(ctx)
|
ctx, cancel = installSignals(ctx)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
|
@ -153,9 +169,12 @@ func RunRegister(ctx context.Context, cliCtx *cli.Context) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
scope := cliCtx.String("scope")
|
scope := cliCtx.String("scope")
|
||||||
labels := cliCtx.String("labels")
|
|
||||||
name := cliCtx.String("name")
|
name := cliCtx.String("name")
|
||||||
version := cliCtx.String("version")
|
version := cliCtx.String("version")
|
||||||
|
labels, err := getLabels(cliCtx)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// There are two kinds of tokens
|
// There are two kinds of tokens
|
||||||
|
@ -179,7 +198,7 @@ func RunRegister(ctx context.Context, cliCtx *cli.Context) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
runner, err := actions_model.RegisterRunner(ctx, owner, repo, secret, strings.Split(labels, ","), name, version)
|
runner, err := actions_model.RegisterRunner(ctx, owner, repo, secret, labels, name, version)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("error while registering runner: %v", err)
|
return fmt.Errorf("error while registering runner: %v", err)
|
||||||
}
|
}
|
||||||
|
|
88
cmd/forgejo/actions_test.go
Normal file
88
cmd/forgejo/actions_test.go
Normal file
|
@ -0,0 +1,88 @@
|
||||||
|
// Copyright The Forgejo Authors.
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
package forgejo
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"forgejo.org/services/context"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
|
"github.com/urfave/cli/v2"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestActions_getLabels(t *testing.T) {
|
||||||
|
type testCase struct {
|
||||||
|
args []string
|
||||||
|
hasLabels bool
|
||||||
|
hasError bool
|
||||||
|
labels []string
|
||||||
|
}
|
||||||
|
type resultType struct {
|
||||||
|
labels *[]string
|
||||||
|
err error
|
||||||
|
}
|
||||||
|
|
||||||
|
cases := []testCase{
|
||||||
|
{
|
||||||
|
args: []string{"x"},
|
||||||
|
hasLabels: true,
|
||||||
|
hasError: false,
|
||||||
|
labels: []string{""},
|
||||||
|
}, {
|
||||||
|
args: []string{"x", "--labels", "a,b"},
|
||||||
|
hasLabels: true,
|
||||||
|
hasError: false,
|
||||||
|
labels: []string{"a", "b"},
|
||||||
|
}, {
|
||||||
|
args: []string{"x", "--keep-labels"},
|
||||||
|
hasLabels: false,
|
||||||
|
hasError: false,
|
||||||
|
}, {
|
||||||
|
args: []string{"x", "--keep-labels", "--labels", "a,b"},
|
||||||
|
hasLabels: false,
|
||||||
|
hasError: true,
|
||||||
|
}, {
|
||||||
|
// this edge-case exists because that's what actually happens
|
||||||
|
// when no '--labels ...' options are present
|
||||||
|
args: []string{"x", "--keep-labels", "--labels", ""},
|
||||||
|
hasLabels: false,
|
||||||
|
hasError: false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
flags := SubcmdActionsRegister(context.Context{}).Flags
|
||||||
|
for _, c := range cases {
|
||||||
|
t.Run(fmt.Sprintf("args: %v", c.args), func(t *testing.T) {
|
||||||
|
// Create a copy of command to test
|
||||||
|
var result *resultType
|
||||||
|
app := cli.NewApp()
|
||||||
|
app.Flags = flags
|
||||||
|
app.Action = func(ctx *cli.Context) error {
|
||||||
|
labels, err := getLabels(ctx)
|
||||||
|
result = &resultType{labels, err}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Run it
|
||||||
|
_ = app.Run(c.args)
|
||||||
|
|
||||||
|
// Test the results
|
||||||
|
require.NotNil(t, result)
|
||||||
|
if c.hasLabels {
|
||||||
|
assert.NotNil(t, result.labels)
|
||||||
|
assert.Equal(t, c.labels, *result.labels)
|
||||||
|
} else {
|
||||||
|
assert.Nil(t, result.labels)
|
||||||
|
}
|
||||||
|
if c.hasError {
|
||||||
|
require.Error(t, result.err)
|
||||||
|
} else {
|
||||||
|
assert.NoError(t, result.err)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
77
cmd/forgejo/f3.go
Normal file
77
cmd/forgejo/f3.go
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
// Copyright Earl Warren <contact@earl-warren.org>
|
||||||
|
// Copyright Loïc Dachary <loic@dachary.org>
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
package forgejo
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"errors"
|
||||||
|
|
||||||
|
"forgejo.org/models"
|
||||||
|
"forgejo.org/modules/git"
|
||||||
|
"forgejo.org/modules/log"
|
||||||
|
"forgejo.org/modules/setting"
|
||||||
|
"forgejo.org/modules/storage"
|
||||||
|
"forgejo.org/services/f3/util"
|
||||||
|
|
||||||
|
_ "forgejo.org/services/f3/driver" // register the driver
|
||||||
|
|
||||||
|
f3_cmd "code.forgejo.org/f3/gof3/v3/cmd"
|
||||||
|
f3_logger "code.forgejo.org/f3/gof3/v3/logger"
|
||||||
|
f3_util "code.forgejo.org/f3/gof3/v3/util"
|
||||||
|
"github.com/urfave/cli/v2"
|
||||||
|
)
|
||||||
|
|
||||||
|
func CmdF3(ctx context.Context) *cli.Command {
|
||||||
|
ctx = f3_logger.ContextSetLogger(ctx, util.NewF3Logger(nil, log.GetLogger(log.DEFAULT)))
|
||||||
|
return &cli.Command{
|
||||||
|
Name: "f3",
|
||||||
|
Usage: "F3",
|
||||||
|
Subcommands: []*cli.Command{
|
||||||
|
SubcmdF3Mirror(ctx),
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func SubcmdF3Mirror(ctx context.Context) *cli.Command {
|
||||||
|
mirrorCmd := f3_cmd.CreateCmdMirror(ctx)
|
||||||
|
mirrorCmd.Before = prepareWorkPathAndCustomConf(ctx)
|
||||||
|
f3Action := mirrorCmd.Action
|
||||||
|
mirrorCmd.Action = func(c *cli.Context) error { return runMirror(ctx, c, f3Action) }
|
||||||
|
return mirrorCmd
|
||||||
|
}
|
||||||
|
|
||||||
|
func runMirror(ctx context.Context, c *cli.Context, action cli.ActionFunc) error {
|
||||||
|
setting.LoadF3Setting()
|
||||||
|
if !setting.F3.Enabled {
|
||||||
|
return errors.New("F3 is disabled, it is not ready to be used and is only present for development purposes")
|
||||||
|
}
|
||||||
|
|
||||||
|
var cancel context.CancelFunc
|
||||||
|
if !ContextGetNoInit(ctx) {
|
||||||
|
ctx, cancel = installSignals(ctx)
|
||||||
|
defer cancel()
|
||||||
|
|
||||||
|
if err := initDB(ctx); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := storage.Init(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := git.InitSimple(ctx); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if err := models.Init(ctx); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
err := action(c)
|
||||||
|
if panicError, ok := err.(f3_util.PanicError); ok {
|
||||||
|
log.Debug("F3 Stack trace\n%s", panicError.Stack())
|
||||||
|
}
|
||||||
|
return err
|
||||||
|
}
|
|
@ -11,10 +11,10 @@ import (
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/db"
|
"forgejo.org/models/db"
|
||||||
"code.gitea.io/gitea/modules/log"
|
"forgejo.org/modules/log"
|
||||||
"code.gitea.io/gitea/modules/private"
|
"forgejo.org/modules/private"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"forgejo.org/modules/setting"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
@ -36,6 +36,7 @@ func CmdForgejo(ctx context.Context) *cli.Command {
|
||||||
Flags: []cli.Flag{},
|
Flags: []cli.Flag{},
|
||||||
Subcommands: []*cli.Command{
|
Subcommands: []*cli.Command{
|
||||||
CmdActions(ctx),
|
CmdActions(ctx),
|
||||||
|
CmdF3(ctx),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"code.gitea.io/gitea/modules/generate"
|
"forgejo.org/modules/generate"
|
||||||
|
|
||||||
"github.com/mattn/go-isatty"
|
"github.com/mattn/go-isatty"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
|
@ -70,10 +70,7 @@ func runGenerateInternalToken(c *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func runGenerateLfsJwtSecret(c *cli.Context) error {
|
func runGenerateLfsJwtSecret(c *cli.Context) error {
|
||||||
_, jwtSecretBase64, err := generate.NewJwtSecret()
|
_, jwtSecretBase64 := generate.NewJwtSecret()
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
fmt.Printf("%s", jwtSecretBase64)
|
fmt.Printf("%s", jwtSecretBase64)
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue