gelnior / newebe Goto Github PK
View Code? Open in Web Editor NEWDistributed Social Network made with Python
Home Page: newebe.org
License: Other
Distributed Social Network made with Python
Home Page: newebe.org
License: Other
I wanted to have a look at newebe.
All three sites at http://newebe.org/#demo
are redirecting to a cloud hoster landing page.
Change tutorial to notice user about that.
Add controls on both server and client side.
Quand il n'y a encore aucun post, le bouton more est affiché. Ce qui n'a pas de sens.
When the title filed is written for the first time, the default text should be cleared. Focus should also be automatically set on it after "create" has been clicked.
Personnal server upload bandwith is poor. Performance improvement is already needed for sheeva plug deployment.
Here are some way of improvements :
More description needed.
Login transition is a little bit long, make it shorter.
rakoo proposed some changes to enable CouchDB credentials :
#19 (comment)
Changements will be integrated once installation script will be updated.
As said, when you click on sync buttion, all pictures are duplicated if they already exist.
Tout est dans le titre !
Lorsque l'on supprime le dernier post affiché et que l'on appuie sur le bouton more, les posts rappatriés ne sont pas corrects : certains posts sont sautés.
When sesame is requested during user registration, empty sesame can be set. It should not be possible.
setup.py is there
setup.cfg is there
newebe directory structure looks ok
TODO :
Lorsqu'on filtre sur une date supérieure à la date du dernier post, le dernier post n'apparait pas.
i see concept of activity stream which as well adopted open spec:
http://activitystrea.ms
could you please document in easy to find place which open technologies you build newebe upon :)
From Duck, Debian developer:
Il faudra penser à s/UNRELEASED/unstable/ dans le changelog. Pour ce qui est du BR à clore, il faut chercher si quelqu'un a déjà créé un BR, voir avec lui pour le owner (bts owner) sans que ça soit du hijacking, sinon le créer selon le modèle usuel.
Dans debian/patches/ tu noteras qu'il y a un patch debian-changes-0.6.0. En fait quand tu modifies les sources comparativement à ton tarball, et que tu lance un build en gardant ces modifications, il crée automatiquement un patch, car en fait quand tu partage ton package source avec d'autres gens, les sources originelles et les infos debian permettent de regénérer le workdir et de build identiquement. Concernant ce patch :
Concernant debian/postinst :
Il manque un debian/postrm qui défait les choses de postinst en cas de purge :
Quelques questions, orientée upstream cette fois :
I am using a reverse proxy to pass requests that arrive at a particular named server (on port 80) to a different port on the same machine. Newebe is therefore logging all requests as having a source IP of 127.0.0.1, despite the fact that the reverse proxy is adding the "X-Forwarded-For" header.
Newebe should pay attention to the "X-Forwarded-For" header. Then, the log will reveal the correct source IP for the requests.
If you write more than one URL, in a micropost, only the first one URL is converted to hyper link. It would be better to convert the whole.
From my post to the Google Group:
My recent Newebe installation is taking a great deal of CPU, unexpectedly.
It has been running for one week. The couchdb instance, which I
installed only for Newebe, has consumed 164+ hours of CPU! This means
that it has been runnable since I installed it. Is this expected? It
is occupying 99M of virtual memory, and 17M of that is resident. I
consider this to be very resource usage. (This is the beam.smp
executable of couchdb.)
The python2 binary which is executing newebe_server.py is also taking
a lot of resources - 72 hours of CPU time (in 1 week of uptime), 37M
of virtual memory, and 14M of resident memory.
These 2 processes are by far the most resource-hungry on my system. (I
run many things on this system - web servers, mail servers, IRC
daemons, etc.)
Is this normal and expected? Or, are those processes doing too much?
Response from gelnior:
This is bad. I didn't pay attention to that because my Newebe runs on a dedicated plug computer. But as you say beam.smp use 8% of my CPU when my Newebe does nothing.
The newebe binary has a low consumption (0.3%) but works all the time.
Both of these problems probably comes from a bad usage of external libs (couchdbkit and python daemon). You can open a report too for this one.
I see several things to improve about contacts and groups :
When the user first connect on newebe, propose to fill automatically its profile URL with the one display in browser adress bar.
Do not allow client to post a micro post more than once for a date.
Application : activities
When the Newebe owner clicks on the resend button after having clicked on another resend button, sending infos are displayed on the first resend button. But they are expected on the clicked button.
This runs an alert:
<p>"><script>alert(1);</script><!--</p>
When user displays additional informations about a blog post or about an activity, the infos are displayed on the top of the page instead of being displayed at the same height of the clicked document. This makes the user experience bad.
If an error occured, it is stored in the activity.
Newebe allows to make a retry on the error for the contact linked to the error.
If contact changes his URL between the time the error occurs and when the people try to resend the data, resending fails because it still targets the old URL.
After a quick use of newebe, I seen few points to maybe ameliorate.
There is no possibilities for comment the post of my trusted group.
I think it's a high potential feature.
More over, i think the grise button All/Mine is not very easy to understand.
and maybe use the "News page' as the home page when you log.
Lucas
See https://linuxfr.org/news/sortie-de-newebe-0-6-0#comment-1416974
in https://github.com/gelnior/newebe/blob/master/deploy/install_deb.sh#L113
sudo openssl req -new -x509 -days 3650 -key ./server.key -out ./server.crt
This make post install script to wait for user input
you shall add -subj "CN=newebe" or, better use -batch
Add loading indicator for every command requiring server interaction.
Ex : Slow posting for news-app is disturbing because post seems to be not posted.
When an user posts a message that ends with a carriage return, post creation will fail.
See:
prologic@MacBook-Pro
Tue Dec 29 01:34:41
~/tmp/newebe/deploy/docker
(master) 0
$ docker build -t newebe .
Sending build context to Docker daemon 7.168 kB
Step 1 : FROM shykes/couchdb
Pulling repository docker.io/shykes/couchdb
018c41c359c3: Error pulling image (latest) from docker.io/shykes/couchdb, endpoint: https://registry-1.docker.io/v1/, invalidimageid: image ID '27cf784147099545018c41c359c3: Error pulling image (latest) from docker.io/shykes/couchdb, invalidimageid: image ID '27cf784147099545' is invalid
Error pulling image (latest) from docker.io/shykes/couchdb, invalidimageid: image ID '27cf784147099545' is invalid
Also I suggest splitting this up into two containers. Running them separately isn't all that hard. I may try to send a PR that fixes the Docker deployment based on prologic/python-runtime and some couchdb image
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.