ogerly
a1114a8a83
feat: additional confirm inserted before really deleting
2020-03-06 08:09:38 +01:00
ogerly
9ab2d8395f
feat: DeleteUser for Admin added in the profile dropdown menu, deleted from the Admin user overview
2020-03-04 16:23:00 +01:00
Robert Schäfer
e164104791
Merge pull request #3075 from Human-Connection/3074-don’t-expose-all-properties-of-report
...
feat: 🍰 Expose sensitive report type to moderators only
2020-02-21 12:43:28 +01:00
Wolfgang Huß
82f3eb2a29
Delete comments
2020-02-20 11:09:43 +01:00
Wolfgang Huß
5c7f92e557
Remove user GQL prop 'filedUnclosedReportByCurrentUser' again
...
- Shall be implemented in a later PR.
2020-02-20 10:54:34 +01:00
Wolfgang Huß
4bd7f61fcc
Refactor GQL schema, resolvers and moderators report list
...
- Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2020-02-20 10:35:37 +01:00
Wolfgang Huß
3421afe4e0
Refactor tests, next step
2020-02-19 13:33:00 +01:00
Wolfgang Huß
5ffaac193d
Refactor tests, going on
2020-02-19 11:37:31 +01:00
Wolfgang Huß
f380915b2c
Refactor GQL and tests, first approach
2020-02-19 08:09:14 +01:00
Robert Schäfer
b003fb3f10
Merge pull request #2589 from Human-Connection/2587-geolocation-swap-lng-with-lat
...
fix: swap lat and lng
2020-02-18 17:55:57 +01:00
mattwr18
44d503c53c
Merge pull request #3090 from Human-Connection/2202_do_not_encode_the_entire_user_in_bearer_token
...
fix(jwt): Whitelist encoded JWT attributes
2020-02-18 14:37:15 +01:00
roschaefer
e41a639cf1
fix(jwt): Encode only 3 attributes in JWT
...
This will prevent unintentional encoding of users email addresses in the
JWT.
@steffi201028 this might be interesting for you as well.
2020-02-18 11:23:04 +01:00
mattwr18
3398c2c12a
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 3054-add-e2e-tests-image-uploader
2020-02-17 18:38:09 +01:00
mattwr18
fa02a4dd33
Write cypress tests for ImageUploader
...
- have I missed any important features? too many tests?
2020-02-12 17:53:38 +01:00
Moriz Wahl
1ae6769c7d
spec for location swapped lng and lat too
2020-02-11 11:33:47 +01:00
mattwr18
f16c8b27e7
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1703-add-vue-apollo-subsriptions
2020-02-10 17:37:34 +01:00
mattwr18
5347f734af
Fix cypress tests/frontend implementation
...
- Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2020-02-10 16:25:00 +01:00
mattwr18
bcf9680ad9
Add type resolver for hasBlocked
2020-02-10 14:33:49 +01:00
mattwr18
c2802aa4f2
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 3033-fix-block-users-bug
2020-02-10 14:24:32 +01:00
mattwr18
3b29d480e3
Display unblock feature only for blocking user
...
- add hasBlocked query to check if userA initiated the blocking and, if
true, only them to unblock userB.
- add cypress tests to make sure we don't break this in the future.
2020-02-10 12:34:40 +01:00
mattwr18
6271b53b30
Set up Subscriptions with RedisPubSub
2020-02-07 14:48:55 +01:00
Moriz Wahl
976583b235
fixing test for geolocation
2020-02-06 19:56:44 +01:00
Moriz Wahl
ef9d351fcf
swap lat and lng
2020-02-06 19:56:44 +01:00
mattwr18
0851ad4c50
Add end line
2020-02-06 10:33:56 +01:00
mattwr18
6cf067937d
Clean up
...
- remove the code for subscriptions to Post as we won't implement this
at this time... I've created a new branch with the code that can be
built on later
- remove unused subscription path
- add possibility to use websockets uri for production env.
2020-02-05 20:24:23 +01:00
mattwr18
1c6a5503db
Get subscriptions working with notifyUserOfComment
...
- Co-Authored-By: Tirokk <wolle.huss@pjannto.com>
2020-02-05 19:06:55 +01:00
mattwr18
110165691a
Refactor out transformReturnType function
...
- we have introduced a better way to return all the info we want without
needing to make multiple database queries. It was introduced by
@roschaefer in the PR for the notifications query, but we hadn't
refactored markAsRead yet.
- Now that we are subscribing to notifications, we need to have the same
return info as the notification query.
- Co-authored-by: Tirokk <wolle.huss@pjannto.com>
2020-02-05 18:42:31 +01:00
mattwr18
2f43069ea0
Subscribe to notifications/remove polling
...
- We want to publish when a notification occurs for a specific user, not
have the client poll the backend for ever user every minute.
- Co-authored-by: @Tirokk <wolle.huss@pjannto.com>
2020-02-05 17:37:38 +01:00
mattwr18
04f0467d2d
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1703-add-vue-apollo-subsriptions
2020-02-05 14:33:57 +01:00
roschaefer
fa0e64b7cb
Merge remote-tracking branch 'origin/master' into refactor_factories_with_rosie
...
There was a single step definition that created a post and a comment. I
would say let's put that in two different steps.
2020-02-01 13:33:07 +01:00
mattwr18
60cd593826
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1724-block-users
2020-01-30 10:47:50 +01:00
mattwr18
bcc1ab167e
Improve styling per @alina-beck review
2020-01-30 10:46:43 +01:00
roschaefer
fc367297e3
Get rid of different factory files
...
..and fix some cypress tests
2020-01-28 23:12:50 +01:00
roschaefer
2fc71d75a5
Refactor factory for comments
2020-01-28 22:43:27 +01:00
roschaefer
95bfb090fd
Refactor factory for posts
2020-01-28 22:43:26 +01:00
roschaefer
2a79c53765
Refactor user factory
2020-01-28 22:43:26 +01:00
mattwr18
a28eb8c91f
Start subscriptions for notifications
2020-01-24 18:23:59 +01:00
roschaefer
3be5dee08b
Draft: Setup subsriptions for backend+frontend
...
Please clean up this commit and squash it later on.
2020-01-24 17:25:45 +01:00
mattwr18
f8f62cc71f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into neo4j_data_migrations
2020-01-23 20:42:44 +01:00
Mike Aono
d49afc25cf
test(cypress): Cover "Pinned post" feature
...
* Implement cypress tests
- Start implementation of cypress tests for pinned posts
* Test that Admin can pin a post
- Tests the process of an admin pinning a post
* Resolve failing tests
- Fix ordering of posts immediately after pinning posts by reloading page
- Check that tests are pinned posts are displayed first for role user
* Refactor to seperate the initialization
- Of the post data created in the database during setup
* Fix toaster test
* test(cypress): Add missing parts for pin feature
* docs(cucumber): Link to admin 🥒 folder
* Follow @mattwr18's suggestions
* test(backend): Order pinned posts like frontend
@mattwr18 I think this was a false negative.
Co-authored-by: Robert Schäfer <git@roschaefer.de>
2020-01-23 20:30:12 +01:00
mattwr18
bbb4dd56cd
Follow review suggestions/add button to unblock
...
- @roschaefer gave several suggestions
- we have a button to unblock/unmute users on profile page
2020-01-23 19:18:12 +01:00
mattwr18
8accc62f18
Merge branch 'master' of github.com:Human-Connection/Human-Connection into neo4j_data_migrations
2020-01-22 15:23:11 +01:00
mattwr18
0ab19dde2a
Insert missing closing parantheses breaking search
2020-01-22 13:55:57 +01:00
mattwr18
1de99511db
Include BLOCKED users in search results
2020-01-22 10:43:30 +01:00
mattwr18
3354174a53
Fix muted user can still see my posts
2020-01-22 10:34:10 +01:00
mattwr18
e639358557
Test drive to get the functionality how we'd like
2020-01-21 21:16:42 +01:00
mattwr18
704b8c2d57
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1724-block-users
2020-01-21 21:15:03 +01:00
mattwr18
bcae52180e
Remove filter on posts for BLOCKED
2020-01-21 19:28:03 +01:00
mattwr18
c7ee90e980
Follow @roschaefer PR suggestions
...
- As blocking is now reciprocal, we do not need another query, we can
use neo4j-graphql-js magic to query for a BLOCKED relationship between
the postAuthor and the currentUser
2020-01-21 18:50:46 +01:00
mattwr18
8fe6ad77e0
Merge pull request #2686 from Human-Connection/279-blacklist-users-content
...
feat: Convert block/unblock to mute/unmute
2020-01-21 17:05:09 +01:00