Merge https://github.com/friendica/red into pending_merge
This commit is contained in:
commit
8c4eb839f9
@ -220,12 +220,12 @@ $(document).ready(function() {
|
||||
"Gilla + Ogilla",
|
||||
"Dela allt som är digitalt",
|
||||
"Kommunikation",
|
||||
"Identitsmedvetet innehåll",
|
||||
"Identitetsmedvetet innehåll",
|
||||
"Pseudonymer",
|
||||
"Multipla identiteter",
|
||||
"Reklamfritt",
|
||||
"Rich Text-inlägg/-kommentarer",
|
||||
"Händelsekalender",
|
||||
"Kalender",
|
||||
"Bokmärken",
|
||||
"Gemensam taggning",
|
||||
"Speglad katalog",
|
||||
@ -374,15 +374,15 @@ Ett av de vanliga problemen med oberoende publicering på nätet har al
|
||||
</div>
|
||||
<br />
|
||||
<div class="tr" style="font-size: 1.4em; color: #666; margin-left: 75px; margin-right: 75px;">
|
||||
RedMatrix är ett nätverk sammansatt av ett stort antal mindre, oberoende och självständiga webbplatser, sammankopplade till en samverkande publicerings- och kommunikationsplattform. Mjukvaran består av en webbapplikation släppt som öppen källkod, som tillhandahåller ett <strong>decentraliserat</strong> fleranvändarsystem för kommunikation, publicering och delning, och när den körs utgör en nod i nätverket. Varje nod erbjuder såväl kommunikationsverktyg (privata meddelanden, chatt, blogg, forum och traditionellt socialt nätverkande) som filhantering (foton, kalenderhändelser, filer, webbsidor, delbara tilläggsprogram) för alla medlemmar; alltihop i en sammanknuten plattform. Dessa noder tar automatiskt kontakt med varandra och resten av nätverket. Sekretess och innehållsstyrning är alltid under din direkta personliga kontroll, och behörighet till inlägg eller filer kan ges eller nekas vem som helst i nätverket.
|
||||
RedMatrix är ett nätverk sammansatt av ett stort antal mindre, oberoende och självständiga webbplatser, sammankopplade till en samverkande publicerings- och kommunikationsplattform. Mjukvaran består av en webbapplikation släppt som öppen källkod, som tillhandahåller ett <strong>decentraliserat</strong> fleranvändarsystem för kommunikation, publicering och delning, och när den körs utgör en nod i nätverket. Varje nod erbjuder såväl kommunikationsverktyg (privata meddelanden, chatt, blogg, forum och traditionellt socialt nätverkande) som filhantering (foton, kalenderhändelser, filer, webbsidor, delbara tilläggsprogram) för alla medlemmar; alltihop i en sammanhållen plattform. Dessa noder tar automatiskt kontakt med varandra och resten av nätverket. Sekretess och innehållsstyrning är alltid under din direkta personliga kontroll, och behörighet till inlägg eller filer kan ges eller nekas vem som helst i nätverket.
|
||||
</div>
|
||||
<br />
|
||||
<div class="tr" style="font-size: 1.4em; color: #666; margin-left: 75px; margin-right: 75px;">
|
||||
Det som gör RedMatrix unikt är vad vi kallar "magisk fjärrinloggning" - som är baserad på vårt banbrytande arbete med en decentraliserad identitetshantering. Ingen annan plattform vi känner till erbjuder i dagsläget något liknande. Inom nätverket är gränserna mellan de olika noderna utsuddade eller till synes icke-existerande. En identitet i nätverket kan vara övergående och potentiellt nomadisk. "Vem du är" har inget att göra med "vilken dator du ansluter till inom nätverket" och webbsidornas innehåll kan skapas så att det anpassar sig utifrån vem som tittar på det. Du har möjlighet att "klona" din identitet till andra noder, vilket låter dig fortsätta att kommunicera med dina vänner utan avbrott om din primära nod skulle bli otillgänglig (tillfälligt eller permanent).
|
||||
Det som gör RedMatrix unikt är vad vi kallar "magisk fjärrinloggning" som är baserad på vårt banbrytande arbete med en decentraliserad identitetshantering. Ingen annan plattform vi känner till erbjuder i dagsläget något liknande. Inom nätverket är gränserna mellan de olika noderna utsuddade eller till synes icke-existerande. En identitet i nätverket kan vara övergående och potentiellt nomadisk. "Vem du är" har inget att göra med "vilken dator du ansluter till inom nätverket" och webbsidornas innehåll kan skapas så att det anpassar sig utifrån vem som tittar på det. Du har möjlighet att "klona" din identitet till andra noder, vilket låter dig fortsätta att kommunicera med dina vänner utan avbrott om din primära nod skulle bli otillgänglig (tillfälligt eller permanent).
|
||||
</div>
|
||||
<br />
|
||||
<div class="tr" style="font-size: 1.4em; color: #666; margin-left: 75px; margin-right: 75px;">
|
||||
RedMatrix passar för grupper av vilken storlek som helst - alltifrån privatpersoner och familjer till nätforum, företagswebbplatser och organisationer. Det kan användas av alla som har innehåll de önskar dela med sig av och samtidigt ha full kontroll över vem de delar det med.
|
||||
RedMatrix passar för grupper av alla storlekar - alltifrån privatpersoner och familjer till nätforum, företagswebbplatser och organisationer. Det kan användas av alla som har innehåll de önskar dela med sig av och samtidigt ha full kontroll över vem de delar det med.
|
||||
</div>
|
||||
<br />
|
||||
<div style="margin-bottom: 15px; color: #808080; font-size: 1.8em;"><strong>RedMatrix - "Nätverket"</strong></div>
|
||||
|
1
boot.php
1
boot.php
@ -497,6 +497,7 @@ define ( 'ACTIVITY_FAVORITE', NAMESPACE_ACTIVITY_SCHEMA . 'favorite' );
|
||||
|
||||
define ( 'ACTIVITY_POKE', NAMESPACE_ZOT . '/activity/poke' );
|
||||
define ( 'ACTIVITY_MOOD', NAMESPACE_ZOT . '/activity/mood' );
|
||||
define ( 'ACTIVITY_FILE', NAMESPACE_ZOT . '/activity/file' );
|
||||
|
||||
define ( 'ACTIVITY_OBJ_COMMENT', NAMESPACE_ACTIVITY_SCHEMA . 'comment' );
|
||||
define ( 'ACTIVITY_OBJ_NOTE', NAMESPACE_ACTIVITY_SCHEMA . 'note' );
|
||||
|
@ -1,18 +1,18 @@
|
||||
[h2]You want to contribute to the Red Matrix?[/h2]
|
||||
[b]...and don't know really how to start?
|
||||
Then this is for you...[/b]
|
||||
[h2]You want to contribute code?[/h2]
|
||||
[b]...and don't know how to start?[/b]
|
||||
Then this is for you.
|
||||
|
||||
You want to lean how to:
|
||||
This manual will guided you step-by-step to:
|
||||
[list]
|
||||
[*] debug the Red Matrix,
|
||||
[*] debug the Red Matrix (PHP),
|
||||
[*] contribute code to the project,
|
||||
[*] optionally - do it all from inside a virtual machine
|
||||
[/list]
|
||||
|
||||
This manual was tested for
|
||||
[list]
|
||||
[*] Lubuntu Linux as host OS
|
||||
[*] Debian as guest OS running in a VM
|
||||
[*] Lubuntu (Ubuntu 14.0) as host OS
|
||||
[*] Debian (Wheezy) as guest OS running in a VM
|
||||
[/list]
|
||||
|
||||
[h2]Content[/h2]
|
||||
@ -22,7 +22,7 @@ In this manual you will
|
||||
[*] Install a Virtual Machine (KVM)
|
||||
[*] Install Apache Web Server
|
||||
[*] Install PHP, MySQL, phpMyAdmin
|
||||
[*] Fork the project on github to be able contribute
|
||||
[*] Fork the project on github to be able to contribute
|
||||
[*] Install the RED Matrix
|
||||
[*] Debug the server via eclipse
|
||||
[*] Contribute your changes via github
|
||||
@ -179,22 +179,24 @@ Grant all rights for the user "red" to the database "red".
|
||||
Note the access details (hostname, username, password, database name).
|
||||
|
||||
|
||||
[h2]Fork the project on github to be able contribute[/h2]
|
||||
[h2]Fork the project on github to be able to contribute[/h2]
|
||||
|
||||
Please follow the instruction in offiical [url=http://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project] documentation[/url] of git.
|
||||
Please follow the instruction in the offiical [url=http://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project] documentation[/url] of git.
|
||||
It is a good idea to read the whole manual! Git is different to other version control systems in many ways.
|
||||
|
||||
You should
|
||||
Now you should
|
||||
[list]
|
||||
[*] create an account at github.com
|
||||
[*] fork https://github.com/friendica/red
|
||||
[*] fork https://github.com/friendica/red-addons
|
||||
[/list]
|
||||
|
||||
If you not want to use GIT from the command line - there is a usefull Eclipse plugin named ""Eclipse Mylyn to GitHub connector".
|
||||
|
||||
|
||||
[h2]Install RED and its Addons[/h2]
|
||||
|
||||
You should have created an account on github and forked the projects befor you procced.
|
||||
You should have created an account on github and forked the projects befor you procceed.
|
||||
|
||||
Delete the directory www
|
||||
[code]root@debian /var/www/html $ cd ..
|
||||
@ -206,9 +208,9 @@ Install git (and optionally git-gui a client gui)
|
||||
|
||||
Download the main project red and red-addons
|
||||
[code]
|
||||
root@debian:/var# git clone https://github.com/einervonvielen/red www
|
||||
root@debian:/var# git clone https://github.com/yourname/red www
|
||||
root@debian:/var# cd www/
|
||||
root@debian:/var/www# git clone https://github.com/einervonvielen/red-addons addon
|
||||
root@debian:/var/www# git clone https://github.com/yourname/red-addons addon
|
||||
[/code]
|
||||
|
||||
Make this extra folder
|
||||
@ -316,6 +318,10 @@ Install the PHP plugin
|
||||
Menu > Help > Install new software...
|
||||
Install "PHP Developnent Tools ..."
|
||||
|
||||
Optionally - Install the GitHub connector plugin
|
||||
Menu > Help > Install new software...
|
||||
Install "Eclipse Mylyn to GitHub connector"
|
||||
|
||||
Configure the PHP plugin
|
||||
Menu > Window > Preferences...
|
||||
> General > Webbrowser > Change to "Use external web browser"
|
||||
@ -323,7 +329,7 @@ Menu > Window > Preferences...
|
||||
|
||||
Create a new PHP project
|
||||
Menu > File > New Project > Choose PHP > "PHP Project"
|
||||
> Choose Create project at existing location and "/var/www"
|
||||
> Choose Create project at existing location" and "/var/www"
|
||||
|
||||
Start debugging
|
||||
Open index.php and "Debug as..."
|
||||
@ -338,9 +344,11 @@ Expected:
|
||||
|
||||
[h2]Contribute your changes via github[/h2]
|
||||
|
||||
(There is a related page in this docs: [zrl=[baseurl]/help/git_for_non_developers]Git for Non-Developers[/zrl])
|
||||
There is a related page in this docs: [zrl=[baseurl]/help/git_for_non_developers]Git for Non-Developers[/zrl].
|
||||
As stated befor it is recommended to read the official documentation [url=http://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project]GitHub-Contributing-to-a-Project[/url] of git.
|
||||
|
||||
Eclipse has a usefull plugin for GIT: "Eclipse Mylyn to GitHub connector".
|
||||
|
||||
Make sure you have set your data
|
||||
[code]
|
||||
surfer@debian:/var/www$ git config --global user.name "Your Name"
|
||||
@ -398,7 +406,7 @@ Make the changes, check them, commit (to local repository), push (to online repo
|
||||
[code]
|
||||
surfer@debian:/var/www$ git status
|
||||
surfer@debian:/var/www$ git commit -a -m "added modification of branch"
|
||||
surfer@debian:/var/www$ git push origin dev_beginning
|
||||
surfer@debian:/var/www$ git push
|
||||
[/code]
|
||||
|
||||
|
||||
|
@ -264,6 +264,7 @@ function localize_item(&$item){
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
// FIXME store parent item as object or target
|
||||
// (and update to json storage)
|
||||
|
@ -836,6 +836,8 @@ function get_item_elements($x) {
|
||||
|
||||
if(array_key_exists('flags',$x) && in_array('deleted',$x['flags']))
|
||||
$arr['item_restrict'] = ITEM_DELETED;
|
||||
if(array_key_exists('flags',$x) && in_array('hidden',$x['flags']))
|
||||
$arr['item_restrict'] = ITEM_HIDDEN;
|
||||
|
||||
// Here's the deal - the site might be down or whatever but if there's a new person you've never
|
||||
// seen before sending stuff to your stream, we MUST be able to look them up and import their data from their
|
||||
@ -1306,6 +1308,8 @@ function encode_item_flags($item) {
|
||||
|
||||
if($item['item_restrict'] & ITEM_DELETED)
|
||||
$ret[] = 'deleted';
|
||||
if($item['item_restrict'] & ITEM_HIDDEN)
|
||||
$ret[] = 'hidden';
|
||||
if($item['item_flags'] & ITEM_THREAD_TOP)
|
||||
$ret[] = 'thread_parent';
|
||||
if($item['item_flags'] & ITEM_NSFW)
|
||||
|
@ -130,6 +130,7 @@ function profile_photo_post(&$a) {
|
||||
if($r) {
|
||||
|
||||
$base_image = $r[0];
|
||||
$base_image['data'] = dbunescbin($base_image['data']);
|
||||
|
||||
$im = photo_factory($base_image['data'], $base_image['type']);
|
||||
if($im->is_valid()) {
|
||||
|
4519
view/it/messages.po
4519
view/it/messages.po
File diff suppressed because it is too large
Load Diff
1056
view/it/strings.php
1056
view/it/strings.php
File diff suppressed because it is too large
Load Diff
4513
view/sv/messages.po
4513
view/sv/messages.po
File diff suppressed because it is too large
Load Diff
1054
view/sv/strings.php
1054
view/sv/strings.php
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user