ipfire.org.git
30 hours agoMake the file scan and mirror check less verbose master
Michael Tremer [Sun, 18 Aug 2019 17:53:22 +0000 (18:53 +0100)] 
Make the file scan and mirror check less verbose

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
30 hours agocrontab: Make sure that we are running bash when executing cron jobs
Michael Tremer [Sun, 18 Aug 2019 17:48:32 +0000 (18:48 +0100)] 
crontab: Make sure that we are running bash when executing cron jobs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agoMerge branch 'master' of ssh://people.ipfire.org/pub/git/ipfire.org
Michael Tremer [Thu, 15 Aug 2019 14:38:42 +0000 (15:38 +0100)] 
Merge branch 'master' of ssh://people.ipfire.org/pub/git/ipfire.org

4 days agoaccounts: Only try parsing dates when we have a value
Michael Tremer [Thu, 15 Aug 2019 14:38:01 +0000 (15:38 +0100)] 
accounts: Only try parsing dates when we have a value

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agoAdd update command to restart webapp gradually
Michael Tremer [Thu, 15 Aug 2019 14:37:01 +0000 (15:37 +0100)] 
Add update command to restart webapp gradually

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agopeople: Force all UIDs to be lowercase
Michael Tremer [Thu, 15 Aug 2019 13:50:25 +0000 (14:50 +0100)] 
people: Force all UIDs to be lowercase

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agopeople: Check permissions before listing calls
Michael Tremer [Thu, 15 Aug 2019 13:47:05 +0000 (14:47 +0100)] 
people: Check permissions before listing calls

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agopeople: Show admins when an account was last changed
Michael Tremer [Thu, 15 Aug 2019 13:39:44 +0000 (14:39 +0100)] 
people: Show admins when an account was last changed

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agopeople: Show list of recently created user accounts
Michael Tremer [Thu, 15 Aug 2019 13:36:01 +0000 (14:36 +0100)] 
people: Show list of recently created user accounts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agolegal: Send mail to Lightning Wire Labs GmbH
Michael Tremer [Mon, 12 Aug 2019 16:10:59 +0000 (17:10 +0100)] 
legal: Send mail to Lightning Wire Labs GmbH

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agocrontab: Rename file
Michael Tremer [Mon, 12 Aug 2019 14:35:15 +0000 (15:35 +0100)] 
crontab: Rename file

Debian ignores all files with dot in its filename

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoaccounts: Update LDAP base
Michael Tremer [Mon, 12 Aug 2019 14:32:46 +0000 (15:32 +0100)] 
accounts: Update LDAP base

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agoauth: Log a better message when an account could not be registered
Michael Tremer [Mon, 12 Aug 2019 14:16:11 +0000 (15:16 +0100)] 
auth: Log a better message when an account could not be registered

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 days agowiki: Increase ratelimit on search
Michael Tremer [Mon, 12 Aug 2019 14:11:43 +0000 (15:11 +0100)] 
wiki: Increase ratelimit on search

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agolocation: Remove "important" attribute from blacklists
Michael Tremer [Tue, 6 Aug 2019 16:08:42 +0000 (17:08 +0100)] 
location: Remove "important" attribute from blacklists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agolocation: Evaluate return code from DNS blacklists
Michael Tremer [Tue, 6 Aug 2019 16:02:05 +0000 (17:02 +0100)] 
location: Evaluate return code from DNS blacklists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agoldap: Authenticate using Kerberos
Michael Tremer [Tue, 6 Aug 2019 14:26:41 +0000 (15:26 +0100)] 
ldap: Authenticate using Kerberos

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agoMakefile: Install python components into the right path
Michael Tremer [Tue, 6 Aug 2019 13:53:47 +0000 (14:53 +0100)] 
Makefile: Install python components into the right path

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
13 days agosystemd: Run as nogroup which is the correct group on Debian
Michael Tremer [Tue, 6 Aug 2019 13:53:02 +0000 (14:53 +0100)] 
systemd: Run as nogroup which is the correct group on Debian

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agomemcache: Remove any spaces from keys
Michael Tremer [Tue, 30 Jul 2019 15:12:10 +0000 (16:12 +0100)] 
memcache: Remove any spaces from keys

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 weeks agowiki: Fix example markdown for embedding images
Michael Tremer [Tue, 30 Jul 2019 14:37:56 +0000 (15:37 +0100)] 
wiki: Fix example markdown for embedding images

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agoCSS: Import code highlighting and base it on our colour scheme
Michael Tremer [Wed, 17 Jul 2019 15:45:46 +0000 (16:45 +0100)] 
CSS: Import code highlighting and base it on our colour scheme

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agowiki: Implement automatic links for CVEs and Bugzilla
Michael Tremer [Wed, 17 Jul 2019 14:30:40 +0000 (15:30 +0100)] 
wiki: Implement automatic links for CVEs and Bugzilla

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agowiki: Import basic CSS for code highlighting
Michael Tremer [Wed, 17 Jul 2019 13:51:04 +0000 (14:51 +0100)] 
wiki: Import basic CSS for code highlighting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agowiki: Swap markdown module to default python module
Michael Tremer [Wed, 17 Jul 2019 13:47:10 +0000 (14:47 +0100)] 
wiki: Swap markdown module to default python module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agowiki: Postprocess links
Michael Tremer [Tue, 16 Jul 2019 15:58:31 +0000 (16:58 +0100)] 
wiki: Postprocess links

