Skip to content

Releases: telepat-io/telepat-api

0.4.4

07 Jul 09:11
Compare
Choose a tag to compare
  • Object ACL middleware should check the jwt token when user model is used
  • Email is not required anymore to make a fb account using the FID instead as a username
  • Added support for sendgrid emails
  • Account confirmation endpoint will redirect the user now to a specified address
  • Implemented email templates for password reset flow and for new user accounts confirmation
  • The endpoints with password reset flow now can accept a callback url from clients which will redirect them to that url in the response
  • Default API key added in case application is created without one. Thanks dmitriz
  • Fixed the unit tests
  • BUGFIX: /admin/user/update should correctly update a users password
  • BUGFIX: device/register should now create a new device if persistent udid is missing
  • BUGFIX: Fixed 500 error on /object/count when model is user

0.4.3

05 Jul 12:53
Compare
Choose a tag to compare
  • Fixed /user/update and /admin/user/update and their notifications
  • Replace usage of jwt.sign() with security.createToken
  • Implemented start/stop/restart npm commands

0.4.2

09 Sep 11:20
Compare
Choose a tag to compare
  • Implemented permissions to access objects based on creator/others (admins are exempt from this)
  • Subscription objects from users no longer show username & email fields
  • SystemMessages are being sent when manipulating application info

0.4.1

01 Sep 13:53
Compare
Choose a tag to compare
  • Added suport for SSL
  • Removed the APPID, SIGN and UDID required headers in /user/refresh_token
  • Removed APP headers from /admin/app/update & remove
  • Added new route: /admin/user/search
  • TelepatIndexedLists.get now returns the object if it's found
  • Bugfix: fixed jwt errors when it's expired or invalid

0.4.0

04 May 11:03
Compare
Choose a tag to compare
  • Added support for geolocation sorting
  • Implemented CRUD methods for TelepatIndexedLists
  • Added support for merging an account with Facebook
  • Added /email route for clients to send an email
  • Added /proxy route for clients to proxy a HTTP(S) request through
    the API
  • Added support for subscribing without subscribing (classic get)

0.3.0

04 May 11:04
Compare
Choose a tag to compare
  • Added some old routes back for backwards compatibility (admin/user/all
    for example)
  • Endpoints to retrieve and update user metadata
  • User password hash removed from subscribe results

0.2.8

16 Dec 12:52
Compare
Choose a tag to compare
  • Context ID is not necessary when subscribing to channels which refer to an object id
  • Added stack trace to logger when API has an >= 500 error
  • /context/* routes no longer requier authentication or device ID
  • Implemented email confirmation and password reset features
  • /admin/update should now be able to correctly update its password
  • /object/count returns the response in an object
  • Bugfix: /device/register device is updated accordingly when supplying an existent UDID in the info
  • /object/count Added aggregation support
  • /object/subscribe Added support for sorting results

0.2.7

06 Nov 15:26
Compare
Choose a tag to compare
  • Added support for loging/registering with Facebook. Register/login endpoints have changed:
    • /user/login is now /user/login-facebook and /user/login-twitter
    • /user/register is now /user/register-facebook, /user/register-twitter and /user/register-username
  • Env variables related to logger and login providers are optional
  • Added instant flag to admin context/user operation messages
  • Logged requests now show request duration in milliseconds
  • Fixed #7
  • /object/create|delete|update|count no longer require device ID
  • /object/create bugfix when user is not logged in

0.2.6

27 Oct 10:29
Compare
Choose a tag to compare
  • Changed all methods that delete resources to use DELETE HTTP method
  • Fixed a bug on deathorizing admin
  • Context operations also send messages to workers in order to notifiy clients
  • API uses TelepatLogger instead of console.log
  • context is not required if subscribing/unsubscribing from user or context builtin models

0.2.5

09 Oct 14:45
Compare
Choose a tag to compare
  • Fixed /user/update when updating password
  • Further improved the tests, now each test has an ID displayed for easy lookup. Tests should run faster.
  • Variable checks for message queue client and main database
  • Added pagination support for subscribe requests
  • Removed tokenValidation in object routes because objectACL was already doing that
  • /object/count should now work
  • Applications loaded on boot up are saved in Application object from telepat-models
  • Fixed some minor bugs