1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-28 14:38:52 +00:00
Commit Graph

575 Commits

Author SHA1 Message Date
b858eac3c4 Add post with PDF support 2020-07-03 10:27:09 +02:00
689cf07ee4 Add post with weblink support 2020-07-03 10:18:26 +02:00
a359b6656f Add post with images support 2020-07-03 10:06:24 +02:00
2dde756d5d Complete information 2020-07-02 19:05:05 +02:00
4ab5b9d3e3 Start to implement post logic 2020-07-02 18:19:04 +02:00
d195979c18 Update can_post_texts parameter 2020-06-30 14:54:45 +02:00
b15ffe0856 Can update following status 2020-06-30 14:48:39 +02:00
f540716b86 Can remove a friendship 2020-06-30 14:27:31 +02:00
e59541720d Can respond to a friendship request 2020-06-30 14:05:36 +02:00
13f86fd8c1 Can remove a friendship request 2020-06-30 10:24:18 +02:00
baf568142d Can send friendship request 2020-06-30 10:06:53 +02:00
91d12bb061 Can get the status of a friendship 2020-06-30 09:50:31 +02:00
31ed53aacf Can get information about a single friendship 2020-06-30 08:14:58 +02:00
9a3b565f00 Can get the list of friends of another user 2020-06-30 07:49:23 +02:00
8c424bcec4 Update last activity of the user 2020-06-29 15:53:39 +02:00
3af2a6f58d Can get the list of friends 2020-06-29 15:45:26 +02:00
bef9dfffbc Add route 2020-06-29 09:10:57 +02:00
330b18a365 Can update group following status 2020-06-29 09:03:32 +02:00
7add678815 Fix error 2020-06-29 08:57:41 +02:00
f219b0f4fa A user can remove its group's membership 2020-06-29 08:55:36 +02:00
5906c53484 Can cancel a group membership invitation 2020-06-29 08:46:57 +02:00
7ef9f8dfc1 Can get a single user membership 2020-06-29 08:39:21 +02:00
2d796d11bd Can respond to a group membership request 2020-06-29 08:31:07 +02:00
786ac364bd Can change group membership 2020-06-29 08:17:51 +02:00
703177a587 Ready to implement new route 2020-06-27 18:36:53 +02:00
926892a29b Can delete group members 2020-06-27 18:28:38 +02:00
c28196f80e Ready to implement new route 2020-06-27 18:06:13 +02:00
8b0095942c Can cancel a group membership request 2020-06-27 14:50:14 +02:00
205541f6d8 Can request to join a group 2020-06-27 14:37:49 +02:00
135c3d6459 Can respond to an invitation 2020-06-27 13:19:56 +02:00
e7a13f7181 Can send an invitation 2020-06-27 12:56:03 +02:00
1d4e3dba5a Ready to implement new route 2020-06-27 07:29:23 +02:00
d7608ec974 Can get the list of members of a group 2020-06-27 07:23:38 +02:00
ef532f5900 Ready to implement new route 2020-06-26 11:00:12 +02:00
7cc4b94b55 Can change group's logo 2020-06-26 10:53:05 +02:00
7e53ced64d Fix issue 2020-06-26 10:41:14 +02:00
539765d01c Can delete a group's logo 2020-06-26 10:35:54 +02:00
8d6dc6365c Ready to implement new route 2020-06-26 09:55:53 +02:00
3a09223164 Can check the availability of a virtual directory 2020-06-26 09:52:19 +02:00
3f3388cb9a Save new group settings in the database 2020-06-26 09:27:32 +02:00
4f2216d835 Fix logic bug 2020-06-26 09:06:48 +02:00
dad2363c92 Collect new group settings 2020-06-26 08:58:00 +02:00
c2bac9401a Can check the validity of an URL 2020-06-25 18:19:09 +02:00
bd3818360b Ready to implement new method 2020-06-25 17:55:46 +02:00
fb99586afc Implement get group settings method 2020-06-25 17:52:52 +02:00
c402405d9b Ready to implement new method 2020-06-25 13:45:21 +02:00
e82f2f7c59 Can get advanced information about a group 2020-06-25 13:39:37 +02:00
63c792d497 Complete previous commit 2020-06-25 10:21:27 +02:00
96f3217db4 Upgrade UserID to a structure 2020-06-25 10:08:34 +02:00
444cad6e09 Can get information about multiple groups 2020-06-25 09:26:58 +02:00
aacf87cf40 Fix issue 2020-06-25 08:22:26 +02:00
b1a15da6fa Return group information to API 2020-06-25 08:16:20 +02:00
fd449dee11 Fix typo 2020-06-24 18:26:20 +02:00
dc58357b2e Get information about groups 2020-06-24 18:23:44 +02:00
ed498a73d6 Determine whether a user can access a group information or not 2020-06-24 17:57:13 +02:00
b89a319cfb Determine access level of a user over a group 2020-06-24 14:08:46 +02:00
4d844ccbad Get the ID of a group included in a request 2020-06-24 13:34:09 +02:00
c245045d67 Get the list of groups of a user 2020-06-24 09:21:24 +02:00
5a14aaee31 Create new groups 2020-06-24 09:08:31 +02:00
d38e2ee4ab Ready to create new groups 2020-06-23 19:04:32 +02:00
04a0cd23dc Upgrade method 2020-06-23 19:01:07 +02:00
2cf2146f17 Can make global search 2020-06-23 18:55:23 +02:00
c4eec8150c Ready to implement global search 2020-06-23 15:14:17 +02:00
6fd5d01550 Can search users 2020-06-23 15:06:26 +02:00
abf9a7fa82 Can delete a single conversation message 2020-06-23 14:09:52 +02:00
a5c83cc1b4 Can update conversation message content 2020-06-23 14:02:16 +02:00
21e68d2c9e Can delete permanently a conversation 2020-06-23 08:03:30 +02:00
0899d7c372 Can remove a member from a conversation 2020-06-23 07:44:42 +02:00
08811926be Ready to delete conversations 2020-06-22 19:02:34 +02:00
93a52d083f Get the list of unread conversations 2020-06-22 18:55:24 +02:00
744111f416 Ready to implement new route 2020-06-22 14:41:14 +02:00
4815de8925 Fix mistake 2020-06-22 14:33:14 +02:00
b9a8dce1a5 Count the number of unread conversations of a user 2020-06-22 14:32:14 +02:00
f8934d4e0a Can get older conversation messages 2020-06-22 14:16:52 +02:00
dc323936d6 Fix potential source of issues 2020-06-22 12:21:38 +02:00
0a21531cb4 Can send new messages 2020-06-22 12:19:13 +02:00
e915e4b7d0 Fix image rotation 2020-06-22 10:35:39 +02:00
83492f6c8d Resize image only if required 2020-06-22 09:11:56 +02:00
ac469f86e8 Load, resize & save post image 2020-06-22 09:08:13 +02:00
1da7a30419 Generate full destination path 2020-06-22 08:45:49 +02:00
e547219824 Generate new file name 2020-06-22 08:42:51 +02:00
368a512722 Create destination folder 2020-06-22 08:24:12 +02:00
23da151635 Ready to resize & save images 2020-06-20 15:22:41 +02:00
a02dc8b7fa Can check if a file is present in the request 2020-06-20 14:06:59 +02:00
ca82924b85 Ready to implement messages sending 2020-06-20 11:55:39 +02:00
25a368fd98 Handle multipart requests 2020-06-20 11:37:29 +02:00
bab1fe8272 Apply stream read limit 2020-06-20 10:47:06 +02:00
32b6c95e9f Start to wrap incoming stream 2020-06-20 10:31:58 +02:00
c551c2d764 Can get the messages of a single conversation 2020-06-20 07:54:30 +02:00
0254b6b614 Ready to implement new route 2020-06-20 07:42:18 +02:00
ba2e89d0be Can refresh active conversations 2020-06-18 18:16:46 +02:00
bfeea42828 Mark the conversation as seen 2020-06-18 14:33:43 +02:00
e7de23e995 Can open new conversations 2020-06-18 14:15:17 +02:00
479caa3945 Ready to implement 2020-06-18 09:55:02 +02:00
e71b5bcc83 Auto-create conversation 2020-06-18 09:44:34 +02:00
633974a401 Return the list of available private conversations 2020-06-18 09:40:18 +02:00
ab10bc2d36 Get the list of private conversations between two users 2020-06-18 09:26:25 +02:00
2f571787a3 Ready to implement the method to find a private conversation 2020-06-18 09:06:59 +02:00
174ed6244c Can change canEveryoneAddMembers conversation parameter 2020-06-15 14:52:23 +02:00
82eb997e2d Remove HTML code of conversation names 2020-06-15 14:42:02 +02:00
8a2b618648 Can change conversation name 2020-06-15 14:30:01 +02:00
0f856e93cb Check if users exists before adding them to a conversation 2020-06-15 11:09:16 +02:00
8527ae9c50 Fix bad check 2020-06-15 10:53:50 +02:00
203a947122 Reformat code 2020-06-15 10:47:34 +02:00
856d22fed8 Can update the list of members of the conversation 2020-06-15 10:46:10 +02:00
16298d54fb Ready to update the list of members of a conversation 2020-06-15 09:29:38 +02:00
b15a09cf07 Can update following status of a conversation 2020-06-15 08:23:23 +02:00
fad9300771 Can check if a user is a moderator of a conversation or not 2020-06-12 11:26:12 +02:00
f3a96ffad1 Ready to update conversation settings 2020-06-12 09:23:02 +02:00
b30dc049bf Can get information about a single conversation 2020-06-12 09:20:32 +02:00
619fc171e1 Can get a conversation ID from a POST request 2020-06-12 09:04:43 +02:00
bfd7cc0630 Ready to implement new route 2020-06-12 08:50:09 +02:00
620328b33b Get the list of conversations of the user 2020-06-04 19:01:35 +02:00
e92b3ef821 Ready to implement getList route 2020-06-04 17:51:22 +02:00
55566a85dc Finish to implement conversation creation 2020-06-04 17:47:52 +02:00
435ba32653 Create the conversation 2020-06-04 13:36:57 +02:00
8465f0da65 Gather information to create a new conversation 2020-06-03 18:34:01 +02:00
314e584840 Ready to implement conversation creation 2020-06-03 13:36:19 +02:00
8745f8363c Can search for virtual directory 2020-06-03 13:28:28 +02:00
d30b1ea776 Ready to implement route virtualDirectory/find 2020-06-02 13:29:10 +02:00
a934d2bf82 Can search for user with a given virtual directory 2020-06-02 13:26:12 +02:00
cadc80c24f Can get POST virtual directories 2020-06-02 13:12:54 +02:00
e52e86fc43 Ready to implement new method 2020-06-01 17:17:18 +02:00
faa31f599a Better anticipation of errors 2020-06-01 17:08:57 +02:00
f9a8cd4e82 Check if a user is allow to create posts on another user's page 2020-06-01 16:57:14 +02:00
637408c626 Check if a user is liking a page or not 2020-06-01 11:12:05 +02:00
cef5838ef4 Count the number of likes of a user 2020-06-01 10:17:32 +02:00
a5dab7e312 Return the number of friends of a user 2020-06-01 10:00:58 +02:00
9d4b60f0ff Add legacy background image 2020-06-01 09:49:48 +02:00
56cf021f4a Parse mysql dates 2020-06-01 09:38:00 +02:00
a0f105090d Start to return advanced user info 2020-06-01 09:19:29 +02:00
9915e9af23 Fix error 2020-05-29 18:31:20 +02:00
253d33ef7d Validate that a user can see another user's page 2020-05-29 18:26:45 +02:00
cf2d9606d9 Can get a user id included in a POST request 2020-05-29 18:15:24 +02:00
8e2a4a8b71 Reorganize imports 2020-05-27 13:30:54 +02:00
3cbf6c2895 Ready to implement getAdvancedUserInfo route 2020-05-27 13:28:00 +02:00
250544acbd Can get information about multiple users 2020-05-27 13:20:08 +02:00
c4f8e5fa97 Get user custom emojies 2020-05-26 19:45:38 +02:00
2b1161c3f0 Return user account image 2020-05-26 18:45:27 +02:00
11865c2bb4 Can check whether two users are friends or not 2020-05-26 18:25:33 +02:00
305e836d78 Get path to user data files 2020-05-26 18:02:26 +02:00
175266f397 database_structure => constants 2020-05-26 17:51:11 +02:00
cca7f02f8e Ready to implement account image visibility 2020-05-26 13:53:24 +02:00
d355f33cb0 Get user virtual directory 2020-05-26 13:18:38 +02:00
eb3e6e9afa Get user page status 2020-05-26 13:15:39 +02:00
be4d1befcc Start to return user information 2020-05-25 13:25:51 +02:00
97d9adcc03 Can sign out user 2020-05-24 19:19:07 +02:00
89d5eac02b Fix returned error in case of bad login tokens 2020-05-24 18:33:47 +02:00
816e349368 Optimize request 2020-05-24 18:02:19 +02:00
75024dbca6 Can get current user ID 2020-05-24 17:57:47 +02:00
3b1b377d82 Simplify future database requests 2020-05-24 16:39:48 +02:00
f0cf3202f4 Can login user 2020-05-24 16:35:54 +02:00
6f6cd550ea Can crypt user password 2020-05-24 14:23:03 +02:00
fc24b8f747 Improve documentation 2020-05-24 13:13:00 +02:00
42585e0886 Fix bad name 2020-05-24 13:10:30 +02:00
5554197310 Create new api_data module 2020-05-24 13:10:09 +02:00
d2035a6a3f Ready to implement password check 2020-05-23 19:17:48 +02:00
975c129f7c Create new check functions 2020-05-23 17:09:28 +02:00
2807dcbffa Consider empty strings as None 2020-05-23 14:12:42 +02:00
505fa5adb3 Check client tokens 2020-05-23 14:08:22 +02:00
665aa1683c Get information about API client 2020-05-23 11:00:53 +02:00
b18f6f4190 Simplify code 2020-05-23 10:19:15 +02:00
0bd9a8f5f8 Better message 2020-05-23 10:14:21 +02:00
4b12de6e50 Improve body parsing 2020-05-23 09:54:13 +02:00
7c18f19674 Start to read POST request arguments 2020-05-23 09:37:21 +02:00
fcc38afe42 Improve query building 2020-05-22 08:57:16 +02:00
a67f988e1b Create query method 2020-05-22 08:51:15 +02:00
ab5df69ee5 Start to implement login method 2020-05-21 15:43:53 +02:00
9b7bf77a0a Simplify routes definition 2020-05-21 15:39:20 +02:00
1170a94309 Create server 2020-05-21 15:28:07 +02:00
22d47efa9c Test database 2020-05-21 09:38:41 +02:00
cf7bf3e14f Can get a database instance 2020-05-21 09:36:10 +02:00
bc91caeba4 Add connection to the database 2020-05-21 09:21:58 +02:00
5766ebcbde Parse configuration 2020-05-20 19:05:59 +02:00
6b4db62228 Initial commit 2020-05-20 17:46:05 +02:00