This removes all custom lingu from the wiki and only makes
links fancy when we need it.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agowiki: Post-process images to format them nicely
Michael Tremer [Tue, 16 Jul 2019 15:38:55 +0000 (16:38 +0100)] 
wiki: Post-process images to format them nicely

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 weeks agodonations: Fix page load error when following pre-formatted link
Michael Tremer [Tue, 16 Jul 2019 09:54:11 +0000 (10:54 +0100)] 
donations: Fix page load error when following pre-formatted link

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
6 weeks agomirrors: Catch any other SSL errors
Michael Tremer [Mon, 8 Jul 2019 18:27:49 +0000 (19:27 +0100)] 
mirrors: Catch any other SSL errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 weeks agoMerge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire.org
Michael Tremer [Sat, 22 Jun 2019 09:09:29 +0000 (10:09 +0100)] 
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire.org

8 weeks agoDeploy rate-limiting
Michael Tremer [Sat, 22 Jun 2019 09:08:12 +0000 (10:08 +0100)] 
Deploy rate-limiting

To avoid any abuse of various functions of the webapp, we
now rate-limit users to a certain number of requests and send
them a HTTP 429 error if they exceed that limit.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 weeks agoRevert "blocking: Replace spamhaus XBL against blocklist.de"
Michael Tremer [Sat, 22 Jun 2019 07:33:12 +0000 (08:33 +0100)] 
Revert "blocking: Replace spamhaus XBL against blocklist.de"

This reverts commit 980806016dec8f581f051fc7756a3d62d4f4b78b.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agopeople: Add congratulations page for activating the new account
Michael Tremer [Thu, 13 Jun 2019 08:40:11 +0000 (09:40 +0100)] 
people: Add congratulations page for activating the new account

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agopeople: Add nickname
Michael Tremer [Thu, 30 May 2019 18:59:37 +0000 (19:59 +0100)] 
people: Add nickname

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoFix dimensions of Apple touch icons
Michael Tremer [Thu, 30 May 2019 17:46:21 +0000 (18:46 +0100)] 
Fix dimensions of Apple touch icons

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoUpdate popper.js
Michael Tremer [Thu, 30 May 2019 17:29:22 +0000 (18:29 +0100)] 
Update popper.js

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Fix for empty path names
Michael Tremer [Thu, 30 May 2019 17:20:18 +0000 (18:20 +0100)] 
wiki: Fix for empty path names

