Re: GSoC Weekly Reports

2021-08-22 Thread Yusuf Karadağ
Hello again,
Just to inform you, I gave the link in the final evaluation as
https://github.com/miador/clerezza-signal where the main library is located
and all the resources and external services pointed(including project
report and web services).
Best regards!

On Sun, Aug 22, 2021 at 2:20 PM Yusuf Karadağ 
wrote:

> Thank you so much sir.
> See you soon.
> Best regards.
>
> Yusuf Karadag
>
> On Sun, Aug 22, 2021, 15:02 Hasan  wrote:
>
>> Many thanks Yusuf for the updated report.
>>
>> Wish you success in your life and work.
>> See you sometime.
>>
>> Hasan
>>
>> On Sun, Aug 22, 2021 at 1:19 PM Yusuf Karadağ 
>> wrote:
>>
>>> Dear Mr. Hasan,
>>> I attached the refactored report to this mail. I created 2 images to
>>> show architecture, added them into the report and tried to describe the
>>> functionality/logic behind it. I hope that's fine with you.
>>>
>>> On Sun, Aug 22, 2021 at 8:58 AM Hasan  wrote:
>>>
 Hi Yusuf

 Thanks for the report.
 I have one suggestion for improvements. Add a new chapter after the
 ontology.
 Chapter 2: Implementation Architecture
 - An image containing a high level overview of involved components
   - Signal Messaging System (two or more signal clients and one signal
 server)
 - Name one of the client Intercepting Signal Client and highlight it
   - Apache Clerezza based Messaging Graph Store Web Service

 - A short description of each component (functional description)
   - One of the clients in Signal Messaging System is named Intercepting
 Signal Client,
 because it contains some hooks to intercept data flow and interact
 with Web Service
   - ...

 - You can add a Message Sequence Diagram of the interaction between the
 Intercepting Signal Client
   and the Signal Server, showing the data flow interception and the
 place of the hooks for both
   incoming as well as outgoing messages

 Please send us the new version after you make your changes. I hope you
 still have time to make changes
 before submission.

 Hasan

 On Fri, Aug 20, 2021 at 5:11 PM Yusuf Karadağ <
 [email protected]> wrote:

> Dear mentors,
> I've attached the refactored final version of the report for GSoC to
> this report for your information. Any feedback, suggestion will be
> appreciated. I mentioned the library, 2 web services, 2 pull-requests, the
> ontology, debugging in Android and what needs to be done more(about
> integrating into Signal client), basically everything I have done so far.
> Additionally, i would love to thank you Mr. Hasan for your technical
> support everyday and Mr. Kamaci for all administration stuff. I've seen my
> strengths and weaknesses in this project period. Hopefully I will be a
> better developer and one day a senior developer like you mentoring
> students, juniors. It was a great meeting and working with you. I hope we
> will be in  touch for future improvements and ideas.
> Best regards!
>
>
> On Thu, Aug 12, 2021 at 2:45 PM Hasan Hasan 
> wrote:
>
>> Thanks Yusuf for the report.
>>
>> One important task in this project is to be able to hook into the
>> Signal library or client (whatever client you choose). Please provide the
>> information in the report as well in this respect. You should especially
>> mention
>> 1. which client code you are using to place a hook (links to github
>> project, etc. where the client code is publicly available)
>> 2. the location of the client code where you can place a hook (an
>> excerpt of the class and method)
>> 3. how the hook is written (post requests to your server)
>> 4. whether any extra library you need to make the client works as
>> expected
>>
>> Best regards
>> Hasan
>>
>> On Wed, Aug 11, 2021 at 9:57 AM Yusuf Karadağ <
>> [email protected]> wrote:
>>
>>> Hello,
>>> I'm sending this mail to inform you what has been done in week 8 and
>>> 9.
>>>
>>> *Week 6:*
>>>
>>>- I created corresponding methods in the web service to parse
>>>the graph, serialize the graph into a file and build the graph with 
>>> the
>>>incoming json.
>>>- If the incoming conversation exists, it will overwrite the
>>>conversation and person and will just store the message.
>>>- With the help of Mr. Hasan, we managed to store the messages
>>>in the correct way.
>>>
>>> *Week 7:*
>>>
>>>- I took classes and methods related to Signal and put them into
>>>separate library.
>>>- Mr. Hasan said to remove methods that are not used by the
>>>library. I will do that.
>>>- I will also create another service to make it work with Java 8.
>>>- A Little bit more detailed report is attached to this mail.
>>>

Re: GSoC Weekly Reports

2021-08-22 Thread Yusuf Karadağ
Thank you so much sir.
See you soon.
Best regards.

