History | View | Annotate | Download (58.8 kB)
astakos: remove astakos.im.api module
Replace all AstakosCallpoint references
astakos: WIP move all api calls under ``/astakos/api``
Refs: #3340
astakos: Control project members by membership id
astakos: Resources metadata improvements
- Allow admin to overwrite default resources presentation data using ASTAKOS_RESROUCES_META setting. dict_merge is used to accomodate admin from declaring all available metadata parameters.- Enforce allow_in_projects resource policy in project application...
Handle max pending applications as a quotable resource
Assume a resource `astakos.pending_app' related to service `astakos'.On submitting an application, issue a commission that will update therelated counter if possible, and accept the commission on success....
astakos: Standardize arguments of project calls
All calls take a request_user (of type AstakosUser) argument.
Update astakos usage view
Update view to use the introduced astakos quotas api.
Move transaction.py to snf_django package
Move resource data away from astakos settings
UI-related presentation data go to presentation.py.Remove load_service_resources call and related astakos-initmanagement command.
Remove resource/service model dependencies
- Remove foreign key dependency between Service/Resource model. Replace it with a service CharField to keep track of the service identifier that the resource was registered from.- Remove all references to resource service name in resource lookups
Use updated resource models in projects views
Services api/presentation logic cleanup
- Remove presentation information from Service model (order, icon)- To access the list of services filled with both presentation and api data use Service.catalog(). The method fills a dict with service identifiers and service metadata through the following steps...
Pass user.id in project join/leave operations
This is done for reasons of uniformity.
wip Restructure astakos views
Replace custom transaction context with:
- decorator `commit_on_success_strict', which uses transaction.commit_manually and ensures that the transaction rolls back on any exception
- context ExceptionHandler, which logs and...
Merge branch 'release-0.13' into develop
Fix invite view
Invite view and function had the same name.
Conflicts: snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/views.py version
Merge branch 'tmp-common-email-recipients' into develop
Additional confirm widgets for join/leave actions
Also deny GET requests for those actions
Deny GET requests for project actions requests
Add a reason parameter in project deny requests
if not set, None is passed
Fix send mail error handling
Impose pending application limit on owner
We used to check the limit on applicant; however we would like toto control pending applications per the original applicant, i.e theowner. The check is ignored when the applicant is a project admin.
Authentication providers improvements
Major authentication provider refactoring to support
- Modular and easily configurable messages with common context- Fine grained provider policies to support appling specific policies to users and/or groups
Key points:...
Handle activation of unmoderated users
do not allow users that have not been moderated to activate themselvesusing activation url
Astakos activation fix
Additional check to avoid verified inactive users reactivation
Include auth providers basic logging support
Add logging statements on some important auth providers operations.
Complete auth providers logging support will be merged from thefeature-astakos-authpolicies branch which also includes additional authproviders improvements.
Astakos feedback form fixes
- Include uuid in email- Response redirect after on successful form submission
Add per-user limit on pending applications
Add UserSettings model for storing integer-valued settings.If an entry is missing, a default synnefo setting is consulted.
The limit can be set/unset with snf-manage user-update.
Add missing import
Do not expose names of project members
Notify user for pending registrations
astakos allows users to replace pending created accounts (user thathave not yet passed the activation process) by re-submiting the signupform. A message is now displayed in such cases to remind the user of thepending account.
Remove non-existing message use
Fix shibboleth logout message
Override logout message for shibboleth auth provider. Suggest user to close allbrowser windows until we find a better way to logout from Shibbolet.
Add membership notifications
Change message for member removal
approve, deny, dismiss views
At the project application detail, project administrators(ASTAKOS_PROJECT_ADMINS setting) may approve or deny it.A denied application is still viewable by the applicant,until he dismisses it from the same page.
The project administrators' project list includes all projects.
fix project admin permissions
View and dismiss denied applications of an active project
Clear add member form
If members have been successfully added
Display add member form errors
Retry project view when PendingMembershipError is raised
Add GET method for project_leave view
Check if a user other than the owner can view a project
View for cancelling a pending application
Changes in project_detail
Distinguish project/application view as well asowner/simple user mode
Fix project resource fieldset ordering
Explicit groups/resources order
Show activation message
Auth providers add/remove messages
- Include provider method display- Add remove message
Redirect to index after sending activation email
Use custom project_transaction_context in project views
Bug/style fixes
Option to cancel membership request
Reference project by chain_id in views
Add a new namespace (projects/app/<application_id>)for applications (used in order to view modifications).
wip More progress with chains
wip Progress with chains
wip Project views by chain_id
Various fixes
Merge remote-tracking branch 'synnefo/feature-projects' into feature-astakos-newstyles
Profile auth methods fixes/Landing page
- New landing page (missing icons)- Auth methods js bug fixes- Style fixes
Configurable activation url
url to redirect on after user account activation
Success messages on profile form submit
display messages based on action request after uses submitted theprofile form successfully
Handle IOError while trying to load approval terms from not existing location.
Update token view/url
introduce a helper view to allow user update the account api token.``renewToken`` javascript helper method is included in forms.js.
Conform profile form with EMAILCHANGE_ENABLED setting
- Do not display email change fields
Email change activation fix
allow email change activation even if user is not authenticated
Combined profile form updates
- Handle local account existance and accordingly display password change fields- Remove pending email changes before creating a new email change request in EmailChangeForm object save method- Pass request instance in form save
Initial commit of the combined profile form
The new profile form supports change email and password change actionsby propagating submited data to internal EmailChangeForm andExtendedPasswordChangeForm instances.
New states views Part 1
Auth providers improvements
- Enrich login/logout messages.- Clear unverified accounts when user adds the same third party account to an existing account.- Other minor improvements.
Signup workflow changes
- Validate signup email over verified emails. Additional signups with an existing unverified email will replace those entries.- Redirect on signup success instead of just rendering a template.
Project form improvements
- Differentiate title between update/create- Step subtitle styles
Projects list improvements
Project details view improvements
Perform membership checks during add member form validation
Periodically update quotas information in astakos usage page
Services to dict helper method
Merge branch 'latest-quota' of https://code.grnet.gr/git/synnefo into latest-quota
Set group details transaction commit on success
Project joined success message
Display success message after successfully joins a project
Fix project member approve view allowed methods
require POST http method
Only display members list to project owners
Fix membership admin actions
- Require POST request in membership reject/remove views- Fix members table actions cell content- Fix reject/remove actions urls
Remove manual transaction management in project detail.
Project members table administration actions column
In project search exclude projects in which user is already member.
Fix duplicate update project message
Fix project details view
Fix profile page
Merge branch 'latest-quota' into feature-astakos-tables
Conflicts: snf-astakos-app/astakos/im/models.py snf-astakos-app/astakos/im/views.py
Merge remote-tracking branch 'synnefo/feature-astakos-tables' into feature-astakos-tables
Conflicts: snf-astakos-app/astakos/im/tables.py
Default redirects
instead of raising a missing `next` parameter error.
Simplify template code
Use Resource object getter methods instead of ResourcePresentation
remove astakos obsolete code for billing & timeline
Astakos tables fixes
Project members table refactoring
- Use django-tables2 to render table
Projects list/search refactoring
Conflicts: snf-astakos-app/astakos/im/templates/im/projects/project_list.html snf-astakos-app/astakos/im/views.py