122 Commits

Author SHA1 Message Date
e87a33eb3f
feat(backend): push posts (#8609)
* push posts

push posts

* unpush posts

* fix comment query

* locales

* fix locales

* fix tests

* Update webapp/locales/de.json

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>

* Update webapp/locales/de.json

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>

* Update webapp/locales/de.json

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>

* fix unpushedSuccessfully english message

* remove paremeters from unpushPost

* rename pushPostToTop -> pushPost, tests

* update locales & tests webapp

* fix lint

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-06-03 17:57:21 +02:00
Moriz Wahl
b736a2a2e3
feat(backend): pin more than one post (#8598)
* feat(backend): pin more than one post

* add postPinnedCount query, better names for env variable

* add store and mixin for pinned posts counts

* test pinned post store

* context menu for pin posts

* fix typos

* unpin posts is always possible

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-28 19:12:27 +02:00
Moriz Wahl
a3178a91b4
refactor(webapp): store for categories (#8551)
* after authentification, query the categories if active and store them

* get categories from store

* use category store to get categories

* get categories from store

* mock store to have access to categories

* to get rid of the active categories config variable in the frontend, the Category query returns an empty array when categories are not active

* remove CATEGORIES_ACTIVE from .env

* should return string to avoid warnings in console

* replace all env calls for categories active by getter from store

* use categoriesActive getter

* ignore order of returned categories

* mixin to get the category infos from the store, to ensure, that the quey has been called

* fix misspelling

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-27 15:03:26 +02:00
Max
ce1844e521
feat(webapp): several group and personal invitation links (#8504)
* invite codes refactor

typo

* lint fixes

* remove duplicate initeCodes on User

* fix typo

* clean permissionMiddleware

* dummy permissions

* separate validateInviteCode call

* permissions group & user

* test validateInviteCode + adjustments

* more validateInviteCode fixes

* missing test

* generatePersonalInviteCode

* generateGroupInviteCode

* old tests

* lint fixes

* more lint fixes

* fix validateInviteCode

* fix redeemInviteCode, fix signup

* fix all tests

* fix lint

* uniform types in config

* test & fix invalidateInviteCode

* cleanup test

* fix & test redeemInviteCode

* permissions

* fix Group->inviteCodes

* more cleanup

* improve tests

* fix code generation

* cleanup

* order inviteCodes result on User and Group

* lint

* test max invite codes + fix

* better description of collision

* tests: properly define group ids

* reused old group query

* reuse old Groupmembers query

* remove duplicate skip

* update comment

* fix uniqueInviteCode

* fix test

* fix lint

* Get invite codes

* Show invitation data in registration

* Add invitation list to menu (WIP)

* Add mutations, add CreateInvitation, some fixes

* Improve style, fix long comments

* Lock scrolling when popover is open, but prevent layout change

* small fixes

* instant updates

* Introduce config for link limit; add texts, layout changes

* Validate comment length

* Improve layout

* Add message to copied link

* Add invite link section to group settings

* Handle hidden groups

* Add menu entry for group invite links

* Fix locale

* hotfix invite codes

* Add copy messages

* More styling (WIP)

* Design update

* Don't forget user state

* Localize placeholder

* Add locale

* Instant updates for group invites

* fix registration with invite code

* Fix text overflow

* Fix instant updates

* Overhaul styles, add locales, add heading

* Add test and snapshot for CreateInvitation

* Improve accessability; add invitation test

* Add tests for InvitationList

* Fix locales

* Round plus button

* Fix tests

* Fix tests

* fix locales

* fix linting

* Don't show name of hidden group in invite message

* Add more tests

* Update webapp/locales/de.json

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>

* Update webapp/locales/de.json

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-10 08:25:03 +00:00
Markus
cbf93628a5 [feature] have all button for source filter option 2023-07-28 14:05:26 +02:00
Markus
5bae7cbd94 [feature] open chat page via link from single chat window and open the used room after loading 2023-07-19 15:54:31 +02:00
Moriz Wahl
74af799217 unread room count in store 2023-07-17 19:28:56 +02:00
dd4e6bf2dc
fix open chat functionality after relog co-authored-by: Ogerly <https://github.com/ogerly> 2023-07-11 12:13:46 +02:00
27de68e136
lint 2023-07-06 13:09:55 +02:00
610d279465
fixable lints 2023-07-06 13:08:41 +02:00
ccfaddd729
remove console log in store 2023-07-06 12:51:34 +02:00
38d555bdf8
rename chat-modul to chat 2023-07-06 12:30:50 +02:00
ogerly
1cb486cc8c chat-modul structur, add store state roomID 2023-07-06 11:30:55 +02:00
ogerly
9b4a71bd96 add store chat-modul, showChatModul 2023-07-06 07:17:38 +02:00
Moriz Wahl
ff41c04cf9 test RESET_POST_TYPE 2023-06-02 19:08:45 +02:00
Moriz Wahl
72ef3fe6f2 clone filter for toggle events ended 2023-06-02 18:52:49 +02:00
Moriz Wahl
fdf4eb6bdc get closer to master 2023-06-02 18:25:13 +02:00
Moriz Wahl
f252c76670 recover filteredPostTypes getter 2023-06-02 18:05:37 +02:00
Moriz Wahl
2ae6c350e1 get things working 2023-06-02 17:46:00 +02:00
Moriz Wahl
ba80f14d8c refactor store and store tests 2023-06-02 16:55:01 +02:00
Wolfgang Huß
52798c1174 Refactor 'TOGGLE_EVENTS_ENDED' and 'eventsEnded' in store to contain the event start date 2023-06-02 11:04:28 +02:00
Wolfgang Huß
7687d6f28c Move 'setUnsetPostTypeFilter' to the store 2023-06-01 19:27:13 +02:00
Wolfgang Huß
52839f4b22 Move 'unsetAllPostTypeFilters' to the store 2023-06-01 19:07:07 +02:00
Wolfgang Huß
52c474536f Move all computed in file 'filterMenuMixin.js' to the store 2023-06-01 18:00:41 +02:00
Wolfgang Huß
fab85aea78 Implement showing of only ended events on newsfeed 2023-05-31 18:31:27 +02:00
Moriz Wahl
153ef7ae14 test getters and setters for post type filters 2023-04-25 22:12:41 +02:00
Moriz Wahl
fa4ecaa3f6 filter by post type 2023-04-25 22:02:44 +02:00
Moriz Wahl
32aa5892a6 improve code 2023-03-06 16:29:35 +01:00
Moriz Wahl
d2462c34f1 add filter by posts in my groups to store and test it 2023-03-06 16:00:50 +01:00
Wolfgang Huß
7888d93a7f Cleanup 2021-04-12 15:59:44 +02:00
Wolfgang Huß
245be52ac8 Translate order by
- Cleanup the store.
- Fix tests.
2021-04-12 15:54:56 +02:00
Wolfgang Huß
16d8a42d9b Implement or move sort by date filter in filter menu 2021-04-12 15:09:28 +02:00
Wolfgang Huß
7dbc833e22 Merge branch '2144-Add_Search_Results_Page' of https://github.com/Human-Connection/Human-Connection into HC-2144-Add_Search_Results_Page
# Conflicts:
#	webapp/pages/profile/_id/_slug.vue
2021-01-18 14:12:13 +01:00
Moriz Wahl
c8d04a1604 mock cookie for testing 2021-01-07 14:26:10 +01:00
Moriz Wahl
43852a5f26 name of cookie is set by metadata.js 2020-12-21 13:41:42 +01:00
Moriz Wahl
c405e008e4 checks that a cookie exists after login. If not, throw an error saying that no cookie can be set 2020-12-18 11:31:16 +01:00
mattwr18
db20af2d39 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2144-Add_Search_Results_Page 2020-04-02 08:19:43 +02:00
mattwr18
06985c2dbb chore: fix lint w/ new linting rules 2020-03-26 18:55:10 +01:00
mattwr18
cb0a3f5cdd chore: Fix lint w/ new linting rules 2020-03-26 10:14:51 +01:00
mattwr18
e400a10c45 chore: rename/refactor filter, make responsive
- Make the emotions filter similar in style to CategoriesFilter
2020-03-25 11:02:28 +01:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
mattwr18
906f1bc0ca Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2144-Add_Search_Results_Page 2020-03-19 16:02:54 +01:00
Robert Schäfer
512ef672bf
feat: Introduce graphql image type (#3043)
* refactor(graphql): Introduce image type

* Undo changes to .travis.yml

* chore: Upgrade travis to node LTS

- URL is available since v10

* chore: use lts

Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
ogerly
cbacbec724 feat: search on a new search page 2020-03-14 07:21:22 +01:00
roschaefer
7d9cbb3ce9 perf(neo4j): Improve currentUser read performance 2020-03-04 13:32:30 +01:00
mattwr18
ebc5cf392d Fix search by adding result id
- Apollo cache requires an id to commit to their store
- add id to each query result
- refactor out the store
- still can use a lot of refactoring
2019-12-13 12:30:00 +01:00
Moriz Wahl
72e4d0abbc Basic Search Is Working For Users And Posts
The story of SearchInput.vue throws errors because of line 81, dateTime. What must be included to fix this?
The search results shown by the frontend are sometimes differnt from the response of the backend. It shows no results found though there are results incoming.
Tests are not implemented yet.
2019-12-10 10:36:08 +01:00
Robert Schäfer
735a31ed00
Merge pull request #2101 from Human-Connection/1747-show-shouts
1747 show shouts
2019-11-18 17:00:43 +01:00
roschaefer
36062ffa8c Fix lint 2019-11-16 14:34:23 +01:00
Robert Schäfer
f6550b9b00
Merge pull request #2248 from Human-Connection/2240-infinite-scrolling-out-of-control
Fix infinite scrolling out of control
2019-11-15 17:03:31 +01:00