Yusuf Karadag

On Sun, Aug 22, 2021, 15:02 Hasan  wrote:

> Many thanks Yusuf for the updated report.
>
> Wish you success in your life and work.
> See you sometime.
>
> Hasan
>
> On Sun, Aug 22, 2021 at 1:19 PM Yusuf Karadağ 
> wrote:
>
>> Dear Mr. Hasan,
>> I attached the refactored report to this mail. I created 2 images to show
>> architecture, added them into the report and tried to describe the
>> functionality/logic behind it. I hope that's fine with you.
>>
>> On Sun, Aug 22, 2021 at 8:58 AM Hasan  wrote:
>>
>>> Hi Yusuf
>>>
>>> Thanks for the report.
>>> I have one suggestion for improvements. Add a new chapter after the
>>> ontology.
>>> Chapter 2: Implementation Architecture
>>> - An image containing a high level overview of involved components
>>>   - Signal Messaging System (two or more signal clients and one signal
>>> server)
>>> - Name one of the client Intercepting Signal Client and highlight it
>>>   - Apache Clerezza based Messaging Graph Store Web Service
>>>
>>> - A short description of each component (functional description)
>>>   - One of the clients in Signal Messaging System is named Intercepting
>>> Signal Client,
>>> because it contains some hooks to intercept data flow and interact
>>> with Web Service
>>>   - ...
>>>
>>> - You can add a Message Sequence Diagram of the interaction between the
>>> Intercepting Signal Client
>>>   and the Signal Server, showing the data flow interception and the
>>> place of the hooks for both
>>>   incoming as well as outgoing messages
>>>
>>> Please send us the new version after you make your changes. I hope you
>>> still have time to make changes
>>> before submission.
>>>
>>> Hasan
>>>
>>> On Fri, Aug 20, 2021 at 5:11 PM Yusuf Karadağ <
>>> [email protected]> wrote:
>>>
 Dear mentors,
 I've attached the refactored final version of the report for GSoC to
 this report for your information. Any feedback, suggestion will be
 appreciated. I mentioned the library, 2 web services, 2 pull-requests, the
 ontology, debugging in Android and what needs to be done more(about
 integrating into Signal client), basically everything I have done so far.
 Additionally, i would love to thank you Mr. Hasan for your technical
 support everyday and Mr. Kamaci for all administration stuff. I've seen my
 strengths and weaknesses in this project period. Hopefully I will be a
 better developer and one day a senior developer like you mentoring
 students, juniors. It was a great meeting and working with you. I hope we
 will be in  touch for future improvements and ideas.
 Best regards!


 On Thu, Aug 12, 2021 at 2:45 PM Hasan Hasan 
 wrote:

