mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-22 09:17:57 -04:00
Compare commits
943 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
366e735ad8 | ||
|
|
9f3ea71d5d | ||
|
|
75058e54b8 | ||
|
|
ed5405d4f7 | ||
|
|
8dd4270a6a | ||
|
|
c29f622b90 | ||
|
|
bc0e415926 | ||
|
|
c48965ea2f | ||
|
|
bb995f1bb6 | ||
|
|
857e13e9b8 | ||
|
|
593423434c | ||
|
|
25caeee854 | ||
|
|
20ce7a2d9f | ||
|
|
1ba74d824b | ||
|
|
be7b706486 | ||
|
|
78e18fcdcf | ||
|
|
706598313e | ||
|
|
4b191fb558 | ||
|
|
de1abf9981 | ||
|
|
c69f6ca1f4 | ||
|
|
d4b04d22ed | ||
|
|
b1f4b9759b | ||
|
|
650f882265 | ||
|
|
a2747403f2 | ||
|
|
3f9412add2 | ||
|
|
29877963be | ||
|
|
302c5afdee | ||
|
|
9f90806027 | ||
|
|
d3aa50c9c3 | ||
|
|
1708769d42 | ||
|
|
4e223f816a | ||
|
|
7db86a4e05 | ||
|
|
122d7281f7 | ||
|
|
4bfd34b479 | ||
|
|
962d9f36d0 | ||
|
|
216d41cd64 | ||
|
|
4af104384b | ||
|
|
aa78d51521 | ||
|
|
16e7ec7bfe | ||
|
|
fce1dc083b | ||
|
|
bcfa72ed31 | ||
|
|
b92cc852d1 | ||
|
|
6762af4158 | ||
|
|
f691e8981a | ||
|
|
6875a540ec | ||
|
|
e569f5d6eb | ||
|
|
61a5e81bc6 | ||
|
|
ee153f64d4 | ||
|
|
4c4db6f73c | ||
|
|
fa5a382c4b | ||
|
|
a73c385831 | ||
|
|
91b35c5349 | ||
|
|
056db37c66 | ||
|
|
5cb71fa5da | ||
|
|
55d00243fb | ||
|
|
8a269823d2 | ||
|
|
5ec5b127d0 | ||
|
|
0cf9e498b9 | ||
|
|
c407e72dcc | ||
|
|
8e3b796a2f | ||
|
|
17e7b276f6 | ||
|
|
306ce3819e | ||
|
|
f80aff4a65 | ||
|
|
c7cbd41c16 | ||
|
|
41542e6886 | ||
|
|
a039869ba0 | ||
|
|
192e85ffa4 | ||
|
|
b334201797 | ||
|
|
3ea84d7eab | ||
|
|
a80c45940e | ||
|
|
ab71e33d83 | ||
|
|
fe57e7059b | ||
|
|
2de65ab39f | ||
|
|
0559db9cf8 | ||
|
|
bae7b034e6 | ||
|
|
74a40adece | ||
|
|
1767a07f4d | ||
|
|
af7549d2f6 | ||
|
|
e785b723aa | ||
|
|
f520cd92d0 | ||
|
|
eb6fd311df | ||
|
|
5a12944b39 | ||
|
|
987619130b | ||
|
|
e485ecb3b4 | ||
|
|
8c5203f7e1 | ||
|
|
dfaf1a1075 | ||
|
|
bf5c0e0b0d | ||
|
|
167e754a1b | ||
|
|
34b804e9dc | ||
|
|
ae1103c5a3 | ||
|
|
a7e4553ea7 | ||
|
|
6f27e8db38 | ||
|
|
292b02b58c | ||
|
|
4c84a2ce61 | ||
|
|
18e0e4b597 | ||
|
|
74b574d0b1 | ||
|
|
d726c921eb | ||
|
|
fee8503093 | ||
|
|
fabf7081d3 | ||
|
|
6083cd2559 | ||
|
|
d11e80e1b3 | ||
|
|
427652e9bd | ||
|
|
106b4fdd2d | ||
|
|
f164ddf155 | ||
|
|
d9ddf7561f | ||
|
|
37368bda65 | ||
|
|
7399f7a087 | ||
|
|
a3e47d26f6 | ||
|
|
d3bef2adc3 | ||
|
|
7b459ec355 | ||
|
|
301072a86c | ||
|
|
e56633d5b0 | ||
|
|
a44795e6c3 | ||
|
|
5805a54097 | ||
|
|
350519d429 | ||
|
|
8f94c721bf | ||
|
|
c7652fc29c | ||
|
|
e537d53389 | ||
|
|
a890ee6864 | ||
|
|
4f81d64517 | ||
|
|
b5875c3af9 | ||
|
|
ed87dbc141 | ||
|
|
ba52af786e | ||
|
|
929f524e77 | ||
|
|
ee39e3cf72 | ||
|
|
a17f280f7d | ||
|
|
db9c2992e3 | ||
|
|
b23284cba2 | ||
|
|
0c163c4d03 | ||
|
|
e4145deeb7 | ||
|
|
179730e485 | ||
|
|
106b3257e4 | ||
|
|
312cc415ce | ||
|
|
1f2a408be0 | ||
|
|
68da4d90dc | ||
|
|
a089064588 | ||
|
|
a06f7fbe2e | ||
|
|
7c4d9519c8 | ||
|
|
6fa0807550 | ||
|
|
868a0d8a90 | ||
|
|
5079dff338 | ||
|
|
9e3d130ad9 | ||
|
|
b531486dab | ||
|
|
6df98f080b | ||
|
|
0cb5f009b4 | ||
|
|
c7b2ec8bba | ||
|
|
12b0a9f35f | ||
|
|
fff30b1c3d | ||
|
|
6ad35e3d84 | ||
|
|
3d80073a0e | ||
|
|
959c3ba89d | ||
|
|
1029939f56 | ||
|
|
def5edf93c | ||
|
|
dba38821bc | ||
|
|
5d0646c9e1 | ||
|
|
93e5449c08 | ||
|
|
4872a30e2b | ||
|
|
f5fcdf1de4 | ||
|
|
888bf76e4b | ||
|
|
22a650ade8 | ||
|
|
391807b46c | ||
|
|
5afe8e5aa1 | ||
|
|
6e04dd96a1 | ||
|
|
f7c837aad0 | ||
|
|
bd3d323849 | ||
|
|
52f6bd03b7 | ||
|
|
75c10eaff5 | ||
|
|
f94a8698dd | ||
|
|
ffb8059c24 | ||
|
|
bc7c0ed844 | ||
|
|
ac9250fc4a | ||
|
|
f1492945ec | ||
|
|
10ccdbacba | ||
|
|
d683573402 | ||
|
|
ddce0412ac | ||
|
|
609e42cdd8 | ||
|
|
7235c20854 | ||
|
|
e7bedf4433 | ||
|
|
23d30ab2c5 | ||
|
|
741afeea41 | ||
|
|
cd989977b8 | ||
|
|
1216508dc2 | ||
|
|
5c7dfcfe43 | ||
|
|
cff866172a | ||
|
|
31a612aa89 | ||
|
|
b782c46e51 | ||
|
|
eaa47760bc | ||
|
|
7ec6879887 | ||
|
|
c4a3487f0c | ||
|
|
e6de9bfa4e | ||
|
|
c0260ff701 | ||
|
|
fba2603304 | ||
|
|
7d5acef20a | ||
|
|
cda8fb3380 | ||
|
|
862a310075 | ||
|
|
98146eae07 | ||
|
|
c277039fb4 | ||
|
|
92577ddaed | ||
|
|
b99b6b5ae9 | ||
|
|
cda81e35db | ||
|
|
271a41b7dd | ||
|
|
69aeddd185 | ||
|
|
99bd69adfe | ||
|
|
115a53225e | ||
|
|
36c196e18c | ||
|
|
0c8219e683 | ||
|
|
de9c44fc56 | ||
|
|
d1dbc50a1c | ||
|
|
0fbea73581 | ||
|
|
10f7199c63 | ||
|
|
49d6605377 | ||
|
|
11c8cabf28 | ||
|
|
00132cd977 | ||
|
|
5e1b61eb02 | ||
|
|
dfb49558f4 | ||
|
|
4e1c308162 | ||
|
|
5c2692a8ea | ||
|
|
9c240de303 | ||
|
|
2536dc39b5 | ||
|
|
cf0bff8582 | ||
|
|
9c12ba5708 | ||
|
|
8639eda70f | ||
|
|
1874346c46 | ||
|
|
16040063dc | ||
|
|
2b0b03eebc | ||
|
|
df2b687a95 | ||
|
|
44fa4d1081 | ||
|
|
ce4bb8e5ec | ||
|
|
8154453803 | ||
|
|
b29fe50f70 | ||
|
|
cce46722d8 | ||
|
|
85ae07e7c8 | ||
|
|
e3da813360 | ||
|
|
9a42d63516 | ||
|
|
4620eb32d2 | ||
|
|
1c8f63f1e5 | ||
|
|
c40f6060da | ||
|
|
5776af30e8 | ||
|
|
30d083ac3c | ||
|
|
4ca0c2cfd1 | ||
|
|
12db46dcad | ||
|
|
9e6547a887 | ||
|
|
017ea0d624 | ||
|
|
a29b8b369e | ||
|
|
6b26b4e3b8 | ||
|
|
7df92ba62c | ||
|
|
9cad4c11fe | ||
|
|
5b42edb42a | ||
|
|
a26d8609a9 | ||
|
|
001e4276d3 | ||
|
|
94437a8fcd | ||
|
|
91f751d105 | ||
|
|
0db5a8673d | ||
|
|
91f2e05d5d | ||
|
|
58fe4f5cb3 | ||
|
|
2ebd9a2774 | ||
|
|
8db428458a | ||
|
|
f8b612a2c0 | ||
|
|
76043d97bd | ||
|
|
07bd396837 | ||
|
|
f7468ab473 | ||
|
|
1213893a71 | ||
|
|
5f1ccc25b6 | ||
|
|
42c0f83ec5 | ||
|
|
5dfaeaf526 | ||
|
|
1214469311 | ||
|
|
f4a9529968 | ||
|
|
3d55134953 | ||
|
|
1c0fe89368 | ||
|
|
73bef17365 | ||
|
|
9398e49eb7 | ||
|
|
50cf095c00 | ||
|
|
5d64fb5946 | ||
|
|
bf55a8e98c | ||
|
|
59e0a0fd7c | ||
|
|
d15be53034 | ||
|
|
b6b2420ff7 | ||
|
|
4bd0e083d1 | ||
|
|
d9c7b39b88 | ||
|
|
583f7df9c8 | ||
|
|
8377aa72a8 | ||
|
|
c57926d799 | ||
|
|
380e3e64cb | ||
|
|
77a03e376c | ||
|
|
5dade2b608 | ||
|
|
877b3361c8 | ||
|
|
2fbfc2a8f1 | ||
|
|
e09b49288f | ||
|
|
6aa98a1e91 | ||
|
|
14b74069f8 | ||
|
|
c1cfcc78fe | ||
|
|
2c299a9f37 | ||
|
|
288697cda2 | ||
|
|
9fa771f9fe | ||
|
|
d1aa672388 | ||
|
|
b21f6fd619 | ||
|
|
39245238fd | ||
|
|
43d8090182 | ||
|
|
d13dae6b06 | ||
|
|
0998ef0c4e | ||
|
|
543bf51eff | ||
|
|
5513feb15b | ||
|
|
e03faaeb8f | ||
|
|
966dd03195 | ||
|
|
5041774fd3 | ||
|
|
c5453d476d | ||
|
|
54eae7830e | ||
|
|
4e74c7e3b1 | ||
|
|
fe52400b75 | ||
|
|
18feef0753 | ||
|
|
6ec021aafa | ||
|
|
954957bd8a | ||
|
|
14e92f53f1 | ||
|
|
d3183467e0 | ||
|
|
b62614bbd4 | ||
|
|
618155e6ab | ||
|
|
bd75d32c1b | ||
|
|
5acfef8edb | ||
|
|
7ce3ebc46d | ||
|
|
0353b0e04f | ||
|
|
ca81ab784a | ||
|
|
3262d819de | ||
|
|
a8cdbd44e8 | ||
|
|
04820ba09e | ||
|
|
52120b367a | ||
|
|
d6d96e8c89 | ||
|
|
2b34dd7373 | ||
|
|
7a87343c71 | ||
|
|
5f80121637 | ||
|
|
5920a96da7 | ||
|
|
0acaa839b9 | ||
|
|
f8b767ed32 | ||
|
|
d0b0d0ec72 | ||
|
|
e0463f5a74 | ||
|
|
1b30210120 | ||
|
|
a1e28bb669 | ||
|
|
dc4bd531a4 | ||
|
|
c5aedb14a9 | ||
|
|
ec28dee728 | ||
|
|
3e459ed434 | ||
|
|
d66be62516 | ||
|
|
98fd919647 | ||
|
|
0a9b2b6b15 | ||
|
|
bb469deb85 | ||
|
|
96402a2354 | ||
|
|
4fec7aa991 | ||
|
|
b5dfc54be3 | ||
|
|
848e3f6c5d | ||
|
|
1f5818cec8 | ||
|
|
06ec5424c7 | ||
|
|
b9551862b4 | ||
|
|
e0a75f68d5 | ||
|
|
a5f1fa3168 | ||
|
|
1375ed6aea | ||
|
|
f1a3b281d4 | ||
|
|
59da3dfe03 | ||
|
|
52f06cabd2 | ||
|
|
612efe56f1 | ||
|
|
07c0bc7b04 | ||
|
|
f5774bba6f | ||
|
|
714832bb49 | ||
|
|
3bc8d4d0eb | ||
|
|
8083a86581 | ||
|
|
b3528c314a | ||
|
|
65587be737 | ||
|
|
9c24e1ccfb | ||
|
|
0147186565 | ||
|
|
8924cb0960 | ||
|
|
869735e4b5 | ||
|
|
605381f83d | ||
|
|
71f70b4377 | ||
|
|
c6daf4d41c | ||
|
|
3f1dc22c0e | ||
|
|
02527552fd | ||
|
|
ac5b9f2382 | ||
|
|
a2931cd17d | ||
|
|
fc65496d1d | ||
|
|
be98466b0d | ||
|
|
0fd60d1e80 | ||
|
|
35857931ef | ||
|
|
6cb7afcbc0 | ||
|
|
32a0f5b04a | ||
|
|
3bc6190bdd | ||
|
|
4fb9571136 | ||
|
|
e70bb371d9 | ||
|
|
2099ac0615 | ||
|
|
5e28b1216e | ||
|
|
e858ee811b | ||
|
|
a498fc8e72 | ||
|
|
7063b6cb6d | ||
|
|
917d0ced4a | ||
|
|
969418ce73 | ||
|
|
7f3df847a2 | ||
|
|
e0424fe6cc | ||
|
|
b67397861c | ||
|
|
de15a2ace1 | ||
|
|
4369ee2ca7 | ||
|
|
a1163b70a6 | ||
|
|
2030aea175 | ||
|
|
969b66b315 | ||
|
|
4442da306a | ||
|
|
911fd6c654 | ||
|
|
9cee3dda1f | ||
|
|
cc0f026cec | ||
|
|
f1b5c333ff | ||
|
|
123fe58c26 | ||
|
|
fd1e163bf4 | ||
|
|
ab8b4d5c36 | ||
|
|
4a044351a9 | ||
|
|
e0a2268b0e | ||
|
|
3432771150 | ||
|
|
768615f2f1 | ||
|
|
9ae215291f | ||
|
|
1cf206d764 | ||
|
|
4c406ec9c0 | ||
|
|
500b896d50 | ||
|
|
18a239e808 | ||
|
|
5aa07bda7c | ||
|
|
379fd33484 | ||
|
|
ed6629002f | ||
|
|
bcb4ac7aae | ||
|
|
5395b173aa | ||
|
|
735f9c7a45 | ||
|
|
9cbca24f7a | ||
|
|
6f8d29ad80 | ||
|
|
eb947acebe | ||
|
|
01e84edd0a | ||
|
|
b7538b6ada | ||
|
|
232742a5e6 | ||
|
|
a33ddf373b | ||
|
|
b57e735199 | ||
|
|
38816d7e41 | ||
|
|
3a89bb0db2 | ||
|
|
865c38995d | ||
|
|
beae28f2db | ||
|
|
81b2c5ac68 | ||
|
|
35b5f60f99 | ||
|
|
13d0db5f9a | ||
|
|
96f23758b4 | ||
|
|
f7601756e9 | ||
|
|
54059b2f15 | ||
|
|
f00887ea42 | ||
|
|
08a5884c9f | ||
|
|
0f3b7dd6e9 | ||
|
|
bab73edcef | ||
|
|
42d26f01d6 | ||
|
|
8aadc2837c | ||
|
|
ea37882b95 | ||
|
|
599a0c66b2 | ||
|
|
57e0bfc5a9 | ||
|
|
9f424bb208 | ||
|
|
4e5b813aa8 | ||
|
|
6a2c32bd23 | ||
|
|
febcb90ece | ||
|
|
4b300f8274 | ||
|
|
8da8e02dc8 | ||
|
|
3e9b6a330d | ||
|
|
b54c4df74d | ||
|
|
f0a33c00bc | ||
|
|
8631b28130 | ||
|
|
9b3662e5ad | ||
|
|
3fb690a0f6 | ||
|
|
76d41fc250 | ||
|
|
15fa300e04 | ||
|
|
47c86828c6 | ||
|
|
6eaf35a142 | ||
|
|
ea8364eba5 | ||
|
|
fc4b1693f9 | ||
|
|
52f3d6722d | ||
|
|
126628546b | ||
|
|
2540ecc0ac | ||
|
|
b49972a623 | ||
|
|
b82a9a6594 | ||
|
|
be701677d6 | ||
|
|
1e8fc8b062 | ||
|
|
b6c765c9dc | ||
|
|
1d2797dc1f | ||
|
|
4b984f9819 | ||
|
|
e8882a5167 | ||
|
|
4f0490f26f | ||
|
|
7fe6bc52d0 | ||
|
|
b7408fa39e | ||
|
|
7ca5b5c928 | ||
|
|
6f5f613d9f | ||
|
|
52f2509280 | ||
|
|
c07f694a07 | ||
|
|
c49198fd71 | ||
|
|
864bad0ebb | ||
|
|
051858300e | ||
|
|
75d16e4852 | ||
|
|
a756c0b182 | ||
|
|
550cab41fb | ||
|
|
45bd81fe8c | ||
|
|
3f7ee613fc | ||
|
|
93f061f78a | ||
|
|
7517c76ae4 | ||
|
|
e26f771cbe | ||
|
|
bf5a1f662a | ||
|
|
d9753989bf | ||
|
|
391b98f72c | ||
|
|
d40a087ec2 | ||
|
|
138c14d43f | ||
|
|
dc6a594277 | ||
|
|
9f5c61b1fd | ||
|
|
3bca640521 | ||
|
|
73082a338b | ||
|
|
1593ebec1f | ||
|
|
2413968021 | ||
|
|
44b542814a | ||
|
|
2848f5dab4 | ||
|
|
f0f5a8f2b5 | ||
|
|
0563ce93a1 | ||
|
|
6a927be76c | ||
|
|
c8e3ea955d | ||
|
|
b33a9a71f6 | ||
|
|
dc80431438 | ||
|
|
8af3dc140e | ||
|
|
3c7d2d4cea | ||
|
|
de697a4267 | ||
|
|
ca35db76b8 | ||
|
|
b6eded1119 | ||
|
|
c8d8ae89d7 | ||
|
|
b2d949ce9a | ||
|
|
f12ebffa39 | ||
|
|
9b4d32b68c | ||
|
|
f4e708a02f | ||
|
|
b4e83b6537 | ||
|
|
c7637a0c53 | ||
|
|
9b1195c896 | ||
|
|
732c6134dd | ||
|
|
e98c871781 | ||
|
|
d616099de6 | ||
|
|
e3070eb170 | ||
|
|
319b02a757 | ||
|
|
64cdbb8e3b | ||
|
|
edeba4ca34 | ||
|
|
7e03f612b3 | ||
|
|
578f1b8ece | ||
|
|
e2a15d0ec9 | ||
|
|
3c74aec973 | ||
|
|
61e3ef2552 | ||
|
|
136e5fdf95 | ||
|
|
75fe9f9cc4 | ||
|
|
73dad85867 | ||
|
|
91895c52ca | ||
|
|
fc28af8518 | ||
|
|
3545626950 | ||
|
|
6a7079a594 | ||
|
|
42db2bc93d | ||
|
|
a2f5b55d10 | ||
|
|
8e7e9b7040 | ||
|
|
43eefb5929 | ||
|
|
dcdcba9f1f | ||
|
|
dec37b3dbe | ||
|
|
9431112f77 | ||
|
|
7bdd5c9e0d | ||
|
|
c963aa98e8 | ||
|
|
0f6e1c1c05 | ||
|
|
ce8d49a47d | ||
|
|
70dc305f12 | ||
|
|
df45374041 | ||
|
|
22a5a91bd5 | ||
|
|
d5788ba53a | ||
|
|
4d8a1c67c3 | ||
|
|
ea34e4bad8 | ||
|
|
258e2d197a | ||
|
|
e75e09dae8 | ||
|
|
4aee8ba27f | ||
|
|
90c6276fe2 | ||
|
|
1cae3baaea | ||
|
|
209882d5a9 | ||
|
|
2999096221 | ||
|
|
d076255c98 | ||
|
|
b2f2deffe6 | ||
|
|
b31aa4aacb | ||
|
|
85962a3eb1 | ||
|
|
a9696abdce | ||
|
|
e22448fb5c | ||
|
|
db0a102703 | ||
|
|
9034765790 | ||
|
|
3377b29957 | ||
|
|
5390594f40 | ||
|
|
e95753b184 | ||
|
|
6bd0d57c1e | ||
|
|
192b5a41f0 | ||
|
|
c76da2e77d | ||
|
|
8bf45536d3 | ||
|
|
e1fca2a1ab | ||
|
|
f5fe37ab09 | ||
|
|
08813f1650 | ||
|
|
8f7dd2f858 | ||
|
|
05050381d3 | ||
|
|
95d6d2644f | ||
|
|
dbd981939c | ||
|
|
2e45b41902 | ||
|
|
7776c56c6c | ||
|
|
4decceea76 | ||
|
|
26b97722c6 | ||
|
|
38fe928d06 | ||
|
|
c229223e01 | ||
|
|
ab59e41e1a | ||
|
|
392ee70fd5 | ||
|
|
7abad2ff99 | ||
|
|
d337cc6618 | ||
|
|
3a8bff228e | ||
|
|
5ba39fef9a | ||
|
|
c7160e3d25 | ||
|
|
6171d164d7 | ||
|
|
b1e0018b74 | ||
|
|
9b8aa8d09e | ||
|
|
3bed94f4ad | ||
|
|
a895a0d79e | ||
|
|
1da3828a09 | ||
|
|
982ff8733f | ||
|
|
ebe374d572 | ||
|
|
dd45e7b4eb | ||
|
|
63eb0e3a38 | ||
|
|
f472071f6f | ||
|
|
7b695aa684 | ||
|
|
de4b5978c3 | ||
|
|
f23f8f7f5d | ||
|
|
f64acadd58 | ||
|
|
68ea1d0289 | ||
|
|
1574043a9e | ||
|
|
a2a5580e68 | ||
|
|
2696cf9b9e | ||
|
|
d9f962ee6f | ||
|
|
7468d8a000 | ||
|
|
270bb4e2d9 | ||
|
|
d3d9b06eb7 | ||
|
|
e7131bc8f8 | ||
|
|
1df1c15e48 | ||
|
|
986244eeea | ||
|
|
526bc36b40 | ||
|
|
9bdb7bef5d | ||
|
|
54e7d5d260 | ||
|
|
5265c190d4 | ||
|
|
4b7c052ed8 | ||
|
|
b62e7e7d8b | ||
|
|
fd290882fd | ||
|
|
09015f8924 | ||
|
|
b5f382f0ea | ||
|
|
ccd13dd643 | ||
|
|
d66715648a | ||
|
|
e07ff7d3fb | ||
|
|
0d60789f69 | ||
|
|
e769fbaffb | ||
|
|
5721f9f3a9 | ||
|
|
cca9f2392e | ||
|
|
928fa44154 | ||
|
|
a795f03c48 | ||
|
|
8f7b869c08 | ||
|
|
c5294f994e | ||
|
|
34f52e47eb | ||
|
|
f950d27b3d | ||
|
|
2a2da48d18 | ||
|
|
0b1cd826b0 | ||
|
|
b3525b8657 | ||
|
|
8d5556764c | ||
|
|
f965209eee | ||
|
|
5c526995d8 | ||
|
|
50ee82e8bd | ||
|
|
8a3c909c74 | ||
|
|
3a8e1e0484 | ||
|
|
3b53cd56ef | ||
|
|
30e88a4f6b | ||
|
|
e5f47cd14b | ||
|
|
6368b09337 | ||
|
|
b97102da01 | ||
|
|
dbeae16dc1 | ||
|
|
edbcba6f11 | ||
|
|
ed876a9c52 | ||
|
|
67fe8fc4a7 | ||
|
|
55b530f0fd | ||
|
|
3a2c3ea8fa | ||
|
|
aae51a9b23 | ||
|
|
cd2b811555 | ||
|
|
15d1a6c937 | ||
|
|
9ab335626c | ||
|
|
451db7dd98 | ||
|
|
d6293730fc | ||
|
|
8e410f14b1 | ||
|
|
49000dadda | ||
|
|
9bde18492a | ||
|
|
b22fa9f7f4 | ||
|
|
a7b2d23e9b | ||
|
|
ba94f824b9 | ||
|
|
8aec437c23 | ||
|
|
98f656cfcb | ||
|
|
e558ddae3f | ||
|
|
2c665e5e4c | ||
|
|
2fe3d16bbe | ||
|
|
2844f276b9 | ||
|
|
414b5ea6f3 | ||
|
|
c42dcd5ac9 | ||
|
|
b9723aa85b | ||
|
|
03fb13e749 | ||
|
|
e04f04ef0f | ||
|
|
0f3c2c4b24 | ||
|
|
8a94a4938f | ||
|
|
b553ffd55d | ||
|
|
e45958b967 | ||
|
|
0bfdb45b41 | ||
|
|
8cbccb20ef | ||
|
|
f506f73d3f | ||
|
|
7734bbfe4d | ||
|
|
d35c5bcb2f | ||
|
|
c699d3a17a | ||
|
|
d16ac62a51 | ||
|
|
2fa5b8c0a2 | ||
|
|
15feeb7bfe | ||
|
|
02ecc93998 | ||
|
|
34291d5938 | ||
|
|
e726adc27b | ||
|
|
642f460dca | ||
|
|
1d7d9818fa | ||
|
|
c2dcc68803 | ||
|
|
d7c9f2ccba | ||
|
|
7dd61c05dc | ||
|
|
1c1155513a | ||
|
|
f84151e1fe | ||
|
|
4b13f0e025 | ||
|
|
2869ccfe39 | ||
|
|
8ead4745f8 | ||
|
|
15b241cc3e | ||
|
|
2b07a69b93 | ||
|
|
5068ce0569 | ||
|
|
0b1b11ea53 | ||
|
|
ea9f169a6c | ||
|
|
cbd7f89066 | ||
|
|
146ff6f703 | ||
|
|
326ae5ff6b | ||
|
|
8c16f12d7a | ||
|
|
477228d4ff | ||
|
|
9baaa6fa56 | ||
|
|
7834274bff | ||
|
|
d2565d0f61 | ||
|
|
4fde0bf62e | ||
|
|
a679081993 | ||
|
|
177292de13 | ||
|
|
efcb4abfd0 | ||
|
|
1501d1c570 | ||
|
|
59a56ac77f | ||
|
|
35f09f4f74 | ||
|
|
421dfce599 | ||
|
|
b240c15014 | ||
|
|
9de8df496a | ||
|
|
4f65066572 | ||
|
|
c38687725d | ||
|
|
099f236f45 | ||
|
|
996cd7e2ab | ||
|
|
77df590f65 | ||
|
|
ce064188c6 | ||
|
|
5d6f59a598 | ||
|
|
f4a4cf1402 | ||
|
|
032ef0ca34 | ||
|
|
5a7e8d8520 | ||
|
|
63146821d7 | ||
|
|
9ed8eac8c6 | ||
|
|
40bb1699a5 | ||
|
|
74827133b2 | ||
|
|
7c8706757d | ||
|
|
3dc066a143 | ||
|
|
43251ed8ce | ||
|
|
1a16822987 | ||
|
|
fdd4c1b9d1 | ||
|
|
1bd1050160 | ||
|
|
525a0478b0 | ||
|
|
ce28760c2a | ||
|
|
438cb1d7e0 | ||
|
|
87c8cf4892 | ||
|
|
f2fefb91d5 | ||
|
|
4d05d477f8 | ||
|
|
cc95c3e9c8 | ||
|
|
f0a7a6a1e2 | ||
|
|
4090843fef | ||
|
|
c6c18261a0 | ||
|
|
d9e83eb53a | ||
|
|
1cf404177d | ||
|
|
ed9ffec5ba | ||
|
|
582607c0f0 | ||
|
|
6cd5826d21 | ||
|
|
b7e953f50e | ||
|
|
9f630b6653 | ||
|
|
3017dbc8c1 | ||
|
|
5d33b34be7 | ||
|
|
f2104b0a5a | ||
|
|
84b004399e | ||
|
|
e8a01f0916 | ||
|
|
4f1d579ba1 | ||
|
|
c34d8286a3 | ||
|
|
4eb389f2d9 | ||
|
|
999ac60a87 | ||
|
|
30af694e30 | ||
|
|
fa76da1dab | ||
|
|
1500691cc2 | ||
|
|
fae5ea749a | ||
|
|
c2dac55edb | ||
|
|
4c5a74284b | ||
|
|
d0a3cfe765 | ||
|
|
580f1f1213 | ||
|
|
b87d164f2f | ||
|
|
f3c8f342ff | ||
|
|
63a1d8d0db | ||
|
|
93f5cc1e60 | ||
|
|
68a503049b | ||
|
|
fae43010c5 | ||
|
|
30351f5ade | ||
|
|
325a5b4af4 | ||
|
|
021c81cb62 | ||
|
|
7099e09a5c | ||
|
|
97b990c9bf | ||
|
|
db3d99f7c7 | ||
|
|
8fb4f37670 | ||
|
|
dfd4115f7a | ||
|
|
e58ad35fb0 | ||
|
|
31db5078c1 | ||
|
|
40c78d23e6 | ||
|
|
ec1d6d537e | ||
|
|
06bfd2b502 | ||
|
|
fd708b28b8 | ||
|
|
03e3281beb | ||
|
|
f247b9ce20 | ||
|
|
67909b55fc | ||
|
|
43ba690eda | ||
|
|
3425267368 | ||
|
|
0c3d9af333 | ||
|
|
67c2b309d1 | ||
|
|
df0fa9883c | ||
|
|
9821a39549 | ||
|
|
692e117c8a | ||
|
|
d96ca61f2b | ||
|
|
fc58b8cc0d | ||
|
|
c8503daf5a | ||
|
|
45e1f93e56 | ||
|
|
77807d439e | ||
|
|
e062c4e6b5 | ||
|
|
755edd2110 | ||
|
|
f51124397f | ||
|
|
e42111545b | ||
|
|
5112b4b963 | ||
|
|
99c5c7ab28 | ||
|
|
edb1473f13 | ||
|
|
f2171173fe | ||
|
|
7f30863df2 | ||
|
|
a6a2c02b6a | ||
|
|
d3ee99d677 | ||
|
|
4abfd4053a | ||
|
|
05e0ed5173 | ||
|
|
00b480527a | ||
|
|
e4231efd20 | ||
|
|
922d2165b3 | ||
|
|
9cee52c668 | ||
|
|
50e32c3d8a | ||
|
|
5e576bff63 | ||
|
|
e1338f5a7f | ||
|
|
672143d3a2 | ||
|
|
2d94a038a5 | ||
|
|
174d55cf3d | ||
|
|
f2889d24e6 | ||
|
|
db58b62235 | ||
|
|
f3b560b453 | ||
|
|
43e064749c | ||
|
|
4af339da63 | ||
|
|
4cd6e7ec91 | ||
|
|
197b5de9da | ||
|
|
cdfddc0fc5 | ||
|
|
f4d3ec908d | ||
|
|
918aaa64e2 | ||
|
|
2417396a93 | ||
|
|
0a051ff2cd | ||
|
|
d702133ded | ||
|
|
2aaee311f3 | ||
|
|
e8d431c2f6 | ||
|
|
0f4c012321 | ||
|
|
f13a8f725c | ||
|
|
e6690c818d | ||
|
|
5d32aa94d9 | ||
|
|
d413b6eba8 | ||
|
|
f0847e6f32 | ||
|
|
50d7554ccd | ||
|
|
b28d3015fe | ||
|
|
75d521d42a | ||
|
|
1ebaacfd5e | ||
|
|
52cd8652bb | ||
|
|
c6bdf7e891 | ||
|
|
11e19a06b7 | ||
|
|
880ca35681 | ||
|
|
650e98b2a9 | ||
|
|
f84946c135 | ||
|
|
508969a183 | ||
|
|
c39e3613a8 | ||
|
|
4eec9a2fba | ||
|
|
6d1b64065a | ||
|
|
5751437c93 | ||
|
|
9fa0490c44 | ||
|
|
6711ceb662 | ||
|
|
dc7677f5fa | ||
|
|
78fb6f55ed | ||
|
|
c5981cbc9a | ||
|
|
2f52b6c164 | ||
|
|
5d59462e49 | ||
|
|
1b09c64856 | ||
|
|
24b90b475b | ||
|
|
2312f03eac | ||
|
|
1d09e4b620 | ||
|
|
6ea1cf71b5 | ||
|
|
302fe94705 | ||
|
|
38ea8d1d86 | ||
|
|
67ed7e40be | ||
|
|
20f211b70a | ||
|
|
ebb07def7e | ||
|
|
55ab968edf | ||
|
|
3f6d6745de | ||
|
|
d1daae1b59 | ||
|
|
350ea2bf28 | ||
|
|
2f73d24ab1 | ||
|
|
1a05696a84 | ||
|
|
fc804751a2 | ||
|
|
938ef930d4 | ||
|
|
ee21d87d1b | ||
|
|
adfc748bfa | ||
|
|
015c7243b9 | ||
|
|
d376d2a590 | ||
|
|
2ce1e3678a | ||
|
|
365d690d7d | ||
|
|
5cb2fa5981 | ||
|
|
e854562803 | ||
|
|
fad9594b31 | ||
|
|
4fe3b5c6a6 | ||
|
|
1b82fb7349 | ||
|
|
092e7378cd | ||
|
|
e50e687191 | ||
|
|
dd5023e494 | ||
|
|
07cd0c870f | ||
|
|
2b1e672316 | ||
|
|
5adb41a0ed | ||
|
|
98fa996b3f | ||
|
|
07e890a79a | ||
|
|
3f9e39a9e3 | ||
|
|
b51bcba263 | ||
|
|
17d004d52b | ||
|
|
d94e61a7b6 |
@@ -28,3 +28,4 @@ AddType audio/ogg .oga
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
|
||||
</IfModule>
|
||||
|
||||
|
||||
94
.openshift/README.md
Normal file
94
.openshift/README.md
Normal file
@@ -0,0 +1,94 @@
|
||||
#Hubzilla on OpenShift
|
||||
You will notice a new .openshift folder when you fetch from upstream, i.e. from https://github.com/redmatrix/hubzilla.git , which contains a deploy script to set up Hubzilla on OpenShift.
|
||||
|
||||
Create an account on OpenShift, then use the registration e-mail and password to create your first Hubzilla instance. Install git and RedHat's command line tools - rhc - if you have not already done so.
|
||||
|
||||
```
|
||||
rhc app-create your_app_name php-5.4 mysql-5.5 cron phpmyadmin --namespace your_domain --from-code https://github.com/redmatrix/hubzilla.git -l your@email.address -p your_account_password
|
||||
```
|
||||
|
||||
Make a note of the database username and password OpenShift creates for your instance, and use these at https://your_app_name-your_domain.rhcloud.com/ to complete the setup.
|
||||
|
||||
NOTE: PostgreSQL is NOT supported by the deploy script yet.
|
||||
|
||||
Update
|
||||
To update, consider your own workflow first. I have forked Hubzilla code into my GitHub account to be able to try things out, this remote repo is called origin. Here is how I fetch new code from upstream, merge into my local repo, then push the updated code both into origin and the remote repo called openshift.
|
||||
|
||||
```
|
||||
git fetch upstream;git checkout master;git merge upstream/master;git push origin;git push openshift HEAD
|
||||
```
|
||||
|
||||
##Administration
|
||||
Symptoms of need for MySQL database administration are:
|
||||
- you can visit your domain and see the Hubzilla frontpage, but trying to login throws you back to login. This can mean your session table is marked as crashed.
|
||||
- you can login, but your channel posts are not visible. This can mean your item table is marked as crashed.
|
||||
- you can login and you can see your channel posts, but apparently nobody is getting your posts, comments, likes and so on. This can mean your outq table is marked as crashed.
|
||||
|
||||
You can check your OpenShift logs by doing
|
||||
|
||||
```
|
||||
rhc tail -a your_app_name -n your_domain -l your@email.address -p your_account_password
|
||||
```
|
||||
|
||||
and you might be able to confirm the above suspicions about crashed tables, or other problems you need to fix.
|
||||
|
||||
###How to fix crashed tables in MySQL
|
||||
Using MySQL and the MyISAM database engine can result in table indexes coming out of sync, and you have at least two options for fixing tables marked as crashed.
|
||||
- Use the database username and password OpenShift creates for your instance at https://your_app_name-your_domain.rhcloud.com/phpmyadmin/ to login via the web into your phpMyAdmin web interface, click your database in the left column, in the right column scroll down to the bottom of the list of tables and click the checkbox for marking all tables, then select Check tables from the drop down menu. This will check the tables for problems, and you can then checkmark only those tables with problems, and select Repair table from the same drop down menu at the bottom.
|
||||
- You can login to your instance with SSH - see OpenShift for details - then
|
||||
|
||||
```
|
||||
cd mysql/data/your_database
|
||||
myisamchk -r *.MYI
|
||||
```
|
||||
|
||||
or if you get
|
||||
|
||||
```
|
||||
Can't create new tempfile
|
||||
```
|
||||
|
||||
check your OpenShift's gear quota with
|
||||
|
||||
```
|
||||
quota -gus
|
||||
```
|
||||
|
||||
and if you are short on space, then locally (not SSH) do
|
||||
|
||||
```
|
||||
rhc app-tidy your_app_name -l your_login -p your_password
|
||||
```
|
||||
|
||||
to have rhc delete temporary files and OpenShift logs to free space first, then check the size of your local repo dir and execute
|
||||
|
||||
```
|
||||
git gc
|
||||
```
|
||||
|
||||
against it and check the size again, and then to minimize your remote repo connect via SSH to your application gear and execute the same command against it by changing to the remote repo directory - your repo should be in
|
||||
|
||||
```
|
||||
~/git/your_app_name.git
|
||||
```
|
||||
|
||||
(if not, do find -size +1M to find it), then do
|
||||
|
||||
```
|
||||
cd ~/mysql/data/yourdatabase
|
||||
myisamchk -r -v -f*.MYI
|
||||
```
|
||||
|
||||
and hopefully your database tables are now okay.
|
||||
|
||||
##NOTES
|
||||
Note 1: definitely DO turn off feeds and discovery by default if you are on the Free or Bronze plan on OpenShift with a single 1Gb gear by visiting https://your-app-name.rhcloud.com/admin/site when logged in as administrator of your Hubzilla site.
|
||||
Note 2: DO add the above defaults into the deploy script.
|
||||
Note 3: DO add git gc to the deploy script to clean up git.
|
||||
Note 4: MAYBE DO add myisamchk - only checking? to the end of the deploy script.
|
||||
|
||||
The OpenShift `php` cartridge documentation can be found at:
|
||||
http://openshift.github.io/documentation/oo_cartridge_guide.html#php
|
||||
|
||||
For information about .openshift directory, consult the documentation:
|
||||
http://openshift.github.io/documentation/oo_user_guide.html#the-openshift-directory
|
||||
3
.openshift/action_hooks/README.md
Normal file
3
.openshift/action_hooks/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
For information about action hooks, consult the documentation:
|
||||
|
||||
http://openshift.github.io/documentation/oo_user_guide.html#action-hooks
|
||||
205
.openshift/action_hooks/deploy
Executable file
205
.openshift/action_hooks/deploy
Executable file
@@ -0,0 +1,205 @@
|
||||
#!/bin/bash
|
||||
# This deploy hook gets executed after dependencies are resolved and the
|
||||
# build hook has been run but before the application has been started back
|
||||
# up again. This script gets executed directly, so it could be python, php,
|
||||
# ruby, etc.
|
||||
|
||||
# Bash help: http://www.panix.com/~elflord/unix/bash-tute.html
|
||||
|
||||
# For information about action hooks supported by OpenShift, consult the documentation:
|
||||
# http://openshift.github.io/documentation/oo_user_guide.html#the-openshift-directory
|
||||
|
||||
####
|
||||
|
||||
# Hubzilla specific deploy script
|
||||
|
||||
# Place this file in /.openshift/action_hooks/ (The .openshift folder will be in the root of your repo)
|
||||
# The file name should be "deploy" such that you have:
|
||||
# .openshift/action_hooks/deploy
|
||||
|
||||
# Conventions: Vars in curley braces have the slash after implied so no need to add it.
|
||||
# e.g. ${OPENSHIFT_REPO_DIR}php/foobar = /repo/php/foobar
|
||||
# See all OpenShift vars here:
|
||||
# https://www.openshift.com/developers/openshift-environment-variables
|
||||
|
||||
# HME - NOTE - leftover from original openshift-drupal-deploy
|
||||
# In config.php you can leverage the enviroment variables like this:
|
||||
# // Define env vars.
|
||||
# if (array_key_exists('OPENSHIFT_APP_NAME', $_SERVER)) {
|
||||
# $src = $_SERVER;
|
||||
# } else {
|
||||
# $src = $_ENV;
|
||||
# }
|
||||
#
|
||||
# $conf["file_private_path"] = $src['OPENSHIFT_DATA_DIR'] . "private";
|
||||
# $conf["file_temporary_path"] = $src['OPENSHIFT_DATA_DIR'] . "tmp";
|
||||
|
||||
|
||||
####
|
||||
|
||||
# Start Deploy
|
||||
|
||||
echo "Starting Deploy..."
|
||||
|
||||
# Let's create the Hubzilla files directory in the Openshift data folder ($OPENSHIFT_DATA_DIR).
|
||||
|
||||
echo "Check for the files directory called store, if not created - create it"
|
||||
|
||||
if [ ! -d ${OPENSHIFT_DATA_DIR}store ]; then
|
||||
mkdir -p ${OPENSHIFT_DATA_DIR}"store/[data]/smarty3"
|
||||
echo "Done creating files directory"
|
||||
|
||||
else
|
||||
|
||||
echo "The files directory called store already exists"
|
||||
|
||||
fi
|
||||
|
||||
####
|
||||
|
||||
# Set permissions on the files directory.
|
||||
|
||||
echo "Now chmod 777 -R files"
|
||||
|
||||
chmod -R 777 ${OPENSHIFT_DATA_DIR}store
|
||||
|
||||
echo "chmod done, permissions set to 777"
|
||||
|
||||
####
|
||||
|
||||
# Symlink our files folder to the repo.
|
||||
|
||||
# Note the "php" directory below seems to be the best way to serve OpenShift files.
|
||||
# This is good as that allows us for directories one level above such as tmp and private
|
||||
|
||||
echo "Create sym links for writeable directories"
|
||||
|
||||
ln -sf ${OPENSHIFT_DATA_DIR}store ${OPENSHIFT_REPO_DIR}store
|
||||
|
||||
echo "Files sym links created"
|
||||
|
||||
####
|
||||
|
||||
# Copy .htconfig.php from the repo, rename it and place it in the data directory.
|
||||
# if it's there already, skip it.
|
||||
|
||||
if [ ! -f ${OPENSHIFT_DATA_DIR}.htconfig.php ];
|
||||
|
||||
then
|
||||
|
||||
cp ${OPENSHIFT_REPO_DIR}.htconfig.php ${OPENSHIFT_DATA_DIR}.htconfig.php
|
||||
|
||||
echo ".htconfig.php copied."
|
||||
|
||||
else
|
||||
|
||||
echo "Looks like the .htconfig.php file is already there, we won't overwrite it."
|
||||
|
||||
fi
|
||||
|
||||
####
|
||||
|
||||
# symlink the .htconfig.php file.
|
||||
|
||||
echo "Create sym link for .htconfig.php"
|
||||
|
||||
ln -sf ${OPENSHIFT_DATA_DIR}.htconfig.php ${OPENSHIFT_REPO_DIR}.htconfig.php
|
||||
|
||||
echo ".htconfig.php symlink created"
|
||||
|
||||
####
|
||||
# Copy .htaccess from the repo, rename it and place it in the data directory.
|
||||
# if it's there already, skip it.
|
||||
|
||||
if [ ! -f ${OPENSHIFT_DATA_DIR}.htaccess ];
|
||||
|
||||
then
|
||||
|
||||
cp ${OPENSHIFT_REPO_DIR}.htaccess ${OPENSHIFT_DATA_DIR}.htaccess
|
||||
|
||||
echo ".htaccess copied."
|
||||
|
||||
else
|
||||
|
||||
echo "Looks like the .htaccess file is already there, we won't overwrite it."
|
||||
|
||||
fi
|
||||
|
||||
####
|
||||
|
||||
# symlink the .htaccess file.
|
||||
|
||||
echo "Create sym link for .htaccess"
|
||||
|
||||
ln -sf ${OPENSHIFT_DATA_DIR}.htaccess ${OPENSHIFT_REPO_DIR}.htaccess
|
||||
|
||||
echo ".htaccess symlink created"
|
||||
|
||||
####
|
||||
|
||||
echo "Check for the poller at .openshift/cron/minutely/poller , if not created - create it"
|
||||
|
||||
if [ ! -f ${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/poller ]; then
|
||||
printf '%s\n' '#!/bin/bash' 'if [ ! -f $OPENSHIFT_DATA_DIR/last_run ]; then' ' touch $OPENSHIFT_DATA_DIR/last_run' 'fi' 'if [[ $(find $OPENSHIFT_DATA_DIR/last_run -mmin +9) ]]; then #run every 10 mins' ' rm -f $OPENSHIFT_DATA_DIR/last_run' ' touch $OPENSHIFT_DATA_DIR/last_run' ' # The command(s) that you want to run every 10 minutes' 'cd /var/lib/openshift/${OPENSHIFT_APP_UUID}/app-root/repo; /opt/rh/php54/root/usr/bin/php include/poller.php' 'fi' >${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/poller
|
||||
echo "Done creating file .openshift/cron/minutely/poller"
|
||||
|
||||
else
|
||||
|
||||
echo "The poller already exists"
|
||||
|
||||
fi
|
||||
|
||||
####
|
||||
|
||||
# Set permissions on the poller script to make it executable.
|
||||
|
||||
echo "Now chmod 777 -R poller"
|
||||
|
||||
chmod -R 777 ${OPENSHIFT_REPO_DIR}.openshift/cron/minutely/poller
|
||||
|
||||
echo "chmod done, permissions set to 777 on poller script."
|
||||
|
||||
####
|
||||
|
||||
### echo "Check for the hot deploy marker at .openshift/markers/hot_deploy , if not created - create it"
|
||||
|
||||
### if [ ! -f ${OPENSHIFT_REPO_DIR}.openshift/markers/hot_deploy ]; then
|
||||
|
||||
### touch ${OPENSHIFT_REPO_DIR}.openshift/markers/hot_deploy
|
||||
|
||||
### echo "Done creating file .openshift/markers/hot_deploy"
|
||||
|
||||
### else
|
||||
|
||||
### echo "The hot deploy marker already exists"
|
||||
|
||||
### fi
|
||||
|
||||
####
|
||||
|
||||
# Hubzilla configuration - changes to default settings
|
||||
# to make Hubzilla on OpenShift a more pleasant experience
|
||||
echo "Changing default configuration to conserve space"
|
||||
cd ${OPENSHIFT_REPO_DIR}
|
||||
util/config system expire_delivery_reports 3
|
||||
util/config system feed_contacts 0
|
||||
util/config system diaspora_enabled 0
|
||||
util/config system disable_discover_tab 1
|
||||
util/config directory safemode 0
|
||||
util/config directory globaldir 1
|
||||
util/config directory pubforums 0
|
||||
|
||||
# Hubzill addons
|
||||
echo "Try to add or update Hubzilla addons"
|
||||
cd ${OPENSHIFT_REPO_DIR}
|
||||
util/add_addon_repo https://github.com/redmatrix/hubzilla-addons.git HubzillaAddons
|
||||
|
||||
# Hubzilla themes
|
||||
echo "Try to add or update Hubzilla themes"
|
||||
cd ${OPENSHIFT_REPO_DIR}
|
||||
util/add_theme_repo https://github.com/DeadSuperHero/redmatrix-themes.git DeadSuperHeroThemes
|
||||
|
||||
# Hubzilla ownMapp
|
||||
echo "Try to add or update Hubzilla ownMapp"
|
||||
cd ${OPENSHIFT_REPO_DIR}
|
||||
util/add_addon_repo https://gitlab.com/zot/ownmapp.git ownMapp
|
||||
27
.openshift/cron/README.cron
Normal file
27
.openshift/cron/README.cron
Normal file
@@ -0,0 +1,27 @@
|
||||
Run scripts or jobs on a periodic basis
|
||||
=======================================
|
||||
Any scripts or jobs added to the minutely, hourly, daily, weekly or monthly
|
||||
directories will be run on a scheduled basis (frequency is as indicated by the
|
||||
name of the directory) using run-parts.
|
||||
|
||||
run-parts ignores any files that are hidden or dotfiles (.*) or backup
|
||||
files (*~ or *,) or named *.{rpmsave,rpmorig,rpmnew,swp,cfsaved}
|
||||
|
||||
The presence of two specially named files jobs.deny and jobs.allow controls
|
||||
how run-parts executes your scripts/jobs.
|
||||
jobs.deny ===> Prevents specific scripts or jobs from being executed.
|
||||
jobs.allow ===> Only execute the named scripts or jobs (all other/non-named
|
||||
scripts that exist in this directory are ignored).
|
||||
|
||||
The principles of jobs.deny and jobs.allow are the same as those of cron.deny
|
||||
and cron.allow and are described in detail at:
|
||||
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Automating_System_Tasks.html#s2-autotasks-cron-access
|
||||
|
||||
See: man crontab or above link for more details and see the the weekly/
|
||||
directory for an example.
|
||||
|
||||
PLEASE NOTE: The Cron cartridge must be installed in order to run the configured jobs.
|
||||
|
||||
For more information about cron, consult the documentation:
|
||||
http://openshift.github.io/documentation/oo_cartridge_guide.html#cron
|
||||
http://openshift.github.io/documentation/oo_user_guide.html#cron
|
||||
0
.openshift/cron/daily/.gitignore
vendored
Normal file
0
.openshift/cron/daily/.gitignore
vendored
Normal file
0
.openshift/cron/hourly/.gitignore
vendored
Normal file
0
.openshift/cron/hourly/.gitignore
vendored
Normal file
0
.openshift/cron/minutely/.gitignore
vendored
Normal file
0
.openshift/cron/minutely/.gitignore
vendored
Normal file
0
.openshift/cron/monthly/.gitignore
vendored
Normal file
0
.openshift/cron/monthly/.gitignore
vendored
Normal file
16
.openshift/cron/weekly/README
Normal file
16
.openshift/cron/weekly/README
Normal file
@@ -0,0 +1,16 @@
|
||||
Run scripts or jobs on a weekly basis
|
||||
=====================================
|
||||
Any scripts or jobs added to this directory will be run on a scheduled basis
|
||||
(weekly) using run-parts.
|
||||
|
||||
run-parts ignores any files that are hidden or dotfiles (.*) or backup
|
||||
files (*~ or *,) or named *.{rpmsave,rpmorig,rpmnew,swp,cfsaved} and handles
|
||||
the files named jobs.deny and jobs.allow specially.
|
||||
|
||||
In this specific example, the chronograph script is the only script or job file
|
||||
executed on a weekly basis (due to white-listing it in jobs.allow). And the
|
||||
README and chrono.dat file are ignored either as a result of being black-listed
|
||||
in jobs.deny or because they are NOT white-listed in the jobs.allow file.
|
||||
|
||||
For more details, please see ../README.cron file.
|
||||
|
||||
1
.openshift/cron/weekly/chrono.dat
Normal file
1
.openshift/cron/weekly/chrono.dat
Normal file
@@ -0,0 +1 @@
|
||||
Time And Relative D...n In Execution (Open)Shift!
|
||||
3
.openshift/cron/weekly/chronograph
Executable file
3
.openshift/cron/weekly/chronograph
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "`date`: `cat $(dirname \"$0\")/chrono.dat`"
|
||||
12
.openshift/cron/weekly/jobs.allow
Normal file
12
.openshift/cron/weekly/jobs.allow
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Script or job files listed in here (one entry per line) will be
|
||||
# executed on a weekly-basis.
|
||||
#
|
||||
# Example: The chronograph script will be executed weekly but the README
|
||||
# and chrono.dat files in this directory will be ignored.
|
||||
#
|
||||
# The README file is actually ignored due to the entry in the
|
||||
# jobs.deny which is checked before jobs.allow (this file).
|
||||
#
|
||||
chronograph
|
||||
|
||||
7
.openshift/cron/weekly/jobs.deny
Normal file
7
.openshift/cron/weekly/jobs.deny
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# Any script or job files listed in here (one entry per line) will NOT be
|
||||
# executed (read as ignored by run-parts).
|
||||
#
|
||||
|
||||
README
|
||||
|
||||
4
.openshift/markers/README.md
Normal file
4
.openshift/markers/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
For information about markers, consult the documentation:
|
||||
|
||||
http://openshift.github.io/documentation/oo_user_guide.html#markers
|
||||
http://openshift.github.io/documentation/oo_cartridge_guide.html#php-markers
|
||||
0
.openshift/pear.txt
Normal file
0
.openshift/pear.txt
Normal file
46
.travis.yml
Normal file
46
.travis.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
|
||||
language: php
|
||||
|
||||
# list any PHP version you want to test against
|
||||
php:
|
||||
# using major version aliases
|
||||
|
||||
# aliased to a recent 5.4.x version
|
||||
- 5.4
|
||||
# aliased to a recent 5.5.x version
|
||||
- 5.5
|
||||
# aliased to a recent 5.6.x version
|
||||
- 5.6
|
||||
# aliased to a recent 7.x version
|
||||
- 7.0
|
||||
# aliased to a recent hhvm version
|
||||
- hhvm
|
||||
|
||||
# optionally specify a list of environments, for example to test different RDBMS
|
||||
#env:
|
||||
# - DB=mysql
|
||||
# - DB=pgsql
|
||||
|
||||
# optionally set up exclutions and allowed failures in the matrix
|
||||
matrix:
|
||||
# exclude:
|
||||
# - php: hhvm
|
||||
# env: DB=pgsql # PDO driver for pgsql is unsupported by HHVM (3rd party install for support)
|
||||
allow_failures:
|
||||
- php: 7.0
|
||||
- php: hhvm
|
||||
|
||||
# execute any number of scripts before the test run, custom env's are available as variables
|
||||
#before_script:
|
||||
# - if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS hello_world_test;" -U postgres; fi
|
||||
# - if [[ "$DB" == "pgsql" ]]; then psql -c "create database hello_world_test;" -U postgres; fi
|
||||
# - if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS hello_world_test;" -uroot; fi
|
||||
|
||||
# omitting "script:" will default to phpunit
|
||||
# use the $DB env variable to determine the phpunit.xml to use
|
||||
script: phpunit tests/*php
|
||||
|
||||
# configure notifications (email, IRC, campfire etc)
|
||||
notifications:
|
||||
# irc: "irc.freenode.org#yourfavouriteroomfortravis"
|
||||
# a plugin/script to post to a hubzilla channel would be neat here
|
||||
11
README.md
11
README.md
@@ -1,11 +1,12 @@
|
||||

|
||||
|
||||
Hubzilla
|
||||
========
|
||||
Hubzilla - Community Server
|
||||
===========================
|
||||
|
||||
###Websites. Redefined.
|
||||
Help us redefine the web - using integrated and united community websites.
|
||||
--------------------------------------------------------------------------
|
||||
|
||||
|
||||

|
||||
[](https://travis-ci.org/redmatrix/hubzilla)
|
||||
|
||||
**What are Hubs?**
|
||||
|
||||
|
||||
4
app/firefoxshare.apd
Normal file
4
app/firefoxshare.apd
Normal file
@@ -0,0 +1,4 @@
|
||||
url: $baseurl/ffsapi
|
||||
requires: local_channel
|
||||
name: Firefox Share
|
||||
photo: $baseurl/app/firefoxshare.png
|
||||
BIN
app/firefoxshare.png
Normal file
BIN
app/firefoxshare.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
4
app/grid.apd
Normal file
4
app/grid.apd
Normal file
@@ -0,0 +1,4 @@
|
||||
url: $baseurl/network
|
||||
requires: local_channel
|
||||
name: Grid
|
||||
photo: $baseurl/images/hubzilla_logo_6.png
|
||||
@@ -1,4 +0,0 @@
|
||||
url: $baseurl/network
|
||||
requires: local_channel
|
||||
name: Matrix
|
||||
photo: $baseurl/app/matrix.png
|
||||
BIN
app/matrix.png
BIN
app/matrix.png
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 KiB |
68
boot.php
68
boot.php
@@ -48,9 +48,11 @@ require_once('include/AccessList.php');
|
||||
|
||||
define ( 'PLATFORM_NAME', 'hubzilla' );
|
||||
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'H');
|
||||
define ( 'STD_VERSION', '1.0' );
|
||||
define ( 'ZOT_REVISION', 1 );
|
||||
|
||||
define ( 'DB_UPDATE_VERSION', 1152 );
|
||||
define ( 'DB_UPDATE_VERSION', 1160 );
|
||||
|
||||
|
||||
/**
|
||||
* @brief Constant with a HTML line break.
|
||||
@@ -64,10 +66,10 @@ define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
||||
//define ( 'NULL_DATE', '0000-00-00 00:00:00' );
|
||||
define ( 'TEMPLATE_BUILD_PATH', 'store/[data]/smarty3' );
|
||||
|
||||
define ( 'DIRECTORY_MODE_NORMAL', 0x0000); // This is technically DIRECTORY_MODE_TERTIARY, but it's the default, hence 0x0000
|
||||
define ( 'DIRECTORY_MODE_PRIMARY', 0x0001);
|
||||
define ( 'DIRECTORY_MODE_SECONDARY', 0x0002);
|
||||
define ( 'DIRECTORY_MODE_STANDALONE', 0x0100);
|
||||
define ( 'DIRECTORY_MODE_NORMAL', 0x0000); // A directory client
|
||||
define ( 'DIRECTORY_MODE_PRIMARY', 0x0001); // There can only be *one* primary directory server in a directory_realm.
|
||||
define ( 'DIRECTORY_MODE_SECONDARY', 0x0002); // All other mirror directory servers
|
||||
define ( 'DIRECTORY_MODE_STANDALONE', 0x0100); // A detached (off the grid) hub with itself as directory server.
|
||||
|
||||
// We will look for upstream directories whenever me make contact
|
||||
// with other sites, but if this is a new installation and isn't
|
||||
@@ -79,10 +81,11 @@ define ( 'DIRECTORY_FALLBACK_MASTER', 'https://zothub.com');
|
||||
|
||||
$DIRECTORY_FALLBACK_SERVERS = array(
|
||||
'https://zothub.com',
|
||||
'https://zotid.net',
|
||||
'https://hubzilla.site',
|
||||
'https://red.zottel.red',
|
||||
'https://gravizot.de',
|
||||
'https://my.federated.social',
|
||||
'https://blablanet.com',
|
||||
'https://my.federated.social'
|
||||
);
|
||||
|
||||
|
||||
@@ -333,6 +336,12 @@ define ( 'MENU_ITEM_ZID', 0x0001);
|
||||
define ( 'MENU_ITEM_NEWWIN', 0x0002);
|
||||
define ( 'MENU_ITEM_CHATROOM', 0x0004);
|
||||
|
||||
|
||||
|
||||
define ( 'SITE_TYPE_ZOT', 0);
|
||||
define ( 'SITE_TYPE_NOTZOT', 1);
|
||||
define ( 'SITE_TYPE_UNKNOWN', 2);
|
||||
|
||||
/**
|
||||
* Poll/Survey types
|
||||
*/
|
||||
@@ -415,6 +424,7 @@ define ( 'TERM_SAVEDSEARCH', 6 );
|
||||
define ( 'TERM_THING', 7 );
|
||||
define ( 'TERM_BOOKMARK', 8 );
|
||||
define ( 'TERM_HIERARCHY', 9 );
|
||||
define ( 'TERM_COMMUNITYTAG', 10 );
|
||||
|
||||
define ( 'TERM_OBJ_POST', 1 );
|
||||
define ( 'TERM_OBJ_PHOTO', 2 );
|
||||
@@ -612,10 +622,10 @@ class App {
|
||||
public $poi = null; // "person of interest", generally a referenced connection
|
||||
private $oauth_key = null; // consumer_id of oauth request, if used
|
||||
public $layout = array(); // Comanche parsed template
|
||||
public $pdl = null;
|
||||
public $pdl = null; // Comanche page description
|
||||
private $perms = null; // observer permissions
|
||||
private $widgets = array(); // widgets for this page
|
||||
//private $widgetlist = null; // widget ordering and inclusion directives
|
||||
|
||||
|
||||
public $groups;
|
||||
public $language;
|
||||
@@ -930,26 +940,6 @@ class App {
|
||||
return $this->groups;
|
||||
}
|
||||
|
||||
function set_widget($title,$html, $location = 'aside') {
|
||||
$this->widgets[] = array('title' => $title, 'html' => $html, 'location' => $location);
|
||||
}
|
||||
|
||||
function get_widgets($location = '') {
|
||||
if($location && count($this->widgets)) {
|
||||
$ret = array();
|
||||
foreach($this->widgets as $w) {
|
||||
if ($w['location'] == $location)
|
||||
$ret[] = $w;
|
||||
}
|
||||
$arr = array('location' => $location, 'widgets' => $ret);
|
||||
call_hooks('get_widgets', $arr);
|
||||
return $arr['widgets'];
|
||||
}
|
||||
$arr = array('location' => $location, 'widgets' => $this->widgets);
|
||||
call_hooks('get_widgets', $arr);
|
||||
return $arr['widgets'];
|
||||
}
|
||||
|
||||
function set_pager_total($n) {
|
||||
$this->pager['total'] = intval($n);
|
||||
}
|
||||
@@ -1168,7 +1158,7 @@ function z_root() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Return absolut URL for given $path.
|
||||
* @brief Return absolute URL for given $path.
|
||||
*
|
||||
* @param string $path
|
||||
*
|
||||
@@ -1480,12 +1470,6 @@ function login($register = false, $form_id = 'main-login', $hiddens=false) {
|
||||
$tpl = get_markup_template("logout.tpl");
|
||||
}
|
||||
else {
|
||||
// There's no such thing as login_head.tpl, has never been in Red, removed from Friendica 1 Jun 2013...
|
||||
|
||||
// $a->page['htmlhead'] .= replace_macros(get_markup_template("login_head.tpl"), array(
|
||||
// '$baseurl' => $a->get_baseurl(true)
|
||||
// ));
|
||||
|
||||
$tpl = get_markup_template("login.tpl");
|
||||
if(strlen($a->query_string))
|
||||
$_SESSION['login_return_url'] = $a->query_string;
|
||||
@@ -2069,15 +2053,8 @@ function construct_page(&$a) {
|
||||
|
||||
$a->build_pagehead();
|
||||
|
||||
$arr = $a->get_widgets();
|
||||
ksort($arr, SORT_NUMERIC);
|
||||
if(count($arr)) {
|
||||
foreach($arr as $x) {
|
||||
if(! array_key_exists($x['location'], $a->page))
|
||||
$a->page[$x['location']] = '';
|
||||
|
||||
$a->page[$x['location']] .= $x['html'];
|
||||
}
|
||||
if($a->page['pdl_content']) {
|
||||
$a->page['content'] = comanche_region($a,$a->page['content']);
|
||||
}
|
||||
|
||||
// Let's say we have a comanche declaration '[region=nav][/region][region=content]$nav $content[/region]'.
|
||||
@@ -2094,6 +2071,7 @@ function construct_page(&$a) {
|
||||
call_hooks('construct_page', $arr);
|
||||
$a->layout = $arr['layout'];
|
||||
|
||||
|
||||
foreach($a->layout as $k => $v) {
|
||||
if((strpos($k, 'region_') === 0) && strlen($v)) {
|
||||
if(strpos($v, '$region_') !== false) {
|
||||
|
||||
136
doc/Hooks.md
136
doc/Hooks.md
@@ -1,136 +0,0 @@
|
||||
Hooks - Complete List
|
||||
=====================
|
||||
|
||||
|
||||
* 'about_hook'
|
||||
* 'account_settings'
|
||||
* 'app_menu'
|
||||
* 'atom_author'
|
||||
* 'atom_entry'
|
||||
* 'atom_feed'
|
||||
* 'atom_feed_end'
|
||||
* 'authenticate'
|
||||
* 'avatar_lookup'
|
||||
* 'bb2diaspora'
|
||||
* 'bbcode'
|
||||
* 'channel_remove'
|
||||
* 'check_account_email'
|
||||
* 'check_account_invite'
|
||||
* 'check_account_password'
|
||||
* 'connect_premium'
|
||||
* 'connector_settings'
|
||||
* 'contact_block_end'
|
||||
* 'contact_edit'
|
||||
* 'contact_edit_post'
|
||||
* 'contact_photo_menu'
|
||||
* 'contact_select_options'
|
||||
* 'conversation_start'
|
||||
* 'cron'
|
||||
* 'directory_item'
|
||||
* 'display_item'
|
||||
* 'display_item'
|
||||
* 'display_settings'
|
||||
* 'display_settings_post'
|
||||
* 'enotify'
|
||||
* 'enotify_mail'
|
||||
* 'enotify_store'
|
||||
* 'event_created'
|
||||
* 'event_updated'
|
||||
* 'feature_enabled'
|
||||
* 'feature_settings'
|
||||
* 'feature_settings_post'
|
||||
* 'follow'
|
||||
* 'gender_selector'
|
||||
* 'get_all_perms'
|
||||
* 'get_features'
|
||||
* 'get_widgets'
|
||||
* 'global_permissions'
|
||||
* 'home_content'
|
||||
* 'home_init'
|
||||
* 'html2bbcode'
|
||||
* 'import_directory_profile'
|
||||
* 'init_1'
|
||||
* 'item_photo_menu'
|
||||
* 'item_translate'
|
||||
* 'jot_networks'
|
||||
* 'jot_tool'
|
||||
* 'logged_in'
|
||||
* 'login_hook'
|
||||
* 'logging_out'
|
||||
* 'magic_auth'
|
||||
* 'magic_auth_success'
|
||||
* 'main_slider'
|
||||
* 'marital_selector'
|
||||
* 'mood_verbs'
|
||||
* 'network_content_init'
|
||||
* 'network_ping'
|
||||
* 'network_tabs'
|
||||
* 'network_to_name'
|
||||
* 'notifier_end'
|
||||
* 'notifier_normal'
|
||||
* 'obj_verbs'
|
||||
* 'oembed_probe'
|
||||
* 'page_content_top'
|
||||
* 'page_end'
|
||||
* 'page_header'
|
||||
* 'parse_atom'
|
||||
* 'parse_link'
|
||||
* 'pdl_selector'
|
||||
* 'perm_is_allowed'
|
||||
* 'personal_xrd'
|
||||
* 'photo_post_end'
|
||||
* 'photo_post_end'
|
||||
* 'photo_upload_begin'
|
||||
* 'photo_upload_end'
|
||||
* 'photo_upload_file'
|
||||
* 'photo_upload_form'
|
||||
* 'poke_verbs'
|
||||
* 'post_local'
|
||||
* 'post_local_end'
|
||||
* 'post_local_start'
|
||||
* 'post_mail'
|
||||
* 'post_mail_end'
|
||||
* 'post_remote'
|
||||
* 'post_remote_end'
|
||||
* 'post_remote_update'
|
||||
* 'post_remote_update_end'
|
||||
* 'prepare_body'
|
||||
* 'prepare_body_final'
|
||||
* 'prepare_body_init'
|
||||
* 'proc_run'
|
||||
* 'profile_advanced'
|
||||
* 'profile_edit'
|
||||
* 'profile_post'
|
||||
* 'profile_sidebar'
|
||||
* 'profile_sidebar_enter'
|
||||
* 'profile_tabs'
|
||||
* 'register_account'
|
||||
* 'render_location'
|
||||
* 'settings_account'
|
||||
* 'settings_form'
|
||||
* 'settings_post'
|
||||
* 'sexpref_selector'
|
||||
* 'smilie'
|
||||
* 'validate_channelname'
|
||||
* 'webfinger'
|
||||
* 'zid'
|
||||
* 'zid_init'
|
||||
|
||||
***General Module Hooks***
|
||||
|
||||
* $a->module . '_mod_aftercontent'
|
||||
* $a->module . '_mod_aside'
|
||||
* $a->module . '_mod_content'
|
||||
* $a->module . '_mod_init'
|
||||
* $a->module . '_mod_post'
|
||||
|
||||
***General Selector Hooks***
|
||||
|
||||
* $a->module . '_post_' . $selname
|
||||
* $a->module . '_post_' . $selname
|
||||
* $a->module . '_post_' . $selname
|
||||
* $a->module . '_pre_' . $selname
|
||||
* $a->module . '_pre_' . $selname
|
||||
* $a->module . '_pre_' . $selname
|
||||
|
||||
#include doc/macros/main_footer.bb;
|
||||
105
doc/Hubzilla_on_OpenShift.bb
Normal file
105
doc/Hubzilla_on_OpenShift.bb
Normal file
@@ -0,0 +1,105 @@
|
||||
[b]Hubzilla on OpenShift[/b]
|
||||
You will notice a new .openshift folder when you fetch from upstream, i.e. from [url=https://github.com/redmatrix/hubzilla.git]https://github.com/redmatrix/hubzilla.git[/url] , which contains a deploy script to set up Hubzilla on OpenShift with plugins and extra themes.
|
||||
|
||||
As of this writing, 2015-10-28, you do not have to pay for OpenShift on the Free plan, which gives you three gears at no cost. The Bronze plan gives you three gears at no cost too, but you can expand to 16 gears by paying, and this requires you to register your payment card. The three gears can give three instances of Hubzilla with one gear each, or you can combine two gears into one high-availability Hubzilla instance and one extra gear. The main difference to be aware of is this: gears on the Free plan will go into hibernation if left idle for too long, this does not happen on the Bronze plan.
|
||||
|
||||
Create an account on OpenShift, then use the registration e-mail and password to create your first Hubzilla instance. Install git and RedHat's command line tools - rhc - if you have not already done so. See for example https://developers.openshift.com/en/getting-started-debian-ubuntu.html on how to do this on Debian GNU/Linux, or in the menu on that page for other GNU/Linux distributions or other operating systems.
|
||||
|
||||
[code]rhc app-create your_app_name php-5.4 mysql-5.5 cron phpmyadmin --namespace your_domain --from-code https://github.com/redmatrix/hubzilla.git -l your@email.address -p your_account_password
|
||||
[/code]
|
||||
|
||||
Make a note of the database username and password OpenShift creates for your instance, and use these at [url=https://your_app_name-your_domain.rhcloud.com/]https://your_app_name-your_domain.rhcloud.com/[/url] to complete the setup.
|
||||
|
||||
NOTE: PostgreSQL is NOT supported by the deploy script yet, see [zrl=https://zot-mor.rhcloud.com/display/3c7035f2a6febf87057d84ea0ae511223e9b38dc27913177bc0df053edecac7c@zot-mor.rhcloud.com?zid=haakon%40zot-mor.rhcloud.com]this thread[/zrl].
|
||||
|
||||
[b]Update[/b]
|
||||
To update, consider your own workflow first. I have forked Hubzilla code into my GitHub account to be able to try things out, this remote repo is called origin. Here is how I fetch new code from upstream, merge into my local repo, then push the updated code both into origin and the remote repo called openshift.
|
||||
|
||||
[code]git fetch upstream;git checkout master;git merge upstream/master;git push origin;git push openshift HEAD
|
||||
[/code]
|
||||
|
||||
[b]Administration[/b]
|
||||
Symptoms of need for MySQL database administration are:
|
||||
[list]
|
||||
[*] you can visit your domain and see the Hubzilla frontpage, but trying to login throws you back to login. This can mean your session table is marked as crashed.
|
||||
[*] you can login, but your channel posts are not visible. This can mean your item table is marked as crashed.
|
||||
[*] you can login and you can see your channel posts, but apparently nobody is getting your posts, comments, likes and so on. This can mean your outq table is marked as crashed.
|
||||
[/list]
|
||||
|
||||
You can check your OpenShift logs by doing
|
||||
|
||||
[code]
|
||||
rhc tail -a your_app_name -n your_domain -l your@email.address -p your_account_password
|
||||
[/code]
|
||||
|
||||
and you might be able to confirm the above suspicions about crashed tables, or other problems you need to fix.
|
||||
|
||||
[b]How to fix crashed tables in MySQL[/b]
|
||||
Using MySQL and the MyISAM database engine can result in table indexes coming out of sync, and you have at least two options for fixing tables marked as crashed.
|
||||
[list]
|
||||
[*] Use the database username and password OpenShift creates for your instance at [url=https://your_app_name-your_domain.rhcloud.com/phpmyadmin/]https://your_app_name-your_domain.rhcloud.com/phpmyadmin/[/url] to login via the web into your phpMyAdmin web interface, click your database in the left column, in the right column scroll down to the bottom of the list of tables and click the checkbox for marking all tables, then select Check tables from the drop down menu. This will check the tables for problems, and you can then checkmark only those tables with problems, and select Repair table from the same drop down menu at the bottom.
|
||||
[*] You can port-forward the MySQL database service to your own machine and use the MySQL client called mysqlcheck to check, repair and optimize your database or individual database tables without stopping the MySQL service on OpenShift. Run the following in two separate console windows.
|
||||
|
||||
To port-forward do
|
||||
|
||||
[code]rhc port-forward -a your_app_name -n your_domain -l your@email.address -p your_password[/code]
|
||||
|
||||
in one console window, then do either -o for optimize, -c for check or -r for repair, like this
|
||||
|
||||
[code]mysqlcheck -h 127.0.0.1 -r your_app_name -u your_app_admin_name -p[/code]
|
||||
|
||||
and give the app's password at the prompt. If all goes well you should see a number of table names with an OK behind them.
|
||||
|
||||
You can now
|
||||
[code]Press CTRL-C to terminate port forwarding[/code]
|
||||
[*] You can do
|
||||
|
||||
[code]rhc cartridge stop mysql-5.5 -a your_app_name[/code]
|
||||
|
||||
to stop the MySQL service running in your app on OpenShift before running myisamchk - which should only be run when MySQL is stopped, and then
|
||||
login to your instance with SSH - see OpenShift for details - and do
|
||||
|
||||
[code]cd mysql/data/your_database
|
||||
myisamchk -r *.MYI[/code]
|
||||
|
||||
or if you get
|
||||
|
||||
[code]Can't create new tempfile[/code]
|
||||
|
||||
check your OpenShift's gear quota with
|
||||
|
||||
[code]quota -gus[/code]
|
||||
|
||||
and if you are short on space, then locally (not SSH) do
|
||||
|
||||
[code]rhc app-tidy your_app_name -l your_login -p your_password[/code]
|
||||
|
||||
to have rhc delete temporary files and OpenShift logs to free space first, then check the size of your local repo dir and execute
|
||||
|
||||
[code]git gc[/code]
|
||||
|
||||
against it and check the size again, and then to minimize your remote repo connect via SSH to your application gear and execute the same command against it by changing to the remote repo directory - your repo should be in
|
||||
|
||||
[code]~/git/your_app_name.git[/code]
|
||||
|
||||
(if not, do find -size +1M to find it), then do
|
||||
|
||||
[code]
|
||||
cd
|
||||
cd mysql/data/yourdatabase
|
||||
myisamchk -r -v -f*.MYI[/code]
|
||||
|
||||
and hopefully your database tables are now okay.
|
||||
You can now start the MySQL service on OpenShift by locally doing
|
||||
|
||||
[code]rhc cartridge start mysql-5.5 -a your_app_name[/code]
|
||||
[/list]
|
||||
|
||||
[b]Notes[/b]
|
||||
[list]
|
||||
[*] definitely DO turn off feeds and discovery by default and limit delivery reports from 30 days to 3 days if you are on the Free or Bronze plan on OpenShift with a single 1Gb gear by visiting [observer.baseurl]/admin/site when logged in as administrator of your Hubzilla site.
|
||||
[*] The above defaults have been added into the deploy script.
|
||||
[*] DO add git gc to the deploy script
|
||||
[*] MAYBE DO add myisamchk - only checking? to the end of the deploy script.
|
||||
[*] mysqlcheck is similar in function to myisamchk, but works differently. The main operational difference is that mysqlcheck must be used when the mysqld server is running, whereas myisamchk should be used when it is not. The benefit of using mysqlcheck is that you do not have to stop the server to perform table maintenance - this means this documenation should be fixed.
|
||||
[/list]
|
||||
@@ -5,7 +5,7 @@ Hubzilla
|
||||
###Websites. Redefined.
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
**What are Hubs?**
|
||||
|
||||
@@ -39,4 +39,4 @@ Possible website applications include
|
||||
|
||||
|
||||
|
||||
This project is under development and is not yet available for general use.
|
||||
This project is under development and is not yet available for general use.
|
||||
|
||||
@@ -88,7 +88,7 @@ Some/many of these widgets have restrictions which may restrict the type of page
|
||||
* photo_rand - display a random photo from one of your photo albums. Photo permissions are honoured
|
||||
* args:
|
||||
* album - album name (very strongly recommended if you have lots of photos)
|
||||
* scale - typically 0 (original size), 1 (640px), or 2 (320px)
|
||||
* scale - typically 0 (original size), 1 (1024px), 2, (640px), or 3 (320px)
|
||||
* style - CSS style string
|
||||
* channel_id - if not your own
|
||||
<br /> <br />
|
||||
@@ -108,6 +108,13 @@ Some/many of these widgets have restrictions which may restrict the type of page
|
||||
<br /> <br />
|
||||
|
||||
|
||||
* album - provides a widget containing a complete photo album from albums belonging to the page owner; this may be too large to present in a sidebar region as is best implemented as a content region widget.
|
||||
* args:
|
||||
* album - album name
|
||||
* title - optional title, album name is used if not present
|
||||
<br /> <br />
|
||||
|
||||
|
||||
Creating New Widgets
|
||||
====================
|
||||
|
||||
|
||||
14
doc/about.bb
14
doc/about.bb
@@ -1,8 +1,8 @@
|
||||
[b]About[/b]
|
||||
|
||||
The $Projectname is a decentralized communication network, which aims to provide communication that is censorship-resistant, privacy-respecting, and thus free from the oppressive claws of contemporary corporate communication giants. These giants function primarily as spy networks for paying clients of all sorts and types, in addition to monopolizing and centralizing the Internet; a feature that was not part of the original and revolutionary goals that produced the World Wide Web.
|
||||
$Projectname is a decentralized communication network, which aims to provide communication that is censorship-resistant, privacy-respecting, and thus free from the oppressive claws of contemporary corporate communication giants. These giants function primarily as spy networks for paying clients of all sorts and types, in addition to monopolizing and centralizing the Internet; a feature that was not part of the original and revolutionary goals that produced the World Wide Web.
|
||||
|
||||
The $Projectname is free and open source. It is designed to scale from a $35 Raspberry Pi, to top of the line AMD and Intel Xeon-powered multi-core enterprise servers. It can be used to support communication between a few individuals, or scale to many thousands and more.
|
||||
$Projectname is free and open source. It is designed to scale from a $35 Raspberry Pi, to top of the line AMD and Intel Xeon-powered multi-core enterprise servers. It can be used to support communication between a few individuals, or scale to many thousands and more.
|
||||
|
||||
Red aims to be skill and resource agnostic. It is easy to use by everyday computer users, as well as by systems administrators and developers.
|
||||
|
||||
@@ -10,15 +10,15 @@ How you use it depends on how you want to use it.
|
||||
|
||||
It is written in the PHP scripting language, thus making it trivial to install on any hosting platform in use today. This includes self-hosting at home, at hosting providers such as [url=http://mediatemple.com/]Media Temple[/url] and [url=http://www.dreamhost.com/]Dreamhost[/url], or on virtual and dedicated servers, offered by the likes of [url=https://www.linode.com]Linode[/url], [url=http://greenqloud.com]GreenQloud[/url] or [url=https://aws.amazon.com]Amazon AWS[/url].
|
||||
|
||||
In other words, the $Projectname can run on any computing platform that comes with a web server, a MySQL-compatible database, and the PHP scripting language.
|
||||
In other words, $Projectname can run on any computing platform that comes with a web server, a MySQL-compatible database, and the PHP scripting language.
|
||||
|
||||
Along the way, Red offers a number of unique goodies:
|
||||
Along the way, $Projectname offers a number of unique goodies:
|
||||
|
||||
[b]Single-click user identification:[/b] meaning you can access sites on the $Projectname simply by clicking on links to remote sites. Authentication just happens automagically behind the scenes. Forget about remembering multiple user names with multiple passwords when accessing different sites online.
|
||||
[b]Single-click user identification:[/b] meaning you can access sites on $Projectname simply by clicking on links to remote sites. Authentication just happens automagically behind the scenes. Forget about remembering multiple user names with multiple passwords when accessing different sites online.
|
||||
|
||||
[b]Cloning:[/b] of online identities. Your online presence no longer has to be tied to a single server, domain name or IP address. You can clone and import your identity (or channel as we call it) to another server (or, a hub as servers are known in the $Projectname). Now, should your primary hub go down, no worries, your contacts, posts[i]*[/i], and messages[i]*[/i] will automagically continue to be available and accessible under your cloned channel. [i](*: only posts and messages as from the moment you cloned your channel)[/i]
|
||||
[b]Cloning:[/b] of online identities. Your online presence no longer has to be tied to a single server, domain name or IP address. You can clone and import your identity (or channel as we call it) to another server (or, a hub as servers are known in $Projectname). Now, should your primary hub go down, no worries, your contacts, posts[i]*[/i], and messages[i]*[/i] will automagically continue to be available and accessible under your cloned channel. [i](*: only posts and messages as from the moment you cloned your channel)[/i]
|
||||
|
||||
[b]Privacy:[/b] Red identities (Zot IDs) can be deleted, backed up/downloaded, and cloned. The user is in full control of their data. Should you decide to delete all your content and erase your Zot ID, all you have to do is click on a link and it's immediately deleted from the hub. No questions, no fuss.
|
||||
[b]Privacy:[/b] $Projectname identities (Zot IDs) can be deleted, backed up/downloaded, and cloned. The user is in full control of their data. Should you decide to delete all your content and erase your Zot ID, all you have to do is click on a link and it's immediately deleted from the hub. No questions, no fuss.
|
||||
|
||||
#include doc/macros/main_footer.bb;
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
[*] qrator - generate QR code images
|
||||
[*] rainbowtag - display your tag and category clouds in colours
|
||||
[*] randpost - post/reply bot based on and requires fortunate
|
||||
[*] redred - Crosspost to another Redmatrix or Hubzilla channel
|
||||
[*] redred - Crosspost to another Red Matrix or Hubzilla channel
|
||||
[*] rtof - Crosspost to Friendica
|
||||
[*] smiley_pack - extend the built-in smilie (emoticon) support
|
||||
[*] smileybutton - provides a smiley selector on the post window
|
||||
|
||||
@@ -4,9 +4,12 @@
|
||||
|
||||
[zrl=[baseurl]/help/install]Install[/zrl]
|
||||
[zrl=[baseurl]/help/red2pi]Installing $Projectname on the Raspberry Pi[/zrl]
|
||||
[zrl=[baseurl]/help/Hubzilla_on_OpenShift]$Projectname on OpenShift[/zrl]
|
||||
[zrl=[baseurl]/help/troubleshooting]Troubleshooting Tips[/zrl]
|
||||
[zrl=[baseurl]/help/hidden_configs]Tweaking $Projectname's Hidden Configurations[/zrl]
|
||||
[zrl=[baseurl]/help/faq_admins]FAQ For Admins[/zrl]
|
||||
[zrl=[baseurl]/help/service_classes]Service Classes[/zrl]
|
||||
[zrl=[baseurl]/help/directories]Working with and configuring Directories[/zrl]
|
||||
[zrl=[baseurl]/help/theme_management]Theme Management[/zrl]
|
||||
|
||||
|
||||
|
||||
23
doc/api/statuses_update.bb
Normal file
23
doc/api/statuses_update.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
[h2]statuses/update[/h2]
|
||||
Parameters
|
||||
|
||||
title: Title of the status
|
||||
status: Status in text [or bbcode] format
|
||||
htmlstatus: Status in HTML format
|
||||
in_reply_to_status_id
|
||||
lat: latitude
|
||||
long: longitude
|
||||
media: image data
|
||||
source: Application name
|
||||
group_allow
|
||||
contact_allow
|
||||
group_deny
|
||||
contact_deny
|
||||
|
||||
|
||||
Example
|
||||
|
||||
[code]
|
||||
curl -u theUsername:thePassword http://mywebsite/api/statuses/update.xml -d status='Hello world'
|
||||
[/code]
|
||||
|
||||
@@ -4,19 +4,20 @@ The API allows you to post to the red# by HTTP POST request. Below you see an ex
|
||||
|
||||
[code]curl -ssl -u [color=blue]$E-Mail[/color]:[color=blue]$Password[/color] -d "[color=blue]$Parameters[/color]" [url][observer=1][observer.baseurl][/observer][observer=0]example.com[/observer]/api/statuses/update
|
||||
[/url][/code]
|
||||
[table][tr][td]$E-Mail:[/td][td]The E-Mail Adress you use to login[/td][/tr]
|
||||
[table][tr][td]$E-Mail:[/td][td]The E-Mail Address you use to login, or the channel nickname (without the hostname)[/td][/tr]
|
||||
[tr][td]$Password:[/td][td]The Password you use to login[/td][/tr]
|
||||
[tr][td]$Parameters:[/td][td]That's the interesting part, here you insert the content you want to send using the following parameters:[/td][/tr][/table]
|
||||
|
||||
[ul]
|
||||
[*]title: the title of the posting
|
||||
[*]channel: the channel you want to post to
|
||||
[*]channel: the channel you want to post to (do not use this parameter with HTTP Basic auth)
|
||||
[*]category: a comma-seperated list of categories for the posting
|
||||
[*]status: the content of the posting, formatted with BBCode
|
||||
OR
|
||||
[*]htmlstatus:the content of the posting, formatted in HTML.
|
||||
[/ul]
|
||||
|
||||
To post to a specific channel, replace the email address with the channel nickname. If you supply the channel parameter, it has to match the "email", but is superfluous anyway.
|
||||
|
||||
Instead of calling [observer=1][observer.baseurl][/observer][observer=0]example.com[/observer]/api/statuses/update which returns a json (you could also add .json on the end to clarify) output, you can use [observer.baseurl]/api/statuses/update.xml to get an xml formatted return.
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
<li>[u]underlined[/u] - <u>underlined</u><br />
|
||||
<li>[s]strike[/s] - <strike>strike</strike><br />
|
||||
<li>[color=red]red[/color] - <span style="color: red;">red</span><br />
|
||||
<li>[url=https://redmatrix.me]$Projectname[/url] <a href="https://redmatrix.me">$Projectname</a><br />
|
||||
<li>[img]https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg[/img] <img src="https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg" alt="Image/photo" /><br />
|
||||
<li>[img float=left]https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg[/img] <img src="https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg" style="float:left;" alt="Image/photo" /><br />
|
||||
<li>[url=https://zothub.com]$Projectname[/url] <a href="https://zothub.com">$Projectname</a><br />
|
||||
<li>[img]https://zothub.com/images/default_profile_photos/rainbow_man/48.jpg[/img] <img src="https://zothub.com/images/default_profile_photos/rainbow_man/48.jpg" alt="Image/photo" /><br />
|
||||
<li>[img float=left]https://zothub.com/images/default_profile_photos/rainbow_man/48.jpg[/img] <img src="https://zothub.com/images/default_profile_photos/rainbow_man/48.jpg" style="float:left;" alt="Image/photo" /><br />
|
||||
<div style="clear:both;"></div>
|
||||
<li>[img float=right]https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg[/img] <img src="https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg" style="float:right;" alt="Image/photo" /><br />
|
||||
<li>[img float=right]https://zothub.com/images/default_profile_photos/rainbow_man/48.jpg[/img] <img src="https://zothub.com/images/default_profile_photos/rainbow_man/48.jpg" style="float:right;" alt="Image/photo" /><br />
|
||||
<div style="clear:both;"></div>
|
||||
<li>[code]code[/code] <code>code</code><br />
|
||||
<li>[quote]quote[/quote] <blockquote>quote</blockquote><br />
|
||||
@@ -50,8 +50,8 @@
|
||||
<p>$Projectname specific codes</p>
|
||||
<ul class="listbullet" style="list-style-type: circle;">
|
||||
<li>[&copy;] © This works for many HTML entities</li>
|
||||
<li>[zrl]https://redmatrix.me[/zrl] Magic-auth version of [url] tag</li>
|
||||
<li>[zmg]https://redmatrix.me/some/photo.jpg[/zmg] Magic-auth version of [img] tag<br /></li>
|
||||
<li>[zrl]https://zothub.com[/zrl] Magic-auth version of [url] tag</li>
|
||||
<li>[zmg]https://zothub.com/some/photo.jpg[/zmg] Magic-auth version of [img] tag<br /></li>
|
||||
|
||||
<li>[observer=1]Text to display if observer is authenticated in the matrix[/observer]</li>
|
||||
<li>[observer=0]Text to display if observer is <strong>not</strong> authenticated in the matrix[/observer]</li>
|
||||
|
||||
36
doc/bugs.bb
36
doc/bugs.bb
@@ -1,31 +1,45 @@
|
||||
[h2]Bugs, Issues, and things that go bump in the night...[/h2]
|
||||
|
||||
[h3]Something went wrong! Who is charge of fixing it?[/h3]
|
||||
|
||||
This software is open source and was built by and is maintained by unpaid volunteers. So the quick answer is that nobody is in charge of fixing things. However, some of us have worked long and hard to provide a quality experience for you and don't wish to see you in discomfort because of a software issue or bug.
|
||||
[b]Hubzilla Community Server[/b]
|
||||
|
||||
The first thing you need to do is talk to your hub administrator - the person who runs and manages your site. They are in the unique position of having access to the internal software and database and [b]logfiles[/b] and will need to be involved in fixing your problem. Other people "on the net" can't really help with this. The first thing [b]they[/b] need to do is look at their logs and/or try to reproduce the problem. So try to be as helpful and courteous as possible in helping them look into the problem.
|
||||
Hubzilla Community Server is open source software which is maintained by "the community" - essentially unpaid volunteers.
|
||||
|
||||
To find your site administrator (if you don't know who they are) please look at [url=[baseurl]/siteinfo]this page[/url]. If they have not provided any contact info on that page or provided an "Impressum" there, see [url=[baseurl]/siteinfo/json]this site info summary[/url] under the heading "admin:".
|
||||
[b]Hubzilla Enterprise Server[/b]
|
||||
|
||||
[h3]I'm a site administrator; what do I do?[/h3]
|
||||
Hubzilla Enterprise Server is commercial software with a variety of support plans depending on the specific license terms.
|
||||
|
||||
It's your site, fix it! OK, sometimes it isn't that easy. There could be other sites involved, and the problem may not even be on your site but elsewhere in the network. Try to pin down the communication endpoints (hubs or sites) involved in the problem and contact the administrator of that site or those sites. Please try and provide an event time of when things went wrong so it can be found in the logs. Work with the other administrator(s) to find the cause of the problem. Logfiles are your friend. When something happens in the software that we didn't expect, it is nearly always logged.
|
||||
|
||||
The first thing you need to do is talk to your hub administrator - the person who runs and manages your site. They are in the unique position of having access to the internal software and database and [b]logfiles[/b] and will need to be involved in fixing your problem. Other people "on the net" can't really help with this. The first thing the hub administrator needs to do is look at their logs and/or try to reproduce the problem. So try to be as helpful and courteous as possible in helping them look into the problem.
|
||||
|
||||
To find your hub administrator (if you don't know who they are) please look at [url=[baseurl]/siteinfo]this page[/url]. If they have not provided any contact info on that page or provided an "Impressum" there, see [url=[baseurl]/siteinfo/json]this site info summary[/url] under the heading "admin:".
|
||||
|
||||
[h3]I'm a hub administrator; what do I do?[/h3]
|
||||
|
||||
The software instructions which provide this server are open source and are available for your inspection. If an error message was reported, often one can do a search on the source files for that error message and find out what triggered it. With this information and the site logfiles it may be possible to figure out the sequence of events leading to the error. There could also be other sites involved, and the problem may not even be on your site but elsewhere in the network. Try to pin down the communication endpoints (hubs or sites) involved in the problem and contact the administrator of that site or those sites. Please try and provide an event time of when things went wrong so it can be found in the logs. Work with the other administrator(s) to try and find the cause of the problem. Logfiles are your friend. When something happens in the software that we didn't expect, it is nearly always logged.
|
||||
|
||||
[h3]The white screen of death[/h3]
|
||||
|
||||
If you get a blank white screen when doing something, this is almost always a code or syntax error. There are instructions in your .htconfig.php file for enabling syntax logging. Do this and repeat the sequence which led to the error and it should log the offending line of code. Hopefully you will be able to fix the problem with this information. When you do, please submit the fix "upstream" so that we can share the fix with the rest of the project members. This is the key benefit of using open source software - we share with each other and everybody benefits.
|
||||
If you get a blank white screen when doing something, this is almost always a code or syntax error. There are instructions in your .htconfig.php file for enabling syntax logging. We recommend all sites use this. With syntax logging enabled repeat the sequence which led to the error and it should log the offending line of code. Hopefully you will be able to fix the problem with this information. When you do, please submit the fix "upstream" so that we can share the fix with the rest of the project members and other communities. This is a key benefit of using open source software - we share with each other and everybody benefits.
|
||||
|
||||
[h3]I'm stumped. I can't figure out what is wrong.[/h3]
|
||||
|
||||
[b]Hubzilla Enterprise Server[/b]
|
||||
|
||||
Please make contact with the vendor - who will have provided you with support contact details. Preferably this contact will be made by the hub administrator so that he/she can assist us in collecting the necessary issue details. We will assign a ticket and notify you of progress.
|
||||
|
||||
|
||||
[b]Hubzilla Community Server[/b]
|
||||
|
||||
At this point it might be worthwhile discussing the issue on one of the online forums. There may be several of these and some may be more suited to your spoken language. As a last resort, try "Channel One", which is in English.
|
||||
|
||||
Other developers may need to find out more, so do your homework and document what is happening and everything you've tried. Don't say "I did xyz and it didn't work." That doesn't tell us anything. Tell us precisely what steps you took and what you expected the result to be, and precisely what happened as a result. If there were any error messages, don't say "there was an error message". Tell us exactly what the message said.
|
||||
|
||||
If the project developers can't help you right away, understand that they are volunteers and may have a lot of other work and demands on their time. At this point you need to file a bug report. You will need an account on github.com to do this. So register, and then visit https://github.com/redmatrix/hubzilla/issues
|
||||
If the community developers can't help you right away, understand that they are volunteers and may have a lot of other work and demands on their time. At this point you need to file a bug report. You will need an account on github.com to do this. So register, and then visit https://github.com/redmatrix/hubzilla/issues
|
||||
. Create an issue here and provide all the same information that you provided online. Don't leave out anything.
|
||||
|
||||
Then you wait. If it's a high profile issue, it may get fixed quickly. But nobody is in charge of fixing bugs. If it lingers without resolution, please spend some more time investigating the problem. Ask about anything you don't understand related to the behaviour. You will learn more about how the software works and quite possibly figure out why it isn't working now. Ultimately it is somebody in the community who is going to fix this and you are a member of the community; and this is how the open source process works.
|
||||
|
||||
And just a word of warning. If you file 10 or 20 or 40 bugs on your first day looking at the project and without exploring how the software was supposed to work in the first place, you will probably be ignored. This is a public project and we are unfortunately frequented by "whingers" who like to waste our time complaining about stuff. Don't be one of them. The more helpful and courteous you are, the more helpful and courteous we will be in return. This applies to everything you do in life and is only mentioned here as a reminder.
|
||||
|
||||
[b]In either case[/b]
|
||||
|
||||
Other developers working to fix the problem may need to find out more, so do your homework and document what is happening and everything you've tried. Don't say "I did xyz and it didn't work." That doesn't tell us anything. Tell us precisely what steps you took and what you expected the result to be, and precisely what happened as a result. If there were any error messages, don't say "there was an error message". Tell us exactly what the message said.
|
||||
|
||||
@@ -14,7 +14,7 @@ tommy tomson
|
||||
Simon
|
||||
zottel
|
||||
Christian Vogeley
|
||||
jeroenpraat
|
||||
Jeroen van Riet Paap (jeroenpraat)
|
||||
Michael Vogel
|
||||
erik
|
||||
Zach Prezkuta
|
||||
|
||||
@@ -27,29 +27,21 @@
|
||||
[/td][/tr]
|
||||
[tr][td]abook_dob[/td][td]Datetime of connection's birthday converted from *their* timezone to UTC[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]abook_flags[/td][td]Bitfield containing blocked(0x1), ignored(0x2), hidden(0x4), archived(0x8), pending(0x10), unconnected(0x20), self(0x80), feed(0x100)[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_flags[/td][td]No longer used[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]abook_profile[/td][td]profile.guid of profile to display to this connection if authenticated[/td][td]char(64)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]abook_blocked[/td][td]Bi-directional communications with this channel are blocked, regardless of other permissions. [/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_ignored[/td][td]Incoming communications from this channel are blocked, regardless of other permissions. [/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_hidden[/td][td]This connection will not be shown as a connection to anybody but the channel owner[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_archived[/td][td]This connection is likely non-functioning and the entry and conversations are preserved, but further polled communications will not be attempted. [/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_pending[/td][td]A connection request was received from this channel but has not been approved by the channel owner, public communications may still be visible but no additional permissions have been granted. [/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_unconnected[/td][td]currently unused. Projected usage is to indicate "one-way" connections which were insitgated on this end but are still pending on the remote end. [/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_self[/td][td]is a special case where the owner is the target. Every channel has one abook entry with abook_self and with a target abook_xchan set to channel.channel_hash . When this flag is present, abook_my_perms is the default permissions granted to all new connections and several other fields are unused.[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_feed[/td][td]indicates this connection is an RSS/Atom feed and may trigger special handling.[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_incl[/td][td]connection filter allow rules separated by LF[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]abook_excl[/td][td]connection filter deny rules separated by LF[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/table]
|
||||
|
||||
|
||||
Notes:
|
||||
|
||||
ABOOK_FLAGS_BLOCKED - Bi-directional communications with this channel are blocked, regardless of other permissions.
|
||||
|
||||
ABOOK_FLAGS_IGNORED - Incoming communications from this channel are blocked, regardless of other permissions.
|
||||
|
||||
ABOOK_FLAGS_HIDDEN - This connection will not be shown as a connection to anybody but the channel owner
|
||||
|
||||
ABOOK_FLAGS_ARCHIVED - This connection is likely non-functioning and the entry and conversations are preserved, but further polled communications will not be attempted.
|
||||
|
||||
ABOOK_FLAGS_PENDING - A connection request was received from this channel but has not been approved by the channel owner, public communications may still be visible but no additional permissions have been granted.
|
||||
|
||||
ABOOK_FLAGS_UNCONNECTED - currently unused. Projected usage is to indicate "one-way" connections which were insitgated on this end but are still pending on the remote end.
|
||||
|
||||
ABOOK_FLAGS_SELF is a special case where the owner is the target. Every channel has one abook entry with ABOOK_FLAGS_SELF with a target abook_xchan set to channel.channel_hash . When this flag is present, abook_my_perms is the default permissions granted to all new connections and several other fields are unused.
|
||||
|
||||
ABOOK_FLAGS_FEED - indicates this connection is an RSS/Atom feed and may trigger special handling.
|
||||
|
||||
Return to [zrl=[baseurl]/help/database]database documentation[/zrl]
|
||||
@@ -21,7 +21,15 @@
|
||||
[/td][/tr]
|
||||
[tr][td]folder[/td][td]attach.hash of parent folder[/td][td]char(64)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]flags[/td][td]see notes[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]flags[/td][td]no longer used[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]is_dir[/td][td]0 (file) or 1 to indicate a directory[/td][td]tinyint[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]is_photo[/td][td]if 1, a photo is linked to this resource[/td][td]tinyint[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]os_storage[/td][td]if 0, data contains content; if 1 data contains path to content (always 1 in hubzilla)[/td][td]tinyint[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]display_path[/td][td]under construction, store the human readable path[/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]data[/td][td]file data or pathname to stored data if ATTACH_FLAG_OS[/td][td]longblob[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
@@ -39,12 +47,6 @@
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
Bitmasks
|
||||
|
||||
define ( 'ATTACH_FLAG_DIR', 0x0001); This is a directory
|
||||
define ( 'ATTACH_FLAG_OS', 0x0002); Data content is link to OS file containing data, if unset the data filed contains the file data
|
||||
|
||||
permissions are xchan_hash or group_hash surrounded by angle chars. e.g. '<abc123><xyz789>'
|
||||
|
||||
Return to [zrl=[baseurl]/help/database]database documentation[/zrl]
|
||||
@@ -1,96 +1,100 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]channel_id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]channel_id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]channel_account_id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]channel_account_id[/td][td]account.id of the account owning this channel[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_primary[/td][td][/td][td]tinyint(1) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]channel_primary[/td][td]1 = this is the primary instance of this channel[/td][td]tinyint(1) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_name[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]channel_name[/td][td]Name that this channel is known by[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_address[/td][td][/td][td]char(255)[/td][td]NO[/td][td]UNI[/td][td][/td][td]
|
||||
[tr][td]channel_address[/td][td]"username" or URL-and-email safe nickname[/td][td]char(255)[/td][td]NO[/td][td]UNI[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_guid[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]channel_guid[/td][td]Long hash representing a psuedo-unique ID, does not have ot be globally unique[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_guid_sig[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]channel_guid_sig[/td][td]channel.gui signed with channel.prvkey and base64url_encoded[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_hash[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]channel_hash[/td][td]base64url_encode of a 64-char whirlpool hash of channel.guid and channel_guid_sig concatenated, synonymous with xchan_hash.[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_timezone[/td][td][/td][td]char(128)[/td][td]NO[/td][td]MUL[/td][td]UTC[/td][td]
|
||||
[tr][td]channel_timezone[/td][td]PHP-legal timezone[/td][td]char(128)[/td][td]NO[/td][td]MUL[/td][td]UTC[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_location[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]channel_location[/td][td]Default for item.location[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_theme[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]channel_theme[/td][td]channel theme preference[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_startpage[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]channel_startpage[/td]relative site URL to visit after logging in[td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_pubkey[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]channel_pubkey[/td][td]RSA public key 4096 bit[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_prvkey[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]channel_prvkey[/td][td]RSA private key 4096 bit[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_notifyflags[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]65535[/td][td]
|
||||
[tr][td]channel_notifyflags[/td][td]bifield representing what notification types are active[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]65535[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_pageflags[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]channel_pageflags[/td][td]bitfield of special channel uses[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_dirdate[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]channel_dirdate[/td][td]time when directory was last pinged. Must do this once a month[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_deleted[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]channel_deleted[/td][td]time when channel was deleted[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_max_anon_mail[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]10[/td][td]
|
||||
[tr][td]channel_max_anon_mail[/td][td]unused[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]10[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_max_friend_req[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]10[/td][td]
|
||||
[tr][td]channel_max_friend_req[/td][td]unused[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]10[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_expire_days[/td][td][/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]channel_expire_days[/td][td]expire imported content that hasn't been otherwise protected after this many days, 0 is no expiration[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_passwd_reset[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]channel_passwd_reset[/td][td]password reset token[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_default_group[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]channel_default_group[/td][td]put all new connections into the group with this name[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_allow_cid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]channel_allow_cid[/td][td]Default permissions for this channel[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_allow_gid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]channel_allow_gid[/td][td]Default permissions for this channel[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_deny_cid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]channel_deny_cid[/td][td]Default permissions for this channel[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_deny_gid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]channel_deny_gid[/td][td]Default permissions for this channel[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_r_stream[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_r_stream[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_r_profile[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_r_profile[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_r_photos[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_r_photos[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_r_abook[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_r_abook[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_stream[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_stream[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_wall[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_wall[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_tagwall[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_tagwall[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_comment[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_comment[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_mail[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_mail[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_photos[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_photos[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_chat[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_chat[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_a_delegate[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]channel_a_delegate[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_r_storage[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_r_storage[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_storage[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_storage[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_r_pages[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_r_pages[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_pages[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_pages[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_a_republish[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_a_republish[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_w_like[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[tr][td]channel_w_like[/td][td]specific permission bitfield[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_removed[/td][td]if 1, this channel has been deleted[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]channel_system[/td][td]if 1, this is the special system channel on this site[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]128[/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
Return to [zrl=[baseurl]/help/database]database documentation[/zrl]
|
||||
Return to [zrl=[baseurl]/help/database]database documentation[/zrl]
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]chat_id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]chat_id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]chat_room[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]chat_room[/td][td]chatroom.cr_id for this chat[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]chat_xchan[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]chat_xchan[/td][td]author xchan_hash[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]chat_text[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]chat_text[/td][td]the text of the chat message[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]created[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]created[/td][td]timestamp of this message[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]cp_id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]cp_id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]cp_room[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]cp_room[/td][td]chatroom.cr_id of the chatroom[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]cp_xchan[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]cp_xchan[/td][td]xchan_hash of the chatroom participant[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]cp_last[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]cp_last[/td][td]datetime last ping[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]cp_status[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]cp_status[/td][td]text status description e.g. "online"[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]cp_client[/td][td][/td][td]char(128)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]cp_client[/td][td][/td]IP address of this client[td]char(128)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]cr_id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]cr_id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]cr_aid[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]cr_aid[/td][td]account.id of chatroom owner[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]cr_uid[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]cr_uid[/td][td]channel.channel_id of chatroom owner[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]cr_name[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]cr_name[/td][td]visible name of chatroom[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]cr_created[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]cr_created[/td][td]creation timestampe[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]cr_edited[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]cr_edited[/td][td]edited timestamp[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]cr_expire[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]cr_expire[/td][td]expiration period for chats in this chatroom in minutes, 0 is no expiration[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]allow_cid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]allow_cid[/td][td]permissions for this room[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]allow_gid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]allow_gid[/td][td]permissions for this room[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]deny_cid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]deny_cid[/td][td]permissions for this room[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]deny_gid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]deny_gid[/td][td]permissions for this room[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,21 +1,24 @@
|
||||
|
||||
Used in Diaspora private mails
|
||||
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]guid[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]guid[/td][td]A unique identifier for this conversation[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]recips[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]recips[/td][td]sender_handle;recipient_handle[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]uid[/td][td][/td][td]int(11)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]uid[/td][td]channel.channel_id of the owner of this data[/td][td]int(11)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]creator[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]creator[/td][td]handle of creator[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]created[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]created[/td][td]creation timestamp[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]updated[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]updated[/td][td]edited timestamp[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]subject[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]subject[/td][td]subject of initial message (obscured for privacy)[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]uid[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]uid[/td][td]channel.channel_id of the owner of this data[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]gid[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]gid[/td][td]groups.id of the associated group[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan[/td][td]xchan.xchan_hash of the member assigned to the associated group[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]hash[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]hash[/td][td]unique hash representing this group with the group name appended[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]uid[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]uid[/td][td]channel.channel_id owning this data[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]visible[/td][td][/td][td]tinyint(1)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]visible[/td][td]1 indicates the member list is not private[/td][td]tinyint(1)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]deleted[/td][td][/td][td]tinyint(1)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]deleted[/td][td]1 indicates the group has been deleted[/td][td]tinyint(1)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]name[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]name[/td][td]human readable name of group[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]id[/td][td][/td][td]int(11)[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]id[/td][td]sequential ID[/td][td]int(11)[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]hook[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]hook[/td][td]name of hook[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]file[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]file[/td][td]relative filename of hook handler[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]function[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]function[/td][td]function name of hook handler[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]priority[/td][td][/td][td]int(11) unsigned[/td][td]NO[/td][td][/td][td]0[/td][td]
|
||||
[tr][td]priority[/td][td]not yet implemented - can be used to sort conflicts in hook handling by calling handlers in priority order[/td][td]int(11) unsigned[/td][td]NO[/td][td][/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,104 +1,151 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]id[/td][td]Sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]mid[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]mid[/td][td]Message-id - globally unique, there can be several items with the same message-ID in the table as they may have different uid owners[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]aid[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]aid[/td][td]channel_account_id of the channel_id (uid) which owns this copy of the item[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]uid[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]uid[/td][td]channel_id (uid) which owns this copy of the item[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]parent[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]parent[/td][td]item.id of the parent to this item if it is a reply of some form; otherwise this must be set to the id of this item[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]parent_mid[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]parent_mid[/td][td]Globally unique message-id of the parent to this item[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]thr_parent[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]thr_parent[/td][td]If the parent of this item is not the top-level item in the conversation, the message-id of the immediate parent; otherwise set to parent_mid[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]created[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]created[/td][td]Creation timestamp. If creation is more than ten minutes into the future, set item_delayed to 1; it will automatically be delivered by the poller once the created time has passed[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]edited[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]edited[/td][td]Date of last edit (default is created)[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]expires[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]expires[/td][td]Date this item expires and will be removed[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]commented[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]commented[/td][td]Date of last comment/reply to this item[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]received[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]received[/td][Date the item was received at this sitetd][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]changed[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]changed[/td][td]Date that something in the conversation changed, indicating clients should fetch the conversation again[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]comments_closed[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]comments_closed[/td][td]Date after which no more comments will be accepted[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]owner_xchan[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]owner_xchan[/td][td]xchan_hash of the owner of this conversation (this is who replies are sent to)[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]author_xchan[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]author_xchan[/td][td]xchan_hash of the author of this item[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]source_xchan[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]source_xchan[/td][td]xchan_hash of the external source of this item belongs to multiple delivery chains and comments need to be uplinked[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]mimetype[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]mimetype[/td][td]mime type of the content body[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]title[/td][td][/td][td]text[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]title[/td][td]item title[/td][td]text[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]body[/td][td][/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]body[/td][td]item body content[/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]app[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]app[/td][td]application which generated this item[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]lang[/td][td][/td][td]char(64)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]lang[/td][td]auto-detected language[/td][td]char(64)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]revision[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]revision[/td][td]future use, version control[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]verb[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]verb[/td][td]ActivityStreams verb (old style URI)[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]obj_type[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]obj_type[/td][td]ActivityStreams object type (old style URI)[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]object[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]object[/td][td]JSON encoded object structure unless it is an implied object (normal post)[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]tgt_type[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]tgt_type[/td][td]ActivityStreams target type if applicable (URI)[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]target[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]target[/td][td]JSON encoded target structure if used[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]layout_mid[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]layout_mid[/td][td]For webpages, which layout (mid or message_id) to use when displaying this page[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]postopts[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]postopts[/td][td]External post connectors add their network name to this comma-separated string to identify that they should be delivered to these networks during delivery[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]route[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]route[/td][td]comma separated xchan list of xchans where this message was routed on its way to this destination, used for route loop discovery and rejection of comments which arrived by alternate routes and may have different permissions[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]llink[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]llink[/td][td]URL of a displayable copy of this post/conversation on this site[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]plink[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]plink[/td][td]permalink or URL toa displayable copy of the message at its source[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]resource_id[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]resource_id[/td][td]Used to link other tables to items, it identifies the linked resource and if set must also set resource_type[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]resource_type[/td][td][/td][td]char(16)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]resource_type[/td][td]default none, if a linked resource this should be the name of the resource type such as "photo" or "event"[/td][td]char(16)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]attach[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]attach[/td][td]JSON structure representing attachments to this item[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]sig[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]sig[/td][td]RSA signature of the item body by the original author if the private key is available[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]diaspora_meta[/td][td][/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]diaspora_meta[/td][td]Used to store Diaspora comment signatures with their weird requirements[/td][td]mediumtext[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]location[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]location[/td][td]text location where this item originated[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]coord[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]coord[/td][td] longitude/latitude pair representing location where this item originated[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]public_policy[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]public_policy[/td][td]If the author has specified restrictions (this network, this site) etc. for distribution, the corresponding policy text is present here and item_private = 1[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]comment_policy[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]comment_policy[/td][td]If the author has specified comment restrictions (thei network, this site, etc.) the corresponding policy text is present here[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]allow_cid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]allow_cid[/td][td]Access Control - list of allowed xchans '<xchan1><xchan2>...'[/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]allow_gid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]allow_gid[/td]Access Control - list of allowed group hashes, see allow_cid[td][/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]deny_cid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]deny_cid[/td][td]Access Control - list of denied xchans[/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]deny_gid[/td][td][/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]deny_gid[/td][td]Access Control - list of denied groups[/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_restrict[/td][td][/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]item_restrict[/td]no longer used[td][/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_flags[/td][td][/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]item_flags[/td][td]no longer used[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_private[/td][td][/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]item_private[/td][td]distribution is restricted[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_origin[/td][td]item originated at this site[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_unseen[/td][td]item has not been seen[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_starred[/td][td]item has been favourited[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_uplink[/td][td]This item is part of a multiple delivery chain and must be uplinked to the original sender (source_xchan)[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_consensus[/td][td]This item allows voting tools[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_wall[/td][td]This item was posted to the wall of uid[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_thread_top[/td][td]parent = id, this is the top post in a conversation [/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_notshown[/td][td][/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_nsfw[/td][td][/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_relay[/td][td][/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_mentionsme[/td][td]The owner of this item was mentioned in it[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_nocomment[/td][td]if 1, no comments are allowed[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_obscured[/td][td]no longer used[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_verified[/td][td]the signature has been verified on this site[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_retained[/td][td][/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_rss[/td][td]item originated in a feed[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_deleted[/td][td]item has been deleted[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_type[/td][td]used to identify webpage and design element types, 0 is a normal conversation item[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_hidden[/td][td]0 or 1 if item is not to be displayed[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_unpublished[/td][td][/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_delayed[/td][td]item is posted in the future[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_pending_remove[/td][td]item is in the process of being removed[/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]item_blocked[/td][td][/td][td]tinyint(4)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
|
||||
[/table]
|
||||
|
||||
Return to [zrl=[baseurl]/help/database]database documentation[/zrl]
|
||||
@@ -1,15 +1,15 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]iid[/td][td][/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]iid[/td][td]item.id of the referenced item[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]uid[/td][td][/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]uid[/td][td]channel.channel_id of the owner of this data[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]sid[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]sid[/td][td]an additional identifier to attach or link to the referenced item (often used to store a message_id from another system in order to suppress duplicates)[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]service[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[tr][td]service[/td][td]the name or description of the service which generated this identifier[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,44 +1,59 @@
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]xchan_hash[/td][td][/td][td]char(255)[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]
|
||||
[tr][td]xchan_hash[/td][td]calculated hash of this extended channel[/td][td]char(255)[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_guid[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan_guid[/td][td]channel_guid of this extended channel[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_guid_sig[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]xchan_guid_sig[/td][td]base64url encoded signature of the guid[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_pubkey[/td][td][/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[tr][td]xchan_pubkey[/td][td]public key for verifying signed data and assertions[/td][td]text[/td][td]NO[/td][td][/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_photo_mimetype[/td][td][/td][td]char(32)[/td][td]NO[/td][td][/td][td]image/jpeg[/td][td]
|
||||
[tr][td]xchan_photo_mimetype[/td][td]mimetype of the profile photo[/td][td]char(32)[/td][td]NO[/td][td][/td][td]image/jpeg[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_photo_l[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]xchan_photo_l[/td][td]photo url 300px[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_photo_m[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]xchan_photo_m[/td][td]photo url 80 px[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_photo_s[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]xchan_photo_s[/td][td]photo url 48 px[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_addr[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan_addr[/td][td]user@host[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_url[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan_url[/td][td]url of channel page on primary hub location[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_connurl[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan_connurl[/td]poco url[td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_follow[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan_follow[/td]url template for following %s[td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_connpage[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[tr][td]xchan_connpage[/td][td]for premium channels url of channel to display when connecting[/td][td]char(255)[/td][td]NO[/td][td][/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_name[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan_name[/td][td]human readabl name of channel[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_network[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan_network[/td][td]network of channel for instance 'zot', 'diaspora', 'unknown'[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_instance_url[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan_instance_url[/td][td]no longer used[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_flags[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]xchan_flags[/td][td]no longer used[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_photo_date[/td][td][/td][td]datetime[/td][td]NO[/td][td][/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]xchan_photo_date[/td][td]timestamp of last photo change in GMT[/td][td]datetime[/td][td]NO[/td][td][/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_name_date[/td][td][/td][td]datetime[/td][td]NO[/td][td][/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]xchan_name_date[/td][td]timestamp of last name change in GMT[/td][td]datetime[/td][td]NO[/td][td][/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_hidden[/td][td]flag - channel is hidden[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_orphan[/td][td]flag - channel has no known hubloc locations[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_censored[/td][td]flag - channel has been censored[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_selfcensored[/td][td]flag - channel is self censored (adult or nsfw)[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_system[/td][td]flag - this represents a system channel[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_pubforum[/td][td]flag - channel is a public forum[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan_deleted[/td][td]flag - channel was deleted[/td][td]int(10) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
|
||||
[/table]
|
||||
|
||||
Return to [zrl=[baseurl]/help/database]database documentation[/zrl]
|
||||
@@ -1,11 +1,12 @@
|
||||
xign - holds xchan information for channels that have been ignored in 'friend suggestions'
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]uid[/td][td][/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]uid[/td][td]local channel.channel_id[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xchan[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xchan[/td][td]xchan.xchan_hash of ignored channel[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,15 +1,21 @@
|
||||
xlink - used to store social graph and channel ratings
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]xlink_id[/td][td][/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[tr][td]xlink_id[/td][td]sequential ID[/td][td]int(10) unsigned[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
|
||||
[/td][/tr]
|
||||
[tr][td]xlink_xchan[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xlink_xchan[/td][td]xchan.xchan_hash of controlling channel[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xlink_link[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[tr][td]xlink_link[/td][td]xchan.xchan_hash of link target (connection or rating)[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xlink_rating[/td][td][/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]xlink_rating[/td][td]int rating[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xlink_updated[/td][td][/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]xlink_rating_txt[/td][td]rating text[/td][td]mediumtext[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xlink_updated[/td][td]timestamp of update in GMT[/td][td]datetime[/td][td]NO[/td][td]MUL[/td][td]0000-00-00 00:00:00[/td][td]
|
||||
[tr][td]xlink_static[/td][td]0 for social graph, 1 for ratings[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xlink_sig[/td][td]base64url encoded signature of rating information[/td][td]int(11)[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[/table]
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
xprof - stores searchable public profile information on directory servers
|
||||
[table]
|
||||
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
|
||||
[/th][/tr]
|
||||
[tr][td]xprof_hash[/td][td][/td][td]char(255)[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]
|
||||
[tr][td]xprof_hash[/td][td]xchan.xchan_hash of this channel[/td][td]char(255)[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xprof_age[/td][td][/td][td]tinyint(3) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[tr][td]xprof_age[/td][td]current age (updated monthly)[/td][td]tinyint(3) unsigned[/td][td]NO[/td][td]MUL[/td][td]0[/td][td]
|
||||
[/td][/tr]
|
||||
[tr][td]xprof_desc[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td][/td][td]
|
||||
[/td][/tr]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[b]Using The Cloud - Dolphin[/b]
|
||||
|
||||
Visit webdavs://example.com/cloud where "example.com" is the URL of your hub.
|
||||
Visit webdavs://example.com/dav where "example.com" is the URL of your hub.
|
||||
|
||||
When prompted for a username and password, enter your username (the first part of your webbie - no @ or domain name) and password for your normal account.
|
||||
When prompted for a username and password, enter your channel name (the first part of your webbie - no @ or domain name) and password for your normal account.
|
||||
|
||||
Note, if you are already logged in to the web interface via Konqueror, you will not be prompted for further authentication.
|
||||
|
||||
|
||||
@@ -25,14 +25,14 @@ Edit /etc/fstab
|
||||
to include your cloud directory by adding
|
||||
|
||||
[code]
|
||||
[baseurl]/cloud/ /mount/point davfs user,noauto,uid=<DesktopUser>,file_mode=600,dir_mode=700 0 1
|
||||
[baseurl]/dav/ /mount/point davfs user,noauto,uid=<DesktopUser>,file_mode=600,dir_mode=700 0 1
|
||||
[/code]
|
||||
|
||||
Where [baseurl] is the URL of your hub, /mount/point is the location you want to mount the cloud, and <DesktopUser> is the user you log in to one your computer. Note that if you are mounting as a normal user (not root) the mount point must be in your home directory.
|
||||
|
||||
For example, if I wanted to mount my cloud to a directory called 'cloud' in my home directory, and my username was bob, my fstab would be
|
||||
|
||||
[code][baseurl]/cloud/ /home/bob/cloud davfs user,noauto,uid=bob,file_mode=600,dir_mode=700 0 1[/code]
|
||||
[code][baseurl]/dav/ /home/bob/cloud davfs user,noauto,uid=bob,file_mode=600,dir_mode=700 0 1[/code]
|
||||
|
||||
Now, create the mount point.
|
||||
|
||||
@@ -49,7 +49,7 @@ Create a file called 'secrets'
|
||||
and add your cloud login credentials
|
||||
|
||||
[code]
|
||||
[baseurl]/cloud <username> <password>
|
||||
[baseurl]/dav <username> <password>
|
||||
[/code]
|
||||
|
||||
Where <username> and <password> are the username and password [i]for your hub[/i].
|
||||
@@ -60,7 +60,7 @@ Don't let this file be writeable by anyone who doesn't need it with
|
||||
|
||||
Finally, mount the drive.
|
||||
|
||||
[code]mount [baseurl]/cloud[/code]
|
||||
[code]mount [baseurl]/dav[/code]
|
||||
|
||||
You can now find your cloud at /home/bob/cloud and use it as though it were part of your local filesystem - even if the applications you are using have no dav support themselves.
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
1. Open a File browsing window (that's Nautilus)
|
||||
2. Select File > Connect to server from the menu
|
||||
3. Type davs://<domain_name>/cloud/<your_username> and click Connect
|
||||
4. You will be prompted for your username (same as above) and password
|
||||
3. Type davs://<domain_name>/dav/<your_channelname> and click Connect
|
||||
4. You will be prompted for your channel name (same as above) and password
|
||||
5. Your personal DAV directory will be shown in the window
|
||||
|
||||
#include doc/macros/cloud_footer.bb;
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
For (file browser) Nemo 1.8.2 under Linux Mint 15, Cinnamon 1.8.8. Nemo ist the standard file browser there.
|
||||
|
||||
1st way
|
||||
type "davs://yourusername@friendicared.net/cloud" in the address bar
|
||||
type "davs://<domain_name>/dav/<your_channelname>" in the address bar.
|
||||
|
||||
2nd way
|
||||
Menu > file > connect to server
|
||||
Fill the dialog
|
||||
- Server: friendicared.net
|
||||
- Server: hubzilla_domain_name
|
||||
- Type: Secure WebDAV (https)
|
||||
- Folder: /cloud
|
||||
- Username: yourusername
|
||||
- Passwort: yourpasswort
|
||||
- Folder: /dav
|
||||
- Username: yourchannelname
|
||||
- Password: yourpassword
|
||||
|
||||
Once open you can set a bookmark.
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ RedDav using Windows 7 graphical user interface wizard:
|
||||
1. Left-click the Start-button to open the start menu.
|
||||
2. Right-click the My computer icon to access its menu.
|
||||
3. Left-click Map network drive... to open the connection dialog wizard.
|
||||
4. Type #^[url=https://example.net/cloud/your_user_name]https://example.net/cloud/your_user_name[/url] in the textbox and click the Complete button where "example.net" is the URL of your hub.
|
||||
5. Type your Red account's user name. IMPORTANT - NO at-sign or domain name.
|
||||
6. Type your Red password
|
||||
4. Type #^[url=https://example.net/dav/your_channel_name]https://example.net/dav/your_channel_name[/url] in the textbox and click the Complete button where "example.net" is the URL of your hub.
|
||||
5. Type your Hubzilla account's user name. IMPORTANT - NO at-sign or domain name.
|
||||
6. Type your Hubzilla password
|
||||
|
||||
#include doc/macros/cloud_footer.bb;
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
[img][baseurl]/assets/hashlogo.png[/img]
|
||||
[img][baseurl]/images/hubzilla-banner.png[/img]
|
||||
|
||||
[zrl=[baseurl]/help/about]Was ist die RedMatrix?[/zrl]
|
||||
Die RedMatrix ist eine dezentrale Kommunikations- und Publishing-Plattform. Sie ermöglicht Dir die volle Kontrolle über all Deine Kommunikation mit Hilfe von automatischer Verschlüsselung und detaillierter Zugriffskontrolle. Du, und [i]nur[/i] Du, entscheidest, wer Deine Beiträge sehen darf.
|
||||
[zrl=[baseurl]/help/about]Was ist Hubzilla?[/zrl]
|
||||
Hubzilla ist eine dezentrale Kommunikations- und Publishing-Plattform. Sie ermöglicht Dir die volle Kontrolle über all Deine Kommunikation mit Hilfe von automatischer Verschlüsselung und detaillierter Zugriffskontrolle. Du, und [i]nur[/i] Du, entscheidest, wer Deine Beiträge sehen darf. Hubzilla ist der Nachfolger, der seit einigen Jahren erfolgreichen Plattformen Firendica und Red Matrix.
|
||||
|
||||
[zrl=[baseurl]/help/features]Features der RedMatrix[/zrl]
|
||||
Die RedMatrix funktioniert schon heute als ein globales verteiltes Netzwerk und beweist täglich ihre Vielseitigkeit und Skalierbarkeit auf kleinen Privatservern wie auch auf riesigen Sites.
|
||||
Kommunikationsplattformen für Familien, verteilte Online-Communities, Support-Foren, Blogs und Homepages. Oder auch professionelle Inhalte-Anbieter mit kommerziellen Premium-Kanälen und eingeschränktem Zugriff – was immer Du willst, die RedMatrix unterstützt Dich in Deinem kreativen Schaffen.
|
||||
[zrl=[baseurl]/help/features]Features von Hubzilla[/zrl]
|
||||
Hubzilla, basierend auf der Red Matrix, funktioniert schon heute als ein globales verteiltes Netzwerk und beweist täglich ihre Vielseitigkeit und Skalierbarkeit - auf kleinen Privatservern wie auch auf riesigen Sites.
|
||||
Kommunikationsplattformen für Familien, verteilte Online-Communities, Support-Foren, Blogs und Homepages. Oder auch professionelle Inhalte-Anbieter mit kommerziellen Premium-Kanälen und eingeschränktem Zugriff – was immer Du willst, Hubzilla unterstützt Dich in Deinem kreativen Schaffen.
|
||||
|
||||
[zrl=[baseurl]/help/what_is_zot]Got Zot? Hast Du schon Zot? Wenn nicht wird es Zeit.[/zrl]
|
||||
Zot ist das großartige neue Kommunikationsprotokoll, das extra für die RedMatrix entwickelt wurde. Als Mitglied bist Du dank „Nomadischer Identität“ nicht länger an einen einzigen Server oder Anbieter gebunden. Ziehe einfach auf einen anderen Server um und behalte dabei alle Deine Kontakte, oder klone Deinen Kanal und lasse ihn auf mehreren Servern gleichzeitig laufen – sollte einer davon plötzlich geschlossen werden, ist das kein Problem für Dich. Und bist Du erst Teil der RedMatrix, musst Du Dich nie wieder mehrfach anmelden, selbst wenn Du Seiten auf einem andere Red-Server betrachtest. Zot ist, was die RedMatrix besonders macht.
|
||||
Zot ist ein großartiges neues Kommunikationsprotokoll, das für Hubzilla - und vorher die Red Matrix - entwickelt wurde. Als Mitglied bist Du dank „Nomadischer Identität“ nicht länger an einen einzigen Server oder einen einzigen Anbieter gebunden. Ziehe einfach auf einen anderen Server um und behalte dabei alle Deine Kontakte, oder klone Deinen Kanal und lasse ihn auf mehreren Servern gleichzeitig laufen – sollte einer davon plötzlich geschlossen werden, ist das kein Problem für Dich. Und bist Du erst Teil des Hubzilla-Netzwerkes, musst Du Dich nie wieder mehrfach anmelden, selbst wenn Du Seiten auf einem andere Hub (den Hubzilla-Servern) betrachtest. Zot ist es, was das Hubzilla-Netzwerk besonders macht.
|
||||
|
||||
[h3]Erste Schritte[/h3]
|
||||
[zrl=[baseurl]/help/Privacy]Datenschutz[/zrl]
|
||||
[zrl=[baseurl]/help/registration]Ein Konto registrieren[/zrl]
|
||||
[zrl=[baseurl]/help/accounts_profiles_channels_basics]Du in der RedMatrix: Konten, Profile und Kanäle kurz erklärt[/zrl]
|
||||
[zrl=[baseurl]/help/accounts_profiles_channels_basics]Du im Hubzilla-Netzwerk: Konten, Profile und Kanäle kurz erklärt[/zrl]
|
||||
[zrl=[baseurl]/help/profiles]Profile[/zrl]
|
||||
[zrl=[baseurl]/help/channels]Kanäle[/zrl]
|
||||
[zrl=[baseurl]/help/roles]Zugriffsrechte-Kategorien und Kanaltypen[/zrl]
|
||||
@@ -26,7 +26,7 @@ Zot ist das großartige neue Kommunikationsprotokoll, das extra für die RedMatr
|
||||
[h3]Hilfe für $Projectname-Mitglieder[/h3]
|
||||
[zrl=[baseurl]/help/tags_and_mentions]Tags und Erwähnungen[/zrl]
|
||||
[zrl=[baseurl]/help/webpages]Webseiten[/zrl]
|
||||
[zrl=[baseurl]/help/bbcode]BBcode-Referenz für Posts und Kommentare[/zrl]
|
||||
[zrl=[baseurl]/help/bbcode]BBcode-Referenz für Beiträge und Kommentare[/zrl]
|
||||
[zrl=[baseurl]/help/checking_account_quota_usage]Überprüfung der Kontenlimits[/zrl]
|
||||
[zrl=[baseurl]/help/cloud_desktop_clients]Desktop-Anwendungen und die Cloud[/zrl]
|
||||
[zrl=[baseurl]/help/AdvancedSearch]Fortgeschrittene Suche im Kanalverzeichnis[/zrl]
|
||||
@@ -36,7 +36,7 @@ Zot ist das großartige neue Kommunikationsprotokoll, das extra für die RedMatr
|
||||
|
||||
[h3]Hilfe für Administratoren[/h3]
|
||||
[zrl=[baseurl]/help/install]Installation[/zrl]
|
||||
[zrl=[baseurl]/help/red2pi]Red auf einem Raspberry Pi installieren[/zrl]
|
||||
[zrl=[baseurl]/help/red2pi]Hubzilla auf einem Raspberry Pi installieren[/zrl]
|
||||
[zrl=[baseurl]/help/troubleshooting]Troubleshooting-Tipps[/zrl]
|
||||
[zrl=[baseurl]/help/hidden_configs]Versteckte Konfigurations-Optionen[/zrl]
|
||||
[zrl=[baseurl]/help/faq_admins]FAQ für Admins[/zrl]
|
||||
@@ -60,9 +60,9 @@ Zot ist das großartige neue Kommunikationsprotokoll, das extra für die RedMatr
|
||||
[zrl=[baseurl]/help/database]Datenbank-Schema[/zrl]
|
||||
[zrl=[baseurl]/help/api_functions]API-Funktionen[/zrl]
|
||||
[zrl=[baseurl]/help/api_posting]Mit der API einen Beitrag erstellen[/zrl]
|
||||
[zrl=[baseurl]/help/developer_function_primer]Übersicht der wichtigsten Red-Funktionen[/zrl]
|
||||
[zrl=[baseurl]/help/developer_function_primer]Übersicht der wichtigsten Hubzilla-Funktionen[/zrl]
|
||||
[zrl=[baseurl]/doc/html/]Code-Referenz (mit doxygen generiert - setzt Cookies)[/zrl]
|
||||
[zrl=[baseurl]/help/to_do_doco]To-Do-Liste für das Projekt Red-Dokumentation[/zrl]
|
||||
[zrl=[baseurl]/help/to_do_doco]To-Do-Liste für das Projekt Hubzilla-Dokumentation[/zrl]
|
||||
[zrl=[baseurl]/help/to_do_code]To-Do-Liste für Entwickler[/zrl]
|
||||
[zrl=[baseurl]/help/roadmap]Roadmap für Version 3[/zrl]
|
||||
[zrl=[baseurl]/help/git_for_non_developers]Git für Nicht-Entwickler[/zrl]
|
||||
@@ -80,7 +80,7 @@ Zot ist das großartige neue Kommunikationsprotokoll, das extra für die RedMatr
|
||||
|
||||
[url=[baseurl]/help/credits]$Projectname Credits[/url]
|
||||
|
||||
[h3]Über diesen Red-Server[/h3]
|
||||
[zrl=[baseurl]/help/TermsOfService]Nutzungsbedingungen dieses Red-Servers[/zrl]
|
||||
[zrl=[baseurl]/siteinfo]Informationen zu diesem Server und der Red-Version[/zrl]
|
||||
[h3]Über diesen Hub (Hubzilla-Server)[/h3]
|
||||
[zrl=[baseurl]/help/TermsOfService]Nutzungsbedingungen dieses Hubs (Hubzilla-Servers)[/zrl]
|
||||
[zrl=[baseurl]/siteinfo]Informationen zu diesem Server und der Hubzilla-Version[/zrl]
|
||||
[zrl=[baseurl]/siteinfo/json]Detaillierte technische Informationen zu diesem Server im JSON-Format[/zrl]
|
||||
|
||||
@@ -8,13 +8,14 @@
|
||||
[zrl=[baseurl]/help/Creating-Templates]Creating Comanche Templates[/zrl]
|
||||
[zrl=[baseurl]/help/Widgets]Widgets[/zrl]
|
||||
[zrl=[baseurl]/help/plugins]Plugins[/zrl]
|
||||
[zrl=[baseurl]/help/hooklist]Hooks (detailed - under construction)[/zrl]
|
||||
[zrl=[baseurl]/help/doco]Contributing Documentation[/zrl]
|
||||
[zrl=[baseurl]/help/DerivedTheme1]Creating Derivative Themes[/zrl]
|
||||
[zrl=[baseurl]/help/schema_development]Schemas[/zrl]
|
||||
[zrl=[baseurl]/help/Translations]Translations[/zrl]
|
||||
[zrl=[baseurl]/help/developers]Developers[/zrl]
|
||||
[zrl=[baseurl]/help/intro_for_developers]Intro for Developers[/zrl]
|
||||
[zrl=[baseurl]/help/database]Database schema documantation[/zrl]
|
||||
[zrl=[baseurl]/help/database]Database schema documentation[/zrl]
|
||||
[zrl=[baseurl]/help/api_functions]API functions[/zrl]
|
||||
[zrl=[baseurl]/help/api_posting]Posting to the red# using the API[/zrl]
|
||||
[zrl=[baseurl]/help/developer_function_primer]Red Functions 101[/zrl]
|
||||
|
||||
@@ -64,6 +64,8 @@ In the interests of consistency we adopt the following code styling. We may acce
|
||||
|
||||
[li] Generally speaking, opening braces go on the same line as the thing which opens the brace. They are the last character on the line. Closing braces are on a line by themselves. [/li]
|
||||
|
||||
[li] Some functions take arguments in argc/argv style like main() in C or function args in bash or Perl. Urls are broken up within a module. e.g, given "http://example.com/module/arg1/arg2", then $this->argc will be 3 (integer) and $this->argv will contain: [0] => 'module', [1] => 'arg1', [2] => 'arg2'. There will always be one argument. If provided a naked domain URL, $this->argv[0] is set to "home".[/li]
|
||||
|
||||
[b]See Also[/b]
|
||||
[zrl=[baseurl]/help/sql_conventions]SQL Conventions[/zrl]
|
||||
|
||||
|
||||
95
doc/directories.bb
Normal file
95
doc/directories.bb
Normal file
@@ -0,0 +1,95 @@
|
||||
[h3]Directory Configuration[/h3]
|
||||
|
||||
Directories in $Projectname serve the purpose of searching and locating members anywhere in the network. They are also used to store and query "ratings" of members and sites. The directory services are distributed and mirrored so that a failure of one will not take down or disrupt the entire network.
|
||||
|
||||
[b]Standard Configuration[/b]
|
||||
|
||||
New sites operating as directory clients will automatically select from a hard-coded list of directory servers during their first directory access. You may examine or over-ride this decision using
|
||||
|
||||
[code]
|
||||
util/config system directory_server
|
||||
[/code]
|
||||
|
||||
To set a different server,
|
||||
|
||||
[code]
|
||||
util/config system directory_server https://newdirectory.something
|
||||
[/code]
|
||||
|
||||
|
||||
[b]Standalone configuration[/b]
|
||||
|
||||
Some sites may wish to operate in 'standalone' mode and not connect to any external directory services. This is useful for isolated sites ("off the gird") and test sites, but can also be useful for small organisations who do not wish to connect with other sites in the network.
|
||||
|
||||
To configure this, please look in your .htconfig.php file for the following text and set the configuration accordingly.
|
||||
|
||||
[code]
|
||||
// Configure how we communicate with directory servers.
|
||||
// DIRECTORY_MODE_NORMAL = directory client, we will find a directory
|
||||
// DIRECTORY_MODE_SECONDARY = caching directory or mirror
|
||||
// DIRECTORY_MODE_PRIMARY = main directory server
|
||||
// DIRECTORY_MODE_STANDALONE = "off the grid" or private directory services
|
||||
|
||||
$a->config['system']['directory_mode'] = DIRECTORY_MODE_STANDALONE;
|
||||
[/code]
|
||||
|
||||
|
||||
[b]Secondary server configuration[/b]
|
||||
|
||||
You may also configure your site as a secondary server. This operates as a mirror of the primary directory and allows disitribution of the load amongst available servers. There is very little functional difference between a primary and secondary sever, however there may only be *one* primary directory server per realm (realms are discussed later in this document).
|
||||
|
||||
Before choosing to be a directory server, please be advised that you should be an active member of the network and have the resources and time available to manage these services. They don't typically require management, but the requirement is more for stability as losing a directory server can cause issues to directory clients which are reliant on it.
|
||||
|
||||
|
||||
[b]Changing the directory server[/b]
|
||||
|
||||
If a directory server indicates that it is no longer a directory server, this should be detected by the software and the configuration for that server will be removed (blanked). If it goes offline permanently without warning, you will only know if site members report that directory services are unavailable. Currently this can only be repaired manually by the site administrator by selecting a new directory and performing:
|
||||
|
||||
[code]
|
||||
util/config system directory_server https://newdirectory.something
|
||||
[/code]
|
||||
|
||||
Eventually we hope to make this a selectable box from the site admin panel.
|
||||
|
||||
|
||||
[h2]Directory realms[/h2]
|
||||
|
||||
Large organisations may wish to use directory 'realms' rather than a single standalone directory. The standard and default realm is known as RED_GLOBAL. By creating a new realm, your organisation has the ability to create its own hierarchy of primary and secondary servers and clients.
|
||||
|
||||
[code]
|
||||
util/config system directory_realm MY_REALM
|
||||
[/code]
|
||||
|
||||
Your realm *must* have a primary directory. Create this first. Then set the realm the same on all sites within your directory realm (servers and clients).
|
||||
|
||||
You may also provide a "sub-realm" that operates indepently from the RED_GLOBAL realm (or any other realm) but allows cross membership and some ability to lookup members of the entire directory space. This has only undergone light testing so be prepared to help out and fix any issues that may arise. A sub-realm contains its parent realm within the realm name.
|
||||
|
||||
|
||||
[code]
|
||||
util/config system directory_realm RED_GLOBAL:MY_REALM
|
||||
[/code]
|
||||
|
||||
|
||||
[b]Realm access[/b]
|
||||
|
||||
You may wish that your directory servers and services are only used by members of your realm. To do this a token or password must be supplied to access the realm directory services. This token is not encrypted during transit, but is sufficient to prevent casual access to your directory servers. The following must be configured for all sites (clients and directory servers) within the realm:
|
||||
|
||||
[code]
|
||||
util/config system realm_token my-secret-realm-password
|
||||
[/code]
|
||||
|
||||
|
||||
|
||||
[h2]Directory mirrors[/h2]
|
||||
|
||||
Mirroring occurs with a daily transaction log of activities which are shared between directory servers. In the case of directory and profile updates, the channel address performing the update is transmitted, and the other directory servers probe that channel at its source for changes. We do not and should not trust any information given us by other directory servers. We always check the information at the source.
|
||||
|
||||
Ratings are handled slightly differently - an encrypted packet (signed by the channel that created the rating) is passed between the servers. This signature needs to be verified before the rating is accepted. Ratings are always published to the primary directory server and propagated to all other directory servers from there. For this reason there can only be one primary server in a realm. If a misconfigured site claims to be a primary directory, it is ignored in the RED_GLOBAL realm. For other realms there is currently no such protection. Be aware of this when working with alternate realms.
|
||||
|
||||
Newly created directory servers are not provided a "full dump", but for performance reasons and minimal disruption to the other servers in the network, they are brought online slowly. It may take up to a month for a new secondary directory server to provide a full view of the network. Please do not add any secondary servers to the hard-coded list of fallback directory servers until it has been operating as a directory for at least a month.
|
||||
|
||||
All channels are configured to "ping" their directory server once a month, at somewhat random times during the month. This gives the ability for the directory to discover dead channels and sites (they stop pinging). Subsequently they are marked dead or unreachable and over time will be removed from the directory results.
|
||||
|
||||
Channels may be configured to be "hidden" from the directory. These channels may still exist in the directory but will be un-searchable and some "sensitive" personal information will not be stored at all.
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -8,14 +8,14 @@ $Projectname provides distributed web publishing and social communications with
|
||||
|
||||
So what exactly are "decentralised permissions"? They give me the ability to share something on my website (photos, media, files, webpages, etc.) with specific people on completely different websites - but not necessarily [i]everybody[/i] on those websites; and they do not need a password on my website and do not need to login to my website to view the things I've shared with them. They have one password on their own website and "magic authentication" between affiliated websites in the network. Also, as it is decentralised, there is no third party which has the ability to bypass permissions and see everything in the network.
|
||||
|
||||
$Projectname combines many features of traditional blogs, social networking and media, content management systems, and personal cloud storage into an easy to use framework. Each node in the matrix can operate standalone or link with other nodes to create a super-network; leaving privacy under the control of the original publisher.
|
||||
$Projectname combines many features of traditional blogs, social networking and media, content management systems, and personal cloud storage into an easy to use framework. Each node in the grid can operate standalone or link with other nodes to create a super-network; leaving privacy under the control of the original publisher.
|
||||
|
||||
$Projectname is an open source webserver application written originally in PHP/MySQL and is easily installable by those with basic website administration skills. It is also easily extended via plugins and themes and other third-party tools.
|
||||
|
||||
[b][size=24]$Projectname Features[/size][/b]
|
||||
|
||||
|
||||
The $Projectname is a general-purpose web publishing and communication network, with several unique features. It is designed to be used by the widest range of people on the web, from non-technical bloggers, to expert PHP programmers and seasoned systems administrators.
|
||||
$Projectname is a general-purpose web publishing and communication network, with several unique features. It is designed to be used by the widest range of people on the web, from non-technical bloggers, to expert PHP programmers and seasoned systems administrators.
|
||||
|
||||
This page lists some of the core features of $Projectname that are bundled with the official release. As with most free and open source software, there may be many other extensions, additions, plugins, themes and configurations that are limited only by the needs and imagination of the members.
|
||||
|
||||
@@ -29,7 +29,7 @@ When adding connnections in $Projectname, members have the option of assigning "
|
||||
|
||||
On the other hand, when adding a friend's channel, they could be placed under the affinity level of "Friends".
|
||||
|
||||
At this point, the $Projectname [i]Affinity Slider[/i] tool, which usually appears at the top of your "Matrix" page, adjusts the content on the page to include those within the desired affinity range. Channels outside that range will not be displayed, unless you adjust the slider to include them.
|
||||
At this point, $Projectname [i]Affinity Slider[/i] tool, which usually appears at the top of your "Matrix" page, adjusts the content on the page to include those within the desired affinity range. Channels outside that range will not be displayed, unless you adjust the slider to include them.
|
||||
|
||||
The Affinity Slider allows instantaneous filtering of large amounts of content, grouped by levels of closeness.
|
||||
|
||||
@@ -47,7 +47,7 @@ Access Control Lists may be applied to content and posts, photos, events, webpag
|
||||
|
||||
[b]Single Sign-on[/b]
|
||||
|
||||
Access Control Lists work for all channels in the matrix due to our unique single sign-on technology. Most internal links provide an identity token which can be verified on other $Projectname sites and used to control access to private resources. You login once to your home hub. After that, authentication to all $Projectname resources is "magic".
|
||||
Access Control Lists work for all channels in the grid due to our unique single sign-on technology. Most internal links provide an identity token which can be verified on other $Projectname sites and used to control access to private resources. You login once to your home hub. After that, authentication to all $Projectname resources is "magic".
|
||||
|
||||
|
||||
[b]WebDAV enabled File Storage[/b]
|
||||
@@ -85,11 +85,9 @@ Share and save/manage bookmarks from links provided in conversations.
|
||||
|
||||
[b]Private Message Encryption and Privacy Concerns[/b]
|
||||
|
||||
Messages marked [b]private[/b] are encrypted with AES-CBC 256-bit symmetric cipher, which is then protected (encrypted in turn) by public key cryptography, based on 4096-bit RSA keys, associated with the channel that is sending the message.
|
||||
Private mail is stored in an obscured format. While this is not bullet-proof it typically prevents casual snooping by the site administrator or ISP.
|
||||
|
||||
These private messages are also stored in an encrypted form on remote systems.
|
||||
|
||||
Each Red channel has it's own unique set of private and associated public RSA 4096-bit keys, generated when the channels is first created.
|
||||
Each $Projectname channel has it's own unique set of private and associated public RSA 4096-bit keys, generated when the channels is first created. This is used to protect private messages and posts in transit.
|
||||
|
||||
Additionally, messages may be created utilising "end-to-end encryption" which cannot be read by $Projectname operators or ISPs or anybody who does not know the passcode.
|
||||
|
||||
@@ -146,9 +144,9 @@ Forums are typically channels which may be open to participation from multiple a
|
||||
|
||||
[b]Account Cloning[/b]
|
||||
|
||||
Accounts in the $Projectname are referred to as [i]nomadic identities[/i], because a member's identity is not bound to the hub where the identity was originally created. For example, when you create a Facebook or Gmail account, it is tied to those services. They cannot function without Facebook.com or Gmail.com.
|
||||
Accounts in $Projectname are referred to as [i]nomadic identities[/i], because a member's identity is not bound to the hub where the identity was originally created. For example, when you create a Facebook or Gmail account, it is tied to those services. They cannot function without Facebook.com or Gmail.com.
|
||||
|
||||
By contrast, say you've created a Red identity called [b]tina@redhub.com[/b]. You can clone it to another Red hub by choosing the same, or a different name: [b]liveForever@Some$ProjectnameHub.info[/b]
|
||||
By contrast, say you've created a$Projectname identity called [b]tina@redhub.com[/b]. You can clone it to another$Projectname hub by choosing the same, or a different name: [b]liveForever@Some$ProjectnameHub.info[/b]
|
||||
|
||||
Both channels are now synchronized, which means all your contacts and preferences will be duplicated on your clone. It doesn't matter whether you send a post from your original hub, or the new hub. Posts will be mirrored on both accounts.
|
||||
|
||||
@@ -156,9 +154,9 @@ This is a rather revolutionary feature, if we consider some scenarios:
|
||||
|
||||
- What happens if the hub where an identity is based suddenly goes offline? Without cloning, a member will not be able to communicate until that hub comes back online (no doubt many of you have seen and cursed the Twitter "Fail Whale"). With cloning, you just log into your cloned account, and life goes on happily ever after.
|
||||
|
||||
- The administrator of your hub can no longer afford to pay for his free and public $Projectname hub. He announces that the hub will be shutting down in two weeks. This gives you ample time to clone your identity(ies) and preserve your Red relationships, friends and content.
|
||||
- The administrator of your hub can no longer afford to pay for his free and public $Projectname hub. He announces that the hub will be shutting down in two weeks. This gives you ample time to clone your identity(ies) and preserve your$Projectname relationships, friends and content.
|
||||
|
||||
- What if your identity is subject to government censorship? Your hub provider may be compelled to delete your account, along with any identities and associated data. With cloning, the $Projectname offers [b]censorship resistance[/b]. You can have hundreds of clones, if you wanted to, all named different, and existing on many different hubs, strewn around the internet.
|
||||
- What if your identity is subject to government censorship? Your hub provider may be compelled to delete your account, along with any identities and associated data. With cloning, $Projectname offers [b]censorship resistance[/b]. You can have hundreds of clones, if you wanted to, all named different, and existing on many different hubs, strewn around the internet.
|
||||
|
||||
Red offers interesting new possibilities for privacy. You can read more at the <<Private Communications Best Practices>> page.
|
||||
|
||||
@@ -176,7 +174,7 @@ Backups can then be used to clone or restore a profile.
|
||||
|
||||
[b]Account Deletion[/b]
|
||||
|
||||
Accounts can be immediately deleted by clicking on a link. That's it. All associated content is then deleted from the matrix (this includes posts and any other content produced by the deleted profile). Depending on the number of connections you have, the process of deleting remote content could take some time but it is scheduled to happen as quickly as is practical.
|
||||
Accounts can be immediately deleted by clicking on a link. That's it. All associated content is then deleted from the grid (this includes posts and any other content produced by the deleted profile). Depending on the number of connections you have, the process of deleting remote content could take some time but it is scheduled to happen as quickly as is practical.
|
||||
|
||||
[b][size=20]Content Creation[/size][/b]
|
||||
|
||||
@@ -187,10 +185,10 @@ Red supports a number of different ways of adding rich-text content. The default
|
||||
When creating "Websites", content may be entered in HTML, Markdown, BBcode, and/or plain text.
|
||||
|
||||
[b]Deletion of content[/b]
|
||||
Any content created in the $Projectname remains under the control of the member (or channel) that originally created it. At any time, a member can delete a message, or a range of messages. The deletion process ensures that the content is deleted, regardless of whether it was posted on a channel's primary (home) hub, or on another hub, where the channel was remotely authenticated via Zot (the $Projectname communication and authentication protocol).
|
||||
Any content created in $Projectname remains under the control of the member (or channel) that originally created it. At any time, a member can delete a message, or a range of messages. The deletion process ensures that the content is deleted, regardless of whether it was posted on a channel's primary (home) hub, or on another hub, where the channel was remotely authenticated via Zot ($Projectname communication and authentication protocol).
|
||||
|
||||
[b]Media[/b]
|
||||
Similar to any other modern blogging system, social network, or a micro-blogging service, Red supports the uploading of files, embedding of videos, linking web pages.
|
||||
Similar to any other modern blogging system, social network, or a micro-blogging service, $Projectname supports the uploading of files, embedding of videos, linking web pages.
|
||||
|
||||
[b]Previewing/Editing[/b]
|
||||
Post can be previewed prior to sending and edited after sending.
|
||||
|
||||
@@ -112,7 +112,7 @@ This document assumes you're an administrator.
|
||||
[b]system > cron_hour[/b]
|
||||
Specify an hour in which to run cron_daily. By default with no config, this will run at midnight UTC.
|
||||
[b]system > minimum_feedcheck_minutes[/b]
|
||||
The minimum interval between polling RSS feeds. If this is lower than the cron interval, feeds will be polled with each cronjob
|
||||
The minimum interval between polling RSS feeds. If this is lower than the cron interval, feeds will be polled with each cronjob. Defaults to 60 if not set. The site setting can also be over-ridden on a channel by channel basis by a service class setting aptly named 'minimum_feedcheck_minutes'.
|
||||
[b]system > blacklisted_sites[/b]
|
||||
An array of specific hubs to block from this hub completely.
|
||||
[b]system > ignore_imagick[/b]
|
||||
@@ -133,7 +133,48 @@ This document assumes you're an administrator.
|
||||
How long to cache photos, in seconds. Default is 86400 (1 day).
|
||||
Longer time increases performance, but it also means it takes longer for changed permissions to apply.
|
||||
[b]system > poco_rating_enable[/b]
|
||||
Distributed reputation reporting and data collection may be disabled. If your site does not participate in distributed reputation you will also not be able to make use of the data from your connections on other sites. By default and in the absence of any setting it is enabled. Individual members can opt out by restricting who can see their connections or by not providing any reputation information for their connections.
|
||||
Distributed reputation reporting and data collection may be disabled. If your site does not participate in distributed reputation you will also not be able to make use of the data from your connections on other sites. By default and in the absence of any setting it is enabled. Individual members can opt out by restricting who can see their connections or by not providing any reputation information for their connections.
|
||||
[b]system > register_link[/b]
|
||||
path to direct to from the "register" link on the login form. On closed sites this will direct to 'pubsites'. For open sites it will normally redirect to 'register' but you may change this to a custom site page offering subscriptions or whatever.
|
||||
[b]system > max_import_size[/b]
|
||||
If configured, the maximum length of an imported text message. This is normally left at 200Kbytes or more to accomodate Friendica private photos, which are embedded.
|
||||
[b]system > tempdir[/b]
|
||||
Place to store temporary files, default is defined in the PHP configuration
|
||||
[b]system > uploaddir[/b]
|
||||
Location to upload files (default is system.tempdir)
|
||||
[b]system > disable_discover_tab[/b]
|
||||
This allows you to completely disable the ability to discover public content from external sites.
|
||||
[b]system > sys_expire_days[/b]
|
||||
How many days to keep discovered public content from other sites
|
||||
[b]system > openssl_encrypt[/b]
|
||||
Use openssl encryption engine, default is false (uses mcrypt for AES encryption)
|
||||
[b]system > max_tagged_forums[/b]
|
||||
Spam prevention. Limits the number of tagged forums which are recognised in any post. Default is 2. Only the first 'n' tags will be delivered as forums, the others will not cause any delivery.
|
||||
[b]system > openssl_conf_file[/b]
|
||||
Needed in some Windows installations to locate the openssl configuration file on the system.
|
||||
[b]system > hide_help[/b]
|
||||
Don't display help documentation link in nav bar
|
||||
[b]system > expire_delivery_reports[/b]
|
||||
Expiration in days for delivery reports - default 30
|
||||
|
||||
[b]Directory config[/b]
|
||||
[b]Directory search defaults[/b]
|
||||
[b]directory > safemode[/b]
|
||||
0 or 1.
|
||||
[b]directory > globaldir[/b]
|
||||
0 or 1. Default 0. If you visit the directory on a site you'll just see the members of that site by default. You have to go through an extra step to see the people in the rest of the network; and by doing so there's a clear delineation that these people *aren't* members of that site but of a larger network.
|
||||
[b]directory > pubforums[/b]
|
||||
0 or 1. Public forums *should* be default 0.
|
||||
[b]Directory server configuration (see [zrl=[baseurl]/help/directories]help/directories[/zrl])[/b]
|
||||
[b]system > directory_server[/b]
|
||||
[b]system > directory_primary[/b]
|
||||
[b]system > directory_realm[/b]
|
||||
[b]system > realm_token[/b]
|
||||
[b]system > directory_mode[/b]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#include doc/macros/main_footer.bb;
|
||||
|
||||
|
||||
1
doc/hook/about_hook.bb
Normal file
1
doc/hook/about_hook.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]about_hook[/h2]
|
||||
1
doc/hook/accept_follow.bb
Normal file
1
doc/hook/accept_follow.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]accept_follow[/h2]
|
||||
1
doc/hook/account_downgrade.bb
Normal file
1
doc/hook/account_downgrade.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]account_downgrade[/h2]
|
||||
1
doc/hook/account_settings.bb
Normal file
1
doc/hook/account_settings.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]account_settings[/h2]
|
||||
1
doc/hook/account_settings_post.bb
Normal file
1
doc/hook/account_settings_post.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]account_settings_post[/h2]
|
||||
1
doc/hook/activity_received.bb
Normal file
1
doc/hook/activity_received.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]activity_received[/h2]
|
||||
1
doc/hook/affinity_labels.bb
Normal file
1
doc/hook/affinity_labels.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]affinity_labels[/h2]
|
||||
1
doc/hook/api_perm_is_allowed.bb
Normal file
1
doc/hook/api_perm_is_allowed.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]api_perm_is_allowed[/h2]
|
||||
1
doc/hook/atom_author.bb
Normal file
1
doc/hook/atom_author.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]atom_author[/h2]
|
||||
1
doc/hook/atom_entry.bb
Normal file
1
doc/hook/atom_entry.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]atom_entry[/h2]
|
||||
1
doc/hook/atom_feed.bb
Normal file
1
doc/hook/atom_feed.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]atom_feed[/h2]
|
||||
1
doc/hook/atom_feed_end.bb
Normal file
1
doc/hook/atom_feed_end.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]atom_feed_end[/h2]
|
||||
1
doc/hook/attach_upload_file.bb
Normal file
1
doc/hook/attach_upload_file.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]attach_upload_file[/h2]
|
||||
29
doc/hook/authenticate.bb
Normal file
29
doc/hook/authenticate.bb
Normal file
@@ -0,0 +1,29 @@
|
||||
[h2]authenticate[/h2]
|
||||
|
||||
Invoked when a POST request is made with non-null $_POST['auth-params'] such as from the login form.
|
||||
If the hook handler does not set the 'authenticated' parameter of the passed array, normal login functions continue;
|
||||
|
||||
The 'user_record' is in fact an account DB record. To provide automatic provisioning of accounts from other authentication realms, this record should be generated and stored during the verification phase.
|
||||
|
||||
|
||||
[code]
|
||||
$addon_auth = array(
|
||||
'username' => trim($_POST['username']),
|
||||
'password' => trim($_POST['password']),
|
||||
'authenticated' => 0,
|
||||
'user_record' => null
|
||||
);
|
||||
|
||||
/**
|
||||
*
|
||||
* A plugin indicates successful login by setting 'authenticated' to non-zero value and returning a user record
|
||||
* Plugins should never set 'authenticated' except to indicate success - as hooks may be chained
|
||||
* and later plugins should not interfere with an earlier one that succeeded.
|
||||
*
|
||||
*/
|
||||
|
||||
call_hooks('authenticate', $addon_auth);
|
||||
[/code]
|
||||
|
||||
|
||||
See include/auth.php
|
||||
1
doc/hook/bb2diaspora.bb
Normal file
1
doc/hook/bb2diaspora.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]bb2diaspora[/h2]
|
||||
1
doc/hook/bbcode.bb
Normal file
1
doc/hook/bbcode.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]bbcode[/h2]
|
||||
1
doc/hook/channel_remove.bb
Normal file
1
doc/hook/channel_remove.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]channel_remove[/h2]
|
||||
1
doc/hook/chat_message.bb
Normal file
1
doc/hook/chat_message.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]chat_message[/h2]
|
||||
1
doc/hook/chat_post.bb
Normal file
1
doc/hook/chat_post.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]chat_post[/h2]
|
||||
1
doc/hook/check_account_email.bb
Normal file
1
doc/hook/check_account_email.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]check_account_email[/h2]
|
||||
1
doc/hook/check_account_invite.bb
Normal file
1
doc/hook/check_account_invite.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]check_account_invite[/h2]
|
||||
1
doc/hook/check_account_password.bb
Normal file
1
doc/hook/check_account_password.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]check_account_password[/h2]
|
||||
1
doc/hook/connect_premium.bb
Normal file
1
doc/hook/connect_premium.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]connect_premium[/h2]
|
||||
1
doc/hook/connector_settings.bb
Normal file
1
doc/hook/connector_settings.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]connector_settings[/h2]
|
||||
1
doc/hook/construct_page.bb
Normal file
1
doc/hook/construct_page.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]construct_page[/h2]
|
||||
1
doc/hook/contact_block_end.bb
Normal file
1
doc/hook/contact_block_end.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]contact_block_end[/h2]
|
||||
1
doc/hook/contact_edit.bb
Normal file
1
doc/hook/contact_edit.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]contact_edit[/h2]
|
||||
1
doc/hook/contact_edit_post.bb
Normal file
1
doc/hook/contact_edit_post.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]contact_edit_post[/h2]
|
||||
1
doc/hook/contact_select_options.bb
Normal file
1
doc/hook/contact_select_options.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]contact_select_options[/h2]
|
||||
1
doc/hook/conversation_start.bb
Normal file
1
doc/hook/conversation_start.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]conversation_start[/h2]
|
||||
1
doc/hook/create_identity.bb
Normal file
1
doc/hook/create_identity.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]create_identity[/h2]
|
||||
5
doc/hook/cron.bb
Normal file
5
doc/hook/cron.bb
Normal file
@@ -0,0 +1,5 @@
|
||||
[h2]cron[/h2]
|
||||
|
||||
Called when cron task (include/poller.php) is executed. The hook data is a string representing the current time (UTC).
|
||||
|
||||
|
||||
3
doc/hook/cron_daily.bb
Normal file
3
doc/hook/cron_daily.bb
Normal file
@@ -0,0 +1,3 @@
|
||||
[h2]cron_daily[/h2]
|
||||
|
||||
Called when cron task (include/poller.php) performs a cron_daily operation. The hook data is a string representing the current time (UTC).
|
||||
3
doc/hook/cron_weekly.bb
Normal file
3
doc/hook/cron_weekly.bb
Normal file
@@ -0,0 +1,3 @@
|
||||
[h2]cron_weekly[/h2]
|
||||
|
||||
Called when cron task (include/poller.php) performs a cron_weekly operation. The hook data is a string representing the current time (UTC).
|
||||
1
doc/hook/directory_item.bb
Normal file
1
doc/hook/directory_item.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]directory_item[/h2]
|
||||
1
doc/hook/discover_by_webbie.bb
Normal file
1
doc/hook/discover_by_webbie.bb
Normal file
@@ -0,0 +1 @@
|
||||
[h2]discover_by_webbie[/h2]
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user