History/database helper#4
Open
jayjay-w wants to merge 11 commits into
Open
Conversation
Collaborator
|
Once you merge the previous PR, rebase this with the master and assign it back to me. |
jayjay-w
force-pushed
the
history/database_helper
branch
from
July 31, 2015 04:58
65c4e13 to
c2d971f
Compare
This class contains sql code and column names to be used in the history plugin's code. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
The DatabaseManager class contains code to interact with the history plugin's database. Functions such as database creation, table creation, inserts and searches are handled in this class. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
This enables logging of chats to an sqlite database. The plugin intercepts each sent/received message and logs it to the database file in the user's app data folder. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Add SQL code to be used when retrieving the contacts involved in chats for a particular account. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Prefix the functions for getting SQL queries with sql_ for easier reference. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
jayjay-w
force-pushed
the
history/database_helper
branch
from
July 31, 2015 05:04
c2d971f to
9896325
Compare
Owner
Author
|
Done. Rebased with master. |
Collaborator
There was a problem hiding this comment.
Lets make it a TODO Shall we ?
Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Whitespace correction. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
This avoids hand coding column names in the C++ code. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Owner
Author
|
I have assigned this back to you. I will read more about the K_GLOBAL_STATIC. |
Fix some of the longer lines to a manageable length. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Owner
Author
|
I am working on a StringBuilder class now. |
Emit error messages when the database is not open. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Collaborator
|
@josh-wambua : If you are still working on a few stuff, you should probably finish them up before assigning it back to me. 😸 |
Collaborator
|
Any updates on this one? |
Owner
Author
|
QueryBuilder coming up tomorrow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This branch is based on the prepare branch, and contains code to interface with the database. This enables full database logging.
To be reviewed after #3