IRC log of #novawebdev for Saturday, 2017-12-30

*** jelkner has joined #novawebdev09:55
*** Rena_ has joined #novawebdev10:04
jelknerGood morning, Rena_!10:19
jelknerHow are you enjoying your break?10:19
Rena_Oh sorry, missed your message for a minute10:23
Rena_Its been going ok10:23
jelknerDo you think you can master Tendenci styling?10:24
Rena_I honestly don10:25
Rena_oops10:25
Rena_enter key is large10:25
*** zOnny has joined #novawebdev10:26
*** louisea has joined #novawebdev10:26
jelknerGood morning zOnny and louisea!10:26
louiseagood morning jelkner10:26
*** replaceafill has joined #novawebdev10:26
jelknerGood morning replaceafill!10:27
zOnnyGood morning jelkner10:27
replaceafillgood morning jelkner10:27
replaceafillgood morning everyone10:27
Rena_Right now I am taking the backseat with Douglas while I finish up some prior obligations like BCCC and some other freelance work that will not keep trying to milk me for all I've got10:27
Rena_*stop10:27
Rena_I'm on waking hour #20, can't seem to form coherent sentences anymore10:28
jelknerahh, i figured if you were up at this hour, it was because you haven't gone to sleep yet.10:29
replaceafill:)10:29
Rena_Didn't want to miss the meeting, since I was still up at 7 I figured if I went to sleep I would not be able to get back up10:29
jelkner+110:30
louiseathanks for making it!10:30
jelknerOK, louisea, let's roll!10:30
Rena_louisea: I'll send you the document I've put together for BCCC after this meeting10:30
louiseaperfect. thanks Rena_10:30
louiseaokay, well I'd like to do the rounds10:31
louiseawe all can give an update on what we've been doing the past week10:31
louiseaI can begin10:31
louiseaI've been looking into potential users for our tendenci service10:32
louiseanon-profits, unions, political organizations in the area10:33
louiseaand looking at the current technology they hav10:33
louiseaand I think the best bet now10:34
louiseais to start reaching out to them with our services10:34
louiseaany questions?10:35
jelkneryes10:35
louiseago10:35
jelkneri don't believe our product is "ready" yet10:35
jelknerso we need a good plan to move forward10:35
jelkneri like having you, louisea, give us a report at our weekly meeting10:36
jelknersince the developers will be working closely together now and will already know what each other are doing10:36
jelknerwe are going to meet on wednesdays and thursdays10:36
jelkner(and other times too, i'm sure)10:36
jelknerour core product is:10:37
jelknermailman3 <--> tendenci <--> helios10:37
jelknerwe need all three pieces integrated and working together (and tested) before we can market that to the world10:37
jelknerit would be great if you, louisea, could work on the things we need to market it10:38
jelkner1. business plan (detailed and presentable to funders and such)10:38
jelkner2. our website content (how do we update our own website to market our product?)10:39
jelknerOur Revolution Arlington is our main tester at this stage10:39
jelkneronce we get voting in place, i want to try it with Arlington Education Association as well10:40
jelkneronce they are up and running, we will want to ask them to help us pitch this to the parent organizations we hope to reach out to, OR national and NEA.10:40
jelknermake sense?10:41
louiseaabsolutely10:41
jelknerreplaceafill, thoughts?10:41
replaceafilljelkner, i was wondering if it'd be possible to find any organization interested in tendenci + mailing lists10:42
jelknerwe have one, OR Arlington10:42
replaceafilljelkner, or any other client interested in just the CMS functionality for example10:42
jelknerso you think we should reach out for new clients now?10:43
jelkneri'm a bit concerned that we will spread ourselves too thin10:43
replaceafilljelkner, if we can find clients with simpler needs10:43
replaceafilljelkner, we need practice though10:43
replaceafilljelkner, but yeah i understand what you say10:43
jelknerif we find paying customers with simpler needs, that would of course be wonderful10:44
replaceafilljelkner, my position is: it'd be nice to have at least one more customer, but i'm ok if we focus on our current stories10:44
replaceafilljelkner, indeed10:44
jelknerbut i don't think sponsoring another non-paying customer makes sense now10:45
jelknertoo many cooks10:45
replaceafill+110:45
louisea+110:45
jelknerso let's focus all our energy on delivering our product through OR Arlington10:45
Rena_I have not seen someone reference that in a while10:45
replaceafilljelkner, i'm find with that10:45
replaceafillfine*10:45
jelknerlouisea presents to the general meeting on 1/810:46
louiseaalright, that's it for my report10:46
jelknerwe will get an active core group of users who will help us test all our functionality10:46
louiseaany news from others?10:46
replaceafilli can continue10:47
louiseago for it10:47
replaceafilli've been working with the other devs10:47
replaceafillwe had a good meeting on thursday10:47
replaceafilland have some responsibilities distributed10:48
replaceafillhelped mr_german with his helios setup10:48
replaceafilland zOnny with his tendenci setup10:48
replaceafilli've been researching ways to improve our static assets sharing10:48
replaceafillto make our three products look like a single thing10:49
replaceafilllouisea, for our meeting next week i plan to have a full testing setup10:49
replaceafilllouisea, so we can go through the our revolution arlington meeting needs again10:49
replaceafillACTION done10:50
louiseagreat. 10:50
louiseaspeaking of the meeting, can we please move it to Tuesday again?10:50
louiseaMonday will be the 1st10:50
replaceafilllouisea, sure, same time, correct?10:50
louiseasame time10:51
replaceafill+110:51
louiseathanks :)10:51
louiseaokay, anyone else want to share?10:51
Rena_Keeping in touch with Douglas although we have been out of contact for a few days over the holidays10:52
Rena_I am currently trying to free myself from the shackles or BCCC and two other freelance jobs I had going10:53
Rena_of*10:53
replaceafillRena_, let me know when you want to meet, i'll work from Tuesday to Friday next week (10am-5pm)10:54
replaceafillRena_, and we've been adding a bit more content to the Tendenci shared directory10:54
Rena_k. I'll send you some messages on hangouts after the meeting10:54
replaceafillRena_, ok10:55
louiseathanks Rena_10:56
louiseaany news zOnny?10:56
replaceafillzOnny, how are things going with Tendenci?10:57
replaceafillzOnny, need any help10:57
replaceafill?10:57
zOnnyI have done what you ask for, replaceafill10:58
replaceafillzOnny, were you able to change the color of the string?10:58
zOnnyyep, replaceafill10:59
replaceafillzOnny, awesome10:59
replaceafillzOnny, do you have a few more minutes after this meeting ends so we can talk about what to do next?10:59
zOnnyhowever with couple questions in mind, replaceafill10:59
jelknerok, louisea, are we finished?10:59
louiseayup.10:59
louiseathat sounds like a conversation that can be continued after the meeting11:00
replaceafill+111:00
louiseaalright thanks everyone11:00
zOnnysure, replaceafill11:00
louiseaACTION drops the bag of gravel11:00
replaceafill:)11:00
replaceafillthanks everyone11:00
jelknertalk to y'all soon!11:00
jelknerhappy new year!11:00
louiseahappy new year :)11:00
replaceafillzOnny, awesome, i just checked the instance11:02
replaceafillzOnny, what are your questions?11:02
zOnnyI would like do the color change in the css external link, replaceafill11:05
replaceafillzOnny, sure11:05
replaceafillzOnny, look at https://github.com/tendenci/tendenci-base-theme/blob/master/tendenci2018/templates/base.html11:06
replaceafillzOnny, you'll find that file in the theme directory in the server too11:07
replaceafillzOnny, but it's easier for me to point you to github in these conversations11:07
replaceafillzOnny, line 84 specifically will give you an idea of how to add your custom css11:08
replaceafillzOnny, https://github.com/tendenci/tendenci-base-theme/blob/master/tendenci2018/templates/base.html#L8411:08
zOnnyright, replaceafill11:08
*** Rena_ has joined #novawebdev11:09
replaceafillthanks Rena_11:10
zOnnyI have opened most of the directories to know what they have included and the role they play. replaceafill11:10
replaceafillso zOnny, you can add a css file to the media/css directory11:10
replaceafillzOnny, and add the linke either in the base.html template or the specific template you're theming11:11
zOnnyok, replaceafill11:12
replaceafillzOnny, another example11:12
replaceafillzOnny, look at https://github.com/tendenci/tendenci-base-theme/blob/master/tendenci2018/templates/profiles/index.html11:12
replaceafillzOnny, that's the one you just changed for your task11:13
replaceafillzOnny, you will see this block: https://github.com/tendenci/tendenci-base-theme/blob/master/tendenci2018/templates/profiles/index.html11:13
replaceafilloops, sorry11:13
replaceafilli meant https://github.com/tendenci/tendenci-base-theme/blob/master/tendenci2018/templates/profiles/index.html#L14-L2711:13
replaceafilllines 14-2711:13
replaceafillthat means that the extra_head block is being "reused" from the profiles/base-wide.html template11:14
zOnnyyep, that is what I was trying to ask for, replaceafill11:14
replaceafillzOnny, so for specific pages you can do the same11:14
replaceafillzOnny, so you don't touch the base template11:14
replaceafillzOnny, because the change is too specific for a particular view11:15
replaceafillzOnny, in our case11:15
replaceafillzOnny, however11:15
replaceafillzOnny, i'd like you to put all your changes in a single file11:15
replaceafillzOnny, because we're usually just overriding the theme's default11:15
zOnnyIn a diferent css file?, replaceafill11:16
replaceafillRena_, feel free to ask questions, i can have two separate conversations11:16
replaceafillzOnny, yes11:16
replaceafillzOnny, i mean, make the change in the base.html file11:16
replaceafillzOnny, and add a z0nny.css file11:17
replaceafillzOnny, where all your changes will land, to all the pages you work on11:17
Rena_Just got lost in the Tendenci Theming docs, still here11:17
replaceafillzOnny, instead of doing multiple little files11:17
replaceafillRena_, ah11:17
zOnnybut that file have to be created in the same directory that the link is pointing to, replaceafill?11:17
replaceafillzOnny, yeah, just put it under themes/tendenci2018/media/css11:18
zOnnyright, replaceafill11:18
replaceafillzOnny, and add the <link ...> the same way11:18
zOnnyso far, that is clear, replaceafill11:18
replaceafillzOnny, cool11:18
replaceafillRena_, the sections i added for zOnny to learn this will apply to your instance too11:19
Rena_ok11:19
replaceafillRena_, just with different directories11:19
replaceafillRena_, do you have any specific question you want to discuss?11:20
replaceafillzOnny, any other question?11:20
zOnnyI will do it once arrive home, replaceafill. 11:20
Rena_Definitely, but I need to open my dev environment first 11:21
replaceafillRena_, cool11:21
replaceafillzOnny, Rena_ so the workflow we need to focus initially11:21
replaceafillzOnny, Rena_ will point us to the views we need to theme first11:21
replaceafillso, what does a user usually does?11:22
replaceafillfirst step: logging in11:22
replaceafillusing zOnny's instance: http://172.104.19.176:9000/accounts/login/11:22
replaceafillif you read the themes doc11:23
replaceafillhow to get to the right app from the url11:23
replaceafillwhat app do you think handles that from these pool: https://github.com/tendenci/tendenci/tree/master/tendenci/apps11:23
Rena_My copy of the production site (172.104.19.176:8000) is refusing to connect. It's Django looks fine and is running in my console11:25
replaceafillRena_, you didn't get any port errors when starting django?11:26
replaceafillRena_, ah11:26
zOnnyaccounts directory, replaceafill11:27
replaceafillRena_, i think i can see what the problem iss11:27
Rena_No, but reading IRC I see one is running off of :900011:27
replaceafillRena_, stop the server11:27
replaceafillRena_, and start it with runserver 0.0.0.0:800011:27
Rena_stopped11:27
replaceafillzOnny, corrrect11:27
replaceafillzOnny, could you find the right python function for it?11:28
Rena_no, thats definitely the command I used to run it11:28
replaceafillRena_, in my ssh appears that you just used runserver11:28
Rena_let me check something11:29
replaceafillRena_, it works for me now11:29
Rena_there we go. Command I had saved pasted with a newline cutting off 0.0.0.0:800011:30
replaceafill:)11:30
replaceafilloh nice, Rena_ is using the ugly NEA4OR production theme11:30
Rena_I was wondering what that was :-)11:31
Rena_Do I have a username and password for http://172.104.19.176:8000/accounts/login/11:31
replaceafillRena_, that should be under /opt/tendenci/nea4or/themes/production/11:31
replaceafillRena_, hold on11:31
zOnnyhttps://github.com/tendenci/tendenci/blob/master/tendenci/apps/accounts/templates/accounts/login.html11:31
replaceafillyou're good zOnny :)11:32
replaceafillRena_, i'm going to reset the passwords of your instance, ok?11:32
replaceafilljust a sec11:32
zOnny:D just having fun, replaceafill11:32
replaceafillzOnny, the best kind of job ;)11:34
replaceafillRena_, check your hangout messages11:34
replaceafillRena_, your instance contains production data, so we need to be careful with the passwords11:35
replaceafillRena_, all the users will have the same password at this point11:35
replaceafillRena_, you can start with the admin username11:35
Rena_alright11:35
replaceafillso, as zOnny pointed out, that html file handles the form to log in11:36
zOnnywould you want me start changing the look of one file, replaceafill11:36
Rena_I will double my caretaking efforts. I had no clue I was working with a assuming cloned production database :-)11:36
replaceafillzOnny, not yet11:36
replaceafillRena_, yes please :)11:37
replaceafillso let's keep talking user workflow ok?11:37
replaceafillok, so the user goes to the log in form11:37
replaceafillwe know how to customize that one noe11:37
replaceafillnow*11:37
replaceafillthen the user lands in the dashboard11:37
replaceafillhttp://172.104.19.176:9000/dashboard/11:37
Rena_yep, seeing that now11:38
replaceafillagain if you look in the tendenci apps directory: https://github.com/tendenci/tendenci/tree/master/tendenci/apps11:38
replaceafilloh Rena_ your local copy of tendenci in the server should be on:11:38
replaceafill/opt/tendenci/venv/src/tendenci/11:39
replaceafillRena_, so what i'm pointing in github is already in the server's filesystem too11:39
Rena_ok11:39
replaceafillRena_, so in your case the apps directory are in /opt/tendenci/venv/src/tendenci/tendenci/apps/11:39
replaceafillanyway, you will see the dashboard being an app too11:40
replaceafillif we check the urls.py again: https://github.com/tendenci/tendenci/blob/master/tendenci/apps/dashboard/urls.py11:40
replaceafillline 4 is the one we should pay attention (i think)11:40
replaceafillso that means what we want is "def new" in the views.py module11:41
replaceafillthis part of the process is a lot of bouncing as you can see :)11:41
replaceafilland it's typical to django apps11:41
Rena_yes11:41
replaceafillso my quest leads me here: https://github.com/tendenci/tendenci/blob/master/tendenci/apps/dashboard/views.py#L6111:41
replaceafillline 6111:41
replaceafilltemplate should be dashboard/new.html11:42
replaceafillhttps://github.com/tendenci/tendenci/blob/master/tendenci/apps/dashboard/templates/dashboard/new.html11:42
zOnnyhttps://github.com/tendenci/tendenci/blob/master/tendenci/apps/dashboard/templates/dashboard/index.html11:42
replaceafill:)11:42
replaceafillzOnny, i think it's the new.html template instead of index.html11:43
replaceafillunless i'm mistaken (which is very possible)11:43
replaceafillbut you can touch the template and see how the app reacts11:43
replaceafillRena_, btw, every time you do a template change is safe to restart the django server11:43
zOnnyright, replaceafill11:44
replaceafillRena_, sometimes django caches templates11:44
replaceafillRena_, and that gets in your way when you're developing11:44
zOnnyhowever, I think I need follow the step that you are pointing to, replaceafill11:44
Rena_I have become painfully aware of that already :)11:44
replaceafill:D11:44
replaceafillthere are ways to improve our development, but we'll get there with a bit of time11:44
zOnnyI just make a general skim11:44
replaceafillok, so i just want to point you something here11:45
replaceafillif you start looking at the dashboard template11:45
replaceafillspecifically from line 8011:45
replaceafillhttps://github.com/tendenci/tendenci/blob/master/tendenci/apps/dashboard/templates/dashboard/new.html#L8011:45
replaceafillyou will see a lot of django template logic11:45
replaceafill{% if ... %} blocks11:45
Rena_seeing it, yes11:46
replaceafillif the users module is enabled, do this11:46
replaceafillif the groups module is enabled, do that11:46
replaceafilletc11:46
replaceafillbe careful when theming11:46
replaceafillwith that pieces of logic11:46
replaceafillwe should try to keep as much tendenci logic as we can11:46
Rena_I was told we would be keeping the templates mostly intact and just hiding things with css11:47
replaceafillso11:47
replaceafillRena_, oh11:47
replaceafillRena_, new plan!11:47
replaceafillRena_, :)11:47
Rena_lol ok11:47
replaceafillRena_, we will be touching a few of them11:47
replaceafillRena_, and possibly creating our own11:47
replaceafillRena_, the "only override css" approach is too painful11:48
replaceafillRena_, and if you see Tendenci's (the company) new approach11:48
replaceafillRena_, https://github.com/tendenci/tendenci-base-theme11:48
Rena_I can imagine, with all the template sneaking up on you and all11:48
replaceafillRena_, even they are taking that approach now11:48
Rena_*template logic11:48
replaceafillcorrect11:48
replaceafillok, let me try to land this dashboard talk11:49
replaceafillso11:49
replaceafillyou will see <li class="users">11:49
replaceafill<li class="news">11:49
replaceafilletc11:49
replaceafillthose classes are the ones in charge of those cute icons you see in the dashboard11:49
replaceafillwhich to me seem cartonish11:49
replaceafillbut hey this is art, right? :)11:49
Rena_nea4or theme lol11:50
replaceafillwhen mr_german was in charge of this task11:50
zOnnyif you say so, replaceafill11:50
Rena_:)))11:50
replaceafilli liked his approach of using font awesome icons for that11:50
Rena_but yes, I see them11:50
replaceafillgive me a moment11:50
replaceafilli'd want you to see that11:50
replaceafillRena_, zOnny are you any of you in a rush?11:51
replaceafilldo you have other 15-30 mins left?11:51
Rena_More like on a clock, I'll probably pass out in a few hours. But I think I can make it another 30ms11:51
Rena_*mins11:51
replaceafill:))11:52
replaceafillok11:52
Rena_what needs to happen in that time?11:53
replaceafillRena_, i just want you to see something11:53
replaceafilli'm taking a screenshot11:53
Rena_ok11:53
replaceafillalmost...11:55
replaceafillok11:56
replaceafillRena_, zOnny: https://i.imgur.com/WEJYn7i.png11:56
replaceafillthat's what mr_german was doing for NEA4OR11:56
replaceafillyou can see the dashboard looking differently11:56
zOnnyfont awesome icons instead.11:57
Rena_it does11:57
replaceafillthat's the pure css approach btw11:57
replaceafillanyway my point is, you can make the whole view look completely different11:57
replaceafilland that should be your goal11:57
replaceafillcheck your dashboards11:58
replaceafilland you'll see a lot more of information there11:58
replaceafillUpcoming 5 events11:58
replaceafillTop 5 forms11:58
replaceafilletc11:58
replaceafillif you can come up with a standard way to theme all those boxes fine11:59
replaceafillif not, *that* we can hide11:59
replaceafillbut again, instead of removing parts of the html11:59
replaceafillwe just apply "display: none" to the appropiate elements11:59
replaceafillthe rule should be: if it can be done with pure css, do it that way12:00
replaceafillif it's too painful (long selectors, etc), then just remove the elements from the html template12:00
Rena_Rule 1: Keep things simple12:00
replaceafillmakes sense?12:00
Rena_Rule 2: follow rule 112:00
Rena_got it12:00
replaceafill:D12:00
replaceafillthen the final part of our conversation today12:01
replaceafillthe membership form12:01
replaceafillin Rena_'s case: http://172.104.19.176:8000/memberships/applications/nea4or-members/12:01
replaceafillin zOnny's case: http://172.104.19.176:9000/memberships/applications/or-arlington-members/12:02
replaceafillzOnny, oh, i changed this one when i was demoing it on thursday :)12:02
replaceafilli can see a google link floating around there12:03
replaceafillRena_, so, to answer your original question, and sorry for taking so long12:03
replaceafillwe're interested in themeing:12:03
replaceafill1. log in/log out/reset password forms12:03
replaceafill2. dashboard12:03
replaceafill3. membership forms12:03
replaceafill4. profile page12:03
replaceafilland while you do those initially12:04
replaceafillwe want to keep consistency with the php sites12:04
replaceafillin zOnny's case that's ourrevolutionarlington.us12:04
replaceafillin Rena_'s case that's https://www.nea4or.us/12:04
replaceafillRena_, and as i was telling the other devs last week12:04
replaceafillwe want to do that by REUSING the php site assets12:05
replaceafillRena_, in your case those assets should be here: https://gitlab.com/novawebdevelopment/nea4or12:05
replaceafillcss and media folders12:05
replaceafillagain, don't reproduce, reuse12:05
Rena_gah12:05
Rena_have to dig up my gitlab password again12:05
replaceafillRena_, because at some point we're going to have the static assests shared12:06
replaceafillzOnny, your assets are here https://gitlab.com/novawebdevelopment/ora-ams12:06
replaceafillso, your next task should be12:06
replaceafillinclude those static assets in your instances12:06
replaceafilland make your instance to use them12:07
replaceafillit's fine if your instance looks all weird12:07
replaceafillat the beginning12:07
replaceafillit will12:07
replaceafillagain, the goal is12:07
replaceafillafter a few git fiddling12:07
replaceafillall the subparts are going to share the same css/js12:08
replaceafillthat's tendenci, helios, etc12:08
replaceafillmakes sense?12:08
replaceafillquestions?12:08
Rena_I'm sure I will have them12:08
replaceafilland don't feel overwhelmed12:08
Rena_But I want to explore a little first12:08
replaceafillthis may look complicated at first12:09
replaceafillbut i'm really really really really glad12:09
replaceafillthat you're working on this12:09
replaceafillwe need SHARED knowledge of all of this12:09
replaceafillso12:09
replaceafillfinal favor i need to ask12:09
replaceafillif you hit a bump, please ask for help12:09
replaceafilland if you can do it through the mailing list or IRC i'd be grateful12:10
replaceafillso that knowledge can get spread12:10
replaceafilli'll be around next week starting Tuesday if you want to meet12:10
replaceafillok?12:10
replaceafillbut i can answer emails before that12:11
replaceafillzOnny, any other questions?12:11
replaceafilloh12:11
replaceafillwhen you start adding the php assets12:11
replaceafillfeel free to get rid of all the tendenci css/js12:12
replaceafillyou can create your own base.html/default.html templates12:12
replaceafillwe don't need bootstrap12:12
replaceafillwe're going to use css grid12:12
replaceafillthat's what the php sites use12:12
replaceafilland that's what we want12:12
replaceafillACTION done12:12
replaceafillbreak things! ok?12:13
replaceafillbest way to learn ;)12:13
Rena_oh sorry. IRC stopped auto scrolling so I thought people stopped talking >///< 12:13
replaceafill:S12:14
replaceafill"it's really quiet now... maybe Douglas got tired of talking so much s***..."12:14
replaceafill:D12:14
replaceafillzOnny, Rena_ keep moving12:14
replaceafillzOnny, Rena_ any progress is good12:14
Rena_:)12:15
zOnnytoo much information in a day, replaceafill12:15
replaceafillzOnny, i know, sorry12:15
replaceafillzOnny, but i'm sure you're adapt quickly12:16
zOnnybut it is good to know what we want.12:16
replaceafilli hope we all grow our skills after this12:16
replaceafilleven if we hit the ground doing it :)12:16
replaceafillif you don't have any more questions12:17
replaceafilli'll let you go12:17
replaceafillhave a good rest Rena_ :)12:17
Rena_Alright, I'm stepping out to make some lunch. I'll be back with questions later. What times are you on IRC?12:17
replaceafillRena_, today, i don't think i'll be much in the PC12:17
Rena_and maybe a nap is in order too 12:17
Rena_ok12:17
replaceafillRena_, but please send me emails12:17
replaceafillRena_, i can answer those async12:18
Rena_ok12:18
replaceafillthanks12:18
Rena_np12:18
replaceafillbye Rena_ and zOnny12:18
replaceafillgood luck to all of us :P12:18
Rena_byeeee12:18

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