Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON APIs and bug fixes #717

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ndanilin
Copy link
Contributor

Bug fixes:

  1. Removed duplication of messages from viewAllMessages (I think it's a critical bug).
  2. Added filter by timestamp in searchRecords. Search messages by timestamp didn't work because seekToTimestamp can't guarantee needed result.

New features:

  1. Added JSON API getAllMessages (equivalent of viewAllMessages that returns JSON array of messages).
  2. Added JSON API searchMessages (equivalent of searchMessageForm that returns JSON array of messages). Here I made custom SearchMessageFormForJson and now all fields of form are not required. Also added here search by keys (It might overload this method, but seems very helpful for guaranteed results)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant