Commit Graph

297 Commits

Author SHA1 Message Date
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
6d1c5c3d2c Improved noticationToDB 2018-02-20 14:25:28 +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
4d28019ef0 Fixed error 2018-02-18 18:33:15 +01:00
Pierre
82c375103b Improved a few things. 2018-02-18 15:48:14 +01:00
Pierre
04f815792c Added new check methods. 2018-02-18 15:47:59 +01:00
Pierre
bf6d15652f Create notification on post creation. 2018-02-18 15:47:25 +01:00
Pierre
87a19b02f9 Can delete a notification. 2018-02-18 15:34:53 +01:00
Pierre
19516e3a5e Improved notification system 2018-02-18 15:21:17 +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
b9cb4e50fc Created splitConditionsArray 2018-02-17 19:25:21 +01:00
Pierre
b502f68bc5 Created notification object. 2018-02-17 11:25:24 +01:00
Pierre
4bb1a2426e Work progress on notification object. 2018-02-07 18:31:56 +01:00
Pierre
4ab605201d Created notification model. 2018-02-04 16:48:43 +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
375a4c6c82 Created friend model 2018-02-03 15:17:25 +01:00
Pierre
e09b280e20 Improved casting. 2018-02-03 15:02:43 +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
9cb070a24c Created comments delete functions. 2018-01-25 06:54:53 +01:00
Pierre
37b3893849 Can check if a user is the owner of a comment or not. 2018-01-24 06:58:06 +01:00
Pierre
249c85c1db Created getPostCommentIDWithAccess 2018-01-24 06:53:58 +01:00
Pierre
b8bf77370f Get the ID of a post associated to a comment. Locked delete_all function 2018-01-24 06:51:47 +01:00
Pierre
2c4e84a7db Check if a commen exists 2018-01-24 06:39:37 +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
5174e0b1ae Made get_single post method public 2018-01-16 06:59:24 +01:00
Pierre
bdea05d9c0 Posts content can be updated 2018-01-16 06:39:52 +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
b5bb1e32fd Created a function to quickly check if user is allowed to see a post. 2018-01-15 19:14:17 +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