Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | templates: Replace glyphicon with fontawesome | Alexander Sulfrian | 2016-01-12 | 10 | -5/+2751 |
| | |||||
* | templates: Remove erroneous media queries for css files | Alexander Sulfrian | 2016-01-12 | 1 | -4/+4 |
| | | | | The css files should also be used for printing and other media types. | ||||
* | templates: Load javascript files at end of body | Alexander Sulfrian | 2016-01-12 | 1 | -2/+3 |
| | |||||
* | templates: Remove IE8 compatibility | Alexander Sulfrian | 2016-01-12 | 3 | -20/+0 |
| | |||||
* | templates: Add group name headding to groups page | Alexander Sulfrian | 2016-01-12 | 1 | -0/+4 |
| | |||||
* | template: Add brand for navbar | Alexander Sulfrian | 2016-01-12 | 1 | -0/+1 |
| | |||||
* | templates: Javascript is required now | Alexander Sulfrian | 2016-01-12 | 2 | -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 logout | Alexander Sulfrian | 2016-01-11 | 1 | -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 information | Alexander Sulfrian | 2016-01-11 | 2 | -1/+5 |
| | |||||
* | css: Remove unit from zero values | Alexander Sulfrian | 2016-01-11 | 1 | -2/+2 |
| | |||||
* | templates: is_authenticated() is a function | Alexander Sulfrian | 2016-01-11 | 1 | -1/+1 |
| | |||||
* | templates: span cannot be a self closing tag | Alexander Sulfrian | 2016-01-11 | 2 | -4/+4 |
| | |||||
* | login: Do not redirect to /login | Alexander Sulfrian | 2016-01-11 | 1 | -1/+1 |
| | | | | | If you accessed "/login" with "/login" as referrer, you got redirected to the login page again after successful login. | ||||
* | templates: Code style | Alexander Sulfrian | 2016-01-10 | 7 | -30/+55 |
| | |||||
* | layout: Remove page-header | Alexander Sulfrian | 2016-01-10 | 10 | -19/+4 |
| | |||||
* | Update bootstrap to v3.3.6 | Alexander Sulfrian | 2016-01-10 | 15 | -638/+1289 |
| | |||||
* | Remove admin interface | Alexander Sulfrian | 2016-01-10 | 3 | -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 listings | Alexander Sulfrian | 2016-01-10 | 2 | -3/+5 |
| | |||||
* | One URL for public/member group view. | Alexander Sulfrian | 2016-01-10 | 7 | -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-script | Alexander Sulfrian | 2016-01-10 | 29 | -495/+938 |
| | | | | No peewee anymore. All dependencies are available as debian packages now. | ||||
* | templates/layout: use better glyphicons for login/logout | Alexander Sulfrian | 2014-11-19 | 1 | -2/+2 |
| | |||||
* | templates/pad_delete: add view/template/link to delete a pad | Alexander Sulfrian | 2014-11-19 | 3 | -0/+66 |
| | |||||
* | templates/group: change pad link is now a button | Alexander Sulfrian | 2014-11-19 | 1 | -1/+3 |
| | |||||
* | templates/group: add fullsize links in tables cells | Alexander Sulfrian | 2014-11-19 | 2 | -2/+22 |
| | |||||
* | templates/pad: add page with frame for real pad | Alexander Sulfrian | 2014-11-19 | 3 | -4/+58 |
| | |||||
* | utils: add after_this_request | Alexander Sulfrian | 2014-11-19 | 2 | -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 pad | Alexander Sulfrian | 2014-11-19 | 3 | -3/+35 |
| | |||||
* | templates/group: display pad of group | Alexander Sulfrian | 2014-11-19 | 2 | -0/+22 |
| | |||||
* | forms: validate pad name uniqueness in CreatePad | Alexander Sulfrian | 2014-11-19 | 2 | -3/+18 |
| | |||||
* | forms: add CreatePad | Alexander Sulfrian | 2014-11-19 | 4 | -4/+80 |
| | |||||
* | templates/group: add "request membership" to public group view | Alexander Sulfrian | 2014-11-19 | 2 | -0/+20 |
| | |||||
* | templates/group: add public group view | Alexander Sulfrian | 2014-11-19 | 3 | -1/+16 |
| | |||||
* | templates/all: add paginated list of all browsable groups | Alexander Sulfrian | 2014-11-19 | 5 | -0/+107 |
| | |||||
* | view: use populate_obj and do not hardcode fields | Alexander Sulfrian | 2014-11-19 | 1 | -2/+3 |
| | |||||
* | views: add group_join for accepting pending memberships | Alexander Sulfrian | 2014-11-19 | 2 | -1/+19 |
| | |||||
* | models: add active flag for membership | Alexander Sulfrian | 2014-11-19 | 3 | -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 link | Alexander Sulfrian | 2014-11-19 | 1 | -0/+4 |
| | |||||
* | templates/group: hide group deletion for non group admins | Alexander Sulfrian | 2014-11-19 | 2 | -24/+31 |
| | |||||
* | templates/index: do not collaps create group form on error | Alexander Sulfrian | 2014-11-19 | 1 | -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 confirmation | Alexander Sulfrian | 2014-11-19 | 3 | -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 groups | Alexander Sulfrian | 2014-11-19 | 2 | -1/+16 |
| | |||||
* | group_change: add form/template/view to change a group | Alexander Sulfrian | 2014-11-19 | 5 | -4/+68 |
| | |||||
* | auth: fix auth/redirect if app is hosted in subdir | Alexander Sulfrian | 2014-11-19 | 1 | -2/+17 |
| | |||||
* | widgets: add TextArea, that caches rows/cols until rendering | Alexander Sulfrian | 2014-11-19 | 2 | -1/+16 |
| | |||||
* | forms: use Form from flask.ext.wtf as base for all forms | Alexander Sulfrian | 2014-11-19 | 2 | -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 CreateGroup | Alexander Sulfrian | 2014-11-19 | 1 | -10/+12 |
| | |||||
* | views: use validate_on_submit() | Alexander Sulfrian | 2014-11-19 | 1 | -2/+2 |
| | |||||
* | auth: delete current sessions on logout | Alexander Sulfrian | 2014-11-19 | 1 | -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 value | Alexander Sulfrian | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | filters: backport selectattr, rejectattr | Alexander Sulfrian | 2014-11-19 | 2 | -0/+37 |
| | | | | We want to use jinja2 from wheezy and need to backport two template functions. |