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
Wolfgang Huß
a5ee90a95d
fix(webapp): refine little things ( #8382 )
...
* Refine locals of some internal pages headlines
* Fix tool tip text
* Fix 'email' -> 'e-mail'
* Syncronize 'metadata.ts' with webapp
* Refine e-mail notifications
* Adjust notification settings buttons
* Refine third party setting
* Fix post teaser counter icon tooltips translations
* Refine e-mail notifications
* Refine third party setting
* notification spec snapshot
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-04-28 13:32:23 +00:00
8cf405c549
feat(backend): badges ( #8391 )
...
* delete all old badges
* reward/unrewardBadge
* verification Badges
* name all badged accordingly
* more tests, lint
* seed badges
* profileBadge mechanic
* badgesUnusedCount
* seed profileBadges set
* configure profile badge count
* insert badges db:data:badges:default
* seed commands to seed default badges and allow to seed branding data
* copy data migrations when building docker
* typo
* correct data:branding command & document it
* test new functionality
* Update backend/src/db/seed/badges.ts
Co-authored-by: Max <maxharz@gmail.com>
* Update backend/src/db/seed/badges.ts
Co-authored-by: Max <maxharz@gmail.com>
* Update backend/src/db/seed/badges.ts
Co-authored-by: Max <maxharz@gmail.com>
* naming coventions
* final naming fix
lint
fix build
fix badge type in test
renamed badge_ to trophy_
lint fixes
small renameing
fixes
fix users spec
fix webapp queries
fix display
* expose badge description
---------
Co-authored-by: Max <maxharz@gmail.com>
2025-04-17 23:08:54 +00:00
Max
1e6a74b8ce
feat(frontend): observe posts ( #8293 )
...
* After creating the post, the author of it automatically observes it to get notifications when there are interactions
* a user that comments a post, automatically observes that post to get notifications when there are more interactions on that post
* mutation that switches the state of the obeservation of a post on and off
* remove duplicate code
* fix unit tests
* add metric observed users count to posts
* change naming
* Add follow post entry to post menu
* Add FollowButton (WIP), show unfollow in menu when already followed
* Follow/unfollow post => observe
* Update slashed bell
* Add requests to observe/unobserve posts
* Add ObserveButton functionality
* Rename isObservedByMe
* Add observingUsersCount; simplify ObserveButton and menu entries
* Fix locales
* Add snapshot test for ObserveButton (WIP)
* Remove empty routes push
* Add test for ObserveButton
* Add test for ContentMenu, improve ObserveButton test
* Remove unneeded fields from PostQuery
---------
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2025-04-04 11:54:43 +00:00
Wolfgang Huß
4c0eed3e92
Fix wrong master merge
2024-02-12 11:23:48 +01:00
Markus
d8ceca17da
fixed issue in postteaser
2024-02-01 15:48:42 +01:00
Markus
15786d48d1
fixed css warning
2024-02-01 11:56:55 +01:00
Markus
3707fade72
[feature] redesigned post teaser date info
2024-02-01 10:03:41 +01:00
mahula
7480f2c523
replace deprecated jest methods in webapp unit tests
2023-10-31 11:10:38 +01:00
Wolfgang Huß
1390e4ff36
Change date time range on post teaser to be under eachother
2023-06-08 16:42:35 +02:00
Wolfgang Huß
04290921fc
Move event location name to an own component
2023-06-07 16:40:51 +02:00
Wolfgang Huß
2a4046555b
Cleanup
2023-06-07 15:47:34 +02:00
Wolfgang Huß
52cf19d5fc
Rename component 'DateRange' to 'DateTimeRange'
2023-06-07 15:46:18 +02:00
Wolfgang Huß
7ad74b1398
Move date time range to an own component
2023-06-07 14:07:22 +02:00
Wolfgang Huß
2ba2da75a3
Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into event-master
2023-05-25 09:39:03 +02:00
Moriz Wahl
e3eaaf4435
fix tests for contribution form
2023-05-23 11:04:01 +02:00
Moriz Wahl
59e7f8c0d2
fix post teaser unit tests and linting
2023-05-22 17:12:32 +02:00
ogerly
6b6eeab655
fix lint
2023-05-17 11:03:10 +02:00
ogerly
ff559e71db
merge #6045 #6267 , resolve conflicts, fix save image
2023-05-17 11:01:49 +02:00
Markus
f2256c8146
[webapp] added event infos to postteaser component
2023-05-10 14:12:07 +02:00
ogerly
2c5576f8a1
fix lint, fix locales
2023-04-25 22:11:25 +02:00
ogerly
c930dd6d52
last step construct
2023-04-25 18:45:23 +02:00
ogerly
bc008ddb86
teaser event green
2023-04-25 16:18:40 +02:00
ogerly
5387c16fd5
ribbonText
2023-04-25 15:23:02 +02:00
ogerly
032b65fb92
teasr 2
2023-04-25 14:24:31 +02:00
ogerly
affc392b10
teasr
2023-04-25 14:05:17 +02:00
Markus
9454b7b541
[WIP] fixing layout on newsfeed page
2023-03-17 18:21:56 +01:00
Wolfgang Huß
fdb451c87a
Merge branch 'master' into 3157-fix-post-ribbons-position
2023-03-14 19:15:51 +01:00
Markus
47d7ed3cad
added linting for postteaser
2023-03-14 12:03:36 +01:00
Wolfgang Huß
b41794aab8
Merge branch 'master' into 5983-change-design-of-topics(categories)-of-post-teaser
2023-03-14 10:00:28 +01:00
Markus
a5d6bd037b
set ribbons position as divider between user teaser and hero image on post teaser component
2023-03-13 20:52:13 +01:00
Wolfgang Huß
3f875525f2
Change shout icon 'bullhorn' to 'heart-o'
2023-03-09 18:41:34 +01:00
Wolfgang Huß
cfb07809c7
Rename 'HcCategory' to 'Category' on main index page
2023-03-09 15:23:10 +01:00
Moriz Wahl
4ce5bdd6fa
get most components working
2023-02-15 10:23:34 +01:00
ogerly
11e992aa1d
filters colored which were selected by filter
2023-02-09 09:14:37 +01:00
ogerly
a310c1fe83
add category name in tooltip
2023-01-22 12:54:48 +01:00
Wolfgang Huß
731f3a51aa
Add group to user teaser, on post page, and on news feed
2022-10-17 18:45:02 +02:00
Wolfgang Huß
7b11122bea
Refine design and functionality of group list and create, edit group
2022-09-26 10:31:00 +02:00
Wolfgang Huß
a48a338e26
Merge branch 'category-tooltipps' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-groups/5318-group-profile-description-etc
...
# Conflicts:
# webapp/components/PostTeaser/PostTeaser.vue
# webapp/pages/post/_id/_slug/index.vue
2022-09-16 07:18:25 +02:00
Wolfgang Huß
7f397b4669
Set Vue tooltip delay to 1500 ms and remove unneeded properties
2022-09-16 07:05:21 +02:00
Moriz Wahl
64153ea9e3
change delay of category tooltip to 1500
2022-09-15 10:04:26 +02:00
Wolfgang Huß
e82d35c824
Fix linting
2022-08-25 23:17:50 +02:00
Moriz Wahl
b71b20ae81
fix more tests
2022-07-25 23:04:12 +02:00
Moriz Wahl
bc955003f7
add optional categories to teaser and post
2022-07-25 20:03:00 +02:00
Moriz Wahl
ef4265d938
release 0.6.15
2021-03-01 15:36:44 +01:00
Moriz Wahl
71d75bcf57
trigger viewed post teaser when footer is visible
2021-03-01 15:33:20 +01:00
Moriz Wahl
1c3f628fb2
count views of post teaser
2021-03-01 15:33:20 +01:00
Moriz Wahl
ae61baadfb
add plugin vue-observe-visibility
2021-03-01 15:24:38 +01:00
Moriz Wahl
f1c762d835
changed post views icon
2021-02-24 18:03:14 +01:00
Moriz Wahl
96066eae02
tests fixed for clickedCount
2021-02-22 22:23:56 +01:00