Merge branch 'master' of https://github.com/tuscanhobbit/red
This commit is contained in:
commit
a2629258ae
BIN
assets/nb-no/diamondlattice.png
Normal file
BIN
assets/nb-no/diamondlattice.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 522 KiB |
BIN
assets/nb-no/logo_simplifiedap.png
Normal file
BIN
assets/nb-no/logo_simplifiedap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
218
assets/nb-no/narrow.css
Normal file
218
assets/nb-no/narrow.css
Normal file
@ -0,0 +1,218 @@
|
||||
body {
|
||||
font-family: 'Ubuntu',Tahoma,Helvetica,Arial,sans-serif;
|
||||
color: #111111;
|
||||
text-align: center;
|
||||
padding:0 0 22px 0;
|
||||
}
|
||||
|
||||
div#header{
|
||||
position:absolute;
|
||||
z-index: 100;
|
||||
top:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
height: 55px;
|
||||
background: rgba(100, 0, 0, 0.8);
|
||||
background-size:3000px 55px;
|
||||
color: #fff;
|
||||
display:none;
|
||||
}
|
||||
|
||||
@media screen{
|
||||
body>div#header{
|
||||
position: fixed;
|
||||
}
|
||||
body>div#footer{
|
||||
position:fixed;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
div#footer{
|
||||
position:absolute;
|
||||
bottom:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
height:22px;
|
||||
background: #AD002C;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#intro-text {
|
||||
color:#c60032;font-size:1.2em;width:70%;margin-right:auto;margin-left:auto;text-align:justify;
|
||||
}
|
||||
div.section-text {
|
||||
color:#c60032;font-size:1.2em;width:80%;margin-right:auto;margin-left:auto;text-align:justify;
|
||||
}
|
||||
|
||||
#tagline {
|
||||
color: #c60032;
|
||||
width:80%;
|
||||
margin-top:0px;
|
||||
margin-bottom:20px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
div.red-button {
|
||||
width:150px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
font-weight: 500;
|
||||
font-size: larger;
|
||||
background-color: #c60032;
|
||||
border: 2px solid lightgray;
|
||||
border-radius: 5px;
|
||||
padding: 12px;
|
||||
}
|
||||
div.red-button a {
|
||||
text-decoration: none;
|
||||
color:#FFFFFF;
|
||||
}
|
||||
div.red-button a:hover {
|
||||
text-decoration: none;
|
||||
font-weight:600;
|
||||
|
||||
}
|
||||
|
||||
#footer {
|
||||
font-size: 12px;
|
||||
color:#fff;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
text-decoration: none;
|
||||
color:#fff;
|
||||
}
|
||||
.bg {
|
||||
display:none;
|
||||
}
|
||||
.bg2 {
|
||||
display:none;
|
||||
}
|
||||
.bg-mask {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#bg-narrow {
|
||||
background: url('diamondlattice.png') center center no-repeat ;
|
||||
opacity: 0.05;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
z-index: -1;
|
||||
width:100%;
|
||||
height:300%;
|
||||
display:none;
|
||||
}
|
||||
|
||||
div.summary-nodes-container {
|
||||
display:none;
|
||||
}
|
||||
div.summary-menu-container {
|
||||
display:block;
|
||||
}
|
||||
a.summary-menu-item {
|
||||
display: block;
|
||||
width:70%;
|
||||
margin-left:auto;margin-right:auto;
|
||||
border-radius:10px;
|
||||
color:#FFFFFF;
|
||||
font-size:1.2em;
|
||||
text-align:center;
|
||||
background:#c60032;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
a.summary-menu-item:hover{
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
|
||||
|
||||
div#menubutton1 {
|
||||
position: fixed;
|
||||
top:10px;
|
||||
left:200px;
|
||||
width:150px;
|
||||
height:30px;
|
||||
border-radius:10px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#c60032;
|
||||
display: none;
|
||||
z-index:200;
|
||||
}
|
||||
div#menubutton1:hover {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div#menubutton2 {
|
||||
position: fixed;
|
||||
top:10px;
|
||||
left:350px;
|
||||
width:150px;
|
||||
height:30px;
|
||||
border-radius:10px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#c60032;
|
||||
display: none;
|
||||
z-index:200;
|
||||
}
|
||||
div#menubutton2:hover {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div#menubutton3 {
|
||||
position: fixed;
|
||||
top:10px;
|
||||
right:350px;
|
||||
width:150px;
|
||||
height:30px;
|
||||
border-radius:10px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#c60032;
|
||||
display: none;
|
||||
z-index:200;
|
||||
}
|
||||
div#menubutton3:hover {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div#menubutton4 {
|
||||
position: fixed;
|
||||
top:10px;
|
||||
right:200px;
|
||||
width:150px;
|
||||
height:30px;
|
||||
border-radius:10px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#c60032;
|
||||
display: none;
|
||||
z-index:200;
|
||||
}
|
||||
div#menubutton4:hover {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div.section-heading {
|
||||
font-size:2.0em;
|
||||
color:#c60032;
|
||||
}
|
||||
div.section-subtitle {
|
||||
font-size:1.5em;
|
||||
color:#c60032;
|
||||
}
|
BIN
assets/nb-no/theRedMatrix.pptx
Normal file
BIN
assets/nb-no/theRedMatrix.pptx
Normal file
Binary file not shown.
BIN
assets/nb-no/uluru2.jpg
Normal file
BIN
assets/nb-no/uluru2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 190 KiB |
396
assets/nb-no/wide.css
Normal file
396
assets/nb-no/wide.css
Normal file
@ -0,0 +1,396 @@
|
||||
body {
|
||||
font-family: 'Ubuntu',Tahoma,Helvetica,Arial,sans-serif;
|
||||
color: #111111;
|
||||
/*color: rgba(0,0,0,0.0); */
|
||||
text-align: center;
|
||||
/* background-image: url("redmatrixbkgd.jpg"); */
|
||||
/*background: #ececec;*/
|
||||
padding:0 0 22px 0;
|
||||
/* background: url(redmatrixbkgd.jpg) no-repeat center center scroll; */
|
||||
/*
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
*/
|
||||
}
|
||||
|
||||
#intro-textl, #intro-textr {
|
||||
text-align: left; color:#444444;font-size:1.3em;
|
||||
}
|
||||
div.section-text {
|
||||
color:#C60032;font-size:1.2em;width:700px;margin-right:auto;margin-left:auto;text-align:justify;
|
||||
}
|
||||
|
||||
|
||||
div#header{
|
||||
display:none;
|
||||
position:absolute;
|
||||
z-index: 100;
|
||||
top:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
height: 55px;
|
||||
/* background-image: url("redmatrixbkgd.jpg"); */
|
||||
background: rgba(198, 0, 50, 0.8);
|
||||
background-size:3000px 55px;
|
||||
/* background: #afafaf;*/
|
||||
color: #fff;
|
||||
}
|
||||
@media screen{
|
||||
body>div#header{
|
||||
position: fixed;
|
||||
}
|
||||
body>div#footer{
|
||||
position:fixed;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
div#footer{
|
||||
position:absolute;
|
||||
bottom:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
height:22px;
|
||||
background: #AD002C;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#tagline {
|
||||
color: #880000;
|
||||
/* width:600px;
|
||||
margin-top:0px;
|
||||
margin-bottom:20px;
|
||||
margin-left: auto;
|
||||
margin-right: auto; */
|
||||
}
|
||||
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
div.red-button {
|
||||
width:150px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
font-weight: 500;
|
||||
font-size: larger;
|
||||
background-color: #C60032;
|
||||
border: 2px solid lightgray;
|
||||
border-radius: 5px;
|
||||
padding: 12px;
|
||||
}
|
||||
div.red-button a {
|
||||
text-decoration: none;
|
||||
color:#FFFFFF;
|
||||
}
|
||||
div.red-button a:hover {
|
||||
text-decoration: none;
|
||||
font-weight:600;
|
||||
}
|
||||
|
||||
#footer {
|
||||
font-size: 12px;
|
||||
color:#fff;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
text-decoration: none;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.bg {
|
||||
background: url('diamondlattice.png') center center no-repeat ;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 1350px;
|
||||
|
||||
top:0px;
|
||||
left:0px;
|
||||
opacity: 1.0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bg2 {
|
||||
background: url('diamondlattice.png') center center no-repeat;
|
||||
position: fixed;
|
||||
|
||||
width: 100%;
|
||||
height: 1350px;
|
||||
top:0px;
|
||||
left:0px;
|
||||
opacity: 1.0;
|
||||
z-index: -1;
|
||||
}
|
||||
.bg-mask {
|
||||
background: rgba(255, 255, 255, 0.95) center center no-repeat;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 1350px;
|
||||
top:0;
|
||||
left:0px;
|
||||
z-index: -1;
|
||||
|
||||
}
|
||||
.bg-narrow {
|
||||
display:none;
|
||||
}
|
||||
div.summary-menu-container {
|
||||
display:none;
|
||||
}
|
||||
div.summary-node {
|
||||
position: fixed;
|
||||
width: 50px;
|
||||
text-align: center ;
|
||||
font-size:1.2em;
|
||||
|
||||
|
||||
}
|
||||
div.summary-node-header {
|
||||
font-size: 1.2em;
|
||||
color:#FFFFFF;
|
||||
font-weight:bold;
|
||||
}
|
||||
div.summary-node-1 {
|
||||
position: absolute;
|
||||
top:0px;
|
||||
left:0px;
|
||||
width:200px;
|
||||
height:200px;
|
||||
border-radius:100px;
|
||||
color:#CCCCCC;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
}
|
||||
div.summary-node-1:hover{
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div.summary-node-1-text {
|
||||
margin-top:25%;
|
||||
width: 150px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
div.summary-node-2 {
|
||||
position: absolute;
|
||||
top:50px;
|
||||
left:170px;
|
||||
width:220px;
|
||||
height:220px;
|
||||
border-radius:200px;
|
||||
color:#CCCCCC;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
}
|
||||
div.summary-node-2:hover{
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div.summary-node-2-text {
|
||||
margin-top:30%;
|
||||
width: 150px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
div.summary-node-3 {
|
||||
position: absolute;
|
||||
top:0px;
|
||||
right:20px;
|
||||
width:250px;
|
||||
height:250px;
|
||||
border-radius:200px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
}
|
||||
div.summary-node-3:hover{
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div.summary-node-3-text {
|
||||
margin-top:25%;
|
||||
width: 200px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
|
||||
div.summary-node-4 {
|
||||
position: absolute;
|
||||
top:200px;
|
||||
right:180px;
|
||||
width:200px;
|
||||
height:200px;
|
||||
border-radius:200px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
}
|
||||
div.summary-node-4:hover{
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div.summary-node-4-text {
|
||||
margin-top:25%;
|
||||
width: 150px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
div.summary-node-5 {
|
||||
position: absolute;
|
||||
top:250px;
|
||||
left:120px;
|
||||
width:150px;
|
||||
height:150px;
|
||||
border-radius:150px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
}
|
||||
div.summary-node-5:hover{
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div.summary-node-5-text {
|
||||
margin-top:55px;
|
||||
width: 150px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
font-size:2.0em;
|
||||
|
||||
}
|
||||
div.summary-node-6 {
|
||||
position: absolute;
|
||||
top:20px;
|
||||
right:270px;
|
||||
width:150px;
|
||||
height:150px;
|
||||
border-radius:150px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
}
|
||||
div.summary-node-6:hover{
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div.summary-node-6-text {
|
||||
margin-top:30px;
|
||||
width: 100px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
div.summary-nodes-container {
|
||||
position: relative;
|
||||
margin-left: auto ;
|
||||
margin-right: auto ;
|
||||
margin-top:30px;
|
||||
margin-bottom:30px;
|
||||
width: 800px;
|
||||
height: 400px;
|
||||
text-align: center ;
|
||||
}
|
||||
div#menubutton1 {
|
||||
position: fixed;
|
||||
top:10px;
|
||||
left:200px;
|
||||
width:150px;
|
||||
height:30px;
|
||||
border-radius:10px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
display: none;
|
||||
z-index:200;
|
||||
}
|
||||
div#menubutton1:hover {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div#menubutton2 {
|
||||
position: fixed;
|
||||
top:10px;
|
||||
left:350px;
|
||||
width:150px;
|
||||
height:30px;
|
||||
border-radius:10px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
display: none;
|
||||
z-index:200;
|
||||
}
|
||||
div#menubutton2:hover {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div#menubutton3 {
|
||||
position: fixed;
|
||||
top:10px;
|
||||
right:350px;
|
||||
width:150px;
|
||||
height:30px;
|
||||
border-radius:10px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
display: none;
|
||||
z-index:200;
|
||||
}
|
||||
div#menubutton3:hover {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div#menubutton4 {
|
||||
position: fixed;
|
||||
top:10px;
|
||||
right:200px;
|
||||
width:150px;
|
||||
height:30px;
|
||||
border-radius:10px;
|
||||
color:#FFFFFF;
|
||||
/* line-height:100px; */
|
||||
text-align:center;
|
||||
background:#C60032;
|
||||
display: none;
|
||||
z-index:200;
|
||||
}
|
||||
div#menubutton4:hover {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
background:#550000
|
||||
}
|
||||
div.section-heading {
|
||||
font-size:2.0em;
|
||||
color:#C60032;
|
||||
width:700px;
|
||||
margin-bottom: 1em;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
div.section-subtitle {
|
||||
font-size:1.5em;
|
||||
color:#BB0000;
|
||||
}
|
12
boot.php
12
boot.php
@ -562,9 +562,17 @@ function startup() {
|
||||
// Some hosting providers block/disable this
|
||||
@set_time_limit(0);
|
||||
|
||||
// This has to be quite large to deal with embedded private photos
|
||||
ini_set('pcre.backtrack_limit', 500000);
|
||||
if(function_exists ('ini_set')) {
|
||||
|
||||
// This has to be quite large to deal with embedded private photos
|
||||
@ini_set('pcre.backtrack_limit', 500000);
|
||||
|
||||
// Use cookies to store the session ID on the client side
|
||||
@ini_set('session.use_only_cookies', 1);
|
||||
|
||||
// Disable transparent Session ID support
|
||||
@ini_set('session.use_trans_sid', 0);
|
||||
}
|
||||
|
||||
if (get_magic_quotes_gpc()) {
|
||||
$process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
|
||||
|
138
doc/nb-no/api_functions.md
Normal file
138
doc/nb-no/api_functions.md
Normal file
@ -0,0 +1,138 @@
|
||||
Red Twitter API
|
||||
===============
|
||||
|
||||
Det "grunnleggende" Red web API-et er basert på Twitter API-et, siden dette gir umiddelbar samhandling med et stort antall tredjepartsklienter og programmer uten å kreve noen kodeendring hos disse. Det er også et super-set av StatusNet-versjonen av Twitter API-et, siden den også har bred eksisterende støtte.
|
||||
|
||||
Red har flere muligheter som ikke vises gjennom Twitter-grensesnittene, der vi tvinges til å gjøre API-funksjoner "dummere" for å kunne arbeide med den primitive kommunikasjons- og personvernmodellen i Twitter/StatusNet. Vi planlegger å utvide Twitter-API-et slik at Red-spesifikke klienter kan ta i bruk alle funksjoner i Red uten begrensninger.
|
||||
|
||||
Et dedikert Red API som samvirker med egne datastrukturer og tillatelser er under utvikling, og dette krever ikke oversettelse til andre personvern- og tillatelsesmodeller og lagringsformater. Denne vil bli beskrevet i andre dokumenter. Prefikset for alle egne endepunkter er 'api/red'.
|
||||
|
||||
Red tilbyr tilgang til flere kanaler via samme innloggingskonto. Med Red vil enhver API-funksjon som krever autentisering akseptere et parameter - &channel={channel_nickname} - og vil velge den kanalen og gjøre den gjeldende før utføring av API-kommandoen. Som standard er det standardkanalen i kontoen som velges.
|
||||
|
||||
Red tilbyr også en utvidet tillatelsesmodell. Grunnet fraværet av Red-spesifikke API kall til å angi tillatelser, så vil disse innstillingene bli satt til standardtillatelsene assosiert med den gjeldende kanalen.
|
||||
|
||||
Red vil antakelig aldri helt kunne støtte Twitter sine 'api/friendships' funksjoner, fordi Red er ikke et sosialt nettverk og har ikke innebygget noe konsept om "vennskap" - den gjenkjenner tillatelser til å gjøre ting (eller ikke gjøre ting hvis det er det som trengs).
|
||||
|
||||
Tegnforklaring: T= Twitter, S= StatusNet, F= Friendica, R= Red, ()=Virker ikke ennå, J= kun JSON (XML-formater er avlegs)
|
||||
|
||||
|
||||
|
||||
Twitter API kompatible funksjoner:
|
||||
|
||||
* api/account/verify_credentials T,S,F,R
|
||||
* api/statuses/update T,S,F,R
|
||||
* api/users/show T,S,F,R
|
||||
* api/statuses/home_timeline T,S,F,R
|
||||
* api/statuses/friends_timeline T,S,F,R
|
||||
* api/statuses/public_timeline T,S,F,R
|
||||
* api/statuses/show T,S,F,R
|
||||
* api/statuses/retweet T,S,F,R
|
||||
* api/statuses/destroy T,S,F,(R)
|
||||
* api/statuses/mentions T,S,F,(R)
|
||||
* api/statuses/replies T,S,F,(R)
|
||||
* api/statuses/user_timeline T,S,F,(R)
|
||||
* api/favorites T,S,F,(R)
|
||||
* api/account/rate_limit_status T,S,F,R
|
||||
* api/help/test T,S,F,R
|
||||
* api/statuses/friends T,S,F,R
|
||||
* api/statuses/followers T,S,F,R
|
||||
* api/friends/ids T,S,F,R
|
||||
* api/followers/ids T,S,F,R
|
||||
* api/direct_messages/new T,S,F,(R)
|
||||
* api/direct_messages/conversation T,S,F,(R)
|
||||
* api/direct_messages/all T,S,F,(R)
|
||||
* api/direct_messages/sent T,S,F,(R)
|
||||
* api/direct_messages T,S,F,(R)
|
||||
* api/oauth/request_token T,S,F,R
|
||||
* api/oauth/access_token T,S,F,R
|
||||
|
||||
|
||||
Twitter API funksjoner støttet av StatusNet men for øyeblikket ikke av Friendica eller Red
|
||||
|
||||
* api/favorites T,S
|
||||
* api/favorites/create T,S
|
||||
* api/favorites/destroy T,S
|
||||
* api/statuses/retweets_of_me T,S
|
||||
* api/friendships/create T,S
|
||||
* api/friendships/destroy T,S
|
||||
* api/friendships/exists T,S
|
||||
* api/friendships/show T,S
|
||||
* api/account/update_location T,S
|
||||
* api/account/update_profile_background_image T,S
|
||||
* api/account/update_profile_image T,S
|
||||
* api/blocks/create T,S
|
||||
* api/blocks/destroy T,S
|
||||
|
||||
Twitter API funksjoner som for øyeblikket ikke er støttet av StatusNet
|
||||
|
||||
* api/statuses/retweeted_to_me T
|
||||
* api/statuses/retweeted_by_me T
|
||||
* api/direct_messages/destroy T
|
||||
* api/account/end_session T,(R)
|
||||
* api/account/update_delivery_device T
|
||||
* api/notifications/follow T
|
||||
* api/notifications/leave T
|
||||
* api/blocks/exists T
|
||||
* api/blocks/blocking T
|
||||
* api/lists T
|
||||
|
||||
|
||||
StatusNet kompatible utvidelser til Twitter API-et støttet av både Friendica og Red
|
||||
|
||||
* api/statusnet/version S,F,R
|
||||
* api/statusnet/config S,F,R
|
||||
|
||||
Friendica API utvidelser til Twitter API-et støttet av både Friendica og Red
|
||||
|
||||
* api/statuses/mediap F,R
|
||||
|
||||
|
||||
Red-spesifikke API utvidelser til Twitter API-et som ikke er støttet av Friendica
|
||||
|
||||
* api/account/logout R
|
||||
* api/export/basic R,J
|
||||
* api/friendica/config R
|
||||
* api/red/config R
|
||||
* api/friendica/version R
|
||||
* api/red/version R
|
||||
|
||||
* api/red/channel/export/basic R,J
|
||||
* api/red/channel/stream R,J (currently post only)
|
||||
* api/red/albums R,J
|
||||
* api/red/photos R,J (option album=xxxx)
|
||||
|
||||
|
||||
Foreslåtte Red API utvidelser til Twitter API-et
|
||||
|
||||
* api/statuses/edit (R),J
|
||||
* api/statuses/permissions (R),J
|
||||
* api/statuses/permissions/update (R),J
|
||||
* api/statuses/ids (R),J # søk etter eksisterende message_id før importering av fremmed innlegg
|
||||
* api/files/show (R),J
|
||||
* api/files/destroy (R),J
|
||||
* api/files/update (R),J
|
||||
* api/files/permissions (R),J
|
||||
* api/files/permissions/update (R),J
|
||||
* api/pages/show (R),J
|
||||
* api/pages/destroy (R),J
|
||||
* api/pages/update (R),J
|
||||
* api/pages/permissions (R),J
|
||||
* api/pages/permissions/update (R),J
|
||||
* api/events/show (R),J
|
||||
* api/events/update (R),J
|
||||
* api/events/permissions (R),J
|
||||
* api/events/permissions/update (R),J
|
||||
* api/events/destroy (R),J
|
||||
* api/photos/show (R),J
|
||||
* api/photos/update (R),J
|
||||
* api/photos/permissions (R),J
|
||||
* api/photos/permissions/update (R),J
|
||||
* api/albums/destroy (R),J
|
||||
* api/albums/show (R),J
|
||||
* api/albums/update (R),J
|
||||
* api/albums/permissions (R),J
|
||||
* api/albums/permissions/update (R),J
|
||||
* api/albums/destroy (R),J
|
||||
* api/friends/permissions (R),J
|
||||
|
||||
|
@ -110,6 +110,7 @@ function filestorage_content(&$a) {
|
||||
$channel = $a->get_channel();
|
||||
|
||||
$cloudpath = get_cloudpath($f) . (($f['flags'] & ATTACH_FLAG_DIR) ? '?f=&davguest=1' : '');
|
||||
$parentpath = get_parent_cloudpath($channel['channel_id'], $channel['channel_address'], $f['hash']);
|
||||
|
||||
$aclselect_e = populate_acl($f,false);
|
||||
$is_a_dir = (($f['flags'] & ATTACH_FLAG_DIR) ? true : false);
|
||||
@ -121,6 +122,7 @@ function filestorage_content(&$a) {
|
||||
'$header' => t('Edit file permissions'),
|
||||
'$file' => $f,
|
||||
'$cloudpath' => z_root() . '/' . $cloudpath,
|
||||
'$parentpath' => $parentpath,
|
||||
'$uid' => $channel['channel_id'],
|
||||
'$channelnick' => $channel['channel_address'],
|
||||
'$permissions' => t('Permissions'),
|
||||
|
@ -1 +1 @@
|
||||
2014-06-23.715
|
||||
2014-06-24.716
|
||||
|
@ -352,18 +352,18 @@
|
||||
if(data.events == 0) { data.events = ''; $('.events-update').removeClass('show') } else { $('.events-update').addClass('show') }
|
||||
$('.events-update').html(data.events);
|
||||
|
||||
if(data.events_today == 0) { data.events_today = ''; $('.events-today-update').removeClass('show') } else { $('.events-today-update').addClass('show') }
|
||||
if(data.events_today == 0) { data.events_today = ''; $('.events-today-update').removeClass('show') } else { $('.events-today-update').addClass('show'); $('.events-update').html(data.events + '*'); }
|
||||
$('.events-today-update').html(data.events_today);
|
||||
|
||||
if(data.birthdays == 0) { data.birthdays = ''; $('.birthdays-update').removeClass('show') } else { $('.birthdays-update').addClass('show') }
|
||||
if(data.birthdays == 0) { data.birthdays = ''; $('.birthdays-update').removeClass('show') } else { $('.birthdays-update').addClass('show'); }
|
||||
$('.birthdays-update').html(data.birthdays);
|
||||
|
||||
if(data.birthdays_today == 0) { data.birthdays_today = ''; $('.birthdays-today-update').removeClass('show') } else { $('.birthdays-today-update').addClass('show') }
|
||||
if(data.birthdays_today == 0) { data.birthdays_today = ''; $('.birthdays-today-update').removeClass('show') } else { $('.birthdays-today-update').addClass('show'); $('.birthdays-update').html(data.birthdays + '*'); }
|
||||
$('.birthdays-today-update').html(data.birthdays_today);
|
||||
|
||||
if(data.all_events == 0) { data.all_events = ''; $('.all_events-update').removeClass('show') } else { $('.all_events-update').addClass('show') }
|
||||
$('.all_events-update').html(data.all_events);
|
||||
if(data.all_events_today == 0) { data.all_events_today = ''; $('.all_events-today-update').removeClass('show') } else { $('.all_events-today-update').addClass('show') }
|
||||
if(data.all_events_today == 0) { data.all_events_today = ''; $('.all_events-today-update').removeClass('show') } else { $('.all_events-today-update').addClass('show'); $('.all_events-update').html(data.all_events + '*'); }
|
||||
$('.all_events-today-update').html(data.all_events_today);
|
||||
|
||||
$.jGrowl.defaults.closerTemplate = '<div>[ ' + aStr['closeAll'] + ']</div>';
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
<div id="attach-edit-backlink">< <a href="cloud/{{$channelnick}}">{{$backlink}}</a></div>
|
||||
<div id="attach-edit-backlink">< <a href="{{$parentpath}}">{{$backlink}}</a></div>
|
||||
|
||||
<h1>{{$header}}</h1>
|
||||
|
||||
|
Reference in New Issue
Block a user