Commit Graph

338 Commits

Author SHA1 Message Date
Pierre
dd191a6463 Get the list of unread conversations. 2018-02-23 11:32:17 +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
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
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
ddd0421592 Comment content can be updated. 2018-01-27 18:19:30 +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
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
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
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
a67c62fd95 Can delete all the likes of an element. 2018-01-12 06:59:36 +01:00
Pierre
a37eb0f621 Can update visibility level 2018-01-10 20:12:01 +01:00
Pierre
6378dc95ee Cache friendship informations 2018-01-09 06:57:01 +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
52ab3aa206 Defined constants for post types 2018-01-07 16:41:24 +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
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
27a9d69370 Fixed user visiblity check issue 2018-01-04 18:59:29 +01:00
Pierre
7f6ac13d7d Get post access level 2018-01-04 13:59:48 +01:00
Pierre
96b4f6b99e Get informations about survey 2018-01-04 10:29:07 +01:00
Pierre
f1cbb8dc8a Return time instead of day / month / year for countdown timer 2018-01-03 12:34:38 +01:00
Pierre
9be24430b2 Get informations about movies 2018-01-03 09:53:10 +01:00
Pierre
746d08c29f API now requires tokens 2018-01-02 17:43:00 +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
b640739fd4 Get informations about likes in posts 2017-12-31 17:42:53 +01:00
Pierre
c10ee2a4f0 Get user likes in comments 2017-12-31 17:40:49 +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
a0373ccdb6 Improved conversations ID security check 2017-12-29 18:03:41 +01:00
Pierre
50c2848a1b Added functions casting 2017-12-29 18:01:53 +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
fda0b10a7c Get the comments associated to a post 2017-12-25 09:58:30 +01:00
Pierre
263d1ee8e2 Added function casting 2017-12-25 09:11:57 +01:00
Pierre
e948162dca Fetch more informations about posts 2017-12-25 08:56:51 +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
c40b04aab7 Transform account creation date into account creation time 2017-12-23 18:33:16 +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
ffff5e6c85 Reduced number of public informations 2017-12-23 17:51:53 +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
558f7dc59f Implemented new functionality for account image 2017-12-20 18:29:42 +01:00
Pierre
6124f602f2 Made a sensitive method private 2017-12-20 18:29:15 +01:00
Pierre
828050e471 Fixed little permission issue... 2017-12-19 19:38:05 +01:00
Pierre
1cd8adf247 Fixed issue 2017-12-16 17:55:42 +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
c3e4c79d04 Can check if two users are friend or not 2017-12-16 15:28:57 +01:00
Pierre
56611e64c2 Get user visibility level 2017-12-16 15:09:14 +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
900c7c7e5e Fixed error in login process of the API 2017-10-31 14:25:33 +01:00
Pierre
dee769d5a4 Fixed bug on domain detection 2017-10-31 09:28:12 +01: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
612050a1bc Accept conversation messages with images 2017-06-24 14:30:16 +02:00
Pierre
898cbc2e41 Text message can be sent 2017-06-24 10:05: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
faa59b4fc7 Can search private conversation 2017-06-19 14:26:30 +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
93d5ec8044 'conversations_members' to 'members' 2017-06-13 11:35:30 +02:00
Pierre
b4de521174 Conversation members are returned with conversations list 2017-06-13 11:11:17 +02:00
Pierre
4bbe967e2e Enforced API security 2017-06-13 11:01:36 +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
6498132ef2 Added a getLastInsertedID method 2017-06-10 14:49:51 +02:00
Pierre
1d70e373f3 Progress on create a conversation way 2017-06-10 10:07:03 +02:00
Pierre
2840a1401c Updated tables name 2017-06-07 14:53:58 +02:00
Pierre
b3b67a53e6 Can respond friendship requests 2017-06-04 16:36:12 +02:00
Pierre
c219dc94e3 Friends are not "active", they are "accepted" 2017-06-04 15:26:53 +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
db4c939864 Reversed user list order 2017-06-03 13:42: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
f3f3713b34 Created search user method 2017-05-27 10:52:12 +02:00
Pierre
5e03191c3d Updated DB library 2017-05-27 09:41:52 +02:00
Pierre
238d1a2637 Created account image class 2017-05-26 10:23:55 +02:00
Pierre
78e72542d8 Updated helpers 2017-05-26 09:50:20 +02:00
Pierre
7a393b1644 Created components class & default userID 2017-05-26 09:36:20 +02:00
Pierre
e87ef113bb Added temporary replacing avatar 2017-05-25 15:24:41 +02:00
Pierre
83b0982068 Created helpers directory 2017-05-25 15:16:34 +02:00
Pierre
e000e59374 Fix error in getUserInfos method 2017-05-25 15:12:00 +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
2fb7d0d43d Connexion to database 2017-05-17 14:01:36 +02:00
Pierre
09eaa2171c Added root object 2017-05-17 13:51:22 +02:00