{"id":19627082,"url":"https://github.com/brookr/calhawk","last_synced_at":"2026-05-14T17:34:41.057Z","repository":{"id":628591,"uuid":"269196","full_name":"brookr/calhawk","owner":"brookr","description":"Reads casehawk-php events and writes them into casehawk-rails","archived":false,"fork":false,"pushed_at":"2010-08-31T21:56:20.000Z","size":3343,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-26T20:14:26.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brookr.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-08-04T22:51:42.000Z","updated_at":"2013-10-25T08:56:42.000Z","dependencies_parsed_at":"2022-07-18T10:48:44.037Z","dependency_job_id":null,"html_url":"https://github.com/brookr/calhawk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brookr/calhawk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookr%2Fcalhawk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookr%2Fcalhawk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookr%2Fcalhawk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookr%2Fcalhawk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brookr","download_url":"https://codeload.github.com/brookr/calhawk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookr%2Fcalhawk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33035774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T11:48:24.922Z","updated_at":"2026-05-14T17:34:41.026Z","avatar_url":"https://github.com/brookr.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"== Welcome to the OpenID Rails Kit\n\nThis kit will help you get a quick start on building new web\napplications that need to allow logins via OpenID, as well as with\na standard username/password combination. Running the app as-is\nwill allow to create accounts and log in to accounts that have\nbeen previously created. The kit even handles Yahoo's OpenID\nimplementation of passing back to the application a different\nidentity URL than the user specifies when creating an account.\n\nMost of this kit is made up of the excellent work done by others,\nin particular the restful_authentication and\nopen_id_authentication plugins. I have made minor tweaks here and\nthere, and added some glue code for account creation, but\notherwise the bulk of what you've received has been generously\nprovided by others to the community. The new code I have\ncontributed is released under the MIT License (see the MIT-LICENSE\nfile for more info).\n\n== Getting Started\n\nThis code provides a complete, running Rails application. There\nare a few things you need to do to get started, though. First, you\nneed to have the ruby-openid gem installed (version 2.0.4 is the\nlatest at the time of this writing):\n\ngem install ruby-openid\n\nNext, you should create your SQLite database and the database\ntables with the following rake command on the command line:\n\nrake db:schema:load\n\nAfter bootstrapping the database, you'll need to make at least one\nedit to the code. In config/environment.rb, you need to specify a\nnew secret for the cookie session storage. Change line 41 of\nconfig/environment.rb, replacing the secret with the one generated\nby this command:\n\nrake secret\n\nOnce that's done, you are ready to go. Start up the app and browse\nto it in your web browser. Create a new account, and you'll be logged in.\n\n== Contents\n\nHopefully you're familiar enough with the basics of Rails that I\ndon't have to explain what every file in this archive does. If\nnot, go read some books like Agile Web Development with Rails and\nthen come back here. With that out of the way, here are some of\nthe files you'll want to check out. Basically, the kit is made up\nof the files you get from running the generator from the\nrestful_authentication plugin, with changes made for creating and\nauthenticating accounts via OpenID.\n\napp/\n  controllers/\n    users_controller.rb - The create method has been modified to\n    check whether OpenID is being used, and if so, stuffs the\n    parameters submitted from the form into the session so they\n    can be retrieved when the user returns from the OpenID\n    provider. Upon returning from the provider, the new user\n    account is created and the user is logged in.\n    \n    sessions_controller.rb - Similar to the UsersController, the\n    create method has been changed to redirect to the OpenID\n    provider if an OpenID URL was provided, and then loads the\n    user record based on the identity URL after returning from the\n    OpenID provider.\n    \n  models/\n    user.rb - I have made a few changes here (and related changes\n    deeper in the plugin code) to allow a User record to validate\n    without a login and password if OpenID is being used.\n    \n== Shameless self-promotion\n\nIf you find this code useful, you might also be interested in\nother, similar starter applications that can be found at\nhttp://railskits.com/. For example, if you are building a\nsoftware-as-a-service Rails application, the SaaS Rails Kit\nprovides you tried and tested code for recurring billing,\nsubdomain-based accounts, etc. It will save you a ton of time in\nbuilding your next Rails application.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrookr%2Fcalhawk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrookr%2Fcalhawk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrookr%2Fcalhawk/lists"}