Commit graph

118 commits

Author SHA1 Message Date
Lukas Metzger f4b06ae910 Added GET /domains/{domainId} 2018-03-24 16:37:35 +01:00
Lukas Metzger 29aa6e87f8 Added DELETE /domains/{domainId} 2018-03-24 15:42:11 +01:00
Lukas Metzger 8d24d6e6e1 Fixed test database 2018-03-24 15:18:15 +01:00
Lukas Metzger 6ec9c81c32 Fixed bug where numbers where returned as string 2018-03-24 15:09:33 +01:00
Lukas Metzger 5928203a0a Added POST /domains api 2018-03-24 14:48:49 +01:00
Lukas Metzger b38cf25a75 Added tests for GET /domains 2018-03-24 13:32:34 +01:00
Lukas Metzger f76a0ed8a8 Cleaned up repository 2018-03-23 20:17:24 +01:00
Lukas Metzger 7b7b739589 Cleared up travis debug info 2018-03-23 20:06:13 +01:00
Lukas Metzger 725d0e1591 Added apcu extension to travis 2018-03-23 20:01:09 +01:00
Lukas Metzger 49b45a0cf1 Changed loglevel and target in test 2018-03-23 19:54:07 +01:00
Lukas Metzger cd6f019dd0 Travis debug output 2018-03-23 19:50:39 +01:00
Lukas Metzger e95f520afa Added debug output for travis 2018-03-23 19:43:43 +01:00
Lukas Metzger a573a7813e Fixed typo in apcu.php 2018-03-23 18:49:22 +01:00
Lukas Metzger e39bb6d13c Fixed error in test if password is empty 2018-03-23 18:44:38 +01:00
Lukas Metzger 8c7fbf40ef Fixed permissions for travis scripts 2018-03-23 18:35:08 +01:00
Lukas Metzger c002e98156 Added travis-ci configuration 2018-03-23 18:32:09 +01:00
Lukas Metzger 3f4203fdf0 Added tests for backend 2018-03-23 18:16:39 +01:00
Lukas Metzger e543e9ceea Added possible override for config 2018-03-23 16:37:29 +01:00
Lukas Metzger 90381aec54 Fix commit hook 2018-03-23 16:37:11 +01:00
Lukas Metzger 878bfc3f6c Move everything to subfolder 2018-03-23 16:34:25 +01:00
Lukas Metzger dcb33c5c69 Added linter for php and fixed errors 2018-03-21 17:30:24 +01:00
Lukas Metzger 5f93a13412 Added GET /domains functionality 2018-03-21 16:51:14 +01:00
Lukas Metzger 54bf2a1099 Fixed identifier for backends used in the user table of the database 2018-03-21 16:49:52 +01:00
Lukas Metzger 154232236a Added parameter type for query 2018-03-21 13:43:26 +01:00
Lukas Metzger ac7f6f5b56 Created framwork for backend, working authentication and session
management
2018-03-20 10:51:47 +01:00
Lukas Metzger 1aad0d7219 Save some unknown progress 2018-02-09 16:58:04 +01:00
Lukas Metzger ae8b16c825 Fixed linter errors, added pre-commit script and instructions 2017-07-23 16:52:11 +02:00
Lukas Metzger 03ae894776 Updated year in license file 2017-07-23 16:27:43 +02:00
Lukas Metzger 2511608c88 Added installation of dependencies to README 2017-07-23 16:26:09 +02:00
Lukas Metzger bff62a725d Added first version of frontend part 2017-07-23 16:24:52 +02:00
Lukas Metzger 800a832975 Updated readme for dev branch 2017-07-23 16:20:32 +02:00
Lukas Metzger fae6ac469b Remove old stuff, so that only the backend can be used as mock backend 2017-07-23 16:09:53 +02:00
Lukas Metzger 5c9f0da3aa Adding unique constraint on update 2017-02-19 12:52:40 +01:00
Lukas Metzger 77fa9a926d Fixed upgrade 2017-02-19 12:10:53 +01:00
Lukas Metzger a105edc4ab Fixed whitespace errors, removed unneccessary tables 2017-02-05 17:12:38 +01:00
lamclennan 107bfc7c67 Removed Slave 2017-01-08 14:55:07 +10:00
lamclennan 8f382ac72f Readme Updated 2017-01-08 14:45:56 +10:00
lamclennan 47aebceac4 Removed Slave Button 2017-01-08 14:42:59 +10:00
lamclennan 61d7ea9a51 Final Fixes 2017-01-08 14:34:35 +10:00
lamclennan d9f4b20448 Updated upgrade scripts for MySQL
Renamed the user table to users and added a unique key to it so
duplicate users can't be created.

Upgrade scripts delete duplicates and keep the lowest id (which is what
would have been used for authentication anyway, i.e. other users were
useless).

Added upgrade script to put domains names and records names to lower
case text as is required by postgres.
2017-01-08 14:15:31 +10:00
lamclennan b9efd906e5 Postgres SQL Fixes
A few commands changed to suit postgres and the "user" table.
2017-01-08 02:51:16 +10:00
lamclennan 47f3f9939e Bugs
Fixed a few code bugs. Added text to strip whitespace from records (i.e.
name, master, email)
2017-01-07 23:59:03 +10:00
lamclennan 5d5f8c4af7 Added some trimming around some VARCHAR records 2017-01-07 20:29:36 +10:00
lamclennan 7972a197ee PDO Conversion 2017-01-07 20:18:39 +10:00
lamclennan 1aaa24280f Started Work Again 2017-01-07 18:37:13 +10:00
lamclennan 3bf4e2874a PDO Conversion/Pg Support Started
Early commit.
2016-12-13 08:19:00 +10:00
Lukas Metzger 25569890ac Fixed license file 2016-08-21 11:55:48 +02:00
Lukas Metzger d9f113c95d Updated README.md, added possibility for native zones 2016-06-07 19:02:13 +02:00
Maurice Meyer 788c0d1d19 Added pagination (#19)
* Added initial functionality for pagination

* Display of pagination now works for total page number greater than 8. Note that the actual pagination is not yet implemented

* Pagination is now functional and loads the requested sites

* Added cursor pointer to pagination

* page parameter is now set to 1 if not a number or smaller than 1

* page parameter is now checked with isset to prevent errors if it is not supplied

* Changed default number of domains per page to 15

* Added isset check to $input->page to prevent errors if it is not set
2016-06-07 19:00:35 +02:00
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