path can be None (for empty strings). That is translated to the index page.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Fix creating pages
Michael Tremer [Thu, 30 May 2019 17:17:08 +0000 (18:17 +0100)] 
wiki: Fix creating pages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Show empty indicator for watchlist
Michael Tremer [Thu, 30 May 2019 15:19:56 +0000 (16:19 +0100)] 
wiki: Show empty indicator for watchlist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Fix wrong variable name
Michael Tremer [Thu, 30 May 2019 15:16:39 +0000 (16:16 +0100)] 
wiki: Fix wrong variable name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoCSS: Make tables inherit their font colour
Michael Tremer [Thu, 30 May 2019 15:07:37 +0000 (16:07 +0100)] 
CSS: Make tables inherit their font colour

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Fix editing the index page
Michael Tremer [Thu, 30 May 2019 15:02:44 +0000 (16:02 +0100)] 
wiki: Fix editing the index page

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Reduce image size to 920px
Michael Tremer [Thu, 30 May 2019 14:53:34 +0000 (15:53 +0100)] 
wiki: Reduce image size to 920px

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Use <figure> for images
Michael Tremer [Thu, 30 May 2019 14:30:10 +0000 (15:30 +0100)] 
wiki: Use <figure> for images

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Implement embedding images with {{...}} syntax
Michael Tremer [Thu, 30 May 2019 14:17:19 +0000 (15:17 +0100)] 
wiki: Implement embedding images with {{...}} syntax

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Fix link handling
Michael Tremer [Thu, 30 May 2019 13:36:02 +0000 (14:36 +0100)] 
wiki: Fix link handling

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Add preview for editing pages
Michael Tremer [Thu, 30 May 2019 13:15:15 +0000 (14:15 +0100)] 
wiki: Add preview for editing pages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agobootstrap: Update to 4.3.1
Michael Tremer [Thu, 30 May 2019 13:13:45 +0000 (14:13 +0100)] 
bootstrap: Update to 4.3.1

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Enforce ACLs for watchers
Michael Tremer [Thu, 30 May 2019 11:00:17 +0000 (12:00 +0100)] 
wiki: Enforce ACLs for watchers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Update files URL schema
Michael Tremer [Thu, 30 May 2019 10:57:25 +0000 (11:57 +0100)] 
wiki: Update files URL schema

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Change watch/unwatch URL schema
Michael Tremer [Thu, 30 May 2019 10:54:44 +0000 (11:54 +0100)] 
wiki: Change watch/unwatch URL schema

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Change URL type for edits
Michael Tremer [Thu, 30 May 2019 10:50:26 +0000 (11:50 +0100)] 
wiki: Change URL type for edits

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Change breadcrumb handling
Michael Tremer [Thu, 30 May 2019 10:49:37 +0000 (11:49 +0100)] 
wiki: Change breadcrumb handling

This now will ignore any actions at the end of the URL

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Fix rendering image detail pages
Michael Tremer [Mon, 27 May 2019 16:28:11 +0000 (17:28 +0100)] 
wiki: Fix rendering image detail pages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Fix authorisation handling when editing pages
Michael Tremer [Mon, 27 May 2019 16:10:36 +0000 (17:10 +0100)] 
wiki: Fix authorisation handling when editing pages

This is now a proper handler which uses the @authenticated decorator
which redirects people to the correct login URL.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoblacklisting: Remove blocklist
Michael Tremer [Sun, 26 May 2019 10:20:38 +0000 (11:20 +0100)] 
blacklisting: Remove blocklist

This list does not seem to be responding fast enough and often
requests to our webapp time out.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agowiki: Go back in history for forever to show recent changes
Michael Tremer [Thu, 23 May 2019 13:25:36 +0000 (14:25 +0100)] 
wiki: Go back in history for forever to show recent changes

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoCSS: Make code elements dark
Michael Tremer [Thu, 23 May 2019 11:48:25 +0000 (12:48 +0100)] 
CSS: Make code elements dark

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2 months agoCSS: Do not style external links differently
Michael Tremer [Thu, 23 May 2019 11:04:59 +0000 (12:04 +0100)] 
CSS: Do not style external links differently

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Authenticate when changing passwords, too
Michael Tremer [Sat, 18 May 2019 12:13:16 +0000 (13:13 +0100)] 
accounts: Authenticate when changing passwords, too

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agopeople: Fix link which referenced the wrong account
Michael Tremer [Sat, 18 May 2019 12:05:02 +0000 (13:05 +0100)] 
people: Fix link which referenced the wrong account

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Bind to LDAP after reconnect
Michael Tremer [Sat, 18 May 2019 12:02:38 +0000 (13:02 +0100)] 
accounts: Bind to LDAP after reconnect

