Pesquisar

Results for: github

Andy H3
15 horas atrás
That's great Hoergen. I'll draft this within the next day. I might need some help where to put the screenshots on github.
Andy H3
1 dia atrás
Very nice! In the spirit of this, I'd like to edit the "mission statement" blob for plain and concise language. https://github.com/friendica/friendica/blob/develop/README.md

Here my attempt:

'Welcome to the free social web.

Friendica is a decentralised communications platform that integrates social communication. Our platform links to several independent social projects and corporate services.

Our mission is to free our friends and families from data-harvesting corporations; we aim for social communication to be free and open, while flowing between any provider as easily as email does today.'

Any comments or suggestions before I open a PR.
Fabio
2 semanas atrás
Rabuzarus
2 meses atrás
@Michael Vogel
Which means that we have to store the data elsewhere. But: I would like to do this only on the transport, not the storing and processing.
.
Can you describe this point a bit more, so I understand how this would look like (transport, storing, processing).

Some side notes:
For the would I would really love to see that friendica get rid of having objects as bbcode in the item['body']. In some way we have talked about this at the last hackathon. Objects (events, share, attachments) belong to the item but are very different form some formatted text. So we should store them not in $item['body'].

To the actual problem:
I won't touch the protocol part because because I'm afraid to break something. Nor will I write very, very complex sql queries. For such a case I would wisch a function which give me the results.

So I would stop at this point and would leave it up to you to provide the basics so I could step up to do the gui part.

Back to the code in my repository:
What about the handling of nested arrays in function xml::from_array() and the extension of function xml::to_array()?
I would like to have such a functionality in the code to replace written xml elements (like we do it now for e.g. objekcts - e.g. https://github.com/friendica/friendica/blob/develop/include/event.php#L280 and many other places) to arrays.
This arrays should be easily converted to xml (with an easy possibility to convert it back). At the moment (develop branch) it is the situation that if you have a string with xml with values and attributes (or the extended case if it does have more of the same element - e.g. <link>) you won't be able to convert it to an array and back to xml.
Rabuzarus
2 meses atrás
events in network stream
@Friendica Developers @Friendica Theme Developers

One of the many things which are not that good solved in friendica is from my point of view that fact that all objects which belong to a post are saved as bbcode in the item body. With objects I mean something like shares, attachments, events and so on. Since the beginning of using friendica I very unsatisfied that there are only limited possibilities to theme such objects because they are hard-coded. While I tried to fix https://github.com/friendica/friendica/issues/2646 some time ago I started to do some experiments how to extend the possibilities for displaying events.

Before I continue polishing and finishing the could I would like to have some feedback. There are some questions in my head and some (lets call it) designing decision to do (or which I have done and needs to discussed).

You will find the present code at https://github.com/rabuzarus/friendica/tree/20170904_-_extend_event_html and an example frio event at https://test.kommune4.de/display/9fd9b54c1359dcc60b622dd589375790

To explain what the code does:
In a short, the activity stream object (the one which is saved in the item table in the object column) will be extended with information which are needed for the event (e.g. start time, end time, author, location and so on). (I saw this in the hubzilla project and I like the idea to make more use of the object field if there are embedded object in the posts - events, share, attachments and so on).
While frindica does the preparing of the item for displaying its content, it verifies if the event item is an event and if the event object does contain additional data (for compatibility reasons with older objects). If it is an an event object it will extract the event data from the event object and will format this data in a special event template. The template formatted output will replace the existing $item['body'].
So every theme can decide how an event should be presented in the network stream.

To improve the speed, friendica does cache the html of an item. This would mean that we would need to parse the event everytime when a user would change the theme (and the event template would be a different one). To solve this only the event description (the part which should not change when selecting a different theme) is saved in the event cache.

There are some parts I want to talk about with you.
1.) I'm not sure if you like this approach (it was inspired by the hubzilla project)

