Python HTML JavaScript CSS Other
Latest commit 2b9912f Mar 11, 2016 @puiterwijk puiterwijk Merge pull request #151 from fedora-infra/forward-ported
Ported all master features back to develop
Failed to load latest commit information.
.tx Configure transifex Jul 29, 2011
ca Fix a missing end quote May 24, 2011
client Adjust fasClient to load the configuration raw Dec 16, 2014
database Re-working the migration scripts. Nov 11, 2011
fas Merge branch 'master' into develop Mar 11, 2016
fedmsg.d Latest fedmsg config. Jul 6, 2012
plugins Update YubiKey documentation Feb 10, 2015
po Corrects czech translation typo on fas user detail page Aug 19, 2015
scripts Update export-bugzilla so that it does not to store the token file on… Feb 24, 2015
updates Add hook points for automated spamcheck Mar 11, 2016
.gitignore Ignore anjuta's project files. Nov 10, 2012
.pylintrc Making max branches 15 Jul 14, 2010
COPYING Add a GPLv2 license file. Mar 9, 2008
ChangeLog Spanish proofread completed Mar 18, 2009
HACKING add new steps for use github. :-) May 28, 2013
INSTALL Document that we require tulrich-tuffy-fonts Jul 26, 2013
MANIFEST.in Remove OpenID (Samadhi) May 8, 2013
NEWS Make use of the new nonce system in tgcaptcha2-0.3.0 Mar 9, 2016
README.rst Add proper extension to README Jan 20, 2016
TODO * Initial spec file. Update TODO with setup.py problems we have to work Mar 10, 2008
convert.py Update module imports to accomodate API change in SA. The import chan… Nov 28, 2011
fas.cfg.sample Merge branch 'master' into develop Mar 11, 2016
fas.conf.wsgi Set the sample apache conf to use the wsgi script in /usr/sbin Apr 6, 2011
fas.spec Add hook points for automated spamcheck Mar 11, 2016
fas.wsgi Fix typo of __require__ variable Nov 11, 2011
fas2.sql Add hook points for automated spamcheck Mar 11, 2016
pybabel.conf Fix some problems with extraction, dedent wasn't worth it. To test, s… Mar 3, 2008
requirements.txt Add a requirements file. Oct 12, 2015
setup.py Temporarily make fedmsg optional. Jul 6, 2012
start-fas Add an explicit __requires__ to TurboGears Feb 9, 2012
test.cfg Add an sqlalchemy model that works with the SQL Schema. Feb 16, 2008

README.rst

Fedora Account System

Authors: Ricky Zhou Mike McGrath Toshio Kuratomi Yaakov Nemoy Patrick Uiterwijk
Contact: infrastructure@lists.fedoraproject.org
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.

Upgrading

0.8.13 => 0.8.14

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.

0.8.7 => 0.8.8

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

0.8.5 => future

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

0.8.4 => 0.8.5

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

0.8.3 => 0.8.4

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