Commit Graph

422 Commits

Author SHA1 Message Date
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
Pierre
d3fa9f5127 Can create all posts type except surveys 2018-01-07 18:51:00 +01:00
Pierre
8085765369 Documented create post function 2018-01-07 18:11:41 +01:00
Pierre
824c78d7d5 Ready to create posts 2018-01-07 18:05:05 +01:00
Pierre
4c4d7b854e Added a function to check the security of HTML source 2018-01-07 17:53:39 +01:00
Pierre
c83fd453a0 Get securely a timestamp sent in a POST request 2018-01-07 17:15:26 +01:00
Pierre
52ab3aa206 Defined constants for post types 2018-01-07 16:41:24 +01:00
Pierre
d909b2a29e Created a function to check posted URLs 2018-01-07 16:40:10 +01:00
Pierre
cc909ebf7a Added URL analyzer library 2018-01-07 16:23:41 +01:00
Pierre
f7cd4ca179 Fixed issue 2018-01-07 14:42:34 +01:00
Pierre
ad25e93557 Can get the ID of the owner of a movie. 2018-01-06 19:09:07 +01:00
Pierre
5a75165082 Get a post movie ID securely 2018-01-06 19:03:26 +01:00