mattwr18
f51ad1131b
UpdateDonations from admin/donations
...
@alina-beck I'm not 100% satisfied with this at the moment. I think that
the admin could have the goal and progress initialized from a query for
the Donations, and be able to update if one of them changed... what do
you think?
2019-11-11 19:16:07 +01:00
Wolfgang Huß
677039b786
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# webapp/pages/moderation/index.vue
2019-11-11 17:52:58 +01:00
roschaefer
8e129c6001
fix: update counter when notification is read
...
@mattwr18 vue-apollo rocks! Taking the time to study the docs is a
rewarding investment.
My first idea was to cache the `unreadNotificationsCount` with Vuex.
But the docs of apollo even suggest to use apollo's local state as a
complete replacement of Vuex:
https://vue-apollo.netlify.com/guide/local-state.html
Then I further investigated why the updated `NOTIFIED` objects won't
update the notification counter. Turns out: They don't have an ID and
the computed property didn't fire when the notifications array would
change. I fixed both in this commit and yes, it works as expected.
No additional code required 💪
2019-11-11 08:52:04 +01:00
mattwr18
7007b1c444
Paginate notifications, reusable component w/ test
2019-11-11 08:50:35 +01:00
mattwr18
b79770469f
Update notifications page
...
- display more notifications by simplifying the table
- get sorting working
2019-11-11 08:50:35 +01:00
mattwr18
7cdc12f4b9
Add notifications page with Notifications in table
...
- At the moment, the notifications are displayed in a table, and have
the same functionality as the NotificationMenu where you can click on
the title of the Post and visit the Post
- Unsure about the styling, it would kind of be nice to have a more
condensed list to see more notifications per page, but still be able to
click on a row and visit the Post
2019-11-11 08:50:35 +01:00
Wolfgang Huß
553a3ca2cb
Implement 'decide' button and functionality
2019-11-08 17:29:09 +01:00
Wolfgang Huß
2a23bbf101
Refactor frontend and 'reports' query again
2019-11-07 15:54:26 +01:00
Joseph Ngugi
044155a298
add allowShouts mutation
2019-10-31 21:22:44 +03:00
Wolfgang Huß
54be7782ba
First refactoring tests to new database structure
2019-10-30 16:59:24 +01:00
Wolfgang Huß
92605558ec
Correct spelling of comment
2019-10-25 14:55:05 +02:00
Wolfgang Huß
a949fce606
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-10-25 13:19:19 +02:00
mattwr18
a38731fcae
Merge pull request #1991 from Human-Connection/Locale_save_by_change_LocalSwitch
...
Locale save by change local switch
2019-10-24 10:02:46 +02:00
Wolfgang Huß
f5126e919f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-10-23 08:22:41 +02:00
ogerly
9dccb5fc0a
Save language for the user permanently when changing the language
2019-10-22 11:34:04 +02:00
Wolfgang Huß
db77448505
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-10-18 15:42:55 +02:00
Wolfgang Huß
965882885a
Refactor moderators report list
2019-10-18 15:41:18 +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
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
1fce840efb
locale
...
change language to locale
2019-10-18 12:16:32 +02:00
Alexander Friedland
18fe54e095
Update Registration.js
...
change language to locale
2019-10-18 11:49:14 +02: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
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
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
ogerly
97dad41b27
Set language will be saved in the database of the user during registration
2019-10-16 15:01:07 +02:00
mattwr18
f9fe93e550
Update reportListQuery to not request resourceId back
2019-10-14 21:56:28 +02:00
mattwr18
8e34b9581b
Update sneaky report mutation
2019-10-14 21:45:46 +02:00
Wolfgang Huß
82228c6c99
Refactored backend database to a single REPORTED relation
2019-10-11 16:35:15 +02:00
Wolfgang Huß
94c7d73019
Merge branch '1707-reporting-with-specific-information' of github.com:Human-Connection/Human-Connection into 1707-refactor-db-reporting-with-specific-information
2019-10-11 08:17:15 +02:00
Wolfgang Huß
2a034ee74f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-reporting-with-specific-information
...
# Conflicts:
# webapp/locales/de.json
2019-10-11 08:16:00 +02:00
Wolfgang Huß
a07010f50c
First step of implementing direct report relation
2019-10-10 15:38:20 +02:00
Alexander Friedland
39b3d71be4
Merge branch 'master' into Allow_embedded_code_in_posts_permanent_memory
2019-10-07 10:35:04 +02:00
Wolfgang Huß
43e401293d
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-reporting-with-specific-information
2019-10-07 08:45:34 +02:00
Wolfgang Huß
935252a16e
Rename variables, parameters and properties
2019-10-04 15:21:07 +02:00
Wolfgang Huß
b4f47997b3
Centralized and refactored report mutations and queries
2019-10-04 10:40:18 +02:00
mattwr18
a5e3c52e1d
Show that a Post/Comment has been edited
2019-10-03 12:01:04 +02:00
roschaefer
0592f685f6
Basic email change works
2019-10-02 00:54:01 +02:00
roschaefer
80ce079920
Implement first page to change email address
2019-10-02 00:54:01 +02:00
ogerly
63d5140420
break two - two
2019-09-30 11:38:29 +02:00
Alexander Friedland
deb21f6edb
Merge branch 'master' into Allow_embedded_code_in_posts_permanent_memory
2019-09-25 19:11:05 +02:00
ogerly
e8f771b59a
first mega PR crazy update, all work
2019-09-25 18:39:01 +02:00
roschaefer
e6d7d1a936
Fix #1650
2019-09-20 20:05:27 +02:00
Vasily Belolapotkov
37a0ab6902
update client to use proper follow/unfollow mutation
2019-09-20 16:57:55 +03:00
Robert Schäfer
d830fa4ae4
Merge pull request #1596 from Human-Connection/1583-follow-mutation
...
Improve follow/ufollow mutation
2019-09-19 16:54:35 +02:00
Vasily Belolapotkov
39db954ec6
improve follow/unfollow mutation usage
2019-09-19 12:10:59 +03:00
mattwr18
de0837bbd3
Merge pull request #1572 from Human-Connection/set_created_at_in_cypher
...
Fix bug where Post.createdAt is sometimes null
2019-09-16 14:38:13 +02:00
Wolfgang Huß
22a005eb1c
Show categories translated in all places and even in tooltips
...
Show `#` symbol in front of hashtags.
Minor design changes on posts more info page.
2019-09-16 11:14:13 +02:00
mattwr18
16d7e6c91a
Update notifications
...
- create only one relationship by using merge, but do not update
createdAt attribute/update test
- order by updatedAt_desc
2019-09-13 20:14:47 +02:00
Wolfgang Huß
379f7d1ed7
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1455-fix-update-comment-list
...
# Conflicts:
# webapp/components/Comment.vue
# webapp/components/CommentForm/CommentForm.spec.js
# webapp/components/CommentForm/CommentForm.vue
# webapp/components/EditCommentForm/EditCommentForm.vue
# webapp/store/editor.js
2019-09-11 07:58:40 +02:00
roschaefer
b656b5aeb9
Check that about actually gets saved
2019-09-10 15:39:34 +02:00