summaryrefslogtreecommitdiffstats
path: root/views.py
Commit message (Collapse)AuthorAgeFilesLines
* Sort group and pad listingsAlexander Sulfrian2016-01-101-2/+3
|
* One URL for public/member group view.Alexander Sulfrian2016-01-101-32/+17
| | | | | | The group is now always reachable with a consistent URL regardless of membership of the current_user. If the user is no member the public view is rendered with the possibility to join the group.
* Use sqlalchemy, flask-migrate, flask-login and flask-scriptAlexander Sulfrian2016-01-101-113/+229
| | | | No peewee anymore. All dependencies are available as debian packages now.
* templates/pad_delete: add view/template/link to delete a padAlexander Sulfrian2014-11-191-0/+25
|
* templates/pad: add page with frame for real padAlexander Sulfrian2014-11-191-3/+51
|
* utils: add after_this_requestAlexander Sulfrian2014-11-191-0/+8
| | | | | | | With after_this_request you can simple set cookies. Used as a decorator, it registers a function as callback to be executed just before sending the response to the client. The callback will be executed with the response object as argument.
* forms: add ChangePad to edit an existing padAlexander Sulfrian2014-11-191-2/+29
|
* templates/group: display pad of groupAlexander Sulfrian2014-11-191-0/+1
|
* forms: validate pad name uniqueness in CreatePadAlexander Sulfrian2014-11-191-1/+1
|
* forms: add CreatePadAlexander Sulfrian2014-11-191-2/+21
|
* templates/group: add "request membership" to public group viewAlexander Sulfrian2014-11-191-0/+3
|
* templates/group: add public group viewAlexander Sulfrian2014-11-191-0/+12
|
* templates/all: add paginated list of all browsable groupsAlexander Sulfrian2014-11-191-0/+14
|
* view: use populate_obj and do not hardcode fieldsAlexander Sulfrian2014-11-191-2/+3
|
* views: add group_join for accepting pending membershipsAlexander Sulfrian2014-11-191-0/+13
|
* models: add active flag for membershipAlexander Sulfrian2014-11-191-2/+2
| | | | | Membership for a group should be requested and has to be approved by an admin of the group.
* templates/group: hide group deletion for non group adminsAlexander Sulfrian2014-11-191-7/+12
|
* forms: generalize DeleteGroup for generic confirmationAlexander Sulfrian2014-11-191-9/+15
| | | | | | | | Group deletion is now done with an extra confirmation step on a new page. There is a simple confirmation form that only contains a hidden field and the csrf magic. This commit also removes the direct deletion form on the group page and replace is with a simple button to the new confirmation page.
* group_change: add form/template/view to change a groupAlexander Sulfrian2014-11-191-1/+18
|
* views: use validate_on_submit()Alexander Sulfrian2014-11-191-2/+2
|
* filters: backport selectattr, rejectattrAlexander Sulfrian2014-11-191-0/+1
| | | | We want to use jinja2 from wheezy and need to backport two template functions.
* add public field for groupsAlexander Sulfrian2013-09-041-1/+2
|
* add ability to delete groupsAlexander Sulfrian2013-09-041-3/+14
|
* views: add group detail pageAlexander Sulfrian2013-09-041-1/+13
|
* add ability to create new groupsAlexander Sulfrian2013-09-041-3/+10
|
* views: add simple index viewAlexander Sulfrian2013-09-041-0/+11