summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* templates: Add group heading to sub pagesAlexander Sulfrian2016-01-124-1/+17
| | | | | The group heading should be also visible on the sub pages (group change, group delete, create/edit pad).
* templates: Replace glyphicon with fontawesomeAlexander Sulfrian2016-01-1210-5/+2751
|
* templates: Remove erroneous media queries for css filesAlexander Sulfrian2016-01-121-4/+4
| | | | The css files should also be used for printing and other media types.
* templates: Load javascript files at end of bodyAlexander Sulfrian2016-01-121-2/+3
|
* templates: Remove IE8 compatibilityAlexander Sulfrian2016-01-123-20/+0
|
* templates: Add group name headding to groups pageAlexander Sulfrian2016-01-121-0/+4
|
* template: Add brand for navbarAlexander Sulfrian2016-01-121-0/+1
|
* templates: Javascript is required nowAlexander Sulfrian2016-01-122-11/+2
| | | | | | The collapsable panels are hidden by default and javascript is required now, but padlite is unusable without javascript anyway. This removes the flashing of the panels during page load.
* templates: Use dropdown for logoutAlexander Sulfrian2016-01-111-2/+25
| | | | | With the dropdown in the navbar we can display the username and have an additional link for logout.
* templates: Use label to display additional informationAlexander Sulfrian2016-01-112-1/+5
|
* css: Remove unit from zero valuesAlexander Sulfrian2016-01-111-2/+2
|
* templates: is_authenticated() is a functionAlexander Sulfrian2016-01-111-1/+1
|
* templates: span cannot be a self closing tagAlexander Sulfrian2016-01-112-4/+4
|
* login: Do not redirect to /loginAlexander Sulfrian2016-01-111-1/+1
| | | | | If you accessed "/login" with "/login" as referrer, you got redirected to the login page again after successful login.
* templates: Code styleAlexander Sulfrian2016-01-107-30/+55
|
* layout: Remove page-headerAlexander Sulfrian2016-01-1010-19/+4
|
* 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
|