Compare commits
3504 Commits
deluge-1.2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b5f45b486 | ||
|
|
05e13a6b20 | ||
|
|
b64084d248 | ||
|
|
e120536d87 | ||
|
|
f52cf760e4 | ||
|
|
94d790c159 | ||
|
|
f78506161d | ||
|
|
592b05cd87 | ||
|
|
6c8f9ce756 | ||
|
|
20efcfd345 | ||
|
|
19dba297ef | ||
|
|
cbacaf0545 | ||
|
|
75db47fc1f | ||
|
|
f1ec68704d | ||
|
|
ae3fbcca77 | ||
|
|
6a10e8f3cd | ||
|
|
b0dba97fec | ||
|
|
d7c520c85e | ||
|
|
ee3180fd94 | ||
|
|
47e548fdb5 | ||
|
|
cd63efd935 | ||
|
|
7f0a380576 | ||
|
|
68c75ccc05 | ||
|
|
96a0825add | ||
|
|
61a83bbd20 | ||
|
|
bc6611fc0d | ||
|
|
970a0ae240 | ||
|
|
5acb57b5af | ||
|
|
7fa0af3446 | ||
|
|
a954348567 | ||
|
|
13be64d355 | ||
|
|
11fe22e4cd | ||
|
|
a683b7e830 | ||
|
|
b0f80f9654 | ||
|
|
f9ca3932a8 | ||
|
|
5ec5271fdd | ||
|
|
e15731fcd4 | ||
|
|
2962f7cd2c | ||
|
|
c89a366dfb | ||
|
|
5f8acabb81 | ||
|
|
055a84bb15 | ||
|
|
03938839e0 | ||
|
|
8ff4683780 | ||
|
|
62a4052178 | ||
|
|
8ece036770 | ||
|
|
a5503c0c60 | ||
|
|
f754882498 | ||
|
|
191549074c | ||
|
|
2ec6e10c8e | ||
|
|
2bd095e5bf | ||
|
|
513d5f06e5 | ||
|
|
a1da2058bc | ||
|
|
af26fdfb37 | ||
|
|
66b5a2fc40 | ||
|
|
29f0789223 | ||
|
|
f8f997a6eb | ||
|
|
374997a8d7 | ||
|
|
dabb505376 | ||
|
|
aa74261d50 | ||
|
|
b29829f571 | ||
|
|
d559f67ab9 | ||
|
|
d4f8775f44 | ||
|
|
50647ab3a5 | ||
|
|
90744dc2e6 | ||
|
|
24a3987c3a | ||
|
|
e87236514d | ||
|
|
2fb41341c9 | ||
|
|
b76f2c0f20 | ||
|
|
bd88f78af6 | ||
|
|
bf97bec994 | ||
|
|
a27a77f8c1 | ||
|
|
e8fd07e5e3 | ||
|
|
1089adb844 | ||
|
|
4096cdfdfe | ||
|
|
099077fe20 | ||
|
|
a684029602 | ||
|
|
8b0c8392b6 | ||
|
|
222aeed2f3 | ||
|
|
ece31cf3cf | ||
|
|
0fbb3882f2 | ||
|
|
73394f1fc5 | ||
|
|
9b043cf2c1 | ||
|
|
1cd005c272 | ||
|
|
4107bf8f25 | ||
|
|
49bedda956 | ||
|
|
540d557cb2 | ||
|
|
d8acadb085 | ||
|
|
932c3c123f | ||
|
|
986375fa86 | ||
|
|
4497c9bbcc | ||
|
|
23f7c4dd6e | ||
|
|
a41f950d09 | ||
|
|
209716f7cd | ||
|
|
3dca30343f | ||
|
|
71cde7c05e | ||
|
|
dbf3495c4e | ||
|
|
fffc6ab7d7 | ||
|
|
a73e01f89f | ||
|
|
87ec04af16 | ||
|
|
d8746a8852 | ||
|
|
7c9a542006 | ||
|
|
e75ef7e31f | ||
|
|
4f87612a0f | ||
|
|
2cad0f46f2 | ||
|
|
5931d0cc0b | ||
|
|
9d4ca77ef7 | ||
|
|
ad27a278fd | ||
|
|
4f17fc41a5 | ||
|
|
15d2d27a53 | ||
|
|
65e5010e7f | ||
|
|
9b97c74025 | ||
|
|
d62362d6ae | ||
|
|
1a9affbbac | ||
|
|
2316088f5c | ||
|
|
d14310078b | ||
|
|
1696c69776 | ||
|
|
5f96ea4217 | ||
|
|
491a20cb08 | ||
|
|
490fb898af | ||
|
|
560a52a443 | ||
|
|
b9a208f18f | ||
|
|
6da4c4bf66 | ||
|
|
d2390cd247 | ||
|
|
c3cd7f5e5c | ||
|
|
2351d65844 | ||
|
|
e50927f575 | ||
|
|
79b7e6093f | ||
|
|
4f0c786649 | ||
|
|
fca08cf583 | ||
|
|
517b2c653b | ||
|
|
44dcbee5f4 | ||
|
|
efc9f465f0 | ||
|
|
5321d24f2a | ||
|
|
f30f7f4629 | ||
|
|
ec0bcc11f5 | ||
|
|
16895b4a49 | ||
|
|
f3784723ae | ||
|
|
7f5857296e | ||
|
|
897955f0a1 | ||
|
|
ff309ea4c5 | ||
|
|
3b11613cc7 | ||
|
|
a2d0cb7141 | ||
|
|
88ffd1b843 | ||
|
|
6a10e57f7e | ||
|
|
612e0061ed | ||
|
|
2eee7453cb | ||
|
|
58cc278145 | ||
|
|
a03e649da6 | ||
|
|
073bbbc09d | ||
|
|
bca0aa3532 | ||
|
|
cb588d0205 | ||
|
|
2b20e9689b | ||
|
|
65f7cf0d83 | ||
|
|
5ac8f4c81b | ||
|
|
c33c9082d9 | ||
|
|
62ae0f5ef6 | ||
|
|
24aa48187e | ||
|
|
342cca4367 | ||
|
|
9194092d7b | ||
|
|
5f6f65a065 | ||
|
|
967537a409 | ||
|
|
f74163489c | ||
|
|
7a110bd60f | ||
|
|
d56636426e | ||
|
|
de4fbd2e82 | ||
|
|
9c3982d4ff | ||
|
|
88fc21e993 | ||
|
|
54674576db | ||
|
|
89189adb24 | ||
|
|
a5a7da4a1a | ||
|
|
1e6cc03946 | ||
|
|
d8526ba653 | ||
|
|
c38f913948 | ||
|
|
0659fe4641 | ||
|
|
10501db63d | ||
|
|
2a312159b9 | ||
|
|
cb75192df4 | ||
|
|
588f600ba2 | ||
|
|
ea609cd3e0 | ||
|
|
4b6c7d01b2 | ||
|
|
b89b2c45b1 | ||
|
|
e38f1173cf | ||
|
|
e1e0999de6 | ||
|
|
5c9378ac5e | ||
|
|
f075f391cb | ||
|
|
8fb25f71f3 | ||
|
|
a3332079db | ||
|
|
0d6eec7a33 | ||
|
|
f16afc59ba | ||
|
|
e5388048a9 | ||
|
|
5374d237a7 | ||
|
|
2e466101fc | ||
|
|
8676a0d2a0 | ||
|
|
3ec23ad96b | ||
|
|
dcd3918f36 | ||
|
|
08c7f1960f | ||
|
|
8a4ec493c0 | ||
|
|
4d970754a4 | ||
|
|
f331b6c754 | ||
|
|
1022448e4f | ||
|
|
291540b601 | ||
|
|
092d07b68e | ||
|
|
da5d5bee20 | ||
|
|
6d9dc9bd42 | ||
|
|
937afd921c | ||
|
|
a4da8d29f8 | ||
|
|
8ec5ca9d08 | ||
|
|
9c90136f57 | ||
|
|
610a1bb313 | ||
|
|
23a48dd01c | ||
|
|
d02fa72e80 | ||
|
|
62d8749e74 | ||
|
|
76f0bf2e04 | ||
|
|
635f6d970d | ||
|
|
672e3c42a8 | ||
|
|
c1110e4ef3 | ||
|
|
742c8a941a | ||
|
|
3427ae4b90 | ||
|
|
034db27936 | ||
|
|
1e3c624613 | ||
|
|
3519f341d4 | ||
|
|
d6c96d6291 | ||
|
|
15c250e152 | ||
|
|
eb57412601 | ||
|
|
2f1c008a26 | ||
|
|
5e06aee5c8 | ||
|
|
351664ec07 | ||
|
|
5f1eada3ea | ||
|
|
bde4e4443e | ||
|
|
ed4bc5fa17 | ||
|
|
20afc31f3c | ||
|
|
9232a52fd6 | ||
|
|
23b3f144fc | ||
|
|
89d62eb509 | ||
|
|
00176ee2cd | ||
|
|
8737005b82 | ||
|
|
d08c3f72e9 | ||
|
|
40ebdf3f39 | ||
|
|
eeeb7fb69b | ||
|
|
3f9ae33793 | ||
|
|
0c7f53e305 | ||
|
|
63a4301a8b | ||
|
|
1b4ac88ce7 | ||
|
|
4b29436cd5 | ||
|
|
833b5a1f30 | ||
|
|
24b094a04a | ||
|
|
3365201011 | ||
|
|
c1ba403d4e | ||
|
|
8b62e50eb8 | ||
|
|
5b315e90c5 | ||
|
|
b711cd258a | ||
|
|
e1c4069a72 | ||
|
|
a2dee79439 | ||
|
|
7a54db3179 | ||
|
|
03e7952d26 | ||
|
|
7ee8750be4 | ||
|
|
f61001a15d | ||
|
|
86ddadacf7 | ||
|
|
632089940c | ||
|
|
5d7db3e727 | ||
|
|
4dd1f63b8b | ||
|
|
fc134cdffb | ||
|
|
36cb4c5a4f | ||
|
|
676bdb26e0 | ||
|
|
dff778ceeb | ||
|
|
bdadd2b515 | ||
|
|
a34543100c | ||
|
|
b8b044f451 | ||
|
|
2d87cde887 | ||
|
|
212efc4f52 | ||
|
|
879a397215 | ||
|
|
957cd5dd9c | ||
|
|
25087d3f2d | ||
|
|
d24109f0a2 | ||
|
|
647baebcf0 | ||
|
|
98ce3cd385 | ||
|
|
0c87d9bd7d | ||
|
|
aa35247e95 | ||
|
|
0dc4e18ac4 | ||
|
|
d4185505d1 | ||
|
|
04e58659fe | ||
|
|
5e738cf73a | ||
|
|
ce8595e8dd | ||
|
|
be74d96c6a | ||
|
|
4212bd6800 | ||
|
|
d40d40af31 | ||
|
|
cbf9ee8978 | ||
|
|
7abeb4ee0f | ||
|
|
bd4a3cba38 | ||
|
|
3cfa39a2ad | ||
|
|
a3b6d8d8e5 | ||
|
|
7e3692bb5a | ||
|
|
aa3a9a15cc | ||
|
|
0f92ea401f | ||
|
|
260d55aeae | ||
|
|
a9609a197d | ||
|
|
a8fac1381b | ||
|
|
65f6ede8b2 | ||
|
|
515dbcc5d9 | ||
|
|
827987fe7d | ||
|
|
1357ca7582 | ||
|
|
72d363968e | ||
|
|
c6b6902e9f | ||
|
|
6a5bb44d5b | ||
|
|
cbcf8eb863 | ||
|
|
09cfd9b89e | ||
|
|
b961e11df6 | ||
|
|
2ca683e8fe | ||
|
|
fd20addead | ||
|
|
535b13b5f1 | ||
|
|
d6a0276a78 | ||
|
|
9c0325b129 | ||
|
|
f885edd7fc | ||
|
|
2b171e58a3 | ||
|
|
d417c4b0f9 | ||
|
|
653f80eac8 | ||
|
|
76b89a7943 | ||
|
|
6ff7a5400f | ||
|
|
db021b9f41 | ||
|
|
ab4661f6fd | ||
|
|
396cadefda | ||
|
|
2296906ed3 | ||
|
|
1a134cab1b | ||
|
|
7d67792493 | ||
|
|
3c18e890e8 | ||
|
|
615500e6e6 | ||
|
|
1425fe5413 | ||
|
|
84643fb6f7 | ||
|
|
c8b621172e | ||
|
|
02e07dda2a | ||
|
|
b2e19561e6 | ||
|
|
389f4167b2 | ||
|
|
63cc745f5b | ||
|
|
1a4ac93fbb | ||
|
|
582f60ea0b | ||
|
|
157f6ff62a | ||
|
|
bf4244e8b2 | ||
|
|
25cfd58792 | ||
|
|
09d04aaac0 | ||
|
|
27b4e2d891 | ||
|
|
043344b986 | ||
|
|
3b8f71613b | ||
|
|
10fcbecc04 | ||
|
|
ab7f19fbb8 | ||
|
|
b665a4a6f7 | ||
|
|
2c45e59900 | ||
|
|
89868cc944 | ||
|
|
841cb889aa | ||
|
|
6b2f14e51e | ||
|
|
7e2192e875 | ||
|
|
f11a42b9bf | ||
|
|
845204178b | ||
|
|
d937a323fb | ||
|
|
d7c48d27d8 | ||
|
|
1bc766213c | ||
|
|
775aef5f9b | ||
|
|
83cac4978a | ||
|
|
2bb9a8e71c | ||
|
|
39783c7703 | ||
|
|
9f9f564e62 | ||
|
|
ab1b2bcf14 | ||
|
|
bb0c61bb3f | ||
|
|
a7dcf39a32 | ||
|
|
e43796ae51 | ||
|
|
6655fe67c3 | ||
|
|
2104b9831c | ||
|
|
e7127637cf | ||
|
|
6233e5c844 | ||
|
|
a01481b26f | ||
|
|
3d24998577 | ||
|
|
f24e9d152c | ||
|
|
f47089ae7d | ||
|
|
d70abd2986 | ||
|
|
7d998a45f2 | ||
|
|
3433a911cc | ||
|
|
967606fa0f | ||
|
|
97e7d95dd3 | ||
|
|
26c28445a5 | ||
|
|
74a459274c | ||
|
|
bb6e290bf8 | ||
|
|
4a79e1f100 | ||
|
|
bff93bb162 | ||
|
|
bffd091429 | ||
|
|
70d5931622 | ||
|
|
ce49cde49d | ||
|
|
a3bd2e547a | ||
|
|
64710ad226 | ||
|
|
cd6bad0e35 | ||
|
|
1310645f55 | ||
|
|
e6a7119595 | ||
|
|
0b39b529dd | ||
|
|
1d0e40c66b | ||
|
|
bcc89c73dd | ||
|
|
a6b47e18c9 | ||
|
|
5183c92543 | ||
|
|
7c1c3f62d1 | ||
|
|
729f062ea1 | ||
|
|
d879ee06a3 | ||
|
|
ed1b2a50fa | ||
|
|
c51e01ac46 | ||
|
|
4df5bd05ec | ||
|
|
cf4012bb60 | ||
|
|
bbcebe1306 | ||
|
|
bcaaeac852 | ||
|
|
4111f94597 | ||
|
|
dd7cc31918 | ||
|
|
d8d094cab6 | ||
|
|
dc6e93541b | ||
|
|
f6ffb940ab | ||
|
|
6fbb1bb370 | ||
|
|
8285b226eb | ||
|
|
194129c027 | ||
|
|
7d5a429466 | ||
|
|
ac5db1b262 | ||
|
|
a2857a318d | ||
|
|
13e1fa355d | ||
|
|
2e88fa1dfc | ||
|
|
366b10f07b | ||
|
|
92a048625a | ||
|
|
8199928160 | ||
|
|
545aca9a4c | ||
|
|
9f113eab23 | ||
|
|
bc6bc017cb | ||
|
|
535fda90e3 | ||
|
|
0ace086de4 | ||
|
|
bbb1b44a23 | ||
|
|
dfed17ac0d | ||
|
|
2f879c33f3 | ||
|
|
14b6ba10cf | ||
|
|
ae0b072b75 | ||
|
|
250afa6e0b | ||
|
|
b29b6fe69f | ||
|
|
f160d6312f | ||
|
|
a8d01fd52f | ||
|
|
3a5ec4f5f4 | ||
|
|
eebb93d4ee | ||
|
|
01fafd4fe0 | ||
|
|
ca0db4d1a7 | ||
|
|
ea72164798 | ||
|
|
e2ba980299 | ||
|
|
98051bdea2 | ||
|
|
20431cc771 | ||
|
|
82ecf8a416 | ||
|
|
9dcd90056d | ||
|
|
e2c7716ce2 | ||
|
|
e6c61c3f8c | ||
|
|
b834e33568 | ||
|
|
9ab2a50097 | ||
|
|
1838403e3b | ||
|
|
9e7c9fc1d3 | ||
|
|
9264cb749e | ||
|
|
c01679de1f | ||
|
|
3645feb486 | ||
|
|
d85f665091 | ||
|
|
5ec6ae3ad0 | ||
|
|
860730d43c | ||
|
|
c1ddcf6012 | ||
|
|
85bbdfe143 | ||
|
|
9f9827ca58 | ||
|
|
dcb3dad435 | ||
|
|
0e69b9199c | ||
|
|
88a3600ce3 | ||
|
|
91164d8dbf | ||
|
|
ec47720686 | ||
|
|
467ade1eb7 | ||
|
|
bb93a06fff | ||
|
|
80178f7310 | ||
|
|
ee354eb107 | ||
|
|
7d896599b8 | ||
|
|
55aee2b00f | ||
|
|
10d39c83cb | ||
|
|
0b2cb7539f | ||
|
|
6fdbf0ba5d | ||
|
|
a980f8e959 | ||
|
|
c90cf301df | ||
|
|
6f06cd5ebc | ||
|
|
86de5657ff | ||
|
|
4a335eeb61 | ||
|
|
86d582d52a | ||
|
|
673b6653a3 | ||
|
|
41732fe38b | ||
|
|
5964bcf897 | ||
|
|
3ed4a6e834 | ||
|
|
20fa106b8b | ||
|
|
654e2af4e5 | ||
|
|
d5dea44689 | ||
|
|
5743382c65 | ||
|
|
39f37e6133 | ||
|
|
0ed3554f95 | ||
|
|
ba6af99b05 | ||
|
|
9e29fe4111 | ||
|
|
a8a4fb69c0 | ||
|
|
6cf13d112b | ||
|
|
6973f96f8c | ||
|
|
0548bdb655 | ||
|
|
36606fc448 | ||
|
|
c415b097fe | ||
|
|
970fad7557 | ||
|
|
358ff74d0e | ||
|
|
b1cdc32f73 | ||
|
|
bcca07443c | ||
|
|
67d9c2efb4 | ||
|
|
34b0fdff1d | ||
|
|
f93e5e60b5 | ||
|
|
d8b1e2701c | ||
|
|
abf4c345f0 | ||
|
|
a09334e116 | ||
|
|
57ad9a25da | ||
|
|
5a2990ff90 | ||
|
|
759a618f74 | ||
|
|
23f1cfc926 | ||
|
|
57ea5ef5da | ||
|
|
944dc1659f | ||
|
|
2dc157578e | ||
|
|
8a59216061 | ||
|
|
cc1807cf97 | ||
|
|
63b7f6d382 | ||
|
|
5c4cbf58c5 | ||
|
|
5959a24d4c | ||
|
|
d4023e7dde | ||
|
|
0fd3c25684 | ||
|
|
4125e35ebd | ||
|
|
18d448d4a5 | ||
|
|
d5133f789a | ||
|
|
1cce6a297c | ||
|
|
ad20ec62f2 | ||
|
|
af2bed8a0f | ||
|
|
b93e868048 | ||
|
|
8d90ae5ffb | ||
|
|
ae4449642c | ||
|
|
bc2f4a30eb | ||
|
|
dc8766874e | ||
|
|
a33171732d | ||
|
|
b9a9e06c1d | ||
|
|
456e720b75 | ||
|
|
ae9bbdbae7 | ||
|
|
585ea88f1f | ||
|
|
f94f58918e | ||
|
|
3fc97672de | ||
|
|
e8e649a030 | ||
|
|
1e6c02ae83 | ||
|
|
b2e1f850d8 | ||
|
|
8bfa2cacbb | ||
|
|
c7e61f8c34 | ||
|
|
089c667d7f | ||
|
|
ebb955934d | ||
|
|
c7567ddee4 | ||
|
|
c655da38c8 | ||
|
|
4c0be7ddd4 | ||
|
|
38961d4253 | ||
|
|
6e81a11d8d | ||
|
|
be02be75be | ||
|
|
7b5ed9f1d6 | ||
|
|
e626f9fece | ||
|
|
3fab799dbf | ||
|
|
24c100d9b7 | ||
|
|
9bc2f62c80 | ||
|
|
1fa2de066f | ||
|
|
ae0b070c1b | ||
|
|
c3a2c67b98 | ||
|
|
200e8f552b | ||
|
|
4247013446 | ||
|
|
6ec32a85e4 | ||
|
|
633c56f54e | ||
|
|
23171ad205 | ||
|
|
277576268c | ||
|
|
74aa0db956 | ||
|
|
fe42fb2c31 | ||
|
|
4973538d6c | ||
|
|
de1e7c27df | ||
|
|
587b9afefe | ||
|
|
63b25311f5 | ||
|
|
d45dbfe064 | ||
|
|
3176b877a4 | ||
|
|
18541bce86 | ||
|
|
bebe08d92b | ||
|
|
0dbbb51cff | ||
|
|
bd78bd2643 | ||
|
|
7a3b164060 | ||
|
|
e7eb26416e | ||
|
|
b2b7703081 | ||
|
|
cbdde7bba5 | ||
|
|
4fd51a4ef9 | ||
|
|
333c81c1d7 | ||
|
|
21b5a15e5d | ||
|
|
edd431a304 | ||
|
|
d642fa3989 | ||
|
|
bae1647e99 | ||
|
|
decd7aca71 | ||
|
|
7cc9aaca49 | ||
|
|
196aa48727 | ||
|
|
af2972f697 | ||
|
|
d4addeedd6 | ||
|
|
8439698336 | ||
|
|
7d120690ab | ||
|
|
ee196f5035 | ||
|
|
ff85c334c7 | ||
|
|
0c574f33e1 | ||
|
|
a7c7309027 | ||
|
|
de2f998218 | ||
|
|
4982ba0b98 | ||
|
|
f57286fd51 | ||
|
|
12f7345d0c | ||
|
|
4e79ed8124 | ||
|
|
7787aa975f | ||
|
|
c13622a1e6 | ||
|
|
07a87fa15a | ||
|
|
2644169376 | ||
|
|
5988f5f04f | ||
|
|
95d826b77c | ||
|
|
9bcda41700 | ||
|
|
507c5df984 | ||
|
|
0ba87b424c | ||
|
|
53f818e176 | ||
|
|
00dcd60d56 | ||
|
|
1730230244 | ||
|
|
0728c03c1c | ||
|
|
354372b2ea | ||
|
|
d169aca8bd | ||
|
|
26720ca4c2 | ||
|
|
510a8b50b2 | ||
|
|
d190f149d1 | ||
|
|
24a31b1194 | ||
|
|
470490769f | ||
|
|
1259eca8ad | ||
|
|
f0316d3e31 | ||
|
|
9b580a87fa | ||
|
|
4bee1ce811 | ||
|
|
e3f537770f | ||
|
|
9b92bc2baf | ||
|
|
51b99caf24 | ||
|
|
850fd34522 | ||
|
|
9164dafe69 | ||
|
|
33e9545cd4 | ||
|
|
7b87a93862 | ||
|
|
51bde704b5 | ||
|
|
3f13c24362 | ||
|
|
6837d83f5b | ||
|
|
3c1d7da698 | ||
|
|
d6731b8cee | ||
|
|
fe80703f95 | ||
|
|
1808ac506a | ||
|
|
3174c7534d | ||
|
|
065729a389 | ||
|
|
d250e0a486 | ||
|
|
3f1ff54887 | ||
|
|
0424543e36 | ||
|
|
d0cb45808c | ||
|
|
0cc0882ac9 | ||
|
|
a7c4228ce7 | ||
|
|
ce3a8c0c17 | ||
|
|
ace531e8ae | ||
|
|
2c66a4c29e | ||
|
|
6e66452cf3 | ||
|
|
cb646f3a4f | ||
|
|
32d5392776 | ||
|
|
03ca4cfa46 | ||
|
|
fb4307f748 | ||
|
|
3893d3e214 | ||
|
|
2b90f309a6 | ||
|
|
fb71d049b1 | ||
|
|
89e245e2d3 | ||
|
|
3330e97d05 | ||
|
|
15741047ed | ||
|
|
eeccc47dde | ||
|
|
c169d8909f | ||
|
|
dc27d873b3 | ||
|
|
32dc683d5c | ||
|
|
06dfeed750 | ||
|
|
60c764ac33 | ||
|
|
5410c44bb1 | ||
|
|
d372be9b65 | ||
|
|
131b9f86a9 | ||
|
|
45e0d10932 | ||
|
|
596b5d5cd4 | ||
|
|
bb5dafc61d | ||
|
|
7e9a8b801c | ||
|
|
f30f421f50 | ||
|
|
bbce304f5a | ||
|
|
de3a6c443d | ||
|
|
7ad8431dd9 | ||
|
|
85364dc8ab | ||
|
|
bdb3b509ad | ||
|
|
8326206f87 | ||
|
|
85a1e478fe | ||
|
|
29191e6a58 | ||
|
|
15e0e0f30a | ||
|
|
d474576104 | ||
|
|
31555ee5ed | ||
|
|
2f11bb8303 | ||
|
|
ac48ad982e | ||
|
|
54a081bdfd | ||
|
|
989137ddc3 | ||
|
|
c72459d3ef | ||
|
|
5c1faf3d5e | ||
|
|
4feef3be78 | ||
|
|
3032e5eb21 | ||
|
|
481f779349 | ||
|
|
ede0f710f8 | ||
|
|
66718f6d8e | ||
|
|
fd5833c1d8 | ||
|
|
6f8a6e5045 | ||
|
|
78dc75d55d | ||
|
|
579f56b0bf | ||
|
|
9ebe30edfc | ||
|
|
e045d5e5c2 | ||
|
|
fefe742ea1 | ||
|
|
0c36b63f22 | ||
|
|
c9692bb5bd | ||
|
|
0353b82c0c | ||
|
|
23a34c6bac | ||
|
|
4e7b2e5b41 | ||
|
|
3668e77a75 | ||
|
|
a727ee67bc | ||
|
|
aa28d73f47 | ||
|
|
d485eb5c8f | ||
|
|
8a0b7d970a | ||
|
|
a76fde5feb | ||
|
|
648dc93655 | ||
|
|
f32c8aff90 | ||
|
|
9aed7a7f0c | ||
|
|
c8d084c563 | ||
|
|
7e04abd1e5 | ||
|
|
e2e13103b8 | ||
|
|
d8e5cbe689 | ||
|
|
19fdd2f88c | ||
|
|
e5e49f68ba | ||
|
|
5a3625f6cd | ||
|
|
bc50f6e5f6 | ||
|
|
8ff1bfc0b2 | ||
|
|
744ab08dfb | ||
|
|
d01100a258 | ||
|
|
722ca41584 | ||
|
|
1637da84e4 | ||
|
|
6d28f2c885 | ||
|
|
482606d80a | ||
|
|
73ea123f1a | ||
|
|
d09df063a5 | ||
|
|
676574ff19 | ||
|
|
665c047541 | ||
|
|
939835cef1 | ||
|
|
9e303b58a0 | ||
|
|
112a872bc1 | ||
|
|
6424333c35 | ||
|
|
267d331fac | ||
|
|
d1daeb4cb0 | ||
|
|
7c6c9eae7f | ||
|
|
036154fc36 | ||
|
|
e3abdf9901 | ||
|
|
af7e83bc76 | ||
|
|
4a274466ac | ||
|
|
eb38e0ffff | ||
|
|
321677e05a | ||
|
|
960f3a6552 | ||
|
|
35c78eee41 | ||
|
|
5348465e60 | ||
|
|
1d1bb2a2a7 | ||
|
|
767503ad88 | ||
|
|
1e696fe6ca | ||
|
|
90631cca88 | ||
|
|
50c476c41d | ||
|
|
8232505961 | ||
|
|
966678196e | ||
|
|
11e8957dea | ||
|
|
ec5c8bafb6 | ||
|
|
fb8dc42acf | ||
|
|
4df88c0df3 | ||
|
|
3529036f55 | ||
|
|
f2b77c8635 | ||
|
|
49e5611f65 | ||
|
|
d75afc007d | ||
|
|
b32c5d8247 | ||
|
|
b2db96e4df | ||
|
|
52a85cb91c | ||
|
|
beb4f8c8f9 | ||
|
|
3b1eeb0818 | ||
|
|
9ad2f50fa4 | ||
|
|
bbd2661acb | ||
|
|
b2a2995c0d | ||
|
|
5a9784ff4d | ||
|
|
ba41110c27 | ||
|
|
608ecae5fd | ||
|
|
04b8b14828 | ||
|
|
4619b31aa3 | ||
|
|
e3b8aaf276 | ||
|
|
1d9733014a | ||
|
|
304ad1e72d | ||
|
|
ff6cec251a | ||
|
|
84802da29b | ||
|
|
011afe3e89 | ||
|
|
b7162fab36 | ||
|
|
f6e2dab58a | ||
|
|
4a62c5eac2 | ||
|
|
dd30bad96a | ||
|
|
c2c0fe86f9 | ||
|
|
14d9b6cfcb | ||
|
|
df4d97c447 | ||
|
|
a7826c4f90 | ||
|
|
8c26c83c4d | ||
|
|
6b49f844dc | ||
|
|
4a344e382b | ||
|
|
108dd9e4b8 | ||
|
|
b71a2fa549 | ||
|
|
3ca012ee63 | ||
|
|
706d53ab4a | ||
|
|
2321f32f84 | ||
|
|
d1dd35d4b1 | ||
|
|
a5de64a19c | ||
|
|
5d7c1336b9 | ||
|
|
93898d6475 | ||
|
|
4caf05c092 | ||
|
|
6083a3078e | ||
|
|
0160bb1c91 | ||
|
|
e7ce389e84 | ||
|
|
0f2083db62 | ||
|
|
3ed7202253 | ||
|
|
089c0be89b | ||
|
|
fc902af10c | ||
|
|
a481c4d243 | ||
|
|
bb44411a50 | ||
|
|
1e4a24c474 | ||
|
|
993a0f71af | ||
|
|
283ad6137d | ||
|
|
6743b0c813 | ||
|
|
b69ba02652 | ||
|
|
915f2bf9e7 | ||
|
|
59b01b363c | ||
|
|
c5e623ae45 | ||
|
|
425af00ebf | ||
|
|
373c8a14b0 | ||
|
|
5f4a16630e | ||
|
|
3260db416a | ||
|
|
9cefbc6e5d | ||
|
|
14a5156e15 | ||
|
|
259c9f11e6 | ||
|
|
fd1261ab65 | ||
|
|
37d9e1f8fe | ||
|
|
a924cb73b0 | ||
|
|
3cbafec68d | ||
|
|
a48c01c3a5 | ||
|
|
7468078b71 | ||
|
|
98add5fecd | ||
|
|
5e1603317a | ||
|
|
943a9ded00 | ||
|
|
04370b38ec | ||
|
|
3aff57600f | ||
|
|
874249655d | ||
|
|
7ebd69218f | ||
|
|
0edebda1c7 | ||
|
|
7283e8b668 | ||
|
|
f3f380553a | ||
|
|
4a9d2d2129 | ||
|
|
cf343c21a8 | ||
|
|
179de3b0ff | ||
|
|
720d113a9a | ||
|
|
59c9584fe0 | ||
|
|
674610ef7d | ||
|
|
b8135617ae | ||
|
|
6ac296118d | ||
|
|
ecf9822ac0 | ||
|
|
c1249a2f3a | ||
|
|
36cbfa8c61 | ||
|
|
2657cc3921 | ||
|
|
441861786b | ||
|
|
0cdf0230e9 | ||
|
|
c8e6a4476d | ||
|
|
ccfe6b3c80 | ||
|
|
86549eb3ee | ||
|
|
243004c551 | ||
|
|
8ba8aec277 | ||
|
|
a5b07aa4ef | ||
|
|
c619674cf9 | ||
|
|
52d591c83b | ||
|
|
4313974f07 | ||
|
|
bde13515e6 | ||
|
|
93ab2445a1 | ||
|
|
eea3cb0553 | ||
|
|
6bd3c6fa88 | ||
|
|
b6e2ec3a3c | ||
|
|
bbe9de9463 | ||
|
|
2bdbcf9a39 | ||
|
|
fd80ed75fe | ||
|
|
0890cc1a33 | ||
|
|
e31acfc31c | ||
|
|
d0d070aaf0 | ||
|
|
1e41891943 | ||
|
|
e37c817151 | ||
|
|
af6b277d28 | ||
|
|
3a2ff0c188 | ||
|
|
d4a8a38586 | ||
|
|
a87ce825ad | ||
|
|
ac011d7f55 | ||
|
|
03c7a2b108 | ||
|
|
ca83ed79c5 | ||
|
|
54685226c4 | ||
|
|
61b059f015 | ||
|
|
f96b9c8a23 | ||
|
|
d8242b4ef0 | ||
|
|
f664fcb7a6 | ||
|
|
5c7a4549f7 | ||
|
|
a04718ebe5 | ||
|
|
59d8fc9a14 | ||
|
|
a438f13647 | ||
|
|
23ba57313a | ||
|
|
7f24a1a42d | ||
|
|
05566894ad | ||
|
|
4dc59b5255 | ||
|
|
08192033fb | ||
|
|
2f4cb0156c | ||
|
|
e26a3dc0e7 | ||
|
|
e827420569 | ||
|
|
e379e035c7 | ||
|
|
6de2813c3d | ||
|
|
20bae1bf90 | ||
|
|
2f8b4732b4 | ||
|
|
79c59a2b1e | ||
|
|
51c44a7c5a | ||
|
|
64da09675e | ||
|
|
82fd5e6e8a | ||
|
|
1e183a3258 | ||
|
|
891209d925 | ||
|
|
4d3cf756e4 | ||
|
|
27c87d56bb | ||
|
|
72c588ad33 | ||
|
|
41fed16d08 | ||
|
|
5607bb3d61 | ||
|
|
fab0af1b40 | ||
|
|
b5afe90764 | ||
|
|
fef160e7a7 | ||
|
|
e408dc14cc | ||
|
|
257c31c05f | ||
|
|
3f72905b3f | ||
|
|
c4282f29ab | ||
|
|
642913b0f8 | ||
|
|
2c3887ece9 | ||
|
|
9fab98a6ce | ||
|
|
81334389a9 | ||
|
|
d579efa041 | ||
|
|
da4b2b4849 | ||
|
|
da51e3a3d5 | ||
|
|
837dae242c | ||
|
|
7ad8a3cbb5 | ||
|
|
8b50f3cdbd | ||
|
|
16da4d851e | ||
|
|
a5bc73f0b3 | ||
|
|
258ad95b7a | ||
|
|
75714b60ca | ||
|
|
ca7cbd291f | ||
|
|
d77666cd3e | ||
|
|
1755347878 | ||
|
|
5978b433d3 | ||
|
|
37baf3de3c | ||
|
|
cfdddc4469 | ||
|
|
d505ebe926 | ||
|
|
c8a3fd72d4 | ||
|
|
9788ca08ea | ||
|
|
b4787235b5 | ||
|
|
9dd3b1617d | ||
|
|
58835eeb2e | ||
|
|
3a8ed2e9cb | ||
|
|
6b630c9fd2 | ||
|
|
db1b427b3f | ||
|
|
aa164cdbce | ||
|
|
9c27ed29ae | ||
|
|
d2385e9c75 | ||
|
|
01d27e22f8 | ||
|
|
abf90f1dd6 | ||
|
|
53215d87ee | ||
|
|
2d5dce4954 | ||
|
|
7e229ceb2f | ||
|
|
2a8388d262 | ||
|
|
4751b33d0c | ||
|
|
98eb810f89 | ||
|
|
7c07001bdc | ||
|
|
a81f17a802 | ||
|
|
dbadb9b0a6 | ||
|
|
c204b63653 | ||
|
|
48240db813 | ||
|
|
94a9f17838 | ||
|
|
5ca7bb365e | ||
|
|
260268f62b | ||
|
|
a8dac9bd3a | ||
|
|
d1acd964a5 | ||
|
|
5e493f2d3f | ||
|
|
d65ebb80c6 | ||
|
|
b9f3f549a1 | ||
|
|
67cefb1211 | ||
|
|
14b576e411 | ||
|
|
43edea01b7 | ||
|
|
262c8d71d5 | ||
|
|
80ee713893 | ||
|
|
3837a2c5d6 | ||
|
|
dc56e4557b | ||
|
|
717ceee0ea | ||
|
|
5713ff09f4 | ||
|
|
b6b1d40516 | ||
|
|
152eaa10dd | ||
|
|
d689ad72e8 | ||
|
|
d6fec88932 | ||
|
|
fd9e68e7e7 | ||
|
|
6971e08b0d | ||
|
|
cea50f319d | ||
|
|
6ce9f77e17 | ||
|
|
0f43b564c9 | ||
|
|
6bf906a849 | ||
|
|
983ee7b973 | ||
|
|
bd7d10b81e | ||
|
|
876e70d85f | ||
|
|
590f077963 | ||
|
|
2aa1ab2f2b | ||
|
|
2e08599f82 | ||
|
|
b450739333 | ||
|
|
e330ff0299 | ||
|
|
6c233da2ff | ||
|
|
fa309d0d18 | ||
|
|
9f187ed027 | ||
|
|
42e5876ebe | ||
|
|
46b726a4e0 | ||
|
|
0278e782e0 | ||
|
|
bf8f71f215 | ||
|
|
9adc9f886c | ||
|
|
50d504a38f | ||
|
|
c2d7f3c653 | ||
|
|
9e92178357 | ||
|
|
42c3580bf2 | ||
|
|
9237c931b2 | ||
|
|
1a62e00066 | ||
|
|
803d94c8ac | ||
|
|
ac2bbd68db | ||
|
|
8160cef2b3 | ||
|
|
c7fd8f5116 | ||
|
|
618d2f9f58 | ||
|
|
807d7a7aaf | ||
|
|
416fb5e1e3 | ||
|
|
1fb9960168 | ||
|
|
919e41f55e | ||
|
|
616523c732 | ||
|
|
bb0e699619 | ||
|
|
d5294d5733 | ||
|
|
3769d99532 | ||
|
|
c7b272561e | ||
|
|
21789e0692 | ||
|
|
1a2ff9b089 | ||
|
|
3ec8dc6858 | ||
|
|
9be1bd523a | ||
|
|
1f191c3ce1 | ||
|
|
91ed621ec8 | ||
|
|
6adbd14bf8 | ||
|
|
5826446509 | ||
|
|
84d2d20e13 | ||
|
|
3ed4c8d636 | ||
|
|
c15931e6f6 | ||
|
|
7c20ed777d | ||
|
|
5d0359331b | ||
|
|
b255fc40af | ||
|
|
7b523af05b | ||
|
|
bd65abd3b4 | ||
|
|
b4dd90ba2b | ||
|
|
c274d5114c | ||
|
|
c821cdd9c7 | ||
|
|
69871506e1 | ||
|
|
a99e29642c | ||
|
|
acdc19df1d | ||
|
|
2bad04848c | ||
|
|
bf3d6ae24b | ||
|
|
2984e2dc5d | ||
|
|
3b23f69786 | ||
|
|
9fbc63e6fb | ||
|
|
cb158ca866 | ||
|
|
857e2fd46e | ||
|
|
74f2f45fc0 | ||
|
|
b76d208212 | ||
|
|
dea43da4d2 | ||
|
|
d32796eab0 | ||
|
|
1a79d7c255 | ||
|
|
1afea60c6f | ||
|
|
a49b459a59 | ||
|
|
9a051b6979 | ||
|
|
64ac5fdf73 | ||
|
|
ec366c840c | ||
|
|
edf616baca | ||
|
|
58bc8b6ec7 | ||
|
|
2dea6ab5a5 | ||
|
|
c3247396f7 | ||
|
|
f3bfe177ce | ||
|
|
7c1f39d10e | ||
|
|
cd6669c024 | ||
|
|
5c69b56cd5 | ||
|
|
90d1bbbb31 | ||
|
|
e370d7dbdd | ||
|
|
38e0bc1257 | ||
|
|
47f14845ca | ||
|
|
70d8b65f0a | ||
|
|
5ebe14e452 | ||
|
|
36ecd5625a | ||
|
|
f036c1a6c5 | ||
|
|
64c67a07dd | ||
|
|
092d496944 | ||
|
|
5edb923904 | ||
|
|
6300f9154a | ||
|
|
c90af1ce6c | ||
|
|
7b54a2a1ee | ||
|
|
aa82efd4f1 | ||
|
|
6343f32d70 | ||
|
|
b86a021042 | ||
|
|
7af8a4cf14 | ||
|
|
38a480ac14 | ||
|
|
3b84eb635c | ||
|
|
6287a782a1 | ||
|
|
e468436b0c | ||
|
|
10e1a2a593 | ||
|
|
194d1291e1 | ||
|
|
085dc76e41 | ||
|
|
b0b9180943 | ||
|
|
af6f2b2107 | ||
|
|
887afa9389 | ||
|
|
d84ffa50c3 | ||
|
|
eda493e525 | ||
|
|
712b2715d4 | ||
|
|
d8c4d8c1aa | ||
|
|
5d1aff157e | ||
|
|
73220b5116 | ||
|
|
d58960d723 | ||
|
|
bcc1db12e5 | ||
|
|
533951afea | ||
|
|
93023c5bfc | ||
|
|
9319e07db5 | ||
|
|
9b18fb2b71 | ||
|
|
cae8a18437 | ||
|
|
374989a2ad | ||
|
|
fc6672adda | ||
|
|
0b17b52c9a | ||
|
|
9d13234e23 | ||
|
|
815f67467a | ||
|
|
bebc414136 | ||
|
|
d91e5d894f | ||
|
|
d13fca251e | ||
|
|
e632ca4418 | ||
|
|
a987c3ed39 | ||
|
|
382a99ad61 | ||
|
|
50bde1a607 | ||
|
|
080d137af8 | ||
|
|
02f6bfd578 | ||
|
|
77aa540dc3 | ||
|
|
1793e36127 | ||
|
|
979ad972fe | ||
|
|
ee7e632b94 | ||
|
|
075542e4a5 | ||
|
|
c1902e4396 | ||
|
|
aaac697a98 | ||
|
|
ac9e11d732 | ||
|
|
f36ecc470b | ||
|
|
bd14657055 | ||
|
|
6892a00b86 | ||
|
|
620a4eb409 | ||
|
|
ad7a1ec89f | ||
|
|
ca1eaa5e15 | ||
|
|
431357f623 | ||
|
|
7eb037b3f4 | ||
|
|
c619f05f94 | ||
|
|
550ddc0109 | ||
|
|
eaae568c7c | ||
|
|
d932c3ab99 | ||
|
|
803a33efde | ||
|
|
227863faf7 | ||
|
|
0e1582702a | ||
|
|
42b9f22a81 | ||
|
|
7e971550de | ||
|
|
6cf0ef080b | ||
|
|
c796acf791 | ||
|
|
27bf05f2fe | ||
|
|
c62c604418 | ||
|
|
fc9bc2976f | ||
|
|
058b0e41d2 | ||
|
|
0a3404fa55 | ||
|
|
ac09caefac | ||
|
|
ed6355fe86 | ||
|
|
471276716b | ||
|
|
b754f9f908 | ||
|
|
cde17925fc | ||
|
|
05ab06e3a5 | ||
|
|
f1e70829af | ||
|
|
f500d78487 | ||
|
|
ed48c4a0c5 | ||
|
|
1ff189c63a | ||
|
|
2583e9d888 | ||
|
|
d280fa9fbd | ||
|
|
807fa609f9 | ||
|
|
ad3cba929e | ||
|
|
3288353be0 | ||
|
|
6eb46c935e | ||
|
|
58388419fb | ||
|
|
4ae43c5f2a | ||
|
|
74f5dc0a76 | ||
|
|
f4dce731e9 | ||
|
|
aedb59f854 | ||
|
|
3a03bb8dd7 | ||
|
|
e232cd812a | ||
|
|
ebc00f3d7c | ||
|
|
32bc20d8ce | ||
|
|
82ac1bdfe0 | ||
|
|
56f5ce6ee1 | ||
|
|
4803600734 | ||
|
|
76cc3e79b9 | ||
|
|
14e775cbcf | ||
|
|
005db434f8 | ||
|
|
d4535c6164 | ||
|
|
dd3aeb45ea | ||
|
|
e4ec248eb6 | ||
|
|
cb8e9d3018 | ||
|
|
50200326a9 | ||
|
|
40c1597c67 | ||
|
|
d34705860a | ||
|
|
fb95d0ef58 | ||
|
|
0838202892 | ||
|
|
7f2e06d4e2 | ||
|
|
824067e238 | ||
|
|
084329f9f1 | ||
|
|
e1548cc974 | ||
|
|
8241b2ba3e | ||
|
|
e5e4ab4e05 | ||
|
|
a26101d6b9 | ||
|
|
24b8baf8cc | ||
|
|
5a6ca707e0 | ||
|
|
c9d4cd2e14 | ||
|
|
f96f47e463 | ||
|
|
037063f24e | ||
|
|
ca9d0abe4b | ||
|
|
a2a074fb4f | ||
|
|
07fa36aa58 | ||
|
|
774157f9b6 | ||
|
|
9df3f7b50e | ||
|
|
2c5025644c | ||
|
|
7b7e61485e | ||
|
|
0363dddbcc | ||
|
|
356f224a25 | ||
|
|
fbf5d5287f | ||
|
|
1557bf8882 | ||
|
|
8485fd591b | ||
|
|
f834ff6ec5 | ||
|
|
7fccfa0651 | ||
|
|
ff6b52edc6 | ||
|
|
7532d4d333 | ||
|
|
40c0c8ef6a | ||
|
|
3eefc81d9d | ||
|
|
da80f7cbda | ||
|
|
e75e65b2c1 | ||
|
|
0a10c8f3bf | ||
|
|
e6a6c8342f | ||
|
|
dd764a09a8 | ||
|
|
caf35bcdf4 | ||
|
|
d898ba9333 | ||
|
|
da1c07ff99 | ||
|
|
0a12d1507e | ||
|
|
1acd6e4c1c | ||
|
|
7414737cbf | ||
|
|
bb16af3731 | ||
|
|
239e679fee | ||
|
|
3767a9fd27 | ||
|
|
ff1f64d9bc | ||
|
|
aa5b7e7595 | ||
|
|
3b82059bdb | ||
|
|
520fc23371 | ||
|
|
62a144c730 | ||
|
|
f4e5fb446d | ||
|
|
9e13f671ee | ||
|
|
438d49be85 | ||
|
|
e883bbf10b | ||
|
|
19d1afdce0 | ||
|
|
8345237dcc | ||
|
|
50f6f2d3ec | ||
|
|
4b3684bc5d | ||
|
|
df3a3c77eb | ||
|
|
a3073c44e2 | ||
|
|
489550fd7a | ||
|
|
7d679eb480 | ||
|
|
23cbd581db | ||
|
|
0466c7144c | ||
|
|
d2a2631a70 | ||
|
|
1c3e14919f | ||
|
|
0ee8c7d70f | ||
|
|
c55a601db9 | ||
|
|
71b5e0a296 | ||
|
|
a4844f7b77 | ||
|
|
f4cb062380 | ||
|
|
81b3c69465 | ||
|
|
a36d1f6219 | ||
|
|
d7029dcfc6 | ||
|
|
24b71a400f | ||
|
|
7cc14baae3 | ||
|
|
9c01c87bbf | ||
|
|
941e4d7c1f | ||
|
|
d96633f3f7 | ||
|
|
05acddcc64 | ||
|
|
5c05d3d7ea | ||
|
|
7af7ecd82a | ||
|
|
522815d266 | ||
|
|
90db2b4c5c | ||
|
|
8dd918f2a4 | ||
|
|
b1df44cf05 | ||
|
|
bb5f20e3de | ||
|
|
9d662bf059 | ||
|
|
379ba33bb9 | ||
|
|
a39ebae0cd | ||
|
|
cbb60e3c3a | ||
|
|
6020809462 | ||
|
|
4196912966 | ||
|
|
8c4154bc1a | ||
|
|
a391bbd67b | ||
|
|
576df1f6e3 | ||
|
|
4ba98c997a | ||
|
|
9726481fb4 | ||
|
|
2c7bbc6ade | ||
|
|
faf3f96322 | ||
|
|
08363f28dd | ||
|
|
2aaae7c6a1 | ||
|
|
41f08e4e29 | ||
|
|
0ea6ad0669 | ||
|
|
cdeb3c211b | ||
|
|
ea028c7531 | ||
|
|
8d3ba87c63 | ||
|
|
448261394f | ||
|
|
8334bf9477 | ||
|
|
178c417fb0 | ||
|
|
a9e7aec5b6 | ||
|
|
a68d836beb | ||
|
|
1e75b7bd12 | ||
|
|
dd8d2c8557 | ||
|
|
aede6f9ce5 | ||
|
|
376a92f554 | ||
|
|
cb37198a9d | ||
|
|
3689eb508e | ||
|
|
af95fb0828 | ||
|
|
bdca70b330 | ||
|
|
bd2abb0127 | ||
|
|
d805f99534 | ||
|
|
11c6e387d5 | ||
|
|
3b950094af | ||
|
|
dd8e37a6ce | ||
|
|
62a9e3921d | ||
|
|
bdf39c1e89 | ||
|
|
784ecb94ea | ||
|
|
23ab85e253 | ||
|
|
bb9702910b | ||
|
|
284b86ebb6 | ||
|
|
3d4ea71dcf | ||
|
|
b66f313c2d | ||
|
|
7e86b41f92 | ||
|
|
fedca3167d | ||
|
|
6a5982f3ce | ||
|
|
4472c37884 | ||
|
|
66f2739be7 | ||
|
|
8dc9a0773c | ||
|
|
72493e6af3 | ||
|
|
a26c5eb56e | ||
|
|
14ee13bdd4 | ||
|
|
3b22dcadc9 | ||
|
|
b19845bf93 | ||
|
|
f2d81ff542 | ||
|
|
966f10bcb7 | ||
|
|
8ba0e7ce0e | ||
|
|
d9522261b1 | ||
|
|
83262afda1 | ||
|
|
142e96b246 | ||
|
|
2f68092740 | ||
|
|
c115738535 | ||
|
|
9b2283972c | ||
|
|
5537d59fb8 | ||
|
|
18bcf2d588 | ||
|
|
ebcf14df06 | ||
|
|
9a801b4b93 | ||
|
|
6b7df9ca08 | ||
|
|
5cc5d2e811 | ||
|
|
a4edb0080b | ||
|
|
fc9017cfb1 | ||
|
|
30a0f3c9ed | ||
|
|
d0b8e17873 | ||
|
|
b8ab6e4083 | ||
|
|
09c6e0cb5c | ||
|
|
6e0e01225e | ||
|
|
268c8d608c | ||
|
|
fbcddff6ea | ||
|
|
08b61eb50b | ||
|
|
45ef6ac56d | ||
|
|
a68c3140af | ||
|
|
91943ba7e3 | ||
|
|
403fdb31a1 | ||
|
|
20b05ae595 | ||
|
|
5167e93d12 | ||
|
|
5d88504c34 | ||
|
|
3315768b27 | ||
|
|
b5dcfc6f9e | ||
|
|
1ca08ccf95 | ||
|
|
fc7a136c70 | ||
|
|
e24e5916e0 | ||
|
|
4afd2513fa | ||
|
|
7cdedbea1f | ||
|
|
38bc5d07f0 | ||
|
|
3a53f4002a | ||
|
|
1e6c811768 | ||
|
|
95f859673e | ||
|
|
682acc11ec | ||
|
|
ec8d48f4fd | ||
|
|
4f3fcac2bf | ||
|
|
430f9c01d7 | ||
|
|
184d6be98d | ||
|
|
2a50159978 | ||
|
|
5a6f202cf1 | ||
|
|
e97140cbde | ||
|
|
ecb4f0e9da | ||
|
|
57b594041a | ||
|
|
2df2f882e0 | ||
|
|
da254a80cf | ||
|
|
4ad45b2d4a | ||
|
|
a9293285a0 | ||
|
|
b4b58380b6 | ||
|
|
48f79dbfca | ||
|
|
5c82c144cf | ||
|
|
849101950f | ||
|
|
210acf68c1 | ||
|
|
6bbb9832e9 | ||
|
|
1bc92ed3e3 | ||
|
|
6496383e82 | ||
|
|
14776d86f5 | ||
|
|
1de0c30bb0 | ||
|
|
b296803e01 | ||
|
|
68b893fa02 | ||
|
|
05792809b5 | ||
|
|
068cce353a | ||
|
|
82f2fc67c2 | ||
|
|
b77c4682d1 | ||
|
|
42b3edff64 | ||
|
|
83c0f8a16e | ||
|
|
af9fa15636 | ||
|
|
061590665e | ||
|
|
49ed3db352 | ||
|
|
32330f99fc | ||
|
|
a2c3fb3d5e | ||
|
|
069d820d39 | ||
|
|
1700b75cfe | ||
|
|
64d06f5650 | ||
|
|
97533145a7 | ||
|
|
8c6758720d | ||
|
|
d0718df82b | ||
|
|
f81cc81e20 | ||
|
|
79023eb5c6 | ||
|
|
35f7526c2a | ||
|
|
f8eede78ca | ||
|
|
a38186857d | ||
|
|
66ae8bdd5c | ||
|
|
d108091511 | ||
|
|
29a05978ec | ||
|
|
7e4d50b406 | ||
|
|
90419a4f2d | ||
|
|
8cc96d9b89 | ||
|
|
dc7a4df39a | ||
|
|
a1bc11ec09 | ||
|
|
711962da84 | ||
|
|
c5f7eeaacb | ||
|
|
670cd21685 | ||
|
|
9ba07d3883 | ||
|
|
713e264061 | ||
|
|
21f18a75bb | ||
|
|
3e610ec5ba | ||
|
|
e8288eec6a | ||
|
|
936ae3b171 | ||
|
|
834d30f85f | ||
|
|
231c17f6a9 | ||
|
|
acf2ad2f0c | ||
|
|
59f82f204f | ||
|
|
02cfc40e94 | ||
|
|
b9338a639e | ||
|
|
205444f670 | ||
|
|
480347296b | ||
|
|
7b53486821 | ||
|
|
49c2be40ab | ||
|
|
a65603e10c | ||
|
|
7393d31208 | ||
|
|
c82164c522 | ||
|
|
e30e2ef2c3 | ||
|
|
9347a78482 | ||
|
|
25c7e40574 | ||
|
|
739d8f329a | ||
|
|
2449f5b99e | ||
|
|
b3e323462c | ||
|
|
bf9bd267fd | ||
|
|
8685c7a604 | ||
|
|
62cca045be | ||
|
|
bd119bccf4 | ||
|
|
8920db694c | ||
|
|
d51ad7718c | ||
|
|
e66c854be5 | ||
|
|
cd8bef964a | ||
|
|
4d5e01abef | ||
|
|
7b44980912 | ||
|
|
7c22135bb4 | ||
|
|
21691c5cc1 | ||
|
|
533bdd398a | ||
|
|
98b54e6682 | ||
|
|
5eba762a20 | ||
|
|
27682cb666 | ||
|
|
67873f39dc | ||
|
|
7aa52e5f1b | ||
|
|
c31c1b00b1 | ||
|
|
52db7df6d8 | ||
|
|
c05fa40756 | ||
|
|
5fdaf73fdf | ||
|
|
30e5fc83b2 | ||
|
|
4afd1fa91d | ||
|
|
c5722011e8 | ||
|
|
02592e1b5e | ||
|
|
ccec01b729 | ||
|
|
6c295cd314 | ||
|
|
a9274d4b52 | ||
|
|
0a7e02bf34 | ||
|
|
19bc0fb468 | ||
|
|
d8a00cf517 | ||
|
|
48fb321699 | ||
|
|
f1a9e2ae32 | ||
|
|
2c66f21cc1 | ||
|
|
dfed6af0c0 | ||
|
|
dbf4f67c55 | ||
|
|
66b54d6a27 | ||
|
|
30705d6fc9 | ||
|
|
6c74e2d19c | ||
|
|
973e2d2ef8 | ||
|
|
067ca38321 | ||
|
|
bc7380c5d7 | ||
|
|
f2535e196d | ||
|
|
ea7ef950a3 | ||
|
|
813261df07 | ||
|
|
56d216adf7 | ||
|
|
60e60427fc | ||
|
|
49d4bb4969 | ||
|
|
9eb6b7c52a | ||
|
|
3d4acf7d37 | ||
|
|
5e2f6b0f40 | ||
|
|
881da401e1 | ||
|
|
9290cc1f7a | ||
|
|
c64da3ceb4 | ||
|
|
fff75b51ce | ||
|
|
eb804c2a4a | ||
|
|
cb87509e4f | ||
|
|
8d74c3f22a | ||
|
|
22946700dd | ||
|
|
32d5a0bab2 | ||
|
|
f415fa1a7e | ||
|
|
66e01991d6 | ||
|
|
09b5d2252c | ||
|
|
4a917c95ab | ||
|
|
65e1f16163 | ||
|
|
226d2bb964 | ||
|
|
aa5e5178d3 | ||
|
|
43f12ffdd4 | ||
|
|
14a55133af | ||
|
|
fa0911dbdf | ||
|
|
a5fa5d0451 | ||
|
|
59a29d5288 | ||
|
|
67e9787ba1 | ||
|
|
4486592f04 | ||
|
|
2ae9a4bdbb | ||
|
|
7dceb629ca | ||
|
|
0aed074796 | ||
|
|
a9ed6fe46a | ||
|
|
1d68579b57 | ||
|
|
f66274fd9d | ||
|
|
0a001f98e3 | ||
|
|
0531276b9b | ||
|
|
2be5474f3a | ||
|
|
bddfb2a5c6 | ||
|
|
dc0000059b | ||
|
|
72753a9ccb | ||
|
|
b193d87499 | ||
|
|
d9ce4ff634 | ||
|
|
01ee181607 | ||
|
|
2c4af8f136 | ||
|
|
ff8b5aca75 | ||
|
|
188315735b | ||
|
|
3b79be04bc | ||
|
|
a47b1a28f4 | ||
|
|
a2fcaa15c9 | ||
|
|
35842af019 | ||
|
|
7271472e13 | ||
|
|
64fd94e51e | ||
|
|
ce6abe0247 | ||
|
|
c3477ace9b | ||
|
|
ef7605f9ec | ||
|
|
58e9f66d64 | ||
|
|
7624683710 | ||
|
|
b5946c91ed | ||
|
|
246708e222 | ||
|
|
3180bc7104 | ||
|
|
d12f0365d5 | ||
|
|
01d2ef84ba | ||
|
|
80e56eb190 | ||
|
|
2b64d78163 | ||
|
|
169b9b9898 | ||
|
|
0da6739f94 | ||
|
|
bcbeca4b8a | ||
|
|
9e62304852 | ||
|
|
da6d0ba7bf | ||
|
|
ec56ea3ebe | ||
|
|
624f2f66cf | ||
|
|
b0c3c3dddc | ||
|
|
8eb2155eac | ||
|
|
0a41b86e47 | ||
|
|
7c808ab4b4 | ||
|
|
d260f6506f | ||
|
|
8ecc0e11a7 | ||
|
|
feaeee0379 | ||
|
|
de3740fa70 | ||
|
|
fe1f620731 | ||
|
|
63329e7199 | ||
|
|
e79cc6cd2d | ||
|
|
6376c49441 | ||
|
|
aafd31b552 | ||
|
|
2520093b3e | ||
|
|
3d569b23d6 | ||
|
|
4ab4998bf7 | ||
|
|
60c53b0ec1 | ||
|
|
852f6049bd | ||
|
|
1daaad422b | ||
|
|
f5d8cce4a2 | ||
|
|
9d48d04f0f | ||
|
|
d91a9504aa | ||
|
|
19234d6565 | ||
|
|
affe47a11c | ||
|
|
899c575ae8 | ||
|
|
b76cdc2227 | ||
|
|
a27b479f06 | ||
|
|
533228ff5e | ||
|
|
7dd276631a | ||
|
|
e3f3b6d751 | ||
|
|
77cb794e4d | ||
|
|
45f898870f | ||
|
|
5ae74f4017 | ||
|
|
2c4ef9dbb3 | ||
|
|
2bbc1013be | ||
|
|
4b49e456dd | ||
|
|
e2e09200c4 | ||
|
|
28d7c5d44a | ||
|
|
85f9247fd7 | ||
|
|
f8fbda97cd | ||
|
|
86ac98b9f9 | ||
|
|
35c85c6d1d | ||
|
|
02bc00bfa5 | ||
|
|
19184518e9 | ||
|
|
85c5449ba8 | ||
|
|
957f04912f | ||
|
|
e5f7042d00 | ||
|
|
1596475db2 | ||
|
|
42f5cc382d | ||
|
|
5479bdd85c | ||
|
|
b4f266457f | ||
|
|
77bdcfa7a4 | ||
|
|
235b7348ae | ||
|
|
cf669f3cfa | ||
|
|
e1b09f2694 | ||
|
|
88dd64e795 | ||
|
|
f077030dfc | ||
|
|
836acbf02b | ||
|
|
3101104738 | ||
|
|
391513d378 | ||
|
|
6bed403412 | ||
|
|
bc91804996 | ||
|
|
a754f1303f | ||
|
|
65f3c12d2d | ||
|
|
879cf1b53c | ||
|
|
105e4c0555 | ||
|
|
f7888757aa | ||
|
|
1a0ca9edbe | ||
|
|
a49d558aaf | ||
|
|
502f135b15 | ||
|
|
e263db90ce | ||
|
|
7bd53903a4 | ||
|
|
8d63ce3ce5 | ||
|
|
bf77f42674 | ||
|
|
7424cf2834 | ||
|
|
b6a3161280 | ||
|
|
daba92b992 | ||
|
|
5503f90473 | ||
|
|
d5a3851eef | ||
|
|
8c6d37d9bd | ||
|
|
e6498b6864 | ||
|
|
4b31061037 | ||
|
|
6e8e7a63cc | ||
|
|
53db149b12 | ||
|
|
d455d03608 | ||
|
|
3959b67cc0 | ||
|
|
04bc23abe9 | ||
|
|
a60dc95fed | ||
|
|
607be461e0 | ||
|
|
4dd6308db9 | ||
|
|
289730a3e3 | ||
|
|
1d34d5f6a5 | ||
|
|
64e1ab481b | ||
|
|
c92b3debb7 | ||
|
|
68c41e2915 | ||
|
|
31929c7004 | ||
|
|
937419bfcd | ||
|
|
9b3ff8f1b8 | ||
|
|
a44d86f285 | ||
|
|
400bd86749 | ||
|
|
31ec8830f4 | ||
|
|
2a3eb7b70c | ||
|
|
e183e2ff04 | ||
|
|
7598312969 | ||
|
|
e62f79d9ae | ||
|
|
662849c0c2 | ||
|
|
10251e460b | ||
|
|
6f9d69f9f3 | ||
|
|
091b42d317 | ||
|
|
463ac0c07e | ||
|
|
836178a0da | ||
|
|
1d9b550e35 | ||
|
|
93d4e345b8 | ||
|
|
a7cda7011b | ||
|
|
763af17e71 | ||
|
|
83df1159c0 | ||
|
|
a7c5b9f568 | ||
|
|
0da88fc74b | ||
|
|
b82b313e32 | ||
|
|
36d8c5517f | ||
|
|
b08573831e | ||
|
|
41e3b01285 | ||
|
|
cdfb337bae | ||
|
|
31ecaacbc8 | ||
|
|
5bcb104a01 | ||
|
|
6c75201b2e | ||
|
|
54491a9eaf | ||
|
|
c11262082e | ||
|
|
8c106ce8c4 | ||
|
|
b4f5e78a77 | ||
|
|
8735fe14a8 | ||
|
|
01c501b172 | ||
|
|
1f12bab923 | ||
|
|
810495264f | ||
|
|
754035c722 | ||
|
|
fbdda1b3a5 | ||
|
|
a992d8685f | ||
|
|
763f5de904 | ||
|
|
4b99a39779 | ||
|
|
5e19fd0122 | ||
|
|
823a1f0fc4 | ||
|
|
f3722ebc4f | ||
|
|
fbeea9159e | ||
|
|
0f67dc168b | ||
|
|
5cd86aa5bc | ||
|
|
8cb55983bb | ||
|
|
ffcfc060e9 | ||
|
|
6313ff19b3 | ||
|
|
61bd8aa154 | ||
|
|
637578375c | ||
|
|
18bcdd09d3 | ||
|
|
cc5ef89139 | ||
|
|
1a9506f832 | ||
|
|
e7d06ee132 | ||
|
|
7647f848e4 | ||
|
|
eec820774b | ||
|
|
8cbdaffedb | ||
|
|
e6267d9411 | ||
|
|
8f34e2abdb | ||
|
|
d3f0e00356 | ||
|
|
7c2725acdc | ||
|
|
f47c9186bf | ||
|
|
c9b77cbe94 | ||
|
|
725230dc81 | ||
|
|
73102f1362 | ||
|
|
ca1a5d33f4 | ||
|
|
3bf023e4df | ||
|
|
c556613b9f | ||
|
|
6c07b7378c | ||
|
|
4520fdd58b | ||
|
|
1ac62fce01 | ||
|
|
c2d301bf52 | ||
|
|
8658be3b05 | ||
|
|
2a8b8e93da | ||
|
|
ac6785eb1a | ||
|
|
848b14605e | ||
|
|
2a0048afbb | ||
|
|
cc943cea4a | ||
|
|
2f3623d430 | ||
|
|
fe44a5ba69 | ||
|
|
d3a0b9d877 | ||
|
|
25efa5437b | ||
|
|
67b40a8442 | ||
|
|
bcac44bcb4 | ||
|
|
58cb9e1c22 | ||
|
|
ce99b5f688 | ||
|
|
ce76c278ed | ||
|
|
bb5dbecbf2 | ||
|
|
eed46994da | ||
|
|
a5df53249a | ||
|
|
331cef16ef | ||
|
|
e79c695732 | ||
|
|
b4d7e42973 | ||
|
|
71183f6c19 | ||
|
|
0b5b585992 | ||
|
|
7492d48029 | ||
|
|
b4903b763e | ||
|
|
3d76ab1832 | ||
|
|
48cbf0d9b0 | ||
|
|
6b9ae264ff | ||
|
|
e90e608fdd | ||
|
|
6fe350fa52 | ||
|
|
c426f998e2 | ||
|
|
2187cef14f | ||
|
|
6b5cf3396d | ||
|
|
4f59a48f57 | ||
|
|
d48d3c9c2f | ||
|
|
4579886bb5 | ||
|
|
bd979da949 | ||
|
|
d5e340354e | ||
|
|
19bbf5ac8f | ||
|
|
b8deea5c76 | ||
|
|
88223fc058 | ||
|
|
09e43f3e41 | ||
|
|
751bc317ea | ||
|
|
60f196ff93 | ||
|
|
294fc48bd1 | ||
|
|
d3d07f7f11 | ||
|
|
ca272bb36a | ||
|
|
cd41089e49 | ||
|
|
b1cf5b9c40 | ||
|
|
c37cfdfa2f | ||
|
|
84bc2e78bc | ||
|
|
0676d7e2dc | ||
|
|
dd8dac0574 | ||
|
|
d6d1cc5f45 | ||
|
|
f016160c62 | ||
|
|
7119e0d95f | ||
|
|
ffb902ba06 | ||
|
|
dc14453f34 | ||
|
|
f83e772030 | ||
|
|
0c1dd44cd6 | ||
|
|
5b2be2d190 | ||
|
|
9d28aa9521 | ||
|
|
8298a93dcc | ||
|
|
a78731c8cd | ||
|
|
15492028fc | ||
|
|
db5a4f84f6 | ||
|
|
4b75ec5b55 | ||
|
|
1daae0135d | ||
|
|
dd511df194 | ||
|
|
e43e4e2ee0 | ||
|
|
b67bae31ba | ||
|
|
5cb85472c6 | ||
|
|
1c865ebeb9 | ||
|
|
a18bdcf7cd | ||
|
|
0a36baa7d7 | ||
|
|
47958f708f | ||
|
|
d030850638 | ||
|
|
9360378ae9 | ||
|
|
a3268dd403 | ||
|
|
b34e38df57 | ||
|
|
5188750332 | ||
|
|
7275cdd3d9 | ||
|
|
f6c201f02f | ||
|
|
1ec51cec18 | ||
|
|
2531271fe2 | ||
|
|
9055019cc2 | ||
|
|
9829bec390 | ||
|
|
183c47f810 | ||
|
|
129c09c5a7 | ||
|
|
c8384bf304 | ||
|
|
5e1caf3746 | ||
|
|
532b409a54 | ||
|
|
7dd4645a7b | ||
|
|
0bf1379cc5 | ||
|
|
6f98e1fddb | ||
|
|
d3f6616d5d | ||
|
|
8cdf914f5d | ||
|
|
6c6292135f | ||
|
|
75c4135d6e | ||
|
|
5927f2fa30 | ||
|
|
bd13457f33 | ||
|
|
8de9843e7e | ||
|
|
a73fb338f1 | ||
|
|
ae8751461a | ||
|
|
9c0c7b060c | ||
|
|
da5140e615 | ||
|
|
fa32d4e3f4 | ||
|
|
52541df3f9 | ||
|
|
39d75ee7d5 | ||
|
|
246a8409bf | ||
|
|
c554bf9edd | ||
|
|
ef522ba292 | ||
|
|
3602fb76c5 | ||
|
|
8dfc405c3e | ||
|
|
567f4e5c3d | ||
|
|
57b1820fd7 | ||
|
|
6a54c71c94 | ||
|
|
2b244f0628 | ||
|
|
be23d00042 | ||
|
|
d9a2597617 | ||
|
|
33e5cad75a | ||
|
|
8c9a89bcd2 | ||
|
|
0c93d20980 | ||
|
|
93a0040b68 | ||
|
|
e4a4f0eb4a | ||
|
|
78137540f2 | ||
|
|
76babd951d | ||
|
|
a66bd5e847 | ||
|
|
dcd3bc10e1 | ||
|
|
08f5841522 | ||
|
|
7a55a2e6ce | ||
|
|
ac79938c20 | ||
|
|
1da24fbeaa | ||
|
|
a20b39325e | ||
|
|
f7a4951e0d | ||
|
|
9abfc5b250 | ||
|
|
a41c950b11 | ||
|
|
718bf57b5d | ||
|
|
11e3a66484 | ||
|
|
9a322ed67f | ||
|
|
4e1573cb39 | ||
|
|
28e36c7edc | ||
|
|
bbdf710b52 | ||
|
|
3634f457b4 | ||
|
|
a956f0a5d7 | ||
|
|
265f9f295e | ||
|
|
6888c6ef60 | ||
|
|
50b84c3e91 | ||
|
|
9152d322ac | ||
|
|
18091c5ad6 | ||
|
|
4a58e339cb | ||
|
|
31dd1be090 | ||
|
|
3cc97accfc | ||
|
|
555717b9a0 | ||
|
|
cf58aa780a | ||
|
|
935777fb49 | ||
|
|
0dbea0ed01 | ||
|
|
84425d7786 | ||
|
|
3920a93cba | ||
|
|
4735a6c49a | ||
|
|
a8549ef882 | ||
|
|
0df1255ae5 | ||
|
|
f6d87c7a7e | ||
|
|
1f59b4d2ba | ||
|
|
1df173d684 | ||
|
|
b2f78786a5 | ||
|
|
314b6138d7 | ||
|
|
1bc3c293fa | ||
|
|
bbf0666539 | ||
|
|
2ed60de628 | ||
|
|
76546ec176 | ||
|
|
0a9a1db942 | ||
|
|
d589823f4a | ||
|
|
33decd1780 | ||
|
|
6269076c7e | ||
|
|
506a98aee2 | ||
|
|
8d1e4297ec | ||
|
|
8678121210 | ||
|
|
24d801d18a | ||
|
|
2e647c6b41 | ||
|
|
a47b2bc715 | ||
|
|
e1a3a9e077 | ||
|
|
3488a761b8 | ||
|
|
822ddc2182 | ||
|
|
f5f1f11f61 | ||
|
|
864785752f | ||
|
|
60e534f59b | ||
|
|
c0f76bef1b | ||
|
|
920e765790 | ||
|
|
cc99279ad1 | ||
|
|
48dd049cbd | ||
|
|
09c830c6ae | ||
|
|
39a896e59e | ||
|
|
ca6c647bd2 | ||
|
|
d2dc62f0b3 | ||
|
|
4983110d50 | ||
|
|
00bf1d31a2 | ||
|
|
2092a0d090 | ||
|
|
d3e70b7f7f | ||
|
|
d86168cb41 | ||
|
|
5a096768e0 | ||
|
|
c2f97356c6 | ||
|
|
b5cfbbcdec | ||
|
|
6326902287 | ||
|
|
a9af9cabb4 | ||
|
|
546aa58482 | ||
|
|
be79c586da | ||
|
|
819377b0bb | ||
|
|
b37965de3d | ||
|
|
d7391611dd | ||
|
|
fa1a1eb939 | ||
|
|
5a33e66c2c | ||
|
|
3bc25d44ee | ||
|
|
ba7e36c719 | ||
|
|
e6e0eefaa4 | ||
|
|
a750999e0e | ||
|
|
40a6b11a1b | ||
|
|
471757d6c6 | ||
|
|
2373eda462 | ||
|
|
a0a18e1036 | ||
|
|
04ed96d121 | ||
|
|
05758245a1 | ||
|
|
a28e40ea35 | ||
|
|
14bfa24195 | ||
|
|
8a261b26e8 | ||
|
|
a2c347a79c | ||
|
|
415bc22dd9 | ||
|
|
6edd159626 | ||
|
|
1a1518ac1d | ||
|
|
508dec4858 | ||
|
|
80b88bf047 | ||
|
|
249e331ae9 | ||
|
|
47ba11be1b | ||
|
|
163870afd9 | ||
|
|
117d29ae72 | ||
|
|
8dc5b07818 | ||
|
|
acb77213e1 | ||
|
|
e68358661a | ||
|
|
d9789504ff | ||
|
|
98101ea411 | ||
|
|
f33a6a68e4 | ||
|
|
03fefc279b | ||
|
|
e85be7cccb | ||
|
|
b8f2a1da1a | ||
|
|
b1ce567819 | ||
|
|
68db1d4c13 | ||
|
|
5796e025e6 | ||
|
|
8819ec0575 | ||
|
|
a24c679510 | ||
|
|
c2b4ccdc77 | ||
|
|
8d07a697d3 | ||
|
|
459c4aebb9 | ||
|
|
010fd165c6 | ||
|
|
27f0e86afd | ||
|
|
a436eb8aa6 | ||
|
|
3f5099bd05 | ||
|
|
2625bbc7fd | ||
|
|
0f18463df0 | ||
|
|
6b8428e262 | ||
|
|
a8a24bf0d9 | ||
|
|
c30a86e52a | ||
|
|
591f9a19e5 | ||
|
|
c62547d401 | ||
|
|
16f62bbcfe | ||
|
|
412d0e7be9 | ||
|
|
98c9aaf600 | ||
|
|
f5c8968aa6 | ||
|
|
149cbae4dc | ||
|
|
b689fe1d98 | ||
|
|
a6c1bc1d4a | ||
|
|
ab6dc2d11f | ||
|
|
ced1475233 | ||
|
|
1391f20658 | ||
|
|
b1439274c6 | ||
|
|
6422f11971 | ||
|
|
8e7432e71c | ||
|
|
5dc6dbf216 | ||
|
|
6cb1fd76cc | ||
|
|
934a0f6495 | ||
|
|
266127bb69 | ||
|
|
acecd6d522 | ||
|
|
2cdcae8d31 | ||
|
|
cb2212d2f3 | ||
|
|
9fd527f465 | ||
|
|
828b3204b8 | ||
|
|
8fdfdc2b25 | ||
|
|
bfae766f8a | ||
|
|
569dd0c585 | ||
|
|
211c27aaae | ||
|
|
e2608a0ac9 | ||
|
|
7625812c8c | ||
|
|
beb35c5c35 | ||
|
|
14eb3e51b0 | ||
|
|
d62da02bae | ||
|
|
61dbd349ab | ||
|
|
f102e988c9 | ||
|
|
78df634fed | ||
|
|
e6e677e7d0 | ||
|
|
edca36fa73 | ||
|
|
758f4ef920 | ||
|
|
30ee7fb170 | ||
|
|
8010f2fcc1 | ||
|
|
d98eb06f69 | ||
|
|
7f88f59272 | ||
|
|
f6127e1747 | ||
|
|
9ecc9ab7ad | ||
|
|
17d12fbaf2 | ||
|
|
068ba7bc6f | ||
|
|
713f7eff7a | ||
|
|
74181469bc | ||
|
|
b396b11611 | ||
|
|
8503687136 | ||
|
|
f0051ee81f | ||
|
|
31222a5ab6 | ||
|
|
752e5a7a8f | ||
|
|
2ecb54c4f7 | ||
|
|
7ae912114b | ||
|
|
e33d834cc9 | ||
|
|
9c0a450a47 | ||
|
|
debae00246 | ||
|
|
a1949bc020 | ||
|
|
968abf9d54 | ||
|
|
9053280e14 | ||
|
|
6d2e88eeee | ||
|
|
f1ddd236ce | ||
|
|
be5a0b3dc5 | ||
|
|
614b002d8b | ||
|
|
a494471ed4 | ||
|
|
31ff64b537 | ||
|
|
ba75ae4ccc | ||
|
|
fd28bf8619 | ||
|
|
ae6af18f0d | ||
|
|
b47dc73d30 | ||
|
|
1696fd1103 | ||
|
|
b5c63c4d58 | ||
|
|
330019bb3d | ||
|
|
4bbf9e2ea6 | ||
|
|
6e6f6313a8 | ||
|
|
af19e3bc62 | ||
|
|
40e4fb9b8e | ||
|
|
62c7209558 | ||
|
|
f897f03227 | ||
|
|
38210ae11e | ||
|
|
0ccf0730ea | ||
|
|
abc82c1439 | ||
|
|
e9239be691 | ||
|
|
8452b63d19 | ||
|
|
6f77703e29 | ||
|
|
2b01ba43cb | ||
|
|
eceaa0ae4f | ||
|
|
ae9eb15d5c | ||
|
|
2793e1ec53 | ||
|
|
ec27028f1b | ||
|
|
ba60ae09d5 | ||
|
|
aa0f41ac17 | ||
|
|
4a7876f203 | ||
|
|
101ad99c14 | ||
|
|
0d3ba7541e | ||
|
|
c8718ad643 | ||
|
|
da868347cf | ||
|
|
f4fab86767 | ||
|
|
517addb9f9 | ||
|
|
8c1ef7d6af | ||
|
|
c87245320d | ||
|
|
983c9dad99 | ||
|
|
f299be0eb9 | ||
|
|
a01f45cc7a | ||
|
|
3b1ac4e81f | ||
|
|
bebdec9ebb | ||
|
|
3a91f87679 | ||
|
|
be49fd6a40 | ||
|
|
c88ba97531 | ||
|
|
aa726f723b | ||
|
|
f8651b63c8 | ||
|
|
c020d71327 | ||
|
|
527d5541d7 | ||
|
|
57df1bb7c4 | ||
|
|
5ad9ff7333 | ||
|
|
7d7e3fad1e | ||
|
|
e8eb7a33f0 | ||
|
|
8da618a4f2 | ||
|
|
1c3d8c214c | ||
|
|
bbde86cfb8 | ||
|
|
5e36722047 | ||
|
|
ee35fe1cad | ||
|
|
a83fd1d597 | ||
|
|
4dbbb4d676 | ||
|
|
6c8e2b48e3 | ||
|
|
55892061f5 | ||
|
|
ae8ea820ef | ||
|
|
d06a0e4f40 | ||
|
|
9bfb565354 | ||
|
|
132a8f9f0c | ||
|
|
75b9fd5cb4 | ||
|
|
774e614f7b | ||
|
|
9e43956e1b | ||
|
|
9d16b50075 | ||
|
|
04b8949178 | ||
|
|
b69163b57d | ||
|
|
006624f568 | ||
|
|
4acf548436 | ||
|
|
d9193fcc4f | ||
|
|
a779a4a7ea | ||
|
|
2a3d8ae156 | ||
|
|
07d4aff13b | ||
|
|
838f9331be | ||
|
|
3c3f93db3e | ||
|
|
d98231a713 | ||
|
|
a50c83c284 | ||
|
|
05f30b58c1 | ||
|
|
a932767545 | ||
|
|
c29d3bb930 | ||
|
|
b4a73cabf3 | ||
|
|
16bbedaf2b | ||
|
|
b2eb5aeb8c | ||
|
|
3dcfa5cfd8 | ||
|
|
307ffe734a | ||
|
|
ead734cbf0 | ||
|
|
46ab11961e | ||
|
|
58adbe94b9 | ||
|
|
7227c97cac | ||
|
|
4fcfb677a4 | ||
|
|
808ff02130 | ||
|
|
08a0a2de99 | ||
|
|
fd56ccaabf | ||
|
|
cebddf9c79 | ||
|
|
e9b602d85f | ||
|
|
5b2d37954c | ||
|
|
fcc13f454b | ||
|
|
15ef668fef | ||
|
|
bf145c0715 | ||
|
|
192f3d88e5 | ||
|
|
d9cf3a8c08 | ||
|
|
a41b1357b5 | ||
|
|
c3c21dae72 | ||
|
|
4daa7e2470 | ||
|
|
b301051cdd | ||
|
|
456f660878 | ||
|
|
f7ce07c68f | ||
|
|
9eb85cb6eb | ||
|
|
40fd945f70 | ||
|
|
78944f47f3 | ||
|
|
acb747bfd5 | ||
|
|
0c1055511d | ||
|
|
f0c327a024 | ||
|
|
b81159f295 | ||
|
|
ca86aa5714 | ||
|
|
fc7fa94319 | ||
|
|
c6ee8cf39d | ||
|
|
bd7bbc4e33 | ||
|
|
312a57aa50 | ||
|
|
f87ed6d5a6 | ||
|
|
4234311050 | ||
|
|
a47da57c0d | ||
|
|
13528fe7f8 | ||
|
|
99358dcbb0 | ||
|
|
16cc8f6eea | ||
|
|
a384cd70b3 | ||
|
|
0e00aa479b | ||
|
|
807bc095b4 | ||
|
|
5a81ab3c35 | ||
|
|
bad228645c | ||
|
|
e016b2106f | ||
|
|
f63f247ac5 | ||
|
|
0228af6b50 | ||
|
|
90fb40b741 | ||
|
|
367631c9aa | ||
|
|
b36d62be9b | ||
|
|
b4cc1d4358 | ||
|
|
39ad5a3596 | ||
|
|
dbad4684db | ||
|
|
12d0e9574b | ||
|
|
dd50b7bea1 | ||
|
|
4dc4049851 | ||
|
|
27a6e398ee | ||
|
|
7035b1f166 | ||
|
|
a701fddbe8 | ||
|
|
b512a664c6 | ||
|
|
5bffa3757d | ||
|
|
8b6d6e3836 | ||
|
|
37b9277c0e | ||
|
|
cf891125e6 | ||
|
|
f75ec9d484 | ||
|
|
9a1ae06033 | ||
|
|
55f456d851 | ||
|
|
c346687510 | ||
|
|
08ee3d8f69 | ||
|
|
795f633bc4 | ||
|
|
b6596a27bc | ||
|
|
b7fd2d1bf1 | ||
|
|
0f625943c0 | ||
|
|
420447e386 | ||
|
|
a79520e3ee | ||
|
|
8ae26c368e | ||
|
|
981ad6d7d2 | ||
|
|
3b5e70580e | ||
|
|
71f9ef6499 | ||
|
|
7dd54b4b34 | ||
|
|
c64ed6adc5 | ||
|
|
a82c753ac0 | ||
|
|
96b5f617f2 | ||
|
|
842734c4e4 | ||
|
|
095f4ff20a | ||
|
|
ed0b017fe1 | ||
|
|
ce9b540b97 | ||
|
|
5112ed48d1 | ||
|
|
dfa8834db8 | ||
|
|
5bc63fa910 | ||
|
|
24c945f139 | ||
|
|
2542ad9234 | ||
|
|
acb4ab44d2 | ||
|
|
16fbf27b90 | ||
|
|
3397c2487b | ||
|
|
66e8b34a54 | ||
|
|
59f9d4e5cc | ||
|
|
221dea1f1a | ||
|
|
4420aae092 | ||
|
|
ddc0957e3e | ||
|
|
2f71ef4264 | ||
|
|
bc56b749ee | ||
|
|
34c95a08a3 | ||
|
|
9ae19e173f | ||
|
|
6672aaba1b | ||
|
|
0712fc9dee | ||
|
|
07dc9005f3 | ||
|
|
274a76ab3b | ||
|
|
777993f74a | ||
|
|
d1037ae213 | ||
|
|
15e9f5f218 | ||
|
|
4aab110aaf | ||
|
|
8933ac3123 | ||
|
|
2e896b520e | ||
|
|
16d27b9657 | ||
|
|
d3e8afdda1 | ||
|
|
b86ba13376 | ||
|
|
f736576436 | ||
|
|
9d1715405f | ||
|
|
ee0d757b0e | ||
|
|
32c95fac1e | ||
|
|
df3214168c | ||
|
|
9e9261e6f8 | ||
|
|
087e94f6a1 | ||
|
|
abe0031c2b | ||
|
|
13db148a11 | ||
|
|
84c5078667 | ||
|
|
cebdc89b18 | ||
|
|
87e767d4c1 | ||
|
|
ce406674ec | ||
|
|
ac5f9a2828 | ||
|
|
6d55c44983 | ||
|
|
1557d0da1f | ||
|
|
2f785216f6 | ||
|
|
8f1730591b | ||
|
|
9ec44894d4 | ||
|
|
bb981127db | ||
|
|
a96aeed706 | ||
|
|
f14de6553a | ||
|
|
b521b3065b | ||
|
|
ea438609bf | ||
|
|
0ba51d0e51 | ||
|
|
53370e4639 | ||
|
|
c70c8ea45d | ||
|
|
937b53b355 | ||
|
|
27cd89c4ad | ||
|
|
c4dbf017a5 | ||
|
|
ec74f9aae3 | ||
|
|
cfd955a605 | ||
|
|
feed806983 | ||
|
|
c66637116b | ||
|
|
4d4c6404b1 | ||
|
|
042ddd2891 | ||
|
|
af24542856 | ||
|
|
6dc393ed23 | ||
|
|
c13eade81c | ||
|
|
eb639c3722 | ||
|
|
dc514d308c | ||
|
|
67b5cde128 | ||
|
|
ef98d19ed4 | ||
|
|
94a7b2ebf1 | ||
|
|
e0443943b5 | ||
|
|
dd78a75ca8 | ||
|
|
82712c80e1 | ||
|
|
a710bcaed4 | ||
|
|
3a7c182f83 | ||
|
|
d42778afa3 | ||
|
|
724025092a | ||
|
|
bd43f3c464 | ||
|
|
8464a938b2 | ||
|
|
b8fad45eaa | ||
|
|
b08e90ac2a | ||
|
|
13a379ef6c | ||
|
|
09e24df4bb | ||
|
|
019f2a0619 | ||
|
|
2fb874d486 | ||
|
|
85b4ceec30 | ||
|
|
b0599313bc | ||
|
|
974f48380f | ||
|
|
b3865d0a7f | ||
|
|
79c9dd3076 | ||
|
|
edb0c2e71d | ||
|
|
1c58dce3c1 | ||
|
|
445f3c0123 | ||
|
|
eb15c96403 | ||
|
|
71f411e458 | ||
|
|
856a6cd1ab | ||
|
|
99f2dbd178 | ||
|
|
0e4747bf22 | ||
|
|
81637f4572 | ||
|
|
25f086fa85 | ||
|
|
6d57a29f1d | ||
|
|
9b3f5783d5 | ||
|
|
b3492b07a1 | ||
|
|
28def22625 | ||
|
|
427fe23bdc | ||
|
|
da5c5d4b84 | ||
|
|
438cbd2238 | ||
|
|
2d59b62317 | ||
|
|
19f32b1446 | ||
|
|
9b812a4eec | ||
|
|
e383187796 | ||
|
|
6151050ad4 | ||
|
|
9a3bf35cdf | ||
|
|
6391970fad | ||
|
|
0ba0e013b5 | ||
|
|
552c898998 | ||
|
|
bc5b4d902f | ||
|
|
6a8e3f1c49 | ||
|
|
81ca9952e9 | ||
|
|
74618d5a65 | ||
|
|
0c110c2408 | ||
|
|
1ac997e7d7 | ||
|
|
d4692bef42 | ||
|
|
77fc53afc0 | ||
|
|
3b676eca40 | ||
|
|
ce3ce2c035 | ||
|
|
c8735b5cab | ||
|
|
cc5f2ffe18 | ||
|
|
89b79c76a3 | ||
|
|
837c39fdda | ||
|
|
110026edbe | ||
|
|
3b8ebf68a6 | ||
|
|
ffd344d0b5 | ||
|
|
9d29ca7b29 | ||
|
|
38906468c1 | ||
|
|
95d7caf3ac | ||
|
|
4044f52f77 | ||
|
|
a7bd953169 | ||
|
|
8922717ff2 | ||
|
|
117d50b728 | ||
|
|
04af8965bc | ||
|
|
d6f5e5b4ec | ||
|
|
1f3a7bf44c | ||
|
|
2e62ced811 | ||
|
|
95819c79e5 | ||
|
|
5ad21303c6 | ||
|
|
922e64a07e | ||
|
|
30d70d2b9b | ||
|
|
a06b350858 | ||
|
|
06f025f4bd | ||
|
|
d362a6ceba | ||
|
|
138b8ae314 | ||
|
|
6f3bc5620f | ||
|
|
f2249d5803 | ||
|
|
f26de83509 | ||
|
|
f6826a4f48 | ||
|
|
dd3f78bd36 | ||
|
|
63d0d0c69b | ||
|
|
1be59bb116 | ||
|
|
751345fc28 | ||
|
|
12ea65d188 | ||
|
|
e950cca059 | ||
|
|
a063095dad | ||
|
|
39978d5ade | ||
|
|
9fa8748432 | ||
|
|
18b27d4b49 | ||
|
|
f41f6ad46a | ||
|
|
bb9a8509c8 | ||
|
|
6694ac7a58 | ||
|
|
81d22eb730 | ||
|
|
47a9b18b89 | ||
|
|
292929ba59 | ||
|
|
cbcf413ffd | ||
|
|
4d8b34209b | ||
|
|
98a8be7131 | ||
|
|
2e68e0181c | ||
|
|
e6773dfce1 | ||
|
|
f56be66556 | ||
|
|
67a4fd49e9 | ||
|
|
e992ac3eab | ||
|
|
d05352db65 | ||
|
|
b1e0dd66eb | ||
|
|
897c2f981f | ||
|
|
91801e1632 | ||
|
|
fa20e49a93 | ||
|
|
4432e6e6e3 | ||
|
|
c225c045cb | ||
|
|
e552c21f66 | ||
|
|
89d04a393b | ||
|
|
f1730dc4d4 | ||
|
|
fb5005e3f6 | ||
|
|
51b5b23f76 | ||
|
|
78e966946f | ||
|
|
936bd925d9 | ||
|
|
43e3fe2a1a | ||
|
|
6ed3136c8e | ||
|
|
8195421c99 | ||
|
|
342da12d0c | ||
|
|
5296fc7d4c | ||
|
|
233e814547 | ||
|
|
03325c5f48 | ||
|
|
1a6742b1e2 | ||
|
|
154688a3e2 | ||
|
|
fe12552590 | ||
|
|
e63c33c496 | ||
|
|
105cb52cb0 | ||
|
|
3e0ea26e5f | ||
|
|
e44cac0eaa | ||
|
|
86a1b801f5 | ||
|
|
b3870ad6dd | ||
|
|
67ff83360f | ||
|
|
b2a16a0240 | ||
|
|
e17c035521 | ||
|
|
249398489e | ||
|
|
d44f59a0e7 | ||
|
|
6c99204828 | ||
|
|
1794f09b21 | ||
|
|
b08a4679de | ||
|
|
bfc221fc18 | ||
|
|
5ad3a1666c | ||
|
|
49d5ed6bde | ||
|
|
4b9209674e | ||
|
|
b9a688013f | ||
|
|
387b746fae | ||
|
|
796109649d | ||
|
|
d258794517 | ||
|
|
98f80c0eb6 | ||
|
|
d18becc861 | ||
|
|
0503db85ea | ||
|
|
bcb636dda4 | ||
|
|
5bc304470c | ||
|
|
42e1e2fd20 | ||
|
|
bb0746c3e8 | ||
|
|
19799d74b4 | ||
|
|
0d560bcd6f | ||
|
|
69b79756f2 | ||
|
|
fd248eb1fd | ||
|
|
45ccd3b84a | ||
|
|
298b85c368 | ||
|
|
67add964de | ||
|
|
e81a279dc2 | ||
|
|
280781ded9 | ||
|
|
f30a2858ce | ||
|
|
32b41fabd6 | ||
|
|
a0f9689664 | ||
|
|
08843ccad5 | ||
|
|
e0bb8869aa | ||
|
|
255af3c485 | ||
|
|
f35145b0a6 | ||
|
|
f2d560351e | ||
|
|
62da60a0e4 | ||
|
|
d9c1a56d44 | ||
|
|
84f278dbcc | ||
|
|
356f298e9c | ||
|
|
5fb01dacc0 | ||
|
|
8d541ad419 | ||
|
|
426eea154e | ||
|
|
ccc047848a | ||
|
|
11d8332e43 | ||
|
|
2193240c66 | ||
|
|
e43c532e63 | ||
|
|
930addb389 | ||
|
|
fab1e8412d | ||
|
|
1cce30393b | ||
|
|
510c81776f | ||
|
|
e7096d9509 | ||
|
|
5ae242472f | ||
|
|
ee75786e40 | ||
|
|
87473f2cde | ||
|
|
b2f349c05d | ||
|
|
9ac0d62149 | ||
|
|
db46a97263 | ||
|
|
4c2f9a1a0a | ||
|
|
64e38eac20 | ||
|
|
499a58f50d | ||
|
|
5f0f7204a8 | ||
|
|
62f6683730 | ||
|
|
60d96c6f20 | ||
|
|
d1efe5f1b4 | ||
|
|
62421080ef | ||
|
|
9e4ea0a671 | ||
|
|
b11468c19b | ||
|
|
40a5722987 | ||
|
|
956ea10a00 | ||
|
|
543fcf722c | ||
|
|
7f52472e9e | ||
|
|
5619991f2a | ||
|
|
2b04955128 | ||
|
|
e83d540fe4 | ||
|
|
4e5d88da82 | ||
|
|
10816cb8f4 | ||
|
|
5f8eda9204 | ||
|
|
b0c561dbbc | ||
|
|
1173f1c714 | ||
|
|
3da5cd9816 | ||
|
|
d9d8762c8e | ||
|
|
e16ee523a5 | ||
|
|
3db7bcbfc7 | ||
|
|
e1a3a431f0 | ||
|
|
9a3316f950 | ||
|
|
1789e8d03c | ||
|
|
837322478b | ||
|
|
ce2516ab2c | ||
|
|
962bfc3d2c | ||
|
|
4ff0fb19ee | ||
|
|
7a4006439b | ||
|
|
c015c3a57d | ||
|
|
8a9e732f95 | ||
|
|
0b3c408e64 | ||
|
|
d3a61bbda4 | ||
|
|
c523958bf6 | ||
|
|
06003b3650 | ||
|
|
1e0005f572 | ||
|
|
4a071ecba1 | ||
|
|
77eb1a5f82 | ||
|
|
ac8c928a5b | ||
|
|
23f64a5440 | ||
|
|
98ca371b15 | ||
|
|
f8737777b1 | ||
|
|
e198ea14e4 | ||
|
|
553f35eae5 | ||
|
|
376a23e6fd | ||
|
|
077f35ec5c | ||
|
|
00ab9ff499 | ||
|
|
20302021c4 | ||
|
|
9e5455793b | ||
|
|
7f6a1db89a | ||
|
|
cdcab320fb | ||
|
|
ea22bb0b10 | ||
|
|
554f34a261 | ||
|
|
ad2b13eb2c | ||
|
|
ce636ccd57 | ||
|
|
053700342a | ||
|
|
cd7805bfda | ||
|
|
79869faa53 | ||
|
|
b77f8929d6 | ||
|
|
e1d8025309 | ||
|
|
183a97785b | ||
|
|
f748660cac | ||
|
|
cea6c817df | ||
|
|
b9ff47e10f | ||
|
|
14746bf94d | ||
|
|
87f871f40a | ||
|
|
9f3ac37f25 | ||
|
|
417a9f6e63 | ||
|
|
ba6389bcac | ||
|
|
9bca1a72b1 | ||
|
|
e688b45448 | ||
|
|
4c54cfedb9 | ||
|
|
88039a0eda | ||
|
|
9a54beef78 | ||
|
|
b0a0574ae0 | ||
|
|
db64745862 | ||
|
|
0353a388b3 | ||
|
|
b41ebe1b89 | ||
|
|
1952357f35 | ||
|
|
6c8529b3ba | ||
|
|
78ea5c9bd3 | ||
|
|
b35875e300 | ||
|
|
ad498c6e42 | ||
|
|
d1b3aa54ad | ||
|
|
d0346a104f | ||
|
|
5f888faceb | ||
|
|
f6f3a8e084 | ||
|
|
5dcc935852 | ||
|
|
eba7c2bf17 | ||
|
|
00fa074452 | ||
|
|
5d46d2aee5 | ||
|
|
007dd67ea1 | ||
|
|
ff3c3f7148 | ||
|
|
68c04acf50 | ||
|
|
44676f282a | ||
|
|
182ec0cd97 | ||
|
|
6f0b1fd7f2 | ||
|
|
ba3a093746 | ||
|
|
b7e7a4bc49 | ||
|
|
ac18ecd1f0 | ||
|
|
2f6283ea39 | ||
|
|
b30499c6ac | ||
|
|
8c12c47d3e | ||
|
|
356808b02c | ||
|
|
1f800bf49a | ||
|
|
d1b4523733 | ||
|
|
c00391a852 | ||
|
|
5841521133 | ||
|
|
7e2411289d | ||
|
|
2fa8ca6753 | ||
|
|
1c15df8e00 | ||
|
|
f282487806 | ||
|
|
078ed6ba71 | ||
|
|
67ea05921c | ||
|
|
0f36a65aaf | ||
|
|
90d23ce582 | ||
|
|
860457ff48 | ||
|
|
e52018bfcd | ||
|
|
9bd11ab204 | ||
|
|
c164013725 | ||
|
|
b9a8bf2409 | ||
|
|
4c3d068f0c | ||
|
|
c9e4d286c3 | ||
|
|
e43146a4ac | ||
|
|
1c2eb0c737 | ||
|
|
b0d77a4f20 | ||
|
|
20635773b3 | ||
|
|
f17634ea63 | ||
|
|
16f617d240 | ||
|
|
1c7676bfe5 | ||
|
|
63fa5bf85b | ||
|
|
6cefb49f28 | ||
|
|
eeed72a977 | ||
|
|
49e10ea0cf | ||
|
|
26e45dcbc8 | ||
|
|
b7bc1fdb1d | ||
|
|
3b00a7de59 | ||
|
|
14ec9464aa | ||
|
|
3d64f0d8da | ||
|
|
87e3a5f515 | ||
|
|
75e9ff57de | ||
|
|
b180d2a900 | ||
|
|
1822c2bde9 | ||
|
|
40e6777c48 | ||
|
|
f88b24d507 | ||
|
|
593452ed63 | ||
|
|
4197e129fe | ||
|
|
0360cbe0b8 | ||
|
|
d2f41fe7e5 | ||
|
|
0a2e9a5324 | ||
|
|
3c302088f6 | ||
|
|
3b6bad2f13 | ||
|
|
6fd4b298f3 | ||
|
|
2beec764c9 | ||
|
|
e5760ee341 | ||
|
|
45940b9064 | ||
|
|
c97f809bdc | ||
|
|
ae6837c88c | ||
|
|
a827cf6c7a | ||
|
|
f52e3c4aa0 | ||
|
|
8f7e307f33 | ||
|
|
f1f6f137c3 | ||
|
|
ff7ff8eac7 | ||
|
|
4cb2bcae25 | ||
|
|
df95222849 | ||
|
|
463fd3ac04 | ||
|
|
eb37c91866 | ||
|
|
7cd210a59b | ||
|
|
eee27868a8 | ||
|
|
e5dec3f020 | ||
|
|
def1127c78 | ||
|
|
847f2c2ebd | ||
|
|
fb49aa02a8 | ||
|
|
f8dc66b773 | ||
|
|
c17b466bae | ||
|
|
d9cdff9525 | ||
|
|
915db80a55 | ||
|
|
350d4d7260 | ||
|
|
4b92912577 | ||
|
|
a794223d96 | ||
|
|
5811d372f9 | ||
|
|
0b2f2f2c8a | ||
|
|
64022d7bc7 | ||
|
|
bf715d90fd | ||
|
|
fdbd9e6687 | ||
|
|
0a0383d075 | ||
|
|
5b1bed5a48 | ||
|
|
7ed33192ec | ||
|
|
c82ba44be8 | ||
|
|
729daf331c | ||
|
|
db1835d942 | ||
|
|
7d4a316733 | ||
|
|
da8629db97 | ||
|
|
df573c66c6 | ||
|
|
29f61b58fb | ||
|
|
15ce2b71f9 | ||
|
|
116ccc21fd | ||
|
|
dee33745c8 | ||
|
|
8586cda4e0 | ||
|
|
db9b5580d7 | ||
|
|
10aebd600a | ||
|
|
f0fe3c7879 | ||
|
|
33fd852bda | ||
|
|
65c9dc5fa8 | ||
|
|
7e2eea46d3 | ||
|
|
01773e433f | ||
|
|
ca5eaf4270 | ||
|
|
7d64f057c7 | ||
|
|
48d016e97d | ||
|
|
e9ce506d1c | ||
|
|
e0eb0bd06a | ||
|
|
9f992ec40d | ||
|
|
ce8ef4f95b | ||
|
|
4d0560eff2 | ||
|
|
d49cde1994 | ||
|
|
16a1173f1d | ||
|
|
333d2f5562 | ||
|
|
c7fe1bdef5 | ||
|
|
46a967fb8c | ||
|
|
ca22e84858 | ||
|
|
20bd962e6a | ||
|
|
22a1448372 | ||
|
|
722a5cd9e1 | ||
|
|
efecf38bcd | ||
|
|
dfb75d67b9 | ||
|
|
961d405921 | ||
|
|
e025b6b9db | ||
|
|
bc5aa1bf71 | ||
|
|
3cd30ea96a | ||
|
|
504751424f | ||
|
|
37a00a48a7 | ||
|
|
2a2f5d90ae | ||
|
|
f0920f5638 | ||
|
|
43fb998651 | ||
|
|
148fcdbe37 | ||
|
|
de79bba540 | ||
|
|
d5881142aa | ||
|
|
494c468da8 | ||
|
|
672668ccdb | ||
|
|
538aed9147 | ||
|
|
d800273891 | ||
|
|
94f96c5165 | ||
|
|
4b1d60c727 | ||
|
|
cfe547b31a | ||
|
|
f6195f775f | ||
|
|
87879ab3b8 | ||
|
|
81a837faed | ||
|
|
c06f905702 | ||
|
|
f6f9e0234a | ||
|
|
e1e1472a8f | ||
|
|
b7e1fe1696 | ||
|
|
0314d0440f | ||
|
|
3226b1819d | ||
|
|
4b8a85763c | ||
|
|
ae4f2c3bb0 | ||
|
|
bc28b83062 | ||
|
|
2603c36e7d | ||
|
|
81b56cce62 | ||
|
|
649a2b6f8e | ||
|
|
4caf81ef89 | ||
|
|
65c33a37a1 | ||
|
|
eff17931eb | ||
|
|
b33c2abf82 | ||
|
|
ba514f0b0e | ||
|
|
7f60867ae9 | ||
|
|
71d8836118 | ||
|
|
97d6f8ce80 | ||
|
|
ca7f009e74 | ||
|
|
f08e5176c3 | ||
|
|
70161a54fa | ||
|
|
a945d0a78d | ||
|
|
245b799ccf | ||
|
|
0dc6c3ecfd | ||
|
|
98f000cc70 | ||
|
|
8d4daff068 | ||
|
|
79d68a5b9b | ||
|
|
412d0ee4f9 | ||
|
|
e8788bde08 | ||
|
|
815a71fe8b | ||
|
|
fce16ba51f | ||
|
|
50cfd9c9b1 | ||
|
|
369b03bffb | ||
|
|
e7907a63ee | ||
|
|
cee416b1b5 | ||
|
|
53a9c217e7 | ||
|
|
d6c8b13041 | ||
|
|
ba03356151 | ||
|
|
d28cf93686 | ||
|
|
452656e09d | ||
|
|
9c460266ac | ||
|
|
bb0bd36c51 | ||
|
|
5ea7e21943 | ||
|
|
facb4669e3 | ||
|
|
e4ef17975c | ||
|
|
c4b20aa595 | ||
|
|
bc028998d7 | ||
|
|
7e7da94a6e | ||
|
|
53930e0898 | ||
|
|
b13adbafbf | ||
|
|
556c8b831a | ||
|
|
a6d10562f1 | ||
|
|
a8ac98bb37 | ||
|
|
d7fa383da3 | ||
|
|
6ded75caef | ||
|
|
88929d4821 | ||
|
|
8747611e9e | ||
|
|
acba442ddb | ||
|
|
5b0f93ba72 | ||
|
|
619092aee0 | ||
|
|
89fb5b02d7 | ||
|
|
75b69b1f11 | ||
|
|
f5eddafea9 | ||
|
|
d49e1eda79 | ||
|
|
e86d2ad4e2 | ||
|
|
5effdd4cd4 | ||
|
|
c2b4fad389 | ||
|
|
82a5b5262c | ||
|
|
1b0e08b3d9 | ||
|
|
49ec3a1535 | ||
|
|
23544bd6b2 | ||
|
|
5766e04987 | ||
|
|
0857af98d0 | ||
|
|
5e78daf726 | ||
|
|
1efb700ed8 | ||
|
|
e0153e8bdc | ||
|
|
b46562d932 | ||
|
|
5c8eccdd82 | ||
|
|
c45583e8e7 | ||
|
|
ce46dcdf7a | ||
|
|
63f5c8b116 | ||
|
|
111bea19d9 | ||
|
|
68f0e9ddc7 | ||
|
|
5e1f6a8738 | ||
|
|
28a313e74e | ||
|
|
5b6faa47b0 | ||
|
|
0f12200f6f | ||
|
|
7420c6f12f | ||
|
|
fb0adbcded | ||
|
|
59b7a175eb | ||
|
|
cbcd277d91 | ||
|
|
269e0b89b6 | ||
|
|
698a5ff475 | ||
|
|
fd122db7b7 | ||
|
|
67905b6f5b | ||
|
|
7df7f13e26 | ||
|
|
066d199c78 | ||
|
|
c8c5e3449a | ||
|
|
00dc5f0128 | ||
|
|
cd10555a8a | ||
|
|
158feaa8e0 | ||
|
|
3310cc636f | ||
|
|
9849a16d2c | ||
|
|
bf28b3ac31 | ||
|
|
759ae6356d | ||
|
|
c0fd70a856 | ||
|
|
028a35bfc8 | ||
|
|
fec735f948 | ||
|
|
9f185da446 | ||
|
|
8414b9cfa9 | ||
|
|
91f44c2ad3 | ||
|
|
31304d3397 | ||
|
|
310b4bad31 | ||
|
|
9e7dde8997 | ||
|
|
dfde04561f | ||
|
|
545e4ef717 | ||
|
|
b1cf238489 | ||
|
|
7fe5d37094 | ||
|
|
a7940d5bf9 | ||
|
|
e0e2b1b350 | ||
|
|
a58c391675 | ||
|
|
9f46958f20 | ||
|
|
dd82f95975 | ||
|
|
67e27b9b7a | ||
|
|
1cc315878a | ||
|
|
412b96ba55 | ||
|
|
d6b7917350 | ||
|
|
8b23af062a | ||
|
|
3b1d038d2d | ||
|
|
a47f9bc8dd | ||
|
|
466b245fdf | ||
|
|
bfdaa47aff | ||
|
|
c3290b4ac2 | ||
|
|
342001c642 | ||
|
|
b4404feed7 | ||
|
|
85c0725f83 | ||
|
|
29634505e4 | ||
|
|
faa1752d04 | ||
|
|
2edf19c187 | ||
|
|
42b3dc7dde | ||
|
|
80f151be94 | ||
|
|
c8ada0ba07 | ||
|
|
e05384909a | ||
|
|
3a12a50f3e | ||
|
|
5b0ce6b3d8 | ||
|
|
9cde1f3e45 | ||
|
|
1825ce09fb | ||
|
|
62158d7861 | ||
|
|
4de8e57f56 | ||
|
|
a3d9b93480 | ||
|
|
7e12222d33 | ||
|
|
bf2fc64ce0 | ||
|
|
3fdfedb7f7 | ||
|
|
01e847b997 | ||
|
|
50162694b5 | ||
|
|
ade5f596f4 | ||
|
|
8b7c1681ae | ||
|
|
2376e857d2 | ||
|
|
d024c293ed | ||
|
|
54617db03f | ||
|
|
70580e35db | ||
|
|
8d02fc3db6 | ||
|
|
112b0dc1f0 | ||
|
|
3fcdcc8eec | ||
|
|
7711239452 | ||
|
|
283cff7852 | ||
|
|
fb4bfe7656 | ||
|
|
070443f811 | ||
|
|
76483bf766 | ||
|
|
dd1716c240 | ||
|
|
c176ff900f | ||
|
|
9e8d588a05 | ||
|
|
0fbbf4ac6c | ||
|
|
61dd9a5589 | ||
|
|
9a632fc3d3 | ||
|
|
e0f2c2473e | ||
|
|
80e480854e | ||
|
|
86232cac8e | ||
|
|
bba825703b | ||
|
|
3f3f7bb5b4 | ||
|
|
047bdf9e3e | ||
|
|
0ae609c6df | ||
|
|
76fa8e707a | ||
|
|
fdc7d3d7fc | ||
|
|
35dfcf3a77 | ||
|
|
f21dd242f6 | ||
|
|
8bafc9f966 | ||
|
|
901d2d715c | ||
|
|
02b71451c6 | ||
|
|
6e737518d8 | ||
|
|
addda6cfcc | ||
|
|
afa283cd2d | ||
|
|
84b33c3418 | ||
|
|
a15500d472 | ||
|
|
7d4c791241 | ||
|
|
4be615b084 | ||
|
|
8e4d88f03c | ||
|
|
38c85cf7bb | ||
|
|
bc165133d0 | ||
|
|
117fe3bb43 | ||
|
|
5dab17df89 | ||
|
|
3560dac792 | ||
|
|
c970a80030 | ||
|
|
09de50ec18 | ||
|
|
78a1ef0cc5 | ||
|
|
d2d9269c87 | ||
|
|
0d091cdacc | ||
|
|
ac7a1f0065 | ||
|
|
772653d872 | ||
|
|
ce23ff34a7 | ||
|
|
c1200ed63f | ||
|
|
af17346ac6 | ||
|
|
e9a922f829 | ||
|
|
387ea4a911 | ||
|
|
7f1dadf3cd | ||
|
|
2417e8537b | ||
|
|
91692bc966 | ||
|
|
4296344502 | ||
|
|
7053163f88 | ||
|
|
14d9f6b7ba | ||
|
|
692ec5bb1b | ||
|
|
6039280fb5 | ||
|
|
48876fa45c | ||
|
|
ae54d3fa18 | ||
|
|
47509ee705 | ||
|
|
47a80526b3 | ||
|
|
183064f857 | ||
|
|
7c5dacba5f | ||
|
|
1c807ad7c8 | ||
|
|
6d83556ba8 | ||
|
|
de9ba4986d | ||
|
|
2956a7db54 | ||
|
|
76de427b96 | ||
|
|
e9df745dd0 | ||
|
|
bf224b0556 | ||
|
|
79e62e6069 | ||
|
|
7b84f54974 | ||
|
|
4ca14d68c1 | ||
|
|
ee9c7d1971 | ||
|
|
7dff81b60b | ||
|
|
66bd2e3030 | ||
|
|
da9af84dc1 | ||
|
|
0b44023f92 | ||
|
|
dd8400558c | ||
|
|
61b5659972 | ||
|
|
c987b74d61 | ||
|
|
c430ef9a84 | ||
|
|
7be5b4c8bc | ||
|
|
ab38ca2ad4 | ||
|
|
4d5d31a2b0 | ||
|
|
eaa03a6f2c | ||
|
|
01bb9c4df5 | ||
|
|
46a6576c68 | ||
|
|
0182641bbb | ||
|
|
e939f17654 | ||
|
|
17903c78d4 | ||
|
|
676c59c318 | ||
|
|
4ec10575f3 | ||
|
|
323638a751 | ||
|
|
ce0dc49572 | ||
|
|
3f0edee17a | ||
|
|
ea65974dc2 | ||
|
|
ddd0f40d4c | ||
|
|
12b2f47762 | ||
|
|
250471fe47 | ||
|
|
1a26287a5a | ||
|
|
5c42cfbf64 | ||
|
|
1cfc4f522e | ||
|
|
73db03a33b | ||
|
|
efe2c06347 | ||
|
|
53fd0a57ee | ||
|
|
017d1e058e | ||
|
|
e7e480cf3e | ||
|
|
c978c6d016 | ||
|
|
8fb56f0410 | ||
|
|
211d0bee5d | ||
|
|
e7c7b8f4db | ||
|
|
78f9f22a40 | ||
|
|
c8f2173a04 | ||
|
|
256ae0745c | ||
|
|
8dad06cfbd | ||
|
|
b8270be10f | ||
|
|
afbca066d7 | ||
|
|
ee8531aa24 | ||
|
|
7d27b847fb | ||
|
|
73ec9b0338 | ||
|
|
4005003003 | ||
|
|
3e4f2f94dd | ||
|
|
d39b5bd071 | ||
|
|
52ea19249c | ||
|
|
a93bbc35a1 | ||
|
|
79ab0f118f | ||
|
|
9d13b17a3c | ||
|
|
6aacc6e75c | ||
|
|
c03f519f9a | ||
|
|
c6caae848f | ||
|
|
5945b24476 | ||
|
|
606b623d73 | ||
|
|
16b832f7ab | ||
|
|
b0714f625f | ||
|
|
670ad51de1 | ||
|
|
986e632475 | ||
|
|
f08c0e053c | ||
|
|
fd9dc2d892 | ||
|
|
67bcaa267a | ||
|
|
5a9b671c85 | ||
|
|
af9eeb02b0 | ||
|
|
ff1ad9d764 | ||
|
|
7e5e28ea2b | ||
|
|
51555cab83 | ||
|
|
dd866f07de | ||
|
|
26defff7fc | ||
|
|
7947773a88 | ||
|
|
ed03721789 | ||
|
|
0f6cab42a8 | ||
|
|
4031b9f94b | ||
|
|
a23648c657 | ||
|
|
9672480d39 | ||
|
|
7a115622df | ||
|
|
f7071b4428 | ||
|
|
296d790421 | ||
|
|
228d623aef | ||
|
|
e83737805d | ||
|
|
2952a5a7a3 | ||
|
|
21431f18e1 | ||
|
|
4929ba3c44 | ||
|
|
81d28b686f | ||
|
|
e2840148af | ||
|
|
450d526eca | ||
|
|
ae426eb0cd | ||
|
|
3e6c956ac6 | ||
|
|
3a54a9aebc | ||
|
|
f6c058dd34 | ||
|
|
cd7681b909 | ||
|
|
d2dafe4180 | ||
|
|
92837080cd | ||
|
|
97c2d0346a | ||
|
|
da9cb956a8 | ||
|
|
0ed6eb8564 | ||
|
|
f7f928f0b9 | ||
|
|
24ce77cdf0 | ||
|
|
3a56af99c0 | ||
|
|
c1bf8c1da1 | ||
|
|
f825e8996a | ||
|
|
b919613a51 | ||
|
|
38802245b6 | ||
|
|
c6da126f55 | ||
|
|
84374fd83a | ||
|
|
8de2d30de0 | ||
|
|
a961947720 | ||
|
|
ae5071d6cb | ||
|
|
00c896ff1d | ||
|
|
0f126bcbd5 | ||
|
|
57fa3d8834 | ||
|
|
e0a8fd70f5 | ||
|
|
e2b78be264 | ||
|
|
6fd3cd56ff | ||
|
|
88004c0d54 | ||
|
|
739636cc0b | ||
|
|
238e183851 | ||
|
|
8a15a18361 | ||
|
|
2ed9f97bb0 | ||
|
|
a1be15ffb2 | ||
|
|
44d3e2fa2f | ||
|
|
2ce62bf19b | ||
|
|
3a86fd7068 | ||
|
|
a69ed83e25 | ||
|
|
e5c734fb05 | ||
|
|
cfeae2baf4 | ||
|
|
0ffca9a1f6 | ||
|
|
b8521e7e28 | ||
|
|
50ae65b58a | ||
|
|
4a7782af28 | ||
|
|
5bbe8bec5c | ||
|
|
a065f95075 | ||
|
|
8dd4d2f094 | ||
|
|
9ad59d5f48 | ||
|
|
7999bd1e8c | ||
|
|
c81b1620ca | ||
|
|
6d4cf138c8 | ||
|
|
a011d6d659 | ||
|
|
1790a1cf2d | ||
|
|
b5533a22bc | ||
|
|
6750e9f122 | ||
|
|
04abf6d17b | ||
|
|
00734d14b6 | ||
|
|
bb00387903 | ||
|
|
ea365bf671 | ||
|
|
1d2a6f7f0e | ||
|
|
7bd5ba3cdb | ||
|
|
68b5f92ec0 | ||
|
|
04242ba91c | ||
|
|
eef9d8ec13 | ||
|
|
0e9a691954 | ||
|
|
9b23ce9e06 | ||
|
|
f9d2e96d39 | ||
|
|
caed5accea | ||
|
|
343521ca25 | ||
|
|
1d29f67a75 | ||
|
|
da8367de4d | ||
|
|
0647c4e3d7 | ||
|
|
976824ad99 | ||
|
|
a4e12c1d94 | ||
|
|
db4d0fabe7 | ||
|
|
25b282fdb8 | ||
|
|
518a73079a | ||
|
|
0634592bd9 | ||
|
|
3e13fe1229 | ||
|
|
7125eab8b2 | ||
|
|
57a9e925a7 | ||
|
|
4afcae325a | ||
|
|
dc764b2ad5 | ||
|
|
454321614b | ||
|
|
d39f6843c9 | ||
|
|
f63435db90 | ||
|
|
8c3b6cb0db | ||
|
|
a89d0d42aa | ||
|
|
3368c4c67d | ||
|
|
447cb52bf1 | ||
|
|
2afd0a4e97 | ||
|
|
7727a98c45 | ||
|
|
744f11e19b | ||
|
|
0a86a30c2a | ||
|
|
ec410fc1a9 | ||
|
|
7af689e57f | ||
|
|
fa0d6b1aa0 | ||
|
|
8fc4caa2f1 | ||
|
|
25afa04ba3 | ||
|
|
c202f7727f | ||
|
|
d74050e7a6 | ||
|
|
c7635b0ff0 | ||
|
|
0d069d0fe8 | ||
|
|
e441f96204 | ||
|
|
99197b2063 | ||
|
|
92d19fd58d | ||
|
|
b4b95c9423 | ||
|
|
e79f6ada2f | ||
|
|
0e0cc30128 | ||
|
|
9b26f6ebee | ||
|
|
30280b0803 | ||
|
|
fe6bcd62be | ||
|
|
14cea4fbc7 | ||
|
|
899ac7c86e | ||
|
|
39341f623f | ||
|
|
42cbf4f5c6 | ||
|
|
a3d98029f9 | ||
|
|
031f75a2bb | ||
|
|
a59332b4ef | ||
|
|
1b2d5bc6ad | ||
|
|
f14b3a8459 | ||
|
|
76fcfa498d | ||
|
|
2073ae0221 | ||
|
|
cd24acd74f | ||
|
|
1ac0403f05 | ||
|
|
90e562ff98 | ||
|
|
e010a789c4 | ||
|
|
964d85d908 | ||
|
|
3068f006e2 | ||
|
|
f4cf3d9893 | ||
|
|
708ad2e665 | ||
|
|
0819697c5b | ||
|
|
0121d721cb | ||
|
|
a82b6e4fb5 | ||
|
|
4420f2fae5 | ||
|
|
f8f9438950 | ||
|
|
e211b6feca | ||
|
|
d9b9f22998 | ||
|
|
aaa7dae18e | ||
|
|
2de185adea | ||
|
|
0e2dd9f389 | ||
|
|
cbac2fbd5a | ||
|
|
be70305365 | ||
|
|
f586b91a59 | ||
|
|
623c5ab57b | ||
|
|
ed00536468 | ||
|
|
430b96f4f5 | ||
|
|
ac66f305e7 | ||
|
|
8175b2af58 | ||
|
|
4dbc93b1fa | ||
|
|
9b97c6a578 | ||
|
|
97375f1a7c | ||
|
|
6312ad4a7e | ||
|
|
b06f46ea7c | ||
|
|
a570e67a4d | ||
|
|
221c9984d6 | ||
|
|
ccc97f83a8 | ||
|
|
d557cda55c | ||
|
|
eee6d4c030 | ||
|
|
177ec7d5c2 | ||
|
|
f30a10f2b8 | ||
|
|
1c665b7d2f | ||
|
|
717897b343 | ||
|
|
7f33292aca | ||
|
|
3e67620e55 | ||
|
|
bc8cacdbd1 | ||
|
|
ec9564d0c1 | ||
|
|
ffb241a4de | ||
|
|
d57b2b43ec | ||
|
|
19e2ab2187 | ||
|
|
8e7d4f2cd4 | ||
|
|
ef2ca43c3d | ||
|
|
8bedc613a0 | ||
|
|
cd3221baf6 | ||
|
|
e0ebffb8fa | ||
|
|
5a8c443d50 | ||
|
|
c7d52f3ce5 | ||
|
|
fad6ba2193 | ||
|
|
22c9d7c0ee | ||
|
|
3a864bcdad | ||
|
|
14f894959f | ||
|
|
6aebcef2b5 | ||
|
|
9e53e33c24 | ||
|
|
62a336b7d8 | ||
|
|
0cc00ba5df | ||
|
|
a161bbfcb6 | ||
|
|
f03d1818fa | ||
|
|
13b2e7da26 | ||
|
|
377f8cf886 | ||
|
|
72c9a46fa3 | ||
|
|
53b9cdebcd | ||
|
|
dc9e2597da | ||
|
|
bc27c2cdf7 | ||
|
|
a9631daf7f | ||
|
|
d1f6ca90fc | ||
|
|
68749a7ad5 | ||
|
|
5b94861fc9 | ||
|
|
a8697114c1 | ||
|
|
0042fb1767 | ||
|
|
b69e25e308 | ||
|
|
3c24d72489 | ||
|
|
358b5f4b19 | ||
|
|
43df21517e | ||
|
|
43a5a9111b | ||
|
|
773f65d708 | ||
|
|
cd7b5082a0 | ||
|
|
f3f3b3669f | ||
|
|
7e0d09a7bc | ||
|
|
42e904b63c | ||
|
|
35186faf78 | ||
|
|
62dfd6a664 | ||
|
|
8212a66d5a | ||
|
|
eac2a10a12 | ||
|
|
9f034657b0 | ||
|
|
f7b3e11729 | ||
|
|
b47f6badd7 | ||
|
|
2ecb233b5b | ||
|
|
040f1a5c6d | ||
|
|
a126081d2c | ||
|
|
104852d47e | ||
|
|
a2cc2cdd8f | ||
|
|
7650ebc373 | ||
|
|
a4e8d1eb46 | ||
|
|
b9d2094a15 | ||
|
|
3f383df479 | ||
|
|
1ba3955025 | ||
|
|
0d3f364aac | ||
|
|
d119fa3629 | ||
|
|
5129682727 | ||
|
|
96becf60bd | ||
|
|
9c3efd17cb | ||
|
|
19455a7adf | ||
|
|
57c96477c1 | ||
|
|
f9c61bbc11 | ||
|
|
a80c4e18e7 | ||
|
|
e73c65e602 | ||
|
|
8c283875fb | ||
|
|
1353ce6903 | ||
|
|
3136e5490f | ||
|
|
cffce4a706 | ||
|
|
1c318504cf | ||
|
|
115a7c3795 | ||
|
|
3fcb0e7ae5 | ||
|
|
a567b23262 | ||
|
|
93468f342a | ||
|
|
635260e686 | ||
|
|
94625c48b2 | ||
|
|
20dc0a5e8a | ||
|
|
e6135aa2a9 | ||
|
|
1cb42252b8 | ||
|
|
7812f7b4e4 | ||
|
|
127b577440 | ||
|
|
a5e8a9dc69 | ||
|
|
9bfa5f10b6 | ||
|
|
67c0f8609b | ||
|
|
7061e09a8e | ||
|
|
e327d87ebc | ||
|
|
c4f0920c18 | ||
|
|
adb22bdfa5 | ||
|
|
01a43544d5 | ||
|
|
8420d6105b | ||
|
|
1b7a50f88b | ||
|
|
8a6ec7232d | ||
|
|
535940e2e6 | ||
|
|
0723a77214 | ||
|
|
1f58910a38 | ||
|
|
634ecdeb1d | ||
|
|
aa86aa6fe1 | ||
|
|
789356d44d | ||
|
|
2b3bd4f1f3 | ||
|
|
ad04b2a137 | ||
|
|
1a1ab4e780 | ||
|
|
330b8b3ced | ||
|
|
bdba9cd00a | ||
|
|
f98c3adf2f | ||
|
|
ec2c5ab937 | ||
|
|
8dff2375d0 | ||
|
|
4e2c0a70c4 | ||
|
|
41353c9ae4 | ||
|
|
e73052df1c | ||
|
|
9b8282010c | ||
|
|
dd67a935cb | ||
|
|
0a84bc73c5 | ||
|
|
baa177a1b1 | ||
|
|
fa5b7e7a66 | ||
|
|
902ef3fa28 | ||
|
|
8144d15689 | ||
|
|
dd860e67f7 | ||
|
|
19d9c71b13 | ||
|
|
46906f5447 | ||
|
|
1893b92f37 | ||
|
|
fb1d7cfece | ||
|
|
59b93f4d2e | ||
|
|
6880a142e3 | ||
|
|
3d76122666 | ||
|
|
0f81e2816f | ||
|
|
59c7fcf854 | ||
|
|
f6a4d19084 | ||
|
|
ec259d6aea | ||
|
|
7983187818 | ||
|
|
2a4cf7cb56 | ||
|
|
3b07cc40bd | ||
|
|
fd24e1c17c | ||
|
|
f876c17efd | ||
|
|
ee7f4e452d | ||
|
|
7c10dd4c0e | ||
|
|
a110ad1d20 | ||
|
|
7c2a2af1f0 | ||
|
|
6d2d3c0fd0 | ||
|
|
888997372c | ||
|
|
5991abcec5 | ||
|
|
675d1219cd | ||
|
|
a1e4c51c9c | ||
|
|
93e3d2acf6 | ||
|
|
219f745e68 | ||
|
|
d6e18f7729 | ||
|
|
d27d7c6733 | ||
|
|
831b81529c | ||
|
|
826f1a2be9 | ||
|
|
e17bd472a8 | ||
|
|
de82302c67 | ||
|
|
81949449ae | ||
|
|
acc850dab9 | ||
|
|
208eef713a | ||
|
|
dbe90d2882 | ||
|
|
3153a545ca | ||
|
|
65545df485 | ||
|
|
29d01993c9 | ||
|
|
9627b7cb92 | ||
|
|
c068384845 | ||
|
|
92eb10be29 | ||
|
|
c6d4208a29 | ||
|
|
c6eaec6998 | ||
|
|
b77e846744 | ||
|
|
566d3c5ebf | ||
|
|
6eee4fb31f | ||
|
|
36e74e05ca | ||
|
|
2289b5f173 | ||
|
|
f6b5eb0a0c | ||
|
|
d70edb245b | ||
|
|
21701cb096 | ||
|
|
da2a7ef138 | ||
|
|
3f1d769ffc | ||
|
|
9c491c13cc | ||
|
|
bdc173cf4b | ||
|
|
4ae439a99a | ||
|
|
04217e16d4 | ||
|
|
4a00edc066 | ||
|
|
aa274eca74 | ||
|
|
c0b5bcc7d3 | ||
|
|
551d38c7a0 | ||
|
|
c3f433500b | ||
|
|
23c949d4ec | ||
|
|
3d85791a03 | ||
|
|
a3636ccdb7 | ||
|
|
e0111271a3 | ||
|
|
44217fd977 | ||
|
|
6274a32ca1 | ||
|
|
11c0e9a304 | ||
|
|
844f98db04 | ||
|
|
3c69822761 | ||
|
|
3a90109724 | ||
|
|
ce0968e6dc | ||
|
|
2e6b21aa85 | ||
|
|
8a5ccbc2d4 |
6
.gitattributes
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
.gitattributes export-ignore
|
||||
.gitmodules export-ignore
|
||||
.gitignore export-ignore
|
||||
*.py diff=python
|
||||
ext-all.js diff=minjs
|
||||
*.state -merge -text
|
||||
100
.github/workflows/cd.yml
vendored
Normal file
@ -0,0 +1,100 @@
|
||||
name: Package
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "deluge-*"
|
||||
- "!deluge*-dev*"
|
||||
branches:
|
||||
- develop
|
||||
pull_request:
|
||||
types: [labeled, opened, synchronize, reopened]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ref:
|
||||
description: "Enter a tag or commit to package"
|
||||
default: ""
|
||||
|
||||
jobs:
|
||||
windows_package:
|
||||
runs-on: windows-2019
|
||||
if: (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'package'))
|
||||
strategy:
|
||||
matrix:
|
||||
arch: [x64, x86]
|
||||
python: ["3.9"]
|
||||
libtorrent: [2.0.6, 1.2.15]
|
||||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# Checkout Deluge source to subdir to enable packaging any tag/commit
|
||||
- name: Checkout Deluge source
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.event.inputs.ref }}
|
||||
fetch-depth: 0
|
||||
path: deluge_src
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python}}
|
||||
architecture: ${{ matrix.arch }}
|
||||
cache: pip
|
||||
|
||||
- name: Prepare pip
|
||||
run: python -m pip install wheel
|
||||
|
||||
- name: Install GTK
|
||||
run: |
|
||||
$WebClient = New-Object System.Net.WebClient
|
||||
$WebClient.DownloadFile("https://github.com/deluge-torrent/gvsbuild-release/releases/download/latest/gvsbuild-py${{ matrix.python }}-vs16-${{ matrix.arch }}.zip","C:\GTK.zip")
|
||||
7z x C:\GTK.zip -oc:\GTK
|
||||
echo "C:\GTK\release\lib" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||
echo "C:\GTK\release\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||
echo "C:\GTK\release" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||
python -m pip install --no-index --find-links="C:\GTK\release\python" pycairo PyGObject
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: >
|
||||
python -m pip install
|
||||
twisted[tls]==22.4.0
|
||||
libtorrent==${{ matrix.libtorrent }}
|
||||
pyinstaller==4.10
|
||||
pygame
|
||||
-r requirements.txt
|
||||
|
||||
- name: Install Deluge
|
||||
working-directory: deluge_src
|
||||
run: |
|
||||
python -m pip install .
|
||||
python setup.py install_scripts
|
||||
|
||||
- name: Freeze Deluge
|
||||
working-directory: packaging/win
|
||||
run: |
|
||||
pyinstaller --clean delugewin.spec --distpath freeze
|
||||
|
||||
- name: Fix OpenSSL for libtorrent x64
|
||||
if: ${{ matrix.arch == 'x64' }}
|
||||
working-directory: packaging/win/freeze/Deluge
|
||||
run: |
|
||||
cp libssl-1_1.dll libssl-1_1-x64.dll
|
||||
cp libcrypto-1_1.dll libcrypto-1_1-x64.dll
|
||||
|
||||
- name: Make Deluge Installer
|
||||
working-directory: ./packaging/win
|
||||
run: |
|
||||
python setup_nsis.py
|
||||
makensis /Darch=${{ matrix.arch }} deluge-win-installer.nsi
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: deluge-py${{ matrix.python }}-lt${{ matrix.libtorrent }}-${{ matrix.arch }}
|
||||
path: packaging/win/*.exe
|
||||
95
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,95 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test-linux:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.7", "3.10"]
|
||||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: "pip"
|
||||
cache-dependency-path: "requirements*.txt"
|
||||
|
||||
- name: Sets env var for security
|
||||
if: (github.event_name == 'pull_request' && contains(github.event.pull_request.body, 'security_test')) || (github.event_name == 'push' && contains(github.event.head_commit.message, 'security_test'))
|
||||
run: echo "SECURITY_TESTS=True" >> $GITHUB_ENV
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --upgrade pip wheel
|
||||
pip install -r requirements.txt -r requirements-tests.txt
|
||||
pip install -e .
|
||||
|
||||
- name: Install security dependencies
|
||||
if: contains(env.SECURITY_TESTS, 'True')
|
||||
run: |
|
||||
wget -O- $TESTSSL_URL$TESTSSL_VER | tar xz
|
||||
mv -t deluge/tests/data testssl.sh-$TESTSSL_VER/testssl.sh testssl.sh-$TESTSSL_VER/etc/;
|
||||
env:
|
||||
TESTSSL_VER: 3.0.6
|
||||
TESTSSL_URL: https://codeload.github.com/drwetter/testssl.sh/tar.gz/refs/tags/v
|
||||
|
||||
- name: Setup core dump directory
|
||||
run: |
|
||||
sudo mkdir /cores/ && sudo chmod 777 /cores/
|
||||
echo "/cores/%E.%p" | sudo tee /proc/sys/kernel/core_pattern
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
ulimit -c unlimited # Enable core dumps to be captured
|
||||
python -c 'from deluge._libtorrent import lt; print(lt.__version__)';
|
||||
catchsegv python -X dev -m pytest -v -m "not (todo or gtkui)" deluge
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
# capture all crashes as build artifacts
|
||||
if: failure()
|
||||
with:
|
||||
name: crashes
|
||||
path: /cores
|
||||
|
||||
test-windows:
|
||||
runs-on: windows-2019
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.7", "3.10"]
|
||||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: "pip"
|
||||
cache-dependency-path: "requirements*.txt"
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --upgrade pip wheel
|
||||
pip install -r requirements.txt -r requirements-tests.txt
|
||||
pip install -e .
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
python -c 'import libtorrent as lt; print(lt.__version__)';
|
||||
pytest -v -m "not (todo or gtkui or security)" deluge
|
||||
45
.github/workflows/docs.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
name: Docs
|
||||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the main branch
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Cache pip
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
# This path is specific to Ubuntu
|
||||
path: ~/.cache/pip
|
||||
# Look to see if there is a cache hit for the corresponding requirements file
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --upgrade pip wheel
|
||||
pip install tox
|
||||
sudo apt-get install enchant
|
||||
|
||||
- name: Test with tox
|
||||
env:
|
||||
TOX_ENV: docs
|
||||
run: |
|
||||
tox -e $TOX_ENV
|
||||
17
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: Linting
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- name: Run pre-commit linting
|
||||
uses: pre-commit/action@v2.0.2
|
||||
25
.gitignore
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
*~
|
||||
build
|
||||
.cache
|
||||
dist
|
||||
docs/source/modules/deluge*.rst
|
||||
*.egg-info/
|
||||
*.dist-info/
|
||||
*.egg
|
||||
*.log
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*.tar.*
|
||||
.tox/
|
||||
deluge/i18n/*/
|
||||
deluge.pot
|
||||
deluge/ui/web/js/*.js
|
||||
deluge/ui/web/js/extjs/ext-extensions*.js
|
||||
*.desktop
|
||||
*.appdata.xml
|
||||
.build_data*
|
||||
osx/app
|
||||
RELEASE-VERSION
|
||||
.venv*
|
||||
# used by setuptools to cache downloaded eggs
|
||||
/.eggs
|
||||
51
.pre-commit-config.yaml
Normal file
@ -0,0 +1,51 @@
|
||||
default_language_version:
|
||||
python: python3
|
||||
exclude: >
|
||||
(?x)^(
|
||||
deluge/ui/web/docs/template/.*|
|
||||
deluge/tests/data/.*svg|
|
||||
)$
|
||||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.3.0
|
||||
hooks:
|
||||
- id: black
|
||||
name: Fmt Black
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v2.5.1
|
||||
hooks:
|
||||
- id: prettier
|
||||
name: Fmt Prettier
|
||||
# Workaround to list modified files only.
|
||||
args: [--list-different]
|
||||
- repo: https://github.com/pycqa/isort
|
||||
rev: 5.10.1
|
||||
hooks:
|
||||
- id: isort
|
||||
name: Fmt isort
|
||||
- repo: https://github.com/pycqa/flake8
|
||||
rev: 4.0.1
|
||||
hooks:
|
||||
- id: flake8
|
||||
name: Chk Flake8
|
||||
additional_dependencies:
|
||||
- pep8-naming==0.12.1
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
hooks:
|
||||
- id: double-quote-string-fixer
|
||||
name: Fix Double-quotes
|
||||
- id: end-of-file-fixer
|
||||
name: Fix End-of-files
|
||||
exclude_types: [javascript, css]
|
||||
- id: mixed-line-ending
|
||||
name: Fix Line endings
|
||||
args: [--fix=auto]
|
||||
- id: trailing-whitespace
|
||||
name: Fix Trailing whitespace
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.31.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py36-plus]
|
||||
stages: [manual]
|
||||
6
.prettierignore
Normal file
@ -0,0 +1,6 @@
|
||||
deluge/ui/web/css/ext-*.css
|
||||
deluge/ui/web/js/extjs/ext-*.js
|
||||
deluge/ui/web/docs/
|
||||
deluge/ui/web/themes/images/
|
||||
*.py*
|
||||
*.html
|
||||
13
.prettierrc.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
trailingComma: "es5"
|
||||
tabWidth: 4
|
||||
singleQuote: true
|
||||
overrides:
|
||||
- files:
|
||||
- "*.yaml"
|
||||
- ".*.yaml"
|
||||
- "*.yml"
|
||||
- ".*.yml"
|
||||
- "*.md"
|
||||
options:
|
||||
tabWidth: 2
|
||||
singleQuote: false
|
||||
420
.pylintrc
Normal file
@ -0,0 +1,420 @@
|
||||
[MASTER]
|
||||
|
||||
# Specify a configuration file.
|
||||
#rcfile=
|
||||
|
||||
# Python code to execute, usually for sys.path manipulation such as
|
||||
# pygtk.require().
|
||||
#init-hook=
|
||||
|
||||
# Add files or directories to the blacklist. They should be base names, not
|
||||
# paths.
|
||||
ignore=CVS
|
||||
|
||||
# Add files or directories matching the regex patterns to the blacklist. The
|
||||
# regex matches against base names, not paths.
|
||||
ignore-patterns=
|
||||
|
||||
# Pickle collected data for later comparisons.
|
||||
persistent=yes
|
||||
|
||||
# List of plugins (as comma separated values of python modules names) to load,
|
||||
# usually to register additional checkers.
|
||||
load-plugins=
|
||||
|
||||
# Use multiple processes to speed up Pylint.
|
||||
jobs=2
|
||||
|
||||
# Allow loading of arbitrary C extensions. Extensions are imported into the
|
||||
# active Python interpreter and may run arbitrary code.
|
||||
unsafe-load-any-extension=no
|
||||
|
||||
# A comma-separated list of package or module names from where C extensions may
|
||||
# be loaded. Extensions are loading into the active Python interpreter and may
|
||||
# run arbitrary code
|
||||
extension-pkg-whitelist=
|
||||
|
||||
# Allow optimization of some AST trees. This will activate a peephole AST
|
||||
# optimizer, which will apply various small optimizations. For instance, it can
|
||||
# be used to obtain the result of joining multiple strings with the addition
|
||||
# operator. Joining a lot of strings can lead to a maximum recursion error in
|
||||
# Pylint and this flag can prevent that. It has one side effect, the resulting
|
||||
# AST will be different than the one from reality. This option is deprecated
|
||||
# and it will be removed in Pylint 2.0.
|
||||
optimize-ast=no
|
||||
|
||||
|
||||
[MESSAGES CONTROL]
|
||||
|
||||
# Only show warnings with the listed confidence levels. Leave empty to show
|
||||
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
|
||||
confidence=
|
||||
|
||||
# Enable the message, report, category or checker with the given id(s). You can
|
||||
# either give multiple identifier separated by comma (,) or put this option
|
||||
# multiple time (only on the command line, not in the configuration file where
|
||||
# it should appear only once). See also the "--disable" option for examples.
|
||||
#enable=
|
||||
|
||||
# Disable the message, report, category or checker with the given id(s). You
|
||||
# can either give multiple identifiers separated by comma (,) or put this
|
||||
# option multiple times (only on the command line, not in the configuration
|
||||
# file where it should appear only once).You can also use "--disable=all" to
|
||||
# disable everything first and then reenable specific checks. For example, if
|
||||
# you want to run only the similarities checker, you can use "--disable=all
|
||||
# --enable=similarities". If you want to run only the classes checker, but have
|
||||
# no Warning level messages displayed, use"--disable=all --enable=classes
|
||||
# --disable=W"
|
||||
#
|
||||
# Arranged by category and use symbolic names instead of ids.
|
||||
disable=
|
||||
# Convention
|
||||
missing-docstring, invalid-name, bad-continuation,
|
||||
# Error
|
||||
no-member, no-name-in-module,
|
||||
# Information
|
||||
locally-disabled,
|
||||
# Refactor
|
||||
no-self-use, too-many-arguments, too-many-branches, too-many-instance-attributes,
|
||||
too-many-locals, too-few-public-methods, too-many-public-methods, too-many-statements,
|
||||
# Refactor msgs that should eventually be enabled:
|
||||
redefined-variable-type, too-many-ancestors,
|
||||
too-many-nested-blocks, too-many-return-statements,
|
||||
# Warning
|
||||
unused-argument, protected-access, import-error, unused-variable,
|
||||
attribute-defined-outside-init,
|
||||
# Warning msgs that should eventually be enabled:
|
||||
arguments-differ, global-statement, fixme, broad-except
|
||||
|
||||
[REPORTS]
|
||||
|
||||
# Set the output format. Available formats are text, parseable, colorized, msvs
|
||||
# (visual studio) and html. You can also give a reporter class, eg
|
||||
# mypackage.mymodule.MyReporterClass.
|
||||
output-format=parseable
|
||||
|
||||
# Put messages in a separate file for each module / package specified on the
|
||||
# command line instead of printing them on stdout. Reports (if any) will be
|
||||
# written in a file name "pylint_global.[txt|html]". This option is deprecated
|
||||
# and it will be removed in Pylint 2.0.
|
||||
files-output=no
|
||||
|
||||
# Tells whether to display a full report or only the messages
|
||||
reports=no
|
||||
|
||||
# Python expression which should return a note less than 10 (10 is the highest
|
||||
# note). You have access to the variables errors warning, statement which
|
||||
# respectively contain the number of errors / warnings messages and the total
|
||||
# number of statements analyzed. This is used by the global evaluation report
|
||||
# (RP0004).
|
||||
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
|
||||
|
||||
# Template used to display messages. This is a python new-style format string
|
||||
# used to format the message information. See doc for all details
|
||||
#msg-template=
|
||||
|
||||
|
||||
[SPELLING]
|
||||
|
||||
# Spelling dictionary name. Available dictionaries: none. To make it working
|
||||
# install python-enchant package.
|
||||
spelling-dict=
|
||||
|
||||
# List of comma separated words that should not be checked.
|
||||
spelling-ignore-words=
|
||||
|
||||
# A path to a file that contains private dictionary; one word per line.
|
||||
spelling-private-dict-file=
|
||||
|
||||
# Tells whether to store unknown words to indicated private dictionary in
|
||||
# --spelling-private-dict-file option instead of raising a message.
|
||||
spelling-store-unknown-words=no
|
||||
|
||||
|
||||
[BASIC]
|
||||
|
||||
# Good variable names which should always be accepted, separated by a comma
|
||||
good-names=d,i,j,k,ex,Run,_,log
|
||||
|
||||
# Bad variable names which should always be refused, separated by a comma
|
||||
bad-names=foo,bar,baz,toto,tutu,tata
|
||||
|
||||
# Colon-delimited sets of names that determine each other's naming style when
|
||||
# the name regexes allow several styles.
|
||||
name-group=
|
||||
|
||||
# Include a hint for the correct naming format with invalid-name
|
||||
include-naming-hint=no
|
||||
|
||||
# List of decorators that produce properties, such as abc.abstractproperty. Add
|
||||
# to this list to register other decorators that produce valid properties.
|
||||
property-classes=abc.abstractproperty
|
||||
|
||||
# Regular expression matching correct function names
|
||||
function-rgx=[a-z_][a-z0-9_]{2,30}$
|
||||
|
||||
# Naming hint for function names
|
||||
function-name-hint=[a-z_][a-z0-9_]{2,30}$
|
||||
|
||||
# Regular expression matching correct variable names
|
||||
variable-rgx=[a-z_][a-z0-9_]{2,30}$
|
||||
|
||||
# Naming hint for variable names
|
||||
variable-name-hint=[a-z_][a-z0-9_]{2,30}$
|
||||
|
||||
# Regular expression matching correct constant names
|
||||
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
|
||||
|
||||
# Naming hint for constant names
|
||||
const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
|
||||
|
||||
# Regular expression matching correct attribute names
|
||||
attr-rgx=[a-z_][a-z0-9_]{2,30}$
|
||||
|
||||
# Naming hint for attribute names
|
||||
attr-name-hint=[a-z_][a-z0-9_]{2,30}$
|
||||
|
||||
# Regular expression matching correct argument names
|
||||
argument-rgx=[a-z_][a-z0-9_]{2,30}$
|
||||
|
||||
# Naming hint for argument names
|
||||
argument-name-hint=[a-z_][a-z0-9_]{2,30}$
|
||||
|
||||
# Regular expression matching correct class attribute names
|
||||
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
|
||||
|
||||
# Naming hint for class attribute names
|
||||
class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
|
||||
|
||||
# Regular expression matching correct inline iteration names
|
||||
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
|
||||
|
||||
# Naming hint for inline iteration names
|
||||
inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
|
||||
|
||||
# Regular expression matching correct class names
|
||||
class-rgx=[A-Z_][a-zA-Z0-9]+$
|
||||
|
||||
# Naming hint for class names
|
||||
class-name-hint=[A-Z_][a-zA-Z0-9]+$
|
||||
|
||||
# Regular expression matching correct module names
|
||||
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
|
||||
|
||||
# Naming hint for module names
|
||||
module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
|
||||
|
||||
# Regular expression matching correct method names
|
||||
method-rgx=[a-z_][a-z0-9_]{2,40}$
|
||||
|
||||
# Naming hint for method names
|
||||
method-name-hint=[a-z_][a-z0-9_]{2,30}$
|
||||
|
||||
# Regular expression which should only match function or class names that do
|
||||
# not require a docstring.
|
||||
no-docstring-rgx=__.*__
|
||||
|
||||
# Minimum line length for functions/classes that require docstrings, shorter
|
||||
# ones are exempt.
|
||||
docstring-min-length=-1
|
||||
|
||||
|
||||
[ELIF]
|
||||
|
||||
# Maximum number of nested blocks for function / method body
|
||||
max-nested-blocks=5
|
||||
|
||||
|
||||
[LOGGING]
|
||||
|
||||
# Logging modules to check that the string format arguments are in logging
|
||||
# function parameter format
|
||||
logging-modules=logging
|
||||
|
||||
|
||||
[FORMAT]
|
||||
|
||||
# Maximum number of characters on a single line.
|
||||
max-line-length=120
|
||||
|
||||
# Regexp for a line that is allowed to be longer than the limit.
|
||||
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
|
||||
|
||||
# Allow the body of an if to be on the same line as the test if there is no
|
||||
# else.
|
||||
single-line-if-stmt=no
|
||||
|
||||
# List of optional constructs for which whitespace checking is disabled. `dict-
|
||||
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
|
||||
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
|
||||
# `empty-line` allows space-only lines.
|
||||
no-space-check=trailing-comma,dict-separator
|
||||
|
||||
# Maximum number of lines in a module
|
||||
max-module-lines=1550
|
||||
|
||||
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
|
||||
# tab).
|
||||
indent-string=' '
|
||||
|
||||
# Number of spaces of indent required inside a hanging or continued line.
|
||||
indent-after-paren=4
|
||||
|
||||
# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
|
||||
expected-line-ending-format=LF
|
||||
|
||||
|
||||
[MISCELLANEOUS]
|
||||
|
||||
# List of note tags to take in consideration, separated by a comma.
|
||||
notes=FIXME,XXX,TODO
|
||||
|
||||
|
||||
[VARIABLES]
|
||||
|
||||
# Tells whether we should check for unused import in __init__ files.
|
||||
init-import=no
|
||||
|
||||
# A regular expression matching the name of dummy variables (i.e. expectedly
|
||||
# not used).
|
||||
dummy-variables-rgx=_$|dummy
|
||||
|
||||
# List of additional names supposed to be defined in builtins. Remember that
|
||||
# you should avoid to define new builtins when possible.
|
||||
additional-builtins=_,_n,__request__,WindowsError
|
||||
|
||||
# List of strings which can identify a callback function by name. A callback
|
||||
# name must start or end with one of those strings.
|
||||
callbacks=cb_,_cb
|
||||
|
||||
# List of qualified module names which can have objects that can redefine
|
||||
# builtins.
|
||||
redefining-builtins-modules=
|
||||
|
||||
|
||||
[TYPECHECK]
|
||||
|
||||
# Tells whether missing members accessed in mixin class should be ignored. A
|
||||
# mixin class is detected if its name ends with "mixin" (case insensitive).
|
||||
ignore-mixin-members=yes
|
||||
|
||||
# List of module names for which member attributes should not be checked
|
||||
# (useful for modules/projects where namespaces are manipulated during runtime
|
||||
# and thus existing member attributes cannot be deduced by static analysis. It
|
||||
# supports qualified module names, as well as Unix pattern matching.
|
||||
ignored-modules=
|
||||
|
||||
# List of class names for which member attributes should not be checked (useful
|
||||
# for classes with dynamically set attributes). This supports the use of
|
||||
# qualified names.
|
||||
ignored-classes=SQLObject,twisted.internet.reactor
|
||||
|
||||
# List of members which are set dynamically and missed by pylint inference
|
||||
# system, and so shouldn't trigger E1101 when accessed. Python regular
|
||||
# expressions are accepted.
|
||||
generated-members=REQUEST,acl_users,aq_parent
|
||||
|
||||
# List of decorators that produce context managers, such as
|
||||
# contextlib.contextmanager. Add to this list to register other decorators that
|
||||
# produce valid context managers.
|
||||
contextmanager-decorators=contextlib.contextmanager
|
||||
|
||||
|
||||
[SIMILARITIES]
|
||||
|
||||
# Minimum lines number of a similarity.
|
||||
min-similarity-lines=4
|
||||
|
||||
# Ignore comments when computing similarities.
|
||||
ignore-comments=yes
|
||||
|
||||
# Ignore docstrings when computing similarities.
|
||||
ignore-docstrings=yes
|
||||
|
||||
# Ignore imports when computing similarities.
|
||||
ignore-imports=no
|
||||
|
||||
|
||||
[IMPORTS]
|
||||
|
||||
# Deprecated modules which should not be used, separated by a comma
|
||||
deprecated-modules=regsub,TERMIOS,Bastion,rexec
|
||||
|
||||
# Create a graph of every (i.e. internal and external) dependencies in the
|
||||
# given file (report RP0402 must not be disabled)
|
||||
import-graph=
|
||||
|
||||
# Create a graph of external dependencies in the given file (report RP0402 must
|
||||
# not be disabled)
|
||||
ext-import-graph=
|
||||
|
||||
# Create a graph of internal dependencies in the given file (report RP0402 must
|
||||
# not be disabled)
|
||||
int-import-graph=
|
||||
|
||||
# Force import order to recognize a module as part of the standard
|
||||
# compatibility libraries.
|
||||
known-standard-library=
|
||||
|
||||
# Force import order to recognize a module as part of a third party library.
|
||||
known-third-party=enchant
|
||||
|
||||
|
||||
[DESIGN]
|
||||
|
||||
# Maximum number of arguments for function / method
|
||||
max-args=7
|
||||
|
||||
# Argument names that match this expression will be ignored. Default to name
|
||||
# with leading underscore
|
||||
ignored-argument-names=_.*
|
||||
|
||||
# Maximum number of locals for function / method body
|
||||
max-locals=15
|
||||
|
||||
# Maximum number of return / yield for function / method body
|
||||
max-returns=6
|
||||
|
||||
# Maximum number of branch for function / method body
|
||||
max-branches=12
|
||||
|
||||
# Maximum number of statements in function / method body
|
||||
max-statements=50
|
||||
|
||||
# Maximum number of parents for a class (see R0901).
|
||||
max-parents=7
|
||||
|
||||
# Maximum number of attributes for a class (see R0902).
|
||||
max-attributes=7
|
||||
|
||||
# Minimum number of public methods for a class (see R0903).
|
||||
min-public-methods=2
|
||||
|
||||
# Maximum number of public methods for a class (see R0904).
|
||||
max-public-methods=20
|
||||
|
||||
# Maximum number of boolean expressions in a if statement
|
||||
max-bool-expr=5
|
||||
|
||||
|
||||
[CLASSES]
|
||||
|
||||
# List of method names used to declare (i.e. assign) instance attributes.
|
||||
defining-attr-methods=__init__,__new__,setUp
|
||||
|
||||
# List of valid names for the first argument in a class method.
|
||||
valid-classmethod-first-arg=cls
|
||||
|
||||
# List of valid names for the first argument in a metaclass class method.
|
||||
valid-metaclass-classmethod-first-arg=mcs
|
||||
|
||||
# List of member names, which should be excluded from the protected access
|
||||
# warning.
|
||||
exclude-protected=_asdict,_fields,_replace,_source,_make
|
||||
|
||||
|
||||
[EXCEPTIONS]
|
||||
|
||||
# Exceptions that will emit a warning when being caught. Defaults to
|
||||
# "Exception"
|
||||
overgeneral-exceptions=Exception
|
||||
22
.readthedocs.yml
Normal file
@ -0,0 +1,22 @@
|
||||
# .readthedocs.yml
|
||||
# Read the Docs configuration file
|
||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||
|
||||
# Required
|
||||
version: 2
|
||||
|
||||
# Build documentation in the docs/ directory with Sphinx
|
||||
sphinx:
|
||||
configuration: docs/source/conf.py
|
||||
|
||||
# Optionally build your docs in additional formats such as PDF and ePub
|
||||
formats: all
|
||||
|
||||
# Optionally set the version of Python and requirements required to build your docs
|
||||
python:
|
||||
version: 3.7
|
||||
install:
|
||||
- requirements: requirements.txt
|
||||
- requirements: docs/requirements.txt
|
||||
- method: setuptools
|
||||
path: .
|
||||
790
AUTHORS
Normal file
@ -0,0 +1,790 @@
|
||||
Authors:
|
||||
* Andrew Resch ('andar') <andrewresch@gmail.com>
|
||||
* Damien Churchill ('damoxc') <damoxc@gmail.com>
|
||||
|
||||
Main Developers:
|
||||
* Andrew Resch
|
||||
* Damien Churchill
|
||||
* John Garland ('johnnyg') <johnnybg+deluge@gmail.com>
|
||||
* Calum Lind ('cas') <calumlind+deluge@gmail.com>
|
||||
|
||||
libtorrent (http://www.libtorrent.org):
|
||||
* Arvid Norberg
|
||||
|
||||
Contributors (and Past Developers):
|
||||
* Zach Tibbitts <zach@collegegeek.org>
|
||||
* Alon Zakai ('Kripken') <kripkensteiner@gmail.com>
|
||||
* Marcos Mobley ('markybob') <markybob@gmail.com>
|
||||
* Alex Dedul
|
||||
* Sadrul Habib Chowdhury
|
||||
* Ido Abramovich <ido.deluge@gmail.com>
|
||||
* Martijn Voncken <mvoncken@gmail.com>
|
||||
* Mark Stahler ('kramed') <markstahler@gmail.com>
|
||||
* Pedro Algarvio ('s0undt3ch') <ufs@ufsoft.org>
|
||||
* Cristian Greco ('cgreco') <cristian@regolo.cc>
|
||||
* Chase Sterling ('gazpachoKing') <chase.sterling@gmail.com>
|
||||
|
||||
Plugin Developers:
|
||||
* Autoadd : Chase Sterling
|
||||
* Blocklist : John Garland
|
||||
* Execute : Damien Churchill
|
||||
* Extractor : Andrew Resch
|
||||
* Label : Martijn Voncken
|
||||
* Notifications : Pedro Algarvio
|
||||
* Scheduler : Andrew Resch
|
||||
* Webui : Damien Churchill
|
||||
|
||||
Images Authors:
|
||||
|
||||
* files: deluge/ui/data/pixmaps/*.svg, *.png
|
||||
deluge/ui/web/icons/active.png, alert.png, all.png, checking.png, dht.png,
|
||||
downloading.png, inactive.png, queued.png, seeding.png, traffic.png
|
||||
deluge/ui/web/images/deluge*.png
|
||||
deluge/ui/web/icons/apple-pre-*.png, deluge*.png
|
||||
copyright: Calum Lind
|
||||
license: GPLv3
|
||||
|
||||
* files: deluge/plugins/blocklist/blocklist/data/*.png
|
||||
deluge/ui/data/pixmaps/tracker_warning16.png, tracker_all16.png, lock48.png
|
||||
copyright: Gnome Icon Theme
|
||||
license: GPLv2
|
||||
url: http://ftp.acc.umu.se/pub/GNOME/sources/gnome-icon-theme
|
||||
|
||||
* files: deluge/ui/data/pixmaps/magnet*.svg, *.png
|
||||
copyright: Matias Wilkman
|
||||
license:
|
||||
|
||||
* files: deluge/ui/data/pixmaps/flags/*.png
|
||||
copyright: Mark James <mjames@gmail.com>
|
||||
license: Public Domain
|
||||
url: http://famfamfam.com/lab/icons/flags/
|
||||
|
||||
* files: deluge/ui/web/icons/*.png
|
||||
exceptions: apple-pre-*.png, active.png, alert.png, all.png, deluge.png, dht.png,
|
||||
downloading.png, inactive.png, queued.png, seeding.png, traffic.png
|
||||
copyright: Yusuke Kamiyamane <p@yusukekamiyamane.com>
|
||||
license: Creative Commons Attribution 3.0 License
|
||||
url: http://p.yusukekamiyamane.com/
|
||||
|
||||
* files: deluge/ui/web/images/spinner.gif, spinner-split.gif
|
||||
copyright: Steven Chim
|
||||
license: BSD license
|
||||
url: http://members.upc.nl/j.chim/ext/spinner2/ext-spinner.html
|
||||
|
||||
Translation Contributors:
|
||||
* files: deluge/i18n/*.po
|
||||
|
||||
Aaron Wang Shi
|
||||
abbigss
|
||||
ABCdatos
|
||||
Abcx
|
||||
Actam
|
||||
Adam
|
||||
adaminikisi
|
||||
adi_oporanu
|
||||
Adrian Goll
|
||||
afby
|
||||
Ahmades
|
||||
Ahmad Farghal
|
||||
Ahmad Gharbeia أحمد غربية
|
||||
akira
|
||||
Aki Sivula
|
||||
Alan Pepelko
|
||||
Alberto
|
||||
Alberto Ferrer
|
||||
alcatr4z
|
||||
AlckO
|
||||
Aleksej Korgenkov
|
||||
Alessio Treglia
|
||||
Alexander Ilyashov
|
||||
Alexander Matveev
|
||||
Alexander Saltykov
|
||||
Alexander Taubenkorb
|
||||
Alexander Telenga
|
||||
Alexander Yurtsev
|
||||
Alexandre Martani
|
||||
Alexandre Rosenfeld
|
||||
Alexandre Sapata Carbonell
|
||||
Alexey Osipov
|
||||
Alin Claudiu Radut
|
||||
allah
|
||||
AlSim
|
||||
Alvaro Carrillanca P.
|
||||
A.Matveev
|
||||
Andras Hipsag
|
||||
András Kárász
|
||||
Andrea Ratto
|
||||
Andreas Johansson
|
||||
Andreas Str
|
||||
André F. Oliveira
|
||||
AndreiF
|
||||
andrewh
|
||||
Angel Guzman Maeso
|
||||
Aníbal Deboni Neto
|
||||
animarval
|
||||
Antonio Cono
|
||||
antoniojreyes
|
||||
Anton Shestakov
|
||||
Anton Yakutovich
|
||||
antou
|
||||
Arkadiusz Kalinowski
|
||||
Artin
|
||||
artir
|
||||
Astur
|
||||
Athanasios Lefteris
|
||||
Athmane MOKRAOUI (ButterflyOfFire)
|
||||
Augusta Carla Klug
|
||||
Avoledo Marco
|
||||
axaard
|
||||
AxelRafn
|
||||
Axezium
|
||||
Ayont
|
||||
b3rx
|
||||
Bae Taegil
|
||||
Bajusz Tamás
|
||||
Balaam's Miracle
|
||||
Ballestein
|
||||
Bent Ole Fosse
|
||||
berto89
|
||||
bigx
|
||||
Bjorn Inge Berg
|
||||
blackbird
|
||||
Blackeyed
|
||||
blackmx
|
||||
BlueSky
|
||||
Blutheo
|
||||
bmhm
|
||||
bob00work
|
||||
boenki
|
||||
Bogdan Bădic-Spătariu
|
||||
bonpu
|
||||
Boone
|
||||
boss01
|
||||
Branislav Jovanović
|
||||
bronze
|
||||
brownie
|
||||
Brus46
|
||||
bumper
|
||||
butely
|
||||
BXCracer
|
||||
c0nfidencal
|
||||
Can Kaya
|
||||
Carlos Alexandro Becker
|
||||
cassianoleal
|
||||
Cédric.h
|
||||
César Rubén
|
||||
chaoswizard
|
||||
Chen Tao
|
||||
chicha
|
||||
Chien Cheng Wei
|
||||
Christian Kopac
|
||||
Christian Widell
|
||||
Christoffer Brodd-Reijer
|
||||
christooss
|
||||
CityAceE
|
||||
Clopy
|
||||
Clusty
|
||||
cnu
|
||||
Commandant
|
||||
Constantinos Koniaris
|
||||
Coolmax
|
||||
cosmix
|
||||
Costin Chirvasuta
|
||||
CoVaLiDiTy
|
||||
cow_2001
|
||||
Crispin Kirchner
|
||||
crom
|
||||
Cruster
|
||||
Cybolic
|
||||
Dan Bishop
|
||||
Danek
|
||||
Dani
|
||||
Daniel Demarco
|
||||
Daniel Ferreira
|
||||
Daniel Frank
|
||||
Daniel Holm
|
||||
Daniel Høyer Iversen
|
||||
Daniel Marynicz
|
||||
Daniel Nylander
|
||||
Daniel Patriche
|
||||
Daniel Schildt
|
||||
Daniil Sorokin
|
||||
Dante Díaz
|
||||
Daria Michalska
|
||||
DarkenCZ
|
||||
Darren
|
||||
Daspah
|
||||
David Eurenius
|
||||
davidhjelm
|
||||
David Machakhelidze
|
||||
Dawid Dziurdzia
|
||||
Daya Adianto
|
||||
dcruz
|
||||
Deady
|
||||
Dereck Wonnacott
|
||||
Devgru
|
||||
Devid Antonio FiloniDevilDogTG
|
||||
di0rz`
|
||||
Dialecti Valsamou
|
||||
Diego Medeiros
|
||||
Dkzoffy
|
||||
Dmitrij D. Czarkoff
|
||||
Dmitriy Geels
|
||||
Dmitry Olyenyov
|
||||
Dominik Kozaczko
|
||||
Dominik Lübben
|
||||
doomster
|
||||
Dorota Król
|
||||
Doyen Philippe
|
||||
Dread Knight
|
||||
DreamSonic
|
||||
duan
|
||||
Duong Thanh An
|
||||
DvoglavaZver
|
||||
dwori
|
||||
dylansmrjones
|
||||
Ebuntor
|
||||
Edgar Alejandro Jarquin Flores
|
||||
Eetu
|
||||
ekerazha
|
||||
Elias Julkunen
|
||||
elparia
|
||||
Emberke
|
||||
Emiliano Goday Caneda
|
||||
EndelWar
|
||||
eng.essam
|
||||
enubuntu
|
||||
ercangun
|
||||
Erdal Ronahi
|
||||
ergin üresin
|
||||
Eric
|
||||
Éric Lassauge
|
||||
Erlend Finvåg
|
||||
Errdil
|
||||
ethan shalev
|
||||
Evgeni Spasov
|
||||
ezekielnin
|
||||
Fabian Ordelmans
|
||||
Fabio Mazanatti
|
||||
Fábio Nogueira
|
||||
FaCuZ
|
||||
Felipe Lerena
|
||||
Fernando Pereira
|
||||
fjetland
|
||||
Florian Schäfer
|
||||
FoBoS
|
||||
Folke
|
||||
Force
|
||||
fosk
|
||||
fragarray
|
||||
freddeg
|
||||
Frédéric Perrin
|
||||
Fredrik Kilegran
|
||||
FreeAtMind
|
||||
Fulvio Ciucci
|
||||
Gabor Kelemen
|
||||
Galatsanos Panagiotis
|
||||
Gaussian
|
||||
gdevitis
|
||||
Georg Brzyk
|
||||
George Dumitrescu
|
||||
Georgi Arabadjiev
|
||||
Georg Sieber
|
||||
Gerd Radecke
|
||||
Germán Heusdens
|
||||
Gianni Vialetto
|
||||
Gigih Aji Ibrahim
|
||||
Giorgio Wicklein
|
||||
Giovanni Rapagnani
|
||||
Giuseppe
|
||||
gl
|
||||
glen
|
||||
granjerox
|
||||
Green Fish
|
||||
greentea
|
||||
Greyhound
|
||||
G. U.
|
||||
Guillaume BENOIT
|
||||
Guillaume Pelletier
|
||||
Gustavo Henrique Klug
|
||||
gutocarvalho
|
||||
Guybrush88
|
||||
Hans Rødtang
|
||||
HardDisk
|
||||
Hargas Gábor
|
||||
Heitor Thury Barreiros Barbosa
|
||||
helios91940
|
||||
helix84
|
||||
Helton Rodrigues
|
||||
Hendrik Luup
|
||||
Henrique Ferreiro
|
||||
Henry Goury-Laffont
|
||||
Hezy Amiel
|
||||
hidro
|
||||
hoball
|
||||
hokten
|
||||
Holmsss
|
||||
hristo.num
|
||||
Hubert Życiński
|
||||
Hyo
|
||||
Iarwain
|
||||
ibe
|
||||
ibear
|
||||
Id2ndR
|
||||
Igor Zubarev
|
||||
IKON (Ion)
|
||||
imen
|
||||
Ionuț Jula
|
||||
Isabelle STEVANT
|
||||
István Nyitrai
|
||||
Ivan Petrovic
|
||||
Ivan Prignano
|
||||
IvaSerge
|
||||
jackmc
|
||||
Jacks0nxD
|
||||
Jack Shen
|
||||
Jacky Yeung
|
||||
Jacques Stadler
|
||||
Janek Thomaschewski
|
||||
Jan Kaláb
|
||||
Jan Niklas Hasse
|
||||
Jasper Groenewegen
|
||||
Javi Rodríguez
|
||||
Jayasimha (ಜಯಸಿಂಹ)
|
||||
jeannich
|
||||
Jeff Bailes
|
||||
Jesse Zilstorff
|
||||
Joan Duran
|
||||
João Santos
|
||||
Joar Bagge
|
||||
Joe Anderson
|
||||
Joel Calado
|
||||
Johan Linde
|
||||
John Garland
|
||||
Jojan
|
||||
jollyr0ger
|
||||
Jonas Bo Grimsgaard
|
||||
Jonas Granqvist
|
||||
Jonas Slivka
|
||||
Jonathan Zeppettini
|
||||
Jørgen
|
||||
Jørgen Tellnes
|
||||
josé
|
||||
José Geraldo Gouvêa
|
||||
José Iván León Islas
|
||||
José Lou C.
|
||||
Jose Sun
|
||||
Jr.
|
||||
Jukka Kauppinen
|
||||
Julián Alarcón
|
||||
julietgolf
|
||||
Jusic
|
||||
Justzupi
|
||||
Kaarel
|
||||
Kai Thomsen
|
||||
Kalman Tarnay
|
||||
Kamil Páral
|
||||
Kane_F
|
||||
kaotiks@gmail.com
|
||||
Kateikyoushii
|
||||
kaxhinaz
|
||||
Kazuhiro NISHIYAMA
|
||||
Kerberos
|
||||
Keresztes Ákos
|
||||
kevintyk
|
||||
kiersie
|
||||
Kimbo^
|
||||
Kim Lübbe
|
||||
kitzOgen
|
||||
Kjetil Rydland
|
||||
kluon
|
||||
kmikz
|
||||
Knedlyk
|
||||
koleoptero
|
||||
Kőrösi Krisztián
|
||||
Kouta
|
||||
Krakatos
|
||||
Krešo Kunjas
|
||||
kripken
|
||||
Kristaps
|
||||
Kristian Øllegaard
|
||||
Kristoffer Egil Bonarjee
|
||||
Krzysztof Janowski
|
||||
Krzysztof Zawada
|
||||
Larry Wei Liu
|
||||
laughterwym
|
||||
Laur Mõtus
|
||||
lazka
|
||||
leandrud
|
||||
lê bình
|
||||
Le Coz Florent
|
||||
Leo
|
||||
liorda
|
||||
LKRaider
|
||||
LoLo_SaG
|
||||
Long Tran
|
||||
Lorenz
|
||||
Low Kian Seong
|
||||
Luca Andrea Rossi
|
||||
Luca Ferretti
|
||||
Lucky LIX
|
||||
Luis Gomes
|
||||
Luis Reis
|
||||
Łukasz Wyszyński
|
||||
luojie-dune
|
||||
maaark
|
||||
Maciej Chojnacki
|
||||
Maciej Meller
|
||||
Mads Peter Rommedahl
|
||||
Major Kong
|
||||
Malaki
|
||||
malde
|
||||
Malte Lenz
|
||||
Mantas Kriaučiūnas
|
||||
Mara Sorella
|
||||
Marcin
|
||||
Marcin Falkiewicz
|
||||
marcobra
|
||||
Marco da Silva
|
||||
Marco de Moulin
|
||||
Marco Rodrigues
|
||||
Marcos
|
||||
Marcos Escalier
|
||||
Marcos Mobley
|
||||
Marcus Ekstrom
|
||||
Marek Dębowski
|
||||
Mário Buči
|
||||
Mario Munda
|
||||
Marius Andersen
|
||||
Marius Hudea
|
||||
Marius Mihai
|
||||
Mariusz Cielecki
|
||||
Mark Krapivner
|
||||
marko-markovic
|
||||
Markus Brummer
|
||||
Markus Sutter
|
||||
Martin
|
||||
Martin Dybdal
|
||||
Martin Iglesias
|
||||
Martin Lettner
|
||||
Martin Pihl
|
||||
Masoud Kalali
|
||||
mat02
|
||||
Matej Urbančič
|
||||
Mathias-K
|
||||
Mathieu Arès
|
||||
Mathieu D. (MatToufoutu)
|
||||
Mathijs
|
||||
Matrik
|
||||
Matteo Renzulli
|
||||
Matteo Settenvini
|
||||
Matthew Gadd
|
||||
Matthias Benkard
|
||||
Matthias Mailänder
|
||||
Mattias Ohlsson
|
||||
Mauro de Carvalho
|
||||
Max Molchanov
|
||||
Me
|
||||
MercuryCC
|
||||
Mert Bozkurt
|
||||
Mert Dirik
|
||||
MFX
|
||||
mhietar
|
||||
mibtha
|
||||
Michael Budde
|
||||
Michael Kaliszka
|
||||
Michalis Makaronides
|
||||
Michał Tokarczyk
|
||||
Miguel Pires da Rosa
|
||||
Mihai Capotă
|
||||
Miika Metsälä
|
||||
Mikael Fernblad
|
||||
Mike Sierra
|
||||
mikhalek
|
||||
Milan Prvulović
|
||||
Milo Casagrande
|
||||
Mindaugas
|
||||
Miroslav Matejaš
|
||||
misel
|
||||
mithras
|
||||
Mitja Pagon
|
||||
M.Kitchen
|
||||
Mohamed Magdy
|
||||
moonkey
|
||||
MrBlonde
|
||||
muczy
|
||||
Münir Ekinci
|
||||
Mustafa Temizel
|
||||
mvoncken
|
||||
Mytonn
|
||||
NagyMarton
|
||||
neaion
|
||||
Neil Lin
|
||||
Nemo
|
||||
Nerijus Arlauskas
|
||||
Nicklas Larsson
|
||||
Nicolaj Wyke
|
||||
Nicola Piovesan
|
||||
Nicolas Sabatier
|
||||
Nicolas Velin
|
||||
Nightfall
|
||||
NiKoB
|
||||
Nikolai M. Riabov
|
||||
Niko_Thien
|
||||
niska
|
||||
Nithir
|
||||
noisemonkey
|
||||
nomemohes
|
||||
nosense
|
||||
null
|
||||
Nuno Estêvão
|
||||
Nuno Santos
|
||||
nxxs
|
||||
nyo
|
||||
obo
|
||||
Ojan
|
||||
Olav Andreas Lindekleiv
|
||||
oldbeggar
|
||||
Olivier FAURAX
|
||||
orphe
|
||||
osantana
|
||||
Osman Tosun
|
||||
OssiR
|
||||
otypoks
|
||||
ounn
|
||||
Oz123
|
||||
Özgür BASKIN
|
||||
Pablo Carmona A.
|
||||
Pablo Ledesma
|
||||
Pablo Navarro Castillo
|
||||
Paco Molinero
|
||||
Pål-Eivind Johnsen
|
||||
pano
|
||||
Paolo Naldini
|
||||
Paracelsus
|
||||
Patryk13_03
|
||||
Patryk Skorupa
|
||||
PattogoTehen
|
||||
Paul Lange
|
||||
Pavcio
|
||||
Paweł Wysocki
|
||||
Pedro Brites Moita
|
||||
Pedro Clemente Pereira Neto
|
||||
Pekka "PEXI" Niemistö
|
||||
Penegal
|
||||
Penzo
|
||||
perdido
|
||||
Peter Kotrcka
|
||||
Peter Skov
|
||||
Peter Van den Bosch
|
||||
Petter Eklund
|
||||
Petter Viklund
|
||||
phatsphere
|
||||
Phenomen
|
||||
Philipi
|
||||
Philippides Homer
|
||||
phoenix
|
||||
pidi
|
||||
Pierre Quillery
|
||||
Pierre Rudloff
|
||||
Pierre Slamich
|
||||
Pietrao
|
||||
Piotr Strębski
|
||||
Piotr Wicijowski
|
||||
Pittmann Tamás
|
||||
Playmolas
|
||||
Prescott
|
||||
Prescott_SK
|
||||
pronull
|
||||
Przemysław Kulczycki
|
||||
Pumy
|
||||
pushpika
|
||||
PY
|
||||
qubicllj
|
||||
r21vo
|
||||
Rafał Barański
|
||||
rainofchaos
|
||||
Rajbir
|
||||
ras0ir
|
||||
Rat
|
||||
rd1381
|
||||
Renato
|
||||
Rene Hennig
|
||||
Rene Pärts
|
||||
Ricardo Duarte
|
||||
Richard
|
||||
Robert Hrovat
|
||||
Roberth Sjonøy
|
||||
Robert Lundmark
|
||||
Robin Jakobsson
|
||||
Robin Kåveland
|
||||
Rodrigo Donado
|
||||
Roel Groeneveld
|
||||
rohmaru
|
||||
Rolf Christensen
|
||||
Rolf Leggewie
|
||||
Roni Kantis
|
||||
Ronmi
|
||||
Rostislav Raykov
|
||||
royto
|
||||
RuiAmaro
|
||||
Rui Araújo
|
||||
Rui Moura
|
||||
Rune Svendsen
|
||||
Rusna
|
||||
Rytis
|
||||
Sabirov Mikhail
|
||||
salseeg
|
||||
Sami Koskinen
|
||||
Samir van de Sand
|
||||
Samuel Arroyo Acuña
|
||||
Samuel R. C. Vale
|
||||
Sanel
|
||||
Santi
|
||||
Santi Martínez Cantelli
|
||||
Sardan
|
||||
Sargate Kanogan
|
||||
Sarmad Jari
|
||||
Saša Bodiroža
|
||||
sat0shi
|
||||
Saulius Pranckevičius
|
||||
Savvas Radevic
|
||||
Sebastian Krauß
|
||||
Sebastián Porta
|
||||
Sedir
|
||||
Sefa Denizoğlu
|
||||
sekolands
|
||||
Selim Suerkan
|
||||
semsomi
|
||||
Sergii Golovatiuk
|
||||
setarcos
|
||||
Sheki
|
||||
Shironeko
|
||||
Shlomil
|
||||
silfiriel
|
||||
Simone Tolotti
|
||||
Simone Vendemia
|
||||
sirkubador
|
||||
Sławomir Więch
|
||||
slip
|
||||
slyon
|
||||
smoke
|
||||
Sonja
|
||||
spectral
|
||||
spin_555
|
||||
spitf1r3
|
||||
Spiziuz
|
||||
Spyros Theodoritsis
|
||||
SqUe
|
||||
Squigly
|
||||
srtck
|
||||
Stefan Horning
|
||||
Stefano Maggiolo
|
||||
Stefano Roberto Soleti
|
||||
steinberger
|
||||
Stéphane Travostino
|
||||
Stephan Klein
|
||||
Steven De Winter
|
||||
Stevie
|
||||
Stian24
|
||||
stylius
|
||||
Sukarn Maini
|
||||
Sunjae Park
|
||||
Susana Pereira
|
||||
szymon siglowy
|
||||
takercena
|
||||
TAS
|
||||
Taygeto
|
||||
temy4
|
||||
texxxxxx
|
||||
thamood
|
||||
Thanos Chatziathanassiou
|
||||
Tharawut Paripaiboon
|
||||
Theodoor
|
||||
Théophane Anestis
|
||||
Thor Marius K. Høgås
|
||||
Tiago Silva
|
||||
Tiago Sousa
|
||||
Tikkel
|
||||
tim__b
|
||||
Tim Bordemann
|
||||
Tim Fuchs
|
||||
Tim Kornhammar
|
||||
Timo
|
||||
Timo Jyrinki
|
||||
Timothy Babych
|
||||
TitkosRejtozo
|
||||
Tom
|
||||
Tomas Gustavsson
|
||||
Tomas Valentukevičius
|
||||
Tomasz Dominikowski
|
||||
Tomislav Plavčić
|
||||
Tom Mannerhagen
|
||||
Tommy Mikkelsen
|
||||
Tom Verdaat
|
||||
Tony Manco
|
||||
Tor Erling H. Opsahl
|
||||
Toudi
|
||||
tqm_z
|
||||
Trapanator
|
||||
Tribaal
|
||||
Triton
|
||||
TuniX12
|
||||
Tuomo Sipola
|
||||
turbojugend_gr
|
||||
Turtle.net
|
||||
twilight
|
||||
tymmej
|
||||
Ulrik
|
||||
Umarzuki Mochlis
|
||||
unikob
|
||||
Vadim Gusev
|
||||
Vagi
|
||||
Valentin Bora
|
||||
Valmantas Palikša
|
||||
VASKITTU
|
||||
Vassilis Skoullis
|
||||
vetal17
|
||||
vicedo
|
||||
viki
|
||||
villads hamann
|
||||
Vincent Garibal
|
||||
Vincent Ortalda
|
||||
vinchi007
|
||||
Vinícius de Figueiredo Silva
|
||||
Vinzenz Vietzke
|
||||
virtoo
|
||||
virtual_spirit
|
||||
Vitor Caike
|
||||
Vitor Lamas Gatti
|
||||
Vladimir Lazic
|
||||
Vladimir Sharshov
|
||||
Wanderlust
|
||||
Wander Nauta
|
||||
Ward De Ridder
|
||||
WebCrusader
|
||||
webdr
|
||||
Wentao Tang
|
||||
wilana
|
||||
Wilfredo Ernesto Guerrero Campos
|
||||
Wim Champagne
|
||||
World Sucks
|
||||
Xabi Ezpeleta
|
||||
Xavi de Moner
|
||||
XavierToo
|
||||
XChesser
|
||||
Xiaodong Xu
|
||||
xyb
|
||||
Yaron
|
||||
Yasen Pramatarov
|
||||
YesPoX
|
||||
Yuren Ju
|
||||
Yves MATHIEU
|
||||
zekopeko
|
||||
zhuqin
|
||||
Zissan
|
||||
Γιάννης Κατσαμπίρης
|
||||
Артём Попов
|
||||
Миша
|
||||
Шаймарданов Максим
|
||||
蔡查理
|
||||
259
CHANGELOG.md
Normal file
@ -0,0 +1,259 @@
|
||||
# Changelog
|
||||
|
||||
## 2.1.1 (2022-07-10)
|
||||
|
||||
### Core
|
||||
|
||||
- Fix missing trackers added via magnet
|
||||
- Fix handling magnets with tracker tiers
|
||||
|
||||
## 2.1.0 (2022-06-28)
|
||||
|
||||
### Breaking changes
|
||||
|
||||
- Python 2 support removed (Python >= 3.6)
|
||||
- libtorrent minimum requirement increased (>= 1.2).
|
||||
|
||||
### Core
|
||||
|
||||
- Add support for SVG tracker icons.
|
||||
- Fix tracker icon error handling.
|
||||
- Fix cleaning-up tracker icon temp files.
|
||||
- Fix Plugin manager to handle new metadata 2.1.
|
||||
- Hide passwords in config logs.
|
||||
- Fix cleaning-up temp files in add_torrent_url.
|
||||
- Fix KeyError in sessionproxy after torrent delete.
|
||||
- Remove libtorrent deprecated functions.
|
||||
- Fix file_completed_alert handling.
|
||||
- Add plugin keys to get_torrents_status.
|
||||
- Add support for pygeoip dependency.
|
||||
- Fix crash logging to Windows protected folder.
|
||||
- Add is_interface and is_interface_name to validate network interfaces.
|
||||
- Fix is_url and is_infohash error with None value.
|
||||
- Fix load_libintl error.
|
||||
- Add support for IPv6 in host lists.
|
||||
- Add systemd user services.
|
||||
- Fix refresh and expire the torrent status cache.
|
||||
- Fix crash when logging errors initializing gettext.
|
||||
|
||||
### Web UI
|
||||
|
||||
- Fix ETA column sorting in correct order (#3413).
|
||||
- Fix defining foreground and background colors.
|
||||
- Accept charset in content-type for json messages.
|
||||
- Fix 'Complete Seen' and 'Completed' sorting.
|
||||
- Fix encoding HTML entities for torrent attributes to prevent XSS.
|
||||
|
||||
### Gtk UI
|
||||
|
||||
- Fix download location textbox width.
|
||||
- Fix obscured port number in Connection Manager.
|
||||
- Increase connection manager default height.
|
||||
- Fix bug with setting move completed in Options tab.
|
||||
- Fix adding daemon accounts.
|
||||
- Add workaround for crash on Windows with ico or gif icons.
|
||||
- Hide account password length in log.
|
||||
- Added a torrent menu option for magnet copy.
|
||||
- Fix unable to prefetch magnet in thinclient mode.
|
||||
- Use GtkSpinner when testing open port.
|
||||
- Update About Dialog year.
|
||||
- Fix Edit Torrents dialogs close issues.
|
||||
- Fix ETA being copied to neighboring empty cells.
|
||||
- Disable GTK CSD by default on Windows.
|
||||
|
||||
### Console UI
|
||||
|
||||
- Fix curses.init_pair raise ValueError on Py3.10.
|
||||
- Swap j and k key's behavior to fit vim mode.
|
||||
- Fix torrent details status error.
|
||||
- Fix incorrect test for when a host is online.
|
||||
- Add the torrent label to info command.
|
||||
|
||||
### AutoAdd
|
||||
|
||||
- Fix handling torrent decode errors.
|
||||
- Fix error dialog not being shown on error.
|
||||
|
||||
### Blocklist
|
||||
|
||||
- Add frequency unit to interval label.
|
||||
|
||||
### Notifications
|
||||
|
||||
- Fix UnicodeEncodeError upon non-ascii torrent name.
|
||||
|
||||
## 2.0.5 (2021-12-15)
|
||||
|
||||
### WebUI
|
||||
|
||||
- Fix js minifying error resulting in WebUI blank screen.
|
||||
- Silence erronous missing translations warning.
|
||||
|
||||
## 2.0.4 (2021-12-12)
|
||||
|
||||
### Packaging
|
||||
|
||||
- Fix python optional setup.py requirements
|
||||
|
||||
### Gtk UI
|
||||
|
||||
- Add detection of torrent URL on GTK UI focus
|
||||
- Fix piecesbar crashing when enabled
|
||||
- Remove num_blocks_cache_hits in stats
|
||||
- Fix unhandled error with empty clipboard
|
||||
- Add torrentdetails tabs position menu (#3441)
|
||||
- Hide pygame community banner in console
|
||||
- Fix cmp function for None types (#3309)
|
||||
- Fix loading config with double-quotes in string
|
||||
- Fix Status tab download speed and uploaded
|
||||
|
||||
### Web UI
|
||||
|
||||
- Handle torrent add failures
|
||||
- Add menu option to copy magnet URI
|
||||
- Fix md5sums in torrent files breaking file listing (#3388)
|
||||
- Add country flag alt/title for accessibility
|
||||
|
||||
### Console UI
|
||||
|
||||
- Fix allowing use of windows-curses on Windows
|
||||
- Fix hostlist status lookup errors
|
||||
- Fix AttributeError setting config values
|
||||
- Fix setting 'Skip' priority
|
||||
|
||||
### Core
|
||||
|
||||
- Add workaround libtorrent 2.0 file_progress error
|
||||
- Fix allow enabling any plugin Python version
|
||||
- Export torrent get_magnet_uri method
|
||||
- Fix loading magnet with resume_data and no metadata (#3478)
|
||||
- Fix httpdownloader reencoding torrent file downloads (#3440)
|
||||
- Fix lt listen_interfaces not comma-separated (#3337)
|
||||
- Fix unable to remove magnet with delete_copies enabled (#3325)
|
||||
- Fix Python 3.8 compatibility
|
||||
- Fix loading config with double-quotes in string
|
||||
- Fix pickle loading non-ascii state error (#3298)
|
||||
- Fix creation of pidfile via command option
|
||||
- Fix for peer.client UnicodeDecodeError
|
||||
- Fix show_file unhandled dbus error
|
||||
|
||||
### Documentation
|
||||
|
||||
- Add How-to guides about services.
|
||||
|
||||
### Stats plugin
|
||||
|
||||
- Fix constant session status key warnings
|
||||
- Fix cairo error
|
||||
|
||||
### Notifications plugin
|
||||
|
||||
- Fix email KeyError with status name
|
||||
- Fix unhandled TypeErrors on Python 3
|
||||
|
||||
### Autoadd plugin
|
||||
|
||||
- Fix magnet missing applied labels
|
||||
|
||||
### Execute plugin
|
||||
|
||||
- Fix failing to run on Windows (#3439)
|
||||
|
||||
## 2.0.3 (2019-06-12)
|
||||
|
||||
### Gtk UI
|
||||
|
||||
- Fix errors running on Wayland (#3265).
|
||||
- Fix Peers Tab tooltip and context menu errors (#3266).
|
||||
|
||||
### Web UI
|
||||
|
||||
- Fix TypeError in Peers Tab setting country flag.
|
||||
- Fix reverse proxy header TypeError (#3260).
|
||||
- Fix request.base 'idna' codec error (#3261).
|
||||
- Fix unable to change password (#3262).
|
||||
|
||||
### Extractor plugin
|
||||
|
||||
- Fix potential error starting plugin.
|
||||
|
||||
### Documentation
|
||||
|
||||
- Fix macOS install typo.
|
||||
- Fix Windows install instructions.
|
||||
|
||||
## 2.0.2 (2019-06-08)
|
||||
|
||||
### Packaging
|
||||
|
||||
- Add systemd deluged and deluge-web service files to package tarball (#2034)
|
||||
|
||||
### Core
|
||||
|
||||
- Fix Python 2 compatibility issue with SimpleNamespace.
|
||||
|
||||
## 2.0.1 (2019-06-07)
|
||||
|
||||
### Packaging
|
||||
|
||||
- Fix `setup.py` build error without git installed.
|
||||
|
||||
## 2.0.0 (2019-06-06)
|
||||
|
||||
### Codebase
|
||||
|
||||
- Ported to Python 3
|
||||
|
||||
### Core
|
||||
|
||||
- Improved Logging
|
||||
- Removed the AutoAdd feature on the core. It's now handled with the AutoAdd
|
||||
plugin, which is also shipped with Deluge, and it does a better job and
|
||||
now, it even supports multiple users perfectly.
|
||||
- Authentication/Permission exceptions are now sent to clients and recreated
|
||||
there to allow acting upon them.
|
||||
- Updated SSL/TLS Protocol parameters for better security.
|
||||
- Make the distinction between adding to the session new unmanaged torrents
|
||||
and torrents loaded from state. This will break backwards compatibility.
|
||||
- Pass a copy of an event instead of passing the event arguments to the
|
||||
event handlers. This will break backwards compatibility.
|
||||
- Allow changing ownership of torrents.
|
||||
- File modifications on the auth file are now detected and when they happen,
|
||||
the file is reloaded. Upon finding an old auth file with an old format, an
|
||||
upgrade to the new format is made, file saved, and reloaded.
|
||||
- Authentication no longer requires a username/password. If one or both of
|
||||
these is missing, an authentication error will be sent to the client
|
||||
which should then ask the username/password to the user.
|
||||
- Implemented sequential downloads.
|
||||
- Provide information about a torrent's pieces states
|
||||
- Add Option To Specify Outgoing Connection Interface.
|
||||
- Fix potential for host_id collision when creating hostlist entries.
|
||||
|
||||
### Gtk UI
|
||||
|
||||
- Ported to GTK3 (3rd-party plugins will need updated).
|
||||
- Allow changing ownership of torrents.
|
||||
- Host entries in the Connection Manager UI are now editable.
|
||||
- Implemented sequential downloads UI handling.
|
||||
- Add optional pieces bar instead of a regular progress bar in torrent status tab.
|
||||
- Make torrent opening compatible with all Unicode paths.
|
||||
- Fix magnet association button on Windows.
|
||||
- Add keyboard shortcuts for changing queue position:
|
||||
- Up: `Ctrl+Alt+Up`
|
||||
- Down: `Ctrl+Alt+Down`
|
||||
- Top: `Ctrl+Alt+Shift+Up`
|
||||
- Bottom: `Ctrl+Alt+Shift+Down`
|
||||
|
||||
### Web UI
|
||||
|
||||
- Server (deluge-web) now daemonizes by default, use '-d' or '--do-not-daemonize' to disable.
|
||||
- Fixed the '--base' option to work for regular use, not just with reverse proxies.
|
||||
|
||||
### Blocklist Plugin
|
||||
|
||||
- Implemented whitelist support to both core and GTK UI.
|
||||
- Implemented IP filter cleaning before each update. Restarting the deluge
|
||||
daemon is no longer needed.
|
||||
- If "check_after_days" is 0(zero), the timer is not started anymore. It
|
||||
would keep updating one call after the other. If the value changed, the
|
||||
timer is now stopped and restarted using the new value.
|
||||
412
ChangeLog
@ -1,412 +0,0 @@
|
||||
=== Deluge 1.2.0 - "Bursting like an infected kidney" (09 January 2010) ===
|
||||
==== Core ====
|
||||
* Fix file renaming
|
||||
* Fix tracker host filtering (Closes #1106)
|
||||
* Fix exceptions when gettext/locale cannot be initialized properly
|
||||
* Change share ratio calculation to use the total done instead of the all time
|
||||
downloaded value. This change will make the share ratio calculation not
|
||||
use data downloaded in failed hash checks.
|
||||
* Fix torrent info name not being utf-8 decoded when root file/folder name
|
||||
is blank
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix #1104, #735 use path.utf-8 if available
|
||||
* Fix #1114 test active port not working in classic mode
|
||||
|
||||
==== Console ====
|
||||
* Fix #1115 not showing usage for the 'debug' command
|
||||
* Fix #1116 not being able to use command aliases when not connected to a daemon
|
||||
* Fix #1117 can't use the '3' key
|
||||
|
||||
==== Windows ====
|
||||
* Fix displaying folders in the add torrent dialog
|
||||
* Fix displaying the new release dialog
|
||||
|
||||
==== Blocklist ====
|
||||
* Fix blocklist status icon not opening the blocklist preference
|
||||
page in certain locales
|
||||
* Fix blocklist not recognising comments that begin with whitespace
|
||||
* Minor speedup in parsing blocklists
|
||||
* Blocklist now attempts to download the URL multiple times before giving
|
||||
up
|
||||
* Fix blocklist not being able to open zipped blocklists with python 2.5
|
||||
|
||||
==== Web ====
|
||||
* Put the default password in the manpage.
|
||||
|
||||
=== Deluge 1.2.0_rc5 (17 December 2009) ===
|
||||
==== Web ====
|
||||
* Swap order of buttons in Remove window (Closes #1083)
|
||||
* Change the compressed js script to deluge-all.js to avoid naming
|
||||
conflicts on case-sensitive filesystems.
|
||||
* Apply patch from adios fixing the cookie date
|
||||
* Add tooltips to the statusbar items
|
||||
* Add disk usage to the statusbar
|
||||
* Add a ToggleField widget and use this on the Downloads preferences
|
||||
page allowing the movecom/copytorrent/autoadd boxes to be enabled.
|
||||
* Fix enabling plugins.
|
||||
* Implement installing plugins.
|
||||
* Update some icons
|
||||
* Fixed #1075 (changing priority on a whole folder doesn't work)
|
||||
|
||||
==== GtkUI ====
|
||||
* Attempt to register as the default magnet uri handler in GNOME on startup
|
||||
* Properly show 100.00% and reduce number of progress bar updates during a
|
||||
torrent creation
|
||||
* Fix crash in Windows when creating a torrent
|
||||
* Add button to Other preferences to associate magnet links with Deluge
|
||||
* Fix uploading plugins when the daemon is not localhost
|
||||
* Fix #692 no longer require tray password when quitting from the tray icon
|
||||
while the window is visible.
|
||||
* Fix #782 do not ask for tray password when window is not minimized to tray
|
||||
* Fix #1036 autoconnecting to localhost daemon on start-up
|
||||
* Fix issue where hosts will show up erroneously as Offline
|
||||
* Add #891 remove torrents by pressing the Delete key
|
||||
* Fix issue where stoping a daemon that you aren't connected to causes the
|
||||
gtkui to shutdown the currently connected daemon.
|
||||
* Fix #594 tray password dialog freeze in Windows
|
||||
* Made the password dialog prettier
|
||||
* Fix #1086 deprecated gtk.Tooltips usage
|
||||
* Fix #768 save tracker list for create torrent dialog
|
||||
* Fix #1095 incorrect piece size used when using some non-English languages
|
||||
|
||||
==== Console ====
|
||||
* Fix using the console in Windows, but only in command-line mode
|
||||
* Fix #823 setting config values to -1.0
|
||||
|
||||
==== Label ====
|
||||
* Fix #1085 only use ints for specific options to prevent unhandled exception
|
||||
|
||||
==== Execute ====
|
||||
* Use the move_completed path if it is different to the save path
|
||||
in the completed event.
|
||||
|
||||
==== Core ====
|
||||
* Fix the upload_plugin rpc method (was still using XML-RPC stuff)
|
||||
* Fix possible exception when upgrading from a 0.5 state file
|
||||
* Use metavar to modify the help output by optparse.
|
||||
* Partial fix for #1103 if the per-torrent option for stopping at a ratio has
|
||||
been unchecked, then do not stop it at the global setting.
|
||||
|
||||
==== Blocklist ====
|
||||
* Fix blocklist not working for all locales
|
||||
* Fix blocklist checking for updates when it shouldn't
|
||||
|
||||
=== Deluge 1.2.0_rc4 (24 November 2009) ===
|
||||
==== Core ====
|
||||
* Fix deleting old .fastresume files with fresh configs
|
||||
* Fix files list when using magnet uris
|
||||
* Fix loading the saved metadata when loading state with magnet uris
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix showing the 'Other' speed dialogs in Windows
|
||||
* Fix adding torrents from the Queued Torrents dialog
|
||||
* Fix disabling/enabling plugins after switching daemons
|
||||
* Reduce height of Add Torrent Dialog by ~80 pixels
|
||||
* Fix #1071 issue where Deluge will fail to start if there is a stale ipc lockfile
|
||||
* Fix autoconnecting to the next host in the list if the selected one isn't available
|
||||
* Fix endless loop when trying to autoconnect to an offline daemon
|
||||
* Fix exception on startup when the system tray icon is not enabled
|
||||
* Fix issue where some torrents with special characters could not be added
|
||||
* Fix issues adding magnet uris
|
||||
|
||||
==== Web ====
|
||||
* Fix installing the deluge-web manpage
|
||||
* Escape hyphens in the manpage
|
||||
|
||||
==== Console ====
|
||||
* Escape hyphens in the manpage
|
||||
* Make the delete key work
|
||||
* Allow ~ to be used in the path in the add command
|
||||
* Allow commands that are .pyc files to be used
|
||||
* Fix printing info, help, etc.. on the command line
|
||||
|
||||
==== Blocklist ====
|
||||
* Force blocklist to auto-detect format when a download / import is forced
|
||||
* Fix blocklist failing on certain PeerGuardian/SafePeer lists
|
||||
|
||||
=== Deluge 1.2.0_rc3 (01 November 2009) ===
|
||||
==== Core ====
|
||||
* Fix #1047 move completed does not work if saving to non default path
|
||||
* Fix renamed files not being utf-8 encoded
|
||||
* Fix torrent name being blank when renaming root folder to /
|
||||
* Do not include an 'announce-list' key in torrents when there is only one tracker
|
||||
|
||||
==== GtkUI ====
|
||||
* Replace & with & in the details tab to ensure there are no markup errors
|
||||
* Consider 0 unlimited when displaying limits in the statusbar
|
||||
* Fix adding torrents when not showing the add torrent dialog in Windows
|
||||
* Fix crash when removing multiple torrents
|
||||
|
||||
==== Web ====
|
||||
* Fix #1046 changing auto managed via the details tab
|
||||
* Fix setting torrent options when adding
|
||||
* Fix setting file priorities when adding
|
||||
* HTML escape the field values on the details tab
|
||||
* Fix #215, make infinite eta values display in the correct order
|
||||
* Fix displaying the protocol upload speed
|
||||
* Fix #990, showing 0 as a limit when it means unlimited in the statusbar
|
||||
|
||||
==== Console ====
|
||||
* Fix displaying non-ascii strings
|
||||
* Fix #1052 crash when issuing commands while not connected to a daemon
|
||||
* Fix crash when string length makes line longer than terminal width
|
||||
* Improve 'info' command draw speed
|
||||
|
||||
=== Deluge 1.2.0_rc2 (25 October 2009) ===
|
||||
==== GtkUI ====
|
||||
* Fix path errors when adding torrents externally in Windows
|
||||
* Fix localclient authentication by stripping the lines read from the auth file
|
||||
* Do not try to call doIteration() on the reactor if it has already stopped
|
||||
* Fix 'autostart localhost if needed' option
|
||||
* Fix starting plugins when the pluginmanager is started
|
||||
* Fix #799 translate connection status
|
||||
* Fix #215 ETA sort order
|
||||
|
||||
==== Core ====
|
||||
* Fix saving torrent state on fresh configs
|
||||
|
||||
==== Web ====
|
||||
* Fix changing of the allocation in the preferences.
|
||||
* Fix updating the Connection Manager when a host is added.
|
||||
* Add a `--fork` option to allow forking the webui to the background
|
||||
* Fix the statusbar menu limits
|
||||
* Fix setting the torrent options via the options tab
|
||||
* Fix the private flag in the options tab
|
||||
|
||||
==== Console ====
|
||||
* Fix exception when using the 'halt' command
|
||||
|
||||
==== Misc ====
|
||||
* Add man pages for deluge-console, deluge-gtk and deluge-web
|
||||
|
||||
==== Extractor ====
|
||||
* Fix issue where the plugin would not stop extracting files after being disabled
|
||||
* Add option to create torrent name sub-folders in extract folder
|
||||
|
||||
=== Deluge 1.2.0_rc1 (07 October 2009) ===
|
||||
==== Core ====
|
||||
* Implement new RPC protocol DelugeRPC replacing XMLRPC
|
||||
* Move to a twisted framework
|
||||
* Add an 'Error' filter for Trackers to show trackers that currently have a tracker error
|
||||
* Use system GeoIP database if available, this is now an optional dependency
|
||||
|
||||
==== GtkUI ====
|
||||
* Remove SignalReceiver
|
||||
* Implemented a cross-platform IPC method thus removing the DBUS dependency
|
||||
* Implement a "True" Classic Mode where there is no longer a separate daemon process
|
||||
* Add preferences option "Add torrent in paused state"
|
||||
* Add tracker icons to the Tracker column
|
||||
* Implement #259 show tooltip with country name in the peers tab
|
||||
* Add an error category to the tracker sidebar list
|
||||
* Add Find More Plugins button to Plugins preference page
|
||||
* Fix #518 remove header in add torrent dialog to save vertical space
|
||||
* Add a Cache preferences page to adjust cache settings and examine cache status
|
||||
* Add ability to rename files prior to adding them
|
||||
* Fix shutdown handler with GNOME session manager
|
||||
* Allow 4 MiB piece sizes when creating a torrent
|
||||
|
||||
==== ConsoleUI ====
|
||||
* Changed to use curses for a more interactive client
|
||||
|
||||
==== WebUI ====
|
||||
* Move over to using Twisted-Web for the webserver.
|
||||
* Move to only AJAX interface built upon Ext-JS.
|
||||
|
||||
==== Plugins ====
|
||||
* Add Scheduler plugin
|
||||
* Add Extractor plugin
|
||||
|
||||
==== Misc ====
|
||||
* PyGTK dependency bumped to => 2.12 to use new tooltip system
|
||||
* Add new scripts for invoking UIs: deluge-gtk, deluge-web, deluge-console
|
||||
* Remove GeoIP database from the source tree
|
||||
|
||||
=== Deluge 1.1.9 - (15 June 2009) ===
|
||||
==== Core ====
|
||||
* Only move a torrent due to 'move on complete' when some data has been downloaded
|
||||
* Update libtorrent for CVE-2009-1760
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix #950 renaming a parent folder into multiple folders
|
||||
|
||||
==== WebUI ====
|
||||
* Fix remote torrent add
|
||||
|
||||
=== Deluge 1.1.8 - (21 May 2009) ===
|
||||
==== Core ====
|
||||
* Fix pause all/resume all
|
||||
* Torrent name is now changed when the root folder or file is renamed
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix high cpu usage when displaying speeds in titlebar
|
||||
* Fix showing non-utf8 encoded torrents in add torrent dialog -- this adds
|
||||
an additional dependency on chardet.
|
||||
* Fix exception when timing out trying to send notification email
|
||||
* Set some sane defaults for peers/file tabs column widths
|
||||
|
||||
==== WebUI ====
|
||||
* Fix starting when -l option is used
|
||||
|
||||
=== Deluge 1.1.7 - (25 April 2009) ===
|
||||
==== Core ====
|
||||
* Fix issue where cannot resume torrent after doing a 'Pause All'
|
||||
* Add workaround for 'address_v4 from unsigned long' bug experienced by users
|
||||
with 64-bit machines. This bug is fixed in libtorrent 0.14.3.
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix #883 segfault if locale is not using UTF-8 encoding
|
||||
* Fix for adding torrents with invalid filename encodings
|
||||
* Fix displaying IPv6 peers in the Peers tab
|
||||
* Fix starting the daemon in OS X
|
||||
* Fix loading improperly created torrents with mismatched encodings
|
||||
* Fix displaying improper progress when creating torrent
|
||||
|
||||
==== Windows ====
|
||||
* Fix freezing in create torrent dialog
|
||||
* Fix creating torrents in Windows
|
||||
* Fix free space check
|
||||
|
||||
=== Deluge 1.1.6 - (06 April 2009) ===
|
||||
==== Core ====
|
||||
* Fix udp trackers being classified as DHT source
|
||||
* Fix #855 force a resume on a torrent if a 'Force Recheck' is initiated
|
||||
* Fix #862 deluged crash when access http://localhost:58846
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix displaying torrents with non-utf8 encodings in add torrent dialog
|
||||
|
||||
==== WebUI ====
|
||||
* Fix #870 use proper config location for loading ssl cert
|
||||
|
||||
==== Misc ====
|
||||
* Add OpenSSL exception to license
|
||||
|
||||
=== Deluge 1.1.5 - (16 March 2009) ===
|
||||
==== Core ====
|
||||
* Fix config file saving when no current config file exists
|
||||
|
||||
==== GtkUI ====
|
||||
* Add 'Comments' field to the Details tab
|
||||
* Fix #841 maximum upload slots tooltip
|
||||
|
||||
=== Deluge 1.1.4 - (08 March 2009) ===
|
||||
==== Core ====
|
||||
* Fix displaying file errors when the torrent isn't paused
|
||||
* Fix issue where torrents being check would get removed due to "stop at ratio" rules
|
||||
* Fix #790 tracker hosts not correct for some .uk trackers
|
||||
* Make sure config files, resume data and state are fsync'd when saved. This should help prevent data losses on crashes/improper shutdowns.
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix hiding bottom pane when no tabs are enabled upon restart
|
||||
* Fix saving file priorities when switching torrents in the addtorrentdialog
|
||||
* Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog
|
||||
* Fix #655 issue where default torrent options wouldn't be set for new torrents added to the addtorrentdialog
|
||||
* Fix #817 email notifications fail to substitute format strings
|
||||
|
||||
==== Plugins ====
|
||||
* Label: Fix setting 'Move on completed' folder when connected to a remote daemon
|
||||
|
||||
=== Deluge 1.1.3 - (15 February 2009) ===
|
||||
==== Core ====
|
||||
* Fix issue where checking queue would stop
|
||||
* Fix announcing to SSL trackers
|
||||
|
||||
==== Misc ====
|
||||
* Fix issue when initializing gettext that would prevent deluge from starting
|
||||
* Fix logging exceptions when starting the daemon
|
||||
* Fix displaying errors when a torrent is Checking
|
||||
* Fix #790 tracker hosts not correct for some 3rd-level domain names
|
||||
|
||||
=== Deluge 1.1.2 - (31 January 2009) ===
|
||||
==== Core ====
|
||||
* Fix issue where torrents get stuck Checking
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix #761 use proper theme colours in sidebar
|
||||
* Fix saving files/peers tab state when no column is sorted
|
||||
|
||||
=== Deluge 1.1.1 - (24 January 2009) ===
|
||||
==== Core ====
|
||||
* Fix oldstateupgrader for those upgrading from 0.5.x
|
||||
* Fix setting Peer TOS byte
|
||||
* Fix setting outgoing ports
|
||||
|
||||
==== GtkUI ====
|
||||
* Fix opening links from Help menu and others
|
||||
* Fix remembering sorted column in the torrent list
|
||||
* Fix saving Files tab and Peers tab state
|
||||
* Disable popup notification in preferences on Windows
|
||||
* Fix crashing in Add Torrent Dialog when removing torrents from the list
|
||||
* Do not allow duplicate torrents in the Add Torrent Dialog
|
||||
* Fix translating speed units in status tab when a per-torrent limit is set
|
||||
* Fix torrents not displaying properly after disconnecting and reconnecting to the daemon
|
||||
* Fix when sorting # column, downloads should be on top
|
||||
|
||||
==== Misc ====
|
||||
* Fix bdecoding some torrent files
|
||||
* Fix the -l, --logfile option
|
||||
* Fix #729 tracker icons not being saved in the correct location
|
||||
* Add support for more tracker icons
|
||||
* Fix being able to connect to a local daemon from another user account
|
||||
|
||||
=== Deluge 1.1.0 - "Time gas!" (10 January 2009) ===
|
||||
==== Core ====
|
||||
* Implement #79 ability to change outgoing port range
|
||||
* Implement #296 ability to change peer TOS byte
|
||||
* Add per-torrent move on completed settings
|
||||
* Implement #414 use async save_resume_data method
|
||||
* Filter Manager with torrent filtering in get_torrents_status , for sidebar and plugins.
|
||||
* Implement #368 add torrents by infohash/magnet uri (trackerless torrents)
|
||||
* Remove remaining gtk functions in common
|
||||
* Tracker icons.
|
||||
* Add ETA for torrents with stop at seed ratio set
|
||||
* Fix #47 the state and config files are no longer invalidated when there is no diskspace
|
||||
* Fix #619 return "" instead of "Infinity" if seconds == 0 in ftime
|
||||
* Add -P, --pidfile option to deluged
|
||||
|
||||
==== GtkUI ====
|
||||
* Add peer progress to the peers tab
|
||||
* Add ability to manually add peers
|
||||
* Sorting # column will place downloaders above seeds
|
||||
* Remove dependency on libtorrent for add torrent dialog
|
||||
* Allow adding multiple trackers at once in the edit tracker dialog
|
||||
* Implement #28 Create Torrent Dialog
|
||||
* Redesiged sidebar with filters for Active and Tracker (see Filter Manager)
|
||||
* Implement #428 the ability to rename files and directories
|
||||
* Implement #229 add date added column
|
||||
* Implement #596 show speeds in title
|
||||
* Fix #636 not setting the daemon's config directory when using --config= with the UI in classic mode.
|
||||
* Fix #624 do not allow changing file priorities when using compact allocation
|
||||
* Fix #602 re-did files/peers tab state saving/loading
|
||||
* Fix gtk warnings
|
||||
* Add protocol traffic statusbar item
|
||||
* Rework the Remove Torrent Dialog to only have 2 options, remove data and remove from session.
|
||||
* Add "Install Plugin" and "Rescan Plugins" buttons to the Plugins preferences
|
||||
* Make active port test use internal graphic instead of launching browser
|
||||
|
||||
==== WebUI ====
|
||||
* Lots of smaller tweaks.
|
||||
* All details tabs have the same features as in gtk-ui 1.0.x
|
||||
* Persistent sessions #486
|
||||
* Plugin improvements for easy use of templates and images in eggs. #497
|
||||
* Classic template takes over some style elements from white template.
|
||||
* https (for users that know how to create certificates)
|
||||
* Easier apache mod_proxy use.
|
||||
* Redesigned sidebar
|
||||
|
||||
==== AjaxUI ====
|
||||
* Hosted in a webui template.
|
||||
|
||||
==== ConsoleUI ====
|
||||
* New ConsoleUI written by Idoa01
|
||||
* Callable from command-line for scripts.
|
||||
|
||||
==== Plugins ====
|
||||
* Stats plugin for graphs.
|
||||
* Label plugin for grouping torrents and per torrent settings.
|
||||
|
||||
==== Misc ====
|
||||
* Implement #478 display UI options in usage help
|
||||
* Fix #547 add description to name field per HIG entry 2.1.1.1
|
||||
* Fix #531 set default log level to ERROR and add 2 command-line options, "-L, --loglevel" and "-q, --quiet".
|
||||
24
DEPENDS
@ -1,24 +0,0 @@
|
||||
=== Core ===
|
||||
* python >= 2.5
|
||||
* twisted >= 8.1
|
||||
* twisted-web >= 8.1
|
||||
* pyopenssl
|
||||
* simplejson (if python < 2.6)
|
||||
* setuptools
|
||||
* gettext
|
||||
* pyxdg
|
||||
* geoip-database (optional)
|
||||
* libtorrent >= 0.14.5
|
||||
|
||||
=== UIs ===
|
||||
* chardet
|
||||
|
||||
=== Gtk ===
|
||||
* python-notify (libnotify python wrapper)
|
||||
* pygame
|
||||
* pygtk >= 2.12
|
||||
* librsvg
|
||||
* xdg-utils
|
||||
|
||||
=== Web ===
|
||||
* mako
|
||||
100
DEPENDS.md
Normal file
@ -0,0 +1,100 @@
|
||||
# Deluge dependencies
|
||||
|
||||
The following are required to install and run Deluge. They are separated into
|
||||
sections to distinguish the precise requirements for each module.
|
||||
|
||||
All modules will require the [common](#common) section dependencies.
|
||||
|
||||
## Prerequisite
|
||||
|
||||
- [Python] _>= 3.6_
|
||||
|
||||
## Build
|
||||
|
||||
- [setuptools]
|
||||
- [intltool] - Optional: Desktop file translation for \*nix.
|
||||
- [closure-compiler] - Minify javascript (alternative is [rjsmin])
|
||||
|
||||
## Common
|
||||
|
||||
- [Twisted] _>= 17.1_ - Use `TLS` extras for `service_identity` and `idna`.
|
||||
- [OpenSSL] _>= 1.0.1_
|
||||
- [pyOpenSSL]
|
||||
- [rencode] _>= 1.0.2_ - Encoding library.
|
||||
- [PyXDG] - Access freedesktop.org standards for \*nix.
|
||||
- [xdg-utils] - Provides xdg-open for \*nix.
|
||||
- [zope.interface]
|
||||
- [chardet] - Optional: Encoding detection.
|
||||
- [setproctitle] - Optional: Renaming processes.
|
||||
- [Pillow] - Optional: Support for resizing tracker icons.
|
||||
- [dbus-python] - Optional: Show item location in filemanager.
|
||||
- [ifaddr] - Optional: Verify network interfaces.
|
||||
|
||||
### Linux and BSD
|
||||
|
||||
- [distro] - Optional: OS platform information.
|
||||
|
||||
### Windows OS
|
||||
|
||||
- [pywin32]
|
||||
- [certifi]
|
||||
|
||||
## Core (deluged daemon)
|
||||
|
||||
- [libtorrent] _>= 1.2.0_
|
||||
- [GeoIP] or [pygeoip] - Optional: IP address country lookup. (_Debian: `python-geoip`_)
|
||||
|
||||
## GTK UI
|
||||
|
||||
- [GTK+] >= 3.10
|
||||
- [PyGObject]
|
||||
- [Pycairo]
|
||||
- [librsvg] _>= 2_
|
||||
- [libappindicator3] w/GIR - Optional: Ubuntu system tray icon.
|
||||
|
||||
### MacOS
|
||||
|
||||
- [GtkOSXApplication]
|
||||
|
||||
## Web UI
|
||||
|
||||
- [mako]
|
||||
|
||||
## Plugins
|
||||
|
||||
### Notifications
|
||||
|
||||
- [pygame] - Optional: Play sounds
|
||||
- [libnotify] w/GIR - Optional: Desktop popups.
|
||||
|
||||
[python]: https://www.python.org/
|
||||
[setuptools]: https://setuptools.readthedocs.io/en/latest/
|
||||
[intltool]: https://freedesktop.org/wiki/Software/intltool/
|
||||
[closure-compiler]: https://developers.google.com/closure/compiler/
|
||||
[rjsmin]: https://pypi.org/project/rjsmin/
|
||||
[openssl]: https://www.openssl.org/
|
||||
[pyopenssl]: https://pyopenssl.org
|
||||
[twisted]: https://twistedmatrix.com
|
||||
[pillow]: https://pypi.org/project/Pillow/
|
||||
[libtorrent]: https://libtorrent.org/
|
||||
[zope.interface]: https://pypi.org/project/zope.interface/
|
||||
[distro]: https://github.com/nir0s/distro
|
||||
[pywin32]: https://github.com/mhammond/pywin32
|
||||
[certifi]: https://pypi.org/project/certifi/
|
||||
[dbus-python]: https://pypi.org/project/dbus-python/
|
||||
[setproctitle]: https://pypi.org/project/setproctitle/
|
||||
[gtkosxapplication]: https://github.com/jralls/gtk-mac-integration
|
||||
[chardet]: https://chardet.github.io/
|
||||
[rencode]: https://github.com/aresch/rencode
|
||||
[pyxdg]: https://www.freedesktop.org/wiki/Software/pyxdg/
|
||||
[xdg-utils]: https://www.freedesktop.org/wiki/Software/xdg-utils/
|
||||
[gtk+]: https://www.gtk.org/
|
||||
[pycairo]: https://cairographics.org/pycairo/
|
||||
[pygobject]: https://pygobject.readthedocs.io/en/latest/
|
||||
[geoip]: https://pypi.org/project/GeoIP/
|
||||
[mako]: https://www.makotemplates.org/
|
||||
[pygame]: https://www.pygame.org/
|
||||
[libnotify]: https://developer.gnome.org/libnotify/
|
||||
[python-appindicator]: https://packages.ubuntu.com/xenial/python-appindicator
|
||||
[librsvg]: https://wiki.gnome.org/action/show/Projects/LibRsvg
|
||||
[ifaddr]: https://pypi.org/project/ifaddr/
|
||||
36
MANIFEST.in
Normal file
@ -0,0 +1,36 @@
|
||||
include *.md
|
||||
include AUTHORS
|
||||
include LICENSE
|
||||
include RELEASE-VERSION
|
||||
include msgfmt.py
|
||||
include minify_web_js.py
|
||||
include version.py
|
||||
include gen_web_gettext.py
|
||||
|
||||
graft docs/man
|
||||
graft packaging/systemd
|
||||
|
||||
include deluge/i18n/*.po
|
||||
recursive-exclude deluge/i18n *.mo
|
||||
|
||||
graft deluge/plugins
|
||||
recursive-exclude deluge/plugins create_dev_link.sh *.pyc *.egg
|
||||
prune deluge/plugins/*/build
|
||||
prune deluge/plugins/*/*.egg-info
|
||||
|
||||
graft deluge/tests/
|
||||
recursive-exclude deluge/tests *.pyc
|
||||
|
||||
graft deluge/ui/data
|
||||
recursive-exclude deluge/ui/data *.desktop *.xml
|
||||
graft deluge/ui/gtk3/glade
|
||||
|
||||
include deluge/ui/web/index.html
|
||||
include deluge/ui/web/css/*.css
|
||||
include deluge/ui/web/js/*.js
|
||||
graft deluge/ui/web/js/deluge-all/
|
||||
graft deluge/ui/web/js/extjs/
|
||||
graft deluge/ui/web/themes
|
||||
graft deluge/ui/web/render
|
||||
graft deluge/ui/web/icons
|
||||
graft deluge/ui/web/images
|
||||
94
README
@ -1,94 +0,0 @@
|
||||
|
||||
==========================
|
||||
Deluge BitTorrent Client
|
||||
==========================
|
||||
|
||||
Homepage: http://deluge-torrent.org
|
||||
|
||||
Authors:
|
||||
Andrew Resch
|
||||
Damien Churchill
|
||||
|
||||
For past developers and contributers see: http://dev.deluge-torrent.org/wiki/About
|
||||
|
||||
==========================
|
||||
License
|
||||
==========================
|
||||
Deluge is under the GNU GPLv3 license.
|
||||
Icon data/pixmaps/deluge.svg and derivatives in data/icons are copyright
|
||||
Andrew Wedderburn and are under the GNU GPLv3.
|
||||
All other icons in data/pixmaps are copyright Andrew Resch and are under
|
||||
the GNU GPLv3.
|
||||
|
||||
==========================
|
||||
Contact/Support:
|
||||
==========================
|
||||
|
||||
We have two options available for support:
|
||||
|
||||
Our Forum, at: http://forum.deluge-torrent.org
|
||||
or
|
||||
Our IRC Channel, at #deluge on Freenode: http://freenode.net
|
||||
|
||||
==========================
|
||||
Installation Instructions:
|
||||
==========================
|
||||
|
||||
For more detailed instructions see: http://dev.deluge-torrent.org/wiki/Installing/Source
|
||||
|
||||
See: DEPENDS for a full list of dependencies.
|
||||
|
||||
First, make sure you have the proper build dependencies installed. On a normal
|
||||
Debian or Ubuntu system:
|
||||
|
||||
sudo apt-get install g++ make python-all-dev python-all python-dbus \
|
||||
python-gtk2 python-notify librsvg2-common python-xdg python-support \
|
||||
subversion libboost-dev libboost-python-dev \
|
||||
libboost-thread-dev libboost-date-time-dev libboost-filesystem-dev \
|
||||
libssl-dev zlib1g-dev python-setuptools \
|
||||
python-mako python-twisted-web python-chardet python-simplejson
|
||||
|
||||
The names of the packages may vary depending on your OS / distro.
|
||||
|
||||
Once you have the needed libraries installed, build and install by running:
|
||||
|
||||
$ python setup.py build
|
||||
$ sudo python setup.py install
|
||||
|
||||
==========================
|
||||
FAQ
|
||||
==========================
|
||||
|
||||
How to start the various user-interfaces
|
||||
|
||||
Gtk:
|
||||
deluge-gtk
|
||||
Console:
|
||||
deluge-console
|
||||
Web:
|
||||
deluge-web
|
||||
Go to http://localhost:8112/ default-password = "deluge"
|
||||
|
||||
Why is deluge still listed in my system tray even after I close it ?
|
||||
|
||||
You closed the gtk user-interface but you did not close the daemon. Choose "Quit & Shutdown Daemon" to close both Daemon and gtk-ui.
|
||||
|
||||
How do I start the daemon?
|
||||
|
||||
deluged
|
||||
|
||||
How do I start the daemon with logging to console?
|
||||
|
||||
deluged -d -L <log level>
|
||||
|
||||
I can't connect to the daemon from another machine
|
||||
|
||||
* Configure the daemon to allow remote connections
|
||||
* Add a user to the auth file located in the config folder: ~/.config/deluge/auth
|
||||
* Restart the daemon.
|
||||
|
||||
I upgraded from 0.5 and plugin x is missing
|
||||
|
||||
1.0 is a rewrite, all old 0.5 plugins have to be rewritten.
|
||||
|
||||
For the full FAQ see: http://dev.deluge-torrent.org/wiki/Faq
|
||||
71
README.md
Normal file
@ -0,0 +1,71 @@
|
||||
# Deluge BitTorrent Client
|
||||
|
||||
[![build-status]][github-ci] [![docs-status]][rtd-deluge]
|
||||
|
||||
Deluge is a BitTorrent client that utilizes a daemon/client model.
|
||||
It has various user interfaces available such as the GTK-UI, Web-UI and
|
||||
Console-UI. It uses [libtorrent][lt] at its core to handle the BitTorrent
|
||||
protocol.
|
||||
|
||||
## Install
|
||||
|
||||
From [PyPi](https://pypi.org/project/deluge):
|
||||
|
||||
pip install deluge
|
||||
|
||||
with all optional dependencies:
|
||||
|
||||
pip install deluge[all]
|
||||
|
||||
From source code:
|
||||
|
||||
pip install .
|
||||
|
||||
with all optional dependencies:
|
||||
|
||||
pip install .[all]
|
||||
|
||||
See [DEPENDS](DEPENDS.md) and [Installing/Source] for dependency details.
|
||||
|
||||
## Usage
|
||||
|
||||
The various user-interfaces and Deluge daemon can be started with the following commands.
|
||||
|
||||
Use the `--help` option for further command options.
|
||||
|
||||
### Gtk UI
|
||||
|
||||
`deluge` or `deluge-gtk`
|
||||
|
||||
### Console UI
|
||||
|
||||
`deluge-console`
|
||||
|
||||
### Web UI
|
||||
|
||||
`deluge-web`
|
||||
|
||||
Open http://localhost:8112 with default password `deluge`.
|
||||
|
||||
### Daemon
|
||||
|
||||
`deluged`
|
||||
|
||||
See the [Thinclient guide] to connect to the daemon from another computer.
|
||||
|
||||
## Contact
|
||||
|
||||
- [Homepage](https://deluge-torrent.org)
|
||||
- [User guide][user guide]
|
||||
- [Forum](https://forum.deluge-torrent.org)
|
||||
- [IRC Libera.Chat #deluge](irc://irc.libera.chat/deluge)
|
||||
- [Discord](https://discord.gg/nwaHSE6tqn)
|
||||
|
||||
[user guide]: https://dev.deluge-torrent.org/wiki/UserGuide
|
||||
[thinclient guide]: https://dev.deluge-torrent.org/wiki/UserGuide/ThinClient
|
||||
[installing/source]: https://dev.deluge-torrent.org/wiki/Installing/Source
|
||||
[build-status]: https://github.com/deluge-torrent/deluge/actions/workflows/ci.yml/badge.svg?branch=develop "CI"
|
||||
[github-ci]: https://github.com/deluge-torrent/deluge/actions/workflows/ci.yml
|
||||
[docs-status]: https://readthedocs.org/projects/deluge/badge/?version=latest
|
||||
[rtd-deluge]: https://deluge.readthedocs.io/en/latest/?badge=latest "Documentation Status"
|
||||
[lt]: https://libtorrent.org
|
||||
@ -1,23 +0,0 @@
|
||||
import os
|
||||
|
||||
# Paths to exclude
|
||||
EXCLUSIONS = [
|
||||
"deluge/scripts"
|
||||
]
|
||||
|
||||
POTFILE_IN = "deluge/i18n/POTFILES.in"
|
||||
|
||||
print "Creating " + POTFILE_IN + " .."
|
||||
to_translate = []
|
||||
for (dirpath, dirnames, filenames) in os.walk("deluge"):
|
||||
for filename in filenames:
|
||||
if os.path.splitext(filename)[1] in (".py", ".glade") and dirpath not in EXCLUSIONS:
|
||||
to_translate.append(os.path.join(dirpath, filename))
|
||||
|
||||
f = open(POTFILE_IN, "wb")
|
||||
for line in to_translate:
|
||||
f.write(line + "\n")
|
||||
|
||||
f.close()
|
||||
|
||||
print "Done"
|
||||
@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
for size in 16 22 24 32 36 48 64 72 96 128 192 256; do mkdir -p deluge/data/\
|
||||
icons/hicolor/${size}x${size}/apps; rsvg-convert -w ${size} -h ${size} \
|
||||
-o deluge/data/icons/hicolor/${size}x${size}/apps/deluge.png deluge/data/pixmaps\
|
||||
/deluge.svg; mkdir -p deluge/data/icons/scalable/apps/; cp deluge/data/pixmaps/\
|
||||
deluge.svg deluge/data/icons/scalable/apps/deluge.svg; done
|
||||
@ -1,20 +0,0 @@
|
||||
from new import classobj
|
||||
from deluge.core.core import Core
|
||||
from deluge.core.daemon import Daemon
|
||||
|
||||
class RpcApi:
|
||||
pass
|
||||
|
||||
def scan_for_methods(obj):
|
||||
methods = {
|
||||
'__doc__': 'Methods available in %s' % obj.__name__.lower()
|
||||
}
|
||||
for d in dir(obj):
|
||||
if not hasattr(getattr(obj,d), '_rpcserver_export'):
|
||||
continue
|
||||
methods[d] = getattr(obj, d)
|
||||
cobj = classobj(obj.__name__.lower(), (object,), methods)
|
||||
setattr(RpcApi, obj.__name__.lower(), cobj)
|
||||
|
||||
scan_for_methods(Core)
|
||||
scan_for_methods(Daemon)
|
||||
@ -1,60 +1,35 @@
|
||||
#
|
||||
# _libtorrent.py
|
||||
#
|
||||
# Copyright (C) 2009 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
"""
|
||||
This module is used to handle the importing of libtorrent.
|
||||
This module is used to handle the importing of libtorrent and also controls
|
||||
the minimum versions of libtorrent that this version of Deluge supports.
|
||||
|
||||
We use this module to control what versions of libtorrent this version of Deluge
|
||||
supports.
|
||||
|
||||
** Usage **
|
||||
|
||||
>>> from deluge._libtorrent import lt
|
||||
Example:
|
||||
>>> from deluge._libtorrent import lt
|
||||
|
||||
"""
|
||||
|
||||
REQUIRED_VERSION = "0.14.5.0"
|
||||
|
||||
def check_version(LT):
|
||||
from deluge.common import VersionSplit
|
||||
if VersionSplit(lt.version) < VersionSplit(REQUIRED_VERSION):
|
||||
raise ImportError("This version of Deluge requires libtorrent >=%s!" % REQUIRED_VERSION)
|
||||
from deluge.common import VersionSplit, get_version
|
||||
from deluge.error import LibtorrentImportError
|
||||
|
||||
try:
|
||||
import deluge.libtorrent as lt
|
||||
check_version(lt)
|
||||
except ImportError:
|
||||
import libtorrent as lt
|
||||
check_version(lt)
|
||||
try:
|
||||
import libtorrent as lt
|
||||
except ImportError as ex:
|
||||
raise LibtorrentImportError('No libtorrent library found: %s' % (ex))
|
||||
|
||||
|
||||
REQUIRED_VERSION = '1.2.0.0'
|
||||
LT_VERSION = lt.__version__
|
||||
|
||||
if VersionSplit(LT_VERSION) < VersionSplit(REQUIRED_VERSION):
|
||||
raise LibtorrentImportError(
|
||||
f'Deluge {get_version()} requires libtorrent >= {REQUIRED_VERSION}'
|
||||
)
|
||||
|
||||
384
deluge/argparserbase.py
Normal file
@ -0,0 +1,384 @@
|
||||
#
|
||||
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
import textwrap
|
||||
|
||||
import deluge.log
|
||||
from deluge import common
|
||||
from deluge.configmanager import get_config_dir, set_config_dir
|
||||
|
||||
|
||||
def find_subcommand(self, args=None, sys_argv=True):
|
||||
"""Find if a subcommand has been supplied.
|
||||
|
||||
Args:
|
||||
args (list, optional): The argument list to search through.
|
||||
sys_argv (bool): Use sys.argv[1:] if args is None.
|
||||
|
||||
Returns:
|
||||
int: Index of the subcommand or '-1' if none found.
|
||||
|
||||
"""
|
||||
subcommand_found = -1
|
||||
if args is None:
|
||||
args = sys.argv[1:] if sys_argv is None else []
|
||||
|
||||
for x in self._subparsers._actions:
|
||||
if not isinstance(x, argparse._SubParsersAction):
|
||||
continue
|
||||
for sp_name in x._name_parser_map:
|
||||
if sp_name in args:
|
||||
subcommand_found = args.index(sp_name)
|
||||
|
||||
return subcommand_found
|
||||
|
||||
|
||||
def set_default_subparser(self, name, abort_opts=None):
|
||||
"""Sets the default argparse subparser.
|
||||
|
||||
Args:
|
||||
name (str): The name of the default subparser.
|
||||
abort_opts (list): The arguments to test for in case no subcommand is found.
|
||||
If any of the values are found, the default subparser will
|
||||
not be inserted into sys.argv.
|
||||
|
||||
Returns:
|
||||
list: The arguments found in sys.argv if no subcommand found, else None
|
||||
|
||||
"""
|
||||
found_abort_opts = []
|
||||
abort_opts = [] if abort_opts is None else abort_opts
|
||||
test_args = sys.argv[1:]
|
||||
subparser_found = self.find_subcommand(args=test_args)
|
||||
|
||||
for i, arg in enumerate(test_args):
|
||||
if subparser_found == i:
|
||||
break
|
||||
if arg in abort_opts:
|
||||
found_abort_opts.append(arg)
|
||||
|
||||
if subparser_found == -1:
|
||||
if found_abort_opts:
|
||||
# Found one or more of arguments in abort_opts
|
||||
return found_abort_opts
|
||||
|
||||
# insert default in first position, this implies no
|
||||
# global options without a sub_parsers specified
|
||||
sys.argv.insert(1, name)
|
||||
|
||||
return None
|
||||
|
||||
|
||||
argparse.ArgumentParser.find_subcommand = find_subcommand
|
||||
argparse.ArgumentParser.set_default_subparser = set_default_subparser
|
||||
|
||||
|
||||
def _get_version_detail():
|
||||
version_str = '%s\n' % (common.get_version())
|
||||
try:
|
||||
from deluge._libtorrent import LT_VERSION
|
||||
|
||||
version_str += 'libtorrent: %s\n' % LT_VERSION
|
||||
except ImportError:
|
||||
pass
|
||||
version_str += 'Python: %s\n' % platform.python_version()
|
||||
version_str += f'OS: {platform.system()} {common.get_os_version()}\n'
|
||||
return version_str
|
||||
|
||||
|
||||
class DelugeTextHelpFormatter(argparse.RawDescriptionHelpFormatter):
|
||||
"""Help message formatter which retains formatting of all help text."""
|
||||
|
||||
def _split_lines(self, text, width):
|
||||
"""
|
||||
Do not remove whitespaces in string but still wrap text to max width.
|
||||
Instead of passing the entire text to textwrap.wrap, split and pass each
|
||||
line instead. This way list formatting is not mangled by textwrap.wrap.
|
||||
"""
|
||||
wrapped_lines = []
|
||||
for line in text.splitlines():
|
||||
wrapped_lines.extend(textwrap.wrap(line, width, subsequent_indent=' '))
|
||||
return wrapped_lines
|
||||
|
||||
def _format_action_invocation(self, action):
|
||||
"""
|
||||
Combines the options with comma and displays the argument
|
||||
value only once instead of after both options.
|
||||
Instead of: -s <arg>, --long-opt <arg>
|
||||
Show : -s, --long-opt <arg>
|
||||
|
||||
"""
|
||||
if not action.option_strings:
|
||||
(metavar,) = self._metavar_formatter(action, action.dest)(1)
|
||||
return metavar
|
||||
else:
|
||||
parts = []
|
||||
# if the Optional doesn't take a value, format is:
|
||||
# -s, --long
|
||||
if action.nargs == 0:
|
||||
parts.extend(action.option_strings)
|
||||
|
||||
# if the Optional takes a value, format is:
|
||||
# -s, --long ARGS
|
||||
else:
|
||||
default = action.dest.upper()
|
||||
args_string = self._format_args(action, default)
|
||||
opt = ', '.join(action.option_strings)
|
||||
parts.append(f'{opt} {args_string}')
|
||||
return ', '.join(parts)
|
||||
|
||||
|
||||
class HelpAction(argparse._HelpAction):
|
||||
def __call__(self, parser, namespace, values, option_string=None):
|
||||
if hasattr(parser, 'subparser'):
|
||||
subparser = getattr(parser, 'subparser')
|
||||
subparser.print_help()
|
||||
else:
|
||||
parser.print_help()
|
||||
parser.exit()
|
||||
|
||||
|
||||
class ArgParserBase(argparse.ArgumentParser):
|
||||
def __init__(self, *args, **kwargs):
|
||||
if 'formatter_class' not in kwargs:
|
||||
kwargs['formatter_class'] = lambda prog: DelugeTextHelpFormatter(
|
||||
prog, max_help_position=33, width=90
|
||||
)
|
||||
|
||||
kwargs['add_help'] = kwargs.get('add_help', False)
|
||||
common_help = kwargs.pop('common_help', True)
|
||||
self.log_stream = sys.stdout
|
||||
if 'log_stream' in kwargs:
|
||||
self.log_stream = kwargs['log_stream']
|
||||
del kwargs['log_stream']
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
self.common_setup = False
|
||||
self.process_arg_group = False
|
||||
self.group = self.add_argument_group(_('Common Options'))
|
||||
if common_help:
|
||||
self.group.add_argument(
|
||||
'-h', '--help', action=HelpAction, help=_('Print this help message')
|
||||
)
|
||||
self.group.add_argument(
|
||||
'-V',
|
||||
'--version',
|
||||
action='version',
|
||||
version='%(prog)s ' + _get_version_detail(),
|
||||
help=_('Print version information'),
|
||||
)
|
||||
self.group.add_argument(
|
||||
'-v',
|
||||
action='version',
|
||||
version='%(prog)s ' + _get_version_detail(),
|
||||
help=argparse.SUPPRESS,
|
||||
) # Deprecated arg
|
||||
self.group.add_argument(
|
||||
'-c',
|
||||
'--config',
|
||||
metavar='<config>',
|
||||
help=_('Set the config directory path'),
|
||||
)
|
||||
self.group.add_argument(
|
||||
'-l',
|
||||
'--logfile',
|
||||
metavar='<logfile>',
|
||||
help=_('Output to specified logfile instead of stdout'),
|
||||
)
|
||||
self.group.add_argument(
|
||||
'-L',
|
||||
'--loglevel',
|
||||
choices=[level for k in deluge.log.levels for level in (k, k.upper())],
|
||||
help=_('Set the log level (none, error, warning, info, debug)'),
|
||||
metavar='<level>',
|
||||
)
|
||||
self.group.add_argument(
|
||||
'--logrotate',
|
||||
nargs='?',
|
||||
const='2M',
|
||||
metavar='<max-size>',
|
||||
help=_(
|
||||
'Enable logfile rotation, with optional maximum logfile size, '
|
||||
'default: %(const)s (Logfile rotation count is 5)'
|
||||
),
|
||||
)
|
||||
self.group.add_argument(
|
||||
'-q',
|
||||
'--quiet',
|
||||
action='store_true',
|
||||
help=_('Quieten logging output (Same as `--loglevel none`)'),
|
||||
)
|
||||
self.group.add_argument(
|
||||
'--profile',
|
||||
metavar='<profile-file>',
|
||||
nargs='?',
|
||||
default=False,
|
||||
help=_(
|
||||
'Profile %(prog)s with cProfile. Outputs to stdout '
|
||||
'unless a filename is specified'
|
||||
),
|
||||
)
|
||||
|
||||
def parse_args(self, args=None):
|
||||
"""Parse UI arguments and handle common and process group options.
|
||||
|
||||
Notes:
|
||||
Unknown arguments results in usage text printed and system exit.
|
||||
|
||||
Args:
|
||||
args (list, optional): The arguments to parse.
|
||||
|
||||
Returns:
|
||||
argparse.Namespace: The parsed arguments.
|
||||
|
||||
"""
|
||||
options = super().parse_args(args=args)
|
||||
return self._handle_ui_options(options)
|
||||
|
||||
def parse_known_ui_args(self, args, withhold=None):
|
||||
"""Parse UI arguments and handle common and process group options without error.
|
||||
|
||||
Args:
|
||||
args (list): The arguments to parse.
|
||||
withhold (list): Values to ignore in the args list.
|
||||
|
||||
Returns:
|
||||
argparse.Namespace: The parsed arguments.
|
||||
|
||||
"""
|
||||
if withhold:
|
||||
args = [a for a in args if a not in withhold]
|
||||
options, remaining = super().parse_known_args(args=args)
|
||||
options.remaining = remaining
|
||||
# Handle common and process group options
|
||||
return self._handle_ui_options(options)
|
||||
|
||||
def _handle_ui_options(self, options):
|
||||
"""Handle UI common and process group options.
|
||||
|
||||
Args:
|
||||
options (argparse.Namespace): The parsed options.
|
||||
|
||||
Returns:
|
||||
argparse.Namespace: The parsed options.
|
||||
|
||||
"""
|
||||
if not self.common_setup:
|
||||
self.common_setup = True
|
||||
|
||||
# Setup the logger
|
||||
if options.quiet:
|
||||
options.loglevel = 'none'
|
||||
if options.loglevel:
|
||||
options.loglevel = options.loglevel.lower()
|
||||
|
||||
logfile_mode = 'w'
|
||||
logrotate = options.logrotate
|
||||
if options.logrotate:
|
||||
logfile_mode = 'a'
|
||||
logrotate = common.parse_human_size(options.logrotate)
|
||||
|
||||
# Setup the logger
|
||||
deluge.log.setup_logger(
|
||||
level=options.loglevel,
|
||||
filename=options.logfile,
|
||||
filemode=logfile_mode,
|
||||
logrotate=logrotate,
|
||||
output_stream=self.log_stream,
|
||||
)
|
||||
|
||||
if options.config:
|
||||
if not set_config_dir(options.config):
|
||||
log = logging.getLogger(__name__)
|
||||
log.error('There was an error setting the config dir! Exiting..')
|
||||
sys.exit(1)
|
||||
else:
|
||||
if not os.path.exists(common.get_default_config_dir()):
|
||||
os.makedirs(common.get_default_config_dir())
|
||||
|
||||
if self.process_arg_group:
|
||||
self.process_arg_group = False
|
||||
# If donotdaemonize is set, skip process forking.
|
||||
if not (common.windows_check() or options.donotdaemonize):
|
||||
if os.fork():
|
||||
os._exit(0)
|
||||
os.setsid()
|
||||
# Do second fork
|
||||
if os.fork():
|
||||
os._exit(0)
|
||||
# Ensure process doesn't keep any directory in use that may prevent a filesystem unmount.
|
||||
os.chdir(get_config_dir())
|
||||
|
||||
# Write pid file before chuid
|
||||
if options.pidfile:
|
||||
with open(options.pidfile, 'w') as _file:
|
||||
_file.write('%d\n' % os.getpid())
|
||||
|
||||
if not common.windows_check():
|
||||
if options.group:
|
||||
if not options.group.isdigit():
|
||||
import grp
|
||||
|
||||
options.group = grp.getgrnam(options.group)[2]
|
||||
os.setgid(options.group)
|
||||
if options.user:
|
||||
if not options.user.isdigit():
|
||||
import pwd
|
||||
|
||||
options.user = pwd.getpwnam(options.user)[2]
|
||||
os.setuid(options.user)
|
||||
|
||||
return options
|
||||
|
||||
def add_process_arg_group(self):
|
||||
"""Adds a grouping of common process args to control a daemon to the parser"""
|
||||
|
||||
self.process_arg_group = True
|
||||
self.group = self.add_argument_group(_('Process Control Options'))
|
||||
self.group.add_argument(
|
||||
'-P',
|
||||
'--pidfile',
|
||||
metavar='<pidfile>',
|
||||
action='store',
|
||||
help=_('Pidfile to store the process id'),
|
||||
)
|
||||
if not common.windows_check():
|
||||
self.group.add_argument(
|
||||
'-d',
|
||||
'--do-not-daemonize',
|
||||
dest='donotdaemonize',
|
||||
action='store_true',
|
||||
help=_('Do not daemonize (fork) this process'),
|
||||
)
|
||||
self.group.add_argument(
|
||||
'-f',
|
||||
'--fork',
|
||||
dest='donotdaemonize',
|
||||
action='store_false',
|
||||
help=argparse.SUPPRESS,
|
||||
) # Deprecated arg
|
||||
self.group.add_argument(
|
||||
'-U',
|
||||
'--user',
|
||||
metavar='<user>',
|
||||
action='store',
|
||||
help=_('Change to this user on startup (Requires root)'),
|
||||
)
|
||||
self.group.add_argument(
|
||||
'-g',
|
||||
'--group',
|
||||
metavar='<group>',
|
||||
action='store',
|
||||
help=_('Change to this group on startup (Requires root)'),
|
||||
)
|
||||
@ -9,121 +9,140 @@
|
||||
# License.
|
||||
|
||||
# Written by Petru Paler
|
||||
# Updated by Calum Lind to support Python 3.
|
||||
|
||||
|
||||
class BTFailure(Exception):
|
||||
pass
|
||||
|
||||
|
||||
DICT_DELIM = b'd'
|
||||
END_DELIM = b'e'
|
||||
INT_DELIM = b'i'
|
||||
LIST_DELIM = b'l'
|
||||
BYTE_SEP = b':'
|
||||
|
||||
# Minor modifications made by Andrew Resch to replace the BTFailure errors with Exceptions
|
||||
|
||||
def decode_int(x, f):
|
||||
f += 1
|
||||
newf = x.index('e', f)
|
||||
newf = x.index(END_DELIM, f)
|
||||
n = int(x[f:newf])
|
||||
if x[f] == '-':
|
||||
if x[f + 1] == '0':
|
||||
raise ValueError
|
||||
elif x[f] == '0' and newf != f+1:
|
||||
if x[f : f + 1] == b'-' and x[f + 1 : f + 2] == b'0':
|
||||
raise ValueError
|
||||
return (n, newf+1)
|
||||
elif x[f : f + 1] == b'0' and newf != f + 1:
|
||||
raise ValueError
|
||||
return (n, newf + 1)
|
||||
|
||||
|
||||
def decode_string(x, f):
|
||||
colon = x.index(':', f)
|
||||
colon = x.index(BYTE_SEP, f)
|
||||
n = int(x[f:colon])
|
||||
if x[f] == '0' and colon != f+1:
|
||||
if x[f : f + 1] == b'0' and colon != f + 1:
|
||||
raise ValueError
|
||||
colon += 1
|
||||
return (x[colon:colon+n], colon+n)
|
||||
return (x[colon : colon + n], colon + n)
|
||||
|
||||
|
||||
def decode_list(x, f):
|
||||
r, f = [], f+1
|
||||
while x[f] != 'e':
|
||||
v, f = decode_func[x[f]](x, f)
|
||||
r, f = [], f + 1
|
||||
while x[f : f + 1] != END_DELIM:
|
||||
v, f = decode_func[x[f : f + 1]](x, f)
|
||||
r.append(v)
|
||||
return (r, f + 1)
|
||||
|
||||
|
||||
def decode_dict(x, f):
|
||||
r, f = {}, f+1
|
||||
while x[f] != 'e':
|
||||
r, f = {}, f + 1
|
||||
while x[f : f + 1] != END_DELIM:
|
||||
k, f = decode_string(x, f)
|
||||
r[k], f = decode_func[x[f]](x, f)
|
||||
r[k], f = decode_func[x[f : f + 1]](x, f)
|
||||
return (r, f + 1)
|
||||
|
||||
|
||||
decode_func = {}
|
||||
decode_func['l'] = decode_list
|
||||
decode_func['d'] = decode_dict
|
||||
decode_func['i'] = decode_int
|
||||
decode_func['0'] = decode_string
|
||||
decode_func['1'] = decode_string
|
||||
decode_func['2'] = decode_string
|
||||
decode_func['3'] = decode_string
|
||||
decode_func['4'] = decode_string
|
||||
decode_func['5'] = decode_string
|
||||
decode_func['6'] = decode_string
|
||||
decode_func['7'] = decode_string
|
||||
decode_func['8'] = decode_string
|
||||
decode_func['9'] = decode_string
|
||||
decode_func[LIST_DELIM] = decode_list
|
||||
decode_func[DICT_DELIM] = decode_dict
|
||||
decode_func[INT_DELIM] = decode_int
|
||||
decode_func[b'0'] = decode_string
|
||||
decode_func[b'1'] = decode_string
|
||||
decode_func[b'2'] = decode_string
|
||||
decode_func[b'3'] = decode_string
|
||||
decode_func[b'4'] = decode_string
|
||||
decode_func[b'5'] = decode_string
|
||||
decode_func[b'6'] = decode_string
|
||||
decode_func[b'7'] = decode_string
|
||||
decode_func[b'8'] = decode_string
|
||||
decode_func[b'9'] = decode_string
|
||||
|
||||
|
||||
def bdecode(x):
|
||||
try:
|
||||
r, l = decode_func[x[0]](x, 0)
|
||||
except (IndexError, KeyError, ValueError):
|
||||
raise Exception("not a valid bencoded string")
|
||||
|
||||
return r
|
||||
|
||||
from types import StringType, IntType, LongType, DictType, ListType, TupleType
|
||||
r, __ = decode_func[x[0:1]](x, 0)
|
||||
except (LookupError, TypeError, ValueError):
|
||||
raise BTFailure('Not a valid bencoded string')
|
||||
else:
|
||||
return r
|
||||
|
||||
|
||||
class Bencached(object):
|
||||
class Bencached:
|
||||
|
||||
__slots__ = ['bencoded']
|
||||
|
||||
def __init__(self, s):
|
||||
self.bencoded = s
|
||||
|
||||
def encode_bencached(x,r):
|
||||
|
||||
def encode_bencached(x, r):
|
||||
r.append(x.bencoded)
|
||||
|
||||
|
||||
def encode_int(x, r):
|
||||
r.extend(('i', str(x), 'e'))
|
||||
r.extend((INT_DELIM, str(x).encode('utf8'), END_DELIM))
|
||||
|
||||
|
||||
def encode_bool(x, r):
|
||||
if x:
|
||||
encode_int(1, r)
|
||||
else:
|
||||
encode_int(0, r)
|
||||
encode_int(1 if x else 0, r)
|
||||
|
||||
|
||||
def encode_string(x, r):
|
||||
r.extend((str(len(x)), ':', x))
|
||||
encode_bytes(x.encode('utf8'), r)
|
||||
|
||||
|
||||
def encode_bytes(x, r):
|
||||
r.extend((str(len(x)).encode('utf8'), BYTE_SEP, x))
|
||||
|
||||
|
||||
def encode_list(x, r):
|
||||
r.append('l')
|
||||
r.append(LIST_DELIM)
|
||||
for i in x:
|
||||
encode_func[type(i)](i, r)
|
||||
r.append('e')
|
||||
r.append(END_DELIM)
|
||||
|
||||
def encode_dict(x,r):
|
||||
r.append('d')
|
||||
ilist = x.items()
|
||||
ilist.sort()
|
||||
for k, v in ilist:
|
||||
r.extend((str(len(k)), ':', k))
|
||||
|
||||
def encode_dict(x, r):
|
||||
r.append(DICT_DELIM)
|
||||
for k, v in sorted(x.items()):
|
||||
try:
|
||||
k = k.encode('utf8')
|
||||
except AttributeError:
|
||||
pass
|
||||
r.extend((str(len(k)).encode('utf8'), BYTE_SEP, k))
|
||||
encode_func[type(v)](v, r)
|
||||
r.append('e')
|
||||
r.append(END_DELIM)
|
||||
|
||||
|
||||
encode_func = {}
|
||||
encode_func[Bencached] = encode_bencached
|
||||
encode_func[IntType] = encode_int
|
||||
encode_func[LongType] = encode_int
|
||||
encode_func[StringType] = encode_string
|
||||
encode_func[ListType] = encode_list
|
||||
encode_func[TupleType] = encode_list
|
||||
encode_func[DictType] = encode_dict
|
||||
encode_func[int] = encode_int
|
||||
encode_func[list] = encode_list
|
||||
encode_func[tuple] = encode_list
|
||||
encode_func[dict] = encode_dict
|
||||
encode_func[bool] = encode_bool
|
||||
encode_func[str] = encode_string
|
||||
encode_func[bytes] = encode_bytes
|
||||
|
||||
try:
|
||||
from types import BooleanType
|
||||
encode_func[BooleanType] = encode_bool
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
def bencode(x):
|
||||
r = []
|
||||
encode_func[type(x)](x, r)
|
||||
return ''.join(r)
|
||||
return b''.join(r)
|
||||
|
||||
1492
deluge/common.py
@ -1,245 +1,486 @@
|
||||
#
|
||||
# component.py
|
||||
#
|
||||
# Copyright (C) 2007, 2008 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
# Copyright (C) 2007-2010 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
from twisted.internet.task import LoopingCall
|
||||
from deluge.log import LOG as log
|
||||
import logging
|
||||
import traceback
|
||||
from collections import defaultdict
|
||||
|
||||
COMPONENT_STATE = [
|
||||
"Stopped",
|
||||
"Started",
|
||||
"Paused"
|
||||
]
|
||||
from twisted.internet import reactor
|
||||
from twisted.internet.defer import DeferredList, fail, maybeDeferred, succeed
|
||||
from twisted.internet.task import LoopingCall, deferLater
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ComponentAlreadyRegistered(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class ComponentException(Exception):
|
||||
def __init__(self, message, tb):
|
||||
super().__init__(message)
|
||||
self.message = message
|
||||
self.tb = tb
|
||||
|
||||
def __str__(self):
|
||||
s = super().__str__()
|
||||
return '{}\n{}'.format(s, ''.join(self.tb))
|
||||
|
||||
def __eq__(self, other):
|
||||
if isinstance(other, self.__class__):
|
||||
return self.message == other.message
|
||||
else:
|
||||
return False
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
||||
|
||||
class Component:
|
||||
"""Component objects are singletons managed by the :class:`ComponentRegistry`.
|
||||
|
||||
When a new Component object is instantiated, it will be automatically
|
||||
registered with the :class:`ComponentRegistry`.
|
||||
|
||||
The ComponentRegistry has the ability to start, stop, pause and shutdown the
|
||||
components registered with it.
|
||||
|
||||
**Events:**
|
||||
|
||||
**start()** - This method is called when the client has connected to a
|
||||
Deluge core.
|
||||
|
||||
**stop()** - This method is called when the client has disconnected from a
|
||||
Deluge core.
|
||||
|
||||
**update()** - This method is called every 1 second by default while the
|
||||
Componented is in a *Started* state. The interval can be
|
||||
specified during instantiation. The update() timer can be
|
||||
paused by instructing the :class:`ComponentRegistry` to pause
|
||||
this Component.
|
||||
|
||||
**shutdown()** - This method is called when the client is exiting. If the
|
||||
Component is in a "Started" state when this is called, a
|
||||
call to stop() will be issued prior to shutdown().
|
||||
|
||||
**States:**
|
||||
|
||||
A Component can be in one of these 5 states.
|
||||
|
||||
**Started** - The Component has been started by the :class:`ComponentRegistry`
|
||||
and will have it's update timer started.
|
||||
|
||||
**Starting** - The Component has had it's start method called, but it hasn't
|
||||
fully started yet.
|
||||
|
||||
**Stopped** - The Component has either been stopped or has yet to be started.
|
||||
|
||||
**Stopping** - The Component has had it's stop method called, but it hasn't
|
||||
fully stopped yet.
|
||||
|
||||
**Paused** - The Component has had it's update timer stopped, but will
|
||||
still be considered in a Started state.
|
||||
|
||||
"""
|
||||
|
||||
class Component(object):
|
||||
def __init__(self, name, interval=1, depend=None):
|
||||
# Register with the ComponentRegistry
|
||||
register(name, self, depend)
|
||||
self._interval = interval
|
||||
self._timer = None
|
||||
self._state = COMPONENT_STATE.index("Stopped")
|
||||
self._name = name
|
||||
"""Initialize component.
|
||||
|
||||
Args:
|
||||
name (str): Name of component.
|
||||
interval (int, optional): The interval in seconds to call the update function.
|
||||
depend (list, optional): The names of components this component depends on.
|
||||
|
||||
"""
|
||||
self._component_name = name
|
||||
self._component_interval = interval
|
||||
self._component_depend = depend
|
||||
self._component_state = 'Stopped'
|
||||
self._component_timer = None
|
||||
self._component_starting_deferred = None
|
||||
self._component_stopping_deferred = None
|
||||
_ComponentRegistry.register(self)
|
||||
|
||||
def __del__(self):
|
||||
if _ComponentRegistry:
|
||||
_ComponentRegistry.deregister(self)
|
||||
|
||||
def _component_start_timer(self):
|
||||
if hasattr(self, 'update'):
|
||||
self._component_timer = LoopingCall(self.update)
|
||||
self._component_timer.start(self._component_interval)
|
||||
|
||||
def _component_start(self):
|
||||
def on_start(result):
|
||||
self._component_state = 'Started'
|
||||
self._component_starting_deferred = None
|
||||
self._component_start_timer()
|
||||
return True
|
||||
|
||||
def on_start_fail(result):
|
||||
self._component_state = 'Stopped'
|
||||
self._component_starting_deferred = None
|
||||
log.error(result)
|
||||
return fail(result)
|
||||
|
||||
if self._component_state == 'Stopped':
|
||||
if hasattr(self, 'start'):
|
||||
self._component_state = 'Starting'
|
||||
d = deferLater(reactor, 0, self.start)
|
||||
d.addCallbacks(on_start, on_start_fail)
|
||||
self._component_starting_deferred = d
|
||||
else:
|
||||
d = maybeDeferred(on_start, None)
|
||||
elif self._component_state == 'Starting':
|
||||
return self._component_starting_deferred
|
||||
elif self._component_state == 'Started':
|
||||
d = succeed(True)
|
||||
else:
|
||||
d = fail(
|
||||
ComponentException(
|
||||
'Trying to start component "%s" but it is '
|
||||
'not in a stopped state. Current state: %s'
|
||||
% (self._component_name, self._component_state),
|
||||
traceback.format_stack(limit=4),
|
||||
)
|
||||
)
|
||||
return d
|
||||
|
||||
def _component_stop(self):
|
||||
def on_stop(result):
|
||||
self._component_state = 'Stopped'
|
||||
if self._component_timer and self._component_timer.running:
|
||||
self._component_timer.stop()
|
||||
return True
|
||||
|
||||
def on_stop_fail(result):
|
||||
self._component_state = 'Started'
|
||||
self._component_stopping_deferred = None
|
||||
log.error(result)
|
||||
return result
|
||||
|
||||
if self._component_state != 'Stopped' and self._component_state != 'Stopping':
|
||||
if hasattr(self, 'stop'):
|
||||
self._component_state = 'Stopping'
|
||||
d = maybeDeferred(self.stop)
|
||||
d.addCallback(on_stop)
|
||||
d.addErrback(on_stop_fail)
|
||||
self._component_stopping_deferred = d
|
||||
else:
|
||||
d = maybeDeferred(on_stop, None)
|
||||
|
||||
if self._component_state == 'Stopping':
|
||||
return self._component_stopping_deferred
|
||||
|
||||
return succeed(None)
|
||||
|
||||
def _component_pause(self):
|
||||
def on_pause(result):
|
||||
self._component_state = 'Paused'
|
||||
|
||||
if self._component_state == 'Started':
|
||||
if self._component_timer and self._component_timer.running:
|
||||
d = maybeDeferred(self._component_timer.stop)
|
||||
d.addCallback(on_pause)
|
||||
else:
|
||||
d = succeed(None)
|
||||
elif self._component_state == 'Paused':
|
||||
d = succeed(None)
|
||||
else:
|
||||
d = fail(
|
||||
ComponentException(
|
||||
'Trying to pause component "%s" but it is '
|
||||
'not in a started state. Current state: %s'
|
||||
% (self._component_name, self._component_state),
|
||||
traceback.format_stack(limit=4),
|
||||
)
|
||||
)
|
||||
return d
|
||||
|
||||
def _component_resume(self):
|
||||
def on_resume(result):
|
||||
self._component_state = 'Started'
|
||||
|
||||
if self._component_state == 'Paused':
|
||||
d = maybeDeferred(self._component_start_timer)
|
||||
d.addCallback(on_resume)
|
||||
else:
|
||||
d = fail(
|
||||
ComponentException(
|
||||
'Trying to resume component "%s" but it is '
|
||||
'not in a paused state. Current state: %s'
|
||||
% (self._component_name, self._component_state),
|
||||
traceback.format_stack(limit=4),
|
||||
)
|
||||
)
|
||||
return d
|
||||
|
||||
def _component_shutdown(self):
|
||||
def on_stop(result):
|
||||
if hasattr(self, 'shutdown'):
|
||||
return maybeDeferred(self.shutdown)
|
||||
return succeed(None)
|
||||
|
||||
d = self._component_stop()
|
||||
d.addCallback(on_stop)
|
||||
return d
|
||||
|
||||
def get_state(self):
|
||||
return self._state
|
||||
|
||||
def get_component_name(self):
|
||||
return self._name
|
||||
return self._component_state
|
||||
|
||||
def start(self):
|
||||
pass
|
||||
|
||||
def _start(self):
|
||||
self._state = COMPONENT_STATE.index("Started")
|
||||
if hasattr(self, "update"):
|
||||
self._timer = LoopingCall(self.update)
|
||||
self._timer.start(self._interval)
|
||||
|
||||
def stop(self):
|
||||
pass
|
||||
|
||||
def _stop(self):
|
||||
self._state = COMPONENT_STATE.index("Stopped")
|
||||
try:
|
||||
self._timer.stop()
|
||||
except:
|
||||
pass
|
||||
|
||||
def _pause(self):
|
||||
self._state = COMPONENT_STATE.index("Paused")
|
||||
try:
|
||||
self._timer.stop()
|
||||
except:
|
||||
pass
|
||||
|
||||
def _resume(self):
|
||||
self._start()
|
||||
|
||||
def shutdown(self):
|
||||
pass
|
||||
|
||||
class ComponentRegistry:
|
||||
def __init__(self):
|
||||
self.components = {}
|
||||
self.depend = {}
|
||||
|
||||
def register(self, name, obj, depend):
|
||||
"""Registers a component.. depend must be list or None"""
|
||||
log.debug("Registered %s with ComponentRegistry..", name)
|
||||
self.components[name] = obj
|
||||
if depend != None:
|
||||
self.depend[name] = depend
|
||||
|
||||
def deregister(self, name):
|
||||
"""Deregisters a component"""
|
||||
if name in self.components:
|
||||
log.debug("Deregistering Component: %s", name)
|
||||
self.stop_component(name)
|
||||
del self.components[name]
|
||||
|
||||
def get(self, name):
|
||||
"""Returns a reference to the component 'name'"""
|
||||
return self.components[name]
|
||||
|
||||
def start(self):
|
||||
"""Starts all components"""
|
||||
for component in self.components.keys():
|
||||
self.start_component(component)
|
||||
|
||||
def start_component(self, name):
|
||||
"""Starts a component"""
|
||||
# Check to see if this component has any dependencies
|
||||
if self.depend.has_key(name):
|
||||
for depend in self.depend[name]:
|
||||
self.start_component(depend)
|
||||
|
||||
# Only start if the component is stopped.
|
||||
if self.components[name].get_state() == \
|
||||
COMPONENT_STATE.index("Stopped"):
|
||||
log.debug("Starting component %s..", name)
|
||||
self.components[name].start()
|
||||
self.components[name]._start()
|
||||
|
||||
def stop(self):
|
||||
"""Stops all components"""
|
||||
# We create a separate list of the keys and do an additional check to
|
||||
# make sure the key still exists in the components dict.
|
||||
# This is because components could be deregistered during a stop and
|
||||
# the dictionary would get modified while iterating through it.
|
||||
components = self.components.keys()
|
||||
for component in components:
|
||||
if component in self.components:
|
||||
self.stop_component(component)
|
||||
|
||||
def stop_component(self, component):
|
||||
if self.components[component].get_state() != \
|
||||
COMPONENT_STATE.index("Stopped"):
|
||||
log.debug("Stopping component %s..", component)
|
||||
self.components[component].stop()
|
||||
self.components[component]._stop()
|
||||
|
||||
def pause(self):
|
||||
"""Pauses all components. Stops calling update()"""
|
||||
for component in self.components.keys():
|
||||
self.pause_component(component)
|
||||
|
||||
def pause_component(self, component):
|
||||
if self.components[component].get_state() not in \
|
||||
[COMPONENT_STATE.index("Paused"), COMPONENT_STATE.index("Stopped")]:
|
||||
log.debug("Pausing component %s..", component)
|
||||
self.components[component]._pause()
|
||||
|
||||
def resume(self):
|
||||
"""Resumes all components. Starts calling update()"""
|
||||
for component in self.components.keys():
|
||||
self.resume_component(component)
|
||||
|
||||
def resume_component(self, component):
|
||||
if self.components[component].get_state() == COMPONENT_STATE.index("Paused"):
|
||||
log.debug("Resuming component %s..", component)
|
||||
self.components[component]._resume()
|
||||
|
||||
def update(self):
|
||||
"""Updates all components"""
|
||||
for component in self.components.keys():
|
||||
# Only update the component if it's started
|
||||
if self.components[component].get_state() == \
|
||||
COMPONENT_STATE.index("Started"):
|
||||
self.components[component].update()
|
||||
|
||||
return True
|
||||
pass
|
||||
|
||||
def shutdown(self):
|
||||
"""Shuts down all components. This should be called when the program
|
||||
exits so that components can do any necessary clean-up."""
|
||||
# Stop all components first
|
||||
self.stop()
|
||||
for component in self.components.keys():
|
||||
log.debug("Shutting down component %s..", component)
|
||||
pass
|
||||
|
||||
|
||||
class ComponentRegistry:
|
||||
"""The ComponentRegistry holds a list of currently registered :class:`Component` objects.
|
||||
|
||||
It is used to manage the Components by starting, stopping, pausing and shutting them down.
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
self.components = {}
|
||||
# Stores all of the components that are dependent on a particular component
|
||||
self.dependents = defaultdict(list)
|
||||
|
||||
def register(self, obj):
|
||||
"""Register a component object with the registry.
|
||||
|
||||
Note:
|
||||
This is done automatically when a Component object is instantiated.
|
||||
|
||||
Args:
|
||||
obj (Component): A component object to register.
|
||||
|
||||
Raises:
|
||||
ComponentAlreadyRegistered: If a component with the same name is already registered.
|
||||
|
||||
"""
|
||||
name = obj._component_name
|
||||
if name in self.components:
|
||||
raise ComponentAlreadyRegistered(
|
||||
'Component already registered with name %s' % name
|
||||
)
|
||||
|
||||
self.components[obj._component_name] = obj
|
||||
if obj._component_depend:
|
||||
for depend in obj._component_depend:
|
||||
self.dependents[depend].append(name)
|
||||
|
||||
def deregister(self, obj):
|
||||
"""Deregister a component from the registry. A stop will be
|
||||
issued to the component prior to deregistering it.
|
||||
|
||||
Args:
|
||||
obj (Component): a component object to deregister
|
||||
|
||||
Returns:
|
||||
Deferred: a deferred object that will fire once the Component has been
|
||||
successfully deregistered
|
||||
|
||||
"""
|
||||
if obj in self.components.values():
|
||||
log.debug('Deregistering Component: %s', obj._component_name)
|
||||
d = self.stop([obj._component_name])
|
||||
|
||||
def on_stop(result, name):
|
||||
# Component may have been removed, so pop to ensure it doesn't fail
|
||||
self.components.pop(name, None)
|
||||
|
||||
return d.addCallback(on_stop, obj._component_name)
|
||||
else:
|
||||
return succeed(None)
|
||||
|
||||
def start(self, names=None):
|
||||
"""Start Components, and their dependencies, that are currently in a Stopped state.
|
||||
|
||||
Note:
|
||||
If no names are specified then all registered components will be started.
|
||||
|
||||
Args:
|
||||
names (list): A list of Components to start and their dependencies.
|
||||
|
||||
Returns:
|
||||
Deferred: Fired once all Components have been successfully started.
|
||||
|
||||
"""
|
||||
# Start all the components if names is empty
|
||||
if not names:
|
||||
names = list(self.components)
|
||||
elif isinstance(names, str):
|
||||
names = [names]
|
||||
|
||||
def on_depends_started(result, name):
|
||||
return self.components[name]._component_start()
|
||||
|
||||
deferreds = []
|
||||
|
||||
for name in names:
|
||||
if self.components[name]._component_depend:
|
||||
# This component has depends, so we need to start them first.
|
||||
d = self.start(self.components[name]._component_depend)
|
||||
d.addCallback(on_depends_started, name)
|
||||
deferreds.append(d)
|
||||
else:
|
||||
deferreds.append(self.components[name]._component_start())
|
||||
|
||||
return DeferredList(deferreds)
|
||||
|
||||
def stop(self, names=None):
|
||||
"""Stop Components that are currently not in a Stopped state.
|
||||
|
||||
Note:
|
||||
If no names are specified then all registered components will be stopped.
|
||||
|
||||
Args:
|
||||
names (list): A list of Components to stop.
|
||||
|
||||
Returns:
|
||||
Deferred: Fired once all Components have been successfully stopped.
|
||||
|
||||
"""
|
||||
if not names:
|
||||
names = list(self.components)
|
||||
elif isinstance(names, str):
|
||||
names = [names]
|
||||
|
||||
def on_dependents_stopped(result, name):
|
||||
return self.components[name]._component_stop()
|
||||
|
||||
stopped_in_deferred = set()
|
||||
deferreds = []
|
||||
|
||||
for name in names:
|
||||
if name in stopped_in_deferred:
|
||||
continue
|
||||
if name in self.components:
|
||||
if name in self.dependents:
|
||||
# If other components depend on this component, stop them first
|
||||
d = self.stop(self.dependents[name]).addCallback(
|
||||
on_dependents_stopped, name
|
||||
)
|
||||
deferreds.append(d)
|
||||
stopped_in_deferred.update(self.dependents[name])
|
||||
else:
|
||||
deferreds.append(self.components[name]._component_stop())
|
||||
|
||||
return DeferredList(deferreds)
|
||||
|
||||
def pause(self, names=None):
|
||||
"""Pause Components that are currently in a Started state.
|
||||
|
||||
Note:
|
||||
If no names are specified then all registered components will be paused.
|
||||
|
||||
Args:
|
||||
names (list): A list of Components to pause.
|
||||
|
||||
Returns:
|
||||
Deferred: Fired once all Components have been successfully paused.
|
||||
|
||||
"""
|
||||
if not names:
|
||||
names = list(self.components)
|
||||
elif isinstance(names, str):
|
||||
names = [names]
|
||||
|
||||
deferreds = []
|
||||
|
||||
for name in names:
|
||||
if self.components[name]._component_state == 'Started':
|
||||
deferreds.append(self.components[name]._component_pause())
|
||||
|
||||
return DeferredList(deferreds)
|
||||
|
||||
def resume(self, names=None):
|
||||
"""Resume Components that are currently in a Paused state.
|
||||
|
||||
Note:
|
||||
If no names are specified then all registered components will be resumed.
|
||||
|
||||
Args:
|
||||
names (list): A list of Components to to resume.
|
||||
|
||||
Returns:
|
||||
Deferred: Fired once all Components have been successfully resumed.
|
||||
|
||||
"""
|
||||
if not names:
|
||||
names = list(self.components)
|
||||
elif isinstance(names, str):
|
||||
names = [names]
|
||||
|
||||
deferreds = []
|
||||
|
||||
for name in names:
|
||||
if self.components[name]._component_state == 'Paused':
|
||||
deferreds.append(self.components[name]._component_resume())
|
||||
|
||||
return DeferredList(deferreds)
|
||||
|
||||
def shutdown(self):
|
||||
"""Shutdown all Components regardless of state.
|
||||
|
||||
This will call stop() on all the components prior to shutting down. This should be called
|
||||
when the program is exiting to ensure all Components have a chance to properly shutdown.
|
||||
|
||||
Returns:
|
||||
Deferred: Fired once all Components have been successfully shut down.
|
||||
|
||||
"""
|
||||
|
||||
def on_stopped(result):
|
||||
return DeferredList(
|
||||
[comp._component_shutdown() for comp in list(self.components.values())]
|
||||
)
|
||||
|
||||
return self.stop(list(self.components)).addCallback(on_stopped)
|
||||
|
||||
def update(self):
|
||||
"""Update all Components that are in a Started state."""
|
||||
for component in self.components.items():
|
||||
try:
|
||||
self.components[component].shutdown()
|
||||
except Exception, e:
|
||||
log.debug("Unable to call shutdown()")
|
||||
log.exception(e)
|
||||
component.update()
|
||||
except BaseException as ex:
|
||||
log.exception(ex)
|
||||
|
||||
|
||||
_ComponentRegistry = ComponentRegistry()
|
||||
|
||||
def register(name, obj, depend=None):
|
||||
"""Registers a component with the registry"""
|
||||
_ComponentRegistry.register(name, obj, depend)
|
||||
deregister = _ComponentRegistry.deregister
|
||||
start = _ComponentRegistry.start
|
||||
stop = _ComponentRegistry.stop
|
||||
pause = _ComponentRegistry.pause
|
||||
resume = _ComponentRegistry.resume
|
||||
update = _ComponentRegistry.update
|
||||
shutdown = _ComponentRegistry.shutdown
|
||||
|
||||
def deregister(name):
|
||||
"""Deregisters a component"""
|
||||
_ComponentRegistry.deregister(name)
|
||||
|
||||
def start(component=None):
|
||||
"""Starts all components"""
|
||||
if component == None:
|
||||
_ComponentRegistry.start()
|
||||
else:
|
||||
_ComponentRegistry.start_component(component)
|
||||
def get(name):
|
||||
"""Return a reference to a component.
|
||||
|
||||
def stop(component=None):
|
||||
"""Stops all or specified components"""
|
||||
if component == None:
|
||||
_ComponentRegistry.stop()
|
||||
else:
|
||||
_ComponentRegistry.stop_component(component)
|
||||
Args:
|
||||
name (str): The Component name to get.
|
||||
|
||||
def pause(component=None):
|
||||
"""Pauses all or specificed components"""
|
||||
if component == None:
|
||||
_ComponentRegistry.pause()
|
||||
else:
|
||||
_ComponentRegistry.pause_component(component)
|
||||
Returns:
|
||||
Component: The Component object.
|
||||
|
||||
def resume(component=None):
|
||||
"""Resumes all or specificed components"""
|
||||
if component == None:
|
||||
_ComponentRegistry.resume()
|
||||
else:
|
||||
_ComponentRegistry.resume_component(component)
|
||||
Raises:
|
||||
KeyError: If the Component does not exist.
|
||||
|
||||
def update():
|
||||
"""Updates all components"""
|
||||
_ComponentRegistry.update()
|
||||
|
||||
def shutdown():
|
||||
"""Shutdowns all components"""
|
||||
_ComponentRegistry.shutdown()
|
||||
|
||||
def get(component):
|
||||
"""Return a reference to the component"""
|
||||
return _ComponentRegistry.get(component)
|
||||
"""
|
||||
return _ComponentRegistry.components[name]
|
||||
|
||||
610
deluge/config.py
@ -1,38 +1,10 @@
|
||||
#
|
||||
# config.py
|
||||
#
|
||||
# Copyright (C) 2008 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
"""
|
||||
Deluge Config Module
|
||||
@ -45,9 +17,9 @@ The format of the config file is two json encoded dicts:
|
||||
<version dict>
|
||||
<content dict>
|
||||
|
||||
The version dict contains two keys: file and format. The format version is
|
||||
controlled by the Config class. It should only be changed when anything below
|
||||
it is changed directly by the Config class. An example of this would be if we
|
||||
The version dict contains two keys: file and format. The format version is
|
||||
controlled by the Config class. It should only be changed when anything below
|
||||
it is changed directly by the Config class. An example of this would be if we
|
||||
changed the serializer for the content to something different.
|
||||
|
||||
The config file version is changed by the 'owner' of the config file. This is
|
||||
@ -66,225 +38,312 @@ this can only be done for the 'config file version' and not for the 'format'
|
||||
version as this will be done internally.
|
||||
|
||||
"""
|
||||
|
||||
import cPickle as pickle
|
||||
import shutil
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import pickle
|
||||
import shutil
|
||||
from codecs import getwriter
|
||||
from tempfile import NamedTemporaryFile
|
||||
|
||||
import deluge.common
|
||||
from deluge.log import LOG as log
|
||||
from deluge.common import JSON_FORMAT, get_default_config_dir
|
||||
|
||||
json = deluge.common.json
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
def prop(func):
|
||||
"""Function decorator for defining property attributes
|
||||
|
||||
The decorated function is expected to return a dictionary
|
||||
containing one or more of the following pairs:
|
||||
fget - function for getting attribute value
|
||||
fset - function for setting attribute value
|
||||
fdel - function for deleting attribute
|
||||
This can be conveniently constructed by the locals() builtin
|
||||
function; see:
|
||||
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/205183
|
||||
"""
|
||||
return property(doc=func.__doc__, **func())
|
||||
def find_json_objects(text, decoder=json.JSONDecoder()):
|
||||
"""Find json objects in text.
|
||||
|
||||
Args:
|
||||
text (str): The text to find json objects within.
|
||||
|
||||
Returns:
|
||||
list: A list of tuples containing start and end locations of json
|
||||
objects in the text. e.g. [(start, end), ...]
|
||||
|
||||
|
||||
def find_json_objects(s):
|
||||
"""
|
||||
Find json objects in a string.
|
||||
|
||||
:param s: the string to find json objects in
|
||||
:type s: string
|
||||
|
||||
:returns: a list of tuples containing start and end locations of json objects in the string `s`
|
||||
:rtype: [(start, end), ...]
|
||||
|
||||
"""
|
||||
objects = []
|
||||
opens = 0
|
||||
start = s.find("{")
|
||||
offset = start
|
||||
offset = 0
|
||||
while True:
|
||||
try:
|
||||
start = text.index('{', offset)
|
||||
except ValueError:
|
||||
break
|
||||
|
||||
if start < 0:
|
||||
return []
|
||||
|
||||
for index, c in enumerate(s[offset:]):
|
||||
if c == "{":
|
||||
opens += 1
|
||||
elif c == "}":
|
||||
opens -= 1
|
||||
if opens == 0:
|
||||
objects.append((start, index+offset+1))
|
||||
start = index + offset + 1
|
||||
try:
|
||||
__, index = decoder.raw_decode(text[start:])
|
||||
except json.decoder.JSONDecodeError:
|
||||
offset = start + 1
|
||||
else:
|
||||
offset = start + index
|
||||
objects.append((start, offset))
|
||||
|
||||
return objects
|
||||
|
||||
|
||||
class Config(object):
|
||||
"""
|
||||
This class is used to access/create/modify config files
|
||||
|
||||
:param filename: the name of the config file
|
||||
:param defaults: dictionary of default values
|
||||
:param config_dir: the path to the config directory
|
||||
|
||||
def cast_to_existing_type(value, old_value):
|
||||
"""Attempt to convert new value type to match old value type"""
|
||||
types_match = isinstance(old_value, (type(None), type(value)))
|
||||
if value is not None and not types_match:
|
||||
old_type = type(old_value)
|
||||
# Skip convert to bytes since requires knowledge of encoding and value should
|
||||
# be unicode anyway.
|
||||
if old_type is bytes:
|
||||
return value
|
||||
|
||||
return old_type(value)
|
||||
|
||||
return value
|
||||
|
||||
|
||||
class Config:
|
||||
"""This class is used to access/create/modify config files.
|
||||
|
||||
Args:
|
||||
filename (str): The config filename.
|
||||
defaults (dict): The default config values to insert before loading the config file.
|
||||
config_dir (str): the path to the config directory.
|
||||
file_version (int): The file format for the default config values when creating
|
||||
a fresh config. This value should be increased whenever a new migration function is
|
||||
setup to convert old config files. (default: 1)
|
||||
log_mask_funcs (dict): A dict of key:function, used to mask sensitive
|
||||
key values (e.g. passwords) when logging is enabled.
|
||||
|
||||
"""
|
||||
def __init__(self, filename, defaults=None, config_dir=None):
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
filename,
|
||||
defaults=None,
|
||||
config_dir=None,
|
||||
file_version=1,
|
||||
log_mask_funcs=None,
|
||||
):
|
||||
self.__config = {}
|
||||
self.__set_functions = {}
|
||||
self.__change_callbacks = []
|
||||
self.__log_mask_funcs = log_mask_funcs if log_mask_funcs else {}
|
||||
|
||||
# These hold the version numbers and they will be set when loaded
|
||||
self.__version = {
|
||||
"format": 1,
|
||||
"file": 1
|
||||
}
|
||||
self.__version = {'format': 1, 'file': file_version}
|
||||
|
||||
# This will get set with a reactor.callLater whenever a config option
|
||||
# is set.
|
||||
self._save_timer = None
|
||||
|
||||
if defaults:
|
||||
self.__config = dict(defaults)
|
||||
for key, value in defaults.items():
|
||||
self.set_item(key, value, default=True)
|
||||
|
||||
# Load the config from file in the config_dir
|
||||
if config_dir:
|
||||
self.__config_file = os.path.join(config_dir, filename)
|
||||
else:
|
||||
self.__config_file = deluge.common.get_default_config_dir(filename)
|
||||
self.__config_file = get_default_config_dir(filename)
|
||||
|
||||
self.load()
|
||||
|
||||
def callLater(self, period, func, *args, **kwargs): # noqa: N802 ignore camelCase
|
||||
"""Wrapper around reactor.callLater for test purpose."""
|
||||
from twisted.internet import reactor
|
||||
|
||||
return reactor.callLater(period, func, *args, **kwargs)
|
||||
|
||||
def __contains__(self, item):
|
||||
return item in self.__config
|
||||
|
||||
def __setitem__(self, key, value):
|
||||
"""
|
||||
See
|
||||
:meth:`set_item`
|
||||
"""
|
||||
"""See set_item"""
|
||||
|
||||
return self.set_item(key, value)
|
||||
|
||||
def set_item(self, key, value):
|
||||
"""
|
||||
Sets item 'key' to 'value' in the config dictionary, but does not allow
|
||||
changing the item's type unless it is None. If the types do not match,
|
||||
it will attempt to convert it to the set type before raising a ValueError.
|
||||
def set_item(self, key, value, default=False):
|
||||
"""Sets item 'key' to 'value' in the config dictionary.
|
||||
|
||||
:param key: string, item to change to change
|
||||
:param value: the value to change item to, must be same type as what is currently in the config
|
||||
Does not allow changing the item's type unless it is None.
|
||||
|
||||
:raises ValueError: raised when the type of value is not the same as\
|
||||
what is currently in the config and it could not convert the value
|
||||
If the types do not match, it will attempt to convert it to the
|
||||
set type before raising a ValueError.
|
||||
|
||||
**Usage**
|
||||
Args:
|
||||
key (str): Item to change to change.
|
||||
value (any): The value to change item to, must be same type as what is
|
||||
currently in the config.
|
||||
default (optional, bool): When setting a default value skip func or save
|
||||
callbacks.
|
||||
|
||||
>>> config = Config("test.conf")
|
||||
>>> config["test"] = 5
|
||||
>>> config["test"]
|
||||
5
|
||||
Raises:
|
||||
ValueError: Raised when the type of value is not the same as what is
|
||||
currently in the config and it could not convert the value.
|
||||
|
||||
Examples:
|
||||
>>> config = Config('test.conf')
|
||||
>>> config['test'] = 5
|
||||
>>> config['test']
|
||||
5
|
||||
|
||||
"""
|
||||
if not self.__config.has_key(key):
|
||||
self.__config[key] = value
|
||||
log.debug("Setting '%s' to %s of %s", key, value, type(value))
|
||||
return
|
||||
if isinstance(value, bytes):
|
||||
value = value.decode()
|
||||
|
||||
if self.__config[key] == value:
|
||||
return
|
||||
|
||||
# Do not allow the type to change unless it is None
|
||||
oldtype, newtype = type(self.__config[key]), type(value)
|
||||
|
||||
if value is not None and oldtype != type(None) and oldtype != newtype:
|
||||
if key in self.__config:
|
||||
try:
|
||||
value = oldtype(value)
|
||||
value = cast_to_existing_type(value, self.__config[key])
|
||||
except ValueError:
|
||||
log.warning("Type '%s' invalid for '%s'", newtype, key)
|
||||
log.warning('Value Type "%s" invalid for key: %s', type(value), key)
|
||||
raise
|
||||
else:
|
||||
if self.__config[key] == value:
|
||||
return
|
||||
|
||||
log.debug("Setting '%s' to %s of %s", key, value, type(value))
|
||||
|
||||
if log.isEnabledFor(logging.DEBUG):
|
||||
if key in self.__log_mask_funcs:
|
||||
value = self.__log_mask_funcs[key](value)
|
||||
log.debug(
|
||||
'Setting key "%s" to: %s (of type: %s)',
|
||||
key,
|
||||
value,
|
||||
type(value),
|
||||
)
|
||||
self.__config[key] = value
|
||||
|
||||
# Skip save or func callbacks if setting default value for keys
|
||||
if default:
|
||||
return
|
||||
|
||||
# Run the set_function for this key if any
|
||||
from twisted.internet import reactor
|
||||
try:
|
||||
for func in self.__set_functions[key]:
|
||||
reactor.callLater(0, func, key, value)
|
||||
except KeyError:
|
||||
pass
|
||||
for func in self.__set_functions.get(key, []):
|
||||
self.callLater(0, func, key, value)
|
||||
|
||||
try:
|
||||
|
||||
def do_change_callbacks(key, value):
|
||||
for func in self.__change_callbacks:
|
||||
func(key, value)
|
||||
reactor.callLater(0, do_change_callbacks, key, value)
|
||||
except:
|
||||
|
||||
self.callLater(0, do_change_callbacks, key, value)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# We set the save_timer for 5 seconds if not already set
|
||||
if not self._save_timer or not self._save_timer.active():
|
||||
self._save_timer = reactor.callLater(5, self.save)
|
||||
self._save_timer = self.callLater(5, self.save)
|
||||
|
||||
def __getitem__(self, key):
|
||||
"""
|
||||
See
|
||||
:meth:`get_item`
|
||||
"""
|
||||
"""See get_item"""
|
||||
return self.get_item(key)
|
||||
|
||||
def get_item(self, key):
|
||||
"""
|
||||
Gets the value of item 'key'
|
||||
"""Gets the value of item 'key'.
|
||||
|
||||
:param key: the item for which you want it's value
|
||||
:return: the value of item 'key'
|
||||
Args:
|
||||
key (str): The item for which you want it's value.
|
||||
|
||||
:raises KeyError: if 'key' is not in the config dictionary
|
||||
Returns:
|
||||
any: The value of item 'key'.
|
||||
|
||||
**Usage**
|
||||
Raises:
|
||||
ValueError: If 'key' is not in the config dictionary.
|
||||
|
||||
>>> config = Config("test.conf", defaults={"test": 5})
|
||||
>>> config["test"]
|
||||
5
|
||||
Examples:
|
||||
>>> config = Config('test.conf', defaults={'test': 5})
|
||||
>>> config['test']
|
||||
5
|
||||
|
||||
"""
|
||||
return self.__config[key]
|
||||
|
||||
def register_change_callback(self, callback):
|
||||
def get(self, key, default=None):
|
||||
"""Gets the value of item 'key' if key is in the config, else default.
|
||||
|
||||
If default is not given, it defaults to None, so that this method
|
||||
never raises a KeyError.
|
||||
|
||||
Args:
|
||||
key (str): the item for which you want it's value
|
||||
default (any): the default value if key is missing
|
||||
|
||||
Returns:
|
||||
any: The value of item 'key' or default.
|
||||
|
||||
Examples:
|
||||
>>> config = Config('test.conf', defaults={'test': 5})
|
||||
>>> config.get('test', 10)
|
||||
5
|
||||
>>> config.get('bad_key', 10)
|
||||
10
|
||||
|
||||
"""
|
||||
Registers a callback function that will be called when a value is changed in the config dictionary
|
||||
try:
|
||||
return self.get_item(key)
|
||||
except KeyError:
|
||||
return default
|
||||
|
||||
:param callback: the function, callback(key, value)
|
||||
def __delitem__(self, key):
|
||||
"""
|
||||
See
|
||||
:meth:`del_item`
|
||||
"""
|
||||
self.del_item(key)
|
||||
|
||||
**Usage**
|
||||
def del_item(self, key):
|
||||
"""Deletes item with a specific key from the configuration.
|
||||
|
||||
>>> config = Config("test.conf", defaults={"test": 5})
|
||||
>>> def cb(key, value):
|
||||
... print key, value
|
||||
...
|
||||
>>> config.register_change_callback(cb)
|
||||
Args:
|
||||
key (str): The item which you wish to delete.
|
||||
|
||||
Raises:
|
||||
ValueError: If 'key' is not in the config dictionary.
|
||||
|
||||
Examples:
|
||||
>>> config = Config('test.conf', defaults={'test': 5})
|
||||
>>> del config['test']
|
||||
|
||||
"""
|
||||
|
||||
del self.__config[key]
|
||||
|
||||
# We set the save_timer for 5 seconds if not already set
|
||||
if not self._save_timer or not self._save_timer.active():
|
||||
self._save_timer = self.callLater(5, self.save)
|
||||
|
||||
def register_change_callback(self, callback):
|
||||
"""Registers a callback function for any changed value.
|
||||
|
||||
Will be called when any value is changed in the config dictionary.
|
||||
|
||||
Args:
|
||||
callback (func): The function to call with parameters: f(key, value).
|
||||
|
||||
Examples:
|
||||
>>> config = Config('test.conf', defaults={'test': 5})
|
||||
>>> def cb(key, value):
|
||||
... print key, value
|
||||
...
|
||||
>>> config.register_change_callback(cb)
|
||||
|
||||
"""
|
||||
self.__change_callbacks.append(callback)
|
||||
|
||||
def register_set_function(self, key, function, apply_now=True):
|
||||
"""
|
||||
Register a function to be called when a config value changes
|
||||
"""Register a function to be called when a config value changes.
|
||||
|
||||
:param key: the item to monitor for change
|
||||
:param function: the function to call when the value changes, f(key, value)
|
||||
:keyword apply_now: if True, the function will be called after it's registered
|
||||
Args:
|
||||
key (str): The item to monitor for change.
|
||||
function (func): The function to call when the value changes, f(key, value).
|
||||
apply_now (bool): If True, the function will be called immediately after it's registered.
|
||||
|
||||
**Usage**
|
||||
|
||||
>>> config = Config("test.conf", defaults={"test": 5})
|
||||
>>> def cb(key, value):
|
||||
... print key, value
|
||||
...
|
||||
>>> config.register_set_function("test", cb, apply_now=True)
|
||||
test 5
|
||||
Examples:
|
||||
>>> config = Config('test.conf', defaults={'test': 5})
|
||||
>>> def cb(key, value):
|
||||
... print key, value
|
||||
...
|
||||
>>> config.register_set_function('test', cb, apply_now=True)
|
||||
test 5
|
||||
|
||||
"""
|
||||
log.debug("Registering function for %s key..", key)
|
||||
log.debug('Registering function for %s key..', key)
|
||||
if key not in self.__set_functions:
|
||||
self.__set_functions[key] = []
|
||||
|
||||
@ -293,93 +352,108 @@ what is currently in the config and it could not convert the value
|
||||
# Run the function now if apply_now is set
|
||||
if apply_now:
|
||||
function(key, self.__config[key])
|
||||
return
|
||||
|
||||
def apply_all(self):
|
||||
"""
|
||||
Calls all set functions
|
||||
"""Calls all set functions.
|
||||
|
||||
**Usage**
|
||||
|
||||
>>> config = Config("test.conf", defaults={"test": 5})
|
||||
>>> def cb(key, value):
|
||||
... print key, value
|
||||
...
|
||||
>>> config.register_set_function("test", cb, apply_now=False)
|
||||
>>> config.apply_all()
|
||||
test 5
|
||||
Examples:
|
||||
>>> config = Config('test.conf', defaults={'test': 5})
|
||||
>>> def cb(key, value):
|
||||
... print key, value
|
||||
...
|
||||
>>> config.register_set_function('test', cb, apply_now=False)
|
||||
>>> config.apply_all()
|
||||
test 5
|
||||
|
||||
"""
|
||||
log.debug("Calling all set functions..")
|
||||
for key, value in self.__set_functions.iteritems():
|
||||
log.debug('Calling all set functions..')
|
||||
for key, value in self.__set_functions.items():
|
||||
for func in value:
|
||||
func(key, self.__config[key])
|
||||
|
||||
def apply_set_functions(self, key):
|
||||
"""
|
||||
Calls set functions for `:param:key`.
|
||||
"""Calls set functions for `:param:key`.
|
||||
|
||||
:param key: str, the config key
|
||||
Args:
|
||||
key (str): the config key
|
||||
|
||||
"""
|
||||
log.debug("Calling set functions for key %s..", key)
|
||||
log.debug('Calling set functions for key %s..', key)
|
||||
if key in self.__set_functions:
|
||||
for func in self.__set_functions[key]:
|
||||
func(key, self.__config[key])
|
||||
|
||||
def load(self, filename=None):
|
||||
"""
|
||||
Load a config file
|
||||
|
||||
:param filename: if None, uses filename set in object initialization
|
||||
"""Load a config file.
|
||||
|
||||
Args:
|
||||
filename (str): If None, uses filename set in object initialization
|
||||
|
||||
"""
|
||||
if not filename:
|
||||
filename = self.__config_file
|
||||
|
||||
try:
|
||||
data = open(filename, "rb").read()
|
||||
except IOError, e:
|
||||
log.warning("Unable to open config file %s: %s", filename, e)
|
||||
with open(filename, encoding='utf8') as _file:
|
||||
data = _file.read()
|
||||
except OSError as ex:
|
||||
log.warning('Unable to open config file %s: %s', filename, ex)
|
||||
return
|
||||
|
||||
objects = find_json_objects(data)
|
||||
|
||||
|
||||
if not len(objects):
|
||||
# No json objects found, try depickling it
|
||||
try:
|
||||
self.__config.update(pickle.loads(data))
|
||||
except Exception, e:
|
||||
log.exception(e)
|
||||
log.warning("Unable to load config file: %s", filename)
|
||||
except Exception as ex:
|
||||
log.exception(ex)
|
||||
log.warning('Unable to load config file: %s', filename)
|
||||
elif len(objects) == 1:
|
||||
start, end = objects[0]
|
||||
try:
|
||||
self.__config.update(json.loads(data[start:end]))
|
||||
except Exception, e:
|
||||
log.exception(e)
|
||||
log.warning("Unable to load config file: %s", filename)
|
||||
except Exception as ex:
|
||||
log.exception(ex)
|
||||
log.warning('Unable to load config file: %s', filename)
|
||||
elif len(objects) == 2:
|
||||
try:
|
||||
start, end = objects[0]
|
||||
self.__version.update(json.loads(data[start:end]))
|
||||
start, end = objects[1]
|
||||
self.__config.update(json.loads(data[start:end]))
|
||||
except Exception, e:
|
||||
log.exception(e)
|
||||
log.warning("Unable to load config file: %s", filename)
|
||||
|
||||
log.debug("Config %s version: %s.%s loaded: %s", filename,
|
||||
self.__version["format"], self.__version["file"], self.__config)
|
||||
except Exception as ex:
|
||||
log.exception(ex)
|
||||
log.warning('Unable to load config file: %s', filename)
|
||||
|
||||
if not log.isEnabledFor(logging.DEBUG):
|
||||
return
|
||||
|
||||
config = self.__config
|
||||
if self.__log_mask_funcs:
|
||||
config = {
|
||||
key: self.__log_mask_funcs[key](config[key])
|
||||
if key in self.__log_mask_funcs
|
||||
else config[key]
|
||||
for key in config
|
||||
}
|
||||
|
||||
log.debug(
|
||||
'Config %s version: %s.%s loaded: %s',
|
||||
filename,
|
||||
self.__version['format'],
|
||||
self.__version['file'],
|
||||
config,
|
||||
)
|
||||
|
||||
def save(self, filename=None):
|
||||
"""
|
||||
Save configuration to disk
|
||||
"""Save configuration to disk.
|
||||
|
||||
:param filename: if None, uses filename set in object initiliazation
|
||||
:rtype bool:
|
||||
:return: whether or not the save succeeded.
|
||||
Args:
|
||||
filename (str): If None, uses filename set in object initialization
|
||||
|
||||
Returns:
|
||||
bool: Whether or not the save succeeded.
|
||||
|
||||
"""
|
||||
if not filename:
|
||||
@ -387,49 +461,53 @@ what is currently in the config and it could not convert the value
|
||||
# Check to see if the current config differs from the one on disk
|
||||
# We will only write a new config file if there is a difference
|
||||
try:
|
||||
data = open(filename, "rb").read()
|
||||
with open(filename, encoding='utf8') as _file:
|
||||
data = _file.read()
|
||||
objects = find_json_objects(data)
|
||||
start, end = objects[0]
|
||||
version = json.loads(data[start:end])
|
||||
start, end = objects[1]
|
||||
loaded_data = json.loads(data[start:end])
|
||||
|
||||
if self.__config == loaded_data and self.__version == version:
|
||||
# The config has not changed so lets just return
|
||||
self._save_timer.cancel()
|
||||
return
|
||||
except Exception, e:
|
||||
log.warning("Unable to open config file: %s", filename)
|
||||
|
||||
|
||||
if self._save_timer and self._save_timer.active():
|
||||
self._save_timer.cancel()
|
||||
return True
|
||||
except (OSError, IndexError) as ex:
|
||||
log.warning('Unable to open config file: %s because: %s', filename, ex)
|
||||
|
||||
# Save the new config and make sure it's written to disk
|
||||
try:
|
||||
log.debug("Saving new config file %s", filename + ".new")
|
||||
f = open(filename + ".new", "wb")
|
||||
json.dump(self.__version, f, indent=2)
|
||||
json.dump(self.__config, f, indent=2)
|
||||
f.flush()
|
||||
os.fsync(f.fileno())
|
||||
f.close()
|
||||
except Exception, e:
|
||||
log.error("Error writing new config file: %s", e)
|
||||
with NamedTemporaryFile(
|
||||
prefix=os.path.basename(filename) + '.', delete=False
|
||||
) as _file:
|
||||
filename_tmp = _file.name
|
||||
log.debug('Saving new config file %s', filename_tmp)
|
||||
json.dump(self.__version, getwriter('utf8')(_file), **JSON_FORMAT)
|
||||
json.dump(self.__config, getwriter('utf8')(_file), **JSON_FORMAT)
|
||||
_file.flush()
|
||||
os.fsync(_file.fileno())
|
||||
except OSError as ex:
|
||||
log.error('Error writing new config file: %s', ex)
|
||||
return False
|
||||
|
||||
# Resolve symlinked config files before backing up and saving.
|
||||
filename = os.path.realpath(filename)
|
||||
|
||||
# Make a backup of the old config
|
||||
try:
|
||||
log.debug("Backing up old config file to %s~", filename)
|
||||
shutil.move(filename, filename + "~")
|
||||
except Exception, e:
|
||||
log.error("Error backing up old config..")
|
||||
log.debug('Backing up old config file to %s.bak', filename)
|
||||
shutil.move(filename, filename + '.bak')
|
||||
except OSError as ex:
|
||||
log.warning('Unable to backup old config: %s', ex)
|
||||
|
||||
# The new config file has been written successfully, so let's move it over
|
||||
# the existing one.
|
||||
try:
|
||||
log.debug("Moving new config file %s to %s..", filename + ".new", filename)
|
||||
shutil.move(filename + ".new", filename)
|
||||
except Exception, e:
|
||||
log.error("Error moving new config file: %s", e)
|
||||
log.debug('Moving new config file %s to %s', filename_tmp, filename)
|
||||
shutil.move(filename_tmp, filename)
|
||||
except OSError as ex:
|
||||
log.error('Error moving new config file: %s', ex)
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
@ -438,47 +516,53 @@ what is currently in the config and it could not convert the value
|
||||
self._save_timer.cancel()
|
||||
|
||||
def run_converter(self, input_range, output_version, func):
|
||||
"""
|
||||
Runs a function that will convert file versions in the `:param:input_range`
|
||||
to the `:param:output_version`.
|
||||
"""Runs a function that will convert file versions.
|
||||
|
||||
:param input_range: tuple, (int, int) the range of input versions this
|
||||
function will accept
|
||||
:param output_version: int, the version this function will return
|
||||
:param func: func, the function that will do the conversion, it will take
|
||||
the config dict as an argument and return the augmented dict
|
||||
Args:
|
||||
input_range (tuple): (int, int) The range of input versions this function will accept.
|
||||
output_version (int): The version this function will convert to.
|
||||
func (func): The function that will do the conversion, it will take the config
|
||||
dict as an argument and return the augmented dict.
|
||||
|
||||
:raises ValueError: if the output_version is less than the input_range
|
||||
Raises:
|
||||
ValueError: If output_version is less than the input_range.
|
||||
|
||||
"""
|
||||
if output_version in input_range or output_version <= max(input_range):
|
||||
raise ValueError("output_version needs to be greater than input_range")
|
||||
raise ValueError('output_version needs to be greater than input_range')
|
||||
|
||||
if self.__version["file"] not in input_range:
|
||||
log.debug("File version %s is not in input_range %s, ignoring converter function..",
|
||||
self.__version["file"], input_range)
|
||||
if self.__version['file'] not in input_range:
|
||||
log.debug(
|
||||
'File version %s is not in input_range %s, ignoring converter function..',
|
||||
self.__version['file'],
|
||||
input_range,
|
||||
)
|
||||
return
|
||||
|
||||
try:
|
||||
self.__config = func(self.__config)
|
||||
except Exception, e:
|
||||
log.exception(e)
|
||||
log.error("There was an exception try to convert config file %s %s to %s",
|
||||
self.__config_file, self.__version["file"], output_version)
|
||||
raise e
|
||||
except Exception as ex:
|
||||
log.exception(ex)
|
||||
log.error(
|
||||
'There was an exception try to convert config file %s %s to %s',
|
||||
self.__config_file,
|
||||
self.__version['file'],
|
||||
output_version,
|
||||
)
|
||||
raise ex
|
||||
else:
|
||||
self.__version["file"] = output_version
|
||||
self.__version['file'] = output_version
|
||||
self.save()
|
||||
|
||||
@property
|
||||
def config_file(self):
|
||||
return self.__config_file
|
||||
|
||||
@prop
|
||||
def config():
|
||||
@property
|
||||
def config(self):
|
||||
"""The config dictionary"""
|
||||
def fget(self):
|
||||
return self.__config
|
||||
def fdel(self):
|
||||
return self.save()
|
||||
return locals()
|
||||
return self.__config
|
||||
|
||||
@config.deleter
|
||||
def config(self):
|
||||
return self.save()
|
||||
|
||||
@ -1,47 +1,24 @@
|
||||
#
|
||||
# configmanager.py
|
||||
#
|
||||
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
import logging
|
||||
import os
|
||||
|
||||
import deluge.common
|
||||
from deluge.log import LOG as log
|
||||
import deluge.log
|
||||
from deluge.config import Config
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class _ConfigManager:
|
||||
def __init__(self):
|
||||
log.debug("ConfigManager started..")
|
||||
log.debug('ConfigManager started..')
|
||||
self.config_files = {}
|
||||
self.__config_directory = None
|
||||
|
||||
@ -52,7 +29,6 @@ class _ConfigManager:
|
||||
return self.__config_directory
|
||||
|
||||
def __del__(self):
|
||||
log.debug("ConfigManager stopping..")
|
||||
del self.config_files
|
||||
|
||||
def set_config_dir(self, directory):
|
||||
@ -67,16 +43,19 @@ class _ConfigManager:
|
||||
if not directory:
|
||||
return False
|
||||
|
||||
log.info("Setting config directory to: %s", directory)
|
||||
# Ensure absolute dirpath
|
||||
directory = os.path.abspath(directory)
|
||||
|
||||
log.info('Setting config directory to: %s', directory)
|
||||
if not os.path.exists(directory):
|
||||
# Try to create the config folder if it doesn't exist
|
||||
try:
|
||||
os.makedirs(directory)
|
||||
except Exception, e:
|
||||
log.error("Unable to make config directory: %s", e)
|
||||
except OSError as ex:
|
||||
log.error('Unable to make config directory: %s', ex)
|
||||
return False
|
||||
elif not os.path.isdir(directory):
|
||||
log.error("Config directory needs to be a directory!")
|
||||
log.error('Config directory needs to be a directory!')
|
||||
return False
|
||||
|
||||
self.__config_directory = directory
|
||||
@ -86,6 +65,7 @@ class _ConfigManager:
|
||||
# to reload based on the new config directory
|
||||
self.save()
|
||||
self.config_files = {}
|
||||
deluge.log.tweak_logging_levels()
|
||||
|
||||
return True
|
||||
|
||||
@ -106,30 +86,42 @@ class _ConfigManager:
|
||||
# We need to return True to keep the timer active
|
||||
return True
|
||||
|
||||
def get_config(self, config_file, defaults=None):
|
||||
def get_config(self, config_file, defaults=None, file_version=1):
|
||||
"""Get a reference to the Config object for this filename"""
|
||||
log.debug("Getting config '%s'", config_file)
|
||||
log.debug('Getting config: %s', config_file)
|
||||
# Create the config object if not already created
|
||||
if config_file not in self.config_files.keys():
|
||||
self.config_files[config_file] = Config(config_file, defaults, self.config_directory)
|
||||
if config_file not in self.config_files:
|
||||
self.config_files[config_file] = Config(
|
||||
config_file,
|
||||
defaults,
|
||||
config_dir=self.config_directory,
|
||||
file_version=file_version,
|
||||
)
|
||||
|
||||
return self.config_files[config_file]
|
||||
|
||||
|
||||
# Singleton functions
|
||||
_configmanager = _ConfigManager()
|
||||
|
||||
def ConfigManager(config, defaults=None):
|
||||
return _configmanager.get_config(config, defaults)
|
||||
|
||||
def ConfigManager(config, defaults=None, file_version=1): # NOQA: N802
|
||||
return _configmanager.get_config(
|
||||
config, defaults=defaults, file_version=file_version
|
||||
)
|
||||
|
||||
|
||||
def set_config_dir(directory):
|
||||
"""Sets the config directory, else just uses default"""
|
||||
return _configmanager.set_config_dir(directory)
|
||||
return _configmanager.set_config_dir(deluge.common.decode_bytes(directory))
|
||||
|
||||
|
||||
def get_config_dir(filename=None):
|
||||
if filename != None:
|
||||
if filename is not None:
|
||||
return os.path.join(_configmanager.get_config_dir(), filename)
|
||||
else:
|
||||
return _configmanager.get_config_dir()
|
||||
|
||||
|
||||
def close(config):
|
||||
return _configmanager.close(config)
|
||||
|
||||
192
deluge/conftest.py
Normal file
@ -0,0 +1,192 @@
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
import tempfile
|
||||
import warnings
|
||||
from unittest.mock import Mock, patch
|
||||
|
||||
import pytest
|
||||
import pytest_twisted
|
||||
from twisted.internet import reactor
|
||||
from twisted.internet.defer import Deferred, maybeDeferred
|
||||
from twisted.internet.error import CannotListenError
|
||||
from twisted.python.failure import Failure
|
||||
|
||||
import deluge.component as _component
|
||||
import deluge.configmanager
|
||||
from deluge.common import get_localhost_auth
|
||||
from deluge.tests import common
|
||||
from deluge.ui.client import client as _client
|
||||
|
||||
DEFAULT_LISTEN_PORT = 58900
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def listen_port(request):
|
||||
if request and 'daemon' in request.fixturenames:
|
||||
try:
|
||||
return request.getfixturevalue('daemon').listen_port
|
||||
except Exception:
|
||||
pass
|
||||
return DEFAULT_LISTEN_PORT
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_callback():
|
||||
"""Returns a `Mock` object which can be registered as a callback to test against.
|
||||
|
||||
If callback was not called within `timeout` seconds, it will raise a TimeoutError.
|
||||
The returned Mock instance will have a `deferred` attribute which will complete when the callback has been called.
|
||||
"""
|
||||
|
||||
def reset():
|
||||
if mock.called:
|
||||
original_reset_mock()
|
||||
deferred = Deferred()
|
||||
deferred.addTimeout(0.5, reactor)
|
||||
mock.side_effect = lambda *args, **kw: deferred.callback((args, kw))
|
||||
mock.deferred = deferred
|
||||
|
||||
mock = Mock()
|
||||
original_reset_mock = mock.reset_mock
|
||||
mock.reset_mock = reset
|
||||
mock.reset_mock()
|
||||
return mock
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def config_dir(tmp_path):
|
||||
deluge.configmanager.set_config_dir(tmp_path)
|
||||
yield tmp_path
|
||||
|
||||
|
||||
@pytest_twisted.async_yield_fixture()
|
||||
async def client(request, config_dir, monkeypatch, listen_port):
|
||||
# monkeypatch.setattr(
|
||||
# _client, 'connect', functools.partial(_client.connect, port=listen_port)
|
||||
# )
|
||||
try:
|
||||
username, password = get_localhost_auth()
|
||||
except Exception:
|
||||
username, password = '', ''
|
||||
await _client.connect(
|
||||
'localhost',
|
||||
port=listen_port,
|
||||
username=username,
|
||||
password=password,
|
||||
)
|
||||
yield _client
|
||||
if _client.connected():
|
||||
await _client.disconnect()
|
||||
|
||||
|
||||
@pytest_twisted.async_yield_fixture
|
||||
async def daemon(request, config_dir):
|
||||
listen_port = DEFAULT_LISTEN_PORT
|
||||
logfile = f'daemon_{request.node.name}.log'
|
||||
if hasattr(request.cls, 'daemon_custom_script'):
|
||||
custom_script = request.cls.daemon_custom_script
|
||||
else:
|
||||
custom_script = ''
|
||||
|
||||
for dummy in range(10):
|
||||
try:
|
||||
d, daemon = common.start_core(
|
||||
listen_port=listen_port,
|
||||
logfile=logfile,
|
||||
timeout=5,
|
||||
timeout_msg='Timeout!',
|
||||
custom_script=custom_script,
|
||||
print_stdout=True,
|
||||
print_stderr=True,
|
||||
config_directory=config_dir,
|
||||
)
|
||||
await d
|
||||
except CannotListenError as ex:
|
||||
exception_error = ex
|
||||
listen_port += 1
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
raise
|
||||
else:
|
||||
break
|
||||
else:
|
||||
raise exception_error
|
||||
daemon.listen_port = listen_port
|
||||
yield daemon
|
||||
await daemon.kill()
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def common_fixture(config_dir, request, monkeypatch, listen_port):
|
||||
"""Adds some instance attributes to test classes for backwards compatibility with old testing."""
|
||||
|
||||
def fail(self, reason):
|
||||
if isinstance(reason, Failure):
|
||||
reason = reason.value
|
||||
return pytest.fail(str(reason))
|
||||
|
||||
if request.instance:
|
||||
request.instance.patch = monkeypatch.setattr
|
||||
request.instance.config_dir = config_dir
|
||||
request.instance.listen_port = listen_port
|
||||
request.instance.id = lambda: request.node.name
|
||||
request.cls.fail = fail
|
||||
|
||||
|
||||
@pytest_twisted.async_yield_fixture(scope='function')
|
||||
async def component(request):
|
||||
"""Verify component registry is clean, and clean up after test."""
|
||||
if len(_component._ComponentRegistry.components) != 0:
|
||||
warnings.warn(
|
||||
'The component._ComponentRegistry.components is not empty on test setup.\n'
|
||||
'This is probably caused by another test that did not clean up after finishing!: %s'
|
||||
% _component._ComponentRegistry.components
|
||||
)
|
||||
|
||||
yield _component
|
||||
|
||||
await _component.shutdown()
|
||||
_component._ComponentRegistry.components.clear()
|
||||
_component._ComponentRegistry.dependents.clear()
|
||||
|
||||
|
||||
@pytest_twisted.async_yield_fixture(scope='function')
|
||||
async def base_fixture(common_fixture, component, request):
|
||||
"""This fixture is autoused on all tests that subclass BaseTestCase"""
|
||||
self = request.instance
|
||||
|
||||
if hasattr(self, 'set_up'):
|
||||
try:
|
||||
await maybeDeferred(self.set_up)
|
||||
except Exception as exc:
|
||||
warnings.warn('Error caught in test setup!\n%s' % exc)
|
||||
pytest.fail('Error caught in test setup!\n%s' % exc)
|
||||
|
||||
yield
|
||||
|
||||
if hasattr(self, 'tear_down'):
|
||||
try:
|
||||
await maybeDeferred(self.tear_down)
|
||||
except Exception as exc:
|
||||
pytest.fail('Error caught in test teardown!\n%s' % exc)
|
||||
|
||||
|
||||
@pytest.mark.usefixtures('base_fixture')
|
||||
class BaseTestCase:
|
||||
"""This is the base class that should be used for all test classes
|
||||
that create classes that inherit from deluge.component.Component. It
|
||||
ensures that the component registry has been cleaned up when tests
|
||||
have finished.
|
||||
|
||||
"""
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_mkstemp(tmp_path):
|
||||
"""Return known tempfile location to verify file deleted"""
|
||||
tmp_file = tempfile.mkstemp(dir=tmp_path)
|
||||
with patch('tempfile.mkstemp', return_value=tmp_file):
|
||||
yield tmp_file
|
||||
@ -1,74 +1,70 @@
|
||||
#
|
||||
# alertmanager.py
|
||||
#
|
||||
# Copyright (C) 2007-2009 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
"""
|
||||
|
||||
The AlertManager handles all the libtorrent alerts.
|
||||
|
||||
This should typically only be used by the Core. Plugins should utilize the
|
||||
This should typically only be used by the Core. Plugins should utilize the
|
||||
`:mod:EventManager` for similar functionality.
|
||||
|
||||
"""
|
||||
import logging
|
||||
from types import SimpleNamespace
|
||||
|
||||
from twisted.internet import reactor
|
||||
|
||||
import deluge.component as component
|
||||
from deluge._libtorrent import lt
|
||||
from deluge.common import decode_bytes
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
from deluge.log import LOG as log
|
||||
|
||||
class AlertManager(component.Component):
|
||||
def __init__(self):
|
||||
log.debug("AlertManager initialized..")
|
||||
component.Component.__init__(self, "AlertManager", interval=0.05)
|
||||
self.session = component.get("Core").session
|
||||
"""AlertManager fetches and processes libtorrent alerts"""
|
||||
|
||||
self.session.set_alert_mask(
|
||||
lt.alert.category_t.error_notification |
|
||||
lt.alert.category_t.port_mapping_notification |
|
||||
lt.alert.category_t.storage_notification |
|
||||
lt.alert.category_t.tracker_notification |
|
||||
lt.alert.category_t.status_notification |
|
||||
lt.alert.category_t.ip_block_notification |
|
||||
lt.alert.category_t.performance_warning)
|
||||
def __init__(self):
|
||||
log.debug('AlertManager init...')
|
||||
component.Component.__init__(self, 'AlertManager', interval=0.3)
|
||||
self.session = component.get('Core').session
|
||||
|
||||
# Increase the alert queue size so that alerts don't get lost.
|
||||
self.alert_queue_size = 10000
|
||||
self.set_alert_queue_size(self.alert_queue_size)
|
||||
|
||||
alert_mask = (
|
||||
lt.alert.category_t.error_notification
|
||||
| lt.alert.category_t.port_mapping_notification
|
||||
| lt.alert.category_t.storage_notification
|
||||
| lt.alert.category_t.tracker_notification
|
||||
| lt.alert.category_t.status_notification
|
||||
| lt.alert.category_t.ip_block_notification
|
||||
| lt.alert.category_t.performance_warning
|
||||
| lt.alert.category_t.file_progress_notification
|
||||
)
|
||||
|
||||
self.session.apply_settings({'alert_mask': alert_mask})
|
||||
|
||||
# handlers is a dictionary of lists {"alert_type": [handler1,h2,..]}
|
||||
self.handlers = {}
|
||||
self.delayed_calls = []
|
||||
|
||||
def update(self):
|
||||
self.delayed_calls = [dc for dc in self.delayed_calls if dc.active()]
|
||||
self.handle_alerts()
|
||||
|
||||
def stop(self):
|
||||
for delayed_call in self.delayed_calls:
|
||||
if delayed_call.active():
|
||||
delayed_call.cancel()
|
||||
self.delayed_calls = []
|
||||
|
||||
def register_handler(self, alert_type, handler):
|
||||
"""
|
||||
Registers a function that will be called when 'alert_type' is pop'd
|
||||
@ -85,7 +81,7 @@ class AlertManager(component.Component):
|
||||
|
||||
# Append the handler to the list in the handlers dictionary
|
||||
self.handlers[alert_type].append(handler)
|
||||
log.debug("Registered handler for alert %s", alert_type)
|
||||
log.debug('Registered handler for alert %s', alert_type)
|
||||
|
||||
def deregister_handler(self, handler):
|
||||
"""
|
||||
@ -94,31 +90,53 @@ class AlertManager(component.Component):
|
||||
:param handler: func, the handler function to deregister
|
||||
"""
|
||||
# Iterate through all handlers and remove 'handler' where found
|
||||
for (key, value) in self.handlers.items():
|
||||
for (dummy_key, value) in self.handlers.items():
|
||||
if handler in value:
|
||||
# Handler is in this alert type list
|
||||
value.remove(handler)
|
||||
|
||||
def handle_alerts(self, wait=False):
|
||||
def handle_alerts(self):
|
||||
"""
|
||||
Pops all libtorrent alerts in the session queue and handles them
|
||||
appropriately.
|
||||
Pops all libtorrent alerts in the session queue and handles them appropriately.
|
||||
"""
|
||||
alerts = self.session.pop_alerts()
|
||||
if not alerts:
|
||||
return
|
||||
|
||||
num_alerts = len(alerts)
|
||||
if log.isEnabledFor(logging.DEBUG):
|
||||
log.debug('Alerts queued: %s', num_alerts)
|
||||
if num_alerts > 0.9 * self.alert_queue_size:
|
||||
log.warning(
|
||||
'Warning total alerts queued, %s, passes 90%% of queue size.',
|
||||
num_alerts,
|
||||
)
|
||||
|
||||
:param wait: bool, if True then the handler functions will be run right
|
||||
away and waited to return before processing the next alert
|
||||
"""
|
||||
alert = self.session.pop_alert()
|
||||
# Loop through all alerts in the queue
|
||||
while alert is not None:
|
||||
for alert in alerts:
|
||||
alert_type = type(alert).__name__
|
||||
# Display the alert message
|
||||
log.debug("%s: %s", alert_type, alert.message())
|
||||
if log.isEnabledFor(logging.DEBUG):
|
||||
log.debug('%s: %s', alert_type, decode_bytes(alert.message()))
|
||||
# Call any handlers for this alert type
|
||||
if alert_type in self.handlers:
|
||||
for handler in self.handlers[alert_type]:
|
||||
if not wait:
|
||||
reactor.callLater(0, handler, alert)
|
||||
else:
|
||||
handler(alert)
|
||||
if log.isEnabledFor(logging.DEBUG):
|
||||
log.debug('Handling alert: %s', alert_type)
|
||||
# Copy alert attributes
|
||||
alert_copy = SimpleNamespace(
|
||||
**{
|
||||
attr: getattr(alert, attr)
|
||||
for attr in dir(alert)
|
||||
if not attr.startswith('__')
|
||||
}
|
||||
)
|
||||
self.delayed_calls.append(reactor.callLater(0, handler, alert_copy))
|
||||
|
||||
alert = self.session.pop_alert()
|
||||
def set_alert_queue_size(self, queue_size):
|
||||
"""Sets the maximum size of the libtorrent alert queue"""
|
||||
log.info('Alert Queue Size set to %s', queue_size)
|
||||
self.alert_queue_size = queue_size
|
||||
component.get('Core').apply_session_setting(
|
||||
'alert_queue_size', self.alert_queue_size
|
||||
)
|
||||
|
||||
@ -1,62 +1,68 @@
|
||||
#
|
||||
# authmanager.py
|
||||
#
|
||||
# Copyright (C) 2009 Andrew Resch <andrewresch@gmail.com>
|
||||
# Copyright (C) 2011 Pedro Algarvio <pedro@algarvio.me>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
import logging
|
||||
import os
|
||||
import random
|
||||
import stat
|
||||
import shutil
|
||||
|
||||
import deluge.component as component
|
||||
import deluge.configmanager as configmanager
|
||||
import deluge.error
|
||||
from deluge.common import (
|
||||
AUTH_LEVEL_ADMIN,
|
||||
AUTH_LEVEL_DEFAULT,
|
||||
AUTH_LEVEL_NONE,
|
||||
AUTH_LEVEL_NORMAL,
|
||||
AUTH_LEVEL_READONLY,
|
||||
create_localclient_account,
|
||||
)
|
||||
from deluge.error import AuthenticationRequired, AuthManagerError, BadLoginError
|
||||
|
||||
from deluge.log import LOG as log
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
AUTH_LEVEL_NONE = 0
|
||||
AUTH_LEVEL_READONLY = 1
|
||||
AUTH_LEVEL_NORMAL = 5
|
||||
AUTH_LEVEL_ADMIN = 10
|
||||
AUTH_LEVELS_MAPPING = {
|
||||
'NONE': AUTH_LEVEL_NONE,
|
||||
'READONLY': AUTH_LEVEL_READONLY,
|
||||
'DEFAULT': AUTH_LEVEL_DEFAULT,
|
||||
'NORMAL': AUTH_LEVEL_NORMAL,
|
||||
'ADMIN': AUTH_LEVEL_ADMIN,
|
||||
}
|
||||
AUTH_LEVELS_MAPPING_REVERSE = {v: k for k, v in AUTH_LEVELS_MAPPING.items()}
|
||||
|
||||
AUTH_LEVEL_DEFAULT = AUTH_LEVEL_NORMAL
|
||||
|
||||
class BadLoginError(deluge.error.DelugeError):
|
||||
pass
|
||||
class Account:
|
||||
__slots__ = ('username', 'password', 'authlevel')
|
||||
|
||||
def __init__(self, username, password, authlevel):
|
||||
self.username = username
|
||||
self.password = password
|
||||
self.authlevel = authlevel
|
||||
|
||||
def data(self):
|
||||
return {
|
||||
'username': self.username,
|
||||
'password': self.password,
|
||||
'authlevel': AUTH_LEVELS_MAPPING_REVERSE[self.authlevel],
|
||||
'authlevel_int': self.authlevel,
|
||||
}
|
||||
|
||||
def __repr__(self):
|
||||
return '<Account username="{username}" authlevel={authlevel}>'.format(
|
||||
username=self.username,
|
||||
authlevel=self.authlevel,
|
||||
)
|
||||
|
||||
|
||||
class AuthManager(component.Component):
|
||||
def __init__(self):
|
||||
component.Component.__init__(self, "AuthManager")
|
||||
component.Component.__init__(self, 'AuthManager', interval=10)
|
||||
self.__auth = {}
|
||||
self.__auth_modification_time = None
|
||||
|
||||
def start(self):
|
||||
self.__load_auth_file()
|
||||
@ -67,80 +73,213 @@ class AuthManager(component.Component):
|
||||
def shutdown(self):
|
||||
pass
|
||||
|
||||
def update(self):
|
||||
auth_file = configmanager.get_config_dir('auth')
|
||||
# Check for auth file and create if necessary
|
||||
if not os.path.isfile(auth_file):
|
||||
log.info('Authfile not found, recreating it.')
|
||||
self.__load_auth_file()
|
||||
return
|
||||
|
||||
auth_file_modification_time = os.stat(auth_file).st_mtime
|
||||
if self.__auth_modification_time != auth_file_modification_time:
|
||||
log.info('Auth file changed, reloading it!')
|
||||
self.__load_auth_file()
|
||||
|
||||
def authorize(self, username, password):
|
||||
"""
|
||||
Authorizes users based on username and password
|
||||
"""Authorizes users based on username and password.
|
||||
|
||||
:param username: str, username
|
||||
:param password: str, password
|
||||
:returns: int, the auth level for this user
|
||||
:rtype: int
|
||||
Args:
|
||||
username (str): Username
|
||||
password (str): Password
|
||||
|
||||
:raises BadLoginError: if the username does not exist or password does not match
|
||||
Returns:
|
||||
int: The auth level for this user.
|
||||
|
||||
Raises:
|
||||
AuthenticationRequired: If additional details are required to authenticate.
|
||||
BadLoginError: If the username does not exist or password does not match.
|
||||
|
||||
"""
|
||||
if not username:
|
||||
raise AuthenticationRequired(
|
||||
'Username and Password are required.', username
|
||||
)
|
||||
|
||||
if username not in self.__auth:
|
||||
# Let's try to re-load the file.. Maybe it's been updated
|
||||
self.__load_auth_file()
|
||||
if username not in self.__auth:
|
||||
raise BadLoginError("Username does not exist")
|
||||
raise BadLoginError('Username does not exist', username)
|
||||
|
||||
if self.__auth[username][0] == password:
|
||||
if self.__auth[username].password == password:
|
||||
# Return the users auth level
|
||||
return int(self.__auth[username][1])
|
||||
return self.__auth[username].authlevel
|
||||
elif not password and self.__auth[username].password:
|
||||
raise AuthenticationRequired('Password is required', username)
|
||||
else:
|
||||
raise BadLoginError("Password does not match")
|
||||
raise BadLoginError('Password does not match', username)
|
||||
|
||||
def __create_localclient_account(self):
|
||||
"""
|
||||
Returns the string.
|
||||
"""
|
||||
# We create a 'localclient' account with a random password
|
||||
def has_account(self, username):
|
||||
return username in self.__auth
|
||||
|
||||
def get_known_accounts(self):
|
||||
"""Returns a list of known deluge usernames."""
|
||||
self.__load_auth_file()
|
||||
return [account.data() for account in self.__auth.values()]
|
||||
|
||||
def create_account(self, username, password, authlevel):
|
||||
if username in self.__auth:
|
||||
raise AuthManagerError('Username in use.', username)
|
||||
if authlevel not in AUTH_LEVELS_MAPPING:
|
||||
raise AuthManagerError('Invalid auth level: %s' % authlevel)
|
||||
try:
|
||||
from hashlib import sha1 as sha_hash
|
||||
except ImportError:
|
||||
from sha import new as sha_hash
|
||||
return "localclient:" + sha_hash(str(random.random())).hexdigest() + ":" + str(AUTH_LEVEL_ADMIN) + "\n"
|
||||
self.__auth[username] = Account(
|
||||
username, password, AUTH_LEVELS_MAPPING[authlevel]
|
||||
)
|
||||
self.write_auth_file()
|
||||
return True
|
||||
except Exception as ex:
|
||||
log.exception(ex)
|
||||
raise ex
|
||||
|
||||
def update_account(self, username, password, authlevel):
|
||||
if username not in self.__auth:
|
||||
raise AuthManagerError('Username not known', username)
|
||||
if authlevel not in AUTH_LEVELS_MAPPING:
|
||||
raise AuthManagerError('Invalid auth level: %s' % authlevel)
|
||||
try:
|
||||
self.__auth[username].username = username
|
||||
self.__auth[username].password = password
|
||||
self.__auth[username].authlevel = AUTH_LEVELS_MAPPING[authlevel]
|
||||
self.write_auth_file()
|
||||
return True
|
||||
except Exception as ex:
|
||||
log.exception(ex)
|
||||
raise ex
|
||||
|
||||
def remove_account(self, username):
|
||||
if username not in self.__auth:
|
||||
raise AuthManagerError('Username not known', username)
|
||||
elif username == component.get('RPCServer').get_session_user():
|
||||
raise AuthManagerError(
|
||||
'You cannot delete your own account while logged in!', username
|
||||
)
|
||||
|
||||
del self.__auth[username]
|
||||
self.write_auth_file()
|
||||
return True
|
||||
|
||||
def write_auth_file(self):
|
||||
filename = 'auth'
|
||||
filepath = os.path.join(configmanager.get_config_dir(), filename)
|
||||
filepath_bak = filepath + '.bak'
|
||||
filepath_tmp = filepath + '.tmp'
|
||||
|
||||
try:
|
||||
if os.path.isfile(filepath):
|
||||
log.debug('Creating backup of %s at: %s', filename, filepath_bak)
|
||||
shutil.copy2(filepath, filepath_bak)
|
||||
except OSError as ex:
|
||||
log.error('Unable to backup %s to %s: %s', filepath, filepath_bak, ex)
|
||||
else:
|
||||
log.info('Saving the %s at: %s', filename, filepath)
|
||||
try:
|
||||
with open(filepath_tmp, 'w', encoding='utf8') as _file:
|
||||
for account in self.__auth.values():
|
||||
_file.write(
|
||||
'%(username)s:%(password)s:%(authlevel_int)s\n'
|
||||
% account.data()
|
||||
)
|
||||
_file.flush()
|
||||
os.fsync(_file.fileno())
|
||||
shutil.move(filepath_tmp, filepath)
|
||||
except OSError as ex:
|
||||
log.error('Unable to save %s: %s', filename, ex)
|
||||
if os.path.isfile(filepath_bak):
|
||||
log.info('Restoring backup of %s from: %s', filename, filepath_bak)
|
||||
shutil.move(filepath_bak, filepath)
|
||||
|
||||
self.__load_auth_file()
|
||||
|
||||
def __load_auth_file(self):
|
||||
auth_file = configmanager.get_config_dir("auth")
|
||||
# Check for auth file and create if necessary
|
||||
if not os.path.exists(auth_file):
|
||||
localclient = self.__create_localclient_account()
|
||||
fd = open(auth_file, "w")
|
||||
fd.write(localclient)
|
||||
fd.flush()
|
||||
os.fsync(fd.fileno())
|
||||
fd.close()
|
||||
# Change the permissions on the file so only this user can read/write it
|
||||
os.chmod(auth_file, stat.S_IREAD | stat.S_IWRITE)
|
||||
f = [localclient]
|
||||
else:
|
||||
# Load the auth file into a dictionary: {username: password, ...}
|
||||
f = open(auth_file, "r").readlines()
|
||||
save_and_reload = False
|
||||
filename = 'auth'
|
||||
auth_file = configmanager.get_config_dir(filename)
|
||||
auth_file_bak = auth_file + '.bak'
|
||||
|
||||
for line in f:
|
||||
if line.startswith("#"):
|
||||
# This is a comment line
|
||||
continue
|
||||
line = line.strip()
|
||||
# Check for auth file and create if necessary
|
||||
if not os.path.isfile(auth_file):
|
||||
create_localclient_account()
|
||||
return self.__load_auth_file()
|
||||
|
||||
auth_file_modification_time = os.stat(auth_file).st_mtime
|
||||
if self.__auth_modification_time is None:
|
||||
self.__auth_modification_time = auth_file_modification_time
|
||||
elif self.__auth_modification_time == auth_file_modification_time:
|
||||
# File didn't change, no need for re-parsing's
|
||||
return
|
||||
|
||||
for _filepath in (auth_file, auth_file_bak):
|
||||
log.info('Opening %s for load: %s', filename, _filepath)
|
||||
try:
|
||||
lsplit = line.split(":")
|
||||
except Exception, e:
|
||||
log.error("Your auth file is malformed: %s", e)
|
||||
with open(_filepath, encoding='utf8') as _file:
|
||||
file_data = _file.readlines()
|
||||
except OSError as ex:
|
||||
log.warning('Unable to load %s: %s', _filepath, ex)
|
||||
file_data = []
|
||||
else:
|
||||
log.info('Successfully loaded %s: %s', filename, _filepath)
|
||||
break
|
||||
|
||||
# Load the auth file into a dictionary: {username: Account(...)}
|
||||
for line in file_data:
|
||||
line = line.strip()
|
||||
if line.startswith('#') or not line:
|
||||
# This line is a comment or empty
|
||||
continue
|
||||
lsplit = line.split(':')
|
||||
if len(lsplit) == 2:
|
||||
username, password = lsplit
|
||||
log.warning("Your auth entry for %s contains no auth level, using AUTH_LEVEL_DEFAULT(%s)..", username, AUTH_LEVEL_DEFAULT)
|
||||
level = AUTH_LEVEL_DEFAULT
|
||||
log.warning(
|
||||
'Your auth entry for %s contains no auth level, '
|
||||
'using AUTH_LEVEL_DEFAULT(%s)..',
|
||||
username,
|
||||
AUTH_LEVEL_DEFAULT,
|
||||
)
|
||||
if username == 'localclient':
|
||||
authlevel = AUTH_LEVEL_ADMIN
|
||||
else:
|
||||
authlevel = AUTH_LEVEL_DEFAULT
|
||||
# This is probably an old auth file
|
||||
save_and_reload = True
|
||||
elif len(lsplit) == 3:
|
||||
username, password, level = lsplit
|
||||
username, password, authlevel = lsplit
|
||||
else:
|
||||
log.error("Your auth file is malformed: Incorrect number of fields!")
|
||||
log.error('Your auth file is malformed: Incorrect number of fields!')
|
||||
continue
|
||||
|
||||
self.__auth[username.strip()] = (password.strip(), level)
|
||||
username = username.strip()
|
||||
password = password.strip()
|
||||
try:
|
||||
authlevel = int(authlevel)
|
||||
except ValueError:
|
||||
try:
|
||||
authlevel = AUTH_LEVELS_MAPPING[authlevel]
|
||||
except KeyError:
|
||||
log.error(
|
||||
'Your auth file is malformed: %r is not a valid auth level',
|
||||
authlevel,
|
||||
)
|
||||
continue
|
||||
|
||||
if "localclient" not in self.__auth:
|
||||
open(auth_file, "a").write(self.__create_localclient_account())
|
||||
self.__auth[username] = Account(username, password, authlevel)
|
||||
|
||||
if 'localclient' not in self.__auth:
|
||||
create_localclient_account(True)
|
||||
return self.__load_auth_file()
|
||||
|
||||
if save_and_reload:
|
||||
log.info('Re-writing auth file (upgrade)')
|
||||
self.write_auth_file()
|
||||
self.__auth_modification_time = auth_file_modification_time
|
||||
|
||||
@ -1,131 +0,0 @@
|
||||
#
|
||||
# autoadd.py
|
||||
#
|
||||
# Copyright (C) 2008 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
import os
|
||||
|
||||
from deluge._libtorrent import lt
|
||||
|
||||
import deluge.component as component
|
||||
from deluge.configmanager import ConfigManager
|
||||
from deluge.log import LOG as log
|
||||
|
||||
MAX_NUM_ATTEMPTS = 10
|
||||
|
||||
class AutoAdd(component.Component):
|
||||
def __init__(self):
|
||||
component.Component.__init__(self, "AutoAdd", depend=["TorrentManager"], interval=5)
|
||||
# Get the core config
|
||||
self.config = ConfigManager("core.conf")
|
||||
|
||||
# A list of filenames
|
||||
self.invalid_torrents = []
|
||||
# Filename:Attempts
|
||||
self.attempts = {}
|
||||
|
||||
# Register set functions
|
||||
self.config.register_set_function("autoadd_enable",
|
||||
self._on_autoadd_enable, apply_now=True)
|
||||
self.config.register_set_function("autoadd_location",
|
||||
self._on_autoadd_location)
|
||||
|
||||
def update(self):
|
||||
if not self.config["autoadd_enable"]:
|
||||
# We shouldn't be updating because autoadd is not enabled
|
||||
component.pause("AutoAdd")
|
||||
return
|
||||
|
||||
# Check the auto add folder for new torrents to add
|
||||
if not os.path.isdir(self.config["autoadd_location"]):
|
||||
log.warning("Invalid AutoAdd folder: %s", self.config["autoadd_location"])
|
||||
component.pause("AutoAdd")
|
||||
return
|
||||
|
||||
for filename in os.listdir(self.config["autoadd_location"]):
|
||||
if filename.split(".")[-1] == "torrent":
|
||||
filepath = os.path.join(self.config["autoadd_location"], filename)
|
||||
try:
|
||||
filedump = self.load_torrent(filepath)
|
||||
except (RuntimeError, Exception), e:
|
||||
# If the torrent is invalid, we keep track of it so that we
|
||||
# can try again on the next pass. This is because some
|
||||
# torrents may not be fully saved during the pass.
|
||||
log.debug("Torrent is invalid: %s", e)
|
||||
if filename in self.invalid_torrents:
|
||||
self.attempts[filename] += 1
|
||||
if self.attempts[filename] >= MAX_NUM_ATTEMPTS:
|
||||
os.rename(filepath, filepath + ".invalid")
|
||||
del self.attempts[filename]
|
||||
self.invalid_torrents.remove(filename)
|
||||
else:
|
||||
self.invalid_torrents.append(filename)
|
||||
self.attempts[filename] = 1
|
||||
continue
|
||||
|
||||
# The torrent looks good, so lets add it to the session
|
||||
component.get("TorrentManager").add(filedump=filedump, filename=filename)
|
||||
|
||||
os.remove(filepath)
|
||||
|
||||
def load_torrent(self, filename):
|
||||
try:
|
||||
log.debug("Attempting to open %s for add.", filename)
|
||||
_file = open(filename, "rb")
|
||||
filedump = _file.read()
|
||||
if not filedump:
|
||||
raise RuntimeError, "Torrent is 0 bytes!"
|
||||
_file.close()
|
||||
except IOError, e:
|
||||
log.warning("Unable to open %s: %s", filename, e)
|
||||
raise e
|
||||
|
||||
# Get the info to see if any exceptions are raised
|
||||
info = lt.torrent_info(lt.bdecode(filedump))
|
||||
|
||||
return filedump
|
||||
|
||||
def _on_autoadd_enable(self, key, value):
|
||||
log.debug("_on_autoadd_enable")
|
||||
if value:
|
||||
component.resume("AutoAdd")
|
||||
else:
|
||||
component.pause("AutoAdd")
|
||||
|
||||
def _on_autoadd_location(self, key, value):
|
||||
log.debug("_on_autoadd_location")
|
||||
# We need to resume the component just incase it was paused due to
|
||||
# an invalid autoadd location.
|
||||
if self.config["autoadd_enable"]:
|
||||
component.resume("AutoAdd")
|
||||
1477
deluge/core/core.py
@ -1,206 +1,203 @@
|
||||
#
|
||||
# daemon.py
|
||||
#
|
||||
# Copyright (C) 2007-2009 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
"""The Deluge daemon"""
|
||||
import logging
|
||||
import os
|
||||
import gettext
|
||||
import locale
|
||||
import pkg_resources
|
||||
import socket
|
||||
|
||||
from twisted.internet import reactor
|
||||
import twisted.internet.error
|
||||
|
||||
import deluge.component as component
|
||||
import deluge.configmanager
|
||||
import deluge.common
|
||||
from deluge.common import get_version, is_ip, is_process_running, windows_check
|
||||
from deluge.configmanager import get_config_dir
|
||||
from deluge.core.core import Core
|
||||
from deluge.core.rpcserver import RPCServer, export
|
||||
from deluge.log import LOG as log
|
||||
import deluge.error
|
||||
from deluge.error import DaemonRunningError
|
||||
|
||||
class Daemon(object):
|
||||
def __init__(self, options=None, args=None, classic=False):
|
||||
# Check for another running instance of the daemon
|
||||
if os.path.isfile(deluge.configmanager.get_config_dir("deluged.pid")):
|
||||
# Get the PID and the port of the supposedly running daemon
|
||||
try:
|
||||
(pid, port) = open(deluge.configmanager.get_config_dir("deluged.pid")).read().strip().split(";")
|
||||
pid = int(pid)
|
||||
port = int(port)
|
||||
except ValueError:
|
||||
pid = None
|
||||
port = None
|
||||
if windows_check():
|
||||
from win32api import SetConsoleCtrlHandler
|
||||
from win32con import CTRL_CLOSE_EVENT, CTRL_SHUTDOWN_EVENT
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def process_running(pid):
|
||||
if deluge.common.windows_check():
|
||||
# Do some fancy WMI junk to see if the PID exists in Windows
|
||||
from win32com.client import GetObject
|
||||
def get_proclist():
|
||||
WMI = GetObject('winmgmts:')
|
||||
processes = WMI.InstancesOf('Win32_Process')
|
||||
return [process.Properties_('ProcessID').Value for process in processes]
|
||||
return pid in get_proclist()
|
||||
else:
|
||||
# We can just use os.kill on UNIX to test if the process is running
|
||||
try:
|
||||
os.kill(pid, 0)
|
||||
except OSError:
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
def is_daemon_running(pid_file):
|
||||
"""
|
||||
Check for another running instance of the daemon using the same pid file.
|
||||
|
||||
if pid is not None and process_running(pid):
|
||||
# Ok, so a process is running with this PID, let's make doubly-sure
|
||||
# it's a deluged process by trying to open a socket to it's port.
|
||||
import socket
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
try:
|
||||
s.connect(("127.0.0.1", port))
|
||||
except socket.error:
|
||||
# Can't connect, so it must not be a deluged process..
|
||||
pass
|
||||
else:
|
||||
# This is a deluged!
|
||||
s.close()
|
||||
raise deluge.error.DaemonRunningError("There is a deluge daemon running with this config directory!")
|
||||
Args:
|
||||
pid_file: The location of the file with pid, port values.
|
||||
|
||||
# Initialize gettext
|
||||
Returns:
|
||||
bool: True is daemon is running, False otherwise.
|
||||
|
||||
"""
|
||||
|
||||
try:
|
||||
with open(pid_file) as _file:
|
||||
pid, port = (int(x) for x in _file.readline().strip().split(';'))
|
||||
except (OSError, ValueError):
|
||||
return False
|
||||
|
||||
if is_process_running(pid):
|
||||
# Ensure it's a deluged process by trying to open a socket to it's port.
|
||||
_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
try:
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
if hasattr(locale, "bindtextdomain"):
|
||||
locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|
||||
if hasattr(locale, "textdomain"):
|
||||
locale.textdomain("deluge")
|
||||
gettext.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|
||||
gettext.textdomain("deluge")
|
||||
gettext.install("deluge", pkg_resources.resource_filename("deluge", "i18n"))
|
||||
except Exception, e:
|
||||
log.error("Unable to initialize gettext/locale: %s", e)
|
||||
import __builtin__
|
||||
__builtin__.__dict__["_"] = lambda x: x
|
||||
_socket.connect(('127.0.0.1', port))
|
||||
except OSError:
|
||||
# Can't connect, so pid is not a deluged process.
|
||||
return False
|
||||
else:
|
||||
# This is a deluged process!
|
||||
_socket.close()
|
||||
return True
|
||||
|
||||
# Twisted catches signals to terminate, so just have it call the shutdown
|
||||
# method.
|
||||
reactor.addSystemEventTrigger("after", "shutdown", self.shutdown)
|
||||
|
||||
class Daemon:
|
||||
"""The Deluge Daemon class"""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
listen_interface=None,
|
||||
outgoing_interface=None,
|
||||
interface=None,
|
||||
port=None,
|
||||
standalone=False,
|
||||
read_only_config_keys=None,
|
||||
):
|
||||
"""
|
||||
Args:
|
||||
listen_interface (str, optional): The IP address to listen to
|
||||
BitTorrent connections on.
|
||||
outgoing_interface (str, optional): The network interface name or
|
||||
IP address to open outgoing BitTorrent connections on.
|
||||
interface (str, optional): The IP address the daemon will
|
||||
listen for UI connections on.
|
||||
port (int, optional): The port the daemon will listen for UI
|
||||
connections on.
|
||||
standalone (bool, optional): If True the client is in Standalone
|
||||
mode otherwise, if False, start the daemon as separate process.
|
||||
read_only_config_keys (list of str, optional): A list of config
|
||||
keys that will not be altered by core.set_config() RPC method.
|
||||
"""
|
||||
self.standalone = standalone
|
||||
self.pid_file = get_config_dir('deluged.pid')
|
||||
log.info('Deluge daemon %s', get_version())
|
||||
if is_daemon_running(self.pid_file):
|
||||
raise DaemonRunningError(
|
||||
'Deluge daemon already running with this config directory!'
|
||||
)
|
||||
|
||||
# Twisted catches signals to terminate, so just have it call the shutdown method.
|
||||
reactor.addSystemEventTrigger('before', 'shutdown', self._shutdown)
|
||||
|
||||
# Catch some Windows specific signals
|
||||
if deluge.common.windows_check():
|
||||
from win32api import SetConsoleCtrlHandler
|
||||
from win32con import CTRL_CLOSE_EVENT
|
||||
from win32con import CTRL_SHUTDOWN_EVENT
|
||||
if windows_check():
|
||||
|
||||
def win_handler(ctrl_type):
|
||||
log.debug("ctrl_type: %s", ctrl_type)
|
||||
"""Handle the Windows shutdown or close events."""
|
||||
log.debug('windows handler ctrl_type: %s', ctrl_type)
|
||||
if ctrl_type == CTRL_CLOSE_EVENT or ctrl_type == CTRL_SHUTDOWN_EVENT:
|
||||
self.__shutdown()
|
||||
self._shutdown()
|
||||
return 1
|
||||
|
||||
SetConsoleCtrlHandler(win_handler)
|
||||
|
||||
version = deluge.common.get_version()
|
||||
|
||||
log.info("Deluge daemon %s", version)
|
||||
log.debug("options: %s", options)
|
||||
log.debug("args: %s", args)
|
||||
# Set the config directory
|
||||
if options and options.config:
|
||||
deluge.configmanager.set_config_dir(options.config)
|
||||
|
||||
from deluge.core.core import Core
|
||||
# Start the core as a thread and join it until it's done
|
||||
self.core = Core()
|
||||
self.core = Core(
|
||||
listen_interface=listen_interface,
|
||||
outgoing_interface=outgoing_interface,
|
||||
read_only_config_keys=read_only_config_keys,
|
||||
)
|
||||
|
||||
port = self.core.config["daemon_port"]
|
||||
if options and options.port:
|
||||
port = options.port
|
||||
if options and options.ui_interface:
|
||||
interface = options.ui_interface
|
||||
else:
|
||||
interface = ""
|
||||
if port is None:
|
||||
port = self.core.config['daemon_port']
|
||||
self.port = port
|
||||
|
||||
if interface and not is_ip(interface):
|
||||
log.error('Invalid UI interface (must be IP Address): %s', interface)
|
||||
interface = None
|
||||
|
||||
self.rpcserver = RPCServer(
|
||||
port=port,
|
||||
allow_remote=self.core.config["allow_remote"],
|
||||
listen=not classic,
|
||||
interface=interface
|
||||
allow_remote=self.core.config['allow_remote'],
|
||||
listen=not standalone,
|
||||
interface=interface,
|
||||
)
|
||||
|
||||
log.debug(
|
||||
'Listening to UI on: %s:%s and bittorrent on: %s Making connections out on: %s',
|
||||
interface,
|
||||
port,
|
||||
listen_interface,
|
||||
outgoing_interface,
|
||||
)
|
||||
|
||||
def start(self):
|
||||
# Register the daemon and the core RPCs
|
||||
self.rpcserver.register_object(self.core)
|
||||
self.rpcserver.register_object(self)
|
||||
|
||||
|
||||
# Make sure we start the PreferencesManager first
|
||||
component.start("PreferencesManager")
|
||||
component.start('PreferencesManager')
|
||||
|
||||
if not classic:
|
||||
# Write out a pid file all the time, we use this to see if a deluged is running
|
||||
# We also include the running port number to do an additional test
|
||||
open(deluge.configmanager.get_config_dir("deluged.pid"), "wb").write(
|
||||
"%s;%s\n" % (os.getpid(), port))
|
||||
if not self.standalone:
|
||||
log.info('Deluge daemon starting...')
|
||||
# Create pid file to track if deluged is running, also includes the port number.
|
||||
pid = os.getpid()
|
||||
log.debug('Storing pid %s & port %s in: %s', pid, self.port, self.pid_file)
|
||||
with open(self.pid_file, 'w') as _file:
|
||||
_file.write(f'{pid};{self.port}\n')
|
||||
|
||||
component.start()
|
||||
|
||||
try:
|
||||
reactor.run()
|
||||
finally:
|
||||
self._shutdown()
|
||||
log.debug('Remove pid file: %s', self.pid_file)
|
||||
os.remove(self.pid_file)
|
||||
log.info('Deluge daemon shutdown successfully')
|
||||
|
||||
@export()
|
||||
def shutdown(self, *args, **kwargs):
|
||||
log.debug('Deluge daemon shutdown requested...')
|
||||
reactor.callLater(0, reactor.stop)
|
||||
|
||||
def _shutdown(self, *args, **kwargs):
|
||||
try:
|
||||
os.remove(deluge.configmanager.get_config_dir("deluged.pid"))
|
||||
except Exception, e:
|
||||
log.exception(e)
|
||||
log.error("Error removing deluged.pid!")
|
||||
|
||||
component.shutdown()
|
||||
try:
|
||||
reactor.stop()
|
||||
except twisted.internet.error.ReactorNotRunning:
|
||||
log.debug("Tried to stop the reactor but it is not running..")
|
||||
|
||||
@export()
|
||||
def info(self):
|
||||
"""
|
||||
Returns some info from the daemon.
|
||||
|
||||
:returns: str, the version number
|
||||
"""
|
||||
return deluge.common.get_version()
|
||||
log.info('Deluge daemon shutting down, waiting for components to shutdown...')
|
||||
if not self.standalone:
|
||||
return component.shutdown()
|
||||
|
||||
@export()
|
||||
def get_method_list(self):
|
||||
"""
|
||||
Returns a list of the exported methods.
|
||||
"""
|
||||
"""Returns a list of the exported methods."""
|
||||
return self.rpcserver.get_method_list()
|
||||
|
||||
@export()
|
||||
def get_version(self):
|
||||
"""Returns the daemon version"""
|
||||
return get_version()
|
||||
|
||||
@export(1)
|
||||
def authorized_call(self, rpc):
|
||||
"""Determines if session auth_level is authorized to call RPC.
|
||||
|
||||
Args:
|
||||
rpc (str): A RPC, e.g. core.get_torrents_status
|
||||
|
||||
Returns:
|
||||
bool: True if authorized to call RPC, otherwise False.
|
||||
"""
|
||||
if rpc not in self.get_method_list():
|
||||
return False
|
||||
|
||||
return (
|
||||
self.rpcserver.get_session_auth_level()
|
||||
>= self.rpcserver.get_rpc_auth_level(rpc)
|
||||
)
|
||||
|
||||
140
deluge/core/daemon_entry.py
Normal file
@ -0,0 +1,140 @@
|
||||
#
|
||||
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
||||
# Copyright (C) 2010 Pedro Algarvio <pedro@algarvio.me>
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
import os
|
||||
import sys
|
||||
from logging import DEBUG, FileHandler, getLogger
|
||||
|
||||
from twisted.internet.error import CannotListenError
|
||||
|
||||
from deluge.argparserbase import ArgParserBase
|
||||
from deluge.common import run_profiled
|
||||
from deluge.configmanager import get_config_dir
|
||||
from deluge.i18n import setup_mock_translation
|
||||
|
||||
|
||||
def add_daemon_options(parser):
|
||||
group = parser.add_argument_group(_('Daemon Options'))
|
||||
group.add_argument(
|
||||
'-u',
|
||||
'--ui-interface',
|
||||
metavar='<ip-addr>',
|
||||
action='store',
|
||||
help=_('IP address to listen for UI connections'),
|
||||
)
|
||||
group.add_argument(
|
||||
'-p',
|
||||
'--port',
|
||||
metavar='<port>',
|
||||
action='store',
|
||||
type=int,
|
||||
help=_('Port to listen for UI connections on'),
|
||||
)
|
||||
group.add_argument(
|
||||
'-i',
|
||||
'--interface',
|
||||
metavar='<ip-addr>',
|
||||
dest='listen_interface',
|
||||
action='store',
|
||||
help=_('IP address to listen for BitTorrent connections'),
|
||||
)
|
||||
group.add_argument(
|
||||
'-o',
|
||||
'--outgoing-interface',
|
||||
metavar='<interface>',
|
||||
dest='outgoing_interface',
|
||||
action='store',
|
||||
help=_(
|
||||
'The network interface name or IP address for outgoing BitTorrent connections.'
|
||||
),
|
||||
)
|
||||
group.add_argument(
|
||||
'--read-only-config-keys',
|
||||
metavar='<comma-separated-keys>',
|
||||
action='store',
|
||||
help=_('Config keys to be unmodified by `set_config` RPC'),
|
||||
type=str,
|
||||
default='',
|
||||
)
|
||||
parser.add_process_arg_group()
|
||||
|
||||
|
||||
def start_daemon(skip_start=False):
|
||||
"""
|
||||
Entry point for daemon script
|
||||
|
||||
Args:
|
||||
skip_start (bool): If starting daemon should be skipped.
|
||||
|
||||
Returns:
|
||||
deluge.core.daemon.Daemon: A new daemon object
|
||||
|
||||
"""
|
||||
setup_mock_translation()
|
||||
|
||||
# Setup the argument parser
|
||||
parser = ArgParserBase()
|
||||
add_daemon_options(parser)
|
||||
|
||||
options = parser.parse_args()
|
||||
|
||||
# Check for any daemons running with this same config
|
||||
from deluge.core.daemon import is_daemon_running
|
||||
|
||||
pid_file = get_config_dir('deluged.pid')
|
||||
if is_daemon_running(pid_file):
|
||||
print(
|
||||
'Cannot run multiple daemons with same config directory.\n'
|
||||
'If you believe this is an error, force starting by deleting: %s' % pid_file
|
||||
)
|
||||
sys.exit(1)
|
||||
|
||||
log = getLogger(__name__)
|
||||
|
||||
# If no logfile specified add logging to default location (as well as stdout)
|
||||
if not options.logfile:
|
||||
options.logfile = get_config_dir('deluged.log')
|
||||
file_handler = FileHandler(options.logfile)
|
||||
log.addHandler(file_handler)
|
||||
|
||||
def run_daemon(options):
|
||||
try:
|
||||
from deluge.core.daemon import Daemon
|
||||
|
||||
daemon = Daemon(
|
||||
listen_interface=options.listen_interface,
|
||||
outgoing_interface=options.outgoing_interface,
|
||||
interface=options.ui_interface,
|
||||
port=options.port,
|
||||
read_only_config_keys=options.read_only_config_keys.split(','),
|
||||
)
|
||||
if skip_start:
|
||||
return daemon
|
||||
else:
|
||||
daemon.start()
|
||||
except CannotListenError as ex:
|
||||
log.error(
|
||||
'Cannot start deluged, listen port in use.\n'
|
||||
' Check for other running daemons or services using this port: %s:%s',
|
||||
ex.interface,
|
||||
ex.port,
|
||||
)
|
||||
sys.exit(1)
|
||||
except Exception as ex:
|
||||
log.error('Unable to start deluged: %s', ex)
|
||||
if log.isEnabledFor(DEBUG):
|
||||
log.exception(ex)
|
||||
sys.exit(1)
|
||||
finally:
|
||||
log.info('Exiting...')
|
||||
if options.pidfile:
|
||||
os.remove(options.pidfile)
|
||||
|
||||
return run_profiled(
|
||||
run_daemon, options, output_file=options.profile, do_profile=options.profile
|
||||
)
|
||||
@ -1,44 +1,21 @@
|
||||
#
|
||||
# eventmanager.py
|
||||
#
|
||||
# Copyright (C) 2009 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
import logging
|
||||
|
||||
import deluge.component as component
|
||||
from deluge.log import LOG as log
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class EventManager(component.Component):
|
||||
def __init__(self):
|
||||
component.Component.__init__(self, "EventManager")
|
||||
component.Component.__init__(self, 'EventManager')
|
||||
self.handlers = {}
|
||||
|
||||
def emit(self, event):
|
||||
@ -48,12 +25,20 @@ class EventManager(component.Component):
|
||||
:param event: DelugeEvent
|
||||
"""
|
||||
# Emit the event to the interested clients
|
||||
component.get("RPCServer").emit_event(event)
|
||||
component.get('RPCServer').emit_event(event)
|
||||
# Call any handlers for the event
|
||||
if event.name in self.handlers:
|
||||
for handler in self.handlers[event.name]:
|
||||
#log.debug("Running handler %s for event %s with args: %s", event.name, handler, event.args)
|
||||
handler(*event.args)
|
||||
# log.debug('Running handler %s for event %s with args: %s', event.name, handler, event.args)
|
||||
try:
|
||||
handler(*event.args)
|
||||
except Exception as ex:
|
||||
log.error(
|
||||
'Event handler %s failed in %s with exception %s',
|
||||
event.name,
|
||||
handler,
|
||||
ex,
|
||||
)
|
||||
|
||||
def register_event_handler(self, event, handler):
|
||||
"""
|
||||
|
||||
@ -1,120 +1,125 @@
|
||||
#
|
||||
# core.py
|
||||
#
|
||||
# Copyright (C) 2008 Martijn Voncken <mvoncken@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
import logging
|
||||
|
||||
import deluge.component as component
|
||||
from deluge.log import LOG as log
|
||||
from deluge.common import TORRENT_STATE
|
||||
|
||||
STATE_SORT = ["All", "Downloading", "Seeding", "Active", "Paused", "Queued"]
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
#special purpose filters:
|
||||
STATE_SORT = ['All', 'Active'] + TORRENT_STATE
|
||||
|
||||
|
||||
# Special purpose filters:
|
||||
def filter_keywords(torrent_ids, values):
|
||||
#cleanup.
|
||||
keywords = ",".join([v.lower() for v in values])
|
||||
keywords = keywords.split(",")
|
||||
|
||||
# Cleanup
|
||||
keywords = ','.join([v.lower() for v in values])
|
||||
keywords = keywords.split(',')
|
||||
|
||||
for keyword in keywords:
|
||||
torrent_ids = filter_one_keyword(torrent_ids, keyword)
|
||||
return torrent_ids
|
||||
|
||||
|
||||
def filter_one_keyword(torrent_ids, keyword):
|
||||
"""
|
||||
search torrent on keyword.
|
||||
searches title,state,tracker-status,tracker,files
|
||||
"""
|
||||
all_torrents = component.get("TorrentManager").torrents
|
||||
#filter:
|
||||
found = False
|
||||
all_torrents = component.get('TorrentManager').torrents
|
||||
|
||||
for torrent_id in torrent_ids:
|
||||
torrent = all_torrents[torrent_id]
|
||||
if keyword in torrent.filename.lower():
|
||||
yield torrent_id
|
||||
elif keyword in torrent.state.lower():
|
||||
yield torrent_id
|
||||
elif torrent.trackers and keyword in torrent.trackers[0]["url"]:
|
||||
elif torrent.trackers and keyword in torrent.trackers[0]['url']:
|
||||
yield torrent_id
|
||||
elif keyword in torrent_id:
|
||||
yield torrent_id
|
||||
#i want to find broken torrents (search on "error", or "unregistered")
|
||||
# Want to find broken torrents (search on "error", or "unregistered")
|
||||
elif keyword in torrent.tracker_status.lower():
|
||||
yield torrent_id
|
||||
else:
|
||||
for t_file in torrent.get_files():
|
||||
if keyword in t_file["path"].lower():
|
||||
if keyword in t_file['path'].lower():
|
||||
yield torrent_id
|
||||
break
|
||||
|
||||
|
||||
def filter_by_name(torrent_ids, search_string):
|
||||
all_torrents = component.get('TorrentManager').torrents
|
||||
try:
|
||||
search_string, match_case = search_string[0].split('::match')
|
||||
except ValueError:
|
||||
search_string = search_string[0]
|
||||
match_case = False
|
||||
|
||||
if match_case is False:
|
||||
search_string = search_string.lower()
|
||||
|
||||
for torrent_id in torrent_ids:
|
||||
torrent_name = all_torrents[torrent_id].get_name()
|
||||
if match_case is False:
|
||||
torrent_name = all_torrents[torrent_id].get_name().lower()
|
||||
else:
|
||||
torrent_name = all_torrents[torrent_id].get_name()
|
||||
|
||||
if search_string in torrent_name:
|
||||
yield torrent_id
|
||||
|
||||
|
||||
def tracker_error_filter(torrent_ids, values):
|
||||
filtered_torrent_ids = []
|
||||
tm = component.get("TorrentManager")
|
||||
tm = component.get('TorrentManager')
|
||||
|
||||
# If this is a tracker_host, then we need to filter on it
|
||||
if values[0] != "Error":
|
||||
if values[0] != 'Error':
|
||||
for torrent_id in torrent_ids:
|
||||
if values[0] == tm[torrent_id].get_status(["tracker_host"])["tracker_host"]:
|
||||
if values[0] == tm[torrent_id].get_status(['tracker_host'])['tracker_host']:
|
||||
filtered_torrent_ids.append(torrent_id)
|
||||
return filtered_torrent_ids
|
||||
|
||||
# Check all the torrent's tracker_status for 'Error:' and only return torrent_ids
|
||||
# that have this substring in their tracker_status
|
||||
# Check torrent's tracker_status for 'Error:' and return those torrent_ids
|
||||
for torrent_id in torrent_ids:
|
||||
if "Error:" in tm[torrent_id].get_status(["tracker_status"])["tracker_status"]:
|
||||
if 'Error:' in tm[torrent_id].get_status(['tracker_status'])['tracker_status']:
|
||||
filtered_torrent_ids.append(torrent_id)
|
||||
|
||||
return filtered_torrent_ids
|
||||
|
||||
class FilterManager(component.Component):
|
||||
"""FilterManager
|
||||
|
||||
"""
|
||||
class FilterManager(component.Component):
|
||||
"""FilterManager"""
|
||||
|
||||
def __init__(self, core):
|
||||
component.Component.__init__(self, "FilterManager")
|
||||
log.debug("FilterManager init..")
|
||||
component.Component.__init__(self, 'FilterManager')
|
||||
log.debug('FilterManager init..')
|
||||
self.core = core
|
||||
self.torrents = core.torrentmanager
|
||||
self.registered_filters = {}
|
||||
self.register_filter("keyword", filter_keywords)
|
||||
self.register_filter('keyword', filter_keywords)
|
||||
self.register_filter('name', filter_by_name)
|
||||
self.tree_fields = {}
|
||||
|
||||
self.register_tree_field("state", self._init_state_tree)
|
||||
def _init_tracker_tree():
|
||||
return {"Error": 0}
|
||||
self.register_tree_field("tracker_host", _init_tracker_tree)
|
||||
self.register_tree_field('state', self._init_state_tree)
|
||||
|
||||
self.register_filter("tracker_host", tracker_error_filter)
|
||||
def _init_tracker_tree():
|
||||
return {'Error': 0}
|
||||
|
||||
self.register_tree_field('tracker_host', _init_tracker_tree)
|
||||
|
||||
self.register_filter('tracker_host', tracker_error_filter)
|
||||
|
||||
def _init_users_tree():
|
||||
return {'': 0}
|
||||
|
||||
self.register_tree_field('owner', _init_users_tree)
|
||||
|
||||
def filter_torrent_ids(self, filter_dict):
|
||||
"""
|
||||
@ -124,55 +129,61 @@ class FilterManager(component.Component):
|
||||
if not filter_dict:
|
||||
return self.torrents.get_torrent_list()
|
||||
|
||||
#sanitize input: filter-value must be a list of strings
|
||||
# Sanitize input: filter-value must be a list of strings
|
||||
for key, value in filter_dict.items():
|
||||
if isinstance(value, str):
|
||||
filter_dict[key] = [value]
|
||||
filter_dict[key] = [value]
|
||||
|
||||
|
||||
if "id"in filter_dict: #optimized filter for id:
|
||||
torrent_ids = filter_dict["id"]
|
||||
del filter_dict["id"]
|
||||
# Optimized filter for id
|
||||
if 'id' in filter_dict:
|
||||
torrent_ids = list(filter_dict['id'])
|
||||
del filter_dict['id']
|
||||
else:
|
||||
torrent_ids = self.torrents.get_torrent_list()
|
||||
|
||||
if not filter_dict: #return if there's nothing more to filter
|
||||
# Return if there's nothing more to filter
|
||||
if not filter_dict:
|
||||
return torrent_ids
|
||||
|
||||
#special purpose: state=Active.
|
||||
if "state" in filter_dict:
|
||||
# Special purpose, state=Active.
|
||||
if 'state' in filter_dict:
|
||||
# We need to make sure this is a list for the logic below
|
||||
filter_dict["state"] = list(filter_dict["state"])
|
||||
filter_dict['state'] = list(filter_dict['state'])
|
||||
|
||||
if "state" in filter_dict and "Active" in filter_dict["state"]:
|
||||
filter_dict["state"].remove("Active")
|
||||
if not filter_dict["state"]:
|
||||
del filter_dict["state"]
|
||||
if 'state' in filter_dict and 'Active' in filter_dict['state']:
|
||||
filter_dict['state'].remove('Active')
|
||||
if not filter_dict['state']:
|
||||
del filter_dict['state']
|
||||
torrent_ids = self.filter_state_active(torrent_ids)
|
||||
|
||||
if not filter_dict: #return if there's nothing more to filter
|
||||
if not filter_dict:
|
||||
return torrent_ids
|
||||
|
||||
#Registered filters:
|
||||
for field, values in filter_dict.items():
|
||||
# Registered filters
|
||||
for field, values in list(filter_dict.items()):
|
||||
if field in self.registered_filters:
|
||||
# a set filters out the doubles.
|
||||
torrent_ids = list(set(self.registered_filters[field](torrent_ids, values)))
|
||||
# Filters out doubles
|
||||
torrent_ids = list(
|
||||
set(self.registered_filters[field](torrent_ids, values))
|
||||
)
|
||||
del filter_dict[field]
|
||||
|
||||
|
||||
if not filter_dict: #return if there's nothing more to filter
|
||||
if not filter_dict:
|
||||
return torrent_ids
|
||||
|
||||
#leftover filter arguments:
|
||||
#default filter on status fields.
|
||||
status_func = self.core.get_torrent_status #premature optimalisation..
|
||||
torrent_keys, plugin_keys = self.torrents.separate_keys(
|
||||
list(filter_dict), torrent_ids
|
||||
)
|
||||
# Leftover filter arguments, default filter on status fields.
|
||||
for torrent_id in list(torrent_ids):
|
||||
status = status_func(torrent_id, filter_dict.keys()) #status={key:value}
|
||||
for field, values in filter_dict.iteritems():
|
||||
if (not status[field] in values) and torrent_id in torrent_ids:
|
||||
status = self.core.create_torrent_status(
|
||||
torrent_id, torrent_keys, plugin_keys
|
||||
)
|
||||
for field, values in filter_dict.items():
|
||||
if field in status and status[field] in values:
|
||||
continue
|
||||
elif torrent_id in torrent_ids:
|
||||
torrent_ids.remove(torrent_id)
|
||||
|
||||
return torrent_ids
|
||||
|
||||
def get_filter_tree(self, show_zero_hits=True, hide_cat=None):
|
||||
@ -181,55 +192,58 @@ class FilterManager(component.Component):
|
||||
for use in sidebar.
|
||||
"""
|
||||
torrent_ids = self.torrents.get_torrent_list()
|
||||
status_func = self.core.get_torrent_status #premature optimalisation..
|
||||
tree_keys = list(self.tree_fields.keys())
|
||||
tree_keys = list(self.tree_fields)
|
||||
if hide_cat:
|
||||
for cat in hide_cat:
|
||||
tree_keys.remove(cat)
|
||||
|
||||
items = dict( (field, self.tree_fields[field]()) for field in tree_keys)
|
||||
torrent_keys, plugin_keys = self.torrents.separate_keys(tree_keys, torrent_ids)
|
||||
items = {field: self.tree_fields[field]() for field in tree_keys}
|
||||
|
||||
#count status fields.
|
||||
for torrent_id in list(torrent_ids):
|
||||
status = status_func(torrent_id, tree_keys) #status={key:value}
|
||||
status = self.core.create_torrent_status(
|
||||
torrent_id, torrent_keys, plugin_keys
|
||||
) # status={key:value}
|
||||
for field in tree_keys:
|
||||
value = status[field]
|
||||
items[field][value] = items[field].get(value, 0) + 1
|
||||
|
||||
if "tracker_host" in items:
|
||||
items["tracker_host"]["Error"] = len(tracker_error_filter(torrent_ids, ("Error",)))
|
||||
if 'tracker_host' in items:
|
||||
items['tracker_host']['All'] = len(torrent_ids)
|
||||
items['tracker_host']['Error'] = len(
|
||||
tracker_error_filter(torrent_ids, ('Error',))
|
||||
)
|
||||
|
||||
if "state" in tree_keys and not show_zero_hits:
|
||||
self._hide_state_items(items["state"])
|
||||
if not show_zero_hits:
|
||||
for cat in ['state', 'owner', 'tracker_host']:
|
||||
if cat in tree_keys:
|
||||
self._hide_state_items(items[cat])
|
||||
|
||||
#return a dict of tuples:
|
||||
sorted_items = {}
|
||||
for field in tree_keys:
|
||||
sorted_items[field] = sorted(items[field].iteritems())
|
||||
# Return a dict of tuples:
|
||||
sorted_items = {field: sorted(items[field].items()) for field in tree_keys}
|
||||
|
||||
if "state" in tree_keys:
|
||||
sorted_items["state"].sort(self._sort_state_items)
|
||||
if 'state' in tree_keys:
|
||||
sorted_items['state'].sort(key=self._sort_state_item)
|
||||
|
||||
return sorted_items
|
||||
|
||||
def _init_state_tree(self):
|
||||
return {"All":len(self.torrents.get_torrent_list()),
|
||||
"Downloading":0,
|
||||
"Seeding":0,
|
||||
"Paused":0,
|
||||
"Checking":0,
|
||||
"Queued":0,
|
||||
"Error":0,
|
||||
"Active":len(self.filter_state_active(self.torrents.get_torrent_list()))
|
||||
}
|
||||
init_state = {}
|
||||
init_state['All'] = len(self.torrents.get_torrent_list())
|
||||
for state in TORRENT_STATE:
|
||||
init_state[state] = 0
|
||||
init_state['Active'] = len(
|
||||
self.filter_state_active(self.torrents.get_torrent_list())
|
||||
)
|
||||
return init_state
|
||||
|
||||
def register_filter(self, id, filter_func, filter_value = None):
|
||||
self.registered_filters[id] = filter_func
|
||||
def register_filter(self, filter_id, filter_func, filter_value=None):
|
||||
self.registered_filters[filter_id] = filter_func
|
||||
|
||||
def deregister_filter(self, id):
|
||||
del self.registered_filters[id]
|
||||
def deregister_filter(self, filter_id):
|
||||
del self.registered_filters[filter_id]
|
||||
|
||||
def register_tree_field(self, field, init_func = lambda : {}):
|
||||
def register_tree_field(self, field, init_func=lambda: {}):
|
||||
self.tree_fields[field] = init_func
|
||||
|
||||
def deregister_tree_field(self, field):
|
||||
@ -237,30 +251,24 @@ class FilterManager(component.Component):
|
||||
del self.tree_fields[field]
|
||||
|
||||
def filter_state_active(self, torrent_ids):
|
||||
get_status = self.core.get_torrent_status
|
||||
for torrent_id in list(torrent_ids):
|
||||
status = get_status(torrent_id, ["download_payload_rate", "upload_payload_rate"])
|
||||
if status["download_payload_rate"] or status["upload_payload_rate"]:
|
||||
pass #ok
|
||||
status = self.torrents[torrent_id].get_status(
|
||||
['download_payload_rate', 'upload_payload_rate']
|
||||
)
|
||||
if status['download_payload_rate'] or status['upload_payload_rate']:
|
||||
pass
|
||||
else:
|
||||
torrent_ids.remove(torrent_id)
|
||||
return torrent_ids
|
||||
|
||||
def _hide_state_items(self, state_items):
|
||||
"for hide(show)-zero hits"
|
||||
for (value, count) in state_items.items():
|
||||
if value != "All" and count == 0:
|
||||
"""For hide(show)-zero hits"""
|
||||
for value, count in list(state_items.items()):
|
||||
if value != 'All' and count == 0:
|
||||
del state_items[value]
|
||||
|
||||
def _sort_state_items(self, x, y):
|
||||
""
|
||||
if x[0] in STATE_SORT:
|
||||
ix = STATE_SORT.index(x[0])
|
||||
else:
|
||||
ix = 99
|
||||
if y[0] in STATE_SORT:
|
||||
iy = STATE_SORT.index(y[0])
|
||||
else:
|
||||
iy = 99
|
||||
|
||||
return ix - iy
|
||||
def _sort_state_item(self, item):
|
||||
try:
|
||||
return STATE_SORT.index(item[0])
|
||||
except ValueError:
|
||||
return 99
|
||||
|
||||
@ -1,141 +0,0 @@
|
||||
#
|
||||
# oldstateupgrader.py
|
||||
#
|
||||
# Copyright (C) 2008 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
import os
|
||||
import os.path
|
||||
import pickle
|
||||
import cPickle
|
||||
import shutil
|
||||
|
||||
from deluge._libtorrent import lt
|
||||
|
||||
from deluge.configmanager import ConfigManager, get_config_dir
|
||||
import deluge.core.torrentmanager
|
||||
from deluge.log import LOG as log
|
||||
|
||||
#start : http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286203
|
||||
def makeFakeClass(module, name):
|
||||
class FakeThing(object):
|
||||
pass
|
||||
FakeThing.__name__ = name
|
||||
FakeThing.__module__ = '(fake)' + module
|
||||
return FakeThing
|
||||
|
||||
class PickleUpgrader(pickle.Unpickler):
|
||||
def find_class(self, module, cname):
|
||||
# Pickle tries to load a couple things like copy_reg and
|
||||
# __builtin__.object even though a pickle file doesn't
|
||||
# explicitly reference them (afaict): allow them to be loaded
|
||||
# normally.
|
||||
if module in ('copy_reg', '__builtin__'):
|
||||
thing = pickle.Unpickler.find_class(self, module, cname)
|
||||
return thing
|
||||
return makeFakeClass(module, cname)
|
||||
# end: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286203
|
||||
|
||||
class OldStateUpgrader:
|
||||
def __init__(self):
|
||||
self.config = ConfigManager("core.conf")
|
||||
self.state05_location = os.path.join(get_config_dir(), "persistent.state")
|
||||
self.state10_location = os.path.join(get_config_dir(), "state", "torrents.state")
|
||||
if os.path.exists(self.state05_location) and not os.path.exists(self.state10_location):
|
||||
# If the 0.5 state file exists and the 1.0 doesn't, then let's upgrade it
|
||||
self.upgrade05()
|
||||
|
||||
def upgrade05(self):
|
||||
try:
|
||||
state = PickleUpgrader(open(self.state05_location, "rb")).load()
|
||||
except Exception, e:
|
||||
log.debug("Unable to open 0.5 state file: %s", e)
|
||||
return
|
||||
|
||||
# Check to see if we can upgrade this file
|
||||
if type(state).__name__ == 'list':
|
||||
log.warning("0.5 state file is too old to upgrade")
|
||||
return
|
||||
|
||||
new_state = deluge.core.torrentmanager.TorrentManagerState()
|
||||
for ti, uid in state.torrents.items():
|
||||
torrent_path = os.path.join(get_config_dir(), "torrentfiles", ti.filename)
|
||||
try:
|
||||
torrent_info = None
|
||||
log.debug("Attempting to create torrent_info from %s", torrent_path)
|
||||
_file = open(torrent_path, "rb")
|
||||
torrent_info = lt.torrent_info(lt.bdecode(_file.read()))
|
||||
_file.close()
|
||||
except (IOError, RuntimeError), e:
|
||||
log.warning("Unable to open %s: %s", torrent_path, e)
|
||||
|
||||
# Copy the torrent file to the new location
|
||||
import shutil
|
||||
shutil.copyfile(torrent_path, os.path.join(get_config_dir(), "state", str(torrent_info.info_hash()) + ".torrent"))
|
||||
|
||||
# Set the file prioritiy property if not already there
|
||||
if not hasattr(ti, "priorities"):
|
||||
ti.priorities = [1] * torrent_info.num_files()
|
||||
|
||||
# Create the new TorrentState object
|
||||
new_torrent = deluge.core.torrentmanager.TorrentState(
|
||||
torrent_id=str(torrent_info.info_hash()),
|
||||
filename=ti.filename,
|
||||
save_path=ti.save_dir,
|
||||
compact=ti.compact,
|
||||
paused=ti.user_paused,
|
||||
total_uploaded=ti.uploaded_memory,
|
||||
max_upload_speed=ti.upload_rate_limit,
|
||||
max_download_speed=ti.download_rate_limit,
|
||||
file_priorities=ti.priorities,
|
||||
queue=state.queue.index(ti)
|
||||
)
|
||||
# Append the object to the state list
|
||||
new_state.torrents.append(new_torrent)
|
||||
|
||||
# Now we need to write out the new state file
|
||||
try:
|
||||
log.debug("Saving torrent state file.")
|
||||
state_file = open(
|
||||
os.path.join(get_config_dir(), "state", "torrents.state"), "wb")
|
||||
cPickle.dump(new_state, state_file)
|
||||
state_file.close()
|
||||
except IOError, e:
|
||||
log.warning("Unable to save state file: %s", e)
|
||||
return
|
||||
|
||||
# Rename the persistent.state file
|
||||
try:
|
||||
os.rename(self.state05_location, self.state05_location + ".old")
|
||||
except Exception, e:
|
||||
log.debug("Unable to rename old persistent.state file! %s", e)
|
||||
@ -1,62 +1,37 @@
|
||||
#
|
||||
# pluginmanager.py
|
||||
#
|
||||
# Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
|
||||
"""PluginManager for Core"""
|
||||
import logging
|
||||
|
||||
from twisted.internet import reactor
|
||||
from twisted.internet.task import LoopingCall
|
||||
from twisted.internet import defer
|
||||
|
||||
from deluge.event import PluginEnabledEvent, PluginDisabledEvent
|
||||
import deluge.pluginmanagerbase
|
||||
import deluge.component as component
|
||||
from deluge.log import LOG as log
|
||||
import deluge.pluginmanagerbase
|
||||
from deluge.event import PluginDisabledEvent, PluginEnabledEvent
|
||||
|
||||
class PluginManager(deluge.pluginmanagerbase.PluginManagerBase,
|
||||
component.Component):
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class PluginManager(deluge.pluginmanagerbase.PluginManagerBase, component.Component):
|
||||
"""PluginManager handles the loading of plugins and provides plugins with
|
||||
functions to access parts of the core."""
|
||||
|
||||
def __init__(self, core):
|
||||
component.Component.__init__(self, "CorePluginManager")
|
||||
component.Component.__init__(self, 'CorePluginManager')
|
||||
|
||||
self.status_fields = {}
|
||||
|
||||
# Call the PluginManagerBase constructor
|
||||
deluge.pluginmanagerbase.PluginManagerBase.__init__(
|
||||
self, "core.conf", "deluge.plugin.core")
|
||||
self, 'core.conf', 'deluge.plugin.core'
|
||||
)
|
||||
|
||||
def start(self):
|
||||
# Enable plugins that are enabled in the config
|
||||
@ -70,46 +45,61 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase,
|
||||
self.stop()
|
||||
|
||||
def update_plugins(self):
|
||||
for plugin in self.plugins.keys():
|
||||
if hasattr(self.plugins[plugin], "update"):
|
||||
for plugin in self.plugins:
|
||||
if hasattr(self.plugins[plugin], 'update'):
|
||||
try:
|
||||
self.plugins[plugin].update()
|
||||
except Exception, e:
|
||||
log.exception(e)
|
||||
except Exception as ex:
|
||||
log.exception(ex)
|
||||
|
||||
def enable_plugin(self, name):
|
||||
d = defer.succeed(True)
|
||||
if name not in self.plugins:
|
||||
super(PluginManager, self).enable_plugin(name)
|
||||
if name in self.plugins:
|
||||
component.get("EventManager").emit(PluginEnabledEvent(name))
|
||||
d = deluge.pluginmanagerbase.PluginManagerBase.enable_plugin(self, name)
|
||||
|
||||
def on_enable_plugin(result):
|
||||
if result is True and name in self.plugins:
|
||||
component.get('EventManager').emit(PluginEnabledEvent(name))
|
||||
return result
|
||||
|
||||
d.addBoth(on_enable_plugin)
|
||||
return d
|
||||
|
||||
def disable_plugin(self, name):
|
||||
d = defer.succeed(True)
|
||||
if name in self.plugins:
|
||||
super(PluginManager, self).disable_plugin(name)
|
||||
if name not in self.plugins:
|
||||
component.get("EventManager").emit(PluginDisabledEvent(name))
|
||||
d = deluge.pluginmanagerbase.PluginManagerBase.disable_plugin(self, name)
|
||||
|
||||
def on_disable_plugin(result):
|
||||
if name not in self.plugins:
|
||||
component.get('EventManager').emit(PluginDisabledEvent(name))
|
||||
return result
|
||||
|
||||
d.addBoth(on_disable_plugin)
|
||||
return d
|
||||
|
||||
def get_status(self, torrent_id, fields):
|
||||
"""Return the value of status fields for the selected torrent_id."""
|
||||
status = {}
|
||||
if len(fields) == 0:
|
||||
fields = list(self.status_fields)
|
||||
for field in fields:
|
||||
try:
|
||||
status[field] = self.status_fields[field](torrent_id)
|
||||
except KeyError:
|
||||
log.warning("Status field %s is not registered with the\
|
||||
PluginManager.", field)
|
||||
pass
|
||||
return status
|
||||
|
||||
def register_status_field(self, field, function):
|
||||
"""Register a new status field. This can be used in the same way the
|
||||
client requests other status information from core."""
|
||||
log.debug("Registering status field %s with PluginManager", field)
|
||||
log.debug('Registering status field %s with PluginManager', field)
|
||||
self.status_fields[field] = function
|
||||
|
||||
def deregister_status_field(self, field):
|
||||
"""Deregisters a status field"""
|
||||
log.debug("Deregistering status field %s with PluginManager", field)
|
||||
log.debug('Deregistering status field %s with PluginManager', field)
|
||||
try:
|
||||
del self.status_fields[field]
|
||||
except:
|
||||
log.warning("Unable to deregister status field %s", field)
|
||||
except Exception:
|
||||
log.warning('Unable to deregister status field %s', field)
|
||||
|
||||
@ -1,522 +1,476 @@
|
||||
#
|
||||
# preferencesmanager.py
|
||||
#
|
||||
# Copyright (C) 2008 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
# Copyright (C) 2008-2010 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
|
||||
import os.path
|
||||
import logging
|
||||
import os
|
||||
import platform
|
||||
import random
|
||||
import threading
|
||||
import pkg_resources
|
||||
from twisted.internet import reactor
|
||||
from urllib.parse import quote_plus
|
||||
from urllib.request import urlopen
|
||||
|
||||
from twisted.internet.task import LoopingCall
|
||||
|
||||
from deluge._libtorrent import lt
|
||||
|
||||
from deluge.event import *
|
||||
import deluge.configmanager
|
||||
import deluge.common
|
||||
import deluge.component as component
|
||||
from deluge.log import LOG as log
|
||||
import deluge.configmanager
|
||||
from deluge._libtorrent import lt
|
||||
from deluge.event import ConfigValueChangedEvent
|
||||
|
||||
GeoIP = None
|
||||
try:
|
||||
from GeoIP import GeoIP
|
||||
except ImportError:
|
||||
try:
|
||||
from pygeoip import GeoIP
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
DEFAULT_PREFS = {
|
||||
"send_info": False,
|
||||
"info_sent": 0.0,
|
||||
"daemon_port": 58846,
|
||||
"allow_remote": False,
|
||||
"compact_allocation": False,
|
||||
"download_location": deluge.common.get_default_download_dir(),
|
||||
"listen_ports": [6881, 6891],
|
||||
"listen_interface": "",
|
||||
"copy_torrent_file": False,
|
||||
"torrentfiles_location": deluge.common.get_default_download_dir(),
|
||||
"plugins_location": os.path.join(deluge.configmanager.get_config_dir(), "plugins"),
|
||||
"prioritize_first_last_pieces": False,
|
||||
"random_port": True,
|
||||
"dht": True,
|
||||
"upnp": True,
|
||||
"natpmp": True,
|
||||
"utpex": True,
|
||||
"lsd": True,
|
||||
"enc_in_policy": 1,
|
||||
"enc_out_policy": 1,
|
||||
"enc_level": 2,
|
||||
"enc_prefer_rc4": True,
|
||||
"max_connections_global": 200,
|
||||
"max_upload_speed": -1.0,
|
||||
"max_download_speed": -1.0,
|
||||
"max_upload_slots_global": 4,
|
||||
"max_half_open_connections": (lambda: deluge.common.windows_check() and
|
||||
(lambda: deluge.common.vista_check() and 4 or 8)() or 50)(),
|
||||
"max_connections_per_second": 20,
|
||||
"ignore_limits_on_local_network": True,
|
||||
"max_connections_per_torrent": -1,
|
||||
"max_upload_slots_per_torrent": -1,
|
||||
"max_upload_speed_per_torrent": -1,
|
||||
"max_download_speed_per_torrent": -1,
|
||||
"enabled_plugins": [],
|
||||
"autoadd_location": deluge.common.get_default_download_dir(),
|
||||
"autoadd_enable": False,
|
||||
"add_paused": False,
|
||||
"max_active_seeding": 5,
|
||||
"max_active_downloading": 3,
|
||||
"max_active_limit": 8,
|
||||
"dont_count_slow_torrents": False,
|
||||
"queue_new_to_top": False,
|
||||
"stop_seed_at_ratio": False,
|
||||
"remove_seed_at_ratio": False,
|
||||
"stop_seed_ratio": 2.00,
|
||||
"share_ratio_limit": 2.00,
|
||||
"seed_time_ratio_limit": 7.00,
|
||||
"seed_time_limit": 180,
|
||||
"auto_managed": True,
|
||||
"move_completed": False,
|
||||
"move_completed_path": deluge.common.get_default_download_dir(),
|
||||
"new_release_check": True,
|
||||
"proxies": {
|
||||
"peer": {
|
||||
"type": 0,
|
||||
"hostname": "",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"port": 8080
|
||||
},
|
||||
"web_seed": {
|
||||
"type": 0,
|
||||
"hostname": "",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"port": 8080
|
||||
},
|
||||
"tracker": {
|
||||
"type": 0,
|
||||
"hostname": "",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"port": 8080
|
||||
},
|
||||
"dht": {
|
||||
"type": 0,
|
||||
"hostname": "",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"port": 8080
|
||||
},
|
||||
|
||||
'send_info': False,
|
||||
'info_sent': 0.0,
|
||||
'daemon_port': 58846,
|
||||
'allow_remote': False,
|
||||
'pre_allocate_storage': False,
|
||||
'download_location': deluge.common.get_default_download_dir(),
|
||||
'listen_ports': [6881, 6891],
|
||||
'listen_interface': '',
|
||||
'outgoing_interface': '',
|
||||
'random_port': True,
|
||||
'listen_random_port': None,
|
||||
'listen_use_sys_port': False,
|
||||
'listen_reuse_port': True,
|
||||
'outgoing_ports': [0, 0],
|
||||
'random_outgoing_ports': True,
|
||||
'copy_torrent_file': False,
|
||||
'del_copy_torrent_file': False,
|
||||
'torrentfiles_location': deluge.common.get_default_download_dir(),
|
||||
'plugins_location': os.path.join(deluge.configmanager.get_config_dir(), 'plugins'),
|
||||
'prioritize_first_last_pieces': False,
|
||||
'sequential_download': False,
|
||||
'dht': True,
|
||||
'upnp': True,
|
||||
'natpmp': True,
|
||||
'utpex': True,
|
||||
'lsd': True,
|
||||
'enc_in_policy': 1,
|
||||
'enc_out_policy': 1,
|
||||
'enc_level': 2,
|
||||
'max_connections_global': 200,
|
||||
'max_upload_speed': -1.0,
|
||||
'max_download_speed': -1.0,
|
||||
'max_upload_slots_global': 4,
|
||||
'max_half_open_connections': (
|
||||
lambda: deluge.common.windows_check()
|
||||
and (lambda: deluge.common.vista_check() and 4 or 8)()
|
||||
or 50
|
||||
)(),
|
||||
'max_connections_per_second': 20,
|
||||
'ignore_limits_on_local_network': True,
|
||||
'max_connections_per_torrent': -1,
|
||||
'max_upload_slots_per_torrent': -1,
|
||||
'max_upload_speed_per_torrent': -1,
|
||||
'max_download_speed_per_torrent': -1,
|
||||
'enabled_plugins': [],
|
||||
'add_paused': False,
|
||||
'max_active_seeding': 5,
|
||||
'max_active_downloading': 3,
|
||||
'max_active_limit': 8,
|
||||
'dont_count_slow_torrents': False,
|
||||
'queue_new_to_top': False,
|
||||
'stop_seed_at_ratio': False,
|
||||
'remove_seed_at_ratio': False,
|
||||
'stop_seed_ratio': 2.00,
|
||||
'share_ratio_limit': 2.00,
|
||||
'seed_time_ratio_limit': 7.00,
|
||||
'seed_time_limit': 180,
|
||||
'auto_managed': True,
|
||||
'move_completed': False,
|
||||
'move_completed_path': deluge.common.get_default_download_dir(),
|
||||
'move_completed_paths_list': [],
|
||||
'download_location_paths_list': [],
|
||||
'path_chooser_show_chooser_button_on_localhost': True,
|
||||
'path_chooser_auto_complete_enabled': True,
|
||||
'path_chooser_accelerator_string': 'Tab',
|
||||
'path_chooser_max_popup_rows': 20,
|
||||
'path_chooser_show_hidden_files': False,
|
||||
'new_release_check': True,
|
||||
'proxy': {
|
||||
'type': 0,
|
||||
'hostname': '',
|
||||
'username': '',
|
||||
'password': '',
|
||||
'port': 8080,
|
||||
'proxy_hostnames': True,
|
||||
'proxy_peer_connections': True,
|
||||
'proxy_tracker_connections': True,
|
||||
'force_proxy': False,
|
||||
'anonymous_mode': False,
|
||||
},
|
||||
"outgoing_ports": [0, 0],
|
||||
"random_outgoing_ports": True,
|
||||
"peer_tos": "0x00",
|
||||
"rate_limit_ip_overhead": True,
|
||||
"geoip_db_location": "/usr/share/GeoIP/GeoIP.dat",
|
||||
"cache_size": 512,
|
||||
"cache_expiry": 60
|
||||
'peer_tos': '0x00',
|
||||
'rate_limit_ip_overhead': True,
|
||||
'geoip_db_location': '/usr/share/GeoIP/GeoIP.dat',
|
||||
'cache_size': 512,
|
||||
'cache_expiry': 60,
|
||||
'auto_manage_prefer_seeds': False,
|
||||
'shared': False,
|
||||
'super_seeding': False,
|
||||
}
|
||||
|
||||
|
||||
class PreferencesManager(component.Component):
|
||||
def __init__(self):
|
||||
component.Component.__init__(self, "PreferencesManager")
|
||||
component.Component.__init__(self, 'PreferencesManager')
|
||||
self.config = deluge.configmanager.ConfigManager('core.conf', DEFAULT_PREFS)
|
||||
if 'proxies' in self.config:
|
||||
log.warning(
|
||||
'Updating config file for proxy, using "peer" values to fill new "proxy" setting'
|
||||
)
|
||||
self.config['proxy'].update(self.config['proxies']['peer'])
|
||||
log.warning('New proxy config is: %s', self.config['proxy'])
|
||||
del self.config['proxies']
|
||||
if 'i2p_proxy' in self.config and self.config['i2p_proxy']['hostname']:
|
||||
self.config['proxy'].update(self.config['i2p_proxy'])
|
||||
self.config['proxy']['type'] = 6
|
||||
del self.config['i2p_proxy']
|
||||
if 'anonymous_mode' in self.config:
|
||||
self.config['proxy']['anonymous_mode'] = self.config['anonymous_mode']
|
||||
del self.config['anonymous_mode']
|
||||
if 'proxy' in self.config:
|
||||
for key in DEFAULT_PREFS['proxy']:
|
||||
if key not in self.config['proxy']:
|
||||
self.config['proxy'][key] = DEFAULT_PREFS['proxy'][key]
|
||||
|
||||
self.config = deluge.configmanager.ConfigManager("core.conf", DEFAULT_PREFS)
|
||||
self.core = component.get('Core')
|
||||
self.new_release_timer = None
|
||||
|
||||
def start(self):
|
||||
self.core = component.get("Core")
|
||||
self.session = component.get("Core").session
|
||||
self.settings = component.get("Core").settings
|
||||
|
||||
# Register set functions in the Config
|
||||
self.config.register_set_function("torrentfiles_location",
|
||||
self._on_set_torrentfiles_location)
|
||||
self.config.register_set_function("listen_ports",
|
||||
self._on_set_listen_ports)
|
||||
self.config.register_set_function("listen_interface",
|
||||
self._on_set_listen_interface)
|
||||
self.config.register_set_function("random_port",
|
||||
self._on_set_random_port)
|
||||
self.config.register_set_function("outgoing_ports",
|
||||
self._on_set_outgoing_ports)
|
||||
self.config.register_set_function("random_outgoing_ports",
|
||||
self._on_set_random_outgoing_ports)
|
||||
self.config.register_set_function("peer_tos",
|
||||
self._on_set_peer_tos)
|
||||
self.config.register_set_function("dht", self._on_set_dht)
|
||||
self.config.register_set_function("upnp", self._on_set_upnp)
|
||||
self.config.register_set_function("natpmp", self._on_set_natpmp)
|
||||
self.config.register_set_function("utpex", self._on_set_utpex)
|
||||
self.config.register_set_function("lsd", self._on_set_lsd)
|
||||
self.config.register_set_function("enc_in_policy",
|
||||
self._on_set_encryption)
|
||||
self.config.register_set_function("enc_out_policy",
|
||||
self._on_set_encryption)
|
||||
self.config.register_set_function("enc_level",
|
||||
self._on_set_encryption)
|
||||
self.config.register_set_function("enc_prefer_rc4",
|
||||
self._on_set_encryption)
|
||||
self.config.register_set_function("max_connections_global",
|
||||
self._on_set_max_connections_global)
|
||||
self.config.register_set_function("max_upload_speed",
|
||||
self._on_set_max_upload_speed)
|
||||
self.config.register_set_function("max_download_speed",
|
||||
self._on_set_max_download_speed)
|
||||
self.config.register_set_function("max_upload_slots_global",
|
||||
self._on_set_max_upload_slots_global)
|
||||
self.config.register_set_function("max_half_open_connections",
|
||||
self._on_set_max_half_open_connections)
|
||||
self.config.register_set_function("max_connections_per_second",
|
||||
self._on_set_max_connections_per_second)
|
||||
self.config.register_set_function("ignore_limits_on_local_network",
|
||||
self._on_ignore_limits_on_local_network)
|
||||
self.config.register_set_function("share_ratio_limit",
|
||||
self._on_set_share_ratio_limit)
|
||||
self.config.register_set_function("seed_time_ratio_limit",
|
||||
self._on_set_seed_time_ratio_limit)
|
||||
self.config.register_set_function("seed_time_limit",
|
||||
self._on_set_seed_time_limit)
|
||||
self.config.register_set_function("max_active_downloading",
|
||||
self._on_set_max_active_downloading)
|
||||
self.config.register_set_function("max_active_seeding",
|
||||
self._on_set_max_active_seeding)
|
||||
self.config.register_set_function("max_active_limit",
|
||||
self._on_set_max_active_limit)
|
||||
self.config.register_set_function("dont_count_slow_torrents",
|
||||
self._on_set_dont_count_slow_torrents)
|
||||
self.config.register_set_function("send_info",
|
||||
self._on_send_info)
|
||||
self.config.register_set_function("proxies",
|
||||
self._on_set_proxies)
|
||||
self.new_release_timer = None
|
||||
self.config.register_set_function("new_release_check",
|
||||
self._on_new_release_check)
|
||||
self.config.register_set_function("rate_limit_ip_overhead",
|
||||
self._on_rate_limit_ip_overhead)
|
||||
self.config.register_set_function("geoip_db_location",
|
||||
self._on_geoip_db_location)
|
||||
self.config.register_set_function("cache_size",
|
||||
self._on_cache_size)
|
||||
self.config.register_set_function("cache_expiry",
|
||||
self._on_cache_expiry)
|
||||
# Set the initial preferences on start-up
|
||||
for key in DEFAULT_PREFS:
|
||||
self.do_config_set_func(key, self.config[key])
|
||||
|
||||
self.config.register_change_callback(self._on_config_value_change)
|
||||
|
||||
def stop(self):
|
||||
if self.new_release_timer:
|
||||
if self.new_release_timer and self.new_release_timer.running:
|
||||
self.new_release_timer.stop()
|
||||
|
||||
# Config set functions
|
||||
def do_config_set_func(self, key, value):
|
||||
on_set_func = getattr(self, '_on_set_' + key, None)
|
||||
if on_set_func:
|
||||
if log.isEnabledFor(logging.DEBUG):
|
||||
log.debug('Config key: %s set to %s..', key, value)
|
||||
on_set_func(key, value)
|
||||
|
||||
def _on_config_value_change(self, key, value):
|
||||
component.get("EventManager").emit(ConfigValueChangedEvent(key, value))
|
||||
if self.get_state() == 'Started':
|
||||
self.do_config_set_func(key, value)
|
||||
component.get('EventManager').emit(ConfigValueChangedEvent(key, value))
|
||||
|
||||
def _on_set_torrentfiles_location(self, key, value):
|
||||
if self.config["copy_torrent_file"]:
|
||||
if self.config['copy_torrent_file']:
|
||||
try:
|
||||
os.makedirs(value)
|
||||
except Exception, e:
|
||||
log.debug("Unable to make directory: %s", e)
|
||||
except OSError as ex:
|
||||
log.debug('Unable to make directory: %s', ex)
|
||||
|
||||
def _on_set_listen_ports(self, key, value):
|
||||
# Only set the listen ports if random_port is not true
|
||||
if self.config["random_port"] is not True:
|
||||
log.debug("listen port range set to %s-%s", value[0], value[1])
|
||||
self.session.listen_on(value[0], value[1], str(self.config["listen_interface"]))
|
||||
self.__set_listen_on()
|
||||
|
||||
def _on_set_listen_interface(self, key, value):
|
||||
# Call the random_port callback since it'll do what we need
|
||||
self._on_set_random_port("random_port", self.config["random_port"])
|
||||
self.__set_listen_on()
|
||||
|
||||
def _on_set_outgoing_interface(self, key, value):
|
||||
"""Set interface name or IP address for outgoing BitTorrent connections."""
|
||||
value = value.strip() if value else ''
|
||||
self.core.apply_session_settings({'outgoing_interfaces': value})
|
||||
|
||||
def _on_set_random_port(self, key, value):
|
||||
log.debug("random port value set to %s", value)
|
||||
# We need to check if the value has been changed to true and false
|
||||
# and then handle accordingly.
|
||||
if value:
|
||||
import random
|
||||
listen_ports = []
|
||||
randrange = lambda: random.randrange(49152, 65525)
|
||||
listen_ports.append(randrange())
|
||||
listen_ports.append(listen_ports[0]+10)
|
||||
else:
|
||||
listen_ports = self.config["listen_ports"]
|
||||
self.__set_listen_on()
|
||||
|
||||
# Set the listen ports
|
||||
log.debug("listen port range set to %s-%s", listen_ports[0],
|
||||
listen_ports[1])
|
||||
self.session.listen_on(listen_ports[0], listen_ports[1], str(self.config["listen_interface"]))
|
||||
def __set_listen_on(self):
|
||||
"""Set the ports and interface address to listen for incoming connections on."""
|
||||
if self.config['random_port']:
|
||||
if not self.config['listen_random_port']:
|
||||
self.config['listen_random_port'] = random.randrange(49152, 65525)
|
||||
listen_ports = [
|
||||
self.config['listen_random_port']
|
||||
] * 2 # use single port range
|
||||
else:
|
||||
self.config['listen_random_port'] = None
|
||||
listen_ports = self.config['listen_ports']
|
||||
|
||||
if self.config['listen_interface']:
|
||||
interface = self.config['listen_interface'].strip()
|
||||
else:
|
||||
interface = '0.0.0.0'
|
||||
|
||||
log.debug(
|
||||
'Listen Interface: %s, Ports: %s with use_sys_port: %s',
|
||||
interface,
|
||||
listen_ports,
|
||||
self.config['listen_use_sys_port'],
|
||||
)
|
||||
interfaces = [
|
||||
f'{interface}:{port}'
|
||||
for port in range(listen_ports[0], listen_ports[1] + 1)
|
||||
]
|
||||
self.core.apply_session_settings(
|
||||
{
|
||||
'listen_system_port_fallback': self.config['listen_use_sys_port'],
|
||||
'listen_interfaces': ','.join(interfaces),
|
||||
}
|
||||
)
|
||||
|
||||
def _on_set_outgoing_ports(self, key, value):
|
||||
if not self.config["random_outgoing_ports"]:
|
||||
log.debug("outgoing port range set to %s-%s", value[0], value[1])
|
||||
self.settings.outgoing_ports = value[0], value[1]
|
||||
self.session.set_settings(self.settings)
|
||||
self.__set_outgoing_ports()
|
||||
|
||||
def _on_set_random_outgoing_ports(self, key, value):
|
||||
if value:
|
||||
self.session.outgoing_ports(0, 0)
|
||||
self.__set_outgoing_ports()
|
||||
|
||||
def __set_outgoing_ports(self):
|
||||
port = (
|
||||
0
|
||||
if self.config['random_outgoing_ports']
|
||||
else self.config['outgoing_ports'][0]
|
||||
)
|
||||
if port:
|
||||
num_ports = (
|
||||
self.config['outgoing_ports'][1] - self.config['outgoing_ports'][0]
|
||||
)
|
||||
num_ports = num_ports if num_ports > 1 else 5
|
||||
else:
|
||||
num_ports = 0
|
||||
log.debug('Outgoing port set to %s with range: %s', port, num_ports)
|
||||
self.core.apply_session_settings(
|
||||
{'outgoing_port': port, 'num_outgoing_ports': num_ports}
|
||||
)
|
||||
|
||||
def _on_set_peer_tos(self, key, value):
|
||||
log.debug("setting peer_tos to: %s", value)
|
||||
try:
|
||||
self.settings.peer_tos = chr(int(value, 16))
|
||||
except ValueError, e:
|
||||
log.debug("Invalid tos byte: %s", e)
|
||||
return
|
||||
|
||||
self.session.set_settings(self.settings)
|
||||
self.core.apply_session_setting('peer_tos', int(value, 16))
|
||||
except ValueError as ex:
|
||||
log.error('Invalid tos byte: %s', ex)
|
||||
|
||||
def _on_set_dht(self, key, value):
|
||||
log.debug("dht value set to %s", value)
|
||||
state_file = deluge.configmanager.get_config_dir("dht.state")
|
||||
if value:
|
||||
state = None
|
||||
try:
|
||||
state = lt.bdecode(open(state_file, "rb").read())
|
||||
except Exception, e:
|
||||
log.warning("Unable to read DHT state file: %s", e)
|
||||
|
||||
try:
|
||||
self.session.start_dht(state)
|
||||
except Exception, e:
|
||||
log.warning("Restoring old DHT state failed: %s", e)
|
||||
self.session.start_dht(None)
|
||||
self.session.add_dht_router("router.bittorrent.com", 6881)
|
||||
self.session.add_dht_router("router.utorrent.com", 6881)
|
||||
self.session.add_dht_router("router.bitcomet.com", 6881)
|
||||
else:
|
||||
self.core.save_dht_state()
|
||||
self.session.stop_dht()
|
||||
lt_bootstraps = self.core.session.get_settings()['dht_bootstrap_nodes']
|
||||
# Update list of lt bootstraps, using set to remove duplicates.
|
||||
dht_bootstraps = set(
|
||||
lt_bootstraps.split(',')
|
||||
+ [
|
||||
'router.bittorrent.com:6881',
|
||||
'router.utorrent.com:6881',
|
||||
'router.bitcomet.com:6881',
|
||||
'dht.transmissionbt.com:6881',
|
||||
'dht.aelitis.com:6881',
|
||||
]
|
||||
)
|
||||
self.core.apply_session_settings(
|
||||
{'dht_bootstrap_nodes': ','.join(dht_bootstraps), 'enable_dht': value}
|
||||
)
|
||||
|
||||
def _on_set_upnp(self, key, value):
|
||||
log.debug("upnp value set to %s", value)
|
||||
if value:
|
||||
self.session.start_upnp()
|
||||
else:
|
||||
self.session.stop_upnp()
|
||||
self.core.apply_session_setting('enable_upnp', value)
|
||||
|
||||
def _on_set_natpmp(self, key, value):
|
||||
log.debug("natpmp value set to %s", value)
|
||||
if value:
|
||||
self.session.start_natpmp()
|
||||
else:
|
||||
self.session.stop_natpmp()
|
||||
self.core.apply_session_setting('enable_natpmp', value)
|
||||
|
||||
def _on_set_lsd(self, key, value):
|
||||
log.debug("lsd value set to %s", value)
|
||||
if value:
|
||||
self.session.start_lsd()
|
||||
else:
|
||||
self.session.stop_lsd()
|
||||
self.core.apply_session_setting('enable_lsd', value)
|
||||
|
||||
def _on_set_utpex(self, key, value):
|
||||
log.debug("utpex value set to %s", value)
|
||||
if value:
|
||||
self.session.add_extension(lt.create_ut_pex_plugin)
|
||||
self.core.session.add_extension('ut_pex')
|
||||
|
||||
def _on_set_enc_in_policy(self, key, value):
|
||||
self._on_set_encryption(key, value)
|
||||
|
||||
def _on_set_enc_out_policy(self, key, value):
|
||||
self._on_set_encryption(key, value)
|
||||
|
||||
def _on_set_enc_level(self, key, value):
|
||||
self._on_set_encryption(key, value)
|
||||
|
||||
def _on_set_encryption(self, key, value):
|
||||
log.debug("encryption value %s set to %s..", key, value)
|
||||
pe_settings = lt.pe_settings()
|
||||
pe_settings.out_enc_policy = \
|
||||
lt.enc_policy(self.config["enc_out_policy"])
|
||||
pe_settings.in_enc_policy = lt.enc_policy(self.config["enc_in_policy"])
|
||||
pe_settings.allowed_enc_level = lt.enc_level(self.config["enc_level"])
|
||||
pe_settings.prefer_rc4 = self.config["enc_prefer_rc4"]
|
||||
self.session.set_pe_settings(pe_settings)
|
||||
set = self.session.get_pe_settings()
|
||||
log.debug("encryption settings:\n\t\t\tout_policy: %s\n\t\t\
|
||||
in_policy: %s\n\t\t\tlevel: %s\n\t\t\tprefer_rc4: %s",
|
||||
set.out_enc_policy,
|
||||
set.in_enc_policy,
|
||||
set.allowed_enc_level,
|
||||
set.prefer_rc4)
|
||||
# Convert Deluge enc_level values to libtorrent enc_level values.
|
||||
pe_enc_level = {
|
||||
0: lt.enc_level.plaintext,
|
||||
1: lt.enc_level.rc4,
|
||||
2: lt.enc_level.both,
|
||||
}
|
||||
self.core.apply_session_settings(
|
||||
{
|
||||
'out_enc_policy': lt.enc_policy(self.config['enc_out_policy']),
|
||||
'in_enc_policy': lt.enc_policy(self.config['enc_in_policy']),
|
||||
'allowed_enc_level': lt.enc_level(
|
||||
pe_enc_level[self.config['enc_level']]
|
||||
),
|
||||
'prefer_rc4': True,
|
||||
}
|
||||
)
|
||||
|
||||
def _on_set_max_connections_global(self, key, value):
|
||||
log.debug("max_connections_global set to %s..", value)
|
||||
self.session.set_max_connections(value)
|
||||
self.core.apply_session_setting('connections_limit', value)
|
||||
|
||||
def _on_set_max_upload_speed(self, key, value):
|
||||
log.debug("max_upload_speed set to %s..", value)
|
||||
# We need to convert Kb/s to B/s
|
||||
if value < 0:
|
||||
v = -1
|
||||
else:
|
||||
v = int(value * 1024)
|
||||
|
||||
self.session.set_upload_rate_limit(v)
|
||||
value = -1 if value < 0 else int(value * 1024)
|
||||
self.core.apply_session_setting('upload_rate_limit', value)
|
||||
|
||||
def _on_set_max_download_speed(self, key, value):
|
||||
log.debug("max_download_speed set to %s..", value)
|
||||
# We need to convert Kb/s to B/s
|
||||
if value < 0:
|
||||
v = -1
|
||||
else:
|
||||
v = int(value * 1024)
|
||||
self.session.set_download_rate_limit(v)
|
||||
value = -1 if value < 0 else int(value * 1024)
|
||||
self.core.apply_session_setting('download_rate_limit', value)
|
||||
|
||||
def _on_set_max_upload_slots_global(self, key, value):
|
||||
log.debug("max_upload_slots_global set to %s..", value)
|
||||
self.session.set_max_uploads(value)
|
||||
self.core.apply_session_setting('unchoke_slots_limit', value)
|
||||
|
||||
def _on_set_max_half_open_connections(self, key, value):
|
||||
self.session.set_max_half_open_connections(value)
|
||||
self.core.apply_session_setting('half_open_limit', value)
|
||||
|
||||
def _on_set_max_connections_per_second(self, key, value):
|
||||
self.settings.connection_speed = value
|
||||
self.session.set_settings(self.settings)
|
||||
self.core.apply_session_setting('connection_speed', value)
|
||||
|
||||
def _on_ignore_limits_on_local_network(self, key, value):
|
||||
self.settings.ignore_limits_on_local_network = value
|
||||
self.session.set_settings(self.settings)
|
||||
def _on_set_ignore_limits_on_local_network(self, key, value):
|
||||
self.core.apply_session_setting('ignore_limits_on_local_network', value)
|
||||
|
||||
def _on_set_share_ratio_limit(self, key, value):
|
||||
log.debug("%s set to %s..", key, value)
|
||||
self.settings.share_ratio_limit = value
|
||||
self.session.set_settings(self.settings)
|
||||
# This value is a float percentage in deluge, but libtorrent needs int percentage.
|
||||
self.core.apply_session_setting('share_ratio_limit', int(value * 100))
|
||||
|
||||
def _on_set_seed_time_ratio_limit(self, key, value):
|
||||
log.debug("%s set to %s..", key, value)
|
||||
self.settings.seed_time_ratio_limit = value
|
||||
self.session.set_settings(self.settings)
|
||||
# This value is a float percentage in deluge, but libtorrent needs int percentage.
|
||||
self.core.apply_session_setting('seed_time_ratio_limit', int(value * 100))
|
||||
|
||||
def _on_set_seed_time_limit(self, key, value):
|
||||
log.debug("%s set to %s..", key, value)
|
||||
# This value is stored in minutes in deluge, but libtorrent wants seconds
|
||||
self.settings.seed_time_limit = int(value * 60)
|
||||
self.session.set_settings(self.settings)
|
||||
self.core.apply_session_setting('seed_time_limit', int(value * 60))
|
||||
|
||||
def _on_set_max_active_downloading(self, key, value):
|
||||
log.debug("%s set to %s..", key, value)
|
||||
log.debug("active_downloads: %s", self.settings.active_downloads)
|
||||
self.settings.active_downloads = value
|
||||
self.session.set_settings(self.settings)
|
||||
self.core.apply_session_setting('active_downloads', value)
|
||||
|
||||
def _on_set_max_active_seeding(self, key, value):
|
||||
log.debug("%s set to %s..", key, value)
|
||||
log.debug("active_seeds: %s", self.settings.active_seeds)
|
||||
self.settings.active_seeds = value
|
||||
self.session.set_settings(self.settings)
|
||||
self.core.apply_session_setting('active_seeds', value)
|
||||
|
||||
def _on_set_max_active_limit(self, key, value):
|
||||
log.debug("%s set to %s..", key, value)
|
||||
log.debug("active_limit: %s", self.settings.active_limit)
|
||||
self.settings.active_limit = value
|
||||
self.session.set_settings(self.settings)
|
||||
self.core.apply_session_setting('active_limit', value)
|
||||
|
||||
def _on_set_dont_count_slow_torrents(self, key, value):
|
||||
log.debug("%s set to %s..", key, value)
|
||||
self.settings.dont_count_slow_torrents = value
|
||||
self.session.set_settings(self.settings)
|
||||
self.core.apply_session_setting('dont_count_slow_torrents', value)
|
||||
|
||||
def _on_send_info(self, key, value):
|
||||
log.debug("Sending anonymous stats..")
|
||||
def _on_set_send_info(self, key, value):
|
||||
"""sends anonymous stats home"""
|
||||
class Send_Info_Thread(threading.Thread):
|
||||
log.debug('Sending anonymous stats..')
|
||||
|
||||
class SendInfoThread(threading.Thread):
|
||||
def __init__(self, config):
|
||||
self.config = config
|
||||
threading.Thread.__init__(self)
|
||||
|
||||
def run(self):
|
||||
import time
|
||||
|
||||
now = time.time()
|
||||
# check if we've done this within the last week or never
|
||||
if (now - self.config["info_sent"]) >= (60 * 60 * 24 * 7):
|
||||
import deluge.common
|
||||
from urllib import quote_plus
|
||||
from urllib2 import urlopen
|
||||
import platform
|
||||
if (now - self.config['info_sent']) >= (60 * 60 * 24 * 7):
|
||||
try:
|
||||
url = "http://deluge-torrent.org/stats_get.php?processor=" + \
|
||||
platform.machine() + "&python=" + platform.python_version() \
|
||||
+ "&deluge=" + deluge.common.get_version() \
|
||||
+ "&os=" + platform.system() \
|
||||
+ "&plugins=" + quote_plus(":".join(self.config["enabled_plugins"]))
|
||||
url = (
|
||||
'http://deluge-torrent.org/stats_get.php?processor='
|
||||
+ platform.machine()
|
||||
+ '&python='
|
||||
+ platform.python_version()
|
||||
+ '&deluge='
|
||||
+ deluge.common.get_version()
|
||||
+ '&os='
|
||||
+ platform.system()
|
||||
+ '&plugins='
|
||||
+ quote_plus(':'.join(self.config['enabled_plugins']))
|
||||
)
|
||||
urlopen(url)
|
||||
except IOError, e:
|
||||
log.debug("Network error while trying to send info: %s", e)
|
||||
except OSError as ex:
|
||||
log.debug('Network error while trying to send info: %s', ex)
|
||||
else:
|
||||
self.config["info_sent"] = now
|
||||
if value:
|
||||
Send_Info_Thread(self.config).start()
|
||||
self.config['info_sent'] = now
|
||||
|
||||
def _on_new_release_check(self, key, value):
|
||||
if value:
|
||||
log.debug("Checking for new release..")
|
||||
SendInfoThread(self.config).start()
|
||||
|
||||
def _on_set_new_release_check(self, key, value):
|
||||
if value:
|
||||
log.debug('Checking for new release..')
|
||||
threading.Thread(target=self.core.get_new_release).start()
|
||||
if self.new_release_timer:
|
||||
if self.new_release_timer and self.new_release_timer.running:
|
||||
self.new_release_timer.stop()
|
||||
# Set a timer to check for a new release every 3 days
|
||||
self.new_release_timer = LoopingCall(
|
||||
self._on_new_release_check, "new_release_check", True)
|
||||
self._on_set_new_release_check, 'new_release_check', True
|
||||
)
|
||||
self.new_release_timer.start(72 * 60 * 60, False)
|
||||
else:
|
||||
if self.new_release_timer:
|
||||
if self.new_release_timer and self.new_release_timer.running:
|
||||
self.new_release_timer.stop()
|
||||
|
||||
def _on_set_proxies(self, key, value):
|
||||
for k, v in value.items():
|
||||
if v["type"]:
|
||||
proxy_settings = lt.proxy_settings()
|
||||
proxy_settings.type = lt.proxy_type(v["type"])
|
||||
proxy_settings.username = str(v["username"])
|
||||
proxy_settings.password = str(v["password"])
|
||||
proxy_settings.hostname = str(v["hostname"])
|
||||
proxy_settings.port = v["port"]
|
||||
log.debug("setting %s proxy settings", k)
|
||||
getattr(self.session, "set_%s_proxy" % k)(proxy_settings)
|
||||
def _on_set_proxy(self, key, value):
|
||||
# Initialise with type none and blank hostnames.
|
||||
proxy_settings = {
|
||||
'proxy_type': lt.proxy_type_t.none,
|
||||
'i2p_hostname': '',
|
||||
'proxy_hostname': '',
|
||||
'proxy_hostnames': value['proxy_hostnames'],
|
||||
'proxy_peer_connections': value['proxy_peer_connections'],
|
||||
'proxy_tracker_connections': value['proxy_tracker_connections'],
|
||||
'force_proxy': value['force_proxy'],
|
||||
'anonymous_mode': value['anonymous_mode'],
|
||||
}
|
||||
|
||||
def _on_rate_limit_ip_overhead(self, key, value):
|
||||
log.debug("%s: %s", key, value)
|
||||
self.settings.rate_limit_ip_overhead = value
|
||||
self.session.set_settings(self.settings)
|
||||
if value['type'] == lt.proxy_type_t.i2p_proxy:
|
||||
proxy_settings.update(
|
||||
{
|
||||
'proxy_type': lt.proxy_type_t.i2p_proxy,
|
||||
'i2p_hostname': value['hostname'],
|
||||
'i2p_port': value['port'],
|
||||
}
|
||||
)
|
||||
elif value['type'] != lt.proxy_type_t.none:
|
||||
proxy_settings.update(
|
||||
{
|
||||
'proxy_type': value['type'],
|
||||
'proxy_hostname': value['hostname'],
|
||||
'proxy_port': value['port'],
|
||||
'proxy_username': value['username'],
|
||||
'proxy_password': value['password'],
|
||||
}
|
||||
)
|
||||
|
||||
def _on_geoip_db_location(self, key, value):
|
||||
log.debug("%s: %s", key, value)
|
||||
self.core.apply_session_settings(proxy_settings)
|
||||
|
||||
def _on_set_rate_limit_ip_overhead(self, key, value):
|
||||
self.core.apply_session_setting('rate_limit_ip_overhead', value)
|
||||
|
||||
def _on_set_geoip_db_location(self, key, geoipdb_path):
|
||||
# Load the GeoIP DB for country look-ups if available
|
||||
geoip_db = ""
|
||||
if os.path.exists(value):
|
||||
geoip_db = value
|
||||
elif os.path.exists(pkg_resources.resource_filename("deluge", os.path.join("data", "GeoIP.dat"))):
|
||||
geoip_db = pkg_resources.resource_filename("deluge", os.path.join("data", "GeoIP.dat"))
|
||||
else:
|
||||
log.warning("Unable to find GeoIP database file!")
|
||||
|
||||
if geoip_db:
|
||||
if os.path.exists(geoipdb_path):
|
||||
try:
|
||||
self.session.load_country_db(str(geoip_db))
|
||||
except Exception, e:
|
||||
log.error("Unable to load geoip database!")
|
||||
log.exception(e)
|
||||
self.core.geoip_instance = GeoIP(geoipdb_path, 0)
|
||||
except Exception as ex:
|
||||
log.warning('GeoIP Unavailable: %s', ex)
|
||||
else:
|
||||
log.warning('Unable to find GeoIP database file: %s', geoipdb_path)
|
||||
|
||||
def _on_cache_size(self, key, value):
|
||||
log.debug("%s: %s", key, value)
|
||||
self.settings.cache_size = value
|
||||
self.session.set_settings(self.settings)
|
||||
def _on_set_cache_size(self, key, value):
|
||||
self.core.apply_session_setting('cache_size', value)
|
||||
|
||||
def _on_cache_expiry(self, key, value):
|
||||
log.debug("%s: %s", key, value)
|
||||
self.settings.cache_expiry = value
|
||||
self.session.set_settings(self.settings)
|
||||
def _on_set_cache_expiry(self, key, value):
|
||||
self.core.apply_session_setting('cache_expiry', value)
|
||||
|
||||
def _on_auto_manage_prefer_seeds(self, key, value):
|
||||
self.core.apply_session_setting('auto_manage_prefer_seeds', value)
|
||||
|
||||
@ -1,63 +1,60 @@
|
||||
#
|
||||
# rpcserver.py
|
||||
#
|
||||
# Copyright (C) 2008,2009 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# Deluge is free software.
|
||||
#
|
||||
# You may redistribute it and/or modify it under the terms of the
|
||||
# GNU General Public License, as published by the Free Software
|
||||
# Foundation; either version 3 of the License, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# deluge is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with deluge. If not, write to:
|
||||
# The Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor
|
||||
# Boston, MA 02110-1301, USA.
|
||||
#
|
||||
# In addition, as a special exception, the copyright holders give
|
||||
# permission to link the code of portions of this program with the OpenSSL
|
||||
# library.
|
||||
# You must obey the GNU General Public License in all respects for all of
|
||||
# the code used other than OpenSSL. If you modify file(s) with this
|
||||
# exception, you may extend this exception to your version of the file(s),
|
||||
# but you are not obligated to do so. If you do not wish to do so, delete
|
||||
# this exception statement from your version. If you delete this exception
|
||||
# statement from all source files in the program, then also delete it here.
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
"""RPCServer Module"""
|
||||
|
||||
import sys
|
||||
import zlib
|
||||
import logging
|
||||
import os
|
||||
import stat
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
from twisted.internet.protocol import Factory, Protocol
|
||||
from twisted.internet import ssl, reactor, defer
|
||||
|
||||
from OpenSSL import crypto, SSL
|
||||
from collections import namedtuple
|
||||
from types import FunctionType
|
||||
from typing import Callable, TypeVar, overload
|
||||
|
||||
import deluge.rencode as rencode
|
||||
from deluge.log import LOG as log
|
||||
from twisted.internet import defer, reactor
|
||||
from twisted.internet.protocol import Factory, connectionDone
|
||||
|
||||
import deluge.component as component
|
||||
import deluge.configmanager
|
||||
from deluge.core.authmanager import AUTH_LEVEL_NONE, AUTH_LEVEL_DEFAULT
|
||||
from deluge.core.authmanager import (
|
||||
AUTH_LEVEL_ADMIN,
|
||||
AUTH_LEVEL_DEFAULT,
|
||||
AUTH_LEVEL_NONE,
|
||||
)
|
||||
from deluge.crypto_utils import check_ssl_keys, get_context_factory
|
||||
from deluge.error import (
|
||||
DelugeError,
|
||||
IncompatibleClient,
|
||||
NotAuthorizedError,
|
||||
WrappedException,
|
||||
_ClientSideRecreateError,
|
||||
)
|
||||
from deluge.event import ClientDisconnectedEvent
|
||||
from deluge.transfer import DelugeTransferProtocol
|
||||
|
||||
RPC_RESPONSE = 1
|
||||
RPC_ERROR = 2
|
||||
RPC_EVENT = 3
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
TCallable = TypeVar('TCallable', bound=Callable)
|
||||
|
||||
|
||||
@overload
|
||||
def export(func: TCallable) -> TCallable:
|
||||
...
|
||||
|
||||
|
||||
@overload
|
||||
def export(auth_level: int) -> Callable[[TCallable], TCallable]:
|
||||
...
|
||||
|
||||
|
||||
def export(auth_level=AUTH_LEVEL_DEFAULT):
|
||||
"""
|
||||
Decorator function to register an object's method as an RPC. The object
|
||||
@ -69,128 +66,123 @@ def export(auth_level=AUTH_LEVEL_DEFAULT):
|
||||
:type auth_level: int
|
||||
|
||||
"""
|
||||
|
||||
def wrap(func, *args, **kwargs):
|
||||
func._rpcserver_export = True
|
||||
func._rpcserver_auth_level = auth_level
|
||||
doc = func.__doc__
|
||||
func.__doc__ = "**RPC Exported Function** (*Auth Level: %s*)\n\n" % auth_level
|
||||
if doc:
|
||||
func.__doc__ += doc
|
||||
|
||||
rpc_text = '**RPC exported method** (*Auth level: %s*)' % auth_level
|
||||
|
||||
# Append the RPC text while ensuring correct docstring formatting.
|
||||
if func.__doc__:
|
||||
if func.__doc__.endswith(' '):
|
||||
indent = func.__doc__.split('\n')[-1]
|
||||
func.__doc__ += f'\n{indent}'
|
||||
else:
|
||||
func.__doc__ += '\n\n'
|
||||
func.__doc__ += rpc_text
|
||||
else:
|
||||
func.__doc__ = rpc_text
|
||||
|
||||
return func
|
||||
|
||||
if type(auth_level) is FunctionType:
|
||||
if isinstance(auth_level, FunctionType):
|
||||
func = auth_level
|
||||
auth_level = AUTH_LEVEL_DEFAULT
|
||||
return wrap(func)
|
||||
else:
|
||||
return wrap
|
||||
|
||||
class DelugeError(Exception):
|
||||
pass
|
||||
|
||||
class NotAuthorizedError(DelugeError):
|
||||
pass
|
||||
def format_request(call):
|
||||
"""
|
||||
Format the RPCRequest message for debug printing
|
||||
|
||||
class ServerContextFactory(object):
|
||||
def getContext(self):
|
||||
:param call: the request
|
||||
:type call: a RPCRequest
|
||||
|
||||
:returns: a formatted string for printing
|
||||
:rtype: str
|
||||
|
||||
"""
|
||||
try:
|
||||
s = call[1] + '('
|
||||
if call[2]:
|
||||
s += ', '.join([str(x) for x in call[2]])
|
||||
if call[3]:
|
||||
if call[2]:
|
||||
s += ', '
|
||||
s += ', '.join([key + '=' + str(value) for key, value in call[3].items()])
|
||||
s += ')'
|
||||
except UnicodeEncodeError:
|
||||
return 'UnicodeEncodeError, call: %s' % call
|
||||
else:
|
||||
return s
|
||||
|
||||
|
||||
class DelugeRPCProtocol(DelugeTransferProtocol):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
# namedtuple subclass with auth_level, username for the connected session.
|
||||
self.AuthLevel = namedtuple('SessionAuthlevel', 'auth_level, username')
|
||||
|
||||
def message_received(self, request):
|
||||
"""
|
||||
Create an SSL context.
|
||||
|
||||
This loads the servers cert/private key SSL files for use with the
|
||||
SSL transport.
|
||||
"""
|
||||
ssl_dir = deluge.configmanager.get_config_dir("ssl")
|
||||
ctx = SSL.Context(SSL.SSLv3_METHOD)
|
||||
ctx.use_certificate_file(os.path.join(ssl_dir, "daemon.cert"))
|
||||
ctx.use_privatekey_file(os.path.join(ssl_dir, "daemon.pkey"))
|
||||
return ctx
|
||||
|
||||
class DelugeRPCProtocol(Protocol):
|
||||
__buffer = None
|
||||
|
||||
def dataReceived(self, data):
|
||||
"""
|
||||
This method is called whenever data is received from a client. The
|
||||
This method is called whenever a message is received from a client. The
|
||||
only message that a client sends to the server is a RPC Request message.
|
||||
If the RPC Request message is valid, then the method is called in a thread
|
||||
with :meth:`dispatch`.
|
||||
If the RPC Request message is valid, then the method is called in
|
||||
:meth:`dispatch`.
|
||||
|
||||
:param data: the data from the client. It should be a zlib compressed
|
||||
rencoded string.
|
||||
:type data: str
|
||||
:param request: the request from the client.
|
||||
:type data: tuple
|
||||
|
||||
"""
|
||||
if self.__buffer:
|
||||
# We have some data from the last dataReceived() so lets prepend it
|
||||
data = self.__buffer + data
|
||||
self.__buffer = None
|
||||
if not isinstance(request, tuple):
|
||||
log.debug('Received invalid message: type is not tuple')
|
||||
return
|
||||
|
||||
while data:
|
||||
dobj = zlib.decompressobj()
|
||||
try:
|
||||
request = rencode.loads(dobj.decompress(data))
|
||||
except Exception, e:
|
||||
#log.debug("Received possible invalid message (%r): %s", data, e)
|
||||
# This could be cut-off data, so we'll save this in the buffer
|
||||
# and try to prepend it on the next dataReceived()
|
||||
self.__buffer = data
|
||||
return
|
||||
else:
|
||||
data = dobj.unused_data
|
||||
if len(request) < 1:
|
||||
log.debug('Received invalid message: there are no items')
|
||||
return
|
||||
|
||||
if type(request) is not tuple:
|
||||
log.debug("Received invalid message: type is not tuple")
|
||||
return
|
||||
for call in request:
|
||||
if len(call) != 4:
|
||||
log.debug(
|
||||
'Received invalid rpc request: number of items ' 'in request is %s',
|
||||
len(call),
|
||||
)
|
||||
continue
|
||||
# log.debug('RPCRequest: %s', format_request(call))
|
||||
reactor.callLater(0, self.dispatch, *call)
|
||||
|
||||
if len(request) < 1:
|
||||
log.debug("Received invalid message: there are no items")
|
||||
return
|
||||
|
||||
for call in request:
|
||||
if len(call) != 4:
|
||||
log.debug("Received invalid rpc request: number of items in request is %s", len(call))
|
||||
continue
|
||||
|
||||
# Format the RPCRequest message for debug printing
|
||||
try:
|
||||
s = call[1] + "("
|
||||
if call[2]:
|
||||
s += ", ".join([str(x) for x in call[2]])
|
||||
if call[3]:
|
||||
if call[2]:
|
||||
s += ", "
|
||||
s += ", ".join([key + "=" + str(value) for key, value in call[3].items()])
|
||||
s += ")"
|
||||
except UnicodeEncodeError:
|
||||
pass
|
||||
#log.debug("RPCRequest had some non-ascii text..")
|
||||
else:
|
||||
pass
|
||||
#log.debug("RPCRequest: %s", s)
|
||||
|
||||
reactor.callLater(0, self.dispatch, *call)
|
||||
|
||||
def sendData(self, data):
|
||||
def sendData(self, data): # NOQA: N802
|
||||
"""
|
||||
Sends the data to the client.
|
||||
|
||||
:param data: the object that is to be sent to the client. This should
|
||||
be one of the RPC message types.
|
||||
:type data: object
|
||||
|
||||
"""
|
||||
self.transport.write(zlib.compress(rencode.dumps(data)))
|
||||
try:
|
||||
self.transfer_message(data)
|
||||
except Exception as ex:
|
||||
log.warning('Error occurred when sending message: %s.', ex)
|
||||
log.exception(ex)
|
||||
raise
|
||||
|
||||
def connectionMade(self):
|
||||
def connectionMade(self): # NOQA: N802
|
||||
"""
|
||||
This method is called when a new client connects.
|
||||
"""
|
||||
peer = self.transport.getPeer()
|
||||
log.info("Deluge Client connection made from: %s:%s", peer.host, peer.port)
|
||||
log.info('Deluge Client connection made from: %s:%s', peer.host, peer.port)
|
||||
# Set the initial auth level of this session to AUTH_LEVEL_NONE
|
||||
self.factory.authorized_sessions[self.transport.sessionno] = AUTH_LEVEL_NONE
|
||||
self.factory.authorized_sessions[self.transport.sessionno] = self.AuthLevel(
|
||||
AUTH_LEVEL_NONE, ''
|
||||
)
|
||||
|
||||
def connectionLost(self, reason):
|
||||
def connectionLost(self, reason=connectionDone): # NOQA: N802
|
||||
"""
|
||||
This method is called when the client is disconnected.
|
||||
|
||||
@ -206,7 +198,14 @@ class DelugeRPCProtocol(Protocol):
|
||||
if self.transport.sessionno in self.factory.interested_events:
|
||||
del self.factory.interested_events[self.transport.sessionno]
|
||||
|
||||
log.info("Deluge client disconnected: %s", reason.value)
|
||||
if self.factory.state == 'running':
|
||||
component.get('EventManager').emit(
|
||||
ClientDisconnectedEvent(self.factory.session_id)
|
||||
)
|
||||
log.info('Deluge client disconnected: %s', reason.value)
|
||||
|
||||
def valid_session(self):
|
||||
return self.transport.sessionno in self.factory.authorized_sessions
|
||||
|
||||
def dispatch(self, request_id, method, args, kwargs):
|
||||
"""
|
||||
@ -224,38 +223,77 @@ class DelugeRPCProtocol(Protocol):
|
||||
:type kwargs: dict
|
||||
|
||||
"""
|
||||
def sendError():
|
||||
|
||||
def send_error():
|
||||
"""
|
||||
Sends an error response with the contents of the exception that was raised.
|
||||
"""
|
||||
exceptionType, exceptionValue, exceptionTraceback = sys.exc_info()
|
||||
exc_type, exc_value, dummy_exc_trace = sys.exc_info()
|
||||
formated_tb = traceback.format_exc()
|
||||
try:
|
||||
self.sendData(
|
||||
(
|
||||
RPC_ERROR,
|
||||
request_id,
|
||||
exc_type.__name__,
|
||||
exc_value._args,
|
||||
exc_value._kwargs,
|
||||
formated_tb,
|
||||
)
|
||||
)
|
||||
except AttributeError:
|
||||
# This is not a deluge exception (object has no attribute '_args), let's wrap it
|
||||
log.warning(
|
||||
'An exception occurred while sending RPC_ERROR to '
|
||||
'client. Wrapping it and resending. Error to '
|
||||
'send(causing exception goes next):\n%s',
|
||||
formated_tb,
|
||||
)
|
||||
try:
|
||||
raise WrappedException(
|
||||
str(exc_value), exc_type.__name__, formated_tb
|
||||
)
|
||||
except WrappedException:
|
||||
send_error()
|
||||
except Exception as ex:
|
||||
log.error(
|
||||
'An exception occurred while sending RPC_ERROR to client: %s', ex
|
||||
)
|
||||
|
||||
self.sendData((
|
||||
RPC_ERROR,
|
||||
request_id,
|
||||
(exceptionType.__name__,
|
||||
exceptionValue.args[0] if len(exceptionValue.args) == 1 else "",
|
||||
"".join(traceback.format_tb(exceptionTraceback)))
|
||||
))
|
||||
|
||||
if method == "daemon.login":
|
||||
if method == 'daemon.info':
|
||||
# This is a special case and used in the initial connection process
|
||||
self.sendData((RPC_RESPONSE, request_id, deluge.common.get_version()))
|
||||
return
|
||||
elif method == 'daemon.login':
|
||||
# This is a special case and used in the initial connection process
|
||||
# We need to authenticate the user here
|
||||
log.debug('RPC dispatch daemon.login')
|
||||
try:
|
||||
ret = component.get("AuthManager").authorize(*args, **kwargs)
|
||||
client_version = kwargs.pop('client_version', None)
|
||||
if client_version is None:
|
||||
raise IncompatibleClient(deluge.common.get_version())
|
||||
ret = component.get('AuthManager').authorize(*args, **kwargs)
|
||||
if ret:
|
||||
self.factory.authorized_sessions[self.transport.sessionno] = ret
|
||||
self.factory.authorized_sessions[
|
||||
self.transport.sessionno
|
||||
] = self.AuthLevel(ret, args[0])
|
||||
self.factory.session_protocols[self.transport.sessionno] = self
|
||||
except Exception, e:
|
||||
sendError()
|
||||
log.exception(e)
|
||||
except Exception as ex:
|
||||
send_error()
|
||||
if not isinstance(ex, _ClientSideRecreateError):
|
||||
log.exception(ex)
|
||||
else:
|
||||
self.sendData((RPC_RESPONSE, request_id, (ret)))
|
||||
if not ret:
|
||||
self.transport.loseConnection()
|
||||
finally:
|
||||
return
|
||||
elif method == "daemon.set_event_interest" and self.transport.sessionno in self.factory.authorized_sessions:
|
||||
return
|
||||
|
||||
# Anything below requires a valid session
|
||||
if not self.valid_session():
|
||||
return
|
||||
|
||||
if method == 'daemon.set_event_interest':
|
||||
log.debug('RPC dispatch daemon.set_event_interest')
|
||||
# This special case is to allow clients to set which events they are
|
||||
# interested in receiving.
|
||||
# We are expecting a sequence from the client.
|
||||
@ -263,45 +301,66 @@ class DelugeRPCProtocol(Protocol):
|
||||
if self.transport.sessionno not in self.factory.interested_events:
|
||||
self.factory.interested_events[self.transport.sessionno] = []
|
||||
self.factory.interested_events[self.transport.sessionno].extend(args[0])
|
||||
except Exception, e:
|
||||
sendError()
|
||||
except Exception:
|
||||
send_error()
|
||||
else:
|
||||
self.sendData((RPC_RESPONSE, request_id, (True)))
|
||||
finally:
|
||||
return
|
||||
|
||||
if method not in self.factory.methods:
|
||||
try:
|
||||
# Raise exception to be sent back to client
|
||||
raise AttributeError('RPC call on invalid function: %s' % method)
|
||||
except AttributeError:
|
||||
send_error()
|
||||
return
|
||||
|
||||
if method in self.factory.methods and self.transport.sessionno in self.factory.authorized_sessions:
|
||||
try:
|
||||
method_auth_requirement = self.factory.methods[method]._rpcserver_auth_level
|
||||
auth_level = self.factory.authorized_sessions[self.transport.sessionno]
|
||||
if auth_level < method_auth_requirement:
|
||||
# This session is not allowed to call this method
|
||||
log.debug("Session %s is trying to call a method it is not authorized to call!", self.transport.sessionno)
|
||||
raise NotAuthorizedError("Auth level too low: %s < %s" % (auth_level, method_auth_requirement))
|
||||
ret = self.factory.methods[method](*args, **kwargs)
|
||||
except Exception, e:
|
||||
sendError()
|
||||
# Don't bother printing out DelugeErrors, because they are just for the client
|
||||
if not isinstance(e, DelugeError):
|
||||
log.exception("Exception calling RPC request: %s", e)
|
||||
else:
|
||||
# Check if the return value is a deferred, since we'll need to
|
||||
# wait for it to fire before sending the RPC_RESPONSE
|
||||
if isinstance(ret, defer.Deferred):
|
||||
def on_success(result):
|
||||
log.debug('RPC dispatch %s', method)
|
||||
try:
|
||||
method_auth_requirement = self.factory.methods[method]._rpcserver_auth_level
|
||||
auth_level = self.factory.authorized_sessions[
|
||||
self.transport.sessionno
|
||||
].auth_level
|
||||
if auth_level < method_auth_requirement:
|
||||
# This session is not allowed to call this method
|
||||
log.debug(
|
||||
'Session %s is attempting an unauthorized method call!',
|
||||
self.transport.sessionno,
|
||||
)
|
||||
raise NotAuthorizedError(auth_level, method_auth_requirement)
|
||||
# Set the session_id in the factory so that methods can know
|
||||
# which session is calling it.
|
||||
self.factory.session_id = self.transport.sessionno
|
||||
ret = self.factory.methods[method](*args, **kwargs)
|
||||
except Exception as ex:
|
||||
send_error()
|
||||
# Don't bother printing out DelugeErrors, because they are just
|
||||
# for the client
|
||||
if not isinstance(ex, DelugeError):
|
||||
log.exception('Exception calling RPC request: %s', ex)
|
||||
else:
|
||||
# Check if the return value is a deferred, since we'll need to
|
||||
# wait for it to fire before sending the RPC_RESPONSE
|
||||
if isinstance(ret, defer.Deferred):
|
||||
|
||||
def on_success(result):
|
||||
try:
|
||||
self.sendData((RPC_RESPONSE, request_id, result))
|
||||
return result
|
||||
except Exception:
|
||||
send_error()
|
||||
return result
|
||||
|
||||
def on_fail(failure):
|
||||
try:
|
||||
failure.raiseException()
|
||||
except Exception, e:
|
||||
sendError()
|
||||
return failure
|
||||
def on_fail(failure):
|
||||
try:
|
||||
failure.raiseException()
|
||||
except Exception:
|
||||
send_error()
|
||||
return failure
|
||||
|
||||
ret.addCallbacks(on_success, on_fail)
|
||||
else:
|
||||
self.sendData((RPC_RESPONSE, request_id, ret))
|
||||
|
||||
ret.addCallbacks(on_success, on_fail)
|
||||
else:
|
||||
self.sendData((RPC_RESPONSE, request_id, ret))
|
||||
|
||||
class RPCServer(component.Component):
|
||||
"""
|
||||
@ -319,11 +378,14 @@ class RPCServer(component.Component):
|
||||
:type listen: bool
|
||||
"""
|
||||
|
||||
def __init__(self, port=58846, interface="", allow_remote=False, listen=True):
|
||||
component.Component.__init__(self, "RPCServer")
|
||||
def __init__(self, port=58846, interface='', allow_remote=False, listen=True):
|
||||
component.Component.__init__(self, 'RPCServer')
|
||||
|
||||
self.factory = Factory()
|
||||
self.factory.protocol = DelugeRPCProtocol
|
||||
self.factory.session_id = -1
|
||||
self.factory.state = 'running'
|
||||
|
||||
# Holds the registered methods
|
||||
self.factory.methods = {}
|
||||
# Holds the session_ids and auth levels
|
||||
@ -333,28 +395,33 @@ class RPCServer(component.Component):
|
||||
# Holds the interested event list for the sessions
|
||||
self.factory.interested_events = {}
|
||||
|
||||
self.listen = listen
|
||||
if not listen:
|
||||
return
|
||||
|
||||
if allow_remote:
|
||||
hostname = ""
|
||||
hostname = ''
|
||||
else:
|
||||
hostname = "localhost"
|
||||
hostname = 'localhost'
|
||||
|
||||
if interface:
|
||||
hostname = interface
|
||||
|
||||
log.info("Starting DelugeRPC server %s:%s", hostname, port)
|
||||
log.info('Starting DelugeRPC server %s:%s', hostname, port)
|
||||
|
||||
# Check for SSL keys and generate some if needed
|
||||
check_ssl_keys()
|
||||
|
||||
cert = os.path.join(deluge.configmanager.get_config_dir('ssl'), 'daemon.cert')
|
||||
pkey = os.path.join(deluge.configmanager.get_config_dir('ssl'), 'daemon.pkey')
|
||||
|
||||
try:
|
||||
reactor.listenSSL(port, self.factory, ServerContextFactory(), interface=hostname)
|
||||
except Exception, e:
|
||||
log.info("Daemon already running or port not available..")
|
||||
log.error(e)
|
||||
sys.exit(0)
|
||||
reactor.listenSSL(
|
||||
port, self.factory, get_context_factory(cert, pkey), interface=hostname
|
||||
)
|
||||
except Exception as ex:
|
||||
log.debug('Daemon already running or port not available.: %s', ex)
|
||||
raise
|
||||
|
||||
def register_object(self, obj, name=None):
|
||||
"""
|
||||
@ -370,11 +437,22 @@ class RPCServer(component.Component):
|
||||
name = obj.__class__.__name__.lower()
|
||||
|
||||
for d in dir(obj):
|
||||
if d[0] == "_":
|
||||
if d[0] == '_':
|
||||
continue
|
||||
if getattr(getattr(obj, d), '_rpcserver_export', False):
|
||||
log.debug("Registering method: %s", name + "." + d)
|
||||
self.factory.methods[name + "." + d] = getattr(obj, d)
|
||||
log.debug('Registering method: %s', name + '.' + d)
|
||||
self.factory.methods[name + '.' + d] = getattr(obj, d)
|
||||
|
||||
def deregister_object(self, obj):
|
||||
"""
|
||||
Deregisters an objects exported rpc methods.
|
||||
|
||||
:param obj: the object that was previously registered
|
||||
|
||||
"""
|
||||
for key, value in self.factory.methods.items():
|
||||
if value.__self__ == obj:
|
||||
del self.factory.methods[key]
|
||||
|
||||
def get_object_method(self, name):
|
||||
"""
|
||||
@ -397,7 +475,67 @@ class RPCServer(component.Component):
|
||||
:returns: the exported methods
|
||||
:rtype: list
|
||||
"""
|
||||
return self.factory.methods.keys()
|
||||
return list(self.factory.methods)
|
||||
|
||||
def get_session_id(self):
|
||||
"""
|
||||
Returns the session id of the current RPC.
|
||||
|
||||
:returns: the session id, this will be -1 if no connections have been made
|
||||
:rtype: int
|
||||
|
||||
"""
|
||||
return self.factory.session_id
|
||||
|
||||
def get_session_user(self):
|
||||
"""
|
||||
Returns the username calling the current RPC.
|
||||
|
||||
:returns: the username of the user calling the current RPC
|
||||
:rtype: string
|
||||
|
||||
"""
|
||||
if not self.listen:
|
||||
return 'localclient'
|
||||
session_id = self.get_session_id()
|
||||
if session_id > -1 and session_id in self.factory.authorized_sessions:
|
||||
return self.factory.authorized_sessions[session_id].username
|
||||
else:
|
||||
# No connections made yet
|
||||
return ''
|
||||
|
||||
def get_session_auth_level(self):
|
||||
"""
|
||||
Returns the auth level of the user calling the current RPC.
|
||||
|
||||
:returns: the auth level
|
||||
:rtype: int
|
||||
"""
|
||||
if not self.listen or not self.is_session_valid(self.get_session_id()):
|
||||
return AUTH_LEVEL_ADMIN
|
||||
return self.factory.authorized_sessions[self.get_session_id()].auth_level
|
||||
|
||||
def get_rpc_auth_level(self, rpc):
|
||||
"""
|
||||
Returns the auth level requirement for an exported rpc.
|
||||
|
||||
:returns: the auth level
|
||||
:rtype: int
|
||||
"""
|
||||
return self.factory.methods[rpc]._rpcserver_auth_level
|
||||
|
||||
def is_session_valid(self, session_id):
|
||||
"""
|
||||
Checks if the session is still valid, eg, if the client is still connected.
|
||||
|
||||
:param session_id: the session id
|
||||
:type session_id: int
|
||||
|
||||
:returns: True if the session is valid
|
||||
:rtype: bool
|
||||
|
||||
"""
|
||||
return session_id in self.factory.authorized_sessions
|
||||
|
||||
def emit_event(self, event):
|
||||
"""
|
||||
@ -406,61 +544,55 @@ class RPCServer(component.Component):
|
||||
:param event: the event to emit
|
||||
:type event: :class:`deluge.event.DelugeEvent`
|
||||
"""
|
||||
log.debug("intevents: %s", self.factory.interested_events)
|
||||
log.debug('intevents: %s', self.factory.interested_events)
|
||||
# Find sessions interested in this event
|
||||
for session_id, interest in self.factory.interested_events.iteritems():
|
||||
for session_id, interest in self.factory.interested_events.items():
|
||||
if event.name in interest:
|
||||
log.debug("Emit Event: %s %s", event.name, event.args)
|
||||
log.debug('Emit Event: %s %s', event.name, event.args)
|
||||
# This session is interested so send a RPC_EVENT
|
||||
self.factory.session_protocols[session_id].sendData(
|
||||
(RPC_EVENT, event.name, event.args)
|
||||
)
|
||||
|
||||
def check_ssl_keys():
|
||||
"""
|
||||
Check for SSL cert/key and create them if necessary
|
||||
"""
|
||||
ssl_dir = deluge.configmanager.get_config_dir("ssl")
|
||||
if not os.path.exists(ssl_dir):
|
||||
# The ssl folder doesn't exist so we need to create it
|
||||
os.makedirs(ssl_dir)
|
||||
generate_ssl_keys()
|
||||
else:
|
||||
for f in ("daemon.pkey", "daemon.cert"):
|
||||
if not os.path.exists(os.path.join(ssl_dir, f)):
|
||||
generate_ssl_keys()
|
||||
break
|
||||
def emit_event_for_session_id(self, session_id, event):
|
||||
"""
|
||||
Emits the event to specified session_id.
|
||||
|
||||
def generate_ssl_keys():
|
||||
"""
|
||||
This method generates a new SSL key/cert.
|
||||
"""
|
||||
digest = "md5"
|
||||
# Generate key pair
|
||||
pkey = crypto.PKey()
|
||||
pkey.generate_key(crypto.TYPE_RSA, 1024)
|
||||
:param session_id: the event to emit
|
||||
:type session_id: int
|
||||
:param event: the event to emit
|
||||
:type event: :class:`deluge.event.DelugeEvent`
|
||||
"""
|
||||
if not self.is_session_valid(session_id):
|
||||
log.debug(
|
||||
'Session ID %s is not valid. Not sending event "%s".',
|
||||
session_id,
|
||||
event.name,
|
||||
)
|
||||
return
|
||||
if session_id not in self.factory.interested_events:
|
||||
log.debug(
|
||||
'Session ID %s is not interested in any events. Not sending event "%s".',
|
||||
session_id,
|
||||
event.name,
|
||||
)
|
||||
return
|
||||
if event.name not in self.factory.interested_events[session_id]:
|
||||
log.debug(
|
||||
'Session ID %s is not interested in event "%s". Not sending it.',
|
||||
session_id,
|
||||
event.name,
|
||||
)
|
||||
return
|
||||
log.debug(
|
||||
'Sending event "%s" with args "%s" to session id "%s".',
|
||||
event.name,
|
||||
event.args,
|
||||
session_id,
|
||||
)
|
||||
self.factory.session_protocols[session_id].sendData(
|
||||
(RPC_EVENT, event.name, event.args)
|
||||
)
|
||||
|
||||
# Generate cert request
|
||||
req = crypto.X509Req()
|
||||
subj = req.get_subject()
|
||||
setattr(subj, "CN", "Deluge Daemon")
|
||||
req.set_pubkey(pkey)
|
||||
req.sign(pkey, digest)
|
||||
|
||||
# Generate certificate
|
||||
cert = crypto.X509()
|
||||
cert.set_serial_number(0)
|
||||
cert.gmtime_adj_notBefore(0)
|
||||
cert.gmtime_adj_notAfter(60*60*24*365*5) # Five Years
|
||||
cert.set_issuer(req.get_subject())
|
||||
cert.set_subject(req.get_subject())
|
||||
cert.set_pubkey(req.get_pubkey())
|
||||
cert.sign(pkey, digest)
|
||||
|
||||
# Write out files
|
||||
ssl_dir = deluge.configmanager.get_config_dir("ssl")
|
||||
open(os.path.join(ssl_dir, "daemon.pkey"), "w").write(crypto.dump_privatekey(crypto.FILETYPE_PEM, pkey))
|
||||
open(os.path.join(ssl_dir, "daemon.cert"), "w").write(crypto.dump_certificate(crypto.FILETYPE_PEM, cert))
|
||||
# Make the files only readable by this user
|
||||
for f in ("daemon.pkey", "daemon.cert"):
|
||||
os.chmod(os.path.join(ssl_dir, f), stat.S_IREAD | stat.S_IWRITE)
|
||||
def stop(self):
|
||||
self.factory.state = 'stopping'
|
||||
|
||||
136
deluge/crypto_utils.py
Normal file
@ -0,0 +1,136 @@
|
||||
#
|
||||
# Copyright (C) 2007,2008 Andrew Resch <andrewresch@gmail.com>
|
||||
#
|
||||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
|
||||
# the additional special exception to link portions of this program with the OpenSSL library.
|
||||
# See LICENSE for more details.
|
||||
#
|
||||
|
||||
import os
|
||||
import stat
|
||||
|
||||
from OpenSSL import crypto
|
||||
from OpenSSL.crypto import FILETYPE_PEM
|
||||
from twisted.internet.ssl import (
|
||||
AcceptableCiphers,
|
||||
Certificate,
|
||||
CertificateOptions,
|
||||
KeyPair,
|
||||
TLSVersion,
|
||||
)
|
||||
|
||||
import deluge.configmanager
|
||||
|
||||
# A TLS ciphers list.
|
||||
# Sources for more information on TLS ciphers:
|
||||
# - https://wiki.mozilla.org/Security/Server_Side_TLS
|
||||
# - https://www.ssllabs.com/projects/best-practices/index.html
|
||||
# - https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/
|
||||
#
|
||||
# This list was inspired by the `urllib3` library
|
||||
# - https://github.com/urllib3/urllib3/blob/master/urllib3/util/ssl_.py#L79
|
||||
#
|
||||
# The general intent is:
|
||||
# - prefer cipher suites that offer perfect forward secrecy (ECDHE),
|
||||
# - prefer AES-GCM over ChaCha20 because hardware-accelerated AES is common,
|
||||
# - disable NULL authentication, MD5 MACs and DSS for security reasons.
|
||||
TLS_CIPHERS = ':'.join(
|
||||
[
|
||||
'ECDH+AESGCM',
|
||||
'ECDH+CHACHA20',
|
||||
'AES256-GCM-SHA384',
|
||||
'AES128-GCM-SHA256',
|
||||
'!DSS' '!aNULL',
|
||||
'!eNULL',
|
||||
'!MD5',
|
||||
]
|
||||
)
|
||||
|
||||
# This value tells OpenSSL to disable all SSL/TLS renegotiation.
|
||||
SSL_OP_NO_RENEGOTIATION = 0x40000000
|
||||
|
||||
|
||||
def get_context_factory(cert_path, pkey_path):
|
||||
"""OpenSSL context factory.
|
||||
|
||||
Generates an OpenSSL context factory using Twisted's CertificateOptions class.
|
||||
This will keep a server cipher order.
|
||||
|
||||
Args:
|
||||
cert_path (string): The path to the certificate file
|
||||
pkey_path (string): The path to the private key file
|
||||
|
||||
Returns:
|
||||
twisted.internet.ssl.CertificateOptions: An OpenSSL context factory
|
||||
"""
|
||||
|
||||
with open(cert_path) as cert:
|
||||
certificate = Certificate.loadPEM(cert.read()).original
|
||||
with open(pkey_path) as pkey:
|
||||
private_key = KeyPair.load(pkey.read(), FILETYPE_PEM).original
|
||||
ciphers = AcceptableCiphers.fromOpenSSLCipherString(TLS_CIPHERS)
|
||||
cert_options = CertificateOptions(
|
||||
privateKey=private_key,
|
||||
certificate=certificate,
|
||||
raiseMinimumTo=TLSVersion.TLSv1_2,
|
||||
acceptableCiphers=ciphers,
|
||||
)
|
||||
ctx = cert_options.getContext()
|
||||
ctx.use_certificate_chain_file(cert_path)
|
||||
ctx.set_options(SSL_OP_NO_RENEGOTIATION)
|
||||
|
||||
return cert_options
|
||||
|
||||
|
||||
def check_ssl_keys():
|
||||
"""
|
||||
Check for SSL cert/key and create them if necessary
|
||||
"""
|
||||
ssl_dir = deluge.configmanager.get_config_dir('ssl')
|
||||
if not os.path.exists(ssl_dir):
|
||||
# The ssl folder doesn't exist so we need to create it
|
||||
os.makedirs(ssl_dir)
|
||||
generate_ssl_keys()
|
||||
else:
|
||||
for f in ('daemon.pkey', 'daemon.cert'):
|
||||
if not os.path.exists(os.path.join(ssl_dir, f)):
|
||||
generate_ssl_keys()
|
||||
break
|
||||
|
||||
|
||||
def generate_ssl_keys():
|
||||
"""
|
||||
This method generates a new SSL key/cert.
|
||||
"""
|
||||
digest = 'sha256'
|
||||
|
||||
# Generate key pair
|
||||
pkey = crypto.PKey()
|
||||
pkey.generate_key(crypto.TYPE_RSA, 2048)
|
||||
|
||||
# Generate cert request
|
||||
req = crypto.X509Req()
|
||||
subj = req.get_subject()
|
||||
setattr(subj, 'CN', 'Deluge Daemon')
|
||||
req.set_pubkey(pkey)
|
||||
req.sign(pkey, digest)
|
||||
|
||||
# Generate certificate
|
||||
cert = crypto.X509()
|
||||
cert.set_serial_number(0)
|
||||
cert.gmtime_adj_notBefore(0)
|
||||
cert.gmtime_adj_notAfter(60 * 60 * 24 * 365 * 3) # Three Years
|
||||
cert.set_issuer(req.get_subject())
|
||||
cert.set_subject(req.get_subject())
|
||||
cert.set_pubkey(req.get_pubkey())
|
||||
cert.sign(pkey, digest)
|
||||
|
||||
# Write out files
|
||||
ssl_dir = deluge.configmanager.get_config_dir('ssl')
|
||||
with open(os.path.join(ssl_dir, 'daemon.pkey'), 'wb') as _file:
|
||||
_file.write(crypto.dump_privatekey(crypto.FILETYPE_PEM, pkey))
|
||||
with open(os.path.join(ssl_dir, 'daemon.cert'), 'wb') as _file:
|
||||
_file.write(crypto.dump_certificate(crypto.FILETYPE_PEM, cert))
|
||||
# Make the files only readable by this user
|
||||
for f in ('daemon.pkey', 'daemon.cert'):
|
||||
os.chmod(os.path.join(ssl_dir, f), stat.S_IREAD | stat.S_IWRITE)
|
||||
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 9.2 KiB |
@ -1,402 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://web.resource.org/cc/"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="48px"
|
||||
height="48px"
|
||||
id="svg3440"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.45"
|
||||
sodipodi:docbase="/home/zach/deluge/trunk"
|
||||
sodipodi:docname="deluge.svg"
|
||||
inkscape:export-filename="/home/zach/deluge.png"
|
||||
inkscape:export-xdpi="480"
|
||||
inkscape:export-ydpi="480"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
sodipodi:modified="TRUE">
|
||||
<defs
|
||||
id="defs3">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient2973">
|
||||
<stop
|
||||
style="stop-color:#eeeeec;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop2975" />
|
||||
<stop
|
||||
style="stop-color:#eeeeec;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop2977" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4126">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1.0000000;"
|
||||
offset="0.0000000"
|
||||
id="stop4128" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0.16494845;"
|
||||
offset="1.0000000"
|
||||
id="stop4130" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4114">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4116" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop4118" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3962">
|
||||
<stop
|
||||
style="stop-color:#d3e9ff;stop-opacity:1.0000000;"
|
||||
offset="0.0000000"
|
||||
id="stop3964" />
|
||||
<stop
|
||||
style="stop-color:#d3e9ff;stop-opacity:1.0000000;"
|
||||
offset="0.15517241"
|
||||
id="stop4134" />
|
||||
<stop
|
||||
style="stop-color:#4074ae;stop-opacity:1.0000000;"
|
||||
offset="0.75000000"
|
||||
id="stop4346" />
|
||||
<stop
|
||||
style="stop-color:#36486c;stop-opacity:1.0000000;"
|
||||
offset="1.0000000"
|
||||
id="stop3966" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
r="13.994944"
|
||||
fy="33.506763"
|
||||
fx="-10.089286"
|
||||
cy="33.506763"
|
||||
cx="-10.089286"
|
||||
gradientTransform="matrix(1,0,0,0.791446,-14.01786,-11.28667)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient4019"
|
||||
xlink:href="#linearGradient3993"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
r="14.057444"
|
||||
fy="31.329016"
|
||||
fx="-10.323107"
|
||||
cy="31.329016"
|
||||
cx="-10.323107"
|
||||
gradientTransform="matrix(1,0,0,0.792374,-19.58761,2.818569)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient4004"
|
||||
xlink:href="#linearGradient3993"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1,0,0,0.792374,0,6.785475)"
|
||||
r="14.057444"
|
||||
fy="31.329016"
|
||||
fx="-10.323107"
|
||||
cy="31.329016"
|
||||
cx="-10.323107"
|
||||
id="radialGradient3999"
|
||||
xlink:href="#linearGradient3993"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.341185,-0.153831,1.08001,2.395374,-15.42222,-25.62103)"
|
||||
r="13.994946"
|
||||
fy="24.241488"
|
||||
fx="61.662098"
|
||||
cy="24.241488"
|
||||
cx="61.662098"
|
||||
id="radialGradient3943"
|
||||
xlink:href="#linearGradient1312"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
id="linearGradient1312">
|
||||
<stop
|
||||
id="stop1314"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop1316"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:0;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3993">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3995" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0"
|
||||
offset="1"
|
||||
id="stop3997" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2973"
|
||||
id="radialGradient3866"
|
||||
cx="-22.375"
|
||||
cy="18.499998"
|
||||
fx="-22.375"
|
||||
fy="18.499998"
|
||||
r="14.33462"
|
||||
gradientTransform="matrix(1,0,0,1.140022,40.17678,1.347091)"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<radialGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="12.289036"
|
||||
fy="63.965388"
|
||||
fx="15.115514"
|
||||
cy="63.965388"
|
||||
cx="15.115514"
|
||||
gradientTransform="scale(1.643990,0.608276)"
|
||||
id="radialGradient5000"
|
||||
xlink:href="#linearGradient4114"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
id="linearGradient4989">
|
||||
<stop
|
||||
id="stop4991"
|
||||
offset="0.0000000"
|
||||
style="stop-color:#d3e9ff;stop-opacity:1.0000000;" />
|
||||
<stop
|
||||
id="stop4993"
|
||||
offset="0.15517241"
|
||||
style="stop-color:#d3e9ff;stop-opacity:1.0000000;" />
|
||||
<stop
|
||||
id="stop4995"
|
||||
offset="0.75000000"
|
||||
style="stop-color:#4074ae;stop-opacity:1.0000000;" />
|
||||
<stop
|
||||
id="stop4997"
|
||||
offset="1.0000000"
|
||||
style="stop-color:#36486c;stop-opacity:1.0000000;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4977">
|
||||
<stop
|
||||
id="stop4979"
|
||||
offset="0.0000000"
|
||||
style="stop-color:#ffffff;stop-opacity:1.0000000;" />
|
||||
<stop
|
||||
id="stop4981"
|
||||
offset="1.0000000"
|
||||
style="stop-color:#ffffff;stop-opacity:0.16494845;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4825"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
id="stop4827"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop4829"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:0;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4114"
|
||||
id="radialGradient6090"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="scale(1.64399,0.608276)"
|
||||
cx="15.115514"
|
||||
cy="63.965388"
|
||||
fx="15.115514"
|
||||
fy="63.965388"
|
||||
r="12.289036" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="radialGradient6098"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="12.071323"
|
||||
cy="12.493138"
|
||||
fx="12.071323"
|
||||
fy="12.493138"
|
||||
r="6.7175145" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2973"
|
||||
id="radialGradient6103"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.25463,-0.898371,0.979785,0.277703,-18.00903,32.03312)"
|
||||
cx="17.903898"
|
||||
cy="40.159222"
|
||||
fx="17.903898"
|
||||
fy="40.159222"
|
||||
r="14.33681" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2973"
|
||||
id="radialGradient6106"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.583269,-0.431533,0.577146,0.78008,-5.80022,4.004109)"
|
||||
cx="12.525543"
|
||||
cy="38.09042"
|
||||
fx="12.525543"
|
||||
fy="38.09042"
|
||||
r="14.33681" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient1312"
|
||||
id="radialGradient6109"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.768231,1.13675,-0.820972,0.554824,-3.72248,-85.07126)"
|
||||
cx="65.800331"
|
||||
cy="27.16758"
|
||||
fx="65.800331"
|
||||
fy="27.16758"
|
||||
r="12.972491" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4989"
|
||||
id="radialGradient6115"
|
||||
cx="16.651781"
|
||||
cy="32.187485"
|
||||
fx="16.651781"
|
||||
fy="32.187485"
|
||||
r="17.089519"
|
||||
gradientTransform="matrix(1.486175,-1.536108,0.932321,0.902016,-38.10476,31.42646)"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="0.17254902"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="8"
|
||||
inkscape:cx="36.250498"
|
||||
inkscape:cy="38.275489"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:window-width="1266"
|
||||
inkscape:window-height="944"
|
||||
inkscape:window-x="124"
|
||||
inkscape:window-y="52"
|
||||
inkscape:showpageshadow="false" />
|
||||
<metadata
|
||||
id="metadata4">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Internet Category</dc:title>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Jakub Steiner</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>Tuomas Kuosmanen</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" />
|
||||
<dc:source>http://jimmac.musichall.cz</dc:source>
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>internet</rdf:li>
|
||||
<rdf:li>tools</rdf:li>
|
||||
<rdf:li>applications</rdf:li>
|
||||
<rdf:li>category</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
</cc:Work>
|
||||
<cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/Reproduction" />
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/Distribution" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/Notice" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/Attribution" />
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/ShareAlike" />
|
||||
</cc:License>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#radialGradient6090);fill-opacity:1;stroke:none;stroke-opacity:1"
|
||||
id="path4112"
|
||||
sodipodi:cx="24.849752"
|
||||
sodipodi:cy="38.908627"
|
||||
sodipodi:rx="20.203051"
|
||||
sodipodi:ry="7.4751287"
|
||||
d="M 45.052803 38.908627 A 20.203051 7.4751287 0 1 1 4.6467018,38.908627 A 20.203051 7.4751287 0 1 1 45.052803 38.908627 z"
|
||||
transform="matrix(0.947409,0,0,1.17786,1.244375,-6.853427)"
|
||||
inkscape:export-xdpi="480"
|
||||
inkscape:export-ydpi="480" />
|
||||
<path
|
||||
style="fill:url(#radialGradient6115);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 23.942923,0.9561338 L 37.330543,18.266721 C 46.998995,29.84687 41.49692,43.923891 26.7742,45.000491 C 6.0597413,45.582655 6.5086231,27.37483 11.255313,18.609381 L 23.942923,0.9561338 z "
|
||||
id="path2069"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:#1b4075;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 35.111358,26.143133 C 28.972772,13.030586 17.560684,17.697957 17.274449,26.949974 C 16.894738,39.223415 34.748874,37.615429 36.715244,41.468778 C 28.821643,47.675479 14.973233,45.226508 10.962289,39.715204 C 6.9574776,34.212326 7.2383598,25.630263 10.784249,19.587632 C 24.158625,0.978654 39.749127,24.383766 35.111358,26.143133 z "
|
||||
id="path2969"
|
||||
sodipodi:nodetypes="cscscc" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:white;stroke-width:1.1000706;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022"
|
||||
d="M 23.996861,3.5433428 L 36.057351,19.151045 C 44.769741,29.58253 39.419346,42.414092 26.125181,43.508521 C 7.3917365,44.015286 7.4275065,28.119221 12.17284,20.333442 L 23.996861,3.5433428 z "
|
||||
id="path2071"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="opacity:0.46;fill:url(#radialGradient6109);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 23.940758,0.96491709 L 34.727367,14.909752 C 42.647208,24.392311 40.447304,20.283975 28.362481,21.278846 C 25.083165,11.203805 18.13871,11.859899 13.523802,15.675236 L 23.940758,0.96491709 z "
|
||||
id="path3945"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:url(#radialGradient6106);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 35.159701,26.173667 C 29.021115,13.06112 18.734027,17.978491 18.447792,27.230508 C 18.068081,39.503949 34.797217,37.645963 36.763587,41.499312 C 28.869986,47.706013 15.021576,45.257042 11.010632,39.745738 C 7.0058197,34.24286 7.2867027,25.660797 10.832592,19.618166 C 24.206968,1.0091879 39.79747,24.4143 35.159701,26.173667 z "
|
||||
id="path3868"
|
||||
sodipodi:nodetypes="cscscc" />
|
||||
<path
|
||||
style="fill:url(#radialGradient6103);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 35.120795,26.14195 C 28.553327,12.814962 15.685968,17.224233 15.399733,26.47625 C 15.020022,38.749691 32.874158,37.141705 34.840528,40.995054 C 26.946927,47.201755 13.098517,44.752784 9.0875727,39.24148 C 5.0827617,33.738602 5.3636437,25.156539 8.9095327,19.113908 C 22.315509,0.47615954 40.03233,23.660113 35.120795,26.14195 z "
|
||||
id="path4874"
|
||||
sodipodi:nodetypes="cscscc" />
|
||||
<path
|
||||
transform="matrix(-0.829136,1.052307,1.239307,7.58326e-2,26.32898,25.58605)"
|
||||
inkscape:r_cy="true"
|
||||
inkscape:r_cx="true"
|
||||
d="M 18.788838 12.493138 A 6.7175145 6.7175145 0 1 1 5.3538089,12.493138 A 6.7175145 6.7175145 0 1 1 18.788838 12.493138 z"
|
||||
sodipodi:ry="6.7175145"
|
||||
sodipodi:rx="6.7175145"
|
||||
sodipodi:cy="12.493138"
|
||||
sodipodi:cx="12.071323"
|
||||
id="path4941"
|
||||
style="opacity:0.21999996;color:black;fill:url(#radialGradient6098);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
|
||||
sodipodi:type="arc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 15 KiB |
@ -1,150 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg4848"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/active16.png"
|
||||
inkscape:export-xdpi="1.7055545"
|
||||
inkscape:export-ydpi="1.7055545"
|
||||
sodipodi:docname="active.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs
|
||||
id="defs4850">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective4856" />
|
||||
<clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath5467">
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.69776249;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 792.51261,596.13496 C 1787.1961,462.38583 1788.2786,460.03989 1788.2786,460.03989 L 2050.3447,889.51678 C 1692.1626,1024.6476 1428.8778,1128.1462 1119.6165,1246.9702 L 792.51261,596.13496 z"
|
||||
id="path5469"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
</clipPath>
|
||||
<clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath5471">
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.69776249;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 792.51261,596.13496 C 1787.1961,462.38583 1788.2786,460.03989 1788.2786,460.03989 L 2050.3447,889.51678 C 1692.1626,1024.6476 1428.8778,1128.1462 1119.6165,1246.9702 L 792.51261,596.13496 z"
|
||||
id="path5473"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
</clipPath>
|
||||
<clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath5475">
|
||||
<path
|
||||
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.69776249;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 792.51261,596.13496 C 1787.1961,462.38583 1788.2786,460.03989 1788.2786,460.03989 L 2050.3447,889.51678 C 1692.1626,1024.6476 1428.8778,1128.1462 1119.6165,1246.9702 L 792.51261,596.13496 z"
|
||||
id="path5477"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.5"
|
||||
inkscape:cx="798.86898"
|
||||
inkscape:cy="436.74575"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1280"
|
||||
inkscape:window-height="958"
|
||||
inkscape:window-x="1280"
|
||||
inkscape:window-y="0" />
|
||||
<metadata
|
||||
id="metadata4853">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<g
|
||||
style="opacity:1"
|
||||
id="g4871">
|
||||
<path
|
||||
inkscape:export-ydpi="1.7060417"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path2069"
|
||||
d="M 335.10794,116.43168 L 610.53935,447.76408 C 809.45408,669.41324 696.25675,938.85368 393.35753,959.46028 C -32.813273,970.60316 -9.7709676,623.52458 107.82928,464.31364 L 335.10794,116.43168 z"
|
||||
style="fill:#5599ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
inkscape:export-ydpi="1.7060417"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path2071"
|
||||
d="M 337.67292,165.87552 L 585.22638,464.67366 C 773.96211,684.57988 653.37942,910.02774 383.88559,930.97978 C 4.1291863,940.68143 29.040179,639.21796 125.2355,490.1649 L 337.67292,165.87552 z"
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:21.67123985;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022" />
|
||||
<path
|
||||
inkscape:export-ydpi="1.7060417"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
id="rect2634"
|
||||
d="M 359.0208,369.47132 C 289.64507,437.53055 219.98727,505.41409 150.61154,573.47313 C 187.93874,573.54143 225.35922,573.40503 262.68661,573.47313 C 262.68661,654.06643 262.68661,734.65974 262.68661,815.25304 C 329.00806,815.25304 395.32971,815.25304 461.65134,815.25304 C 461.65134,734.86969 461.65134,654.48632 461.65134,574.10276 C 496.04273,574.16582 530.52013,574.0399 564.91152,574.10276 C 496.30183,505.79126 427.63028,437.78301 359.0208,369.47132 z"
|
||||
style="fill:#93beff;fill-opacity:1;stroke:#000000;stroke-width:14.10382843;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:#8dd35f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 1211.4629,48.95108 L 1486.8943,380.28348 C 1685.809,601.93264 1572.6117,871.37308 1269.7125,891.97968 C 843.5417,903.12256 866.584,556.04398 984.1842,396.83304 L 1211.4629,48.95108 z"
|
||||
id="path4864"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417"
|
||||
clip-path="url(#clipPath5475)"
|
||||
transform="translate(-876,68)" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:21.67123985;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022"
|
||||
d="M 1214.0279,98.39492 L 1461.5813,397.19306 C 1650.317,617.09928 1529.7344,842.54714 1260.2405,863.49918 C 880.4842,873.20083 905.3951,571.73736 1001.5905,422.6843 L 1214.0279,98.39492 z"
|
||||
id="path4866"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417"
|
||||
clip-path="url(#clipPath5471)"
|
||||
transform="translate(-876,68)" />
|
||||
<path
|
||||
style="fill:#b7e399;fill-opacity:1;stroke:#000000;stroke-width:14.1288912;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 1235.158,785.66485 C 1165.4485,716.69801 1095.4555,647.90922 1025.7459,578.94258 C 1063.2527,578.87336 1100.8533,579.01159 1138.3603,578.94258 C 1138.3603,497.27453 1138.3603,415.60647 1138.3603,333.93841 C 1205.0008,333.93841 1271.6416,333.93841 1338.2823,333.93841 C 1338.2823,415.39371 1338.2823,496.84903 1338.2823,578.30455 C 1372.8392,578.24065 1407.4825,578.36825 1442.0394,578.30455 C 1373.0995,647.52701 1304.0976,716.44219 1235.158,785.66485 z"
|
||||
id="path4868"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417"
|
||||
clip-path="url(#clipPath5467)"
|
||||
transform="matrix(0.9958235,0,0,1.0000914,-871.02338,67.589213)" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 742 B |
@ -1,96 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg5684"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/alert16.png"
|
||||
inkscape:export-xdpi="1.7055545"
|
||||
inkscape:export-ydpi="1.7055545"
|
||||
sodipodi:docname="alert.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs
|
||||
id="defs5686">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective5692" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.35"
|
||||
inkscape:cx="807.63627"
|
||||
inkscape:cy="520"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="686"
|
||||
inkscape:window-height="711"
|
||||
inkscape:window-x="1395"
|
||||
inkscape:window-y="223" />
|
||||
<metadata
|
||||
id="metadata5689">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891000000001px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 335.10794,116.43168 L 610.53935,447.76408 C 809.45408,669.41324 696.25675,938.85368 393.35753,959.46028 C -32.813273,970.60316 -9.7709676,623.52458 107.82928,464.31364 L 335.10794,116.43168 z"
|
||||
id="path2069"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:21.67123984999999919;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022000000000"
|
||||
d="M 337.67292,165.87552 L 585.22638,464.67366 C 773.96211,684.57988 653.37942,910.02774 383.88559,930.97978 C 4.1291863,940.68143 29.040179,639.21796 125.2355,490.1649 L 337.67292,165.87552 z"
|
||||
id="path2071"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:1091.49255371px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;opacity:1;fill:#ff7878;fill-opacity:1;stroke:#000000;stroke-width:13.65081787;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;font-family:Bitstream Vera Sans"
|
||||
x="20.453644"
|
||||
y="1303.4996"
|
||||
id="text2767"
|
||||
transform="scale(1.4928735,0.6698491)"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan2769"
|
||||
x="20.453644"
|
||||
y="1303.4996"
|
||||
style="font-size:1091.49255371px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;stroke-width:13.65081787;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;font-family:Bitstream Vera Sans">!</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 590 B |
@ -1,191 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg3001"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
sodipodi:docname="all.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs
|
||||
id="defs3003">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective3009" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.35"
|
||||
inkscape:cx="375"
|
||||
inkscape:cy="520"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="640"
|
||||
inkscape:window-height="711"
|
||||
inkscape:window-x="1594"
|
||||
inkscape:window-y="77" />
|
||||
<metadata
|
||||
id="metadata3006">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<g
|
||||
id="g3011"
|
||||
transform="matrix(7.4849593,0,0,7.4849593,52.997244,360.31942)"
|
||||
inkscape:export-filename="/home/andrew/g3060.png"
|
||||
inkscape:export-xdpi="2.4250078"
|
||||
inkscape:export-ydpi="2.4250078">
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path2069"
|
||||
d="M 23.942923,0.9561338 L 37.330543,18.266721 C 46.998995,29.84687 41.49692,43.923891 26.7742,45.000491 C 6.0597413,45.582655 6.5086231,27.37483 11.255313,18.609381 L 23.942923,0.9561338 z"
|
||||
style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path2071"
|
||||
d="M 23.996861,3.5433428 L 36.057351,19.151045 C 44.769741,29.58253 39.419346,42.414092 26.125181,43.508521 C 7.3917365,44.015286 7.4275065,28.119221 12.17284,20.333442 L 23.996861,3.5433428 z"
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.1000706;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022" />
|
||||
<text
|
||||
sodipodi:linespacing="125%"
|
||||
transform="scale(1.4928735,0.6698491)"
|
||||
id="text2767"
|
||||
y="59.560848"
|
||||
x="5.0072942"
|
||||
style="font-size:55.97062302px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;opacity:1;fill:#ff7878;fill-opacity:1;stroke:#000000;stroke-width:0.69999999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;font-family:Bitstream Vera Sans"
|
||||
xml:space="preserve"><tspan
|
||||
style="font-size:55.97062302px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;stroke-width:0.69999999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;font-family:Bitstream Vera Sans"
|
||||
y="59.560848"
|
||||
x="5.0072942"
|
||||
id="tspan2769"
|
||||
sodipodi:role="line">!</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g3022"
|
||||
transform="matrix(7.874057,0,0,7.874057,232.39499,356.39427)"
|
||||
inkscape:export-filename="/home/andrew/g3060.png"
|
||||
inkscape:export-xdpi="2.4250078"
|
||||
inkscape:export-ydpi="2.4250078">
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path3030"
|
||||
d="M 23.854535,1.0445221 L 37.242155,18.355109 C 46.910607,29.935258 41.408532,44.012279 26.685812,45.088879 C 5.971353,45.671043 6.4202348,27.463218 11.166925,18.697769 L 23.854535,1.0445221 z"
|
||||
style="fill:#b3b3b3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path3032"
|
||||
d="M 23.996861,3.5433428 L 36.057351,19.151045 C 44.769741,29.58253 39.419346,42.414092 26.125181,43.508521 C 7.3917365,44.015286 7.4275065,28.119221 12.17284,20.333442 L 23.996861,3.5433428 z"
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.1000706;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022" />
|
||||
<g
|
||||
transform="matrix(0.9616363,0,0,0.855461,0.9207282,3.9296533)"
|
||||
id="g3590">
|
||||
<rect
|
||||
style="fill:#cfcfcf;fill-opacity:1;stroke:#000000;stroke-width:0.69999999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4415"
|
||||
width="7.7589664"
|
||||
height="14.866735"
|
||||
x="14.548919"
|
||||
y="19.754131" />
|
||||
<rect
|
||||
style="fill:#cfcfcf;fill-opacity:1;stroke:#000000;stroke-width:0.69999999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect4417"
|
||||
width="7.7589664"
|
||||
height="14.866735"
|
||||
x="25.692116"
|
||||
y="19.754131" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g3037"
|
||||
transform="matrix(8.0037561,0,0,8.0037561,-22.312009,464.83023)"
|
||||
inkscape:export-filename="/home/andrew/g3060.png"
|
||||
inkscape:export-xdpi="2.4250078"
|
||||
inkscape:export-ydpi="2.4250078">
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path3043"
|
||||
d="M 23.854535,1.0445221 L 37.242155,18.355109 C 46.910607,29.935258 41.408532,44.012279 26.685812,45.088879 C 5.971353,45.671043 6.4202348,27.463218 11.166925,18.697769 L 23.854535,1.0445221 z"
|
||||
style="fill:#d0b31d;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path3045"
|
||||
d="M 23.996861,3.5433428 L 36.057351,19.151045 C 44.769741,29.58253 39.419346,42.414092 26.125181,43.508521 C 7.3917365,44.015286 7.4275065,28.119221 12.17284,20.333442 L 23.996861,3.5433428 z"
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.1000706;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022" />
|
||||
<path
|
||||
id="rect2634"
|
||||
d="M 24.821384,15.512309 C 22.21433,17.952223 19.604921,20.381297 16.997867,22.821211 C 18.304685,22.818964 19.61477,22.823457 20.921589,22.821211 C 20.921589,25.684801 20.921589,28.548391 20.921589,31.411981 C 19.61477,31.409734 18.304685,31.414228 16.997867,31.411981 C 19.604921,33.851895 22.21433,36.280969 24.821384,38.720883 C 27.457552,36.289986 30.104432,33.865368 32.740602,31.43447 C 31.322226,31.432031 29.900305,31.43691 28.481929,31.43447 C 28.481929,28.555887 28.481929,25.677306 28.481929,22.798722 C 29.900305,22.796282 31.322226,22.80116 32.740602,22.798722 C 30.104432,20.367823 27.457552,17.943206 24.821384,15.512309 z"
|
||||
style="fill:#e1cf6f;fill-opacity:1;stroke:#000000;stroke-width:0.56882578;stroke-linecap:round;stroke-linejoin:round;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g3048"
|
||||
transform="matrix(7.6146585,0,0,7.6146585,318.27879,494.48113)"
|
||||
inkscape:export-filename="/home/andrew/g3060.png"
|
||||
inkscape:export-xdpi="2.4250078"
|
||||
inkscape:export-ydpi="2.4250078">
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path3054"
|
||||
d="M 23.942923,0.9561338 L 37.330543,18.266721 C 46.998995,29.84687 41.49692,43.923891 26.7742,45.000491 C 6.0597413,45.582655 6.5086231,27.37483 11.255313,18.609381 L 23.942923,0.9561338 z"
|
||||
style="fill:#5599ff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path3056"
|
||||
d="M 23.996861,3.5433428 L 36.057351,19.151045 C 44.769741,29.58253 39.419346,42.414092 26.125181,43.508521 C 7.3917365,44.015286 7.4275065,28.119221 12.17284,20.333442 L 23.996861,3.5433428 z"
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.1000706;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022" />
|
||||
<path
|
||||
id="path3058"
|
||||
d="M 24.3125,14.9375 C 20.869248,18.315409 17.412003,21.684591 13.96875,25.0625 C 15.821373,25.065889 17.678627,25.059111 19.53125,25.0625 C 19.53125,29.0625 19.53125,33.0625 19.53125,37.0625 C 22.822917,37.0625 26.114582,37.0625 29.40625,37.0625 C 29.40625,33.072917 29.40625,29.083333 29.40625,25.09375 C 31.113161,25.096872 32.824339,25.090627 34.53125,25.09375 C 31.126025,21.703313 27.717725,18.327937 24.3125,14.9375 z"
|
||||
style="fill:#93beff;fill-opacity:1;stroke:#000000;stroke-width:0.69999999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g3060"
|
||||
transform="matrix(8.2631545,0,0,8.2631545,133.25792,542.4325)"
|
||||
inkscape:export-xdpi="2.4250078"
|
||||
inkscape:export-ydpi="2.4250078">
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path3066"
|
||||
d="M 23.942923,0.9561338 L 37.330543,18.266721 C 46.998995,29.84687 41.49692,43.923891 26.7742,45.000491 C 6.0597413,45.582655 6.5086231,27.37483 11.255313,18.609381 L 23.942923,0.9561338 z"
|
||||
style="fill:#8dd35f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccc"
|
||||
id="path3068"
|
||||
d="M 23.996861,3.5433428 L 36.057351,19.151045 C 44.769741,29.58253 39.419346,42.414092 26.125181,43.508521 C 7.3917365,44.015286 7.4275065,28.119221 12.17284,20.333442 L 23.996861,3.5433428 z"
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.1000706;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022" />
|
||||
<path
|
||||
id="path3070"
|
||||
d="M 19.34375,17.5625 C 19.34375,21.552083 19.34375,25.541668 19.34375,29.53125 C 17.636839,29.528128 15.925661,29.534372 14.21875,29.53125 C 17.623975,32.921687 21.032275,36.297063 24.4375,39.6875 C 27.880752,36.309591 31.337996,32.94041 34.78125,29.5625 C 32.928627,29.559111 31.071373,29.565889 29.21875,29.5625 C 29.21875,25.5625 29.21875,21.562501 29.21875,17.5625 C 25.927083,17.5625 22.635418,17.562501 19.34375,17.5625 z"
|
||||
style="fill:#b7e399;fill-opacity:1;stroke:#000000;stroke-width:0.69999999;stroke-linecap:round;stroke-linejoin:round;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 844 B |
@ -1,88 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg6930"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/checking16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417"
|
||||
sodipodi:docname="checking.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs
|
||||
id="defs6932">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective6938" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.7"
|
||||
inkscape:cx="284.02575"
|
||||
inkscape:cy="416.27643"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="686"
|
||||
inkscape:window-height="711"
|
||||
inkscape:window-x="1387"
|
||||
inkscape:window-y="128" />
|
||||
<metadata
|
||||
id="metadata6935">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#b3b3b3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891000000001px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 335.10794,116.43168 L 610.53935,447.76408 C 809.45408,669.41324 696.25675,938.85368 393.35753,959.46028 C -32.813273,970.60316 -9.7709676,623.52458 107.82928,464.31364 L 335.10794,116.43168 z"
|
||||
id="path2069"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/checking16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:21.67123984999999919;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022000000000"
|
||||
d="M 337.67292,165.87552 L 585.22638,464.67366 C 773.96211,684.57988 653.37942,910.02774 383.88559,930.97978 C 4.1291863,940.68143 29.040179,639.21796 125.2355,490.1649 L 337.67292,165.87552 z"
|
||||
id="path2071"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417" />
|
||||
<path
|
||||
style="fill:#cfcfcf;fill-opacity:1;stroke:#000000;stroke-width:11.50416565;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 170.93275,447.12091 C 174.01359,451.92804 181.6932,659.85017 179.71907,656.9136 C 178.40947,654.12718 411.7223,649.25335 412.30092,648.76646 C 411.08134,648.85003 338.31478,584.63588 338.93986,585.53435 C 410.72174,567.77973 462.65633,588.73801 481.03861,645.01437 C 484.19544,690.33553 466.3409,711.71891 434.77285,736.14895 C 385.89389,754.17146 322.59241,745.84878 312.37017,673.09575 C 312.32389,674.48492 156.52907,675.28833 153.0572,676.51233 C 202.03372,799.5504 269.9646,882.62913 421.73005,870.01325 C 463.0283,867.02946 568.27041,836.89042 606.41655,717.64626 C 627.84208,623.51263 596.80367,549.4096 547.34944,496.26853 C 457.7753,416.4389 296.11292,421.8444 245.11698,507.64417 C 247.55313,508.23771 173.58263,449.35852 170.93275,447.12091 z"
|
||||
id="path3485"
|
||||
sodipodi:nodetypes="ccccccccccccc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 699 B |
|
Before Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
@ -1,402 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://web.resource.org/cc/"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="48px"
|
||||
height="48px"
|
||||
id="svg3440"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.45"
|
||||
sodipodi:docbase="/home/zach/deluge/trunk"
|
||||
sodipodi:docname="deluge.svg"
|
||||
inkscape:export-filename="/home/zach/deluge.png"
|
||||
inkscape:export-xdpi="480"
|
||||
inkscape:export-ydpi="480"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
sodipodi:modified="TRUE">
|
||||
<defs
|
||||
id="defs3">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient2973">
|
||||
<stop
|
||||
style="stop-color:#eeeeec;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop2975" />
|
||||
<stop
|
||||
style="stop-color:#eeeeec;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop2977" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4126">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1.0000000;"
|
||||
offset="0.0000000"
|
||||
id="stop4128" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0.16494845;"
|
||||
offset="1.0000000"
|
||||
id="stop4130" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4114">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop4116" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop4118" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3962">
|
||||
<stop
|
||||
style="stop-color:#d3e9ff;stop-opacity:1.0000000;"
|
||||
offset="0.0000000"
|
||||
id="stop3964" />
|
||||
<stop
|
||||
style="stop-color:#d3e9ff;stop-opacity:1.0000000;"
|
||||
offset="0.15517241"
|
||||
id="stop4134" />
|
||||
<stop
|
||||
style="stop-color:#4074ae;stop-opacity:1.0000000;"
|
||||
offset="0.75000000"
|
||||
id="stop4346" />
|
||||
<stop
|
||||
style="stop-color:#36486c;stop-opacity:1.0000000;"
|
||||
offset="1.0000000"
|
||||
id="stop3966" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
r="13.994944"
|
||||
fy="33.506763"
|
||||
fx="-10.089286"
|
||||
cy="33.506763"
|
||||
cx="-10.089286"
|
||||
gradientTransform="matrix(1,0,0,0.791446,-14.01786,-11.28667)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient4019"
|
||||
xlink:href="#linearGradient3993"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
r="14.057444"
|
||||
fy="31.329016"
|
||||
fx="-10.323107"
|
||||
cy="31.329016"
|
||||
cx="-10.323107"
|
||||
gradientTransform="matrix(1,0,0,0.792374,-19.58761,2.818569)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="radialGradient4004"
|
||||
xlink:href="#linearGradient3993"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(1,0,0,0.792374,0,6.785475)"
|
||||
r="14.057444"
|
||||
fy="31.329016"
|
||||
fx="-10.323107"
|
||||
cy="31.329016"
|
||||
cx="-10.323107"
|
||||
id="radialGradient3999"
|
||||
xlink:href="#linearGradient3993"
|
||||
inkscape:collect="always" />
|
||||
<radialGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.341185,-0.153831,1.08001,2.395374,-15.42222,-25.62103)"
|
||||
r="13.994946"
|
||||
fy="24.241488"
|
||||
fx="61.662098"
|
||||
cy="24.241488"
|
||||
cx="61.662098"
|
||||
id="radialGradient3943"
|
||||
xlink:href="#linearGradient1312"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
id="linearGradient1312">
|
||||
<stop
|
||||
id="stop1314"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop1316"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:0;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3993">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop3995" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0"
|
||||
offset="1"
|
||||
id="stop3997" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2973"
|
||||
id="radialGradient3866"
|
||||
cx="-22.375"
|
||||
cy="18.499998"
|
||||
fx="-22.375"
|
||||
fy="18.499998"
|
||||
r="14.33462"
|
||||
gradientTransform="matrix(1,0,0,1.140022,40.17678,1.347091)"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<radialGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="12.289036"
|
||||
fy="63.965388"
|
||||
fx="15.115514"
|
||||
cy="63.965388"
|
||||
cx="15.115514"
|
||||
gradientTransform="scale(1.643990,0.608276)"
|
||||
id="radialGradient5000"
|
||||
xlink:href="#linearGradient4114"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
id="linearGradient4989">
|
||||
<stop
|
||||
id="stop4991"
|
||||
offset="0.0000000"
|
||||
style="stop-color:#d3e9ff;stop-opacity:1.0000000;" />
|
||||
<stop
|
||||
id="stop4993"
|
||||
offset="0.15517241"
|
||||
style="stop-color:#d3e9ff;stop-opacity:1.0000000;" />
|
||||
<stop
|
||||
id="stop4995"
|
||||
offset="0.75000000"
|
||||
style="stop-color:#4074ae;stop-opacity:1.0000000;" />
|
||||
<stop
|
||||
id="stop4997"
|
||||
offset="1.0000000"
|
||||
style="stop-color:#36486c;stop-opacity:1.0000000;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4977">
|
||||
<stop
|
||||
id="stop4979"
|
||||
offset="0.0000000"
|
||||
style="stop-color:#ffffff;stop-opacity:1.0000000;" />
|
||||
<stop
|
||||
id="stop4981"
|
||||
offset="1.0000000"
|
||||
style="stop-color:#ffffff;stop-opacity:0.16494845;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient4825"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
id="stop4827"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:1;" />
|
||||
<stop
|
||||
id="stop4829"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:0;" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4114"
|
||||
id="radialGradient6090"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="scale(1.64399,0.608276)"
|
||||
cx="15.115514"
|
||||
cy="63.965388"
|
||||
fx="15.115514"
|
||||
fy="63.965388"
|
||||
r="12.289036" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4825"
|
||||
id="radialGradient6098"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="12.071323"
|
||||
cy="12.493138"
|
||||
fx="12.071323"
|
||||
fy="12.493138"
|
||||
r="6.7175145" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2973"
|
||||
id="radialGradient6103"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.25463,-0.898371,0.979785,0.277703,-18.00903,32.03312)"
|
||||
cx="17.903898"
|
||||
cy="40.159222"
|
||||
fx="17.903898"
|
||||
fy="40.159222"
|
||||
r="14.33681" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient2973"
|
||||
id="radialGradient6106"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.583269,-0.431533,0.577146,0.78008,-5.80022,4.004109)"
|
||||
cx="12.525543"
|
||||
cy="38.09042"
|
||||
fx="12.525543"
|
||||
fy="38.09042"
|
||||
r="14.33681" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient1312"
|
||||
id="radialGradient6109"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.768231,1.13675,-0.820972,0.554824,-3.72248,-85.07126)"
|
||||
cx="65.800331"
|
||||
cy="27.16758"
|
||||
fx="65.800331"
|
||||
fy="27.16758"
|
||||
r="12.972491" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4989"
|
||||
id="radialGradient6115"
|
||||
cx="16.651781"
|
||||
cy="32.187485"
|
||||
fx="16.651781"
|
||||
fy="32.187485"
|
||||
r="17.089519"
|
||||
gradientTransform="matrix(1.486175,-1.536108,0.932321,0.902016,-38.10476,31.42646)"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="0.17254902"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="8"
|
||||
inkscape:cx="36.250498"
|
||||
inkscape:cy="38.275489"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:window-width="1266"
|
||||
inkscape:window-height="944"
|
||||
inkscape:window-x="124"
|
||||
inkscape:window-y="52"
|
||||
inkscape:showpageshadow="false" />
|
||||
<metadata
|
||||
id="metadata4">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>Internet Category</dc:title>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>Jakub Steiner</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>Tuomas Kuosmanen</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" />
|
||||
<dc:source>http://jimmac.musichall.cz</dc:source>
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>internet</rdf:li>
|
||||
<rdf:li>tools</rdf:li>
|
||||
<rdf:li>applications</rdf:li>
|
||||
<rdf:li>category</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
</cc:Work>
|
||||
<cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/Reproduction" />
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/Distribution" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/Notice" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/Attribution" />
|
||||
<cc:permits
|
||||
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
|
||||
<cc:requires
|
||||
rdf:resource="http://web.resource.org/cc/ShareAlike" />
|
||||
</cc:License>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="fill:url(#radialGradient6090);fill-opacity:1;stroke:none;stroke-opacity:1"
|
||||
id="path4112"
|
||||
sodipodi:cx="24.849752"
|
||||
sodipodi:cy="38.908627"
|
||||
sodipodi:rx="20.203051"
|
||||
sodipodi:ry="7.4751287"
|
||||
d="M 45.052803 38.908627 A 20.203051 7.4751287 0 1 1 4.6467018,38.908627 A 20.203051 7.4751287 0 1 1 45.052803 38.908627 z"
|
||||
transform="matrix(0.947409,0,0,1.17786,1.244375,-6.853427)"
|
||||
inkscape:export-xdpi="480"
|
||||
inkscape:export-ydpi="480" />
|
||||
<path
|
||||
style="fill:url(#radialGradient6115);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 23.942923,0.9561338 L 37.330543,18.266721 C 46.998995,29.84687 41.49692,43.923891 26.7742,45.000491 C 6.0597413,45.582655 6.5086231,27.37483 11.255313,18.609381 L 23.942923,0.9561338 z "
|
||||
id="path2069"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:#1b4075;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 35.111358,26.143133 C 28.972772,13.030586 17.560684,17.697957 17.274449,26.949974 C 16.894738,39.223415 34.748874,37.615429 36.715244,41.468778 C 28.821643,47.675479 14.973233,45.226508 10.962289,39.715204 C 6.9574776,34.212326 7.2383598,25.630263 10.784249,19.587632 C 24.158625,0.978654 39.749127,24.383766 35.111358,26.143133 z "
|
||||
id="path2969"
|
||||
sodipodi:nodetypes="cscscc" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:white;stroke-width:1.1000706;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022"
|
||||
d="M 23.996861,3.5433428 L 36.057351,19.151045 C 44.769741,29.58253 39.419346,42.414092 26.125181,43.508521 C 7.3917365,44.015286 7.4275065,28.119221 12.17284,20.333442 L 23.996861,3.5433428 z "
|
||||
id="path2071"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="opacity:0.46;fill:url(#radialGradient6109);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 23.940758,0.96491709 L 34.727367,14.909752 C 42.647208,24.392311 40.447304,20.283975 28.362481,21.278846 C 25.083165,11.203805 18.13871,11.859899 13.523802,15.675236 L 23.940758,0.96491709 z "
|
||||
id="path3945"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:url(#radialGradient6106);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 35.159701,26.173667 C 29.021115,13.06112 18.734027,17.978491 18.447792,27.230508 C 18.068081,39.503949 34.797217,37.645963 36.763587,41.499312 C 28.869986,47.706013 15.021576,45.257042 11.010632,39.745738 C 7.0058197,34.24286 7.2867027,25.660797 10.832592,19.618166 C 24.206968,1.0091879 39.79747,24.4143 35.159701,26.173667 z "
|
||||
id="path3868"
|
||||
sodipodi:nodetypes="cscscc" />
|
||||
<path
|
||||
style="fill:url(#radialGradient6103);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 35.120795,26.14195 C 28.553327,12.814962 15.685968,17.224233 15.399733,26.47625 C 15.020022,38.749691 32.874158,37.141705 34.840528,40.995054 C 26.946927,47.201755 13.098517,44.752784 9.0875727,39.24148 C 5.0827617,33.738602 5.3636437,25.156539 8.9095327,19.113908 C 22.315509,0.47615954 40.03233,23.660113 35.120795,26.14195 z "
|
||||
id="path4874"
|
||||
sodipodi:nodetypes="cscscc" />
|
||||
<path
|
||||
transform="matrix(-0.829136,1.052307,1.239307,7.58326e-2,26.32898,25.58605)"
|
||||
inkscape:r_cy="true"
|
||||
inkscape:r_cx="true"
|
||||
d="M 18.788838 12.493138 A 6.7175145 6.7175145 0 1 1 5.3538089,12.493138 A 6.7175145 6.7175145 0 1 1 18.788838 12.493138 z"
|
||||
sodipodi:ry="6.7175145"
|
||||
sodipodi:rx="6.7175145"
|
||||
sodipodi:cy="12.493138"
|
||||
sodipodi:cx="12.071323"
|
||||
id="path4941"
|
||||
style="opacity:0.21999996;color:black;fill:url(#radialGradient6098);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
|
||||
sodipodi:type="arc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 15 KiB |
@ -1,433 +0,0 @@
|
||||
/* XPM */
|
||||
static char * deluge_xpm[] = {
|
||||
"32 32 398 2",
|
||||
" c None",
|
||||
". c #7B869E",
|
||||
"+ c #7B869D",
|
||||
"@ c #A5ADBE",
|
||||
"# c #A7AFBE",
|
||||
"$ c #8894A9",
|
||||
"% c #A4ADBD",
|
||||
"& c #A7AFBF",
|
||||
"* c #95A0B4",
|
||||
"= c #6F7E99",
|
||||
"- c #A0AABD",
|
||||
"; c #8594AD",
|
||||
"> c #8A98B1",
|
||||
", c #A7B3C6",
|
||||
"' c #8496AF",
|
||||
") c #5B6F90",
|
||||
"! c #8F9EB6",
|
||||
"~ c #8194AF",
|
||||
"{ c #7C91AF",
|
||||
"] c #8096B3",
|
||||
"^ c #859BB8",
|
||||
"/ c #A0B1C8",
|
||||
"( c #728CAD",
|
||||
"_ c #758BAA",
|
||||
": c #849AB7",
|
||||
"< c #6F8AAE",
|
||||
"[ c #7591B3",
|
||||
"} c #7995B8",
|
||||
"| c #7A97B9",
|
||||
"1 c #86A0C0",
|
||||
"2 c #93ABC7",
|
||||
"3 c #6585AE",
|
||||
"4 c #5A78A0",
|
||||
"5 c #879FBE",
|
||||
"6 c #6485AF",
|
||||
"7 c #698CB5",
|
||||
"8 c #6E91BA",
|
||||
"9 c #7295BD",
|
||||
"0 c #7497BF",
|
||||
"a c #7296BF",
|
||||
"b c #89A6C8",
|
||||
"c c #809FC4",
|
||||
"d c #436B9C",
|
||||
"e c #7B99BE",
|
||||
"f c #5378A6",
|
||||
"g c #446A9A",
|
||||
"h c #4B6F9C",
|
||||
"i c #5577A2",
|
||||
"j c #6183AE",
|
||||
"k c #6D92BD",
|
||||
"l c #7097C3",
|
||||
"m c #6E96C1",
|
||||
"n c #8DACCF",
|
||||
"o c #6C93BF",
|
||||
"p c #587DA9",
|
||||
"q c #446592",
|
||||
"r c #1B4075",
|
||||
"s c #204478",
|
||||
"t c #2F5081",
|
||||
"u c #496791",
|
||||
"v c #4F6B94",
|
||||
"w c #5879A4",
|
||||
"x c #6B93BE",
|
||||
"y c #6E97C2",
|
||||
"z c #8EADCF",
|
||||
"A c #5E89BA",
|
||||
"B c #3E669A",
|
||||
"C c #567198",
|
||||
"D c #24477A",
|
||||
"E c #315281",
|
||||
"F c #365685",
|
||||
"G c #3A5A86",
|
||||
"H c #405E8A",
|
||||
"I c #567197",
|
||||
"J c #577298",
|
||||
"K c #516E97",
|
||||
"L c #6187B3",
|
||||
"M c #7098C4",
|
||||
"N c #85A7CC",
|
||||
"O c #5280B6",
|
||||
"P c #305C92",
|
||||
"Q c #5A759B",
|
||||
"R c #2B4D7E",
|
||||
"S c #3B5A88",
|
||||
"T c #4C6991",
|
||||
"U c #597397",
|
||||
"V c #60799D",
|
||||
"W c #5C769A",
|
||||
"X c #587298",
|
||||
"Y c #637C9E",
|
||||
"Z c #5D769B",
|
||||
"` c #526F96",
|
||||
" . c #5B84B0",
|
||||
".. c #759BC6",
|
||||
"+. c #7398C4",
|
||||
"@. c #325D95",
|
||||
"#. c #4C6A94",
|
||||
"$. c #3B5B87",
|
||||
"%. c #44628C",
|
||||
"&. c #5B7599",
|
||||
"*. c #6D84A5",
|
||||
"=. c #647D9F",
|
||||
"-. c #6784A8",
|
||||
";. c #7194BD",
|
||||
">. c #769EC9",
|
||||
",. c #709AC4",
|
||||
"'. c #7293B8",
|
||||
"). c #6D86A9",
|
||||
"!. c #526E96",
|
||||
"~. c #5782B1",
|
||||
"{. c #7A9EC8",
|
||||
"]. c #5D8ABC",
|
||||
"^. c #325485",
|
||||
"/. c #4F6C94",
|
||||
"(. c #3D5C88",
|
||||
"_. c #5E779B",
|
||||
":. c #7489A8",
|
||||
"<. c #667FA1",
|
||||
"[. c #8BA3C1",
|
||||
"}. c #8BAED4",
|
||||
"|. c #83A9D3",
|
||||
"1. c #82A8D2",
|
||||
"2. c #7FA6D1",
|
||||
"3. c #7CA4CE",
|
||||
"4. c #7AA0CC",
|
||||
"5. c #708EB4",
|
||||
"6. c #5F789C",
|
||||
"7. c #4E6C96",
|
||||
"8. c #5986B9",
|
||||
"9. c #7FA2CA",
|
||||
"0. c #4B7CB2",
|
||||
"a. c #2B5387",
|
||||
"b. c #567199",
|
||||
"c. c #305282",
|
||||
"d. c #506B93",
|
||||
"e. c #7187A5",
|
||||
"f. c #6F85A3",
|
||||
"g. c #8EA4BF",
|
||||
"h. c #9DBBDC",
|
||||
"i. c #8EB2D9",
|
||||
"j. c #8DB1D8",
|
||||
"k. c #8AAED6",
|
||||
"l. c #84AAD3",
|
||||
"m. c #7EA5D0",
|
||||
"n. c #779FCC",
|
||||
"o. c #6C8BB0",
|
||||
"p. c #5E779A",
|
||||
"q. c #5178A6",
|
||||
"r. c #5C89BC",
|
||||
"s. c #7198C4",
|
||||
"t. c #325486",
|
||||
"u. c #4C6993",
|
||||
"v. c #5E789B",
|
||||
"w. c #778CA8",
|
||||
"x. c #7389A7",
|
||||
"y. c #B6CADF",
|
||||
"z. c #9ABBDF",
|
||||
"A. c #9BBCE0",
|
||||
"B. c #9ABCDF",
|
||||
"C. c #97B9DE",
|
||||
"D. c #93B6DB",
|
||||
"E. c #8CB1D8",
|
||||
"F. c #85ABD4",
|
||||
"G. c #7CA4CF",
|
||||
"H. c #749BC9",
|
||||
"I. c #6783A6",
|
||||
"J. c #56739C",
|
||||
"K. c #5283B8",
|
||||
"L. c #6F96C3",
|
||||
"M. c #4E7BAE",
|
||||
"N. c #42618D",
|
||||
"O. c #3E5C88",
|
||||
"P. c #667E9F",
|
||||
"Q. c #7288A7",
|
||||
"R. c #8EA1BA",
|
||||
"S. c #B9CFE7",
|
||||
"T. c #A6C5E6",
|
||||
"U. c #A7C6E6",
|
||||
"V. c #A5C4E6",
|
||||
"W. c #A1C1E3",
|
||||
"X. c #93B6DC",
|
||||
"Y. c #8AAFD7",
|
||||
"Z. c #80A7D1",
|
||||
"`. c #769FCC",
|
||||
" + c #6992BF",
|
||||
".+ c #5D789D",
|
||||
"++ c #5483B9",
|
||||
"@+ c #5281B7",
|
||||
"#+ c #688FBB",
|
||||
"$+ c #557198",
|
||||
"%+ c #1E4277",
|
||||
"&+ c #3F5E88",
|
||||
"*+ c #687FA0",
|
||||
"=+ c #6F85A5",
|
||||
"-+ c #A0B2C8",
|
||||
";+ c #BFD5ED",
|
||||
">+ c #B3CFED",
|
||||
",+ c #B2CFED",
|
||||
"'+ c #AFCCEB",
|
||||
")+ c #A9C8E8",
|
||||
"!+ c #A2C2E4",
|
||||
"~+ c #99BADF",
|
||||
"{+ c #78A1CD",
|
||||
"]+ c #6C97C6",
|
||||
"^+ c #5D88B7",
|
||||
"/+ c #4779B2",
|
||||
"(+ c #7295BE",
|
||||
"_+ c #3C6699",
|
||||
":+ c #2B4F83",
|
||||
"<+ c #59749A",
|
||||
"[+ c #657D9E",
|
||||
"}+ c #6C83A3",
|
||||
"|+ c #A3B4CA",
|
||||
"1+ c #C7DDF2",
|
||||
"2+ c #BFD9F4",
|
||||
"3+ c #BDD7F2",
|
||||
"4+ c #B8D3F0",
|
||||
"5+ c #B0CDEC",
|
||||
"6+ c #9CBDE0",
|
||||
"7+ c #91B4DA",
|
||||
"8+ c #79A1CD",
|
||||
"9+ c #5F8DBF",
|
||||
"0+ c #4578B1",
|
||||
"a+ c #6B90BA",
|
||||
"b+ c #446A9B",
|
||||
"c+ c #2D5184",
|
||||
"d+ c #577299",
|
||||
"e+ c #305181",
|
||||
"f+ c #5B749A",
|
||||
"g+ c #6C82A2",
|
||||
"h+ c #98AAC3",
|
||||
"i+ c #D2E5F6",
|
||||
"j+ c #CAE2FA",
|
||||
"k+ c #C6DEF8",
|
||||
"l+ c #BED8F3",
|
||||
"m+ c #B4D0EE",
|
||||
"n+ c #9EBEE1",
|
||||
"o+ c #92B5DB",
|
||||
"p+ c #78A0CD",
|
||||
"q+ c #6B96C5",
|
||||
"r+ c #5D8BBE",
|
||||
"s+ c #5081B7",
|
||||
"t+ c #4276AF",
|
||||
"u+ c #6489B4",
|
||||
"v+ c #4B6E9B",
|
||||
"w+ c #2C5284",
|
||||
"x+ c #234679",
|
||||
"y+ c #4C6990",
|
||||
"z+ c #6C82A3",
|
||||
"A+ c #738AA9",
|
||||
"B+ c #D9E9F9",
|
||||
"C+ c #D3E9FF",
|
||||
"D+ c #CCE3FB",
|
||||
"E+ c #C2DBF5",
|
||||
"F+ c #B6D2EF",
|
||||
"G+ c #AAC8E8",
|
||||
"H+ c #9DBEE1",
|
||||
"I+ c #90B3DA",
|
||||
"J+ c #759ECB",
|
||||
"K+ c #6893C4",
|
||||
"L+ c #5A89BC",
|
||||
"M+ c #4D7EB5",
|
||||
"N+ c #3F73AD",
|
||||
"O+ c #6386B1",
|
||||
"P+ c #486A96",
|
||||
"Q+ c #2A5082",
|
||||
"R+ c #58739A",
|
||||
"S+ c #375685",
|
||||
"T+ c #5F789B",
|
||||
"U+ c #ADBED3",
|
||||
"V+ c #D4E9FE",
|
||||
"W+ c #CFE6FD",
|
||||
"X+ c #C2DCF6",
|
||||
"Y+ c #A8C7E7",
|
||||
"Z+ c #719BC9",
|
||||
"`+ c #6490C1",
|
||||
" @ c #5685BA",
|
||||
".@ c #487AB2",
|
||||
"+@ c #3F70A8",
|
||||
"@@ c #6B8BB2",
|
||||
"#@ c #3F608D",
|
||||
"$@ c #536F97",
|
||||
"%@ c #1F4377",
|
||||
"&@ c #224679",
|
||||
"*@ c #46638D",
|
||||
"=@ c #6880A0",
|
||||
"-@ c #6F86A5",
|
||||
";@ c #BBCDE0",
|
||||
">@ c #CEE4FC",
|
||||
",@ c #C0DAF4",
|
||||
"'@ c #A5C4E5",
|
||||
")@ c #96B9DD",
|
||||
"!@ c #88AED6",
|
||||
"~@ c #7CA3CE",
|
||||
"{@ c #719BC8",
|
||||
"]@ c #6692C2",
|
||||
"^@ c #5987BA",
|
||||
"/@ c #4C7CB3",
|
||||
"(@ c #4672A5",
|
||||
"_@ c #728DB1",
|
||||
":@ c #385884",
|
||||
"<@ c #3C5C89",
|
||||
"[@ c #385886",
|
||||
"}@ c #26497B",
|
||||
"|@ c #4B6790",
|
||||
"1@ c #6980A1",
|
||||
"2@ c #768BA9",
|
||||
"3@ c #9CB1CA",
|
||||
"4@ c #B9D3EE",
|
||||
"5@ c #ADCAEA",
|
||||
"6@ c #9EBFE2",
|
||||
"7@ c #90B4DA",
|
||||
"8@ c #87ACD5",
|
||||
"9@ c #7EA4CE",
|
||||
"0@ c #749CC8",
|
||||
"a@ c #6993C1",
|
||||
"b@ c #5C89BB",
|
||||
"c@ c #4F7DB1",
|
||||
"d@ c #5D80AC",
|
||||
"e@ c #617EA4",
|
||||
"f@ c #3A547B",
|
||||
"g@ c #2A4C7E",
|
||||
"h@ c #1C4176",
|
||||
"i@ c #27497B",
|
||||
"j@ c #45628D",
|
||||
"k@ c #60799C",
|
||||
"l@ c #7288A6",
|
||||
"m@ c #7D91AD",
|
||||
"n@ c #859FBE",
|
||||
"o@ c #93B4D7",
|
||||
"p@ c #8FB2D8",
|
||||
"q@ c #86ABD2",
|
||||
"r@ c #7EA4CD",
|
||||
"s@ c #759CC8",
|
||||
"t@ c #6A94C2",
|
||||
"u@ c #5C89BA",
|
||||
"v@ c #547EAE",
|
||||
"w@ c #7994B6",
|
||||
"x@ c #44628A",
|
||||
"y@ c #375786",
|
||||
"z@ c #476590",
|
||||
"A@ c #4C6890",
|
||||
"B@ c #5B7498",
|
||||
"C@ c #667EA0",
|
||||
"D@ c #6F86A7",
|
||||
"E@ c #738CAD",
|
||||
"F@ c #7592B7",
|
||||
"G@ c #779AC1",
|
||||
"H@ c #779DC7",
|
||||
"I@ c #6993C0",
|
||||
"J@ c #5B86B6",
|
||||
"K@ c #7B97BB",
|
||||
"L@ c #5A769E",
|
||||
"M@ c #394E6E",
|
||||
"N@ c #21426C",
|
||||
"O@ c #45638E",
|
||||
"P@ c #496691",
|
||||
"Q@ c #1D4176",
|
||||
"R@ c #41608B",
|
||||
"S@ c #4C6891",
|
||||
"T@ c #506D95",
|
||||
"U@ c #4E6B94",
|
||||
"V@ c #4B6A95",
|
||||
"W@ c #5176A3",
|
||||
"X@ c #7C99BC",
|
||||
"Y@ c #6280A8",
|
||||
"Z@ c #3E567A",
|
||||
"`@ c #25446F",
|
||||
" # c #395987",
|
||||
".# c #214579",
|
||||
"+# c #294C7E",
|
||||
"@# c #315383",
|
||||
"## c #3D5C8A",
|
||||
"$# c #43618D",
|
||||
"%# c #5C769C",
|
||||
"&# c #6D84A6",
|
||||
"*# c #405E8B",
|
||||
"=# c #375179",
|
||||
"-# c #1B304F",
|
||||
";# c #2E5181",
|
||||
"># c #415F8C",
|
||||
",# c #547098",
|
||||
"'# c #486590",
|
||||
")# c #43618E",
|
||||
"!# c #476690",
|
||||
"~# c #6981A4",
|
||||
"{# c #677FA3",
|
||||
"]# c #496690",
|
||||
"^# c #2E5283",
|
||||
"/# c #294467",
|
||||
"(# c #32507C",
|
||||
"_# c #325684",
|
||||
":# c #335484",
|
||||
"<# c #3F5E8B",
|
||||
"[# c #3E5F8D",
|
||||
"}# c #345887",
|
||||
"|# c #305383",
|
||||
"1# c #2A4466",
|
||||
" ",
|
||||
" . + ",
|
||||
" @ # ",
|
||||
" $ % & * ",
|
||||
" = - ; > , ' ",
|
||||
" ) ! ~ { ] ^ / ( ",
|
||||
" _ : < [ } | 1 2 3 ",
|
||||
" 4 5 6 7 8 9 0 a b c ",
|
||||
" d e f g h i j k l m n o ",
|
||||
" p q r r s t u v w x y z A ",
|
||||
" B C r D E F G H I J K L M N O ",
|
||||
" P Q R S T U V W I X Y Z ` ...+. ",
|
||||
" @.#.$.%.&.*.=.-.;.>.,.'.).V !.~.{.]. ",
|
||||
" ^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0. ",
|
||||
" a.b.c.d.e.f.g.h.i.i.j.k.l.m.n.o.p.q.r.s. ",
|
||||
" t.u.F v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M. ",
|
||||
" N.c.O.P.Q.R.S.T.U.V.W.A.X.Y.Z.`. +.+++@+#+ ",
|
||||
" $+%+&+*+=+-+;+>+,+'+)+!+~+i.|.{+]+^+++/+(+_+ ",
|
||||
" :+<+r G [+}+|+1+2+3+4+5+T.6+7+F.8+]+9+K.0+a+b+ ",
|
||||
" c+d+r e+f+g+h+i+j+k+l+m+)+n+o+l.p+q+r+s+t+u+v+ ",
|
||||
" w+Q r x+y+z+A+B+C+D+E+F+G+H+I+|.J+K+L+M+N+O+P+ ",
|
||||
" Q+R+r r S+T+*+U+V+W+X+F+Y+A.j.2.Z+`+ @.@+@@@#@ ",
|
||||
" $@%@r &@*@=@-@;@>@,@,+'@)@!@~@{@]@^@/@(@_@:@ ",
|
||||
" <@[@r r }@|@1@2@3@4@5@6@7@8@9@0@a@b@c@d@e@f@ ",
|
||||
" g@b.h@r r i@j@k@l@m@n@o@p@q@r@s@t@u@v@w@x@ ",
|
||||
" y@z@r r r %@y@A@B@C@D@E@F@G@H@I@J@K@L@M@ ",
|
||||
" N@O@P@Q@r r r s e+R@S@T@` U@V@W@X@Y@Z@ ",
|
||||
" `@ #Q y@Q@r r .#+#@#[@##$#%#&#*#=# ",
|
||||
" -#;#>#d+,#'#)#!#u.Q ~#{#]#^#/# ",
|
||||
" (#_#:# #<#$#[#}#|#1# ",
|
||||
" ",
|
||||
" "};
|
||||
|
Before Width: | Height: | Size: 722 B |
@ -1,173 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg2"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
sodipodi:docbase="/home/andrew"
|
||||
sodipodi:docname="dht.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/dht16.png"
|
||||
inkscape:export-xdpi="1.9579109"
|
||||
inkscape:export-ydpi="1.9579109">
|
||||
<defs
|
||||
id="defs4">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective10561" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.49497475"
|
||||
inkscape:cx="217.74745"
|
||||
inkscape:cy="658.24369"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:window-width="1024"
|
||||
inkscape:window-height="711"
|
||||
inkscape:window-x="1280"
|
||||
inkscape:window-y="0"
|
||||
showgrid="false" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="opacity:1;fill:#8dd35f;fill-opacity:1;stroke:#000000;stroke-width:2.48568825;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path3437"
|
||||
sodipodi:cx="325.71429"
|
||||
sodipodi:cy="215.21933"
|
||||
sodipodi:rx="85.714287"
|
||||
sodipodi:ry="85.714287"
|
||||
d="M 411.42858,215.21933 A 85.714287,85.714287 0 1 1 240.00001,215.21933 A 85.714287,85.714287 0 1 1 411.42858,215.21933 z"
|
||||
transform="matrix(1.6800176,0,0,1.6800176,-275.15013,-73.06899)"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="opacity:1;fill:#5599ff;fill-opacity:1;stroke:#000000;stroke-width:2.81711386;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path3439"
|
||||
sodipodi:cx="325.71429"
|
||||
sodipodi:cy="215.21933"
|
||||
sodipodi:rx="85.714287"
|
||||
sodipodi:ry="85.714287"
|
||||
d="M 411.42858,215.21933 A 85.714287,85.714287 0 1 1 240.00001,215.21933 A 85.714287,85.714287 0 1 1 411.42858,215.21933 z"
|
||||
transform="matrix(1.4823682,0,0,1.4823682,82.877111,311.11956)"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="opacity:1;fill:#8dd35f;fill-opacity:1;stroke:#000000;stroke-width:3.2505155;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path3441"
|
||||
sodipodi:cx="325.71429"
|
||||
sodipodi:cy="215.21933"
|
||||
sodipodi:rx="85.714287"
|
||||
sodipodi:ry="85.714287"
|
||||
d="M 411.42858,215.21933 A 85.714287,85.714287 0 1 1 240.00001,215.21933 A 85.714287,85.714287 0 1 1 411.42858,215.21933 z"
|
||||
transform="matrix(1.2847193,0,0,1.2847193,-104.04248,489.18828)"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="opacity:1;fill:#5599ff;fill-opacity:1;stroke:#000000;stroke-width:3.29273035;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path3443"
|
||||
sodipodi:cx="325.71429"
|
||||
sodipodi:cy="215.21933"
|
||||
sodipodi:rx="85.714287"
|
||||
sodipodi:ry="85.714287"
|
||||
d="M 411.42858,215.21933 A 85.714287,85.714287 0 1 1 240.00001,215.21933 A 85.714287,85.714287 0 1 1 411.42858,215.21933 z"
|
||||
transform="matrix(1.2682484,0,0,1.2682484,-282.25061,288.22576)"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922" />
|
||||
<path
|
||||
sodipodi:type="arc"
|
||||
style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:#000000;stroke-width:4.08935796;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path3445"
|
||||
sodipodi:cx="325.71429"
|
||||
sodipodi:cy="215.21933"
|
||||
sodipodi:rx="85.714287"
|
||||
sodipodi:ry="85.714287"
|
||||
d="M 411.42858,215.21933 A 85.714287,85.714287 0 1 1 240.00001,215.21933 A 85.714287,85.714287 0 1 1 411.42858,215.21933 z"
|
||||
transform="matrix(1.0211872,0,0,1.0211872,244.38469,139.31302)"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:10.04848194;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 409.97291,329.4348 L 487.75261,344.44338"
|
||||
id="path3691"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:8.96934509;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 423.06163,747.83054 L 464.53048,708.21583"
|
||||
id="path3693"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:11.37722969;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 315.62445,431.58184 L 310.19863,651.84005"
|
||||
id="path3695"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:10.04848194;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 143.15025,452.25537 L 171.01599,395.38786"
|
||||
id="path3697"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="opacity:1;fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:11.37722969;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 360.45007,405.53416 L 474.8177,539.94039"
|
||||
id="path3699"
|
||||
inkscape:export-filename="/home/andrew/dht16-2.png"
|
||||
inkscape:export-xdpi="3.8918922"
|
||||
inkscape:export-ydpi="3.8918922"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 793 B |
@ -1,90 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg3535"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/downloading16.png"
|
||||
inkscape:export-xdpi="1.7075963"
|
||||
inkscape:export-ydpi="1.7075963"
|
||||
sodipodi:docname="downloading.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs
|
||||
id="defs3537">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective3543" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.49497475"
|
||||
inkscape:cx="183.87749"
|
||||
inkscape:cy="492.74541"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="686"
|
||||
inkscape:window-height="711"
|
||||
inkscape:window-x="1941"
|
||||
inkscape:window-y="99" />
|
||||
<metadata
|
||||
id="metadata3540">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:#8dd35f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.07523891000000001px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 337.34641,113.574 L 612.77782,444.9064 C 811.69255,666.55556 698.49522,935.996 395.596,956.6026 C -30.5748,967.74548 -7.5325,620.6669 110.06775,461.45596 L 337.34641,113.574 z"
|
||||
id="path2069"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:21.67123985;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.36612022"
|
||||
d="M 339.91139,163.01784 L 587.46485,461.81598 C 776.20058,681.7222 655.61789,907.17006 386.12406,928.1221 C 6.36766,937.82375 31.27865,636.36028 127.47397,487.30722 L 339.91139,163.01784 z"
|
||||
id="path2071"
|
||||
sodipodi:nodetypes="ccccc"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417" />
|
||||
<path
|
||||
style="fill:#b7e399;fill-opacity:1;stroke:#000000;stroke-width:14.10382843;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 362.09611,847.31541 C 292.72038,779.25618 223.06258,711.37264 153.68685,643.3136 C 191.01405,643.2453 228.43453,643.3817 265.76192,643.3136 C 265.76192,562.7203 265.76192,482.12699 265.76192,401.53369 C 332.08337,401.53369 398.40502,401.53369 464.72665,401.53369 C 464.72665,481.91704 464.72665,562.30041 464.72665,642.68397 C 499.11804,642.62091 533.59544,642.74683 567.98683,642.68397 C 499.37714,710.99547 430.70559,779.00372 362.09611,847.31541 z"
|
||||
id="rect2634"
|
||||
inkscape:export-filename="/home/andrew/Projects/deluge/trunk/deluge/data/pixmaps/seeding16.png"
|
||||
inkscape:export-xdpi="1.7060417"
|
||||
inkscape:export-ydpi="1.7060417" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 686 B |
@ -1,2 +0,0 @@
|
||||
From: http://famfamfam.com/lab/icons/flags/
|
||||
"These flag icons are available for free use for any purpose with no requirement for attribution."
|
||||
|
Before Width: | Height: | Size: 643 B |
|
Before Width: | Height: | Size: 408 B |
|
Before Width: | Height: | Size: 604 B |
|
Before Width: | Height: | Size: 591 B |
|
Before Width: | Height: | Size: 643 B |
|
Before Width: | Height: | Size: 600 B |
|
Before Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 488 B |
|
Before Width: | Height: | Size: 428 B |
|
Before Width: | Height: | Size: 836 B |
|
Before Width: | Height: | Size: 506 B |
|
Before Width: | Height: | Size: 647 B |
|
Before Width: | Height: | Size: 403 B |
|
Before Width: | Height: | Size: 673 B |
|
Before Width: | Height: | Size: 524 B |
|
Before Width: | Height: | Size: 663 B |
|
Before Width: | Height: | Size: 589 B |
|
Before Width: | Height: | Size: 593 B |
|
Before Width: | Height: | Size: 585 B |
|
Before Width: | Height: | Size: 504 B |
|
Before Width: | Height: | Size: 449 B |
|
Before Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 462 B |
|
Before Width: | Height: | Size: 457 B |