IRC log of #novawebdev for Thursday, 2018-08-23

*** lelkneralfaro has joined #novawebdev08:58
*** zOnny has joined #novawebdev10:18
*** replaceafill has joined #novawebdev10:50
*** mjsir911 has joined #novawebdev11:02
*** replaceafill has joined #novawebdev11:36
zOnnyhey replaceafill 11:39
replaceafillhello zOnny11:39
zOnnyreplaceafill: busy ?11:40
replaceafillzOnny, a bit, need anything?11:40
zOnnyreplaceafill: yes11:42
zOnnyreplaceafill: I am thinking in my question 11:43
replaceafillzOnny, is there anything you need to do?11:44
zOnnyreplaceafill: yes11:44
replaceafillzOnny, what do you need to do?11:45
zOnnyreplaceafill: it is about tendenci settings11:45
replaceafillzOnny, ah ok11:45
zOnnyreplaceafill: MIDDLEWARE11:45
zOnnyreplaceafill: how can I include it?11:46
replaceafillzOnny, in tendenci?11:47
zOnnyreplaceafill: I AM https://github.com/tendenci/tendenci/blob/master/tendenci/settings.py11:47
zOnnythere are some that I would like to include in the list 11:47
replaceafillzOnny, you use your project conf11:47
replaceafillzOnny, hold on11:47
zOnnyreplaceafill: https://github.com/xtrinch/fcm-django-web-demo/blob/master/mysite/mysite/settings.py#L5511:48
replaceafillzOnny, https://github.com/tendenci/tendenci-project-template/blob/tendenci7/conf/settings.py11:48
replaceafillzOnny, usually i include our own middleware classes at the end of conf/settings in your project11:48
replaceafillzOnny, let me look for an example11:48
zOnnyreplaceafill: cool11:49
replaceafillzOnny, https://paste.pound-python.org/show/giSY090hGhdSQiKhpCT1/11:50
replaceafillzOnny, that's the end of conf/settings in the NWD server11:50
zOnnyreplaceafill: ok11:50
replaceafillzOnny, as you can see i'm inserting a new class at the beginning11:50
replaceafillzOnny, line 811:50
zOnnyreplaceafill: thanks11:51
zOnnyreplaceafill: I didn't see it11:51
*** mjsir911 has joined #novawebdev11:51
replaceafillzOnny, at that point you can assume the MIDDLEWARE_CLASSES you pointed me in tendenci/settings.py has been imported11:51
replaceafillzOnny, and you can use it11:51
replaceafillzOnny, because of this: https://github.com/tendenci/tendenci-project-template/blob/tendenci7/conf/settings.py#L211:52
zOnnyreplaceafill: I am getting blind11:52
replaceafillzOnny, conf/settings in line 2 imports everything from "core"11:52
replaceafillzOnny, does that help you continue?11:52
replaceafillzOnny, or do you have any other questions?11:52
zOnnyreplaceafill: yes 11:53
zOnnyreplaceafill: can django apps have their own settings ?11:53
replaceafillzOnny, django settings or tendenci settings?11:54
replaceafillzOnny, are you in the library?11:55
zOnnyreplaceafill: not sure yet 11:55
zOnnyreplaceafill: forget my last question11:55
zOnnyreplaceafill:  yes11:55
replaceafillzOnny, ok11:55
zOnnyreplaceafill: cool 11:55
replaceafillzOnny, what are you trying to do exactly?11:55
replaceafillzOnny, if you can sum it up :)11:55
replaceafillzOnny, oh, i see, are you having cors issues?11:57
zOnnyreplaceafill: correct11:57
replaceafillzOnny, ok11:57
replaceafillzOnny, this is how i solve it in the servers11:57
replaceafillzOnny, pip install django-cors-headers11:57
zOnnyreplaceafill: I did it already11:57
replaceafillzOnny, oh ok11:58
zOnnythe requiments.txt11:58
replaceafillzOnny, add 'corsheaders' to INSTALLED_APPS11:58
zOnnyreplaceafill: https://github.com/xtrinch/fcm-django-web-demo/blob/master/mysite/requirements.txt11:58
replaceafillzOnny, and then in conf/settings.py at the end, add what i just pasted11:58
zOnnyreplaceafill: right11:58
replaceafillzOnny, you could position the cors middleware better11:59
zOnnyreplaceafill: not sure if this will work 11:59
replaceafillzOnny, but it's supposed to be as high as possible in the stack11:59
zOnnyreplaceafill: the project itself responds 11:59
*** mr_german has joined #novawebdev11:59
replaceafillzOnny, https://gitlab.com/novawebdevelopment/novawebdev-ams/issues/24#note_9066305412:00
replaceafillzOnny, you can avoid setting the CORS_ORIGIN_WHITELIST by just setting CORS_ORIGIN_ALLOW_ALL = True12:02
zOnnyreplaceafill: thanks for the source 12:02
replaceafillzOnny, let me know if you need something else12:02
zOnnyreplaceafill: cool 12:02
zOnnyreplaceafill: for sure12:03
zOnnyttyl12:03
replaceafillo/12:03
mr_germanreplaceafill, hello!, you'll assign me the issues today right?12:04
replaceafillmr_german, are you ready to work now?12:05
mr_germanreplaceafill, yes!12:06
replaceafillmr_german, cool, start with this one (no issue yet):12:07
replaceafillmr_german, "Add a [Reload this page (reload icon)] button next to the message that appears after closing the election"12:07
replaceafillmr_german, remember?12:07
mr_germanreplaceafill, yes!12:07
replaceafillmr_german, great12:07
replaceafillmr_german, i'll try to file the rest12:07
replaceafillmr_german, ping me when i can  pull to see it12:08
mr_germancool12:08
replaceafillmr_german, issue filed for it: https://gitlab.com/novawebdevelopment/novawebdev-ams/issues/5812:11
mr_germanreplaceafill, did you push something ?12:13
replaceafillmr_german, today?12:13
replaceafillmr_german, no12:13
mr_germanreplaceafill, i remember that you're were talking about the modal12:14
mr_germanchange "close to cancel"12:14
mr_germani think12:14
replaceafillmr_german, i just filed it as an issue12:14
replaceafillmr_german, https://gitlab.com/novawebdevelopment/novawebdev-ams/issues/5912:14
replaceafillmr_german, that one?12:14
mr_germanoh cool12:14
mr_germanyes12:14
mr_germannvm12:14
replaceafillmr_german, i didn't assign this to you, but it shouldn't be hard in case you're interested: https://gitlab.com/novawebdevelopment/novawebdev-ams/issues/6012:15
mr_germanreplaceafill, mmm can you explain me that one?12:16
mr_germanwhen it should appear that message12:17
mr_german?12:17
replaceafillmr_german, it's when you set the tendenci group12:17
replaceafillmr_german, after you click submit12:17
replaceafillmr_german, the new group is displayed, right?12:17
replaceafillmr_german, in the same page12:17
replaceafillmr_german, above the dropdown12:17
mr_germanyep12:17
mr_germanoh ok12:17
replaceafillmr_german, having a success alert around12:17
replaceafillmr_german, would be nicer12:17
mr_germancool!12:18
replaceafillmr_german, because you're telling the user they can leave now and go back to the election page12:18
replaceafillmr_german, makes sense?12:18
mr_germanyes12:18
replaceafillmr_german, kk12:18
mr_germanone question for the reload button12:18
mr_germanit should be with the rest of the buttons?12:18
replaceafillmr_german, no12:30
replaceafillmr_german, ping me when you have questions12:30
replaceafillmr_german, i have irc minimized12:30
replaceafillmr_german, it should be an inline button/link in the same area where the reload message is displayed12:31
mr_germanreplaceafill, done12:38
mr_germanpull it12:38
replaceafillmr_german, can you hang out?12:41
mr_germansure12:42
replaceafillmr_german, the call seemed to drop12:56
mr_germanreplaceafill, yes12:56
replaceafillmr_german, i guess we're clear12:56
replaceafillmr_german, keep going12:56
mr_germanok12:56
*** jelkner has joined #novawebdev13:15
jelknerGood afternoon, replaceafill 13:16
jelknerand zOnny too13:16
zOnnygood morning jelkner 13:16
jelknerit's back to school meeting days13:17
jelknerbut i have a lunch break so i jumped on irc13:17
zOnnyjelkner: Oops  good afternoon13:17
replaceafillgood afternoon jelkner13:17
jelknerreplaceafill, its strange not to be seeing you sitting across from me.13:17
replaceafilljelkner, :D13:17
replaceafilljelkner, Marcela misses you!13:17
jelknertell her i miss all of you too!13:18
jelknerit was a great 11 days!13:18
replaceafilljelkner, it was13:18
jelknerand thank her again for her wonderful hospitality13:18
replaceafilljelkner, will do13:18
jelknerzOnny, we are on for 3:30 pm tomorrow at ACC, yes?13:19
jelkneri want to confirm how we can get in13:19
zOnnyjelkner: ok13:19
jelknerthe building is still under contraction13:19
jelknerbut my room is fine13:19
mr_germanreplaceafill, issues replied13:21
zOnnyjelkner: are you going to CODEFORNOVA today ?13:21
replaceafillmr_german, mr_german, it should be an inline button/link in the same area where the reload message is displayed13:21
replaceafillmr_german, do you understand what inline means?13:21
jelkneri was planning too, zOnny, but i only got a few hours sleep13:21
jelknerso i don't know if i will13:22
replaceafillmr_german, que el botón esté dentro del párrafo13:22
zOnnyjelkner: no worries13:22
mr_germanreplaceafill, pero se mira raro, bueno lo hare asi.13:22
replaceafillmr_german, sos diseñador!13:22
jelknerwas something important happening tonight, zOnny?13:22
replaceafillmr_german, hacelo ver "no raro"13:22
replaceafillmr_german, posicionalo como querrás13:22
jelknermr_german, how are things back in santa ana?13:23
zOnnyjelkner: the project is almost done13:23
mr_germanjelkner, really good, it feels different13:23
jelkneri was just telling replaceafill that it feels strange not to see the two of you sitting across from me13:23
replaceafillmr_german, lo que has hecho en movil se ve mal13:23
zOnnyjelkner: It is PWA :)13:23
jelknerwow, zOnny!13:23
jelkneryou can show me tomorrow, yes?13:24
replaceafillmr_german, just don't rush13:24
replaceafillmr_german, work calmed13:24
replaceafillmr_german, rushing means wasting time fixing13:24
zOnnyjelkner: ok13:25
*** lelkneralfaro has joined #novawebdev13:25
jelknerlet folks know we need at least one more week at matt's work13:25
jelknersince ACC isn't ready yet to move it back13:25
zOnnyjelkner: Everyone ask about you 13:25
zOnnyjelkner: ok13:26
jelknerbtw., replaceafill, i need to move off Dropbox13:27
*** mjsir911 has joined #novawebdev13:27
jelknermjsir911, good afternoon13:27
jelknerwe are on for 3:30 pm tomorrow at ACC, yes?13:28
replaceafilljelkner, why?13:28
jelknerWell, I just ecrpytfs on most of my personal machines13:31
jelknerand they are ending support for that this november13:31
replaceafilljelkner, ah13:31
jelkneri keep a lot of personal data (passwords, etc)13:31
jelknerin my dropbox folder13:31
jelknerit's encrypted on the server13:32
jelknerbut it won't be on the local machine13:32
jelknerif i move it out of ecryptfs13:32
jelknerso i'm thinking... time to move to free software!13:32
jelknerlooks like ownCloud is the tool of choice13:32
jelknerok, need to sign off and get back to school work13:41
jelknerhasta tomorrow at 3:30 pm13:41
jelknerACTION signs off for the day13:41
jelkneroh wait, lelkneralfaro 13:41
jelknercan i call you after i get home from work?13:41
jelkneri wanted to talk about liberapay13:42
lelkneralfarojelkner, better to email me. 13:42
jelknerwhat about tomorrow?13:42
lelkneralfarojelkner, during the day yes13:42
jelknerproblem is, i'm at a CTE meeting all day13:43
jelknerdid you solve the problem?13:43
lelkneralfarojelkner, not yet. but I'm working on it now13:43
jelknerok, never mind then13:44
jelknerjust let us know13:44
jelknerwe would really like to be able to ask folks to contribute when we're in philly13:44
jelknerobviously, a pitch of "we will soon have crowdfunding" is our backup plan13:44
jelknerbut not as effective13:45
jelknersince few folks remember to follow up later13:45
jelkneranyhow, just keep us informed by email please13:45
jelknerlater13:45
replaceafillmr_german, zOnny in bootstrap is it possible to have one "row"13:57
replaceafillmr_german, zOnny and several col-md-Xs13:58
replaceafillmr_german, zOnny passing the 12 total?13:58
mr_germanreplaceafill, yep13:58
zOnnyjelkner: replaceafill no13:58
replaceafillmr_german, what's the end result of having so many?13:58
mr_germancol-md-xs?13:58
replaceafillmr_german, i mean for example 15 col-md-213:59
zOnnyreplaceafill: it is possible col-md-xs ? 13:59
replaceafillmr_german, zOnny there's no such thing as col-md-xs...13:59
replaceafilland i should learn to ask more intelligently13:59
mr_germanI used to use one row for each section13:59
mr_germanreplaceafill, total is 1214:00
replaceafillmr_german, zOnny https://gitlab.com/novawebdevelopment/helios-base-theme/blob/master/templates/helios/templates/election_view.html#L130-14714:00
replaceafillmr_german, zOnny if i understand that correctly that's a total of 24 mds, right?14:00
replaceafillmr_german, zOnny in a single row14:00
mr_germanyes14:01
zOnnyreplaceafill: Interesting :)14:01
replaceafillmr_german, zOnny so what's the point of doing that?14:01
replaceafillmr_german, zOnny i thought you should always assume a 12 column total14:02
replaceafillmr_german, zOnny https://stackoverflow.com/a/2929254114:02
zOnnyreplaceafill: https://stackoverflow.com/questions/26679160/bootstrap-3-use-more-than-12-columns-in-a-row14:03
replaceafillmr_german, zOnny so the extra columns just overflow to a new row?14:05
zOnnyreplaceafill: correct14:05
mr_german1+14:05
replaceafillmr_german, zOnny my question remains, what's the point of doing that?14:05
replaceafillmr_german, zOnny if you know they will overflow, why don't you put them in a separate row?14:06
zOnnyreplaceafill: I am the wrong person to asnwer that14:06
zOnnyreplaceafill: I am start using bootstrap recently14:06
replaceafillzOnny, cool, np14:06
replaceafillmr_german, so what's the advantage of your current design?14:07
mr_germanreplaceafill, ?14:08
replaceafillmr_german, instead of doing row > md-9 + md-3 and then row > md-1214:08
replaceafillmr_german, i'm talking about this: https://gitlab.com/novawebdevelopment/helios-base-theme/blob/master/templates/helios/templates/election_view.html#L130-14714:08
mr_germanreplaceafill, if you do this row > col > row > col14:08
mr_germanreplaceafill, le mete padding y margenes adentro14:09
mr_germanosea que si hago otra row adentro de un col le mete mas padding y margenes14:09
replaceafillmr_german, ah14:09
mr_germanpor eso no meti el row en un col14:09
mr_germansi no que use 12 para la primera are y otros 12 para la segunda14:10
replaceafillmr_german, queres decir "por eso no metiste el col en un row"?14:10
mr_germanosea no hice lo que usted dice de meter un row dentro un row o col14:10
replaceafillok...14:10
mr_germanporque mete mucho margenes y padding de separacion y el diseño14:10
replaceafillmr_german, ok14:10
mr_germancambiaria 14:10
replaceafillmr_german, entiendo14:10
mr_germanse haria más pequeño14:10
mr_germanel container14:10
replaceafillmr_german, ok14:11
mr_germanya que boostrap le pone padding y margin a los rows y cols14:11
replaceafillmr_german, correcto14:11
mr_germanesa fue la razon14:11
mr_german;)14:11
replaceafillmr_german, dejemos el boton así, aún no me parece14:11
replaceafillmr_german, pero ya no quiero gastar tiempo en el14:11
replaceafillmr_german, es demasiado... intrusivo14:12
replaceafillmr_german, parece boton "principal"14:12
mr_germanmmm14:12
replaceafillmr_german, incluso, solo volviendo "Reload this page" un enlace seria mejor14:13
mr_germanreplaceafill, podria hacer esto14:14
mr_germanhttps://codepen.io/GFbot/pen/GXRPXP?editors=100014:14
zOnnyreplaceafill: https://stackoverflow.com/questions/25067748/contents-overflowing-container-in-bootstrap-3-0 ?14:14
replaceafillmr_german, hermoso14:14
replaceafillmr_german, eso parece inline14:14
mr_germandeje lo cambio es rapido de arreglar14:14
replaceafillmr_german, no te apresures14:15
replaceafillmr_german, tengo que salir a traer mi almuerzo de todas formas14:15
mr_germanbueno, hare push al cambio y se le parece me dice14:16
replaceafillmr_german, si no se mira bien, mejor volve "Reload this page" un enlace14:16
replaceafillmr_german, y para el futuro14:16
mr_germanok14:16
replaceafillmr_german, en lugar de hacer tantos cambios en master14:16
mr_germanprefiero que sea enlace14:16
replaceafillmr_german, mejor usemos screenshots14:16
replaceafillmr_german, en los issues14:16
mr_germanporque en movil se veria raro14:16
replaceafillmr_german, antes que pushes14:16
replaceafillmr_german, chivo14:16
replaceafillmr_german, +114:16
mr_german1+14:16
replaceafillmr_german, usemos un enlace entonces14:16
mr_germancon un color primary o success?14:17
mr_germano warning14:17
replaceafillmr_german, primary14:18
replaceafillya regre14:18
replaceafillACTION goes to get lunch, bb in ~3014:18
*** mjsir911 has joined #novawebdev15:04
*** lelkneralfaro has joined #novawebdev15:20
replaceafillACTION is back15:27
mr_germanACTION is back15:39
lelkneralfaromr_german, replaceafill just wanted to notify you that elizabeth is ready for her site to be deployed. when you get the opportunity could you drop the "new" from the site?15:51
mr_germanlelkneralfaro, that's cool!15:51
lelkneralfaromr_german, yup. and I'll give them a training on how to use the CMS so they won't bother us with little changes15:52
mr_germancool15:54
lelkneralfaromr_german, are you the one who is going to deploy elizabeth's site?16:01
mr_germanlelkneralfaro, i think replaceafill is the person who do that16:05
lelkneralfaromr_german, cool. I'm not sure if he is paying attention to this, if he doesn't confirm I'll send an email later16:10
replaceafilllelkneralfaro, mr_german i'll take care of it now16:17
lelkneralfaroreplaceafill, cool thank you16:19
mr_germanreplaceafill, ballot tracking merged btw16:39
replaceafillmr_german, cool, thanks16:40
replaceafilllelkneralfaro, mr_german https://elizabethguzmanforvirginia.com/16:46
mr_germanreplaceafill, 1+16:47
zOnnyreplaceafill: are you around ?16:57
mr_germanreplaceafill, could we meet tomorrow?16:57
replaceafillzOnny, i am now17:03
replaceafillmr_german, what time?17:03
mr_german11 am our time?17:03
replaceafillmr_german, sure17:04
zOnnyreplaceafill: I jsut fixed 17:07
replaceafillzOnny, cool17:08
replaceafillsorry for the delay, i was dealing with elizabeth's 4 domains :S17:08
replaceafillmr_german, https://gitlab.com/novawebdevelopment/helios-server/commit/58d756ff9d7649626638a69ead47e9b4ae0abfd917:09
replaceafillmr_german, is this a left over:   <script src="https://use.fontawesome.com/536a489b78.js"></script>?17:09
mr_germanreplaceafill, thats for the icon17:10
replaceafillmr_german, you mean for the fa- classes?17:11
mr_germanyep17:11
replaceafillmr_german, does the booth use fa- classes?17:12
replaceafillmr_german, i don't remember seeing this fontawesome js there17:12
mr_germancheck17:12
mr_germanheliosbooth17:12
mr_germanvote.html17:12
replaceafillduh17:13
replaceafillmr_german, i was looking at the master branch :S17:13
replaceafillmr_german, got it17:13
replaceafillmr_german, so if it doesn't affect the booth17:13
replaceafillmr_german, it should be fine for the verifier, right?17:13
mr_germanreplaceafill, yep17:14
mr_germanreplaceafill, we are using nova branch17:17
mr_germanright?17:17
mr_german?17:17
*** lelkneralfaro has joined #novawebdev17:17
replaceafillmr_german, yes17:19
replaceafillmr_german, i wrote merge to master, didn't i?17:19
mr_germanno17:20
mr_germanjust merge and close this17:20
replaceafillmr_german, ah ok17:20
replaceafillmr_german, any reason for the README here: https://gitlab.com/novawebdevelopment/novawebdev-ams?17:20
mr_germanreplaceafill, yes, that was my fault, i did merge request in the issue instead of the branch17:21
mr_germanreplaceafill, im going to merge my changes to nova branch it that correct?17:23
replaceafillmr_german, for helios-server, yes17:24
mr_germanreplaceafill, done17:25
replaceafillmr_german, be careful when you do this: https://gitlab.com/novawebdevelopment/helios-server/merge_requests/2/diffs17:25
replaceafillmr_german, <input type="submit" value="start verification" />17:25
replaceafillmr_german, <button type="submit" class="btn btn-default" value="Verify">Verify</button>17:26
mr_germanreplaceafill, oh, i see17:26
replaceafillmr_german, in this case it's fine17:26
replaceafillmr_german, just be aware when you're changing form values like this17:27
mr_germanreplaceafill, ok, i'll keep it in mind17:27
replaceafillmr_german, and don't forget to close the issues once you're done17:28
replaceafillmerging17:28
replaceafillmr_german, you can work on this one when you have a chance: https://gitlab.com/novawebdevelopment/novawebdev-ams/issues/6617:28
replaceafillmr_german, just assigned it to you17:28
mr_germanreplaceafill, i thought you're the person who close them ;)17:29
replaceafillmr_german, once i test the change and ask you to close them once you merge17:30
replaceafillmr_german, you can do it17:30
mr_germanreplaceafill, 1+17:30
replaceafillmr_german, the dream: https://gitlab.com/novawebdevelopment/novawebdev-ams/issues/6417:31
replaceafillmr_german, :)17:31
mr_germanthe dreams can become true17:32
mr_german;)17:32
replaceafilllelkneralfaro, mr_german oh i forgot17:33
replaceafilllelkneralfaro, mr_german elizabeth's old site is still available here: http://old.elizabethguzmanforvirginia.com/17:33
mr_germanreplaceafill, you didn't assign me these ones 17:33
mr_germanhttps://gitlab.com/novawebdevelopment/novawebdev-ams/issues/6017:33
mr_germanhttps://gitlab.com/novawebdevelopment/novawebdev-ams/issues/6217:33
replaceafillmr_german, it's because they require some django and i don't know if you want to take those17:34
replaceafillmr_german, you can take them if you want17:34
mr_germanreplaceafill, ok, i'll work on the last one that you assigned me 17:34
replaceafillmr_german, +117:34
mr_german1+17:34
lelkneralfaroreplaceafill, cool do you see any reason to keep a live version? I think it's better to not pay for server space, but keep the site locally somewhere as a record. 17:34
replaceafilllelkneralfaro, actually, that's their old webfaction account17:35
replaceafilllelkneralfaro, if you check the server inventory spreadsheet17:35
replaceafilllelkneralfaro, you'll see their webfaction row being marked17:35
lelkneralfaroreplaceafill, okay cool. I see17:35
replaceafilllelkneralfaro, meaning it's not necessary anymore17:36
replaceafilllelkneralfaro, next billing cycle should be sept 17th17:36
lelkneralfaroreplaceafill, cool good to know17:36
replaceafilllelkneralfaro, so you could tell them to close it by then17:36
replaceafilllelkneralfaro, if tendenci is "good enough" :)17:36
lelkneralfaroreplaceafill, +117:36
*** mjsir911 has joined #novawebdev20:35
*** ChanServ has joined #novawebdev21:03

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!