summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update bootstrap to v3.3.6Alexander Sulfrian2016-01-1015-638/+1289
|
* Remove admin interfaceAlexander Sulfrian2016-01-103-18/+0
| | | | | | The admin interface from peewee could not be used with sqlalchemy and flask-admin is not available as debian package, so we drop the admin interface.
* Sort group and pad listingsAlexander Sulfrian2016-01-102-3/+5
|
* One URL for public/member group view.Alexander Sulfrian2016-01-107-42/+33
| | | | | | 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-1029-495/+938
| | | | No peewee anymore. All dependencies are available as debian packages now.
* templates/layout: use better glyphicons for login/logoutAlexander Sulfrian2014-11-191-2/+2
|
* templates/pad_delete: add view/template/link to delete a padAlexander Sulfrian2014-11-193-0/+66
|
* templates/group: change pad link is now a buttonAlexander Sulfrian2014-11-191-1/+3
|
* templates/group: add fullsize links in tables cellsAlexander Sulfrian2014-11-192-2/+22
|
* templates/pad: add page with frame for real padAlexander Sulfrian2014-11-193-4/+58
|
* utils: add after_this_requestAlexander Sulfrian2014-11-192-1/+17
| | | | | | | 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-193-3/+35
|
* templates/group: display pad of groupAlexander Sulfrian2014-11-192-0/+22
|
* forms: validate pad name uniqueness in CreatePadAlexander Sulfrian2014-11-192-3/+18
|
* forms: add CreatePadAlexander Sulfrian2014-11-194-4/+80
|
* templates/group: add "request membership" to public group viewAlexander Sulfrian2014-11-192-0/+20
|
* templates/group: add public group viewAlexander Sulfrian2014-11-193-1/+16
|
* templates/all: add paginated list of all browsable groupsAlexander Sulfrian2014-11-195-0/+107
|
* view: use populate_obj and do not hardcode fieldsAlexander Sulfrian2014-11-191-2/+3
|
* views: add group_join for accepting pending membershipsAlexander Sulfrian2014-11-192-1/+19
|
* models: add active flag for membershipAlexander Sulfrian2014-11-193-3/+27
| | | | | Membership for a group should be requested and has to be approved by an admin of the group.
* templates/group: add group_change linkAlexander Sulfrian2014-11-191-0/+4
|
* templates/group: hide group deletion for non group adminsAlexander Sulfrian2014-11-192-24/+31
|
* templates/index: do not collaps create group form on errorAlexander Sulfrian2014-11-191-0/+2
| | | | | | If the user submits the group creation form and the form contains a validation error, the form should be visible to the user with the error message, so we do not hide it.
* forms: generalize DeleteGroup for generic confirmationAlexander Sulfrian2014-11-193-24/+31
| | | | | | | | 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.
* models: add description for groupsAlexander Sulfrian2014-11-192-1/+16
|
* group_change: add form/template/view to change a groupAlexander Sulfrian2014-11-195-4/+68
|
* auth: fix auth/redirect if app is hosted in subdirAlexander Sulfrian2014-11-191-2/+17
|
* widgets: add TextArea, that caches rows/cols until renderingAlexander Sulfrian2014-11-192-1/+16
|
* forms: use Form from flask.ext.wtf as base for all formsAlexander Sulfrian2014-11-192-3/+4
| | | | | Form from flask.ext.wtf has automatic csfr handling included. We need to hide this form fields but we get extra security for nothing more.
* forms: use models_form from wtfpeewee for CreateGroupAlexander Sulfrian2014-11-191-10/+12
|
* views: use validate_on_submit()Alexander Sulfrian2014-11-191-2/+2
|
* auth: delete current sessions on logoutAlexander Sulfrian2014-11-191-1/+15
| | | | | | On logout all session from the current bowser window are cleared. We generate a uuid on login (and safe this in the flask session object) and delete all padlite session with this uuid on logout.
* auth: login_user should pass the return valueAlexander Sulfrian2014-11-191-1/+1
|
* filters: backport selectattr, rejectattrAlexander Sulfrian2014-11-192-0/+37
| | | | We want to use jinja2 from wheezy and need to backport two template functions.
* templates/index: collapse create group form with jsAlexander Sulfrian2014-11-192-14/+23
|
* templates/layout: add navbar for breadcrubs and login/logout linksAlexander Sulfrian2014-11-193-12/+55
|
* admin: add simple flask-peewee admin interfaceAlexander Sulfrian2014-11-194-0/+27
|
* templates/_formhelpers: adjustment for new bootstrapAlexander Sulfrian2014-11-191-2/+2
|
* static: update bootstrap to 3.3.1, add bootstrap-themeAlexander Sulfrian2014-11-1913-4985/+5371
|
* models: add browsable flag for groupsAlexander Sulfrian2014-11-181-0/+1
| | | | | | It should be possible to distinguish public groups, that could be viewed if you know the name, and browsable groups, that could be enumerated from the home page.
* models: add Pad modelAlexander Sulfrian2014-11-181-1/+30
|
* models: add Session modelAlexander Sulfrian2014-11-181-2/+41
| | | | A Session is a associations between a group and a user in padlite.
* bootstrap customizer destroyed fontsAlexander Sulfrian2013-09-043-0/+0
|
* add public field for groupsAlexander Sulfrian2013-09-043-2/+5
|
* formhelpers: add support for checkboxesAlexander Sulfrian2013-09-041-17/+40
|
* forms: group name should not start with special characterAlexander Sulfrian2013-09-041-0/+2
| | | | | | | | The route /<group_name>/ is used for displaying the group infos. If you want to support additional sites (like all public browsable groups), you need a possibility to recognize such urls. So the group name now has to start with a non special characters. So we could support paths like /_all/ for special pages.
* forms: fix regexpAlexander Sulfrian2013-09-041-1/+1
|
* add ability to delete groupsAlexander Sulfrian2013-09-045-4/+83
|
* views: add group detail pageAlexander Sulfrian2013-09-043-2/+31
|