Compare commits
748 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b9b8f0dbb | ||
|
|
5eb48b2717 | ||
|
|
5339cfca70 | ||
|
|
1462b2d0b8 | ||
|
|
3798a23183 | ||
|
|
ddaf916170 | ||
|
|
d6e37b058f | ||
|
|
2e9ad7d7cb | ||
|
|
190da74f66 | ||
|
|
f1315dda7f | ||
|
|
43e6105eb3 | ||
|
|
d785209eb6 | ||
|
|
da8b6a9010 | ||
|
|
1fd68722da | ||
|
|
c9a2c1d0e4 | ||
|
|
161f536a62 | ||
|
|
1a32e9944e | ||
|
|
6deb753198 | ||
|
|
4e33a98631 | ||
|
|
dcb9464d8f | ||
|
|
b94936b29f | ||
|
|
108d0a5a5b | ||
|
|
4814a2de28 | ||
|
|
5d8eeff502 | ||
|
|
0bc4087266 | ||
|
|
921209b901 | ||
|
|
fa9d754470 | ||
|
|
1f50a1f0f4 | ||
|
|
80e84c0421 | ||
|
|
5059872c3f | ||
|
|
8add244776 | ||
|
|
04e23fd7e4 | ||
|
|
336b11b808 | ||
|
|
8d9dba361c | ||
|
|
64ce3638cb | ||
|
|
f3ceb73f0e | ||
|
|
131dbe934c | ||
|
|
58288e89bd | ||
|
|
22c43c7124 | ||
|
|
2bf0b25ee5 | ||
|
|
3bc03c1364 | ||
|
|
490d71f8c9 | ||
|
|
edceb5900e | ||
|
|
e5ef28415b | ||
|
|
46b98df153 | ||
|
|
9f34021c90 | ||
|
|
8121eef839 | ||
|
|
da48d1f66c | ||
|
|
b167287c5b | ||
|
|
41f9da6bf8 | ||
|
|
e7c7fc8186 | ||
|
|
b950dd2d68 | ||
|
|
6d34de14d3 | ||
|
|
a5a84c0cdd | ||
|
|
701b1b811f | ||
|
|
97267cdfbf | ||
|
|
40ce37d230 | ||
|
|
8a9ade355c | ||
|
|
9bffec64b5 | ||
|
|
a03ee2ae0e | ||
|
|
ee889235fe | ||
|
|
94d6d80497 | ||
|
|
413c45a559 | ||
|
|
6dc5536c48 | ||
|
|
76c4bf56fa | ||
|
|
a0c6642230 | ||
|
|
4198d7bd13 | ||
|
|
b06fddec07 | ||
|
|
d1f14bee59 | ||
|
|
8953f63197 | ||
|
|
193d80d826 | ||
|
|
9e308792aa | ||
|
|
fbabd8c351 | ||
|
|
1a3cb09ca2 | ||
|
|
ccab4040b1 | ||
|
|
ee5f4d10ea | ||
|
|
57b83dc226 | ||
|
|
dddec01070 | ||
|
|
3524b059c6 | ||
|
|
5888cb7172 | ||
|
|
17b8bbd269 | ||
|
|
5bcb950275 | ||
|
|
eb0100d432 | ||
|
|
cf5810d6ca | ||
|
|
7c3818bc51 | ||
|
|
9304a0377b | ||
|
|
2c5886de09 | ||
|
|
9919f9038f | ||
|
|
ed05bddbbc | ||
|
|
381acbf5ed | ||
|
|
9eb16f4703 | ||
|
|
eefdc9b2d1 | ||
|
|
8c4c15584f | ||
|
|
7223f3d4e1 | ||
|
|
ba4abcecfb | ||
|
|
04dfede535 | ||
|
|
248430e5b0 | ||
|
|
6b5f98cb2d | ||
|
|
5bc28a0560 | ||
|
|
f9efd6acfa | ||
|
|
ed5bcb17ed | ||
|
|
52a9cc6852 | ||
|
|
d538367354 | ||
|
|
9a60e8f075 | ||
|
|
e2ddd48a79 | ||
|
|
b876981243 | ||
|
|
7767cc4b51 | ||
|
|
131ece725a | ||
|
|
4d2a944310 | ||
|
|
91a9d5aab5 | ||
|
|
dc16574a04 | ||
|
|
8ed6a3869e | ||
|
|
faacbe088b | ||
|
|
f70449d67d | ||
|
|
d0523c1e54 | ||
|
|
026e414388 | ||
|
|
2535c8c7c3 | ||
|
|
ece74d7552 | ||
|
|
3237d9eb21 | ||
|
|
3ccb61fba2 | ||
|
|
73f2926469 | ||
|
|
1249055668 | ||
|
|
d312b783e9 | ||
|
|
4044f43808 | ||
|
|
d94b2a7805 | ||
|
|
a0ea95b1c3 | ||
|
|
23764f8c93 | ||
|
|
9d1df94f89 | ||
|
|
0f226b3620 | ||
|
|
536b7f3b2c | ||
|
|
1c0ea9e7bb | ||
|
|
ff8bc49074 | ||
|
|
b80bf51a61 | ||
|
|
a28fabedef | ||
|
|
b989953b7a | ||
|
|
39cd8ff63e | ||
|
|
57fc8c2687 | ||
|
|
0befb32571 | ||
|
|
824d7c7bb6 | ||
|
|
a45716e0cb | ||
|
|
64066e9622 | ||
|
|
5836275a3f | ||
|
|
11956aee00 | ||
|
|
a38cc9a1ee | ||
|
|
107548aa36 | ||
|
|
4d58eafc19 | ||
|
|
fbc6f6e887 | ||
|
|
991d91b636 | ||
|
|
5f701980a4 | ||
|
|
4fd82afade | ||
|
|
7d2fbde2fe | ||
|
|
819c53df7e | ||
|
|
aed5a63a19 | ||
|
|
439208605b | ||
|
|
3c7bb77f3e | ||
|
|
f126a59ff2 | ||
|
|
c1a729f542 | ||
|
|
2f96a090c4 | ||
|
|
704a93713f | ||
|
|
78e156bfb2 | ||
|
|
765404f55d | ||
|
|
d08a3df440 | ||
|
|
3ad1e7a196 | ||
|
|
dacc042a85 | ||
|
|
f5d5bf9c37 | ||
|
|
bfece9ae7d | ||
|
|
b6a797c993 | ||
|
|
96866565c4 | ||
|
|
6ed2e558cb | ||
|
|
2681e4eb28 | ||
|
|
7feebb8c1f | ||
|
|
32da0c8283 | ||
|
|
e11d505409 | ||
|
|
fae3a20a9e | ||
|
|
d5ce11c788 | ||
|
|
cedade1d01 | ||
|
|
7edef87a4f | ||
|
|
48fdf4cc84 | ||
|
|
2597f99571 | ||
|
|
26264ecdea | ||
|
|
8bfb0eb9e0 | ||
|
|
f654557fae | ||
|
|
cf3a246520 | ||
|
|
5993231c2a | ||
|
|
7be9c5fb9c | ||
|
|
98bee2aae7 | ||
|
|
3747e2fc40 | ||
|
|
150c8f014b | ||
|
|
e361e509af | ||
|
|
0ad7b4f8b8 | ||
|
|
13df750473 | ||
|
|
baffe6dbe0 | ||
|
|
f187bc6ccf | ||
|
|
5e9f0bf8a1 | ||
|
|
ff1780bb04 | ||
|
|
96a0b9cfd2 | ||
|
|
519ca23556 | ||
|
|
2ddc29f45e | ||
|
|
b9aa4ba124 | ||
|
|
7b74d83c23 | ||
|
|
9ad710fade | ||
|
|
58f0a1fade | ||
|
|
c65525ac86 | ||
|
|
466ec45f7b | ||
|
|
9c6e6b8be8 | ||
|
|
157d7239c6 | ||
|
|
602ef60bf0 | ||
|
|
fc00b4b961 | ||
|
|
4e6ea086e3 | ||
|
|
2e31076171 | ||
|
|
14b8608be1 | ||
|
|
5baf683278 | ||
|
|
44a431c19f | ||
|
|
183fc7f160 | ||
|
|
2137bfbcd0 | ||
|
|
1f586a2c31 | ||
|
|
fad3f41e58 | ||
|
|
37dc1056c9 | ||
|
|
2993e1236a | ||
|
|
8e484a575c | ||
|
|
ba564a886b | ||
|
|
1a64dc5cba | ||
|
|
f4bf7a4d5e | ||
|
|
813cfb56a2 | ||
|
|
828752e354 | ||
|
|
483bf51c2f | ||
|
|
7557bacb60 | ||
|
|
8fa3a2d0e4 | ||
|
|
ab058cc094 | ||
|
|
b802c97a8d | ||
|
|
61ddb56639 | ||
|
|
8bfea497a0 | ||
|
|
b1b8332a7c | ||
|
|
fb2809e4c2 | ||
|
|
21860daf41 | ||
|
|
52e94e902b | ||
|
|
8d722da799 | ||
|
|
18b33ee0a2 | ||
|
|
1d8f6bed6b | ||
|
|
6b41459281 | ||
|
|
b34b504bf3 | ||
|
|
026c26cea7 | ||
|
|
c360dd7f84 | ||
|
|
e20adee0e2 | ||
|
|
2c79c25436 | ||
|
|
d605db5c8f | ||
|
|
1f69f88b81 | ||
|
|
71e6e18e09 | ||
|
|
694854a89f | ||
|
|
7c816ec20a | ||
|
|
b2b5c21cf0 | ||
|
|
c796cf4009 | ||
|
|
4d78f1b11a | ||
|
|
991189dbca | ||
|
|
a1af24be47 | ||
|
|
17c50000db | ||
|
|
6f3c916273 | ||
|
|
3d5ce4b863 | ||
|
|
3093230400 | ||
|
|
5b0081d914 | ||
|
|
a117e5fd77 | ||
|
|
5168995ed9 | ||
|
|
e04fede462 | ||
|
|
d1441fbafe | ||
|
|
b9640c380f | ||
|
|
799a1ac5f0 | ||
|
|
2e11d8827e | ||
|
|
b08265221f | ||
|
|
dacf8f0864 | ||
|
|
6c08b7b45d | ||
|
|
9edbc5cc89 | ||
|
|
47560173f9 | ||
|
|
292a29a611 | ||
|
|
c910696735 | ||
|
|
2ead60a13a | ||
|
|
83dccfda1a | ||
|
|
1434556e0b | ||
|
|
50d6ed919b | ||
|
|
362dcdf288 | ||
|
|
7414dcc8da | ||
|
|
07cc0a22e8 | ||
|
|
e57b63a76f | ||
|
|
50bcabbc54 | ||
|
|
7156f08eb8 | ||
|
|
1f654fb4a6 | ||
|
|
a26efc5ca6 | ||
|
|
ee96f2696e | ||
|
|
9eeacb3bdd | ||
|
|
df800aba70 | ||
|
|
11dca4c37c | ||
|
|
460f3f957e | ||
|
|
7032677def | ||
|
|
c337e959b5 | ||
|
|
b442e0f914 | ||
|
|
43fb481aee | ||
|
|
9f299079f8 | ||
|
|
aa0f941624 | ||
|
|
cca3a35229 | ||
|
|
23783ae411 | ||
|
|
72a2a392c3 | ||
|
|
1d9894ce5b | ||
|
|
5284ceefd6 | ||
|
|
3a3ba4de37 | ||
|
|
527e161264 | ||
|
|
14260fa180 | ||
|
|
e686387d88 | ||
|
|
4a93b326db | ||
|
|
7283c968ae | ||
|
|
6924290626 | ||
|
|
eec13678a1 | ||
|
|
2b1b6c7afb | ||
|
|
0d1a720f03 | ||
|
|
48bc6da7b5 | ||
|
|
dd2555fc3f | ||
|
|
3ff94413e4 | ||
|
|
c2afe134f6 | ||
|
|
ee18b85108 | ||
|
|
f10c5b9ea8 | ||
|
|
54c75ecbe5 | ||
|
|
2200ff98d7 | ||
|
|
47280b1339 | ||
|
|
2b3f70393b | ||
|
|
ce9929e93f | ||
|
|
73752bffc3 | ||
|
|
b2eb96ec16 | ||
|
|
cd9d5567fb | ||
|
|
8a3fd342c6 | ||
|
|
143cb1e7c1 | ||
|
|
03b9a46a4c | ||
|
|
5a982ae32e | ||
|
|
22901bb856 | ||
|
|
38cdef9458 | ||
|
|
2dc86a9da2 | ||
|
|
3524d92013 | ||
|
|
5035fdce86 | ||
|
|
7c2480f027 | ||
|
|
66d344c910 | ||
|
|
440dabfca8 | ||
|
|
fc0c9b3a49 | ||
|
|
90403b655b | ||
|
|
ad49593fe3 | ||
|
|
05de760c41 | ||
|
|
ac94b33ad4 | ||
|
|
f9f419f03f | ||
|
|
d74819b198 | ||
|
|
d1d11e7b70 | ||
|
|
b696cdff08 | ||
|
|
f093853d21 | ||
|
|
4153713ce7 | ||
|
|
1a49c7870c | ||
|
|
691471dae5 | ||
|
|
5660c0e0db | ||
|
|
d3a6b1639c | ||
|
|
b2f6094a1d | ||
|
|
55ba013977 | ||
|
|
790812901d | ||
|
|
8693ce07a2 | ||
|
|
2133302397 | ||
|
|
e80f6d4cc2 | ||
|
|
a1b9cecebb | ||
|
|
a9f9a1650e | ||
|
|
e80d115e4f | ||
|
|
be714bec12 | ||
|
|
402045a53d | ||
|
|
220f4c6723 | ||
|
|
9000228698 | ||
|
|
a5341b00c1 | ||
|
|
37e5c4d092 | ||
|
|
a363e97dd4 | ||
|
|
3d47390bf1 | ||
|
|
040cd6a29f | ||
|
|
b4dbde9a80 | ||
|
|
37df072711 | ||
|
|
f2edd14117 | ||
|
|
bff799afd9 | ||
|
|
4971239bfc | ||
|
|
2b52e8e6ee | ||
|
|
eb0b219505 | ||
|
|
1023f092f6 | ||
|
|
7de5987355 | ||
|
|
c3ca5725a4 | ||
|
|
92bb653e81 | ||
|
|
6579190ae4 | ||
|
|
02be466954 | ||
|
|
86c6b149d7 | ||
|
|
307ec25524 | ||
|
|
e89ccd7ad4 | ||
|
|
bcf7e2125c | ||
|
|
476e0d5542 | ||
|
|
4984953287 | ||
|
|
cf4f74dcfc | ||
|
|
cf231f9fe6 | ||
|
|
8ce2cc579c | ||
|
|
439aa913b6 | ||
|
|
2e17054037 | ||
|
|
9cf9a6fbc5 | ||
|
|
93b52655b5 | ||
|
|
a397f81988 | ||
|
|
c9d54f4fea | ||
|
|
79df3c847e | ||
|
|
533e32abac | ||
|
|
43506e19f1 | ||
|
|
9a4a7cef4c | ||
|
|
930697d033 | ||
|
|
70f6e1d22b | ||
|
|
3cce2c1e1b | ||
|
|
a2bb4f1287 | ||
|
|
7388ad4524 | ||
|
|
a43a000c68 | ||
|
|
7148015037 | ||
|
|
c90cd4ce1a | ||
|
|
da65babd56 | ||
|
|
a23a284d1a | ||
|
|
ef144e27cb | ||
|
|
153bfc191d | ||
|
|
4d06a52e99 | ||
|
|
df84aeb8b2 | ||
|
|
7bbaa5f5ab | ||
|
|
4619b6ef9c | ||
|
|
1194a87c76 | ||
|
|
5a9fd74470 | ||
|
|
f2981c5b15 | ||
|
|
09576285c9 | ||
|
|
e928a29353 | ||
|
|
cc4a05bf11 | ||
|
|
453eb200a8 | ||
|
|
e74a6cf3d5 | ||
|
|
96d5b750ba | ||
|
|
f47aacaf6f | ||
|
|
603e226995 | ||
|
|
1edd54b4df | ||
|
|
cf943bf41f | ||
|
|
6c6c9cdc98 | ||
|
|
3c3ca33cda | ||
|
|
f51934396f | ||
|
|
ef880c67af | ||
|
|
f74c5cd9ba | ||
|
|
8152829c89 | ||
|
|
2e8761f533 | ||
|
|
2a6c2f7c72 | ||
|
|
c07958fa73 | ||
|
|
eb158e63a2 | ||
|
|
278d5984b2 | ||
|
|
6c84d2f52b | ||
|
|
269c2a0a10 | ||
|
|
9ce7138d9b | ||
|
|
700322c603 | ||
|
|
730a62831b | ||
|
|
932a9ef3ff | ||
|
|
6e4aa8e56e | ||
|
|
82b0abaab3 | ||
|
|
e4fd75ac5a | ||
|
|
ddaee7c2f3 | ||
|
|
b187ec88be | ||
|
|
84e99048ab | ||
|
|
7c853e3ea5 | ||
|
|
1f29fde5d2 | ||
|
|
6e4cc8eb28 | ||
|
|
4bdf3694c3 | ||
|
|
03f9e88bad | ||
|
|
b55b8bf831 | ||
|
|
3b698fc062 | ||
|
|
567f1442f5 | ||
|
|
459b647b68 | ||
|
|
806a223e00 | ||
|
|
f3970b9fb2 | ||
|
|
191ffe0173 | ||
|
|
e32f7536b5 | ||
|
|
61218f9ca3 | ||
|
|
ab09fa6614 | ||
|
|
b417cca906 | ||
|
|
acaec6e2d8 | ||
|
|
28660b82ef | ||
|
|
f4b6326652 | ||
|
|
c899a84b29 | ||
|
|
be62767d45 | ||
|
|
2f4b522189 | ||
|
|
8004c41094 | ||
|
|
f7278fc890 | ||
|
|
685faa0627 | ||
|
|
1cdcff120d | ||
|
|
57b72ae440 | ||
|
|
2062bf082d | ||
|
|
a302050431 | ||
|
|
d9c26e01f4 | ||
|
|
d06ffdacd0 | ||
|
|
0420793e21 | ||
|
|
11c3bf795b | ||
|
|
e20f2d32e8 | ||
|
|
e1284feae6 | ||
|
|
a53ebb334b | ||
|
|
7abadfb5a6 | ||
|
|
65de4a8ca5 | ||
|
|
7d4c30732a | ||
|
|
536fbedda2 | ||
|
|
93f6368753 | ||
|
|
ad11b9fcc5 | ||
|
|
3475e6ec91 | ||
|
|
417cb4c89d | ||
|
|
e3f2b211a9 | ||
|
|
6a2191ff92 | ||
|
|
8111a83703 | ||
|
|
e643378249 | ||
|
|
d663106f9f | ||
|
|
d5f8cf6cf0 | ||
|
|
a0287a9f36 | ||
|
|
9c8ed3dfa8 | ||
|
|
f02cca1981 | ||
|
|
46cc363413 | ||
|
|
a59286473f | ||
|
|
f88f5c3bda | ||
|
|
b5d8b8771e | ||
|
|
35e9ecedd0 | ||
|
|
b5c705a1fe | ||
|
|
fe51669369 | ||
|
|
46cffb836c | ||
|
|
b78949cf0c | ||
|
|
1be87d0ec0 | ||
|
|
329922a836 | ||
|
|
c62c8e2c43 | ||
|
|
cfca40b7be | ||
|
|
8057c24947 | ||
|
|
1af7271a06 | ||
|
|
7ce03c18b2 | ||
|
|
ab8fdf3106 | ||
|
|
1d1b186d1e | ||
|
|
fb1f868c42 | ||
|
|
e08fa188ec | ||
|
|
e30bf47f0d | ||
|
|
253ab40e5c | ||
|
|
58a08757f5 | ||
|
|
9ca096094f | ||
|
|
4788f1dddc | ||
|
|
cf1c9643b9 | ||
|
|
c512a6a274 | ||
|
|
58fbd62779 | ||
|
|
173b7f6362 | ||
|
|
9fb738eda1 | ||
|
|
d35d106ad4 | ||
|
|
159942de95 | ||
|
|
693eef8f7e | ||
|
|
2887d23381 | ||
|
|
096d41088f | ||
|
|
bd84eeca0b | ||
|
|
b804f43d5a | ||
|
|
36b24bedb4 | ||
|
|
c1b3ff7bfd | ||
|
|
20c859b0a1 | ||
|
|
c4925ee2c7 | ||
|
|
d37a1fbea7 | ||
|
|
2142ae3e1c | ||
|
|
e686df45c9 | ||
|
|
ed9ed905ed | ||
|
|
98e77b9d0f | ||
|
|
879a347f23 | ||
|
|
cab58c30a7 | ||
|
|
75b9a3eeb0 | ||
|
|
00bf34965a | ||
|
|
81ab841fa5 | ||
|
|
df313adf39 | ||
|
|
c991c20cc1 | ||
|
|
0e54be8f66 | ||
|
|
140a3de5ed | ||
|
|
ae97012456 | ||
|
|
20d81e4353 | ||
|
|
8abdcf15d4 | ||
|
|
7f35ddfe30 | ||
|
|
7431de094f | ||
|
|
4b7397de46 | ||
|
|
a716254557 | ||
|
|
c406d92b82 | ||
|
|
432e3b1824 | ||
|
|
73611dacf1 | ||
|
|
8f4f141a64 | ||
|
|
51af3c63f1 | ||
|
|
b3c35b385b | ||
|
|
5b2ed02428 | ||
|
|
3405172d76 | ||
|
|
d88a078cd6 | ||
|
|
ee3e30d9b5 | ||
|
|
0250589be2 | ||
|
|
a66204f672 | ||
|
|
91967e6ce3 | ||
|
|
60507ea4bc | ||
|
|
486b920d6b | ||
|
|
0260444ca0 | ||
|
|
43d3e576e2 | ||
|
|
0038ed347f | ||
|
|
336c31e48d | ||
|
|
411bef9320 | ||
|
|
027b9cc4f7 | ||
|
|
33932f7428 | ||
|
|
0f83d10bfa | ||
|
|
e13c5910ec | ||
|
|
7f4dcc1357 | ||
|
|
1163f2e418 | ||
|
|
6045e7e7f0 | ||
|
|
6803e9fa40 | ||
|
|
f1852aa83a | ||
|
|
287df4a1cc | ||
|
|
177b3ab66a | ||
|
|
df4836458f | ||
|
|
389d1753c4 | ||
|
|
ed3201db6d | ||
|
|
08a4dba659 | ||
|
|
9e6f386b28 | ||
|
|
eef38f0949 | ||
|
|
262b4486e4 | ||
|
|
aac556f769 | ||
|
|
b443870e62 | ||
|
|
0d5707a1df | ||
|
|
5a5e2fd1d1 | ||
|
|
7f8fbfead3 | ||
|
|
2ed578c0ca | ||
|
|
9ce221935e | ||
|
|
0ee55d4873 | ||
|
|
814e9c853a | ||
|
|
291c737a40 | ||
|
|
0bc176b603 | ||
|
|
fefd3f9701 | ||
|
|
cb16b3a8b6 | ||
|
|
bb50fbc589 | ||
|
|
d8155e7771 | ||
|
|
6d6048bc5c | ||
|
|
92e2e2a75f | ||
|
|
76e8a1efca | ||
|
|
9ffe5583fd | ||
|
|
0022294ea4 | ||
|
|
dc63d902e5 | ||
|
|
f0b31a9b08 | ||
|
|
743e5bfbff | ||
|
|
06d6500ef6 | ||
|
|
3a8e189dd7 | ||
|
|
625bc280f0 | ||
|
|
0aff5b3b72 | ||
|
|
2095b79b9a | ||
|
|
0ddfc4ec75 | ||
|
|
342c3ea295 | ||
|
|
7b1c1b9a5a | ||
|
|
378baf589a | ||
|
|
d2cdbe4774 | ||
|
|
d66e570e01 | ||
|
|
88cc6542a9 | ||
|
|
2ab2306469 | ||
|
|
86ae4df790 | ||
|
|
a11507d0d2 | ||
|
|
5600d713a6 | ||
|
|
261b8e9d29 | ||
|
|
8c25b5e60b | ||
|
|
f0bf95a7d2 | ||
|
|
026e951604 | ||
|
|
6091cd0da8 | ||
|
|
55a13799b2 | ||
|
|
d24fe5ff5d | ||
|
|
472a441c8e | ||
|
|
92ffed6541 | ||
|
|
a1e80fd806 | ||
|
|
96438313a1 | ||
|
|
0837f1619a | ||
|
|
edaffb736c | ||
|
|
06be4503ca | ||
|
|
dbabe81e3c | ||
|
|
68c1fe4943 | ||
|
|
ae822de737 | ||
|
|
02494651fc | ||
|
|
4f45ce3f50 | ||
|
|
5d774bfd33 | ||
|
|
b04c2a9693 | ||
|
|
371f60c68a | ||
|
|
79ebd89e8b | ||
|
|
a8194319b6 | ||
|
|
7a211b9a55 | ||
|
|
00fdcb1ee8 | ||
|
|
20ef9d4575 | ||
|
|
c1c009863d | ||
|
|
c4594559a2 | ||
|
|
46350b7522 | ||
|
|
29683572b9 | ||
|
|
472599498e | ||
|
|
a9fa981e96 | ||
|
|
82ed2e70dc | ||
|
|
2161596efc | ||
|
|
5714e26c4d | ||
|
|
eedeff6caa | ||
|
|
d7c0be045a | ||
|
|
a61c440484 | ||
|
|
91b2145c6e | ||
|
|
7684c280bc | ||
|
|
d0656ba157 | ||
|
|
62d8285c1a | ||
|
|
fee02a53b6 | ||
|
|
cbeaa9705f | ||
|
|
2ee0c6f995 | ||
|
|
f72ec4452b | ||
|
|
9239c04c4b | ||
|
|
9b0bb414db | ||
|
|
91f97e52b0 | ||
|
|
c7cbf1a9f3 | ||
|
|
4f82eb09d8 | ||
|
|
c1d1af8c01 | ||
|
|
b4f3fce64a | ||
|
|
3f9f589178 | ||
|
|
6a4d4f9bca | ||
|
|
7f16c27dcf | ||
|
|
a2361da560 | ||
|
|
ffae93cc72 | ||
|
|
29ea43a10f | ||
|
|
5afa543ba5 | ||
|
|
e932241df0 | ||
|
|
7505f77b4a | ||
|
|
e61597b3ce | ||
|
|
90e25856cf | ||
|
|
3a17a24774 | ||
|
|
50e0a0b688 | ||
|
|
4cb7dc03a7 | ||
|
|
658d6ec0c8 | ||
|
|
6d7a47a228 | ||
|
|
167d65a97b | ||
|
|
71243ea1fe | ||
|
|
bd608ce06f | ||
|
|
fe3055f77c | ||
|
|
1ccda52f6f | ||
|
|
9cdfd86f70 | ||
|
|
e709262477 | ||
|
|
20d2817c8d | ||
|
|
a7269ee68a | ||
|
|
552e2738cd | ||
|
|
216d64e3eb | ||
|
|
f903a1da55 | ||
|
|
f2b1158eda | ||
|
|
1d797f8d16 | ||
|
|
9e503e4901 | ||
|
|
bf22309fe5 | ||
|
|
a3537a67c2 | ||
|
|
8ba888a5b3 | ||
|
|
fd2d59b1e0 | ||
|
|
5c2cc5e5e4 | ||
|
|
fe7ea04011 | ||
|
|
19baff5dde | ||
|
|
0ac6984576 | ||
|
|
de0eedb2cb | ||
|
|
30dddf462e | ||
|
|
abee470afc | ||
|
|
42d8505504 | ||
|
|
3c481cf61c | ||
|
|
55c96031f7 | ||
|
|
2ea061d324 | ||
|
|
2747df64dd |
@@ -1,572 +0,0 @@
|
|||||||
import 'l10n.dart';
|
|
||||||
|
|
||||||
/// The translations for English (`en`).
|
|
||||||
class SEn extends S {
|
|
||||||
SEn([String locale = 'en']) : super(locale);
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get about => 'About';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get aboutThanks => '\nThanks to the following people who participated in the test.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get addAServer => 'add a server';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get addOne => 'Add one';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get addPrivateKey => 'Add private key';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get alreadyLastDir => 'Already in last directory.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get appPrimaryColor => 'App primary color';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get attention => 'Attention';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get auto => 'Auto';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get backDir => 'Back';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get backup => 'Backup';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get backupTip => 'The exported data is simply encrypted. \nPlease keep it safe.\nRestoring will not overwrite existing data (except setting).';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get backupVersionNotMatch => 'Backup version is not match.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get cancel => 'Cancel';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get choose => 'Choose';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get chooseDestination => 'Choose destination';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get chooseFontFile => 'Choose a font file';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get choosePrivateKey => 'Choose private key';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get clear => 'Clear';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get clickSee => 'Click here';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get close => 'Close';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get cmd => 'Command';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get containerStatus => 'Container status';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get convert => 'Convert';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get copy => 'Copy';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get copyPath => 'Copy path';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get createFile => 'Create file';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get createFolder => 'Create folder';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get currentMode => 'Current Mode';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dark => 'Dark';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get debug => 'Debug';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get decode => 'Decode';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get delete => 'Delete';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get disconnected => 'Disconnected';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String dl2Local(Object fileName) {
|
|
||||||
return 'Download [$fileName] to local?';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerContainerName => 'Container name';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerEditHost => 'Edit DOCKER_HOST';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerEmptyRunningItems => 'No running container. \nIt may be that the env DOCKER_HOST is not read correctly. You can found it by running `echo \$DOCKER_HOST` in terminal.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerImage => 'Image';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String dockerImagesFmt(Object count) {
|
|
||||||
return '$count images';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerNotInstalled => 'Docker not installed';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String dockerStatusRunningAndStoppedFmt(Object runningCount, Object stoppedCount) {
|
|
||||||
return '$runningCount running, $stoppedCount container stopped.';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String dockerStatusRunningFmt(Object count) {
|
|
||||||
return '$count container running.';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get download => 'Download';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get downloadFinished => 'Download finished';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String downloadStatus(Object percent, Object size) {
|
|
||||||
return '$percent% of $size';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get edit => 'Edit';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get encode => 'Encode';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get error => 'Error';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get exampleName => 'Example name';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get experimentalFeature => 'Experimental feature';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get export => 'Export';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get extraArgs => 'Extra args';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get failed => 'Failed';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get feedback => 'Feedback';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get feedbackOnGithub => 'If you have any questions, please feedback on Github.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get fieldMustNotEmpty => 'These fields must not be empty.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String fileNotExist(Object file) {
|
|
||||||
return '$file not exist';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String fileTooLarge(Object file, Object size, Object sizeMax) {
|
|
||||||
return 'File \'$file\' too large $size, max $sizeMax';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get files => 'Files';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String foundNUpdate(Object count) {
|
|
||||||
return 'Found $count update';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get getPushTokenFailed => 'Can\'t fetch push token';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get gettingToken => 'Getting token...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get go => 'Go';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get goto => 'Go to';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get host => 'Host';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String httpFailedWithCode(Object code) {
|
|
||||||
return 'request failed, status code: $code';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get imagesList => 'Images list';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get import => 'Import';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get importAndExport => 'Import and Export';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get inputDomainHere => 'Input Domain here';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get install => 'install';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get installDockerWithUrl => 'Please https://docs.docker.com/engine/install docker first.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get invalidJson => 'Invalid JSON';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get invalidVersion => 'Invalid version';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String invalidVersionHelp(Object url) {
|
|
||||||
return 'Please make sure that docker is installed correctly, or that you are using a non-self-compiled version. If you don\'t have the above issues, please submit an issue on $url.';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get isBusy => 'Is busy now';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get keepForeground => 'Keep app foreground!';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get keyAuth => 'Key Auth';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get lastTry => 'Last try!';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get launchPage => 'Launch page';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get license => 'License';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get light => 'Light';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get loadingFiles => 'Loading files...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get loss => 'loss';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String madeWithLove(Object myGithub) {
|
|
||||||
return '\nMade with ❤️ by $myGithub';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get max => 'max';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get maxRetryCount => 'Number of server reconnection';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get maxRetryCountEqual0 => 'Will retry again and again.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get min => 'min';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get ms => 'ms';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get name => 'Name';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get needRestart => 'Need to restart app';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get newContainer => 'New container';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noClient => 'No client';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noInterface => 'No interface';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noResult => 'No result';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noSavedPrivateKey => 'No saved private keys.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noSavedSnippet => 'No saved snippets.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noServerAvailable => 'No server available.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noUpdateAvailable => 'No update available';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get notSelected => 'Not selected';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get nullToken => 'Null token';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get ok => 'OK';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get onServerDetailPage => 'On server detail page';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get onlyIOS => 'Only valid on iOS';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get open => 'Open';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get path => 'Path';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pickFile => 'Pick file';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get ping => 'Ping';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pingAvg => 'Avg:';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pingInputIP => 'Please input a target IP/domain.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pingNoServer => 'No server to ping.\nPlease add a server in server tab.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pkg => 'Pkg';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get platformNotSupportUpdate => 'Current platform does not support in app update.\nPlease build from source and install it.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get plzEnterHost => 'Please enter host.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get plzSelectKey => 'Please select a key.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get port => 'Port';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get preview => 'Preview';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get privateKey => 'Private Key';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pushToken => 'Push token';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pwd => 'Password';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get rename => 'Rename';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String reportBugsOnGithubIssue(Object url) {
|
|
||||||
return 'Please report bugs on $url';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get restart => 'Restart';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get restore => 'Restore';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get restoreSuccess => 'Restore success. Restart app to apply.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String restoreSureWithDate(Object date) {
|
|
||||||
return 'Are you sure to restore from $date ?';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get result => 'Result';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get run => 'Run';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get save => 'Save';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get second => 's';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get server => 'Server';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabConnecting => 'Connecting...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabEmpty => 'There is no server.\nClick the fab to add one.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabFailed => 'Failed';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabLoading => 'Loading...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabPlzSave => 'Please \'save\' this private key again.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabUnkown => 'Unknown state';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get setting => 'Setting';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get sftpDlPrepare => 'Preparing to connect...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get sftpNoDownloadTask => 'No download task.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get sftpSSHConnected => 'SFTP Connected';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get showDistLogo => 'Show distribution logo';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get snippet => 'Snippet';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String spentTime(Object time) {
|
|
||||||
return 'Spent time: $time';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String sshTip(Object url) {
|
|
||||||
return 'This function is now in the experimental stage.\n\nPlease report bugs on $url or join our development.';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get start => 'Start';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get stop => 'Stop';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get success => 'Success';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String sureDelete(Object name) {
|
|
||||||
return 'Are you sure to delete [$name]?';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get sureNoPwd => 'Are you sure to use no password?';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String sureToDeleteServer(Object server) {
|
|
||||||
return 'Are you sure to delete server [$server]?';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get termTheme => 'Terminal theme';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get themeMode => 'Theme mode';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get times => 'Times';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get ttl => 'ttl';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get unknown => 'unknown';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get unknownError => 'Unknown error';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get unkownConvertMode => 'Unknown convert mode';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get update => 'Update';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get updateAll => 'Update all';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get updateIntervalEqual0 => 'You set to 0, will not update automatically.\nCan\'t calculate CPU status.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get updateServerStatusInterval => 'Server status update interval';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String updateTip(Object newest) {
|
|
||||||
return 'Update: v1.0.$newest';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String updateTipTooLow(Object newest) {
|
|
||||||
return 'Current version is too low, please update to v1.0.$newest';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get upsideDown => 'Upside Down';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get urlOrJson => 'URL or JSON';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get user => 'User';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String versionHaveUpdate(Object build) {
|
|
||||||
return 'Found: v1.0.$build, click to update';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String versionUnknownUpdate(Object build) {
|
|
||||||
return 'Current: v1.0.$build';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String versionUpdated(Object build) {
|
|
||||||
return 'Current: v1.0.$build, is up to date';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get waitConnection => 'Please wait for the connection to be established.';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get willTakEeffectImmediately => 'Will take effect immediately';
|
|
||||||
}
|
|
||||||
@@ -1,572 +0,0 @@
|
|||||||
import 'l10n.dart';
|
|
||||||
|
|
||||||
/// The translations for Chinese (`zh`).
|
|
||||||
class SZh extends S {
|
|
||||||
SZh([String locale = 'zh']) : super(locale);
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get about => '关于';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get aboutThanks => '\n感谢以下参与软件测试的各位。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get addAServer => '添加服务器';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get addOne => '前去新增';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get addPrivateKey => '添加一个私钥';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get alreadyLastDir => '已经是最上层目录了';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get appPrimaryColor => 'App主要色';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get attention => '注意';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get auto => '自动';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get backDir => '返回上一级';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get backup => '备份';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get backupTip => '导出的数据仅进行了简单加密,请妥善保管。\n除了设置项,恢复的数据不会覆盖现有数据。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get backupVersionNotMatch => '备份版本不匹配,无法恢复';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get cancel => '取消';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get choose => '选择';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get chooseDestination => '选择目标';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get chooseFontFile => '选择字体文件';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get choosePrivateKey => '选择私钥';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get clear => '清除';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get clickSee => '点击查看';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get close => '关闭';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get cmd => '命令';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get containerStatus => '容器状态';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get convert => '转换';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get copy => '复制';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get copyPath => '复制路径';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get createFile => '创建文件';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get createFolder => '创建文件夹';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get currentMode => '当前模式';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dark => '暗';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get debug => '调试';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get decode => '解码';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get delete => '删除';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get disconnected => '连接断开';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String dl2Local(Object fileName) {
|
|
||||||
return '下载 [$fileName] 到本地?';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerContainerName => '容器名';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerEditHost => '编辑 DOCKER_HOST';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerEmptyRunningItems => '没有正在运行的容器。\n这可能是因为环境变量 DOCKER_HOST 没有被正确读取。你可以通过在终端内运行 `echo \$DOCKER_HOST` 来获取。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerImage => '镜像';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String dockerImagesFmt(Object count) {
|
|
||||||
return '共 $count 个镜像';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get dockerNotInstalled => 'Docker未安装';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String dockerStatusRunningAndStoppedFmt(Object runningCount, Object stoppedCount) {
|
|
||||||
return '$runningCount个正在运行, $stoppedCount个已停止';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String dockerStatusRunningFmt(Object count) {
|
|
||||||
return '$count个容器正在运行';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get download => '下载';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get downloadFinished => '下载完成!';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String downloadStatus(Object percent, Object size) {
|
|
||||||
return '$size 的 $percent%';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get edit => '编辑';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get encode => '编码';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get error => '出错了';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get exampleName => '名称示例';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get experimentalFeature => '实验性功能';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get export => '导出';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get extraArgs => '额外参数';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get failed => '失败';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get feedback => '反馈';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get feedbackOnGithub => '如果你有任何问题,请在GitHub反馈';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get fieldMustNotEmpty => '这些输入框不能为空。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String fileNotExist(Object file) {
|
|
||||||
return '$file 不存在';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String fileTooLarge(Object file, Object size, Object sizeMax) {
|
|
||||||
return '文件 \'$file\' 过大 \'$size\',超过了 $sizeMax';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get files => '文件';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String foundNUpdate(Object count) {
|
|
||||||
return '找到 $count 个更新';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get getPushTokenFailed => '未能获取到推送token';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get gettingToken => '正在获取Token...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get go => '开始';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get goto => '前往';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get host => '主机';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String httpFailedWithCode(Object code) {
|
|
||||||
return '请求失败, 状态码: $code';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get imagesList => '镜像列表';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get import => '导入';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get importAndExport => '导入或导出';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get inputDomainHere => '在这里输入域名';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get install => '安装';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get installDockerWithUrl => '请先 https://docs.docker.com/engine/install docker';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get invalidJson => '无效的json,存在格式问题';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get invalidVersion => '不支持的版本';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String invalidVersionHelp(Object url) {
|
|
||||||
return '请确保正确安装了docker,或者使用的非自编译版本。如果没有以上问题,请在 $url 提交问题。';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get isBusy => '当前正忙';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get keepForeground => '请保持应用处于前台!';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get keyAuth => '公钥认证';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get lastTry => '最后尝试';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get launchPage => '启动页';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get license => '开源证书';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get light => '亮';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get loadingFiles => '正在加载目录。。。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get loss => '丢包率';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String madeWithLove(Object myGithub) {
|
|
||||||
return '\n用❤️制作 by $myGithub';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get max => '最大';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get maxRetryCount => '服务器尝试重连次数';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get maxRetryCountEqual0 => '会无限重试';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get min => '最小';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get ms => '毫秒';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get name => '名称';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get needRestart => '需要重启 App';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get newContainer => '新建容器';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noClient => '没有SSH连接';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noInterface => '没有可用的接口';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noResult => '无结果';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noSavedPrivateKey => '没有已保存的私钥。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noSavedSnippet => '没有已保存的代码片段。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noServerAvailable => '没有可用的服务器。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get noUpdateAvailable => '没有可用更新';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get notSelected => '未选择';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get nullToken => '无Token';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get ok => '好';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get onServerDetailPage => '在服务器详情页';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get onlyIOS => '仅在iOS上有效';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get open => '打开';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get path => '路径';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pickFile => '选择文件';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get ping => 'Ping';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pingAvg => '平均:';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pingInputIP => '请输入目标IP或域名';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pingNoServer => '没有服务器可用于Ping\n请在服务器tab添加服务器后再试';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pkg => '包管理';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get platformNotSupportUpdate => '当前平台不支持更新,请编译最新源码后手动安装';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get plzEnterHost => '请输入主机';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get plzSelectKey => '请选择私钥';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get port => '端口';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get preview => '预览';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get privateKey => '私钥';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pushToken => '消息推送 Token';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get pwd => '密码';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get rename => '重命名';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String reportBugsOnGithubIssue(Object url) {
|
|
||||||
return '请到 $url 提交问题';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get restart => '重启';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get restore => '恢复';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get restoreSuccess => '恢复成功,需要重启App来应用更改';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String restoreSureWithDate(Object date) {
|
|
||||||
return '确定恢复 $date 的备份吗?';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get result => '结果';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get run => '运行';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get save => '保存';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get second => '秒';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get server => '服务器';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabConnecting => '连接中...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabEmpty => '现在没有服务器。\n点击右下方按钮来添加。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabFailed => '失败';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabLoading => '加载中...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabPlzSave => '请再次保存该私钥';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get serverTabUnkown => '未知状态';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get setting => '设置';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get sftpDlPrepare => '准备连接至服务器...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get sftpNoDownloadTask => '没有下载任务';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get sftpSSHConnected => 'SFTP 已连接,即将开始下载...';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get showDistLogo => '显示发行版 Logo';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get snippet => '代码片段';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String spentTime(Object time) {
|
|
||||||
return '耗时: $time';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String sshTip(Object url) {
|
|
||||||
return '该功能目前处于测试阶段。\n\n请在 $url 反馈问题,或者加入我们开发。';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get start => '开始';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get stop => '停止';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get success => '成功';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String sureDelete(Object name) {
|
|
||||||
return '确定删除[$name]?';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get sureNoPwd => '确认使用无密码?';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String sureToDeleteServer(Object server) {
|
|
||||||
return '你确定要删除服务器 [$server] 吗?';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get termTheme => '终端主题';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get themeMode => '主题模式';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get times => '次';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get ttl => '缓存时间';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get unknown => '未知';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get unknownError => '未知错误';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get unkownConvertMode => '未知转换模式';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get update => '更新';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get updateAll => '更新全部';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get updateIntervalEqual0 => '你设置为0,服务器状态不会自动刷新。\n且不能计算CPU使用情况。';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get updateServerStatusInterval => '服务器状态刷新间隔';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String updateTip(Object newest) {
|
|
||||||
return '新版本: v1.0.$newest';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String updateTipTooLow(Object newest) {
|
|
||||||
return '当前版本过低,请升级至 v1.0.$newest';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get upsideDown => '上下交换';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get urlOrJson => '链接或JSON';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get user => '用户';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String versionHaveUpdate(Object build) {
|
|
||||||
return '找到新版本:v1.0.$build, 点击更新';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String versionUnknownUpdate(Object build) {
|
|
||||||
return '当前:v1.0.$build';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String versionUpdated(Object build) {
|
|
||||||
return '当前:v1.0.$build, 已是最新版本';
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get waitConnection => '请等待连接建立';
|
|
||||||
|
|
||||||
@override
|
|
||||||
String get willTakEeffectImmediately => '更改将会立即生效';
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
# Generated by the flutter tool
|
|
||||||
name: synthetic_package
|
|
||||||
description: The Flutter application's synthetic package.
|
|
||||||
53
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Thanks for your feedback:
|
||||||
|
1、Please check if there is a similar issue first
|
||||||
|
2、If it is a function or UI suggestion, please go to Discussion
|
||||||
|
-->
|
||||||
|
|
||||||
|
**Describe the bug**
|
||||||
|
<!--A clear and concise description of what the bug is.-->
|
||||||
|
|
||||||
|
|
||||||
|
**To Reproduce**
|
||||||
|
<!--
|
||||||
|
Steps to reproduce the behavior:
|
||||||
|
1. Go to '...'
|
||||||
|
2. Click on '....'
|
||||||
|
3. Scroll down to '....'
|
||||||
|
4. See error
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
**Desired Results**
|
||||||
|
<!--A clear description of the result you expected.-->
|
||||||
|
|
||||||
|
|
||||||
|
**Actual Results**
|
||||||
|
<!--A clear description of the actual result.-->
|
||||||
|
|
||||||
|
|
||||||
|
**Screenshots**
|
||||||
|
<!--If applicable, add screenshots(both bug screen and logs
|
||||||
|
screen) to help explain your problem.-->
|
||||||
|
|
||||||
|
|
||||||
|
**Device**
|
||||||
|
<!--
|
||||||
|
- OS: e.g. iOS16 or Android13
|
||||||
|
- App Version: e.g. 1.0.302
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
<!--Add any other context about the problem here.-->
|
||||||
|
|
||||||
51
.github/ISSUE_TEMPLATE/bug_report_cn.md
vendored
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
---
|
||||||
|
name: Bug 反馈
|
||||||
|
about: 帮助我们改进错误
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
感谢您反馈问题,请先阅读以下内容:
|
||||||
|
1、请先查看是否已存在相似 issue
|
||||||
|
2、如果是功能、UI建议,请移步至 Discussion
|
||||||
|
-->
|
||||||
|
|
||||||
|
**描述BUG**
|
||||||
|
<!--一个关于BUG的清晰描述。-->
|
||||||
|
|
||||||
|
|
||||||
|
**复现步骤**
|
||||||
|
<!--
|
||||||
|
如何复现:
|
||||||
|
1. 打开 '...'
|
||||||
|
2. 点击 '....'
|
||||||
|
3. 滚动到 '....'
|
||||||
|
4. 看到错误
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
**期望结果**
|
||||||
|
<!--一个关于你期望的结果的清晰描述。-->
|
||||||
|
|
||||||
|
|
||||||
|
**实际结果**
|
||||||
|
<!--一个关于实际结果的清晰描述。-->
|
||||||
|
|
||||||
|
|
||||||
|
**截图**
|
||||||
|
<!--如果可以,请添加截图(包括错误界面和日志界面)来帮助解释你的问题。-->
|
||||||
|
|
||||||
|
|
||||||
|
**设备**
|
||||||
|
<!--
|
||||||
|
- 系统: e.g. iOS16 or Android13
|
||||||
|
- App版本: e.g. 1.0.302
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
**更多信息**
|
||||||
|
<!--在这里添加关于这个问题的更多信息。-->
|
||||||
|
|
||||||
39
.github/workflows/analysis.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
|
||||||
|
name: flutter analysis
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: subosito/flutter-action@v2
|
||||||
|
with:
|
||||||
|
channel: 'stable' # or: 'beta', 'dev' or 'master'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: flutter pub get
|
||||||
|
|
||||||
|
# Uncomment this step to verify the use of 'dart format' on each commit.
|
||||||
|
- name: Verify formatting
|
||||||
|
run: dart format --output=none .
|
||||||
|
|
||||||
|
# Consider passing '--fatal-infos' for slightly stricter analysis.
|
||||||
|
- name: Analyze project source
|
||||||
|
run: dart analyze
|
||||||
|
|
||||||
|
# Your project will need to have tests in test/ and a dependency on
|
||||||
|
# package:test for this step to succeed. Note that Flutter projects will
|
||||||
|
# want to change this to 'flutter test'.
|
||||||
|
- name: Run tests
|
||||||
|
run: flutter test
|
||||||
91
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
name: Flutter Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
releaseAL:
|
||||||
|
name: Release android and linux
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: '0'
|
||||||
|
- name: Install Flutter
|
||||||
|
uses: subosito/flutter-action@v2
|
||||||
|
with:
|
||||||
|
channel: 'stable'
|
||||||
|
flutter-version: '3.22.2'
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: '17'
|
||||||
|
- name: Fetch secrets
|
||||||
|
run: |
|
||||||
|
curl -u ${{ secrets.BASIC_AUTH }} -o android/app/app.key ${{ secrets.URL_PREFIX }}app.key
|
||||||
|
curl -u ${{ secrets.BASIC_AUTH }} -o android/key.properties ${{ secrets.URL_PREFIX }}key.properties
|
||||||
|
- name: Build
|
||||||
|
run: dart run fl_build -p android,linux
|
||||||
|
- name: Rename for fdroid
|
||||||
|
run: |
|
||||||
|
mv build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_arm64.apk build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm64.apk
|
||||||
|
mv build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_arm.apk build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm.apk
|
||||||
|
mv build/app/outputs/flutter-apk/${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_amd64.apk build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_amd64.apk
|
||||||
|
- name: Create Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm64.apk
|
||||||
|
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_arm.apk
|
||||||
|
build/app/outputs/flutter-apk/${{ env.APP_NAME }}_v1.0.${{ env.BUILD_NUMBER }}_amd64.apk
|
||||||
|
${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_amd64.AppImage
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
releaseWin:
|
||||||
|
name: Release windows
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: '0'
|
||||||
|
- name: Install Flutter
|
||||||
|
uses: subosito/flutter-action@v2
|
||||||
|
- name: Build
|
||||||
|
run: dart run fl_build -p windows
|
||||||
|
- name: Create Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
${{ env.APP_NAME }}_${{ env.BUILD_NUMBER }}_windows_amd64.zip
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
# releaseApple:
|
||||||
|
# name: Release ios and macos
|
||||||
|
# runs-on: macos-latest
|
||||||
|
# steps:
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v4
|
||||||
|
# - name: Install Flutter
|
||||||
|
# uses: subosito/flutter-action@v2
|
||||||
|
# with:
|
||||||
|
# channel: 'stable'
|
||||||
|
# flutter-version: '3.22.2'
|
||||||
|
# - name: Build
|
||||||
|
# run: dart run fl_build -p ios,mac
|
||||||
|
# - name: Create Release
|
||||||
|
# uses: softprops/action-gh-release@v2
|
||||||
|
# with:
|
||||||
|
# files: |
|
||||||
|
# ${{ env.APP_NAME }}_universal_macos.zip
|
||||||
|
# ${{ env.APP_NAME }}_universal.ipa
|
||||||
|
# env:
|
||||||
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
17
.gitignore
vendored
@@ -48,8 +48,19 @@ app.*.map.json
|
|||||||
/android/app/fjy.androidstudio.key
|
/android/app/fjy.androidstudio.key
|
||||||
/release
|
/release
|
||||||
test.dart
|
test.dart
|
||||||
.fvm
|
|
||||||
|
|
||||||
# Keep generated l10n files
|
# Keep generated l10n files
|
||||||
/.dart_tool/*
|
# /.dart_tool/*
|
||||||
!/.dart_tool/flutter_gen
|
# !/.dart_tool/flutter_gen
|
||||||
|
|
||||||
|
.dart_tool
|
||||||
|
|
||||||
|
# Linux release
|
||||||
|
linux.AppDir
|
||||||
|
**/*.AppImage
|
||||||
|
|
||||||
|
untranlated.json
|
||||||
|
|
||||||
|
.vscode/settings.json
|
||||||
|
more_build_data.json
|
||||||
|
trans.txt
|
||||||
|
|||||||
29
.metadata
@@ -1,11 +1,11 @@
|
|||||||
# This file tracks properties of this Flutter project.
|
# This file tracks properties of this Flutter project.
|
||||||
# Used by Flutter tool to assess capabilities and perform upgrades etc.
|
# Used by Flutter tool to assess capabilities and perform upgrades etc.
|
||||||
#
|
#
|
||||||
# This file should be version controlled.
|
# This file should be version controlled and should not be manually edited.
|
||||||
|
|
||||||
version:
|
version:
|
||||||
revision: 9944297138845a94256f1cf37beb88ff9a8e811a
|
revision: "bae5e49bc2a867403c43b2aae2de8f8c33b037e4"
|
||||||
channel: stable
|
channel: "stable"
|
||||||
|
|
||||||
project_type: app
|
project_type: app
|
||||||
|
|
||||||
@@ -13,11 +13,26 @@ project_type: app
|
|||||||
migration:
|
migration:
|
||||||
platforms:
|
platforms:
|
||||||
- platform: root
|
- platform: root
|
||||||
create_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
|
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
base_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
|
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
- platform: android
|
||||||
|
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
- platform: ios
|
||||||
|
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
- platform: linux
|
||||||
|
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
- platform: macos
|
- platform: macos
|
||||||
create_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
|
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
base_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
|
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
- platform: web
|
||||||
|
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
- platform: windows
|
||||||
|
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
|
||||||
|
|
||||||
# User provided section
|
# User provided section
|
||||||
|
|
||||||
|
|||||||
9
.vscode/launch.json
vendored
@@ -5,12 +5,15 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "toolbox",
|
"name": "debug",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart"
|
"type": "dart",
|
||||||
|
// "args": [
|
||||||
|
// "-v"
|
||||||
|
// ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "toolbox (profile mode)",
|
"name": "profile",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"flutterMode": "profile",
|
"flutterMode": "profile",
|
||||||
|
|||||||
12
.vscode/settings.json
vendored
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"dart.flutterSdkPath": ".fvm",
|
|
||||||
"files.watcherExclude": {
|
|
||||||
"**/.fvm": true
|
|
||||||
},
|
|
||||||
"git.ignoredRepositories": [
|
|
||||||
".fvm"
|
|
||||||
],
|
|
||||||
"search.exclude": {
|
|
||||||
"**/.fvm": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
@@ -631,8 +631,8 @@ 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
|
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.
|
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.}
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
Copyright (C) {year} {name of author}
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -645,14 +645,14 @@ the "copyright" line and a pointer to where the full notice is found.
|
|||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
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.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
If the program does terminal interaction, make it output a short
|
If the program does terminal interaction, make it output a short
|
||||||
notice like this when it starts in an interactive mode:
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
{project} Copyright (C) {year} {fullname}
|
<program> Copyright (C) <year> <name of author>
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
@@ -664,11 +664,11 @@ 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,
|
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.
|
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
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
<http://www.gnu.org/licenses/>.
|
<https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
The GNU General Public License does not permit incorporating your program
|
The GNU General Public License does not permit incorporating your program
|
||||||
into proprietary programs. If your program is a subroutine library, you
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
may consider it more useful to permit linking proprietary applications with
|
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
|
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
|
Public License instead of this License. But first, please read
|
||||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||||
114
README.md
@@ -1,100 +1,72 @@
|
|||||||
English | [简体中文](README_zh.md)
|
English | [简体中文](README_zh.md)
|
||||||
<!-- Title-->
|
|
||||||
<p align="center">
|
|
||||||
<h1 align="center">Server Box</h1>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<!-- Badges-->
|
<h2 align="center">Flutter Server Box</h2>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://apps.apple.com/app/id1586449703">
|
<img alt="lang" src="https://img.shields.io/badge/lang-dart-pink">
|
||||||
<img style="height: 37px" src="screenshots/appstore.svg">
|
<img alt="license" src="https://img.shields.io/badge/license-GPLv3-pink">
|
||||||
</a>
|
|
||||||
<a href="https://github.com/lollipopkit/flutter_server_box/releases/latest">
|
|
||||||
<img style="height: 37px" src="screenshots/dl-android.svg">
|
|
||||||
</a>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://count.ly/f/badge" rel="nofollow">
|
A Flutter project which provide charts to display <a href="../../issues/43">Linux</a> server status and tools to manage server.
|
||||||
<img style="height: 37px" src="https://count.ly/badges/light.svg">
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p align="center">
|
|
||||||
A Flutter project which provide charts to display server status and tools to manage server.
|
|
||||||
<br>
|
<br>
|
||||||
Especially thanks to <a href="https://github.com/TerminalStudio/dartssh2">dartssh2</a> & <a href="https://github.com/TerminalStudio/xterm.dart">xterm.dart</a>.
|
Especially thanks to <a href="https://github.com/TerminalStudio/dartssh2">dartssh2</a> & <a href="https://github.com/TerminalStudio/xterm.dart">xterm.dart</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
## ⬇️ Download
|
||||||
|
🎉 **The `Android / Linux / Windows` version are now built via GitHub Actions**
|
||||||
|
|
||||||
|
[iOS & macOS](https://apps.apple.com/app/id1586449703) / [Android & Linux & Windows](https://github.com/lollipopkit/flutter_server_box/releases)
|
||||||
|
|
||||||
|
- All deprecated versions before `v930` can be found in [here](https://cdn.lolli.tech/serverbox/?sort=time&order=desc&layout=grid).
|
||||||
|
- To prevent injection attacks and etc., please don't download from untrusted sources. eg: Gitee release is not related to this project.
|
||||||
|
|
||||||
|
|
||||||
## 🔖 Feature
|
## 🔖 Feature
|
||||||
- [x] Functions
|
- `Status chart` (CPU, Sensors, GPU...), `SSH` Term, `SFTP`, `Docker & Pkg & Process`...
|
||||||
- [x] `SSH` Terminal, `SFTP`
|
- Platform specific: `Bio auth`、`Msg push`、`Home widget`、`watchOS App`...
|
||||||
- [x] `Docker & Pkg` Manager
|
- English, 简体中文; Deutsch [@its-tom](https://github.com/its-tom), 繁體中文 [@kalashnikov](https://github.com/kalashnikov), Indonesian [@azkadev](https://github.com/azkadev), Français [@FrancXPT](https://github.com/FrancXPT), Dutch [@QazCetelic](https://github.com/QazCetelic); Español, Русский язык, Português, 日本語 (Generated by GPT)
|
||||||
- [x] Status charts
|
|
||||||
- [x] `Ping` and etc.
|
|
||||||
- [x] i18n (English, Chinese)
|
|
||||||
- **Welcome contribution** :)
|
|
||||||
- [How to contribute?](#l10n-guide)
|
|
||||||
- [x] Desktop support
|
|
||||||
|
|
||||||
|
|
||||||
## 📩 Push
|
## 🏙️ ScreenShots
|
||||||
You need to install [ServerBoxMonitor](https://github.com/lollipopkit/server_box_monitor) on your servers.
|
|
||||||
And config iOS / Webhook to push server status to your portable device without using ServerBox app.
|
|
||||||
|
|
||||||
|
|
||||||
## 📱 ScreenShots
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td><img width="277px" src="imgs/server.png"></td>
|
||||||
<img width="200px" src="screenshots/server.jpg">
|
<td><img width="277px" src="imgs/detail.png"></td>
|
||||||
</td>
|
<td><img width="277px" src="imgs/sftp.png"></td>
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/detail.jpg">
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/ssh.jpg">
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/apt.png">
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td><img width="277px" src="imgs/editor.png"> </td>
|
||||||
<img width="200px" src="screenshots/ping.png">
|
<td><img width="277px" src="imgs/ssh.png"></td>
|
||||||
</td>
|
<td><img width="277px" src="imgs/docker.png"></td>
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/sftp.jpg">
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/docker.jpg">
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/convert.png">
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
## 🖥 Platform
|
## 🆘 Help
|
||||||
Status|Platform
|
- In order to push server status to your portable device without opening ServerBox app (Such as **message push** and **home widget**), you need to install [ServerBoxMonitor](https://github.com/lollipopkit/server_box_monitor) on your servers, and config it correctly. See [wiki](https://github.com/lollipopkit/server_box_monitor/wiki) for more details.
|
||||||
--- | ---
|
- **Common issues** can be found in [app wiki](https://github.com/lollipopkit/flutter_server_box/wiki).
|
||||||
Full Support|Android/iOS
|
|
||||||
Support, but not tested|macOS/Windows/Linux
|
Before you open an issue, please read the following:
|
||||||
|
1. Paste the **entire log** (click the top right of the home page) in the issue template.
|
||||||
|
2. Make sure whether the issue is caused by ServerBox app.
|
||||||
|
3. Welcome all valid and positive feedback, subjective feedback (such as you think other UI is better) may not be accepted.
|
||||||
|
|
||||||
|
After you read the above, you can open an [issue](https://github.com/lollipopkit/flutter_server_box/issues/new).
|
||||||
|
|
||||||
|
|
||||||
## l10n guide
|
## 🧱 Contribution
|
||||||
1. Fork this repo and clone it to your local machine.
|
- Any positive contribution is welcome.
|
||||||
2. Create `arb` file in `lib/l10n/` directory
|
- [l10n guide](https://blog.lolli.tech/faq/) can be found in my blog.
|
||||||
- File name should be `intl_XX.arb`, where `XX` is the language code. Such as `intl_en.arb` for English and `intl_zh.arb` for Chinese.
|
|
||||||
3. Add content to the file. You can refer to `intl_en.arb` and `intl_zh.arb` for the format.
|
|
||||||
4. Run `flutter gen-l10n` to generate files.
|
## 💡 My other apps
|
||||||
5. Pull commit to your forked repo.
|
- [GPT Box](https://github.com/lollipopkit/flutter_gpt_box) - A third-party GPT Client for OpenAI API on all platforms.
|
||||||
6. Request a pull request on my repo.
|
- [More](https://github.com/lollipopkit) - Tools & etc.
|
||||||
|
|
||||||
|
|
||||||
## 📝 License
|
## 📝 License
|
||||||
`GPL v3. lollipopkit 2023`
|
`GPL v3 lollipopkit`
|
||||||
|
|||||||
122
README_zh.md
@@ -1,99 +1,77 @@
|
|||||||
简体中文 | [English](README.md)
|
简体中文 | [English](README.md)
|
||||||
<!-- Title-->
|
|
||||||
<p align="center">
|
|
||||||
<h1 align="center">Server Box</h1>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<!-- Badges-->
|
<h2 align="center">Flutter Server Box</h2>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://apps.apple.com/app/id1586449703">
|
<img alt="lang" src="https://img.shields.io/badge/lang-dart-pink">
|
||||||
<img style="height: 37px" src="screenshots/appstore.svg">
|
<img alt="license" src="https://img.shields.io/badge/license-GPLv3-pink">
|
||||||
</a>
|
|
||||||
<a href="https://github.com/lollipopkit/flutter_server_box/releases/latest">
|
|
||||||
<img style="height: 37px" src="screenshots/dl-android.svg">
|
|
||||||
</a>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://count.ly/f/badge" rel="nofollow">
|
使用 Flutter 开发的 <a href="../../issues/43">Linux</a> 服务器工具箱,提供服务器状态图表和管理工具。
|
||||||
<img style="height: 37px" src="https://count.ly/badges/light.svg">
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p align="center">
|
|
||||||
使用Flutter开发的服务器工具箱,提供服务器状态图表和管理工具。
|
|
||||||
<br>
|
<br>
|
||||||
特别感谢 <a href="https://github.com/TerminalStudio/dartssh2">dartssh2</a> & <a href="https://github.com/TerminalStudio/xterm.dart">xterm.dart</a>.
|
特别感谢 <a href="https://github.com/TerminalStudio/dartssh2">dartssh2</a> & <a href="https://github.com/TerminalStudio/xterm.dart">xterm.dart</a>。
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
## ⬇️ Download
|
||||||
|
🎉 **现在 `Android / Linux / Windows` 版本使用 GitHub Actions 构建**。
|
||||||
|
|
||||||
|
[iOS & macOS](https://apps.apple.com/app/id1586449703) / [Android & Linux & Windows](https://github.com/lollipopkit/flutter_server_box/releases)
|
||||||
|
|
||||||
|
- 所有 `v930` 之前的版本可以在 [这里](https://cdn.lolli.tech/serverbox/?sort=time&order=desc&layout=grid) 找到。
|
||||||
|
- 为了防止注入攻击等,请不要从不受信任的来源下载。例如:Gitee 的发行包与该项目无关。
|
||||||
|
|
||||||
|
|
||||||
## 🔖 特点
|
## 🔖 特点
|
||||||
- [x] 功能
|
- `状态图表`(CPU、传感器、GPU 等), `SSH` 终端, `SFTP`, `Docker & 包 & 进程` 管理器...
|
||||||
- [x] `SSH` 终端, `SFTP`
|
- 特殊支持:`生物认证`、`推送`、`桌面小部件`、`watchOS App`、`跟随系统颜色`...
|
||||||
- [x] `Docker & 包` 管理器
|
- 本地化
|
||||||
- [x] 状态图表
|
- English, 简体中文
|
||||||
- [x] `Ping` 和 更多
|
- Español, Русский язык, Português, 日本語 (Generated by GPT)
|
||||||
- [x] 本地化 (英语, 中文)
|
- Deutsch (@its-tom) / 繁體中文 (@kalashnikov) / Indonesian (@azkadev) / Français (@FrancXPT) / Dutch (@QazCetelic)
|
||||||
- **欢迎贡献** :)
|
|
||||||
- [怎么贡献?](#l10n)
|
|
||||||
- [x] 桌面端支持
|
|
||||||
|
|
||||||
|
|
||||||
## 📩 推送
|
## 🏙️ 截屏
|
||||||
你需要在你的服务器上安装 [ServerBoxMonitor](https://github.com/lollipopkit/server_box_monitor)。
|
|
||||||
并且配置 iOS / Webhook 推送服务,这样,你可以在不使用 ServerBox app 时获取服务器状态。
|
|
||||||
|
|
||||||
## 📱 截屏
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td><img width="277px" src="imgs/server.png"></td>
|
||||||
<img width="200px" src="screenshots/server.jpg">
|
<td><img width="277px" src="imgs/detail.png"></td>
|
||||||
</td>
|
<td><img width="277px" src="imgs/sftp.png"></td>
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/detail.jpg">
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/ssh.jpg">
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/apt.png">
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td><img width="277px" src="imgs/editor.png"> </td>
|
||||||
<img width="200px" src="screenshots/ping.png">
|
<td><img width="277px" src="imgs/ssh.png"></td>
|
||||||
</td>
|
<td><img width="277px" src="imgs/docker.png"></td>
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/sftp.jpg">
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/docker.jpg">
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img width="200px" src="screenshots/convert.png">
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
## 🖥 平台
|
## 🆘 帮助
|
||||||
状态|平台
|
|
||||||
--- | ---
|
- 吹水、参与开发、了解如何使用,QQ群 **762870488**
|
||||||
完整支持|Android/iOS
|
- 为了可以在不使用 ServerBox app 时获取服务器状态(例如:桌面小部件、推送服务),你需要在你的服务器上安装 [ServerBoxMonitor](https://github.com/lollipopkit/server_box_monitor),并且正确配置,详情可见 [wiki](https://github.com/lollipopkit/server_box_monitor/wiki/%E4%B8%BB%E9%A1%B5)。
|
||||||
可能支持,未测试|macOS/Windows/Linux
|
- **常见问题**可以在 [app wiki](https://github.com/lollipopkit/flutter_server_box/wiki/主页) 查看。
|
||||||
|
|
||||||
|
反馈前须知:
|
||||||
|
1. 反馈问题请附带 log(点击首页右上角),并以 bug 模版提交。
|
||||||
|
2. 反馈问题前请检查是否是 serverbox 的问题。
|
||||||
|
3. 欢迎所有有效、正面的反馈,主观(比如你觉得其他UI更好看)的反馈不一定会接受
|
||||||
|
|
||||||
|
确认了解上述内容后,请在 [问题](https://github.com/lollipopkit/flutter_server_box/issues/new) 中反馈。
|
||||||
|
|
||||||
|
|
||||||
## l10n
|
## 🧱 贡献
|
||||||
1. Fork本项目,并Clone你Fork的项目至你的电脑
|
- 任何正面的贡献都欢迎。
|
||||||
2. 在 `lib/l10n/` 文件夹内创建 `.arb` 本地化文件
|
- [本地化翻译指南](https://blog.lolli.tech/faq/) 可在我的博客中找到。
|
||||||
- 文件名应该类似 `intl_XX.arb`, `XX` 是语言标识码。 例如 `intl_en.arb` 是给英语的, `intl_zh.arb` 是给中文的
|
|
||||||
3. 向 `.arb` 本地化文件添加内容。 你可以查看 `intl_en.arb` 和 `intl_zh.arb` 的内容,并理解其含义,来创建新的本地化文件
|
|
||||||
4. 运行 `flutter gen-l10n` 来生成所需文件
|
|
||||||
5. Commit 变更到你的 Fork 的 Repo
|
|
||||||
6. 在我的项目中发起 Pull Request.
|
|
||||||
|
|
||||||
|
|
||||||
## 📝 License
|
## 💡 我的其它 Apps
|
||||||
`GPL v3. lollipopkit 2023`
|
- [GPT Box](https://github.com/lollipopkit/flutter_gpt_box) - 支持 OpenAI API 的 第三方全平台客户端。
|
||||||
|
- [更多](https://github.com/lollipopkit) - 工具 & etc.
|
||||||
|
|
||||||
|
|
||||||
|
## 📝 协议
|
||||||
|
`GPL v3 lollipopkit`
|
||||||
|
|||||||
@@ -9,6 +9,14 @@
|
|||||||
# packages, and plugins designed to encourage good coding practices.
|
# packages, and plugins designed to encourage good coding practices.
|
||||||
include: package:flutter_lints/flutter.yaml
|
include: package:flutter_lints/flutter.yaml
|
||||||
|
|
||||||
|
analyzer:
|
||||||
|
exclude:
|
||||||
|
- '**/*.g.dart'
|
||||||
|
language:
|
||||||
|
# strict-casts: true
|
||||||
|
# strict-inference: true
|
||||||
|
# strict-raw-types: true
|
||||||
|
|
||||||
linter:
|
linter:
|
||||||
# The lint rules applied to this project can be customized in the
|
# The lint rules applied to this project can be customized in the
|
||||||
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
|
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
|
||||||
@@ -24,6 +32,10 @@ linter:
|
|||||||
rules:
|
rules:
|
||||||
library_private_types_in_public_api: false
|
library_private_types_in_public_api: false
|
||||||
use_build_context_synchronously: false
|
use_build_context_synchronously: false
|
||||||
|
depend_on_referenced_packages: false
|
||||||
|
prefer_final_locals: true
|
||||||
|
unnecessary_parenthesis: true
|
||||||
|
implicit_call_tearoffs: true
|
||||||
# avoid_print: false # Uncomment to disable the `avoid_print` rule
|
# avoid_print: false # Uncomment to disable the `avoid_print` rule
|
||||||
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
|
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
plugins {
|
||||||
|
id "com.android.application"
|
||||||
|
id "kotlin-android"
|
||||||
|
id "dev.flutter.flutter-gradle-plugin"
|
||||||
|
}
|
||||||
|
|
||||||
def localProperties = new Properties()
|
def localProperties = new Properties()
|
||||||
def localPropertiesFile = rootProject.file('local.properties')
|
def localPropertiesFile = rootProject.file('local.properties')
|
||||||
if (localPropertiesFile.exists()) {
|
if (localPropertiesFile.exists()) {
|
||||||
@@ -10,11 +16,12 @@ def keystoreProperties = new Properties()
|
|||||||
def keystorePropertiesFile = rootProject.file('key.properties')
|
def keystorePropertiesFile = rootProject.file('key.properties')
|
||||||
if (keystorePropertiesFile.exists()) {
|
if (keystorePropertiesFile.exists()) {
|
||||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||||
|
} else {
|
||||||
|
System.err.printf(" [!] key.properties not found in %s (%s). Build will fail. \n", rootProject, rootProject.file('.'))
|
||||||
}
|
}
|
||||||
|
|
||||||
def flutterRoot = localProperties.getProperty('flutter.sdk')
|
if (keystoreProperties['storeFile'] == null || !file(keystoreProperties['storeFile']).exists()) {
|
||||||
if (flutterRoot == null) {
|
System.err.printf(" [!] storeFile defined in key.properties does not exist in %s. Build will fail. \n", file('.'))
|
||||||
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
|
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
|
||||||
@@ -27,12 +34,10 @@ if (flutterVersionName == null) {
|
|||||||
flutterVersionName = '1.0'
|
flutterVersionName = '1.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.android.application'
|
|
||||||
apply plugin: 'kotlin-android'
|
|
||||||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 33
|
namespace "tech.lolli.toolbox"
|
||||||
|
compileSdk flutter.compileSdkVersion
|
||||||
|
ndkVersion flutter.ndkVersion
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
@@ -48,11 +53,20 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId "tech.lolli.toolbox"
|
applicationId "tech.lolli.toolbox"
|
||||||
minSdkVersion 21
|
// You can update the following values to match your application needs.
|
||||||
targetSdkVersion 30
|
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
||||||
|
minSdkVersion flutter.minSdkVersion
|
||||||
|
targetSdkVersion flutter.targetSdkVersion
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
versionName flutterVersionName
|
versionName flutterVersionName
|
||||||
|
|
||||||
|
ndk {
|
||||||
|
if(!splits.abi.enable) { // abiFilters cannot be present when splits abi filters are set
|
||||||
|
abiFilters 'arm64-v8a', 'armeabi-v7a'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
@@ -85,6 +99,15 @@ flutter {
|
|||||||
source '../..'
|
source '../..'
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {}
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
||||||
|
ext.abiCodes = ["x86_64": 1, "armeabi-v7a": 2, "arm64-v8a": 3]
|
||||||
|
import com.android.build.OutputFile
|
||||||
|
android.applicationVariants.all { variant ->
|
||||||
|
variant.outputs.each { output ->
|
||||||
|
def abiVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
|
||||||
|
if (abiVersionCode != null) {
|
||||||
|
output.versionCodeOverride = variant.versionCode * 10 + abiVersionCode
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
6
android/app/proguard-rules.pro
vendored
@@ -1,7 +1 @@
|
|||||||
-keep class io.flutter.app.** { *; }
|
|
||||||
-keep class io.flutter.plugin.** { *; }
|
|
||||||
-keep class io.flutter.util.** { *; }
|
|
||||||
-keep class io.flutter.view.** { *; }
|
|
||||||
-keep class io.flutter.** { *; }
|
|
||||||
-keep class io.flutter.plugins.** { *; }
|
|
||||||
-keep class com.jcraft.** { *; }
|
-keep class com.jcraft.** { *; }
|
||||||
|
|||||||
@@ -1,18 +1,24 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
package="tech.lolli.toolbox">
|
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
|
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
|
||||||
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||||
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
||||||
|
<uses-permission android:name="android.permission.VIBRATE" />
|
||||||
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:label="ServerBox"
|
android:label="ServerBox"
|
||||||
|
android:name="${applicationName}"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:hasFragileUserData="true"
|
android:hasFragileUserData="true"
|
||||||
android:restoreAnyVersion="true">
|
android:restoreAnyVersion="true">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
|
android:exported="true"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:theme="@style/LaunchTheme"
|
android:theme="@style/LaunchTheme"
|
||||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||||||
@@ -36,5 +42,42 @@
|
|||||||
<meta-data
|
<meta-data
|
||||||
android:name="flutterEmbedding"
|
android:name="flutterEmbedding"
|
||||||
android:value="2" />
|
android:value="2" />
|
||||||
|
|
||||||
|
<service
|
||||||
|
android:name="id.flutter.flutter_background_service.BackgroundService"
|
||||||
|
android:foregroundServiceType="dataSync"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<receiver
|
||||||
|
android:name=".widget.HomeWidget"
|
||||||
|
android:exported="false"
|
||||||
|
android:label="StatusWidget">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
||||||
|
<action android:name="tech.lolli.toolbox.UPDATE_WIDGET" />
|
||||||
|
<action android:name="miui.appwidget.action.APPWIDGET_UPDATE" />
|
||||||
|
</intent-filter>
|
||||||
|
<!--
|
||||||
|
<meta-data
|
||||||
|
android:name="miuiWidget"
|
||||||
|
android:value="true" />
|
||||||
|
-->
|
||||||
|
<meta-data
|
||||||
|
android:name="android.appwidget.provider"
|
||||||
|
android:resource="@xml/home_widget" />
|
||||||
|
</receiver>
|
||||||
|
|
||||||
|
<service android:name=".KeepAliveService"/>
|
||||||
</application>
|
</application>
|
||||||
|
<!-- Required to query activities that can process text, see:
|
||||||
|
https://developer.android.com/training/package-visibility?hl=en and
|
||||||
|
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
|
||||||
|
|
||||||
|
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
|
||||||
|
<queries>
|
||||||
|
<intent>
|
||||||
|
<action android:name="android.intent.action.PROCESS_TEXT"/>
|
||||||
|
<data android:mimeType="text/plain"/>
|
||||||
|
</intent>
|
||||||
|
</queries>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 22 KiB |
@@ -0,0 +1,18 @@
|
|||||||
|
package tech.lolli.toolbox
|
||||||
|
|
||||||
|
import android.app.Service
|
||||||
|
import android.content.Intent
|
||||||
|
|
||||||
|
import android.os.IBinder
|
||||||
|
import org.jetbrains.annotations.Nullable
|
||||||
|
|
||||||
|
class KeepAliveService : Service() {
|
||||||
|
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
|
||||||
|
return START_STICKY
|
||||||
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
override fun onBind(intent: Intent?): IBinder? {
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,31 @@
|
|||||||
package tech.lolli.toolbox
|
package tech.lolli.toolbox
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import android.content.Intent
|
||||||
|
import io.flutter.embedding.android.FlutterFragmentActivity
|
||||||
|
import io.flutter.embedding.engine.FlutterEngine
|
||||||
|
import io.flutter.plugin.common.MethodChannel
|
||||||
|
|
||||||
class MainActivity: FlutterActivity() {
|
class MainActivity: FlutterFragmentActivity() {
|
||||||
|
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
|
||||||
|
super.configureFlutterEngine(flutterEngine)
|
||||||
|
val binaryMessenger = flutterEngine.dartExecutor.binaryMessenger
|
||||||
|
|
||||||
|
MethodChannel(binaryMessenger, "tech.lolli.toolbox/app_retain").apply {
|
||||||
|
setMethodCallHandler { method, result ->
|
||||||
|
when (method.method) {
|
||||||
|
"sendToBackground" -> {
|
||||||
|
moveTaskToBack(true)
|
||||||
|
result.success(null)
|
||||||
|
}
|
||||||
|
"startService" -> {
|
||||||
|
val intent = Intent(this@MainActivity, KeepAliveService::class.java)
|
||||||
|
startService(intent)
|
||||||
|
}
|
||||||
|
else -> {
|
||||||
|
result.notImplemented()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,111 @@
|
|||||||
|
package tech.lolli.toolbox.widget
|
||||||
|
|
||||||
|
import android.app.PendingIntent
|
||||||
|
import android.appwidget.AppWidgetManager
|
||||||
|
import android.appwidget.AppWidgetProvider
|
||||||
|
import android.content.Context
|
||||||
|
import android.content.Intent
|
||||||
|
import android.os.Build
|
||||||
|
import android.view.View
|
||||||
|
import android.widget.RemoteViews
|
||||||
|
import kotlinx.coroutines.DelicateCoroutinesApi
|
||||||
|
import kotlinx.coroutines.Dispatchers
|
||||||
|
import kotlinx.coroutines.GlobalScope
|
||||||
|
import kotlinx.coroutines.launch
|
||||||
|
import org.json.JSONObject
|
||||||
|
import tech.lolli.toolbox.R
|
||||||
|
import java.net.URL
|
||||||
|
|
||||||
|
class HomeWidget : AppWidgetProvider() {
|
||||||
|
override fun onUpdate(context: Context, appWidgetManager: AppWidgetManager, appWidgetIds: IntArray) {
|
||||||
|
for (appWidgetId in appWidgetIds) {
|
||||||
|
updateAppWidget(context, appWidgetManager, appWidgetId)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@OptIn(DelicateCoroutinesApi::class)
|
||||||
|
private fun updateAppWidget(context: Context, appWidgetManager: AppWidgetManager, appWidgetId: Int) {
|
||||||
|
val views = RemoteViews(context.packageName, R.layout.home_widget)
|
||||||
|
val sp = context.getSharedPreferences("FlutterSharedPreferences", Context.MODE_PRIVATE)
|
||||||
|
var url = sp.getString("$appWidgetId", null)
|
||||||
|
val gUrl = sp.getString("*", null)
|
||||||
|
if (url.isNullOrEmpty()) {
|
||||||
|
url = gUrl
|
||||||
|
}
|
||||||
|
|
||||||
|
val intentUpdate = Intent(context, HomeWidget::class.java)
|
||||||
|
intentUpdate.action = AppWidgetManager.ACTION_APPWIDGET_UPDATE
|
||||||
|
val ids = intArrayOf(appWidgetId)
|
||||||
|
intentUpdate.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, ids)
|
||||||
|
|
||||||
|
var flag = PendingIntent.FLAG_UPDATE_CURRENT
|
||||||
|
if (Build.VERSION_CODES.O <= Build.VERSION.SDK_INT) {
|
||||||
|
flag = PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE
|
||||||
|
}
|
||||||
|
|
||||||
|
val pendingUpdate: PendingIntent = PendingIntent.getBroadcast(
|
||||||
|
context,
|
||||||
|
appWidgetId,
|
||||||
|
intentUpdate,
|
||||||
|
flag)
|
||||||
|
views.setOnClickPendingIntent(R.id.widget_container, pendingUpdate)
|
||||||
|
|
||||||
|
if (url.isNullOrEmpty()) {
|
||||||
|
views.setViewVisibility(R.id.widget_cpu_label, View.INVISIBLE)
|
||||||
|
views.setViewVisibility(R.id.widget_mem_label, View.INVISIBLE)
|
||||||
|
views.setViewVisibility(R.id.widget_disk_label, View.INVISIBLE)
|
||||||
|
views.setViewVisibility(R.id.widget_net_label, View.INVISIBLE)
|
||||||
|
views.setTextViewText(R.id.widget_name, "ID: $appWidgetId")
|
||||||
|
appWidgetManager.updateAppWidget(appWidgetId, views)
|
||||||
|
return
|
||||||
|
} else {
|
||||||
|
views.setViewVisibility(R.id.widget_cpu_label, View.VISIBLE)
|
||||||
|
views.setViewVisibility(R.id.widget_mem_label, View.VISIBLE)
|
||||||
|
views.setViewVisibility(R.id.widget_disk_label, View.VISIBLE)
|
||||||
|
views.setViewVisibility(R.id.widget_net_label, View.VISIBLE)
|
||||||
|
}
|
||||||
|
|
||||||
|
GlobalScope.launch(Dispatchers.IO) {
|
||||||
|
try {
|
||||||
|
val jsonStr = URL(url).readText()
|
||||||
|
val jsonObject = JSONObject(jsonStr)
|
||||||
|
val data = jsonObject.getJSONObject("data")
|
||||||
|
val server = data.getString("name")
|
||||||
|
val cpu = data.getString("cpu")
|
||||||
|
val mem = data.getString("mem")
|
||||||
|
val disk = data.getString("disk")
|
||||||
|
val net = data.getString("net")
|
||||||
|
|
||||||
|
GlobalScope.launch(Dispatchers.Main) main@ {
|
||||||
|
// mem or disk is empty -> get status failed
|
||||||
|
// (cpu | net) isEmpty -> data is not ready
|
||||||
|
if (mem.isEmpty() || disk.isEmpty()) {
|
||||||
|
return@main
|
||||||
|
}
|
||||||
|
views.setTextViewText(R.id.widget_name, server)
|
||||||
|
|
||||||
|
views.setTextViewText(R.id.widget_cpu, cpu)
|
||||||
|
views.setTextViewText(R.id.widget_mem, mem)
|
||||||
|
views.setTextViewText(R.id.widget_disk, disk)
|
||||||
|
views.setTextViewText(R.id.widget_net, net)
|
||||||
|
|
||||||
|
val timeStr = android.text.format.DateFormat.format("HH:mm", java.util.Date()).toString()
|
||||||
|
views.setTextViewText(R.id.widget_time, timeStr)
|
||||||
|
|
||||||
|
appWidgetManager.updateAppWidget(appWidgetId, views)
|
||||||
|
}
|
||||||
|
} catch (e: Exception) {
|
||||||
|
println("ServerBoxHomeWidget: ${e.localizedMessage}")
|
||||||
|
GlobalScope.launch(Dispatchers.Main) main@ {
|
||||||
|
views.setViewVisibility(R.id.widget_cpu_label, View.INVISIBLE)
|
||||||
|
views.setViewVisibility(R.id.widget_mem_label, View.INVISIBLE)
|
||||||
|
views.setViewVisibility(R.id.widget_disk_label, View.INVISIBLE)
|
||||||
|
views.setViewVisibility(R.id.widget_net_label, View.INVISIBLE)
|
||||||
|
views.setTextViewText(R.id.widget_name, "ID: $appWidgetId")
|
||||||
|
views.setTextViewText(R.id.widget_mem, e.localizedMessage)
|
||||||
|
appWidgetManager.updateAppWidget(appWidgetId, views)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 69 B |
@@ -6,4 +6,4 @@
|
|||||||
<item>
|
<item>
|
||||||
<bitmap android:gravity="center" android:src="@drawable/splash"/>
|
<bitmap android:gravity="center" android:src="@drawable/splash"/>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 69 B |
@@ -6,4 +6,4 @@
|
|||||||
<item>
|
<item>
|
||||||
<bitmap android:gravity="center" android:src="@drawable/splash"/>
|
<bitmap android:gravity="center" android:src="@drawable/splash"/>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 69 B |
@@ -6,4 +6,4 @@
|
|||||||
<item>
|
<item>
|
||||||
<bitmap android:gravity="center" android:src="@drawable/splash"/>
|
<bitmap android:gravity="center" android:src="@drawable/splash"/>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 69 B |
@@ -6,4 +6,4 @@
|
|||||||
<item>
|
<item>
|
||||||
<bitmap android:gravity="center" android:src="@drawable/splash"/>
|
<bitmap android:gravity="center" android:src="@drawable/splash"/>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
5
android/app/src/main/res/drawable/memory_24.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<vector android:height="24dp" android:tint="@color/widgetSummaryText"
|
||||||
|
android:viewportHeight="24" android:viewportWidth="24"
|
||||||
|
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path android:fillColor="@android:color/white" android:pathData="M15,9L9,9v6h6L15,9zM13,13h-2v-2h2v2zM21,11L21,9h-2L19,7c0,-1.1 -0.9,-2 -2,-2h-2L15,3h-2v2h-2L11,3L9,3v2L7,5c-1.1,0 -2,0.9 -2,2v2L3,9v2h2v2L3,13v2h2v2c0,1.1 0.9,2 2,2h2v2h2v-2h2v2h2v-2h2c1.1,0 2,-0.9 2,-2v-2h2v-2h-2v-2h2zM17,17L7,17L7,7h10v10z"/>
|
||||||
|
</vector>
|
||||||
5
android/app/src/main/res/drawable/net_24.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<vector android:height="24dp" android:tint="@color/widgetSummaryText"
|
||||||
|
android:viewportHeight="24" android:viewportWidth="24"
|
||||||
|
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path android:fillColor="@android:color/white" android:pathData="M7.77,6.76L6.23,5.48 0.82,12l5.41,6.52 1.54,-1.28L3.42,12l4.35,-5.24zM7,13h2v-2L7,11v2zM17,11h-2v2h2v-2zM11,13h2v-2h-2v2zM17.77,5.48l-1.54,1.28L20.58,12l-4.35,5.24 1.54,1.28L23.18,12l-5.41,-6.52z"/>
|
||||||
|
</vector>
|
||||||
5
android/app/src/main/res/drawable/settings_24.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<vector android:height="24dp" android:tint="@color/widgetSummaryText"
|
||||||
|
android:viewportHeight="24" android:viewportWidth="24"
|
||||||
|
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path android:fillColor="@android:color/white" android:pathData="M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c0.18,-0.14 0.23,-0.41 0.12,-0.61l-1.92,-3.32c-0.12,-0.22 -0.37,-0.29 -0.59,-0.22l-2.39,0.96c-0.5,-0.38 -1.03,-0.7 -1.62,-0.94L14.4,2.81c-0.04,-0.24 -0.24,-0.41 -0.48,-0.41h-3.84c-0.24,0 -0.43,0.17 -0.47,0.41L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33c-0.22,-0.08 -0.47,0 -0.59,0.22L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48l2.03,1.58C4.84,11.36 4.8,11.69 4.8,12s0.02,0.64 0.07,0.94l-2.03,1.58c-0.18,0.14 -0.23,0.41 -0.12,0.61l1.92,3.32c0.12,0.22 0.37,0.29 0.59,0.22l2.39,-0.96c0.5,0.38 1.03,0.7 1.62,0.94l0.36,2.54c0.05,0.24 0.24,0.41 0.48,0.41h3.84c0.24,0 0.44,-0.17 0.47,-0.41l0.36,-2.54c0.59,-0.24 1.13,-0.56 1.62,-0.94l2.39,0.96c0.22,0.08 0.47,0 0.59,-0.22l1.92,-3.32c0.12,-0.22 0.07,-0.47 -0.12,-0.61L19.14,12.94zM12,15.6c-1.98,0 -3.6,-1.62 -3.6,-3.6s1.62,-3.6 3.6,-3.6s3.6,1.62 3.6,3.6S13.98,15.6 12,15.6z"/>
|
||||||
|
</vector>
|
||||||
5
android/app/src/main/res/drawable/speed_24.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<vector android:height="24dp" android:tint="@color/widgetSummaryText"
|
||||||
|
android:viewportHeight="24" android:viewportWidth="24"
|
||||||
|
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path android:fillColor="@android:color/white" android:pathData="M20.38,8.57l-1.23,1.85a8,8 0,0 1,-0.22 7.58L5.07,18A8,8 0,0 1,15.58 6.85l1.85,-1.23A10,10 0,0 0,3.35 19a2,2 0,0 0,1.72 1h13.85a2,2 0,0 0,1.74 -1,10 10,0 0,0 -0.27,-10.44zM10.59,15.41a2,2 0,0 0,2.83 0l5.66,-8.49 -8.49,5.66a2,2 0,0 0,0 2.83z"/>
|
||||||
|
</vector>
|
||||||
5
android/app/src/main/res/drawable/storage_24.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<vector android:height="24dp" android:tint="@color/widgetSummaryText"
|
||||||
|
android:viewportHeight="24" android:viewportWidth="24"
|
||||||
|
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path android:fillColor="@android:color/white" android:pathData="M2,20h20v-4L2,16v4zM4,17h2v2L4,19v-2zM2,4v4h20L22,4L2,4zM6,7L4,7L4,5h2v2zM2,14h20v-4L2,10v4zM4,11h2v2L4,13v-2z"/>
|
||||||
|
</vector>
|
||||||
5
android/app/src/main/res/drawable/widget_background.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<corners android:radius="16dp"/>
|
||||||
|
<solid android:color="@color/widgetBackground" />
|
||||||
|
</shape>
|
||||||
148
android/app/src/main/res/layout/home_widget.xml
Normal file
@@ -0,0 +1,148 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:id="@+id/widget_container"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="@drawable/widget_background"
|
||||||
|
android:padding="17dp"
|
||||||
|
android:orientation="vertical" >
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/widget_name"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textColor="@color/widgetText"
|
||||||
|
android:textSize="23sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:maxLines="1"
|
||||||
|
tools:text="Server Name" />
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:id="@+id/widget_container_inner"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:paddingTop="13dp">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/widget_cpu_label"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:paddingBottom="2.7dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="17dp"
|
||||||
|
android:layout_height="17dp"
|
||||||
|
android:src="@drawable/speed_24">
|
||||||
|
</ImageView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/widget_cpu"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="11dp"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:ellipsize = "marquee"
|
||||||
|
android:textColor="@color/widgetSummaryText"
|
||||||
|
android:textSize="12.7sp"
|
||||||
|
tools:text="CPU" />
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/widget_mem_label"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:paddingBottom="2.7dp"
|
||||||
|
android:layout_below="@id/widget_cpu_label"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="17dp"
|
||||||
|
android:layout_height="17dp"
|
||||||
|
android:src="@drawable/memory_24">
|
||||||
|
</ImageView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/widget_mem"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="11dp"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:textColor="@color/widgetSummaryText"
|
||||||
|
android:textSize="12.7sp"
|
||||||
|
tools:text="Mem" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/widget_disk_label"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:paddingBottom="2.7dp"
|
||||||
|
android:layout_below="@id/widget_mem_label"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="17dp"
|
||||||
|
android:layout_height="17dp"
|
||||||
|
android:src="@drawable/storage_24">
|
||||||
|
</ImageView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/widget_disk"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="11dp"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:textColor="@color/widgetSummaryText"
|
||||||
|
android:textSize="12.7sp"
|
||||||
|
tools:text="Disk" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/widget_net_label"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@id/widget_disk_label"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="17dp"
|
||||||
|
android:layout_height="17dp"
|
||||||
|
android:src="@drawable/net_24">
|
||||||
|
</ImageView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/widget_net"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="11dp"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:textColor="@color/widgetSummaryText"
|
||||||
|
android:textSize="12.7sp"
|
||||||
|
tools:text="Net" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/widget_time"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:maxLines="2"
|
||||||
|
android:textColor="@color/widgetSummaryText"
|
||||||
|
android:textSize="11sp"
|
||||||
|
tools:text="UpdateTime" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 3.9 KiB |
BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 5.7 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 9.0 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 13 KiB |
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<resources>
|
|
||||||
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
|
|
||||||
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
|
||||||
<item name="android:forceDarkAllowed">false</item>
|
|
||||||
<item name="android:windowFullscreen">false</item>
|
|
||||||
<item name="android:windowSplashScreenBackground">#121212</item>
|
|
||||||
</style>
|
|
||||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
|
||||||
This theme determines the color of the Android Window while your
|
|
||||||
Flutter UI initializes, as well as behind your Flutter UI while its
|
|
||||||
running.
|
|
||||||
|
|
||||||
This Theme is only used starting with V2 of Flutter's Android embedding. -->
|
|
||||||
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
|
||||||
<item name="android:windowBackground">?android:colorBackground</item>
|
|
||||||
</style>
|
|
||||||
</resources>
|
|
||||||
6
android/app/src/main/res/values-night/colors.xml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="widgetBackground">#000000</color>
|
||||||
|
<color name="widgetText">#FFFFFF</color>
|
||||||
|
<color name="widgetSummaryText">#BBBBBB</color>
|
||||||
|
</resources>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="ic_launcher_background">#372D2D</color>
|
||||||
|
</resources>
|
||||||
@@ -7,6 +7,8 @@
|
|||||||
<item name="android:windowBackground">@drawable/launch_background</item>
|
<item name="android:windowBackground">@drawable/launch_background</item>
|
||||||
<item name="android:forceDarkAllowed">false</item>
|
<item name="android:forceDarkAllowed">false</item>
|
||||||
<item name="android:windowFullscreen">false</item>
|
<item name="android:windowFullscreen">false</item>
|
||||||
|
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
|
||||||
|
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
<!-- Theme applied to the Android Window as soon as the process has started.
|
||||||
This theme determines the color of the Android Window while your
|
This theme determines the color of the Android Window while your
|
||||||
@@ -17,4 +19,4 @@
|
|||||||
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
||||||
<item name="android:windowBackground">?android:colorBackground</item>
|
<item name="android:windowBackground">?android:colorBackground</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<resources>
|
|
||||||
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
|
|
||||||
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
|
|
||||||
<item name="android:forceDarkAllowed">false</item>
|
|
||||||
<item name="android:windowFullscreen">false</item>
|
|
||||||
<item name="android:windowSplashScreenBackground">#ffffff</item>
|
|
||||||
</style>
|
|
||||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
|
||||||
This theme determines the color of the Android Window while your
|
|
||||||
Flutter UI initializes, as well as behind your Flutter UI while its
|
|
||||||
running.
|
|
||||||
|
|
||||||
This Theme is only used starting with V2 of Flutter's Android embedding. -->
|
|
||||||
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
|
|
||||||
<item name="android:windowBackground">?android:colorBackground</item>
|
|
||||||
</style>
|
|
||||||
</resources>
|
|
||||||
7
android/app/src/main/res/values/colors.xml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<resources>
|
||||||
|
<color name="colorLaunch">#EEEEEE</color>
|
||||||
|
<color name="widgetBackground">#FFFFFF</color>
|
||||||
|
<color name="widgetText">#000000</color>
|
||||||
|
<color name="widgetSummaryText">#333333</color>
|
||||||
|
</resources>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="ic_launcher_background">#083963</color>
|
<color name="ic_launcher_background">#FFFFFF</color>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -7,6 +7,8 @@
|
|||||||
<item name="android:windowBackground">@drawable/launch_background</item>
|
<item name="android:windowBackground">@drawable/launch_background</item>
|
||||||
<item name="android:forceDarkAllowed">false</item>
|
<item name="android:forceDarkAllowed">false</item>
|
||||||
<item name="android:windowFullscreen">false</item>
|
<item name="android:windowFullscreen">false</item>
|
||||||
|
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
|
||||||
|
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
<!-- Theme applied to the Android Window as soon as the process has started.
|
||||||
This theme determines the color of the Android Window while your
|
This theme determines the color of the Android Window while your
|
||||||
@@ -17,4 +19,4 @@
|
|||||||
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
|
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
|
||||||
<item name="android:windowBackground">?android:colorBackground</item>
|
<item name="android:windowBackground">?android:colorBackground</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
11
android/app/src/main/res/xml/home_widget.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:minWidth="110dp"
|
||||||
|
android:maxHeight="110dp"
|
||||||
|
android:maxWidth="110dp"
|
||||||
|
android:minHeight="110dp"
|
||||||
|
android:updatePeriodMillis="1800001"
|
||||||
|
android:initialLayout="@layout/home_widget"
|
||||||
|
android:resizeMode="none"
|
||||||
|
android:widgetCategory="home_screen">
|
||||||
|
</appwidget-provider>
|
||||||
@@ -1,16 +1,3 @@
|
|||||||
buildscript {
|
|
||||||
ext.kotlin_version = '1.6.10'
|
|
||||||
repositories {
|
|
||||||
google()
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
classpath 'com.android.tools.build:gradle:7.0.2'
|
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
@@ -21,9 +8,11 @@ allprojects {
|
|||||||
rootProject.buildDir = '../build'
|
rootProject.buildDir = '../build'
|
||||||
subprojects {
|
subprojects {
|
||||||
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
||||||
|
}
|
||||||
|
subprojects {
|
||||||
project.evaluationDependsOn(':app')
|
project.evaluationDependsOn(':app')
|
||||||
}
|
}
|
||||||
|
|
||||||
task clean(type: Delete) {
|
tasks.register("clean", Delete) {
|
||||||
delete rootProject.buildDir
|
delete rootProject.buildDir
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.jvmargs=-Xmx1536M
|
org.gradle.jvmargs=-Xmx4G
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#Fri Jun 23 08:50:38 CEST 2017
|
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
|
||||||
|
distributionSha256Sum=6001aba9b2204d26fa25a5800bb9382cf3ee01ccb78fe77317b2872336eb2f80
|
||||||
|
|||||||
@@ -1,11 +1,26 @@
|
|||||||
include ':app'
|
pluginManagement {
|
||||||
|
def flutterSdkPath = {
|
||||||
|
def properties = new Properties()
|
||||||
|
file("local.properties").withInputStream { properties.load(it) }
|
||||||
|
def flutterSdkPath = properties.getProperty("flutter.sdk")
|
||||||
|
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
|
||||||
|
return flutterSdkPath
|
||||||
|
}
|
||||||
|
settings.ext.flutterSdkPath = flutterSdkPath()
|
||||||
|
|
||||||
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
|
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
|
||||||
def properties = new Properties()
|
|
||||||
|
|
||||||
assert localPropertiesFile.exists()
|
repositories {
|
||||||
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
|
google()
|
||||||
|
mavenCentral()
|
||||||
|
gradlePluginPortal()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
def flutterSdkPath = properties.getProperty("flutter.sdk")
|
plugins {
|
||||||
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||||||
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
|
id "com.android.application" version "7.4.2" apply false
|
||||||
|
id "org.jetbrains.kotlin.android" version "1.8.10" apply false
|
||||||
|
}
|
||||||
|
|
||||||
|
include ":app"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 80 KiB |
1
devtools_options.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
extensions:
|
||||||
6
fastlane/metadata/android/en-US/full_description.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
A Flutter project which provide charts to display Linux server status and tools to manage server.
|
||||||
|
Especially thanks to dartssh2 & xterm.dart.
|
||||||
|
|
||||||
|
* Status chart (CPU, Sensors, GPU...), SSH Term, SFTP, Docker & Pkg & Process...
|
||||||
|
* Platform specific: Bio auth、Msg push、Home widget、watchOS App...
|
||||||
|
* English, 简体中文; Deutsch, 繁體中文, Indonesian, Français, Dutch; Español, Русский язык, Português, 日本語
|
||||||
BIN
fastlane/metadata/android/en-US/images/icon.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
fastlane/metadata/android/en-US/images/phoneScreenshots/1.png
Normal file
|
After Width: | Height: | Size: 135 KiB |
BIN
fastlane/metadata/android/en-US/images/phoneScreenshots/2.png
Normal file
|
After Width: | Height: | Size: 115 KiB |
BIN
fastlane/metadata/android/en-US/images/phoneScreenshots/3.png
Normal file
|
After Width: | Height: | Size: 173 KiB |
BIN
fastlane/metadata/android/en-US/images/phoneScreenshots/4.png
Normal file
|
After Width: | Height: | Size: 135 KiB |
BIN
fastlane/metadata/android/en-US/images/phoneScreenshots/5.png
Normal file
|
After Width: | Height: | Size: 135 KiB |
BIN
fastlane/metadata/android/en-US/images/phoneScreenshots/6.png
Normal file
|
After Width: | Height: | Size: 144 KiB |
1
fastlane/metadata/android/en-US/short_description.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
A server status & toolbox app using Flutter
|
||||||
1
fastlane/metadata/android/en-US/title.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ServerBox
|
||||||
7
fastlane/metadata/android/zh-CN/full_description.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
使用 Flutter 开发的 Linux 服务器工具箱,提供服务器状态图表和管理工具。
|
||||||
|
特别感谢 dartssh2 & xterm.dart。
|
||||||
|
|
||||||
|
特点:
|
||||||
|
* 状态图表(CPU、传感器、GPU 等), SSH 终端, SFTP, Docker & 包 & 进程管理器...
|
||||||
|
* 特殊支持:生物认证、推送、桌面小部件、watchOS App、跟随系统颜色...
|
||||||
|
* 本地化 (English, 简体中文, Español, Русский язык, Português, 日本語, Deutsch, 繁體中文, Indonesian, Français, Dutch
|
||||||
BIN
fastlane/metadata/android/zh-CN/images/icon.png
Normal file
|
After Width: | Height: | Size: 15 KiB |