reidab / citizenry Goto Github PK
View Code? Open in Web Editor NEWCommunity awesome directory hub mumble mumble
Home Page: http://epdx.org
License: MIT License
Community awesome directory hub mumble mumble
Home Page: http://epdx.org
License: MIT License
Might use this in cleveland, OH. Fixing incompatibilities in Vagrantfile with the most recent version of vagrant.
Are other people using this?
Does it use both?
The pagination at the bottom would be more useful if it was by letter/letter ranges instead of numbers. Like if I'm looking for a guy who's name starts with "e"...
Granted, maybe the search takes care of this. But maybe I'm not sure on spelling, or I just want to browse.
Currently, people can add themselves as members of a group, company, or project. Allow them to edit all associations. (e.g. adding their coworkers to their company, adding collaborators to a project, designating a company as a sponsor of a group or a collaborator on a project, etc)
What license is Citizenry under? I know it's a tedious addition, but clears up confusion, makes lawyers happy, feeds progress, etc. :)
Thanks!
Everything works locally, but I'm getting the following error message on rake db:setup on heroku:
No such file or directory - /app/config/settings.yml
I've added the pg gem, but not much else has changed. Any thoughts?
I'm not keen on the person form asking me "Would you like to be a mentor?" and "mentee?" when it could just check to see if I've put anything into the associated textareas to determine this on its own.
This should be a fairly simple change:
Thoughts?
johnson, a dependency of envjs, doesn't appear to build on Ruby 1.9.2.
Long ago, I'd patched mogli, the Facebook Open Graph gem that we're using, and submitted a pull request. That pull request got accepted into https://github.com/mmangino/mogli, so we should test to make sure the recent changes in that branch don't break anything here and update to use the mainline again.
I'm got citizenry up and running on heroku, but every time I try to authenticate with twitter I get sent to .../auth/twitter with the text "We're sorry, but something went wrong.".
I've put in my dev key, but really don't know what I'm doing wrong.
Currently, all of these models have a single URL field.
In the glorious future, they have_many links.
Links to authenticated services can be automatically generated.
Could we get access to logs, or could it be flipped to dev mode, so we could get a better idea what's going on with this / try to fix it? Or should we just try to reproduce locally?
Clicking it currently displays a "Couldn't paginate results by invalid page number." error. It seems to think the "?page=all" portion of the URI is referring to an invalid number.
Already started by Igal in a branch
Hey guys,
The config/search_engine.rb file loads models from the database. Also, person.rb loads a 'sortable' dec on line 10. If you're migrating the DB for the first time these cause a really tough error to solve.
rake aborted!
Could not find table 'people'
Just an FYI, fixing the initializer will make it easier for people to clone the project.
Thanks!
Example:
http://epdx.org/companies/tag/drupal
Several companies appear twice in the list. I'm assuming it's because they list "drupal" in both tags and technologies.
Given that I'm listed as a member of various groups on ePDX, could/should ePDX link in to Calagator to show the next listed meetings for groups I'm a member of?
We've noticed since sometime last week that Twitter search is failing. It also appears to be failing on epdx. Have you seen this issue? Any thoughts?
Thanks,
Linus
Hosting Rails applications can be a real pain for people and hinders adoption. Heroku offers free/cheap hosting, but offers a very odd and limited environment, and we have to port to it so they can run the app. I've already done much of the work needed, but some more is needed:
Gemfile
: Lock down versions, add logic to dynamically load appropriate database driver, and stop putting the Gemfile.lock
into the public version control. Update instructions to reflect these changes. See https://github.com/calagator/calagator/blob/master/Gemfile for an example of a dynamic Gemfile
that loads the database driver.To reproduce: From the homepage, type "igal", and hit enter.
The resulting page is the Rails built-in screen, "We're sorry, but something went wrong."
I'd like to get at least this level of test coverage in place before merging in the inherited resource branch (#9), as it currently breaks adding new users to the directory and might break other things.
Sadly, I cannot sign into ePDX. The sign-in menu is clipped at the bottom; I can see the email box and about half the authenticator box, but not the presumed go button. My fonts are large, which may have something to do with it, but messing around a bit didn't change anything. Iceweasel 3.5.16.
Milestone logging for companies and projects.
Sample milestones, each one timestamped.
Allow users to enter a URL, which we then spider for basic information and allow logo selection similar to Facebook's link image selection thing.
Only /people.json, /people.xml
Fix, pleaze.
Would there be an easy way to add one? Do what Calagator does?
From the point of view of 3rd-party consumption of citizenry API data: I was thinking to do things like run the tags / technologies through Google Refine to normalize, categorize, de-dup, etc. Things produced like that will go out of date as epdx changes... could either re-do on the whole dataset, or add changed data.
Also, down that route at the user level could turn it into a Facebook/LinkedIn style thing - give what's new since you last signed in: "So and so's now connected to so and so", "A group you're in has a new member", etc...
It would be nice if our routes (/people, /groups, etc) were translated along with the rest of the app. It looks like https://github.com/kwi/i18n_routing might be able to help out with this.
/Users/tyler/citizenry> vagrant up
[default] Importing base box 'lucid32'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.1.0
VirtualBox Version: 4.1.8
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] -- http: 80 => 8080 (adapter 1)
[default] -- rails: 3000 => 8000 (adapter 1)
[default] Creating shared folders metadata...
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- vagrant: /vagrant
[default] -- vagrant-apt-cache: /var/cache/apt
[default] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[default] stdin: is not a tty
: stderr
[default] [Thu, 22 Dec 2011 15:47:01 -0800] INFO: *** Chef 0.10.2 ***
: stdout
[default] [Thu, 22 Dec 2011 15:47:03 -0800] INFO: Setting the run_list to ["recipe[vagrant]"] from JSON
: stdout
[default] [Thu, 22 Dec 2011 15:47:03 -0800] INFO: Run List is [recipe[vagrant]]
: stdout
[default] [Thu, 22 Dec 2011 15:47:03 -0800] INFO: Run List expands to [vagrant]
: stdout
[default] [Thu, 22 Dec 2011 15:47:03 -0800] INFO: Starting Chef Run for lucid32
: stdout
[default] [Thu, 22 Dec 2011 15:47:03 -0800] INFO: Processing execute[update-profile-chdir] action run (vagrant::default line 5)
: stdout
[default] [Thu, 22 Dec 2011 15:47:03 -0800] INFO: execute[update-profile-chdir] sh(printf "
if shopt -q login_shell; then cd /vagrant; fi" >> ~vagrant/.profile)
: stdout
[default] [Thu, 22 Dec 2011 15:47:03 -0800] INFO: execute[update-profile-chdir] ran successfully
: stdout
[default] [Thu, 22 Dec 2011 15:47:03 -0800] INFO: Processing execute[update-apt] action run (vagrant::default line 12)
: stdout
[default] [Thu, 22 Dec 2011 15:47:03 -0800] INFO: execute[update-apt] sh(apt-get update && touch /root/.apt-get-updated)
: stdout
[default] [Thu, 22 Dec 2011 15:47:10 -0800] ERROR: execute[update-apt](vagrant::default line 12) has had an error
: stdout
[default] [Thu, 22 Dec 2011 15:47:10 -0800] ERROR: Running exception handlers
: stdout
[default] [Thu, 22 Dec 2011 15:47:10 -0800] ERROR: Exception handlers complete
: stdout
[default] [Thu, 22 Dec 2011 15:47:10 -0800] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
: stdout
[default] [Thu, 22 Dec 2011 15:47:10 -0800] FATAL: Chef::Exceptions::ShellCommandFailed: execute[update-apt](vagrant::default line 12) had an error: Expected process to exit 0, but it exited with 100
---- Begin output of apt-get update && touch /root/.apt-get-updated ----
STDOUT: Get:1 http://security.ubuntu.com lucid-security Release.gpg [198B]
Hit http://us.archive.ubuntu.com lucid Release.gpg
Get:2 http://us.archive.ubuntu.com lucid-updates Release.gpg [198B]
Get:3 http://security.ubuntu.com lucid-security Release [44.7kB]
Hit http://us.archive.ubuntu.com lucid Release
Get:4 http://us.archive.ubuntu.com lucid-updates Release [44.7kB]
Get:5 http://security.ubuntu.com lucid-security/main Packages [247kB]
Hit http://us.archive.ubuntu.com lucid/main Packages
Hit http://us.archive.ubuntu.com lucid/restricted Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Get:6 http://us.archive.ubuntu.com lucid-updates/main Packages [536kB]
Get:7 http://security.ubuntu.com lucid-security/restricted Packages [14B]
Get:8 http://security.ubuntu.com lucid-security/main Sources [73.1kB]
Get:9 http://security.ubuntu.com lucid-security/restricted Sources [14B]
Get:10 http://security.ubuntu.com lucid-security/universe Packages [107kB]
Get:11 http://security.ubuntu.com lucid-security/universe Sources [28.1kB]
Get:12 http://security.ubuntu.com lucid-security/multiverse Packages [4557B]
Get:13 http://security.ubuntu.com lucid-security/multiverse Sources [1750B]
Get:14 http://us.archive.ubuntu.com lucid-updates/restricted Packages [3998B]
Get:15 http://us.archive.ubuntu.com lucid-updates/main Sources [208kB]
Get:16 http://us.archive.ubuntu.com lucid-updates/restricted Sources [1850B]
Get:17 http://us.archive.ubuntu.com lucid-updates/universe Packages [246kB]
Get:18 http://us.archive.ubuntu.com lucid-updates/universe Sources [84.9kB]
Get:19 http://us.archive.ubuntu.com lucid-updates/multiverse Packages [10.5kB]
Get:20 http://us.archive.ubuntu.com lucid-updates/multiverse Sources [5073B]
Fetched 1648kB in 6s (248kB/s)
Reading package lists...
STDERR: E: Couldn't make mmap of 25165824 bytes - mmap (22: Invalid argument)
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
---- End output of apt-get update && touch /root/.apt-get-updated ----
Ran apt-get update && touch /root/.apt-get-updated returned 100
: stdout
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
chef-solo -c /tmp/vagrant-chef-1/solo.rb -j /tmp/vagrant-chef-1/dna.json
The output of the command prior to failing is outputted below:
[no output]
no .json resource
http://epdx.org/people/1471.json
Apologies if this feature request is too far out or has been discussed previously.
It'd be cool to see a live feed / content stream based on, say, twitter posts of all users who have listed an associated twitter account.
For a simplest possible concrete example:
Add a top level page called 'Talk'. When users click that (or navigate to, say, /talk), they'd see a live feed of all tweets from users on the site.
It'd also be cool to display everyone's github status updates ("@joeperson committed code to Calegator"), and maybe even visualize connections within the community based on twitter or github links, but that's another thing altogether.
Thanks,
~ P
If I'm editing my company's employees and I want to add someone who isn't yet on the site, I should be able to add them both to the directory and to my company in one step.
Depends on #11
The current method used to deploy ePDX (maintained in this repo's epdx_deploy branch) manages the entire system configuration of the server using Moonshine. I'm working to move ePDX to a new chef-managed server, so this deployment code needs to be replaced with a near-stock Capistrano 3 configuration.
Was hoping you could help. Having an issue getting Citizenry deployed to heroku and I'm assuming it's my lack of knowledge around rails, etc so I'm hoping it's something simple I'm missing.
I'm able to push the app to Heroku without a problem, however when I attempt to run 'heroku rake db:migrate' I get an error back stating 'no such file to load -- app/mixins/import_image_from_url'
Everything seems to be running just fine locally and I've tested the import image from url functionality successfully. Hopefully I'm just missing something silly?
Any help is certainly appreciated. Thanks!
Signing in, I get a Twitter Auth dialog, the dialog you get when approving an app for this first time. I approve, and it redirects me back to epdx, but then I get a 500 "We're sorry, something went wrong" on this page:
http://epdx.org/auth/twitter/callback?oauth_token=Gezoh25ny5O5...&oauth_verifier=SA8tMh6TSOt...
The person that created the http://epdx.org/groups/pdx-se group uploaded a wide image, but Citizenry cropped it to the height of the image, which resulted in all but two letters of the logo being cropped out. He uploaded it multiple times, clearly frustrated and confused by it being cropped.
I worked around this by uploading a square version of the image, which is why it looks okay now -- I simply imported the image into Gimp and expanded the canvas height to match its width, and uploaded the result.
I recommend that we scale non-square images down so they're shown in their entirety, rather than cropping them. I suspect this is a very simple edit to the code handling the images.
Also involves updating Foursquare gem to Foursquare2
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.