This change makes sure that we are always authenticated
against the LDAP server before performing any write operations

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agotweets: Tweet something every 4-5 days only
Michael Tremer [Thu, 9 May 2019 09:30:18 +0000 (10:30 +0100)] 
tweets: Tweet something every 4-5 days only

Every 3-4 days seems to be a bit much.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoblocking: Replace spamhaus XBL against blocklist.de
Michael Tremer [Wed, 8 May 2019 17:42:26 +0000 (18:42 +0100)] 
blocking: Replace spamhaus XBL against blocklist.de

Spamhaus XBL seems to have quite a high number of false positives.

Therefore we are trying to use a different blacklist now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: Remove author from search results
Michael Tremer [Wed, 8 May 2019 17:00:20 +0000 (18:00 +0100)] 
wiki: Remove author from search results

This is not relevant here

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: Add watchlist
Michael Tremer [Wed, 8 May 2019 16:57:32 +0000 (17:57 +0100)] 
wiki: Add watchlist

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoUpdate requirements
Michael Tremer [Wed, 8 May 2019 17:41:45 +0000 (18:41 +0100)] 
Update requirements

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agomessages: Encode emails as quoted-printable and remove MIME multipart headers
Michael Tremer [Wed, 8 May 2019 16:14:35 +0000 (17:14 +0100)] 
messages: Encode emails as quoted-printable and remove MIME multipart headers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agomessages: Do not wrap text
Michael Tremer [Wed, 8 May 2019 15:53:47 +0000 (16:53 +0100)] 
messages: Do not wrap text

This does not work very well anyways

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: Always show edit button to encourage editing
Michael Tremer [Wed, 8 May 2019 14:14:43 +0000 (15:14 +0100)] 
wiki: Always show edit button to encourage editing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: Remove "Last modified" before date
Michael Tremer [Wed, 8 May 2019 14:07:29 +0000 (15:07 +0100)] 
wiki: Remove "Last modified" before date

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoutil: Load required PIL module
Michael Tremer [Tue, 7 May 2019 21:35:56 +0000 (22:35 +0100)] 
util: Load required PIL module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: External links do not need to have an alias
Michael Tremer [Tue, 7 May 2019 21:23:01 +0000 (22:23 +0100)] 
wiki: External links do not need to have an alias

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: Handle wiki links
Michael Tremer [Tue, 7 May 2019 21:16:48 +0000 (22:16 +0100)] 
wiki: Handle wiki links

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: Handle email addresses
Michael Tremer [Tue, 7 May 2019 21:08:15 +0000 (22:08 +0100)] 
wiki: Handle email addresses

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: Handle external links
Michael Tremer [Tue, 7 May 2019 21:01:41 +0000 (22:01 +0100)] 
wiki: Handle external links

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: Pre-compile regex for interwiki links
Michael Tremer [Tue, 7 May 2019 20:48:30 +0000 (21:48 +0100)] 
wiki: Pre-compile regex for interwiki links

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agowiki: Add support for Interwiki links
Michael Tremer [Tue, 7 May 2019 18:07:12 +0000 (19:07 +0100)] 
wiki: Add support for Interwiki links

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoauth: Send Vary: Cookie header for all authentication pages
Michael Tremer [Tue, 7 May 2019 17:16:43 +0000 (18:16 +0100)] 
auth: Send Vary: Cookie header for all authentication pages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Drop a couple of unused Python modules
Michael Tremer [Tue, 7 May 2019 17:13:13 +0000 (18:13 +0100)] 
accounts: Drop a couple of unused Python modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Change way how to compose the CN
Michael Tremer [Tue, 7 May 2019 17:07:31 +0000 (18:07 +0100)] 
accounts: Change way how to compose the CN