> Thanks Yusuf for the report.
>
> One important task in this project is to be able to hook into the
> Signal library or client (whatever client you choose). Please provide the
> information in the report as well in this respect. You should especially
> mention
> 1. which client code you are using to place a hook (links to github
> project, etc. where the client code is publicly available)
> 2. the location of the client code where you can place a hook (an
> excerpt of the class and method)
> 3. how the hook is written (post requests to your server)
> 4. whether any extra library you need to make the client works as
> expected
>
> Best regards
> Hasan
>
> On Wed, Aug 11, 2021 at 9:57 AM Yusuf Karadağ <
> [email protected]> wrote:
>
>> Hello,
>> I'm sending this mail to inform you what has been done in week 8 and
>> 9.
>>
>> *Week 6:*
>>
>>- I created corresponding methods in the web service to parse the
>>graph, serialize the graph into a file and build the graph with the
>>incoming json.
>>- If the incoming conversation exists, it will overwrite the
>>conversation and person and will just store the message.
>>- With the help of Mr. Hasan, we managed to store the messages in
>>the correct way.
>>
>> *Week 7:*
>>
>>- I took classes and methods related to Signal and put them into
>>separate library.
>>- Mr. Hasan said to remove methods that are not used by the
>>library. I will do that.
>>- I will also create another service to make it work with Java 8.
>>- A Little bit more detailed report is attached to this mail.
>>
>>
>> Best regards!
>>
>> On Wed, Jul 21, 2021 at 10:15 AM Yusuf Karadağ <
>> [email protected]> wrote:
>>
>>> Hello,
>>> I'm sending this mail to inform you what has been done in week 6 and
>>> 7. I realized that i didn't send the report for week 6, i am sorry.
>>>
>>> *Week 6:*
>>>
>>>- I created a dummy REST service to receive messages from Signal
>>>clients. (1 GET and 1 POST to 

Re: GSoC Weekly Reports

2021-08-22 Thread Hasan
Many thanks Yusuf for the updated report.

Wish you success in your life and work.
See you sometime.

Hasan

On Sun, Aug 22, 2021 at 1:19 PM Yusuf Karadağ 
wrote:

> Dear Mr. Hasan,
> I attached the refactored report to this mail. I created 2 images to show
> architecture, added them into the report and tried to describe the
> functionality/logic behind it. I hope that's fine with you.
>
> On Sun, Aug 22, 2021 at 8:58 AM Hasan  wrote:
>
>> Hi Yusuf
>>
>> Thanks for the report.
>> I have one suggestion for improvements. Add a new chapter after the
>> ontology.
>> Chapter 2: Implementation Architecture
>> - An image containing a high level overview of involved components
>>   - Signal Messaging System (two or more signal clients and one signal
>> server)
>> - Name one of the client Intercepting Signal Client and highlight it
>>   - Apache Clerezza based Messaging Graph Store Web Service
>>
>> - A short description of each component (functional description)
>>   - One of the clients in Signal Messaging System is named Intercepting
>> Signal Client,
>> because it contains some hooks to intercept data flow and interact
>> with Web Service
>>   - ...
>>
>> - You can add a Message Sequence Diagram of the interaction between the
>> Intercepting Signal Client
>>   and the Signal Server, showing the data flow interception and the place
>> of the hooks for both
>>   incoming as well as outgoing messages
>>
>> Please send us the new version after you make your changes. I hope you
>> still have time to make changes
>> before submission.
>>
>> Hasan
>>
>> On Fri, Aug 20, 2021 at 5:11 PM Yusuf Karadağ 
>> wrote:
>>
>>> Dear mentors,
>>> I've attached the refactored final version of the report for GSoC to
>>> this report for your information. Any feedback, suggestion will be
>>> appreciated. I mentioned the library, 2 web services, 2 pull-requests, the
>>> ontology, debugging in Android and what needs to be done more(about
>>> integrating into Signal client), basically everything I have done so far.
>>> Additionally, i would love to thank you Mr. Hasan for your technical
>>> support everyday and Mr. Kamaci for all administration stuff. I've seen my
>>> strengths and weaknesses in this project period. Hopefully I will be a
>>> better developer and one day a senior developer like you mentoring
>>> students, juniors. It was a great meeting and working with you. I hope we
>>> will be in  touch for future improvements and ideas.
>>> Best regards!
>>>
>>>
>>> On Thu, Aug 12, 2021 at 2:45 PM Hasan Hasan 
>>> wrote:
>>>
 Thanks Yusuf for the report.

 One important task in this project is to be able to hook into the
 Signal library or client (whatever client you choose). Please provide the
 information in the report as well in this respect. You should especially
 mention
 1. which client code you are using to place a hook (links to github
 project, etc. where the client code is publicly available)
 2. the location of the client code where you can place a hook (an
 excerpt of the class and method)
 3. how the hook is written (post requests to your server)
 4. whether any extra library you need to make the client works as
 expected

 Best regards
 Hasan

 On Wed, Aug 11, 2021 at 9:57 AM Yusuf Karadağ <
 [email protected]> wrote:

> Hello,
> I'm sending this mail to inform you what has been done in week 8 and 9.
>
> *Week 6:*
>
>- I created corresponding methods in the web service to parse the
>graph, serialize the graph into a file and build the graph with the
>incoming json.
>- If the incoming conversation exists, it will overwrite the
>conversation and person and will just store the message.
>- With the help of Mr. Hasan, we managed to store the messages in
>the correct way.
>
> *Week 7:*
>
>- I took classes and methods related to Signal and put them into
>separate library.
>- Mr. Hasan said to remove methods that are not used by the
>library. I will do that.
>- I will also create another service to make it work with Java 8.
>- A Little bit more detailed report is attached to this mail.
>
>
> Best regards!
>
> On Wed, Jul 21, 2021 at 10:15 AM Yusuf Karadağ <
> [email protected]> wrote:
>
>> Hello,
>> I'm sending this mail to inform you what has been done in week 6 and
>> 7. I realized that i didn't send the report for week 6, i am sorry.
>>
>> *Week 6:*
>>
>>- I created a dummy REST service to receive messages from Signal
>>clients. (1 GET and 1 POST to see if that's actually working. We've 
>> tested
>>with Mr. Hasan it's working) with Quarkus. It's a microservice 
>> framework
>>developed by RedHat.
>>- In the Signal Android app, I assign 2 variables for messageText
>>and timestamp. 

Re: GSoC Weekly Reports

2021-08-21 Thread Hasan
Hi Yusuf

Thanks for the report.
I have one suggestion for improvements. Add a new chapter after the
ontology.
Chapter 2: Implementation Architecture
- An image containing a high level overview of involved components
  - Signal Messaging System (two or more signal clients and one signal
server)
- Name one of the client Intercepting Signal Client and highlight it
  - Apache Clerezza based Messaging Graph Store Web Service

- A short description of each component (functional description)
  - One of the clients in Signal Messaging System is named Intercepting
Signal Client,
because it contains some hooks to intercept data flow and interact with
Web Service
  - ...

- You can add a Message Sequence Diagram of the interaction between the
Intercepting Signal Client
  and the Signal Server, showing the data flow interception and the place
of the hooks for both
  incoming as well as outgoing messages

Please send us the new version after you make your changes. I hope you
still have time to make changes
before submission.

Hasan

On Fri, Aug 20, 2021 at 5:11 PM Yusuf Karadağ 
wrote:

> Dear mentors,
> I've attached the refactored final version of the report for GSoC to this
> report for your information. Any feedback, suggestion will be appreciated.
> I mentioned the library, 2 web services, 2 pull-requests, the ontology,
> debugging in Android and what needs to be done more(about integrating into
> Signal client), basically everything I have done so far. Additionally, i
> would love to thank you Mr. Hasan for your technical support everyday and
> Mr. Kamaci for all administration stuff. I've seen my strengths and
> weaknesses in this project period. Hopefully I will be a better developer
> and one day a senior developer like you mentoring students, juniors. It was
> a great meeting and working with you. I hope we will be in  touch for
> future improvements and ideas.
> Best regards!
>
>
> On Thu, Aug 12, 2021 at 2:45 PM Hasan Hasan  wrote:
>
>> Thanks Yusuf for the report.
>>
>> One important task in this project is to be able to hook into the Signal
>> library or client (whatever client you choose). Please provide the
>> information in the report as well in this respect. You should especially
>> mention
>> 1. which client code you are using to place a hook (links to github
>> project, etc. where the client code is publicly available)
>> 2. the location of the client code where you can place a hook (an excerpt
>> of the class and method)
>> 3. how the hook is written (post requests to your server)
>> 4. whether any extra library you need to make the client works as expected
>>
>> Best regards
>> Hasan
>>
>> On Wed, Aug 11, 2021 at 9:57 AM Yusuf Karadağ 
>> wrote:
>>
>>> Hello,
>>> I'm sending this mail to inform you what has been done in week 8 and 9.
>>>
>>> *Week 6:*
>>>
>>>- I created corresponding methods in the web service to parse the
>>>graph, serialize the graph into a file and build the graph with the
>>>incoming json.
>>>- If the incoming conversation exists, it will overwrite the
>>>conversation and person and will just store the message.
>>>- With the help of Mr. Hasan, we managed to store the messages in
>>>the correct way.
>>>
>>> *Week 7:*
>>>
>>>- I took classes and methods related to Signal and put them into
>>>separate library.
>>>- Mr. Hasan said to remove methods that are not used by the library.
>>>I will do that.
>>>- I will also create another service to make it work with Java 8.
>>>- A Little bit more detailed report is attached to this mail.
>>>
>>>
>>> Best regards!
>>>
>>> On Wed, Jul 21, 2021 at 10:15 AM Yusuf Karadağ <
>>> [email protected]> wrote:
>>>
 Hello,
 I'm sending this mail to inform you what has been done in week 6 and 7.
 I realized that i didn't send the report for week 6, i am sorry.

 *Week 6:*

- I created a dummy REST service to receive messages from Signal
clients. (1 GET and 1 POST to see if that's actually working. We've 
 tested
with Mr. Hasan it's working) with Quarkus. It's a microservice framework
developed by RedHat.
- In the Signal Android app, I assign 2 variables for messageText
and timestamp. And if the message is not empty, send it to the server. 
 Then
I created a method to send data to the server with Java Http library.

 *Week 7:*

- This week we couldn't meet with Mr. Hasan. I assume he was busy.
- I've changed the input type coming from the client. It was 
 *Map>>>String> *before and I've changed it to *ObjectNode*. It's basically
a representation of a JSON object in
 *Jackson Databind library. *
- Then in the service, I deserialized it to an ObjectNode as well.
I got the message and timestamp and stored it in a graph as in Example 
 1.


 Best regards!

 On Thu, Jul 8, 2021 at 8:38 AM Hasan  wrote:

> 

Re: GSoC Weekly Reports

2021-08-20 Thread Yusuf Karadağ
Dear mentors,
I've attached the refactored final version of the report for GSoC to this
report for your information. Any feedback, suggestion will be appreciated.
I mentioned the library, 2 web services, 2 pull-requests, the ontology,
debugging in Android and what needs to be done more(about integrating into
Signal client), basically everything I have done so far. Additionally, i
would love to thank you Mr. Hasan for your technical support everyday and
Mr. Kamaci for all administration stuff. I've seen my strengths and
weaknesses in this project period. Hopefully I will be a better developer
and one day a senior developer like you mentoring students, juniors. It was
a great meeting and working with you. I hope we will be in  touch for
future improvements and ideas.
Best regards!


On Thu, Aug 12, 2021 at 2:45 PM Hasan Hasan  wrote:

> Thanks Yusuf for the report.
>
> One important task in this project is to be able to hook into the Signal
> library or client (whatever client you choose). Please provide the
> information in the report as well in this respect. You should especially
> mention
> 1. which client code you are using to place a hook (links to github
> project, etc. where the client code is publicly available)
> 2. the location of the client code where you can place a hook (an excerpt
> of the class and method)
> 3. how the hook is written (post requests to your server)
> 4. whether any extra library you need to make the client works as expected
>
> Best regards
> Hasan
>
> On Wed, Aug 11, 2021 at 9:57 AM Yusuf Karadağ 
> wrote:
>
>> Hello,
>> I'm sending this mail to inform you what has been done in week 8 and 9.
>>
>> *Week 6:*
>>
>>- I created corresponding methods in the web service to parse the
>>graph, serialize the graph into a file and build the graph with the
>>incoming json.
>>- If the incoming conversation exists, it will overwrite the
>>conversation and person and will just store the message.
>>- With the help of Mr. Hasan, we managed to store the messages in the
>>correct way.
>>
>> *Week 7:*
>>
>>- I took classes and methods related to Signal and put them into
>>separate library.
>>- Mr. Hasan said to remove methods that are not used by the library.
>>I will do that.
>>- I will also create another service to make it work with Java 8.
>>- A Little bit more detailed report is attached to this mail.
>>
>>
>> Best regards!
>>
>> On Wed, Jul 21, 2021 at 10:15 AM Yusuf Karadağ <
>> [email protected]> wrote:
>>
>>> Hello,
>>> I'm sending this mail to inform you what has been done in week 6 and 7.
>>> I realized that i didn't send the report for week 6, i am sorry.
>>>
>>> *Week 6:*
>>>
>>>- I created a dummy REST service to receive messages from Signal
>>>clients. (1 GET and 1 POST to see if that's actually working. We've 
>>> tested
>>>with Mr. Hasan it's working) with Quarkus. It's a microservice framework
>>>developed by RedHat.
>>>- In the Signal Android app, I assign 2 variables for messageText
>>>and timestamp. And if the message is not empty, send it to the server. 
>>> Then
>>>I created a method to send data to the server with Java Http library.
>>>
>>> *Week 7:*
>>>
>>>- This week we couldn't meet with Mr. Hasan. I assume he was busy.
>>>- I've changed the input type coming from the client. It was *Map>>String> *before and I've changed it to *ObjectNode*. It's basically
>>>a representation of a JSON object in
>>> *Jackson Databind library. *
>>>- Then in the service, I deserialized it to an ObjectNode as well. I
>>>got the message and timestamp and stored it in a graph as in Example 1.
>>>
>>>
>>> Best regards!
>>>
>>> On Thu, Jul 8, 2021 at 8:38 AM Hasan  wrote:
>>>
 Thanks a lot!

 Best regards
 Hasan

 On Wed, Jul 7, 2021 at 7:48 PM Yusuf Karadağ <
 [email protected]> wrote:

> Hello,
> I'm sending this mail to inform you what has been done in week 5.
>
> *Week 5:*
>
>- Mr. Hasan merged my *pull-request*
> into
>the CLEREZZA-1068-schemagen
>
>branch. He will do a final review and refactoring and then hopefully 
> will
>merge to the master.
>- Last week I tested my ontology and tried to generate the class
>with the *schemagen plugin.* It generated the class successfully.
>- I found out which function Signal Messenger is encrypting and
>decrypting the message in android. If you put a breakpoint to line 
> 113, you
>can see the message content before encrypting by typing to the 
> evaluator in
>Android Studio:* ((EnvelopeContent.Encrypted)
>content).content.getDataMessage().getBody(). *And if we put
>another breakpoint to the line 156 by typing to the evaluator: