Commit graph

104 commits

Author SHA1 Message Date
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
Lukas Metzger 0d1f5503ae Fixed regex for email address 2016-05-12 15:10:04 +02:00
Lukas Metzger c72806708b Removed unneccessary debug output 2016-05-06 18:15:15 +02:00
Lukas Metzger 3a3855e939 Added functionality for native zones 2016-05-03 17:42:34 +02:00
Lukas Metzger d14c64043c Removed SOA record from select field 2016-05-03 17:15:50 +02:00
Lukas Metzger b0e53d92a0 Merge branch 'mauricemeyer-master' 2016-04-20 16:10:36 +02:00
Lukas Metzger 01ca1ca62c Merge branch 'master' of https://github.com/mauricemeyer/pdnsmanager into mauricemeyer-master 2016-04-20 16:08:19 +02:00
Maurice Meyer ab84439c1a Fixed the getIP command so that the clients IP is always returned, even behind multiple proxies.
Fixed indentation.
2016-04-20 14:59:06 +02:00
Maurice Meyer c7ff6326ee Changed the GetIP command of the API so that it returns the X-Forwarded-For header if it is set 2016-04-19 18:19:37 +02:00
Lukas Metzger e52aa1428e Disabled pointer cursor on record table 2016-03-28 17:17:32 +02:00
Lukas Metzger ec47c6b175 Adding default values for ttl and prio, closes #4 2016-03-28 16:48:35 +02:00
Lukas Metzger bda3384ad7 Added shake movements on errors for better visual feedback, closing #5 2016-03-28 14:55:00 +02:00
Lukas Metzger 0c4bb7e127 Added input validation when editing record, fixes #6 2016-03-27 17:32:42 +02:00
Lukas Metzger be316f163f Added word wraping for long records, fixes #2 2016-03-27 17:09:23 +02:00
Lukas Metzger 6231e06b91 Changed cursor to pointer in all clickable tables fixes #3 2016-03-27 16:54:43 +02:00