aonomike
58d1ce6515
Refactor tests for reporting a post
2019-10-19 14:27:51 +03:00
aonomike
28f0431ffa
Refactor tests for reporting a user
2019-10-19 13:34:54 +03:00
aonomike
bcb880db5e
Start refactor of authenticated user path
...
- Refactor report invlid resource
- Start refactor of valid resource path
2019-10-19 12:51:16 +03:00
aonomike
cf5042d9a4
Refactor report resolver spec
...
- Set up the apollo server testing
- Refactor unauthenticated path for the mutation
2019-10-19 11:35:36 +03:00
roschaefer
16d07bd3ba
refactor: lint, frontend tests, vuex store
...
This fixes the lint errors and failing frontend tests. Also, when the
user chooses another orderBy, the menu gets translated.
The refactoring moves code and complexity into the vuex store where it
can be tested separately.
2019-10-18 21:58:53 +02:00
mattwr18
e37736500a
Move comment to above relevant code
2019-10-18 19:05:00 +02:00
mattwr18
7e40295129
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1205-pinned-post-for-admins
2019-10-18 19:03:45 +02:00
mattwr18
8872dc16cf
Follow @Tirokk 's PR review suggestions
...
- add type :User to match
- remove unneeded outdated pinPost
2019-10-18 18:27:20 +02:00
mattwr18
73002cf694
Merge pull request #1946 from Human-Connection/dependabot/npm_and_yarn/webapp/tiptap-extensions-1.28.4
...
build(deps): bump tiptap-extensions from 1.28.3 to 1.28.4 in /webapp
2019-10-18 16:33:25 +02:00
mattwr18
6853ac284d
Merge pull request #1943 from Human-Connection/dependabot/npm_and_yarn/backend/metascraper-soundcloud-5.7.7
...
build(deps): bump metascraper-soundcloud from 5.7.6 to 5.7.7 in /backend
2019-10-18 16:31:34 +02:00
mattwr18
86d8f833ee
Merge pull request #1942 from Human-Connection/fix_frontend_tests
...
fix: console warnings during frontend tests
2019-10-18 16:28:14 +02:00
Nimit Bhargava
7330987a69
fix - maintaining sorting after navigation
2019-10-18 16:03:14 +02:00
mattwr18
9f70012556
Fix lint
2019-10-18 15:55:47 +02:00
mattwr18
7f2adfaa9e
Add back missing locale to type User
2019-10-18 15:20:06 +02:00
mattwr18
ddf8b657be
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1205-pinned-post-for-admins
2019-10-18 15:17:03 +02:00
Alexander Friedland
c819edc293
Merge pull request #1927 from Human-Connection/Set_and_save_language_in_user_settings
...
Language will be saved in the database of the user during registration
2019-10-18 15:11:04 +02:00
mattwr18
be0c8044e8
Return pinnedAt date from pinPost resolver/clean up
...
- it's good to return the pinnedAt date for ordering
- move test to a better describe block
- remove unneeded outdated variables from graphql/PostQuery UpdatePost
- fix indentation in Post.gql
- fix pinnedAt to return pinned.createdAt, not post.createdAt
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-10-18 15:10:26 +02:00
Alexander Friedland
f6e87b87ff
locale
...
change language to locale
2019-10-18 12:54:55 +02:00
ogerly
9aa904e3d3
Merge branch 'Set_and_save_language_in_user_settings' of https://github.com/Human-Connection/Human-Connection into Set_and_save_language_in_user_settings
2019-10-18 12:27:58 +02:00
ogerly
e2818fbf21
step back
2019-10-18 12:27:52 +02:00
Alexander Friedland
1fce840efb
locale
...
change language to locale
2019-10-18 12:16:32 +02:00
Alexander Friedland
a6108f6a00
locale
...
change language to locale
2019-10-18 12:15:21 +02:00
Alexander Friedland
abaa9b7759
locale
...
change language to locale
2019-10-18 12:14:11 +02:00
Alexander Friedland
713feb4347
locale
...
change language to locale
2019-10-18 12:13:01 +02:00
Alexander Friedland
6d1bf2c3e8
locale
...
change language to locale
2019-10-18 12:10:44 +02:00
Alexander Friedland
3346048e3e
locale
...
change language to locale
2019-10-18 11:53:29 +02:00
Alexander Friedland
0b5c1f831d
locale
...
change language to locale
2019-10-18 11:52:48 +02:00
Alexander Friedland
bfb3923023
locale
...
change language to locale
2019-10-18 11:50:42 +02:00
Alexander Friedland
18fe54e095
Update Registration.js
...
change language to locale
2019-10-18 11:49:14 +02:00
mattwr18
6d63434751
Merge pull request #1951 from Human-Connection/update-version-to-0.1.5
...
Update to version 0.1.5
2019-10-18 11:39:20 +02:00
mattwr18
bb053afcad
Update to version 0.1.5
2019-10-18 11:05:34 +02:00
dependabot-preview[bot]
3d6ec2c216
build(deps): bump tiptap-extensions from 1.28.3 to 1.28.4 in /webapp
...
Bumps [tiptap-extensions](https://github.com/scrumpy/tiptap ) from 1.28.3 to 1.28.4.
- [Release notes](https://github.com/scrumpy/tiptap/releases )
- [Commits](https://github.com/scrumpy/tiptap/compare/tiptap-extensions@1.28.3...tiptap-extensions@1.28.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-18 04:19:27 +00:00
dependabot-preview[bot]
81e21ced91
build(deps): bump metascraper-soundcloud from 5.7.6 to 5.7.7 in /backend
...
Bumps [metascraper-soundcloud](https://github.com/microlinkhq/metascraper-soundcloud ) from 5.7.6 to 5.7.7.
- [Release notes](https://github.com/microlinkhq/metascraper-soundcloud/releases )
- [Commits](https://github.com/microlinkhq/metascraper-soundcloud/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-18 04:16:28 +00:00
Kapil Jain
dad9626656
fixed lint errors
2019-10-17 20:20:01 -04:00
Kapil Jain
202316e0a3
Fixed formatting
2019-10-17 19:45:39 -04:00
mattwr18
411bbabcd5
Add profilePagePostsQuery to deal with bug
...
- we do not want to add pinnedPosts to every user's profile page
2019-10-18 00:42:44 +02:00
roschaefer
25f2fc358d
fix: console warnings during frontend tests
2019-10-18 00:21:43 +02:00
mattwr18
b45fd51d15
Pin post on user profile as well
2019-10-18 00:13:01 +02:00
mattwr18
b800c7d5c9
Resolve pinnedAt undefinedToNull, clean up
...
- this was causing the noftications to break since they were using the
post fragment and pinnedAt was returning null
- remove unused bits of code
- revert changes to cypress since they were not causing the error
- can be changed in another PR
2019-10-18 00:01:46 +02:00
mattwr18
8b27250393
Fix vue warning webapp, try to find source of cypress failure
...
- clean up
2019-10-17 22:44:44 +02:00
mattwr18
973912fb87
Add tests for unpinPost, refactor
...
- following @roschaefer 's PR review suggestions
- simplify UpdatePost by using pinPost/unpinPost
- did not remove filtering because attempting to have two queries caused
problems as well to do with duplicate records, etc... and it's working
now
2019-10-17 21:51:41 +02:00
Kapil Jain
f6e70bee25
fix conflicts with merge
2019-10-17 15:17:54 -04:00
roschaefer
3e04b26068
Add styling to pinned post
2019-10-17 17:56:16 +02:00
mattwr18
cbeecce775
Prefer persistent pinnedPost filter in backend
2019-10-17 17:56:16 +02:00
mattwr18
f871df02ae
Start setting up frontend pinning/unpinning
...
- Add pin/unpin post to content menu
- Update apollo cache to reactively unpin
- Update apollo cache in root path to re-order Posts
- Order with pinned post first
- Start setting up filters, so that the pinned post is always the first
post visible
2019-10-17 17:56:16 +02:00
mattwr18
36f6be9e36
Support unpinning Post
2019-10-17 17:56:16 +02:00
mattwr18
dd55d11739
Add backend test for PostOrdering
2019-10-17 17:56:16 +02:00
mattwr18
f1243c6df0
Add createdAt attribute to PINNED and test
2019-10-17 17:56:16 +02:00
mattwr18
0007533b8c
Add tests that admin can pin anyone's post/limit 1 pinned post
2019-10-17 17:56:16 +02:00
mattwr18
64f9d02c1a
Start refactoring backend to pin posts on update
...
- we want to give the admins the ability to create posts, then pin them
later, or pin other admins posts, etc...
2019-10-17 17:56:15 +02:00