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
995afaaab5
feat(webapp): default language configurable ( #8546 )
...
* make the default and fallback language configurable
* fixes
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-12 11:22:31 +00: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
sebastian2357
2fd138697f
feat(webapp): badges UI ( #8426 )
...
- New badge UI, including editor.
- Adds config to enable/disable badges.
---------
Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
Co-authored-by: Maximilian Harz <maxharz@gmail.com>
2025-04-25 16:55:46 +00:00
Wolfgang Huß
b51aa8f103
Add webapp config 'MAPBOX_TOKEN'
2023-01-04 14:21:19 +01:00
Moriz Wahl
e31f250ea5
env vatiable for CATEGORIES_ACTIVE and switch for categories in contribution form
2022-07-25 18:41:39 +02:00
0ec0574375
have cypress running locally - the tests still fail
2021-04-12 13:22:29 +02:00
Moriz Wahl
68c8ab9e3f
merga all environment variables into nuxt.env
2021-03-19 12:24:42 +01:00
2e65f8df80
fixed frontend config value evaluation & default values for INVITE_REGISTRATION. Unified the way the config is accessed
2021-03-19 12:24:42 +01:00
Moriz Wahl
356f026226
basic invite button in frontend
2021-03-19 12:24:42 +01:00
Moriz Wahl
e6dc3f42ce
setting up invite button
2021-03-19 12:24:42 +01:00
Wolfgang Huß
ac27d6ac96
Resolve WEBSOCKETS_URI config problem
...
- Value was not overtaken from .env.
2021-02-15 15:42:00 +01:00
9bf90bc880
- make cookie time configurable (default: 2 years)
...
- make cookie https setting configurable (default true in production)
- ensure cookie is set to `path: /` to fix redirect problem
2021-01-29 20:45:54 +01:00
a6bd42856a
- fixed config import
...
- default for STYLEGUIDE_DEV config
2021-01-28 17:47:55 +01:00
7d66431049
introduced config file for webapp
2021-01-28 17:47:55 +01:00