rughh / on_ruby Goto Github PK
View Code? Open in Web Editor NEW:gem: :diamonds: Whitelabel Site for Ruby Communities
Home Page: http://www.onruby.eu
:gem: :diamonds: Whitelabel Site for Ruby Communities
Home Page: http://www.onruby.eu
When using the mobile application, the user should be able to switch the locale.
use a locale cookie instead of all the url params, cause it's ugly
when creating something with a unique-check, the usergroup is not checked. so ie topics are globally unique and not on a usergroup basis. this should be fixed soon.
@lukas2 reported, that it's not possible to login via github. i assume that he tried it via an external domain that is not running at onruby.de.
the github oauth applications don't have an option to specify multiple domains for redirection, so this must be handled somehow.
there should be a rake task that creates some data to fill an empty developer database, so that it is easy for forkers to work with the app.
locations should have pages too. these pages should represent all the events that have taken place there etc.
Siehe http://www.colognerb.de/events/kolsch-rb-im-september-2012
Hab gerade keine Zeit das selbst zu fixen. Vielleicht komm ich die Tage nochmal dazu.
i.e. apple-touch-icon.png in a number of resolutions. This could probably derived from each groups elready existing icon.
topics and materials belong to an event and are not directly scoped by a label, like the top level models. because of that they are all shown in the admin interface. this gets a bit annoying if you are trying to edit one of those.
I authenticated using my github account with username spier.
Then my twitter username was assumed to be spier as well, which it is not.
Also I am not able to change my twitter username now.
Has anybody seen this as well?
We have a problem on the Cologne site, that we have some places for companies, etc in the exact same location. On the map only the "latest" marker is added.
I've stumbled on that a few times but always forgot to fix that... This is a reminder that I have to do this. ;)
we need to have the default language of a usergroup site configured in the yml file, so that it's possible to deliver a none german version as a default.
since jan disabled the rails mailinglist, the info-mails should be sent to https://groups.google.com/forum/?fromgroups#!forum/rubyonrails-ug-germany
it looks like the publishing also does not set the published flag.
The map shows ok (in a somewhat zoomed-out level though), but one cannot do anything with it. Or even better: add a link to apple's own map application, as per http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/MapLinks.html
I downloaded the ICS file for the upcoming RUG Berlin meeting and got an error when trying to import it into Google calendar, due to an invalid date format:
Error at line 8: Unparseable date: "152104"
Both the CREATED and LAST-MODIFIED fields have invalid date formats.
The exported file has the following content.
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
METHOD:PUBLISH
PRODID:iCalendar-Ruby
VERSION:2.0
BEGIN:VEVENT
COMMENT:iCal Event by On Ruby!
CREATED:152104
DESCRIPTION:Hello an welcome to our Febuary meetup! This time we're hosted
by workhub but we'll meet at BASE_camp! Come and join us for some cool talk
s!
DTEND:20130207T213000
DTSTAMP:20130131T193612
DTSTART:20130207T193000
CLASS:PUBLIC
LAST-MODIFIED:152104
LOCATION:BASE_camp
SEQUENCE:0
SUMMARY:Febuary Meetup
UID:http://rug-b.de/events/febuary-meetup
URL:http://rug-b.de/events/febuary-meetup
END:VEVENT
END:VCALENDAR
In the readme:
"If you have a custom domain, you need to setup the CNAME of your domain to point to heroku"
How to configure the CNAME exactly?
some parts of the page are floating out of the page-scope on the right side and cause horizontal scroll bars.
check and add a free error notification system.
logging in through the mobile application does not seem to work. you get redirected to the app but are not logged in properly.
this might be due to the github login recently introduced.
Looks like I'm stuck with a Heroku error page, whenever I try to log in via Twitter oAuth.
I'm logged into Twitter, click »Twitter Login« on http://cologne.onruby.de and voila:
I'd be happy to supply more information / test some weird workarounds. :-)
The discussion came up in the Facebook group of the organizers of Global Ruby User Groups (http://www.facebook.com/groups/globalrug/465925740101789/?comment_id=465999246761105¬if_t=group_comment_reply) whether it makes sense for more RUGs to use onruby?
So far I think the scope of onruby.de is only on German speaking countries (because of the .de TLD). Don't know about international RUGs, however forking is always an option.
As far as I could tell the RUG Saarland was definitely interested to be part of onruby.de: http://www.meetup.com/ruby-user-group-saarland/
Let the discussion begin :)
the admin interface is a little ugly. broken translations, bad information, too much data.
this should get a cleanup.
Probably yet another cache expiry problem. I created a new topic for a user, but it doesn't show up on his profile.
Example:
Are there any plans to support normal email authentication (like omniauth-identity)? Would it be merged into the on_ruby project if we (the ruby user group dresden) implement it?
Regards, Martin.
when trying to attend an event and you are not logged in, you are only logged in, but not signed up for the event.
cologne needs www.colognerb.de and www.koelschrb.de to be redirected to their usergroup-home.
The locale needs to be represented in the cache key, so that will cache the stuff language specific.
Followed the guide for setup, copying /etc/hosts entries and running server with foreman on localhost.
System:
Linux mint 3.2.0-2-486 #1 Mon Mar 5 00:55:40 UTC 2012 i686 GNU/Linux
ruby-1.9.3-p125@on_ruby used provided rvmrc
(also tried on a Ubuntu Server 12.04 - same)
I18n::MissingTranslationData in Home#index
Showing /home/stefan/OpenSource/on_ruby/app/views/home/_events.html.slim where line #7 raised:
translation missing: time.formats.default
Extracted source (around line #7):
4: =' link_to t("home.next_meetup"), current_event, title: current_event.name
5: == t("home.takes_place", event_date: content_tag(:em, l(current_event.date)), location_link: link_to(current_event.location.name, current_event.location, title: current_event.location.name))
6: - else
7: == t("home.next_possible_meetup", event_date: content_tag(:em, l(next_event_date)))
8: - if events.any?
9: h3= t("home.past_events")
10: ul.clearfix
Trace of template inclusion: app/views/home/index.slim
Rails.root: /home/stefan/OpenSource/on_ruby
Application Trace | Framework Trace | Full Trace
app/views/home/_events.html.slim:7:in `block in _app_views_home__events_html_slim__156965028_105439140'
app/helpers/application_helper.rb:94:in `block in section_box'
app/helpers/application_helper.rb:92:in `section_box'
app/views/home/_events.html.slim:1:in `_app_views_home__events_html_slim__156965028_105439140'
app/views/home/index.slim:1:in `_app_views_home_index_slim__909790457_105283670'
app/middlewares/cookie_domain.rb:10:in `call'
when trying to display all the events a user has attended, fails if an event is not from the current usergroup.
while "cleaning up" i deleted the cologne paritipants, that could be restored from the migration files.
when migrating the cologne data, i created the migrated dataset ids starting with 1.000.
when participation entries now reached 1.000 as well, they failed with
PG::Error: ERROR: duplicate key value violates unique constraint "participants_pkey"
DETAIL: Key (id)=(1026) already exists. : INSERT INTO “participants” ("comment", “created_at”, “event_id”, “maybe”, “updated_at”, “user_id”) VALUES ($1, $2, $3, $4, $5, $6) RETURNING “id”
i guess that there is some sequence number or whatever in postgres that needs to be reset. this problem eliminates itself after some time. the sequence seems to increase on failed calls as well.
this should be fixed when reaching 1k users, or this will fail as well.
Ich fänd's praktischer ein ics zu haben, das ich in meinen Kalender importieren kann, statt Events von Hand dort einzutragen.
Ich habe mir das noch nicht angeschaut, also bevor ich anfange: Einwände? :-)
site content is not changing very often and does not have random parts that are hard to cache. it should be easy to implement fragment or even page-caching.
the only problem with this is to find a way that is free of charge within herokus extensions.
since slim reduces the render time and amount of code, it should be default
When visiting the page with a mobile device it should provide the possibility to switch to a stripped down mobile version with basic event data.
When an Event is over, the cache should be invalidated. It's probably enough to add the date to the cache-key, so that they expire on rollover, or to have a global expiry in hours.
working with seeds is a pita. create a rake task to fetch data from heroku.
it would be nice to push new events to xing. unfortunately their api is currently not supporting events...
I am working on a event plattform for nerds in cologne called Nerdhub and we would love to automatically pull the list of participants and the description from the onruby events.
Currently onruby has no api for this, for me a simple solution like
http://www.colognerb.de/events/movember-meetup-2012.json
would be enough.
I would love to send a pull request for this, but I first want to know if this would be okay for you or if you have other plans for an api.
As another option for user Login, there should be a GitHub OAuth SignIn.
for better SEO, all the anchors and images etc should have alt and title tags.
When I log in with my twitter credentials and want to edit my profiel (http://rug-b.de/users/wikimatze/edit), add my Github profile and click on update, I get the error:
The change you wanted was rejected.
Maybe you tried to change something you didn't have access to.
This error ocurred on all different browsers. This bug is not so super critical but something that disturbs the users.
the github auth hash seems to be missing the name field
Gültigkeitsprüfung ist fehlgeschlagen: Name muss ausgefüllt werden
this needs to be handled somehow.
thx @lukas2 for reporting
the action caching causes a lot of trouble, cause there is no proper namespacing going on between mobile and other requests.
some times mobile stuff gets cached and delivered as normal html content.
this sux big times.
when including label specific javascripts or stylesheets the app should check if they are present and not deliver 404s.
in order to have the app running in EU and to experiment with automation, it would be nice to have the app running on a linode server.
there is already a running version on my UK linode instance at http://176.58.97.120
in order to have the example fully working, one needs to setup some mappings in /etc/hosts
like
176.58.97.120 www.colognerb.de colognerb.de
the linode instance is puppetized and deployed via capistrano configured here https://github.com/phoet/on_ruby/tree/capistrano
the idea is to provide a vagrant image/setup and a puppet bootstrap + configuration to have a full fledged onruby running locally.
On the detail page of an event (i.e. http://hamburg.onruby.de/events/ruby-usergroup-hamburg-juni-2012?locale=de) the markers point relatively to the asset directory... So it looks for them in /events/assets/...
where they clearly are not 😄 On the main page and in the original OSM implementation on jhilden/colognerb this problem is not present
the javascript part should be updated with some clean coffeescript and jasmine tests.
Is there a way to merge or delete user accounts?
I logged in with both github and twitter and have two accounts now. I'd like to either delete my twitter-based account or merge it into the github one.
provide a github login functionality like in the normal app
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.