1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-12-27 05:58:51 +00:00
Commit Graph

612 Commits

Author SHA1 Message Date
fbf4728347 Continue refactoring 2021-03-04 18:51:52 +01:00
bce79a76e9 Remove test code 2021-03-02 19:00:14 +01:00
60733f2d04 Start conversations system migration 2021-03-02 18:57:44 +01:00
cd5419edea Remove fallbacks 2021-03-02 17:52:11 +01:00
f7fbea34ea Remove fallbacks 2021-03-02 17:51:37 +01:00
aea3cd5807 Remove deprecated routes 2021-03-02 17:50:49 +01:00
ab6b182d89 Remove deprecated fields 2021-03-02 17:50:21 +01:00
dd00b520b5 Rename a table 2021-03-02 17:32:24 +01:00
1349bfc471 Add privacy policy URL in static configuration 2021-02-20 11:21:45 +01:00
1ad4e344f6 Add Android application download links 2021-02-20 09:44:34 +01:00
d6c2c19b37 Add terms url to server config 2021-02-20 09:31:38 +01:00
050d241695 Add minimal supported version in application configuration 2021-02-20 09:07:30 +01:00
6ab6278bd4 Update dependencies 2021-02-19 17:08:13 +01:00
253e00bcb7 Change account deletion flow 2021-02-18 19:35:45 +01:00
d3c1ee700d Inverted first and last name when creating account 2021-02-18 19:13:19 +01:00
4a2784919b Return more information on successful reset token check 2021-02-17 18:44:37 +01:00
312e6fb949 Can get current user email address easily 2021-02-17 18:30:36 +01:00
9f6b00a62b Create password policy 2021-02-17 16:32:49 +01:00
2edffa36d8 Limit new route with password check 2021-02-16 18:19:06 +01:00
d2d16d42d3 Add more flexibility to conservation policy update 2021-02-16 16:15:51 +01:00
2e912b7e1c Make data conservation policy updates password-protected 2021-02-15 19:32:08 +01:00
aa8916b8f2 Can update data conservation policy 2021-02-15 19:29:43 +01:00
3e73a0376b Can get data conservation policy 2021-02-15 17:38:25 +01:00
376bd0477e Create server config route 2021-02-15 17:03:25 +01:00
fa230bdef8 Automatically delete old account after a period of inactivity 2021-02-14 19:23:36 +01:00
f44e5103ca Automatically delete old conversation messages 2021-02-14 19:15:04 +01:00
ee69145228 Automatially delete old posts 2021-02-14 19:02:38 +01:00
2dbf7ee850 Add initial clean interval 2021-02-14 18:54:39 +01:00
a537dbcd4d Automatically delete old user comments 2021-02-14 18:49:47 +01:00
7876c37330 Automatically clean old notifications 2021-02-14 16:56:48 +01:00
664824ff48 Automatically clean old likes 2021-02-14 16:45:00 +01:00
dcd24e5638 Fix bad output 2021-02-14 16:09:03 +01:00
adefbed4f7 Automatically clean old access tokens 2021-02-13 16:36:39 +01:00
17db8a7198 Refactor project 2021-02-13 16:15:25 +01:00
e5f6b9e93e Update login method 2021-02-13 15:45:20 +01:00
becd54e8c6 Mark new field as to remove 2021-02-13 14:48:35 +01:00
985abc3e99 Upgrade user tokens system 2021-02-13 14:37:15 +01:00
9949f1dccf Continue to deprecate old movie system 2021-02-13 11:26:06 +01:00
3a22c89b87 Deprecate old movies system 2021-02-13 11:12:17 +01:00
36c096d415 Upgrade password system 2021-02-13 10:52:04 +01:00
6396271e9c Remove all movies 2021-02-13 10:34:30 +01:00
05bcbc1f1a Can load custom configuration 2021-02-12 17:35:26 +01:00
13bf916652 Properly close connections 2021-02-12 16:46:11 +01:00
72eadb9422 Add a TODO 2021-02-12 13:54:18 +01:00
f4001c0b99 Can stop streaming 2021-02-12 13:52:47 +01:00
5388aa8054 Can request call offer 2021-02-12 13:32:36 +01:00
8ebfcf2785 Can mark a user as ready to stream 2021-02-11 19:21:24 +01:00
50b094acfb Relay messages from RTC proxy to user 2021-02-11 19:07:30 +01:00
4c8d4345a2 Relay client call signals to RTC proxy 2021-02-11 18:29:29 +01:00
024d83619d Close concurrent call accesses 2021-02-10 18:26:19 +01:00
5194a389af Can check whether a conversation is having a call or not 2021-02-10 18:14:17 +01:00
74b74fe76b Check if a user is a member of a call before giving him calls configuration 2021-02-10 18:07:55 +01:00
7a0f9620b2 Can leave a call 2021-02-10 18:04:03 +01:00
3c696bde5f Can get the list of members of a call 2021-02-10 17:32:14 +01:00
2e5cdca850 Can join call 2021-02-10 17:16:52 +01:00
8cfd10c21c Get calls configuration 2021-02-08 18:24:28 +01:00
01b83dfa8f Check out whether a conversations can be used for calls or not 2021-02-08 18:14:15 +01:00
a2b2fc89cf Send calls configuration to RTC relay 2021-02-08 18:00:03 +01:00
9d67565517 Start to create WebSocket actor 2021-02-08 17:34:20 +01:00
2ce94f19f1 Start to build RTC relay route 2021-02-08 17:20:03 +01:00
63f56d3dae Add RTC config 2021-02-06 16:59:27 +01:00
bc8cda78ae Add verbose mode configuration option 2021-02-06 16:38:51 +01:00
25d83db840 Close websockets properly when closing connection 2021-02-06 16:35:24 +01:00
7cf5977da2 Propagate unread conversations number update 2021-02-06 16:26:53 +01:00
dab76a3677 Notify about notifications number update 2021-02-06 11:58:22 +01:00
3e4d2872ea Propagate comments update events 2021-02-06 11:37:56 +01:00
e2acb3813e Can register for post events 2021-02-06 10:16:09 +01:00
0ce59fc5ad Propagate an event when deleting a conversation message 2021-02-06 10:07:02 +01:00
6762e291d3 Send a message when updating conversation message 2021-02-06 09:58:25 +01:00
de2448d496 Send message through WebSocket fro new conversation messages 2021-02-06 09:41:56 +01:00
cf6063feef Can register / unregister a conversation 2021-02-06 08:55:14 +01:00
fad21381ed Fix compilation issue 2021-02-05 15:15:09 +01:00
be858dc9cc Add new TODOs 2021-02-05 15:14:47 +01:00
4a968b3d6f Get more accurate info 2021-02-05 14:55:19 +01:00
5c3bbfcfaa Automatically update last user activity 2021-02-05 14:49:45 +01:00
35a77a729e Can toggle incognito mode 2021-02-05 14:24:00 +01:00
b25628454a Can update like status from WebSocket 2021-02-05 13:45:40 +01:00
737ed75b3b Close user web sockets when signing him out of clients 2021-02-05 13:35:33 +01:00
959a9d8a5e Close user websockets when he destroy all its access tokens 2021-02-05 13:32:07 +01:00
5f3eab7c07 Close user websockets when deleting its account 2021-02-05 13:29:44 +01:00
15f8df2386 Rename structures & modules 2021-02-05 13:25:27 +01:00
5254524c50 Start user WebSocket implementation 2021-02-05 13:21:10 +01:00
82b845c603 Can get WebSocket access token 2021-02-05 10:37:37 +01:00
62a73b25d3 Create base request handler 2021-02-05 09:11:30 +01:00
1d4dc87b00 Improve content-length header check 2021-01-26 18:24:47 +01:00
c510e6abce Delete all notifications about a post when making it private 2021-01-25 18:46:14 +01:00
608a85e7f5 Delete notification for a user about a post when updating it 2021-01-25 18:40:54 +01:00
b6021b11d2 Delete notifications related with a group when quitting it 2021-01-25 18:38:47 +01:00
c042077067 Create a notification when responding to group membership request 2021-01-25 18:37:07 +01:00
30f133b2a3 Delete notification when removing a user from a group 2021-01-25 18:33:23 +01:00
7141312eb5 Delete notification when cancelling request 2021-01-25 18:31:34 +01:00
3ceb2ae13d Create notification when sending a group membership request 2021-01-24 18:37:07 +01:00
5f70c32b96 Create notification when responding to group membership invitation 2021-01-24 18:29:19 +01:00
4af2e71761 Delete notifications when deleting a friend 2021-01-24 18:21:03 +01:00
c7c651e6fe Send a notification when responding to friensdhip request 2021-01-24 18:17:32 +01:00
919f4184b7 Send a notification when creating a new post 2021-01-24 18:13:17 +01:00
3afc30fb89 Delete notifications on like updates 2021-01-24 18:09:45 +01:00
334496a63c Can delete notification targeting a user about a post 2021-01-24 18:05:11 +01:00
f1525c4cc4 Delete all notifications related with friendship requests 2021-01-24 17:57:30 +01:00
f84f925abc Can delete all the notifications related with a post 2021-01-24 17:48:46 +01:00
1c710ad965 Delete notifications when cancelling an invitation 2021-01-24 17:42:30 +01:00
de9304a604 Can delete group membership notifications 2021-01-24 17:39:16 +01:00
bb06760437 Can create group membership notifications 2021-01-23 15:30:14 +01:00
fd5000aef9 Can create friendship notifications 2021-01-23 15:04:52 +01:00
4d6ff8fef3 Start to push notifications 2021-01-23 14:52:05 +01:00
0e80564f85 Remove resolved TODOs 2021-01-23 09:56:19 +01:00
ddce4062c7 Make limit system lives 2021-01-23 09:44:34 +01:00
dac83ba437 Check for upstream proxy 2021-01-23 08:37:58 +01:00
82fcd95fd3 Start to extract remote IP address 2021-01-23 08:19:10 +01:00
ebc5ebea2a Start to implement requests limit 2021-01-22 19:39:14 +01:00
89d2cedfb7 Define limit policy in routes listing 2021-01-22 18:46:09 +01:00
93388317a2 Remove user from user table 2021-01-22 18:25:58 +01:00
7d16410ab2 Destroy all user login tokens when deleting his account 2021-01-22 18:24:02 +01:00
472f44b5a5 Can delete all the custom emojies of a given user 2021-01-21 19:06:49 +01:00
61cb9e671c Delete all likes on user page when deleting user account 2021-01-21 19:01:10 +01:00
93a0fd53c2 Delete user account image when deleting user account 2021-01-21 18:58:31 +01:00
f7a2623951 Can delete all the friends of a user 2021-01-21 18:56:35 +01:00
6518ff5be8 Can delete all the notifications related with a user 2021-01-21 18:49:15 +01:00
5a704f5c59 Can remove the user from all its conversations 2021-01-21 18:41:27 +01:00
99db58bde2 Can delete all the conversation messages of a user 2021-01-21 18:36:53 +01:00
64b9497cc5 Can delete all the movies of a user 2021-01-21 18:30:20 +01:00
b8e9a4c95d Can delete all the likes of a user 2021-01-21 18:26:18 +01:00
7aa0858642 Can delete all responses to survey of a user 2021-01-21 18:23:23 +01:00
ffbb81bade Delete all posts of user 2021-01-21 18:17:38 +01:00
5a7e356265 Delete all comments of user 2021-01-21 18:13:01 +01:00
f325ec7ae7 Start to delete user account 2021-01-21 18:05:48 +01:00
e26d40183e Can delete group 2021-01-20 19:20:28 +01:00
f031f7b4b3 Ready to start to delete user account 2021-01-20 18:58:02 +01:00
8253779725 Can delete a custom emoji 2021-01-20 18:46:21 +01:00
99c7bb2899 Can create custom emoji 2021-01-20 18:31:01 +01:00
110f84eb0a Fix typo 2021-01-19 18:49:31 +01:00
1fd3a8e6d9 Can update account image visibility 2021-01-19 18:48:56 +01:00
33eab5919b Can delete account image 2021-01-19 18:30:51 +01:00
e02c0ba2b9 Can change user account image 2021-01-19 18:27:56 +01:00
364a98634f Can get account image settings 2021-01-19 18:14:17 +01:00
6c7fa3afa5 Can change user password 2021-01-19 17:57:07 +01:00
9c8116f9bd Can check given password 2021-01-19 17:52:13 +01:00
77d11a8210 Can set security settings 2021-01-19 17:47:48 +01:00
c9544e7c9c Can get security settings 2021-01-19 17:27:54 +01:00
66ad111719 Can set language settings 2020-07-14 13:33:17 +02:00
5a1093b33a Can get language settings 2020-07-14 13:16:52 +02:00
4cbf57d369 Can check the availability of a virtual directory for a user 2020-07-14 13:12:16 +02:00
4e343041d4 Implement missing feature 2020-07-14 11:44:18 +02:00
1850ca0626 Can set general settings 2020-07-14 11:36:15 +02:00
dcd8b07b60 Can get general settings 2020-07-14 11:15:20 +02:00
fb7f56c359 Add placeholder for account deletion 2020-07-14 10:13:19 +02:00
bb86830db4 Create a new trait 2020-07-14 10:08:30 +02:00
161e969966 Fix a issue with old comments 2020-07-14 09:17:20 +02:00
5405aa5420 Export related user information 2020-07-14 09:10:10 +02:00
36f879f23f Complete exported data 2020-07-14 08:30:24 +02:00
df7aecc906 Export all conversations 2020-07-14 08:07:55 +02:00
30edf5f1a6 Export all conversation messages 2020-07-14 07:54:40 +02:00
1a7018b5e3 Add movies to export 2020-07-14 07:48:05 +02:00
49c98e902a Fix error 2020-07-13 19:41:48 +02:00
88c45f05ac Add responses to surveys to export 2020-07-13 19:38:51 +02:00
70d5facf4c Add likes to export 2020-07-13 19:26:19 +02:00
67dd29fe2d Start account export 2020-07-13 19:12:39 +02:00
f21636aa4e Start to implement data export 2020-07-13 18:56:36 +02:00
ded88474d5 Can reset password 2020-07-13 15:33:18 +02:00
8a2f482bbd Can check the validity of a password reset token 2020-07-13 14:52:25 +02:00
e4b361ab12 Can generate a reset token if password is valid 2020-07-13 14:20:28 +02:00
d33e1fe77c Fix bad check 2020-07-13 13:36:59 +02:00
c4f5447230 Can create new accounts 2020-07-13 13:35:25 +02:00
1974c782b5 Can get security questions 2020-07-13 13:23:37 +02:00
e76b3180e7 Can check if security questions has been defined 2020-07-13 13:15:26 +02:00
515f8d2ffc Start to implement new route 2020-07-13 13:07:50 +02:00
071c773412 Can check if an email address exists or not 2020-07-13 13:00:02 +02:00
c2c6a24b29 Can disconnect a user from all its devices 2020-07-13 11:56:49 +02:00
ee5f9bedc3 Add legacy calls configuration 2020-07-13 11:49:14 +02:00
748fa64609 Sort the list of memberships 2020-07-13 11:44:37 +02:00
b5bcb3e8c7 Can get the list of memberships of a user 2020-07-13 11:17:35 +02:00
59961129c5 Ready to implement new method 2020-07-12 14:32:30 +02:00
3ee2e1843a Finish movie deletion implementation 2020-07-12 14:26:39 +02:00
2cc8e7da04 Can delete all the posts associated to a movie 2020-07-12 14:20:24 +02:00
ead879bc21 Can delete all the notifications of a given user 2020-07-12 14:02:52 +02:00
d358119ae6 Improve previous method 2020-07-11 14:25:44 +02:00
2fc6b83f77 /notifications/mark_seen is fully implemented 2020-07-11 14:10:01 +02:00
b133827c61 Improve code logic 2020-07-11 13:57:20 +02:00
cf549f973c Remove useless condition 2020-07-11 13:51:15 +02:00
55dc7a43b0 Can delete a single notification 2020-07-11 13:47:07 +02:00
7519ce59fc Start to implement the mark_seen method 2020-07-11 13:29:12 +02:00
87718076e7 Can get the list of unread notifications 2020-07-11 08:14:30 +02:00
1eac896291 Add the method /notifications/count_all_news 2020-07-10 13:31:40 +02:00
32aa7e7d1e Can count the number of unread notifications 2020-07-10 12:55:50 +02:00
6b0363935e Can block the creation of new choices 2020-07-10 12:03:11 +02:00
715cfb0716 Can create new choices for a survey 2020-07-10 11:59:18 +02:00
b76e16294a Can cancel the response to a survey 2020-07-10 11:20:11 +02:00
964a7d1c8c Can cancel the response to a survey 2020-07-10 11:14:59 +02:00
151b69451f Can get information about a single survey 2020-07-10 10:53:37 +02:00
6756eccf33 Can update like status of a group 2020-07-10 10:37:02 +02:00
e62ea3c3ad Can update like status of a comment 2020-07-10 10:35:24 +02:00
22ce88ee53 Can update like status of a post 2020-07-10 10:29:32 +02:00
4de337421a Can update like status of user page 2020-07-10 10:24:39 +02:00
d23411dca7 Can delete a comment 2020-07-10 09:02:16 +02:00
5a5bf8c5c3 Can update comment content 2020-07-10 08:57:46 +02:00
24e094fc4a Can get information about a single comment 2020-07-10 08:45:53 +02:00
4ed101b0dc Fix bad check 2020-07-10 08:25:11 +02:00
c90f74e782 Can create a comment 2020-07-10 08:21:40 +02:00
0aa6c0193f Fix missing check 2020-07-09 13:29:59 +02:00
05b743fa36 Can get the list of available target to create new posts 2020-07-09 13:26:39 +02:00
82adbbcd6d Can delete associated surveys 2020-07-09 11:12:35 +02:00
409f5a8feb Remove the post from the database 2020-07-09 11:03:06 +02:00
584ecbf49b Work progress on post deletion 2020-07-09 10:59:46 +02:00
a071d33efd Delete the comments associated to a post 2020-07-09 10:48:44 +02:00
af307671bb Start to delete posts 2020-07-09 10:37:06 +02:00
bc8fdb13f1 Ready to implement new route 2020-07-09 09:32:45 +02:00
697a01b6df Can update the content of the posts 2020-07-09 09:27:47 +02:00
cb47b67dc6 Fix visibility level when creating new posts 2020-07-09 09:17:28 +02:00
dc5ad6aea4 Can change the visibility level of a post 2020-07-09 09:10:42 +02:00
4a559f8222 Remove useless import 2020-07-08 20:20:48 +02:00
6bad417645 Fix issue 2020-07-08 20:20:30 +02:00
1af26f6d84 Can create surveys 2020-07-08 20:16:09 +02:00
3be1c7f203 Can create countdown timers 2020-07-08 18:58:28 +02:00
9abe17415b Fix PDF validation 2020-07-08 17:34:44 +02:00
24469101bc Can create PDF posts 2020-07-08 17:14:55 +02:00
82b1f5e473 Can create weblink posts 2020-07-08 14:08:54 +02:00
aafd4c5e7c Can create movie posts 2020-07-08 14:01:40 +02:00
45c70cb40e Add route placeholder 2020-07-08 13:46:54 +02:00
32628af376 Can get the list of movies of current user 2020-07-08 13:45:01 +02:00
df1e2ffd7b Can log select queries 2020-07-08 13:33:55 +02:00
11051b28a0 Can create YouTube posts 2020-07-08 13:05:06 +02:00
8753f77227 Can create post images 2020-07-08 11:03:17 +02:00
ea1ed285f8 Improve code 2020-07-07 19:19:18 +02:00
c82e9d6e69 Can create text posts 2020-07-07 19:14:16 +02:00
6b9c9079c8 Fix typo 2020-07-06 17:33:04 +02:00
e0101fb3b8 Start to implement posts creation 2020-07-06 17:31:23 +02:00
d49a4737e4 Can get information about a single post 2020-07-06 11:00:59 +02:00
f8413850ae Can get the latest posts 2020-07-06 10:01:54 +02:00
fca15e15e1 Can get group's posts 2020-07-06 09:20:31 +02:00
bb76513d02 Fix typo 2020-07-05 19:45:54 +02:00
27e3dedf51 Load post comments 2020-07-05 19:32:28 +02:00
a3bb9685ea Can determine post access level 2020-07-04 18:34:21 +02:00
cab3954edc Load like information 2020-07-04 17:14:49 +02:00
532bd9e48d Add YouTube posts support 2020-07-04 17:06:06 +02:00
8d5013b00a Add survey posts support 2020-07-04 16:44:42 +02:00
1e956cdcb5 Add countdown timer posts support 2020-07-03 17:13:02 +02:00
d632d0b888 Add support for movie posts 2020-07-03 16:41:14 +02:00
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