Removed unused dependencies
Changed response data format: Removed default data + error key layout. Succesfull request returning data now directly. All unsuccesful request returning an appropriate http status code, which replaces our former error codes.
Changes in board action: Renamed key 'text' to 'name'
Changes in user action: Added keys userId + username; renamed key 'image' to 'picture'; formatted dates to ISO8601
Fixed some crashes from former refactoring
Changes in threads action: renamed key 'author' to 'username'
Added charset to reponse header
Moved duplicate code for embedding images to util method
Moved hardcoded request timeout value to option key
Fix in uncaughtException handler
Removed unnecessary http status code sendings from all handler functions
Removed new line characters in profile data
Changed http status code for answerExists to 409 (conflict), 403 is now threadClosed
Fixed --disable-logging option
Changed protocol URI of profile picture to http because iOS7 does not accept the forums SSL certificate
If no picture is present an empty string is returned instead of null for consistency reasons
Verbose logging shows also http response
Removed response body data from data changing actions (clients only need to know http status = 200)
Changes in reponse http status codes:
- permission = 403 (was 401)
- threadClosed = 423 (was 406)
- new code: unchanged = 406
NotFound + MethodNotAllowed will be logged on default log level
NotFound + MethodNotAllowed skipping after handler
Updated npms
Documentation