Commit Graph

222 Commits

Author SHA1 Message Date
Pierre
b313d7a55c Fix issue 2018-04-11 16:02:36 +02:00
Pierre
32ad923e94 Can create accounts. 2018-04-11 11:29:25 +02:00
Pierre
43ba96ac5e Created account controller 2018-04-11 10:48:20 +02:00
Pierre
ea5257c478 Created account component 2018-04-11 10:45:22 +02:00
Pierre
5d47e64f92 Update friends post texts authorization status. 2018-03-11 16:40:41 +01:00
Pierre
6cc90d281f Can get informations about a specific user 2018-03-11 10:57:01 +01:00
Pierre
cd81cfd8ba Fix issue in public friends list 2018-03-11 09:58:49 +01:00
Pierre
8661e932a0 Get the list of friends of a user. 2018-03-05 19:24:42 +01:00
Pierre
4bf4218b1d Optimized get friends list function 2018-03-05 19:04:21 +01:00
Pierre
ef7d786e9e Sent notifications for friendship requests 2018-03-03 14:28:29 +01:00
Pierre
dd191a6463 Get the list of unread conversations. 2018-02-23 11:32:17 +01:00
Pierre
3d874b550b Can get the number of unread notifications and conversations in a single API request 2018-02-21 16:18:32 +01:00
Pierre
2f37d37a54 Can get the number of unread conversations of a user 2018-02-21 16:13:15 +01:00
Pierre
3a3c6d9787 Can delete all the notifications of a user 2018-02-20 15:06:04 +01:00
Pierre
6d96091c3f Added a method to delete notifications. 2018-02-20 14:40:42 +01:00
Pierre
ecbccd1b9d Get the list of unread notifications of the user 2018-02-19 14:41:44 +01:00
Pierre
b9406731a4 Can get the number of unread notifications 2018-02-18 18:57:19 +01:00
Pierre
abecb78111 Delete notifications about post in different cases. 2018-02-18 18:47:59 +01:00
Pierre
39458fd592 Created notification helper 2018-02-18 18:43:58 +01:00
Pierre
4fb024f68a New notifications interaction. 2018-02-18 18:40:16 +01:00
Pierre
c31c9488db Notifications deleted on posts deletion. 2018-02-18 18:33:26 +01:00
Pierre
bf6d15652f Create notification on post creation. 2018-02-18 15:47:25 +01:00
Pierre
3954a0b64c First notification 2018-02-18 14:40:54 +01:00
Pierre
1194bb4b71 Work progress on notifications. 2018-02-17 19:25:33 +01:00
Pierre
b6466c68e4 Get the list of latest posts of a user 2018-02-03 15:40:55 +01:00
Pierre
9bc436b2a2 Use friend model. 2018-02-03 15:25:58 +01:00
Pierre
8611d3fa1e Can create comments. 2018-01-31 06:47:25 +01:00
Pierre
6f792886e4 Create save_post_image function. 2018-01-31 06:29:04 +01:00
Pierre
b1dd002942 Implemented comments like update status. 2018-01-27 18:56:06 +01:00
Pierre
bb0dc94d96 Can get informations about a single comment. 2018-01-27 18:39:08 +01:00
Pierre
ddd0421592 Comment content can be updated. 2018-01-27 18:19:30 +01:00
Pierre
00c61345d8 Created comments controller 2018-01-25 06:55:18 +01:00
Pierre
c19ab3d587 Response to a survey can be saved. 2018-01-18 06:42:24 +01:00
Pierre
5637be6d61 Users can cancel responses to a survey. 2018-01-16 19:23:54 +01:00
Pierre
e4861d562d Fixed issue 2018-01-16 18:48:12 +01:00
Pierre
72d9ef4dfa Added security check for comments. 2018-01-16 18:36:41 +01:00
Pierre
ce593b5a5c Can get informations about a single post 2018-01-16 07:00:13 +01:00
Pierre
de69f4861f Created a REST method to update POST content. 2018-01-15 19:18:05 +01:00
Pierre
e1724ea49d Reduced code length. 2018-01-15 19:14:34 +01:00
Pierre
cd4c9114dd Created a function to check post content 2018-01-14 19:29:45 +01:00
Pierre
29b989952d Created a new function to get post ID with full access. 2018-01-14 19:23:10 +01:00
Pierre
336fa60314 Created delete method on the API. 2018-01-12 07:00:08 +01:00
Pierre
a37eb0f621 Can update visibility level 2018-01-10 20:12:01 +01:00
Pierre
b7052d11f8 Created an helper to get visibility level 2018-01-10 19:26:10 +01:00
Pierre
4338d7043d New version of visibility detection in createPost method 2018-01-10 07:03:21 +01:00
Pierre
9e82720491 Updated visibility levels 2018-01-10 06:59:28 +01:00
Pierre
eeb52f669c Get level access to posts 2018-01-09 06:49:13 +01:00
Pierre
a10c89cd5d Splited access_level function in two 2018-01-09 06:44:34 +01:00
Pierre
824c78d7d5 Ready to create posts 2018-01-07 18:05:05 +01:00
Pierre
5a4918db39 Created User->canCreatePosts method 2018-01-06 18:26:02 +01:00
Pierre
0363f3188f Can get the list of movies of the user 2018-01-05 15:12:42 +01:00
Pierre
814d840e38 Moved the can_posts_text value 2018-01-04 17:51:21 +01:00
Pierre
debbdbc7ca Enabled likes on posts 2018-01-04 17:42:40 +01:00
Pierre
96b4f6b99e Get informations about survey 2018-01-04 10:29:07 +01:00
Pierre
cbfc390c1a Check query lenght 2018-01-01 18:40:26 +01:00
Pierre
c5f26e661f Made search more clear 2018-01-01 15:43:37 +01:00
Pierre
c058baf394 Moved visibility level detection 2017-12-31 17:48:26 +01:00
Pierre
0c64b153c9 Update read status in refresh_single 2017-12-31 14:08:27 +01:00
Pierre
e95f6cfb98 A user can delete his membership from a conversation 2017-12-31 13:49:10 +01:00
Pierre
9044501f8b Can delete completely a conversation 2017-12-31 12:56:08 +01:00
Pierre
3e7b31d7e1 Added space in error message 2017-12-29 10:23:59 +01:00
Pierre
41f6e94c19 Can update user page like status 2017-12-29 09:49:44 +01:00
Pierre
73cb430db5 Fetch informations about pages like 2017-12-29 08:14:38 +01:00
Pierre
22d2ea2c1c Fixed typo 2017-12-25 13:03:50 +01:00
Pierre
fda0b10a7c Get the comments associated to a post 2017-12-25 09:58:30 +01:00
Pierre
d3cdad6572 Better security check in userController 2017-12-25 09:21:54 +01:00
Pierre
4f605ea4dd Improved conversation controller security checks 2017-12-25 09:20:22 +01:00
Pierre
b4edf378b3 Improved security check for friendID 2017-12-25 09:17:38 +01:00
Pierre
85bf596e54 First post request 2017-12-24 17:45:05 +01:00
Pierre
bdf47b9c26 Improved security of "sendRequest" method 2017-12-24 16:48:08 +01:00
Pierre
e8b448ea86 Created post class and controller 2017-12-24 16:35:50 +01:00
Pierre
7e0807780a Fixed error provoked by previous commit 2017-12-23 18:21:48 +01:00
Pierre
a2b92b4e6c Can get the number of friends of a user 2017-12-23 18:03:05 +01:00
Pierre
ffb8428c10 Update following status 2017-12-23 15:25:18 +01:00
Pierre
9fb9b30b1f Can remove a previously sent frienship request. 2017-12-23 09:03:00 +01:00
Pierre
235428982d Can create a frienship request 2017-12-21 19:24:25 +01:00
Pierre
d5eda3c1d4 Check wether user can post text on his friend page 2017-12-21 18:55:20 +01:00
Pierre
35d4ab94ac Get following status 2017-12-21 18:49:50 +01:00
Pierre
583ef8fc2d Can get friendship status 2017-12-20 18:53:00 +01:00
Pierre
88e9a6fa58 Check if user exists before the query 2017-12-17 12:30:05 +01:00
Pierre
9beca55ad1 Can get advanced informations about a user. 2017-12-16 16:26:42 +01:00
Pierre
1a0a812519 Can check if a user is allowed to access other user informations 2017-12-16 15:30:04 +01:00
Pierre
3960cbde6c Can get the messages of a single conversation 2017-12-16 14:02:39 +01:00
Pierre
d8de0866ae Can find user ID with its folder name 2017-12-10 11:38:23 +01:00
Pierre
2a9f0ed1a0 Created remove a friend method 2017-12-04 20:18:30 +01:00
Pierre
310136c3b6 User last activity upadted when the friends list is fetched 2017-11-19 13:27:00 +01:00
Pierre
900c7c7e5e Fixed error in login process of the API 2017-10-31 14:25:33 +01:00
Pierre
8651b87244 Divided important users informations requests 2017-07-01 10:49:07 +02:00
Pierre
a82b65f18d Users are marked as "read" when their browser download last messages 2017-06-26 10:38:58 +02:00
Pierre
46985a77f9 Conversations can be refreshed 2017-06-26 10:27:38 +02:00
Pierre
df1808c6c3 Improved conversation get methods 2017-06-25 19:11:00 +02:00
Pierre
eed7db90cf Return recently opened conversations messages 2017-06-25 18:09:18 +02:00
Pierre
2872a84457 Added success post message 2017-06-24 14:32:01 +02:00
Pierre
612050a1bc Accept conversation messages with images 2017-06-24 14:30:16 +02:00
Pierre
03392f65a9 Ready to implement sendMessage method 2017-06-23 19:00:40 +02:00
Pierre
be91602277 getPrivateConversation fully operationnal 2017-06-19 14:53:30 +02:00
Pierre
943f03ee98 Updated error codes 2017-06-19 10:36:39 +02:00
Pierre
d9eeddb131 Update conversation members operationnal 2017-06-18 16:18:09 +02:00
Pierre
219e26b4c0 Conversation name can be updated 2017-06-18 10:41:43 +02:00
Pierre
952779f527 Follow state of a conversation can be updated 2017-06-18 10:07:52 +02:00
Pierre
b1e340e0c1 Can get informations of a specific conversation 2017-06-16 19:08:58 +02:00
Pierre
3729b56ff4 Created get conversations list method 2017-06-11 15:09:54 +02:00
Pierre
bba8de04a0 Conversations can be created 2017-06-10 15:04:45 +02:00
Pierre
1d70e373f3 Progress on create a conversation way 2017-06-10 10:07:03 +02:00
Pierre
475ebcf9e3 Fix security issue 2017-06-10 09:42:53 +02:00
Pierre
7c9224d82e Added a way to access search method 2017-06-05 14:22:54 +02:00
Pierre
b3b67a53e6 Can respond friendship requests 2017-06-04 16:36:12 +02:00
Pierre
61942e34c4 User last login logged 2017-06-03 14:53:47 +02:00
Pierre
97d7825426 Transformed user class as components class 2017-06-03 14:24:45 +02:00
Pierre
b0177e9c6f Created getList friend method 2017-05-31 16:49:25 +02:00
Pierre
3ad05483f5 Created friends class 2017-05-28 14:09:20 +02:00
Pierre
bc8b3dc0a2 Get multiple users infos 2017-05-27 15:11:17 +02:00
Pierre
0694456217 Created getinfosMultiple users method 2017-05-27 14:09:05 +02:00
Pierre
0b01b666fd Search results are correctly shown 2017-05-27 12:12:21 +02:00
Pierre
45ae8b51f1 Fixed error in searchController 2017-05-27 11:22:55 +02:00
Pierre
5e03191c3d Updated DB library 2017-05-27 09:41:52 +02:00
Pierre
6c35764f48 Created search controller 2017-05-27 09:30:54 +02:00
Pierre
4c9fd50e5e Fixed logout user method 2017-05-24 18:41:24 +02:00
Pierre
6819628b3e Changed user login strategy 2017-05-19 18:07:52 +02:00
Pierre
033da4e0e3 Handles user login and logout 2017-05-17 14:43:12 +02:00
Pierre
3b0272a196 Implemented RestServer controller 2017-05-17 14:05:23 +02:00
Pierre
9e0b7eb5a1 Initial commit 2017-05-17 13:48:24 +02:00