2.) The created event object looks like:
[code=xml]
<object>
<type>http://activitystrea.ms/schema/1.0/event</type>
<id>urn:X-dfrn:test.kommune4.de:2:9fd9b54c3759dcc60b584d0456260405</id>
<title>Friendica Hackathon</title>
<startTime>2017-11-24 15:00:00</startTime>
<endTime>2017-11-26 19:00:00</endTime>
<description>Hackathon in Berlin to prepare the 3.6 release of Friendica.[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
Room is limited, so please let us know if you plan to join us in Berlin.</description>
<location>
<name>Jugendclub [url=http://zope2.in-berlin.de:8100/wsb/elok]E-LOK[/url]</name>
<address>Laskerstra&#[url=https://friendica.kommune4.de/search?tag=xDF]xDF[/url];e 4-6, Berlin</address>
</location>
<content>[event-summary]Friendica Hackathon[/event-summary][event-description]Hackathon in Berlin to prepare the 3.6 release of Friendica.&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
Room is limited, so please let us know if you plan to join us in Berlin.[/event-description][event-start]2017-11-24 15:00:00[/event-start][event-finish]2017-11-26 19:00:00[/event-finish][event-location]Jugendclub [url=http://zope2.in-berlin.de:8100/wsb/elok]E-LOK[/url]&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
&#[url=https://friendica.kommune4.de/search?tag=xD]xD[/url];
[map]Laskerstra&#[url=https://friendica.kommune4.de/search?tag=xDF]xDF[/url];e 4-6, Berlin[/map][/event-location]</content>
<link rel="alternate" type="text/html" href="https://test.kommune4.de/display/9fd9b54c8359dcc61152d76696294856"/>
<author>
<name>Ronny Rabuzarus</name>
<address>rabuzarus@test.kommune4.de</address>
<link rel="alternate" type="text/html" href="https://test.kommune4.de/profile/rabuzarus"/>
<link rel="photo" type="image/jpeg" href="https://test.kommune4.de/photo/58c7a30eeacc6492c43daf582cfb3cba-5.jpg"/>
</author>
</object>
[/code]

I'm unsure about the used tag names startTime and endTime. The naming was taken from https://github.com/activitystreams/activity-schema/blob/master/activity-schema.md#event . (should we use it or should we rather use the friendica names start and finish or should we use rather other tag names - e.g. hubzilla usesdtstart and dtend).

3.) Because I'm not familiar with xml handling in php I extended xml::from_array( ) to handle nested arrays. In addition I extended xml::to_array( ) to have a 'mixed' (Please: If some one does have a better name for this mode, please let me know) priority mode. It does convert xml in the following way: http://www.lalit.org/lab/convert-xml-to-array-in-php-xml2array/ .
In addition I changed the behavior of xml::to_array( ) in 'attribute' priority mode a little bit. Formerly the

[link]=> array(
[value]= http://irgendwas.de
)


Now it @value represents the content of a xml element:

[link]=> array(
[@value] = http://irgendwas.de
)


I did some tests to convert a xml with xml::to_array( ) and back with xml::from_array( ). The results look very good (Note this only works if the the array is created in 'attribute' or the new 'mixed' mode). I did several tests but I couldn't be sure if it doesn't break something (@Michael Vogel can you have a look - sry for disturbing your holiday).

4.) For frio I create short naming versions for the month and the day (eg. Mon, Tue and so on or Jan, Feb, Mar) in format_event_object( ). This code for this is inspired by other places in friendica where dates are created. I'm not familiar with date/time formats of other countries so this was the best way of preventing doing some mistakes. If anybody does have better solutions of solving this he/she is welcome to tell me.

5.) I have thought about creating a template for the content of function format_event_html() . But since this function is also used in function bbcode( ) I can not estimate the effects of having the possibility of different templates. Any thoughts about this?

Maybe I have other questions but I can't remember it at the moment. So I will end at this point and hope about some feedback :-)
Michael Vogel
2 meses atrás
There is a possible problem concerning this pull request: https://github.com/friendica/friendica-addons/pull/428
Fabio
3 meses atrás

jupeter/clean-code-php

clean-code-php - :bathtub: Clean Code concepts adapted for PHP
Fabio
5 meses atrás
ok

https://github.com/fabrixxm/friendica-clippy

I think some of the enterprise functionalities will work only with Frio theme..

There will be a service pack with multiple, user configurable, assistants. And more annoying functionalities
Fabio
5 meses atrás
Jason Robinson wrote the following post:

johngrib/vim-game-code-break: Block-breaking game in vim 8.0



Imagem/foto

I kind of wish I used #Vim when I see things like this :D



johngrib/vim-game-code-break

vim-game-code-break - Block-breaking game in vim 8.0
Fabio
7 meses atrás
A small #python library to create very simple command line interface based on argparse from function definition.

Just because I'm lazy... :-)


Create command line interface from function definition

Create command line interface from function definition


#argparse
Fabio
7 meses atrás

vshatskyi/black-screen

black-screen - A terminal emulator for the 21st century.


Because nothing says "21st century" as 200M of RAM and an ENTIRE CHROME PROCESS to run a TERMINAL

#terminal #electron #fuckedup
Jason Robinson
8 meses atrás
What exactly is the federated-global-directory (https://github.com/beardyunixer/federated-global-directory)? The protocol library for federation?
Fabio
8 meses atrás

robertfoss/audio_shop

audio_shop - Your frinedly neighbourhood script for mangling images using audio editing tools
Fabio
8 meses atrás
David Revoy wrote the following post:
Petite vidéo de démo d'un jeu dérivé de Pepper&Carrot ( toujours en développement ) complètement gratuit, libre et open-source (GPLv3 et CC-By, hébergé sur Github ). C'est du Java et tourne sur PC et Android. Le *.jar , *.apk et les sources sont dispo ici sur le blog. Video : https://youtu.be/zvC1P6rXTQg





Note: j'ai donné un lien Youtube , un lien Github et j'ai mentionné Android et on est plus le 1er Avril... Je sens que je vais me faire frapper sur Diaspora xD

WinterLicht/PepperAndCarrotRunningGame

PepperAndCarrotRunningGame - Pepper&Carrot themed endless runner game made with libGDX (WIP)
Fabio
8 meses atrás

xoreaxeaxeax/movfuscator

movfuscator - The single instruction C compiler
Fabio
9 meses atrás
Mmmh looks like libgit2 has git_commit_create_with_signature() but libgit2-glib doesn't :-(
Elena ``of Valhalla''
9 meses atrás
What? no matrix bridge for smokesignal? Is it at least planned?
Tobias
9 meses atrás
Ich hab was gefunden für zwischendurch.
Berlin
Tobias
9 meses atrás
Hubzilla 2.2 released

redmatrix/hubzilla

At a high level, Hubzilla 2.2 provides a sneak peek at some of the features and functionality that are scheduled for release as Hubzilla 3.0 later this year.
Rabuzarus
10 meses atrás
This is because of https://github.com/friendica/friendica/issues/3158

The xml elements for received posts does have a different structure for link elements than the original post. @Fabio does have the original link element structure that's why he doesn't have the illegal link warning

More discussion about the issue here https://helpers.pyxis.uberspace.de/display/4029d2ca98586bee345acda505132729
Fabio
10 meses atrás
#encripted #im #groupchat #kontalk @Gruppo Linux Como

Kontalk 4.0.0 - final group chat release

After a very long time... Compared to beta6.1, there are just a few bug fixes. For those coming from 3.1.10, here is a quick list of changes: group chats toggle encryption per chat internal logging system sticky conversations new app icon by Giovanni Lauricella organize preferences by category more reliable registration procedure Group chats work fine, but as a community project we always need your feedback for both bugs and improvements. Don't hesitate to open bugs at GitHub or discus...
Rabuzarus
10 meses atrás
Tech Preview - Frio Album Gallery
@Friendica Support @Friendica Developers @UX Watchdogs @Friendica Theme Developers

LIke I mentioned already in other threads the last really "big" missing thing in the Frio theme is the template for the photo view (and related templates like for uploading and editing photos). I was very unsatisfied how the other themes do handle the photo view. Though I'm not active at the commercial social networks I like how fb and g+ does presenting the images in the album.

Last year, I often sat in front of my computer for a long time and tried several approaches to have a modern photo view in Frio but I always had to give up because it didn't work.

It seems that I have made some progress now.

Imagem/foto

Imagem/foto

What you see are the first steps (early alpha). There are still many things which need to be implemented. And many things to polish. This will last some time. So don't expect a pull request in the near future. Help is always welcome (especially for polishing the js part). Anyone who is interested can find the code at https://github.com/rabuzarus/friendica/tree/20170121_-_lightGalary_for_photo_view

If you want to see it in action you can visit my profile page (photo section). Select an album in the left side albums widget (you need to be in a album - it won't work for the "recent photos" page at the moment). Try to open a picture in a album.
If it doesn't work you maybe have to refresh your browser cache.

Note: This branch (and with this the photo gallery) will not be forever on my server. After some time I will switch back to the original developer branch to have the latest fixes/features.

#Frio #development #TechPreview #testing
Diego Roversi
10 meses atrás
E avete notato che l'A9 nella parte nord era descritta come "Autostrada nazionale di sotto ceneri"? Gli svizzeri ci avevano invaso! E in alcuni punti l'autostrada era a senso unico :D

OSM Then And Now

Sandro kensan
11 meses atrás
Segnalo che Castano Primo è scomparso dalle mappe: sono arrivate le SS?

http://mvexel.github.io/thenandnow/#11/45.5672/8.6960
Fabio
11 meses atrás
Michael Vogel
2 anos atrás
Thanks for your work. Could you check if your nginx configuration contains this line? https://github.com/friendica/friendica/blob/master/mods/sample-nginx.config#L75-L80
Fabio
11 meses atrás
@Python Forum

The only problem with Python 3’s str is that you don’t grok it

I’ve found myself explaining Python 3’s str to people online more and more often lately. There’s this ridiculous claim about that Python 3’s string handling is broken or somehow worse than Python 2, and today I intend to put that myth to rest. Python 2 strings are broken, and Python 3 strings are sane. The only problem is that you don’t grok strings.
Hypolite on Friendica
11 meses atrás
What exactly can't you understand? Beyond what you said, there are a few other points that change wildly between the two techniques.

Unusual editor: Even if you set up your favorite editor on your favorite computer to display tabs like you want, it can happen that you will see the file through a display you can't or you don't plan on changing. It can be rare direct edits on command-line, display on a third-party website (like GitHub), etc... Spaces guarantee you'll get the same experience everywhere. Also annoying with tabs in unusual editors, file edition in a textarea: the tab key will make you switch to the next form field.

Alignment: Say you want to align variable declaration equals. Spaces: Everybody see the same. Tabs: Even if you set your preferred tab size for indentation, it won't display correctly if it isn't the same as the author's.

I'm not the one to be convinced about the overall ease of use of spaces versus the relatively small file size gain of tabs, but I'm also for respecting the local customs when I'm contributing to a project I don't manage.
Fabio
11 meses atrás
@Hypolite on Friendica I've run this tool on include/api.php with default settings. Do you like the result? What we have decided about spaces/tabs? The tool changes tabs to spaces by default.
Fabio
11 meses atrás

Perpetually Talking Online

Read the full documentation on GitHub The latest release is available here If you find PTO useful, tell others about it! Perpetually Talking Online (PTO) is an IRC frontend to the federated Matrix network. It aims to enable as many people as possible to use an existing Matrix homeserver with their existing IRC clients, and provides a radically expa...
Tim Schlotfeldt
12 meses atrás de feed2omb
Link: []GitHub - borgbackup/borg: Deduplicating backup program with compression and authenticated encryption. - https://github.com/borgbackup/borg
Fabio
1 ano atrás
PHP & XDebug remote debugging
For remote debug with xdebug I've tried this
https://github.com/robertbasic/pugdebug
and
https://addons.mozilla.org/en-US/firefox/addon/the-easiest-xdebug/

worked like a charm...

If someone of you is on #ArchLinux , there is a nice package on aur
https://aur.archlinux.org/packages/pugdebug-git/
Fabio
1 ano atrás

Tutorial — ownCloud Developer Manual 9.1 documentation

This tutorial will outline how to create a very simple notes app. The finished app is available on GitHub.


#owncloud #php #develpment
Fabio
1 ano atrás
Tobias wrote the following post:
The most important issue fixed at @Friendica Hackathon Berlin 2016


door is closed at e-lok · Issue #2948 · friendica/friendica

I'm at e-lok but I don't come in because the door is locked.


The weekend was a great, intense fun :-)
Halle an der Saale
Steffen K9
1 ano atrás
Issue with long lines inside code blocks
Hello @Friendica Support and @Friendica Theme Developers
there is a visual problem with long lines inside codeblocks. I have this issue with frio and the latest develop code.
Imagem/foto

I also checked the issue with vier. Vier is using line breaks and the code block looks better.
Imagem/foto

Is this a bug? If so, I'll file a bug report on Github.

Have a nice Sunday!
Rebeka Catalina
1 ano atrás
Es gibt ein omemo-plugin fuer profanity https://github.com/ReneVolution/profanity-omemo-plugin
Ich mag profanity - ich chatte zwar nur sehr selten und wenn, dann am PC, aber ich weiss, dass profanity auch via termux auf android laeuft.
Tobias
1 ano atrás
Have you pinged him? I'm not sure what to write into the Issue at github (if that's the way)
Fabio
1 ano atrás
#Kontalk group chat feature planned for version 4.0. :like

Alpha versions already avaiable (see GitHub issue #179 thread)
Tobias
1 ano atrás
Aye, not a good sign, github has the last commit from Jan 2015
Fabio
1 ano atrás
@Friendica Developers

new OStatus implementation: https://github.com/Gargron/mastodon

should be compatible with Gnu Social, but trying to connect to an user (e.g. main developer https://mastodon.social/users/Gargron ) from friendica results in "unknow network"
Fabio
1 ano atrás
Nota per me:
Quando Sony Vegas si blocca a metà di un render con un errore tipo "La supercazzola prematurata del codec non è allineata a destra di antani", controlla lo spazio libero sul disco.
Perchè evidentemente riportare un errore tipo "spazio su disco insufficiente" non era sufficientemente figo...

monicelli
Fabio
1 ano atrás

turbo/alwsl

alwsl - Install archlinux as the WSL (Windows Subsystem for Linux) host.
Berlin
Tobias
1 ano atrás
Imagem/foto

some random art created with pywordcloud and a git shortlog of ~friendica ~friendica.
mais recente antigo