emperorcow / chaosbrewclub Goto Github PK
View Code? Open in Web Editor NEWCHAOS Brew Club website
License: GNU General Public License v2.0
CHAOS Brew Club website
License: GNU General Public License v2.0
This one should be simple. It seems like it would be a good idea to include an note field on reservations so people can include things like "I reserved three bays because I'm supervising two new brewers" or "My schedule is flexible so let me know if you really need to brew this day and I can reschedule."
Mollom isn't cutting it. We're not getting spam comments (that I've seen), but have a ton of junk user registrations:
This might only be for Sunday events. From the email sent out today:
*Sunday*
* Board Meeting [1] - 4:30pm
* CHAOS Meeting 38 [2] - 6:00pm
* AHA Rally at Revolution Brewing [3] - 1:00pm
The first two items were today; the third is next week Sunday.
http://www.chaosbrewclub.net/forum/search-bar-membership-buttons
I need to re-read that thread and confirm what's supposed to happen here.
Is the production site already a checkout of this repo?
This way, we can just do a git pull
on the server when it's time to deploy changes. This has to be followed by a drush updb
, drush cc all
, and later, a drush fra --force -y
, but we can wrap that in a bash script later on.
http://www.chaosbrewclub.net/forums/website-committee
I opened a few issues, but there are a bunch of threads going back a couple months with ideas and bug reports. Go through these and open issues for things that still need to be addressed.
I'm not really familiar with the gift membership workflow, so I need to start by getting that figured out. From what I remember, the gift recipient logs into the website at some point to confirm/state/whatever the membership. At that point, we should require their birthdate, to confirm they're over 21. Right now, gift recipients can start a membership without a birthday.
Te Features module ain't great, but it's the best we've got, so it's become the de facto standard.
Export config into modules so that it can be version controlled.
I think the Brewhouse Calendar should be members-only.
Step one: I need a recent DB dump to get a local dev site up and running. Ideally, this will have any sensitive information stripped out. Failing that, encrypt it before sending, and I'll keep it safe. Here's my public key: https://gist.github.com/brockboland/274e3c1f0bc5c7ce4e32
Contrib modules should go in a contrib
subdirectory, so that we can also add custom
and features
directories alongside it, and keep track of where modules come from.
I need to confirm that Drupal won't go down in flames if it doesn't find those files where it expects to find them. I think we just need to clear the cache and rebuild the class registry, but that needs to be tested.
I took a bunch of notes when we sat down to talk about the site, including some things we talked about adding or improving, and then never revisited said notes.
Review those notes, and create/update issues as appropriate.
I've heard from several people (and seen myself) that the login form and menu won't come up on iOS and Android. I thought it was a cookie issue, because switching to private mode fixed it the first time I saw it. Today it seems to be working for me, though, so I'm not sure what's going on.
A friend of mine bought a gift membership yesterday. He said there was a picture blocking the payment button. He eventually figured out that if he held his mouse over the correct spot, he was able to make the payment. Not sure if anything can be done to make the process easier, but I'm wondering if other people are experiencing the same issue.
Here's an apology followed by a bunch of commented-out code:
Can all that code be removed? Obviously, it's not in use right now, but is there a reason it might be in the future? (and is that reason good enough to keep this around, now that it's also in the git history?)
I posted on the forum about this: http://www.chaosbrewclub.net/forum/website-committee/update-brewhouse-reservation-map
@emperorcow did you create those map images? Do you have the original Photoshop/Illustrator/whatever file(s)? I think I can manage updating them if I have the originals.
I assume that there's some kind of preprocessing happening on the menu, because the visible menu doesn't match what's shown in the admin (https://www.chaosbrewclub.net/admin/structure/menu/manage/main-menu).
The admin shows Door Code and Calendar. The public sites shows Calendar and Reserve Brew Time. The mobile site (even for anon users) shows the Door Code and Calendar.
I reserved bay 3 from 10:30 to 3:30, with no reservations after mine. I tried to edit that reservation to extend it later and when saving the node, get the error "Bay 3 is not available at that time." I had to cancel and re-create the reservation to extend it. I'm guessing that the schedule conflict checking code is not excluding the reservation that it's checking for.
We currently have two user search views: https://www.chaosbrewclub.net/board/user/operations and https://www.chaosbrewclub.net/admin/user-search. We should combine the functionality if necessary.
With memberships failing due to credit card problems, we have to cancel ongoing memberships and have people re-create them. This results in incorrect dates in the forum sidebar. Here's an example showing that Jim has only been around for four days:
The logic for this is a bit hacky as it is, and I'm sure I can further hack it to show their actual start date.
I was talking to Jim about the website the other day, and he mentioned that there had been a way to report website issues right on the website. Sure enough, I see an Issue content type on the node/add
list, but it doesn't work, nor does it appear in the list of content types under Structure, so I'm guessing this was provided by a module that ain't quite right.
This is less important than other things right now, but we should get that fixed. The issues here in GitHub will serve the need for the time being, but only the two of us have access to them (for now, anyway), and I think it's a good idea to make it easy for anyone to report issues they find. As long as we have a way to track the status and responsible party for an issue, it doesn't matter what system it's in.
This drives me nuts: the dropdowns on the time fields start at the current time. So, if it's 8:05pm and I got to create a reservation for Saturday morning, the first time available in the list is 8:15pm, and I have to scroll down to find morning hours.
Yes, I know that you can just type in the time, but the fact that the dropdown doesn't just start at midnight (or better yet, maybe 8am) irritates me.
The chaos_groupbuy module currently uses a mandatory delivery charge based on the original use case. Now that smaller buys are occurring where people pickup stuff on their own, we need to update the database and module to allow that to be changed or made optional.
On the calendar view for brewhouse reservations, you can drag a reservation from one day to another (or to a different timeslot, if you look at the week or day view). When you do this, the node is update immediately, and the new timeslot is not checked for conflicts.
The easiest fix here would be to disable dragging and resizing on that view, so that people have to actually edit the node to make the change.
This is an easy change in the view:
This can probably be done as a new display on the existing Sponsors view here: https://www.chaosbrewclub.net/admin/structure/views/view/sponsors/edit
We have two options for implementation:
I haven't tested this, but we seem to be getting two Gallery nodes for every one created.
They aren't being created at the same time, though. I looked at the authoring info for the Randy Mosher and Harvest Fest galleries. In both cases, the same person created the two galleries, but at different times. It's possible that they created the gallery without posting any photos, forgot about it, and created another gallery later on when they were ready to post. That seems a bit unlikely, though.
The Harvest Fest galleries:
Randy Mosher:
Brew-BQ (both of these have images, so maybe he forgot he'd created the first one and added the second later on)
I sent Matt Omura a message to ask if he might have created two Randy Mosher galleries by mistake.
From Jim on Oct 4:
I'll totally admit I wonder how many people actually read/view my post and intentionally don't reply and how many just flat-out don't see them. But, less personally, I think it's a valid question of any post considering that some people don't get notified when someone starts a discussion, some people don't "follow" a discussion, and discussions scroll off the main page so quickly (and I doubt people actually click on the "Forum" link on the menu bar)!
I know on the last web-site (ning.com) it showed how many views any given post had. Is there any way to do that with the current site? I think it would give us some interesting data (esp. for posts soliciting volunteers for events, &c. - maybe it's not that members aren't willing to volunteer for events, maybe they just didn't see the post!).
Just a totally random (and admittedly buzzed) thought on a gloomy drinking Saturday.
My response:
This should certainly be do-able one way or another. I always go to the new and updated topic page (http://www.chaosbrewclub.net/forum/new), and items drop off there once you've viewed them, so it's certainly keeping track of what threads have been seen by what user: surely, we can tap into that to get a count.
There's a couple ways to go about a view count:
- Total number of views, by logged-in users or non-members who are just browsing
- Total number of views, by logged-in users only
- Total number of people who have seen it, which would only count one "view" for you if you come back to the page over and over to follow the conversation. For people who aren't logged in, I'm not sure how accurate this will really be.
- Total number of registered members who have viewed the page, counting only one "view" regardless of how many times they come look at it.
I think a combination of 2 and 4 is the sweet spot, if we can do it, so it would say something like "This thread has been viewed 42 times by 31 members" or something like that. Sound good? Keep in mind, I haven't dug into this yet so I'm not making any promises: to get an accurate count, we may need to enable more activity logging, which would put a greater load on the server, which might not be feasible at this time.
Waiting to hear back before moving forward with this.
The event user search is limited to 10 results right now, and the app doesn't allow spaces. While looking for someone named Mike Kim, he wasn't in the first 10 results for Mike or Kim, so he didn't appear in the app until I searched by his username or email address.
The lowest-effort fix for this would be to just bump the limit to 20 in chaos_eventattendance_search_users()
. It is a paged query, so we could tweak it to accept a page number in the request, but that would also require a change in the app to request more results as needed.
This is just for my local dev setup. I want to make sure that Mandrill never sends email from my local dev site.
There's a queue_ui module in use on the production site that I don't see in the repo.
Lose the CHANGELOG, INSTALL, etc. The only txt files we need to keep are the README and robots.
I'm pretty sure we can just get rid of this module: https://www.chaosbrewclub.net/admin/structure/empty-page
Near as I can tell, it just defines the paths for the brewhouse and event calendars, so that the blocks from those two views can be placed on those empty pages. In both cases, only the Desktop version of the view is positioned as a block; if the Mobile versions are being used somewhere, I don't see where that's happening.
If the Desktop version is indeed being used in all cases, we could just make those Desktop displays actual Page displays (instead of Block) and assign to them the paths that are currently being handled by the Empty Page module.
Original thread: http://www.chaosbrewclub.net/forum/search-bar-membership-buttons
From Jim's email:
…checking to see if there's any progress on the "Join" and "Give" buttons to replace the search box. The more I think about it, with our unique philosophy and brew space, we could really entice some crowdfunding from literally anywhere around the world if we had a very obvious and explicit way for people to just throw money at the club.
To reiterate:
web-only members would see "Become a Member" and "Donate to CHAOS";
Trial and Apprentice would see "Upgrade Membership" and "Donate to CHAOS"
Intro Brewer and (Full) Brewer would see: "Gift a Membership" and "Donate to CHAOS".
Another backup-related question that occurred to me the other day: you have a solid backup schedule in place, but does anyone else have access to them? If you were incapacitated or ragequit CHAOS tomorrow, would someone else on the board be able to get at those?
I keep accidentally logging myself out when I click a link to whichever scheme I'm not currently on (HTTP or HTTPS). I know there's Drupal modules that can do the redirect (with varying levels of success), but it might be safer, easier, and faster (from a page load perspective) to do so in .htaccess
. That's do-able, right?
Some partners have multiple locations.
Thread: http://www.chaosbrewclub.net/forum/email-not-sending-site
From http://www.chaosbrewclub.net/forum/website-committee/disabling-reservations-issue
It looks like the disable reservation option is not working correctly. Jim had blocked out 3:00 pm through 11:00 pm next Thursday for the Gino's East thing. However, my friend was able to reserve a bottling station within that time frame.
From what I can tell, reservations are only blocked if one attempts to make one that starts at 3:00 pm or ends at 11:00 pm. Reservations between those two times are still possible.
Not found: sites/all/libraries/superfish/sfsmallscreen.js
Based on this comment about enabling the Honeypot module, I'm guessing the code here in the repo might be out of date. Could you add anything that's missing?
Conrad is currently working on an iPhone app that will allow us to better check in people during events. We've tried a couple modules, but services was a pain to get working and the others actually caused the site to crash due to the way they integrated with other modules. As such, its probably going to be easier to just write one from scratch that lists users, gives us the info for them, and then creates a database table to allow us to track who attended our events. Thoughts?
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.