GithubHelp home page GithubHelp logo

jeremycline / fas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fedora-infra/fas

0.0 2.0 0.0 17 MB

Fedora Account System

Home Page: https://admin.fedoraproject.org/accounts

License: GNU General Public License v2.0

Makefile 0.36% Python 74.11% PLSQL 0.01% JavaScript 4.58% CSS 1.20% HTML 19.63% Shell 0.10%

fas's Introduction

Fedora Account System

Authors: Ricky Zhou Mike McGrath Toshio Kuratomi Yaakov Nemoy Patrick Uiterwijk
Contact: [email protected]
Date: Wed, 26 March, 2008
For FAS version:0.8.x

The Fedora Account System holds information on Fedora Contributors to give them access to the wonderful things that Fedora has.

This is a TurboGears project. It can be started by running the start-fas script.

When upgrading to 0.8.14 the database schema changed slightly, and new configuration options got introduced, for the security questions system. The people table gets two new columns, for the question and answers, and the configuration gets a new option to specify the key used to encrypt the security answer. Apply the schema update like this:

sudo -u postgres psql fas2 < updates/fas2-0.8.13_to_0.8.14.sql

Also, the new key_securityquestion configuration parameter should be set to the id of the key used to encrypt the answer to the security question.

Also, you should not forget to set deployment_type to the type of deployment of this installation.

We still haven't worked out using migrate scripts on our database servers so the changes here need to be done like this:

sudo -u postgres psql fas2 < updates/fas2-0.8.7_to_0.8.8.sql

From 0.8.5 and onward we will be using SQLAlchemy Migrate to handle database upgrades. To use it, it assumes you have already installed fas2.sql into your posgresql database. The instructions for installing SQLAlchemy-Migrate on top can be found below in the installation instructions.

sqlalchemy-migrate will need to be installed. To do so, run:

sudo yum -y install python-migrate

(Since I don't trust this yet, the latest change will need to add: + invite_only BOOLEAN DEFAULT FALSE, to the groups table. There is a migrate script checked in. Need to verify that it works and that we'll do that.)

When upgrading to 0.8.5 the database schema changed slightly. The configs table now has a unique constraint to prevent duplicates being entered. Use this to update your existing schema:

sudo -u postgres psql fas2 < updates/fas2-0.8.4_to_0.8.5.sql

When upgrading from 0.8.3 to 0.8.4 there are some new database changes:

groups.url:URL where others can look for information about the group
groups.mailing_list:Specify a mailing list address that others can use to contact the group
groups.mailing_list_url:A url where others can look at list archives and sign up
groups.irc_network:IRC network on which the IRC channel is
groups.irc_channel:IRC channel where communication with the group occurs
people.country_code:Two digit country code for where the user is from
user_group:View that allows mod_auth_pgsql to work with the db
session:Table for doing OpenID sessions.

You can add these to your database by running the sql commands in updates/fas2-0.8.3_to_0.8.4.sql like this:

sudo -u postgres psql fas2 < updates/fas2-0.8.3_to_0.8.4.sql

The country code functionality also makes use of python-GeoIP. This should be installed as a dependency if you use the fas rpms. Otherwise you need to install that manually:

sudo yum -y install python-GeoIP

fas's People

Contributors

abadger avatar ctria avatar cydrobolt avatar dapidc avatar dhritishikhar avatar diegobz avatar jcollie avatar jds2001 avatar kiwnix avatar kylerichardson avatar laxathom avatar lbazan avatar lieb avatar lmacken avatar mostafadaneshvar avatar nbebout avatar piotrdrag avatar puiterwijk avatar pypingou avatar ralphbean avatar rbuj avatar relrod avatar rickyz avatar sijis avatar supeti avatar thekad avatar tiansworld avatar tyll avatar udel-blue avatar xsuchy avatar

Watchers

 avatar  avatar

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.