0
I Use This!
Inactive

Commits : Listings

Analyzed about 24 hours ago. based on code collected about 24 hours ago.
Feb 18, 2025 — Feb 18, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
* fassession.sql: Database to store web session information for fas v1. This is used by TurboGears at the moment. * fassession2.sql: Database to store web session information for fas v2. This is used by TurboGears at the moment. * fedora/accounts/fasLDAP.py: Module from Mike McGrath to connect to fas2. * fedora/accounts/tgfas2.py: The new version of tgfas uses a TEXT column for user_id as LDAP uses the username as the "primary key". * fedora/tg/identity/safas2provider.py: First attempt to use fas v2 to authenticate the users. * setup.py: Bump version to 0.2.90.1 - Add the safas2 entrypoint. More... almost 19 years ago
* README: Update with note that sqlalchemy.dburi must be set. * fedora/accounts/fas.py: AccountSystem::validate_password(): Be sure to fail anyone attempting to login with one of the system accounts (accounts with ids below 10000). * fedora/accounts/tgfas.py: Rename the database we'll be accessing fassession. - Properly case dbUri everywhere so we can connect to the database. More... about 19 years ago
* fedora/accounts/fas.py: Move the __retrieve_auth_db() method to a module level function retrieve_db_info(). * fedora/accounts/tgfas.py: Start work on retrieving the database from /etc/sysconfig. - Remove all commented out mappers as we're not going to use them. * fedora/tg/__init__.py: Empty the file of version info. * python-fedora.spec: Bump to 0.2.1 * setup.py: Bump to 0.2.1 - Make the identity.providers a list so we include all of them as entry_points. More... about 19 years ago
* fedora/__init__.py: Remove the version from here as this will become a namespace package. * fedora/tg/identity/safasprovider.py: - Define global visit_identity_class and fas. - SaFasIdentity::__init__(): No longer initialize the fas as we'll use the global fas for this. - Rename visit_class to visit_identity_class. - Use SessionContext mappers to save, delete, etc. - SaFasIdentity::logout(): Return a SaFasIdentity instead of SqlAlchemyIdentity. - SaFasIdentityProvider::validate_identity(): flush and clear the session right off the bat. This takes care of an error where the sqlalchemy unit of work was holding onto deleted identities but not registering them as deleted. - Override anonymous_identity() and authenticated_identity() so we return SaFasIdentity's instead of SqlAlchemyIdentity's. * fedora/tg/visit/safasvisit.py: Define global visit_class. - Use SessionContext mappers to save. * python-fedora.spec: New version 0.2 * setup.py: New version 0.2 More... about 19 years ago
* fedora/tg/identity/safasprovider.py: Bugfix: Access the userId directly from the local userId variable instead of trying to get it from a nonexistent user mapper. More... about 19 years ago
* python-fedora.spec: Add a spec file so this can be turned into an rpm. * fedora/accounts/fas.py: - adminUserId: Set a constant for the adminUserId. This allows us to check if the logged in user is the accounts system admin. - __retrieve_auth_db(): Initialize dbInfo = None. + Scan for the passed in dbkey rather than global dbName. - __init__(): Fix syntax so .get() uses parens instead of brackets. - get_user_info(): + Note that we should make sure all the information we're returning will map to the FAS2 schema. + Instead of using the condition var to select on either userid or username set the userid from the username. + Move userDist initialization, retrieving groups from the cursor, and returning to the toplevel of the method. * fedora/accounts/tgfas.py: Create the tables if they don't yet exist in the database. * fedora/tg/identity/safasprovider.py: SaFasIdentity::__init__(): When using super, __init__() doesn't need to be called with an explicit "self". - _get_user(): Make sure we try to return a cached _user before loading the a new one. * fedora/tg/visit/safasvisit.py: - get some imports I missed: datetime, Visit, and logging. - SaFasVisitManager::__init__(): We have to include the __init__() function because TG uses global variables to hold the class information. Globals don't pass with inheritance, they are global to the file in which they're defined. - flush the visit_class after we've added the new session. * setup.py: Include package data. More... about 19 years ago
* README: seutp.py should now work. More... about 19 years ago
* Initial checkin. More... about 19 years ago