GithubHelp home page GithubHelp logo

reidab / citizenry Goto Github PK

View Code? Open in Web Editor NEW
153.0 153.0 57.0 1.81 MB

Community awesome directory hub mumble mumble

Home Page: http://epdx.org

License: MIT License

Ruby 52.58% JavaScript 23.23% CSS 13.96% HTML 10.23%

citizenry's Introduction

Hi there ๐Ÿ‘‹

citizenry's People

Contributors

aeschright avatar benglass avatar dangeranger avatar demental avatar dhedlund avatar graybill avatar igal avatar jangosteve avatar jhelwig avatar lisamusing avatar mcansky avatar mchung avatar reidab avatar sillydeveloper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

citizenry's Issues

Search for any term seems to 500

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?

Updates / news feed.

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...

Searching for "igal" causes 500 error

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."

Non-square images should be scaled, not cropped

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.

Cannot sign in

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.

is this dead?

Might use this in cleveland, OH. Fixing incompatibilities in Vagrantfile with the most recent version of vagrant.

Are other people using this?

display live feed / content stream from site users' associated twitter accounts

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

vagrant can't run apt-get

/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]

Third-party editing of associations

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)

Easier way to browse by prefix

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.

no such file to load -- app/mixins/import_image_from_url

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!

Determine if person is a mentor/mentee based on whether they provide information on these topics

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:

  • Remove the checkboxes from the person#_form.
  • Add Person#mentor? and Person#mentee? and use those instead of the current checks in the person#show form.
  • Rework the Person::mentors and ::mentees scopes to return records whose "mentor_topics" and "mentee_topics" are present.

Thoughts?

Pagination's "Show all" should work

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.

Documentation for Twitter and other authorization settings

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.

Milestone logging

Milestone logging for companies and projects.

Sample milestones, each one timestamped.

  • founded
  • closed
  • funded $X
  • site launched at xyz.com
  • feature abc added
  • 100 user accounts/1000 user accounts/10,000 user accounts

License?

What license is Citizenry under? I know it's a tedious addition, but clears up confusion, makes lawyers happy, feeds progress, etc. :)

Thanks!

Update ePDX deployment system for new server

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.

Search initializer loading DB dependencies

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!

Upgrade mogli

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.

Make it easy to run Citizenry on Heroku

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.
  • PostgreSQL: Ensure all queries run on Sqlite3, MySQL and also PostgreSQL, which is what Heroku uses. In theory, this should work because there are some folks already using this on PostgreSQL, although it's unclear if they've submitted all their patches.
  • Ruby 1.9.2: Ensure that all code runs on Ruby 1.8.7 and also 1.9.2, which is what Heroku uses. I think I've fixed all the compatibility problems.
  • Coverage: We need to boost code coverage so that we have a higher level of certainty that the port really works. I've added "simplecov" to perform Ruby 1.9.2 code coverage, and been slowly adding tests.
  • Instructions: We need to provide instructions on how to deploy to Heroku. We can borrow my similar work from. https://github.com/calagator/calagator/blob/with_heroku/HEROKU.md

Company "importing"

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.

List next meetings for my groups

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?

Twitter search is silently failing

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

Add high-level acceptance testing

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.