Commit graph

7 commits

Author SHA1 Message Date
Alexander Dormann dc8fab4d42 Implement ONLY_FULL_GROUP_BY compatibility (#15) (#16)
SQL92 requires that all columns (except aggregates) in the select clause
is part of the group by clause. SQL99 loosens this restriction a bit and
states that all columns in the select clause must be functionally
dependent of the group by clause.

This commit fixes all partial GROUP BY queries to be compatible with
SQL92. Previously, when MySQLs sql_mode included ONLY_FULL_GROUP_BY,
aggregating queries failed, resulting in an empty domain listing.
2016-05-14 12:03:06 +02:00
Lukas Metzger 3ce4af18af Fixed bug when deleting domain 2016-02-07 18:48:05 +01:00
Lukas Metzger f628e147cd Added csrf protection 2016-01-29 16:52:23 +01:00
Lukas Metzger 3f8156939e Added function to delete a complete domain 2016-01-23 20:38:01 +01:00
Lukas Metzger 818cb9fbc5 Fixed possible bux if multiple persons can acces one domain 2016-01-16 16:25:56 +01:00
Lukas Metzger 9415367dfb Checked permissions when retriving domains 2016-01-16 16:13:14 +01:00
Lukas Metzger a3ebd21541 Implemented domain overview, permissions are still ignored 2016-01-16 15:46:43 +01:00