This seemed to fail in production

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agotemplates: Fix wrong path
Michael Tremer [Tue, 7 May 2019 16:59:56 +0000 (17:59 +0100)] 
templates: Fix wrong path

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agopeople: Do not show any personal information to users without status
Michael Tremer [Tue, 7 May 2019 16:58:31 +0000 (17:58 +0100)] 
people: Do not show any personal information to users without status

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Unify using DN in cache keys
Michael Tremer [Tue, 7 May 2019 16:53:21 +0000 (17:53 +0100)] 
accounts: Unify using DN in cache keys

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agopeople: Decrease size of phone numbers field
Michael Tremer [Tue, 7 May 2019 16:49:28 +0000 (17:49 +0100)] 
people: Decrease size of phone numbers field

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agopeople: Fix "None" showing when street is empty
Michael Tremer [Tue, 7 May 2019 16:48:34 +0000 (17:48 +0100)] 
people: Fix "None" showing when street is empty

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoCleanup sessions, accounts and the message queue once an hour
Michael Tremer [Tue, 7 May 2019 16:44:37 +0000 (17:44 +0100)] 
Cleanup sessions, accounts and the message queue once an hour

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Do not try to resize when no avatar was uploaded
Michael Tremer [Tue, 7 May 2019 16:35:05 +0000 (17:35 +0100)] 
accounts: Do not try to resize when no avatar was uploaded

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Fix wrong variable name
Michael Tremer [Tue, 7 May 2019 16:33:41 +0000 (17:33 +0100)] 
accounts: Fix wrong variable name

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Make avatars square
Michael Tremer [Tue, 7 May 2019 16:31:05 +0000 (17:31 +0100)] 
accounts: Make avatars square

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoCache generated thumbnails
Michael Tremer [Tue, 7 May 2019 16:27:54 +0000 (17:27 +0100)] 
Cache generated thumbnails

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agofooter: Add spacing between user name and logout button
Michael Tremer [Tue, 7 May 2019 16:00:51 +0000 (17:00 +0100)] 
footer: Add spacing between user name and logout button

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Remove search cache
Michael Tremer [Tue, 7 May 2019 15:58:56 +0000 (16:58 +0100)] 
accounts: Remove search cache

This is not very useful when registering a new account.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoRevert "auth: Wrap login and logout in a single transaction"
Michael Tremer [Tue, 7 May 2019 15:54:17 +0000 (16:54 +0100)] 
Revert "auth: Wrap login and logout in a single transaction"

This reverts commit 32d0ee1cba55825d13b192c6d53d8bd507d76a6b.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Rename _get_account_from_dn to get_by_dn
Michael Tremer [Tue, 7 May 2019 15:52:51 +0000 (16:52 +0100)] 
accounts: Rename _get_account_from_dn to get_by_dn

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoaccounts: Create LDAP user when account is activated
Michael Tremer [Tue, 7 May 2019 15:51:19 +0000 (16:51 +0100)] 
accounts: Create LDAP user when account is activated

This converts the temporary user account into an account on our
LDAP database.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agopeople: Allow no account reference when using the password module
Michael Tremer [Tue, 7 May 2019 15:50:28 +0000 (16:50 +0100)] 
people: Allow no account reference when using the password module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoauth: Add register button
Michael Tremer [Tue, 7 May 2019 15:37:40 +0000 (16:37 +0100)] 
auth: Add register button

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoauth: Raise Bad Request on ValueError upon registration
Michael Tremer [Tue, 7 May 2019 15:07:04 +0000 (16:07 +0100)] 
auth: Raise Bad Request on ValueError upon registration

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 months agoauth: Do not allow logged-in users to register again
Michael Tremer [Tue, 7 May 2019 15:06:46 +0000 (16:06 +0100)] 
auth: Do not allow logged-in users to register again

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>