Commit Graph

1729 Commits

Author SHA1 Message Date
30c51ecac1 proposals prototype 2022-06-19 14:11:14 +03:00
50d2845c23 info contain slugs only 2022-06-17 16:11:18 +03:00
knst-kotov
12679808cf isEmailFree to isEmailUsed 2022-06-15 15:41:28 +03:00
knst-kotov
e09d595d8b verbose errors 2022-06-15 10:05:20 +03:00
7d26948cc1 fixx 2022-06-14 11:35:36 +03:00
knst-kotov
f92beaaeeb return subscribed communities in user info 2022-06-12 11:45:08 +03:00
knst-kotov
7fd0b7e643 add community to shoutsSubscribed 2022-06-12 11:33:24 +03:00
knst-kotov
39070dc359 add community subscription; unify subscription interface 2022-06-12 10:51:22 +03:00
knst-kotov
f89cb47daf shoutsSubscribed return published and unpublished shouts 2022-06-12 09:17:02 +03:00
knst-kotov
03c1b69bfb fix recentAll 2022-06-12 09:10:00 +03:00
8e7e070948 not published in feed. devmode try 2022-06-12 01:05:20 +03:00
knst-kotov
0cef013137 confirm email on user registration improve 2022-06-09 13:52:56 +03:00
8e57e8b7fb slugs fix, dev friendly, readme 2022-05-31 10:03:50 +03:00
knst-kotov
1bd868b800 remove topicUpdated subscription 2022-05-04 17:12:59 +03:00
knst-kotov
7a49da877d return userSubscribedAuthors 2022-05-04 16:53:23 +03:00
knst-kotov
0d67d1df95 return user info in signIn 2022-05-03 15:55:29 +03:00
knst-kotov
d7cbe150d6 add userUnpublishedShouts 2022-04-29 11:27:34 +03:00
knst-kotov
86383cb6c0 shoutsRatedByUser only for auth user 2022-04-29 11:01:04 +03:00
knst-kotov
6919b2603c return subscribed topics as slugs 2022-04-29 10:51:51 +03:00
knst-kotov
9fab68fc29 add shoutsRatedByUser 2022-04-28 12:36:48 +03:00
knst-kotov
f07780895e add shoutsCommentedByUser 2022-04-28 12:04:14 +03:00
knst-kotov
cca6f8cec3 return userSubscribedTopics in current user info 2022-04-27 16:32:14 +03:00
knst-kotov
c4bda0b1c3 calculate totalUnreadMessages for user 2022-04-13 15:11:06 +03:00
knst-kotov
c04cd77418 intro inbox service 2022-02-22 14:44:01 +03:00
knst-kotov
30f965e6e9 add userSubscribedTopics 2022-02-22 12:55:02 +03:00
knst-kotov
411470e5ef add rateUser 2022-02-16 15:38:05 +03:00
knst-kotov
08c00d950f add userSubscriptions and userSubscribers 2022-02-16 15:00:58 +03:00
knst-kotov
57d9072ba1 add userComments 2022-02-16 13:44:26 +03:00
knst-kotov
873d05e000 fix recentCommented 2022-02-15 14:12:54 +03:00
knst-kotov
847240e20f fix shoutsSubscribed, shoutsReviewed, shoutsCandidates 2022-02-15 13:34:41 +03:00
dd85d58ccf recent_commented 2022-02-03 12:14:04 +03:00
6b255cc984 update schema 2022-02-03 10:36:39 +03:00
knst-kotov
020a3a5abf add shoutsByUserSubscriptions; use user slug in shout_author table 2022-01-31 14:34:43 +03:00
knst-kotov
1f3983fc07 add newShoutsWithoutRating 2022-01-31 12:16:46 +03:00
knst-kotov
073c5252c3 add shoutsByUserRatingOrComment 2022-01-30 14:28:27 +03:00
knst-kotov
68f7733f91 fix topic subscription 2022-01-30 11:50:29 +03:00
knst-kotov
32becea4da add author subscription 2022-01-30 11:35:49 +03:00
knst-kotov
3828e92c19 get messages from redis 2022-01-28 15:52:14 +03:00
knst-kotov
ab42c3b60c signIn logs 2022-01-28 13:33:16 +03:00
knst-kotov
06437ab5bd subscription on comments 2022-01-28 12:49:46 +03:00
knst-kotov
92595e567c messages: check permissions 2022-01-25 14:16:13 +03:00
knst-kotov
77759f620d remove message table 2022-01-24 17:08:30 +03:00
knst-kotov
34b48cbc90 chatUpdated subscription 2022-01-24 17:02:44 +03:00
knst-kotov
ca9c3e0cee use redis for storing messages - next 2022-01-24 14:56:55 +03:00
knst-kotov
c7639f38ae use redis for storing messages 2022-01-23 14:02:57 +03:00
knst-kotov
1cc0e3e5df use user slug as rater in Comment and User ratings 2022-01-14 15:19:57 +03:00
knst-kotov
65fa744ea5 add reset password api 2022-01-13 15:16:35 +03:00
knst-kotov
5341bb80a5 user slug as rater in shout ratings 2022-01-11 16:33:25 +03:00
knst-kotov
0cbd8dc162 increase top shouts limit 2022-01-08 12:11:12 +03:00
knst-kotov
78986f6001 page from 1 2022-01-08 12:09:06 +03:00
knst-kotov
bce71a6be8 shoutsByTopic, shoutsByAuthor and shoutsByCommunity pagination 2022-01-08 12:04:45 +03:00
knst-kotov
e368ebf4e9 add top shouts pagination 2021-12-17 19:14:31 +01:00
knst-kotov
e3bc1c0c38 fix creating shout 2021-12-17 17:14:08 +01:00
knst-kotov
931fd887d9 order shouts by publishedAt 2021-12-17 15:56:05 +01:00
knst-kotov
9ea6c6c71a fix shoutsByCommunity 2021-12-17 15:27:16 +01:00
knst-kotov
26e903d4f2 add shout stat 2021-12-17 11:22:31 +01:00
knst-kotov
cc36067995 typo fix 2021-12-16 21:18:49 +03:00
knst-kotov
b26ff8ee77 remove topAuthors 2021-12-16 20:45:50 +03:00
knst-kotov
7da7d1de4c shoutsByTopic, shoutsByAuthor and shoutsByCommunity 2021-12-15 20:24:04 +03:00
knst-kotov
a98d5f6ee6 add authors and subscriptions in Topic stat 2021-12-15 12:17:16 +03:00
0503dfaf02 top_authors commented out 2021-12-15 04:23:22 +03:00
knst-kotov
4f76f85bed return all rating for shout; unify rating fields 2021-12-14 19:37:49 +03:00
knst-kotov
64a728de41 add getTopicAuthors 2021-12-13 21:05:00 +03:00
knst-kotov
ab9990a616 add topic stat 2021-12-13 19:51:01 +03:00
knst-kotov
a985e800a2 remove shout id 2021-12-13 10:50:33 +03:00
knst-kotov
1c0e977a60 add createTopic and updateTopic; fix create/update Shout 2021-12-12 18:29:51 +03:00
knst-kotov
04f2ceb629 load topic parents 2021-12-12 16:00:38 +03:00
knst-kotov
5b6545536f fix getShoutComments 2021-12-12 13:54:06 +03:00
knst-kotov
e8780cfb86 return user ratings; add getUsersBySlugs 2021-12-11 19:38:54 +03:00
knst-kotov
d578072563 getUserRoles 2021-12-11 16:18:40 +03:00
knst-kotov
705731aa0e topicsBySlugs and topicsByAuthor 2021-12-11 15:17:59 +03:00
knst-kotov
6e939f43db default user role; updateProfile method 2021-12-08 15:51:30 +03:00
knst-kotov
8092d8a262 migrate user rating; remove unused user column 2021-12-08 13:29:04 +03:00
knst-kotov
ea8fffc25d add getShoutComments 2021-12-06 17:50:49 +03:00
7d75480217 fixzine 2021-12-05 23:23:48 +03:00
cf020f8f3e update comment schema and debug resolvers 2021-12-02 16:06:22 +03:00
e4e099e7f4 typo fix 2021-11-27 10:06:20 +03:00
aecdcb09e6 topicall 2021-11-27 09:15:02 +03:00
2fccc3a9d1 Merge branch 'main' of https://github.com/Discours/discours-backend 2021-11-25 05:45:28 +03:00
05e8d57bdc authors_by_slugs 2021-11-25 05:45:22 +03:00
knst-kotov
2d8dc5c3bd add RoleStorage; add mutations for community 2021-11-24 18:53:01 +03:00
9ab334de71 Merge branch 'main' of https://github.com/Discours/discours-backend 2021-11-24 16:39:25 +03:00
683f31e9af minor 2021-11-24 16:39:20 +03:00
67713c1bf6 minor fixes 2021-11-24 16:34:30 +03:00
knst-kotov
5e2f824f5b add UserStorage 2021-11-24 15:56:09 +03:00
d765eaf390 Merge branch 'main' of https://github.com/Discours/discours-backend 2021-11-24 15:12:04 +03:00
bfbbb1b32a community 2021-11-24 15:10:34 +03:00
knst-kotov
5b59ce396e return user rating 2021-11-24 12:59:40 +03:00
knst-kotov
0f3ba29fea query userRoles 2021-11-24 12:09:47 +03:00
knst-kotov
7dea19495c one subscription on messages 2021-11-24 10:36:06 +03:00
knst-kotov
36a0770675 rate comment 2021-11-24 09:23:48 +03:00
knst-kotov
252807b3b1 CRUD comments 2021-11-21 14:04:38 +03:00
knst-kotov
d6605b71ec return only published shouts 2021-11-15 11:43:38 +03:00
knst-kotov
7f54db8939 topicUpdated 2021-11-10 11:42:29 +03:00
knst-kotov
e5aa568933 initial topicUpdated 2021-11-04 19:37:41 +03:00
knst-kotov
7f8908a84b load topics and authors 2021-11-04 15:06:49 +03:00
knst-kotov
5cca55d66c minor fix top shouts 2021-11-04 14:26:50 +03:00
af36e842cd TopShouts -> ShoutsCache 2021-10-31 20:55:59 +03:00
3a6531bcaa minirefactoring 2021-10-31 18:09:16 +03:00
a327100eb7 top-month, top-overall 2021-10-31 17:50:55 +03:00
knst-kotov
b4cb83b313 top shouts wtih rating and views 2021-10-31 13:43:05 +03:00
1bfb3f352f Merge branch 'main' of github.com:Discours/discours-backend-next 2021-10-31 13:26:23 +03:00
cedefca2eb trying to fix naming 2021-10-31 13:26:14 +03:00
ddb5d9d643 tick 2021-10-31 13:02:10 +03:00
knst-kotov
5c19667a1a fix recentShouts 2021-10-31 12:55:25 +03:00
5297c99fdb look here! 2021-10-31 11:50:49 +03:00
121d57500c export fix 2021-10-31 11:42:24 +03:00
eae81e380f log msgs 2021-10-30 23:56:49 +03:00
b02f23e82b recent shouts resolve 2021-10-30 22:15:29 +03:00
fb01b2cc78 indent fix 2021-10-30 22:01:54 +03:00
53c3fdc7b8 syntax fix 2021-10-30 22:01:14 +03:00
11b1471d83 typo fix 2021-10-30 21:58:34 +03:00
702732445a indent fix 2021-10-30 21:56:32 +03:00
6c71e958ce recent shouts resolver 2021-10-30 21:54:50 +03:00
1cc248dca4 topics by author todo 2021-10-30 20:29:52 +03:00
78487199b9 indent fix 2021-10-30 20:13:07 +03:00
ee53fe7508 needed queries 2021-10-30 19:58:15 +03:00
741ede054d update topics logix 2021-10-28 13:42:34 +03:00
knst-kotov
0d87f52d3a fix signIn 2021-10-24 17:13:32 +03:00
knst-kotov
e390b2d435 add user slug on register 2021-10-24 13:33:45 +03:00
knst-kotov
0a9949caa3 ShoutRatingStorage refactor 2021-09-29 16:37:08 +03:00
knst-kotov
c32fc43538 ShoutViewStorage refactor 2021-09-29 15:59:48 +03:00
knst-kotov
6e451c8095 add viewShout 2021-09-27 17:59:44 +03:00
knst-kotov
f23d375b4d add rateShout 2021-09-25 14:40:37 +03:00
knst-kotov
9a5ec80b12 get Shout with additional info 2021-09-24 17:39:37 +03:00
knst-kotov
d5c654eace type fix 2021-09-05 11:56:15 +03:00
aaca27ba88 schema fix 2021-09-05 10:16:28 +03:00
8b8942225b classic comments entity wip 2021-09-03 19:01:31 +03:00
abefcf5039 Merge branch 'main' of github.com:Discours/discours-backend-next 2021-09-03 10:16:25 +03:00
ed9c42a871 new queries 2021-09-03 10:16:19 +03:00
knst-kotov
db12b3f908 add topAuthors 2021-09-02 14:04:58 +03:00
knst-kotov
6d28d2d455 favoritesShouts and topShoutsByAuthor 2021-09-01 19:03:00 +03:00
knst-kotov
41413242bd cache top shouts 2021-09-01 13:28:42 +03:00
knst-kotov
eba8e6d6af shout rating and view with timestamp 2021-08-31 18:15:27 +03:00
knst-kotov
def6a59163 topShoutsByView and topShoutsByRating 2021-08-30 10:41:59 +03:00
knst-kotov
862c19ed15 fix updateShout 2021-08-28 18:12:13 +03:00
knst-kotov
a13b979850 fix shout 2021-08-28 13:13:50 +03:00
9721bd41d5 wip: org to community 2021-08-27 11:42:01 +03:00
knst-kotov
730129718b confirm and auth email 2021-08-26 12:24:46 +03:00
knst-kotov
6bdf994a28 signIn via email 2021-08-25 20:12:01 +03:00
knst-kotov
805db9814a auth via email 2021-08-25 11:31:51 +03:00
ee3b186ba1 model upgrade 2021-08-20 11:08:32 +03:00
knst-kotov
1ce88a3515 updateShout 2021-08-18 19:53:55 +03:00
knst-kotov
b8b7854c4c improve rbac 2021-08-17 12:14:26 +03:00
74c4c09320 typo fix 2021-08-09 21:58:59 +03:00
3b9ce27b93 origin 2021-08-09 18:45:51 +03:00
knst-kotov
a146a8dd1d shout under organization 2021-08-08 12:23:12 +00:00
knst-kotov
848908aca0 add git task 2021-08-08 09:49:15 +00:00
knst-kotov
46941749b6 create shout in db and under git 2021-08-07 16:14:20 +00:00
knst-kotov
93c6f88435 global session to local session 2021-08-05 16:49:08 +00:00
knst-kotov
a0e99e5ba9 return value unification 2021-08-04 13:38:56 +00:00
knst-kotov
9467810632 new api error handling 2021-08-01 11:40:24 +00:00
eb4dd88558 user.save() call 2021-07-30 16:24:54 +03:00
f868f544d7 confirmEmail 2021-07-30 16:22:37 +03:00
f04b15c215 email confirm logix 2021-07-30 16:22:14 +03:00
5756a29dd0 clear schema and no password auth wip 2021-07-30 15:53:22 +03:00
8c6e1bcfa6 username gen 2021-07-30 10:18:04 +03:00
d2ba2dfd79 no username needed 2021-07-30 10:12:48 +03:00
9846358420 validation fix 2021-07-30 10:09:39 +03:00
6ef4ae9c03 ident fix 2021-07-30 10:05:34 +03:00
c474a86147 auth fix 3 2021-07-30 09:59:42 +03:00
9698afb74e auth fix 2 2021-07-30 09:39:45 +03:00
f2961d5dfe fix register 2021-07-30 09:36:18 +03:00
8e94b9655a login user after register 2021-07-30 09:31:03 +03:00
b8b91334f5 registerUser mutation can accept email now 2021-07-30 09:19:00 +03:00
473d874ff7 fix auth resolvers 2021-07-30 08:58:38 +03:00
d5ed469ed5 tops 2021-07-27 08:41:45 +03:00
ea06b61d3f shout related todos, schema update 2021-07-27 07:58:06 +03:00
knst-kotov
d304362684 auth fixes 2021-07-14 14:45:31 +00:00
knst-kotov
6c9337be4c fix after merge 2021-07-13 10:14:48 +00:00
knst-kotov
af0211721c merge with dev 2021-07-13 12:20:59 +03:00
knst-kotov
ead404fc72 oauth code minor changes 2021-07-13 09:15:15 +00:00
knst-kotov
cd8af4d761 minor changes 2021-07-08 10:58:49 +03:00
knst-kotov
a70421f243 add message subscription 2021-07-02 12:16:43 +03:00
4526f2629d typo 2021-07-02 10:32:46 +03:00
e02a964fb9 minor fixes 2021-07-02 10:31:30 +03:00
knst-kotov
7b5065616f add methods for messaging 2021-07-01 21:26:04 +03:00
knst-kotov
c9b3d3a833 register user, sign in and sign out working 2021-06-29 13:26:46 +03:00
9f01572557 wip: redis, sqlalchemy, structured, etc 2021-06-28 12:08:09 +03:00