Commit Graph

43 Commits

Author SHA1 Message Date
setop 81f9f60833 fix(front): navbar not updated after login [workaround]
(cherry picked from commit 0b3419475e)
2024-04-15 19:03:41 +02:00
Thomas Citharel 067029705d
fix(front): fix discussion comment changed subscription done before having slug value
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-29 09:57:22 +01:00
Thomas Citharel a9b977540b
fix(front): remove extra classes on comment that are not needed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-29 09:56:51 +01:00
Thomas Citharel 3f73b2f856
refactor(front): cleanup unused lines
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 15:24:53 +01:00
Thomas Citharel 98230a56bb
fix(front): use functions to generate classnames dynamically
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 15:00:45 +01:00
Thomas Citharel 9d99684402
feat: allow to filter events by local-only
In addition to internal (self + federated) and global (global external search engine), introduce the
self possibility

Closes #1322

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 13:51:59 +01:00
Thomas Citharel cba2075431
fix(front): correctly show error message when a tag is too short
Closes #1382

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel 6a482b0d97
fix(front): various cleanups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel 34c0dd6498
fix(front): only update identity username from name if it's a new identity
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel c9a1c35aa7
fix(announcements): make sure only valid announcements are shown to the user
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel 48f57ec1cf
fix(front): reset page to lower or page 1 if we didn't found results in instances view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:19 +01:00
Thomas Citharel 2b5439b1d0
fix(front): reset instances list to page 1 if filter or follow status changes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:18 +01:00
Jonathan Reinbrecht 137a8ed69c remove unneeded import 2024-01-19 15:11:40 +01:00
Jonathan Reinbrecht 9670b77bc3 [IMP] move filtering of past events in related events section to backend 2024-01-19 13:59:01 +01:00
Thomas Citharel 57d0372ce8
fix(front): fix reporting group
Item was hidden unless anonymous reporting was enabled

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-04 14:02:13 +01:00
Thomas Citharel fe0cf93604
fix(front): fix debouncing instances filtering
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-04 13:02:17 +01:00
Thomas Citharel 11cb0a4a81 Merge branch 'fix-event-view-window-title' into 'main'
Fix: Window title in Event View doesn't show the Event title

See merge request framasoft/mobilizon!1518
2024-01-03 18:08:12 +00:00
Thomas Citharel 0bd7b670ae
refactor(front): move IdentityPicker and Wrapper to components instead of views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-03 18:48:06 +01:00
Thomas Citharel 0948cce83e
fix(front): uI fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-03 18:33:15 +01:00
summersamara 81ca3e052f Fix: Window title in Event View doesn't show the Event title
- Prevent IdentityPicker from setting the window title
2023-12-24 10:11:22 +01:00
Thomas Citharel a6a80cabc6
Merge branch 'oruga-0.8' into upgrade-deps 2023-12-22 12:17:17 +01:00
Thomas Citharel 112019d21c
refactor: fix date-fns import in GroupView.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-22 12:16:01 +01:00
Thomas Citharel 99b2339424
feat(nodeinfo): extract and save NodeInfo information from instances to display it on instances list
We also try to detect the application actor if it's not given by NodeInfo metadata (FEP-2677)
(guessing for Mobilizon, PeerTube & Mastodon).

Closes #1392

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-21 10:45:56 +01:00
Thomas Citharel a9676d6481
feat(front): upgrade to Oruga 0.8.x
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-14 11:30:54 +01:00
Thomas Citharel 76668e0beb
fix(front): fix focus when creating a new resource
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-14 11:29:24 +01:00
Thomas Citharel cecbea6db5
fix(front): show correct label when adding a new calc or videoconference resource in resources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-14 11:29:23 +01:00
Thomas Citharel 1d39eb5488
fix(front): improve display of SendPasswordReset view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-14 11:29:23 +01:00
Thomas Citharel a408b476cf
fix(front): add condition on DraggableList in ResourceFolder.vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-14 11:29:22 +01:00
Thomas Citharel ae466b879c
fix(front-end): fix current actor not being set on first access when relogging
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-12 11:39:27 +01:00
potsda.mn-Kollektiv 1af8e37e9b
fix(front-end): add more security fixes for formatted lists and notifier
- introduce html escape function
- escape message content in notifier plugin
- escape user name in ConversationListItem
- escape user name in the Event EditView contacts section
- display user summary as plain text in ActorCard

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-07 14:29:20 +01:00
Thomas Citharel 41227d994c
style: linting front-end
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 11:18:36 +01:00
Thomas Citharel 2c12fbfd09
fix(front): anonymous participant text is plain text, avoid using v-html
It was using v-html when opening to "view more"

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 11:18:05 +01:00
Thomas Citharel ffff379d47
fix: always consider report content as text
Report content was used as HTML in front-end and e-mails but wasn't sanitized as such.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 11:05:56 +01:00
Thomas Citharel 935799f123
fix(front): fix editing group
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 08:37:48 +01:00
Thomas Citharel f81472e081
fix(front): fix tag loading
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-05 08:28:11 +01:00
Thomas Citharel 32caebb1d0
fix: prevent sending group physical address if it's empty and allow empty text for timezone
As old addresses don't hold TZ information

Closes #1357

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-03 18:14:00 +01:00
Thomas Citharel d831dff9fc
feat(front): add dedicated page and route for event announcements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-01 11:29:56 +01:00
summersamara 8a1b122711 remove unnecessary function 2023-11-22 16:45:43 +01:00
summersamara 69e4a5c532 fix: don't show passed/finished events in related events section 2023-11-21 22:55:35 +01:00
Thomas Citharel 5602164c62
build: replace @vueuse/head with @unhead/vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-21 16:40:32 +01:00
Thomas Citharel b635937091
fix: various fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-20 09:35:21 +01:00
Thomas Citharel 105d3b5814
test: fix front-end tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-15 12:38:36 +01:00
Thomas Citharel 2e72f6faf4
build: switch from yarn to npm to manage js dependencies and move js contents to root
yarn v1 is being deprecated and starts to have some issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-14 17:24:42 +01:00