These are chat archives for NobbZ/Lemmy

1st
Apr 2015
Norbert Melzer
@NobbZ
Apr 01 2015 06:00
Did you send me a taiga.io invitation?
ih8sum3r
@deepakkumarsharma
Apr 01 2015 07:44
Hello
Norbert Melzer
@NobbZ
Apr 01 2015 07:44
Hi
ih8sum3r
@deepakkumarsharma
Apr 01 2015 07:44
I am ready to work with you guys :). Please involve me in another discussions too :D
Actually I was busy in my exams so haven't checked what happen at my back.
Norbert Melzer
@NobbZ
Apr 01 2015 07:48
Currently we are in some kind of transition and reevaluation. Since noone really knows about obatards goals.
I'm just waiting for more info that I can join into PastPresentFuture.md
Examphase... Mine was during February ;)
Lectures will continue April 16th
ih8sum3r
@deepakkumarsharma
Apr 01 2015 07:55
Haha! My finals from 20 April :smile:
I talked to Olivier once about this project. He told me this " Yeah the idea of the project is to manage file without an hierarchical filesystem. Each "Entity" (ie a file) is upload in Lemmy and is labeled with one or more tags. So to find that file you user search for tags, not directory. The idea is to allow uploading file but also text, sound, movies. All that Entities will be stored in a mongodb database. Files are not linked together but can be labeled with same tags. Other way to see that is files doesn't any relatives or siblings, they's indepedant and free."
Norbert Melzer
@NobbZ
Apr 01 2015 07:59
How does that fit into "files are managed using git" as he told me?
ih8sum3r
@deepakkumarsharma
Apr 01 2015 08:00
No idea about this. That was the last message exchanged between us.
Norbert Melzer
@NobbZ
Apr 01 2015 08:11
Also, if there is no interconnection between files, how are templates possible then? Sometimes it seems as if he did not really thought about what he said. Another time that I have this feeling that he wanted to lure the innocent by buzzwording...
Sorry, have to leave now. My wife has called and needs me as a driver ;)
Norbert Melzer
@NobbZ
Apr 01 2015 11:45
@gmk1217 Did you invite me to taiga? The invitation link I got did not work. Also: I'm not used to 12 hour format. Is 8:30 pm 08:30 or 20:30 in 24h?
Mohan Krishna
@gmk1217
Apr 01 2015 14:38
yeah
i have sent..
but thought it was not a good idea to send without discussing with you...
ok
will inform in 24 hour format going forward
Norbert Melzer
@NobbZ
Apr 01 2015 14:41
I took a quick look into it with another project of mine, but it seems as if github integration is pretty sparse. I'd really like to stick to tools that integrate well with github. To mimic some kanban board we could use waffle.io, which does integrate into github very well
Mohan Krishna
@gmk1217
Apr 01 2015 14:42
yeah this tool also integrates with GIT
Norbert Melzer
@NobbZ
Apr 01 2015 14:45
What annoyes me most is, that it has an issue tracker that is completely out of sync to githubs one. So we can choose: either having two issue trackers, one for reports from outside and one for internal stuff but I think that may cause confusion, or we deactivate the one on github, which scares away some people.
Mohan Krishna
@gmk1217
Apr 01 2015 14:49
Yeah ,We can use Git hub for SVC and another tool for issue tracker, tracking in two places always makes confusion and scary..
Norbert Melzer
@NobbZ
Apr 01 2015 14:50
I dislike the idea of moving the tracker away from github. A tracker on github, just on the rightside of the code is easier to find for most folks than one that is hidden on another service
But I have to go now. Have to fetch something my wife bought on the internet ;)
Mohan Krishna
@gmk1217
Apr 01 2015 14:51
ok
either way One source should be good than two
Mohan Krishna
@gmk1217
Apr 01 2015 16:14
Frm my redmine mails:

I really want to give Lemmy some more drive! So lets start it already!

Before anything else can be done, we need some userhandling. Nearly everything else does base on this!

But how? I had some sleepless night, so I had time to think about it and will throw some possibilities into the room:

Do userregistration from scratch
Use some gem for simple authentification (username/email and password), best known gem would be devise, lesser known and much more leightweight is sorcery
Use OAuth capabilities of some external providers like GitHub, Gitlab, Bitbucket, etc. Doing this from scratch would be a big exercise, but whoever does this will learn a lot! As always, there are also gems available, most know is omniauth which has plugins available for nearly everything you can think of.
Perhaps there are other possibilities I am not aware of, but at the moment I'd prefer to use OAuth or similar mechanisms for external authentification either from scratch or by gem. The maincause why I am thinking this is the following:

Lemmy is meant to be a document management system and does compile some textfiles into LaTeX and that into a pdf. The textfiles are provided via gitrepositories. So it makes sense to use authentification methods provided by the big git-providers.

And your reply

User model is already defined.

That is nearly nothing ;) And it does not even hold a field for a password.

Oauth is far too complicated for a start.

Much of the protocols burden is taken from the developers shoulders if using the already mentioned omniauth, its nearly reduced to a matter of configuring proper keys

Devise gem (warden) is great idea

Personally I strongly dislike it because of its heavyweight. I'd really prefer to go with sorcery. It is much more lightweight. It provides a couple of helpers which you can use to build everything around it as views, controllers, models, etc. Just the opposite of devise where you have to nearly rewrite the whole gem if you want to label the password field with "passcode" instead of "password".

As long as you don't want to change anything, devise might be ok, but I really think it is hiding to much in the first place and then overwhelms the user with too much stuff when he wants to change small bits.

but let's start with ldap and rdbms auth.

Don't have any experience here.


Oilever Reply

User model is already defined.

That is nearly nothing ;) And it does not even hold a field for a password.

  • We don't need password for now. We just need to build controllers and models.
  • I just checked, there is no pull request, I mean feel free to make some.

Oauth is far too complicated for a start.

Much of the protocols burden is taken from the developers shoulders if using the already mentioned omniauth, its nearly reduced to a matter of configuring proper keys

  • I don't care about Oauth for now. We have enough on our plate, let's focus on the basis like database, uploading, websocket ...

Devise gem (warden) is great idea

Personally I strongly dislike it because of its heavyweight. I'd really prefer to go with sorcery. It is much more lightweight. It provides a couple of helpers which you can use to build everything around it as views, controllers, models, etc. Just the opposite of devise where you have to nearly rewrite the whole gem if you want to label the password field with "passcode" instead of "password".

As long as you don't want to change anything, devise might be ok, but I really think it is hiding to much in the first place and then overwhelms the user with too much stuff when he wants to change small bits.

  • Honestly, we don't care about devise or what the fuck else, the important is the backend. So We'll use ldap because it's a standard and postgresql because sometimes LDAP is too heavy.

but let's start with ldap and rdbms auth.

Don't have any experience here.

  • Well the backend is the most important thing we have to deal with. So I don't like ldap but it offers some real benefits like fast reading, standardized and organized data structures, and a compatibility with other apps. To conclude, ldap offers scalability and evolution easy.
Mohan Krishna
@gmk1217
Apr 01 2015 16:20
Other spam message really not that usefull for us.. :)