7fbf84db1f
converted text domain to string instead of constant
2016-09-30 09:58:26 +02:00
42202f676a
updated Env::plugin_name to constant for text domain
2016-09-27 14:54:23 +02:00
ba6198f956
added textdomain to __() calls
2016-09-27 14:53:44 +02:00
1c6fca7f83
fixed ErrorResponse call in API::setupPublic()
...
- removed empty constructors in updated endpoints
- added missing keys to Error class (unauthorized, forbidden)
2016-08-03 16:04:45 +02:00
5d2800bc25
added API/Error class to hold error keys as constants
...
- re-added Setting::getAll() to API/Setting::set() in response
- updated settings/setup tests
2016-08-03 15:04:25 +02:00
28c39d301c
Added default error response in case no errors were specified
...
- converted Setup endpoint
- unit tests for Setup endpoint
2016-08-03 12:41:21 +02:00
2e88d7cce0
Added API/Endpoint abstract class
...
- (re)Added Endpoints folder to both API and Router
- fixed syntax in namespaces
- xhr.responseJSON is returned to the fail()
- fixed Router endpoints (view in browser, cron,...)
2016-08-02 17:08:43 +02:00