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
Wolfgang Huß
b51aa8f103
Add webapp config 'MAPBOX_TOKEN'
2023-01-04 14:21:19 +01:00
Wolfgang Huß
f565e5fb6a
Implement 'CreateGroup' with tests
2022-08-02 16:20:11 +02:00
a37a9d05c8
.env.template INVITE_REGISTRATION value
2021-03-19 12:24:42 +01:00
c0b25040c3
- frontend implementation location query
...
- remove mapboxtoken from .env template
2021-02-02 02:48:31 +01:00
ogerly
f498ba8c65
fix: new mapbox token
2020-11-05 15:38:13 +01:00
roschaefer
2e19cf6592
fix(nuxt-env): Configuration issue with websockets
...
After some intensive debugging I found out that `req` (on the server)
and `nuxtState` (on the client) have access to the configurations
changed at runtime.
How did I debug it:
```
yarn run build
env WEBSOCKET_URI=whatever yarn run start
```
I also put a `console.log` into `plugins/apollo-client.js`.
2020-02-17 23:30:50 +01:00
roschaefer
9ac1e333d6
feat: implement public registration checks
2019-10-11 00:54:19 +02:00
roschaefer
07a90b8865
Simplify webapp sentry configuration
...
If commit is set, use it as `release`.
2019-08-19 21:43:22 +02:00
roschaefer
4d29206982
Configure sentry for nuxtJS
2019-08-19 20:14:43 +02:00
Robert Schäfer
c91a61af89
Merging webapp to master
2019-03-20 21:06:17 +01:00