Commit graph

112 commits

Author SHA1 Message Date
ohartl
75598698d1 Fix duplicate source addresses 2016-02-20 22:21:43 +01:00
ohartl
c4fa44cff5 Fix problems with output send before headers and some refactoring 2016-02-20 21:32:29 +01:00
ohartl
084c2abd0e Fix mysqli::fetch_all not supported in some php version 2016-02-20 20:41:41 +01:00
ohartl
2cf74eafc7 Merge branch 'dev' of https://github.com/ThomasLeister/webmum into dev 2016-02-20 00:22:25 +01:00
ohartl
2a62fcb377 Fix session problems 2016-02-20 00:14:53 +01:00
Thomas Leister
8954a01b69 Updates footer 2016-02-19 16:44:49 +01:00
ohartl
c182551e8f Change all pages to use models 2016-02-19 15:47:38 +01:00
ohartl
3964e5331b Multiple little fixes, typos and reparation for some future code 2016-02-19 15:08:38 +01:00
ohartl
32d0216a83 Use models for authentication 2016-02-19 13:18:00 +01:00
ohartl
297cebd57b Add models for every case, so much work.. 2016-02-19 13:15:48 +01:00
ohartl
a1e13a9919 Add own ORM without any dependencies, yay 2016-02-19 13:13:36 +01:00
ohartl
3b8466ab7f Add dependency injection to load classes 2016-02-18 19:27:06 +01:00
ohartl
da0fb4738f Protect the codebase by denying direct access and executing of php scripts in /include/php 2016-02-18 18:04:29 +01:00
ohartl
6bd36d6623 Use role constants for roles 2016-02-18 17:51:10 +01:00
ohartl
d0b38d17b1 Moving authentication relevant things to its own class replacing checkpermission and old user.class.php, and a modern approach on validation without global variables 2016-02-18 17:44:27 +01:00
ohartl
838188174e Add model for user as a start of a more modern mvc pattern like approach on architecture 2016-02-18 17:41:01 +01:00
ohartl
f6952b44fd Closing mysqli db connections at the end of execution is unnecessary since its closed by php automatically there anyways 2016-02-18 17:37:46 +01:00
ohartl
db0520368d Fix email validation 2016-02-18 15:36:39 +01:00
ohartl
35a2b9cec2 Merge branch 'patch-redirect' into dev 2016-02-18 15:23:49 +01:00
ohartl
9b15703b29 Fixes insert query on creation if multi source redirects are not used 2016-02-18 15:22:59 +01:00
Thomas Leister
ac7b4172a9 Fix things 2016-02-18 11:37:58 +01:00
ohartl
d44fb91efc Fix mssing style on login form and start page 2016-02-17 23:23:42 +01:00
ohartl
a6191f0e6d Fix missing count of redirects in foot of table 2016-02-17 23:18:05 +01:00
ohartl
5fc9a7de91 Cleaning up and format code
Rebuild all forms and lists, also changes on css.
Adding user and redirect count on domain page (so you can figure out which domain might still be used easier.
Adding count at table foot of all lists.
Make length of generated password depend on MIN_PASS_LENGTH
2016-02-17 23:16:31 +01:00
ohartl
e56135b4d1 Add optional support for multiple source address redirects 2016-02-17 06:19:42 +01:00
ohartl
6ece419da3 Change edit user info text 2016-02-17 06:04:09 +01:00
ohartl
dde7e6a43b Merge branch 'patch-redirect-missing' into patch-small-fixes 2016-02-17 00:50:44 +01:00
ohartl
99da350eaf Fix setting mailbox_limit to default if not send
Fix check if user exists before updating
2016-02-17 00:46:24 +01:00
ohartl
4b59b1d3c8 Add dbError and redirect method to clean up
Fix some problems with missing id's by redirecting to overviews
2016-02-17 00:39:43 +01:00
ohartl
c09e1ed031 Merge remote-tracking branch 'upstream/master' into patch-small-fixes 2016-02-16 23:00:22 +01:00
ohartl
defef4dfd2 Disable input editing of username and domain, not just show a message that it cannot be edited 2016-02-16 22:56:30 +01:00
ohartl
9ab17afc0d Fix mailbox_limit_default might not have been defined 2016-02-16 21:20:28 +01:00
ohartl
a442f3db88 FIX deletion of admin users or their domains 2016-02-16 19:18:10 +01:00
Oliver Hartl
12a31ef97b Fix missing lowercae conversion for username and domain
As ive noticed on my mail server, this has been a problem since email adresses are always interpreted in lowercase..
2016-02-15 15:08:15 +01:00
lastsamurai26
d193cb4e90 Undefiniert variable quota
quota aus Create statement entfernt
2016-02-03 23:53:17 +01:00
Malte Kiefer
fabffa1320 remove lost text 2015-12-09 14:14:51 +01:00
Malte Kiefer
d247f7070a add function get_hash()
Add function get_hash() to set the right hash for  the generating password hash function
2015-12-09 14:14:24 +01:00
Thomas Leister
3335c6edce Adds admins array for multiple admin accounts 2015-12-09 12:07:23 +01:00
Thomas Leister
94799bff66 Add config override for dev purpose 2015-12-09 11:59:38 +01:00
Thomas Leister
5f12b18e5c Fix XSS problem in admin area 2015-01-16 23:34:30 +01:00
Thomas Leister
50bd82e223 Adds strip_tags 2015-01-16 23:24:27 +01:00
Thomas Leister
7863c0cd79 moved generate password button to password column 2015-01-08 16:34:13 +01:00
Bjoern Biesenbach
3ee6d00a8a added button to generate random password 2015-01-08 15:55:02 +01:00
Bjoern Biesenbach
057997970d added javascript snippet for password generation 2015-01-08 15:54:46 +01:00
Thomas Leister
fb9b0459bc Adds several strtolower() functions 2014-12-22 17:15:35 +01:00
Thomas Leister
2e53674f70 Adds variable log path 2014-12-19 15:14:54 +01:00
Thomas Leister
f9e179790e Adds timestamp to log and updates README Fail2Ban section 2014-12-19 14:10:09 +01:00
Hendrik Grewe
8d1bda2304 remove debug information 2014-12-19 13:58:06 +01:00
Hendrik Grewe
a1a4c1ec7f Allow different folder for logfiles 2014-12-19 13:44:06 +01:00
Thomas Leister
3baa373a4c Adds support for Fail2Ban by writing a log file, prevents creating of double accounts and domains 2014-12-19 12:09:31 +01:00