Commit Graph

383 Commits

Author SHA1 Message Date
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
Pierre
57cff401ad Can delete post 2018-01-13 19:38:38 +01:00
Pierre
d24a5bbfff Can delete survey 2018-01-13 19:38:28 +01:00
Pierre
d6f2e9bac7 Delete all the comments of a post 2018-01-13 19:07:15 +01:00
Pierre
336fa60314 Created delete method on the API. 2018-01-12 07:00:08 +01:00
Pierre
a67c62fd95 Can delete all the likes of an element. 2018-01-12 06:59:36 +01:00
Pierre
773280973b Created components helper 2018-01-12 06:57:46 +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
6378dc95ee Cache friendship informations 2018-01-09 06:57:01 +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
f4620717c2 Can create survey 2018-01-07 19:06:01 +01:00