Skip to content

Tor/web 70 edit and delete images in control panel#2150

Open
Madt2 wants to merge 80 commits intomasterfrom
tor/web-70-edit-and-delete-images-in-control-panel
Open

Tor/web 70 edit and delete images in control panel#2150
Madt2 wants to merge 80 commits intomasterfrom
tor/web-70-edit-and-delete-images-in-control-panel

Conversation

@Madt2
Copy link
Copy Markdown
Contributor

@Madt2 Madt2 commented Apr 14, 2026

Added an edit image page where you can delete or edit images. To delete an image it has to be unlinked to every event that uses it, and its linked to all events that is linked to the image on the edit image page.

Madt2 and others added 30 commits February 26, 2026 21:49
…ing image functionallity not implemented yet.
…ge PR to be merged into main before continuing
Bumps [debugpy](https://github.com/microsoft/debugpy) from 1.8.17 to 1.8.20.
- [Release notes](https://github.com/microsoft/debugpy/releases)
- [Commits](microsoft/debugpy@v1.8.17...v1.8.20)

---
updated-dependencies:
- dependency-name: debugpy
  dependency-version: 1.8.20
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [django](https://github.com/django/django) from 5.2.10 to 5.2.11.
- [Commits](django/django@5.2.10...5.2.11)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 5.2.11
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [bandit](https://github.com/PyCQA/bandit) from 1.8.6 to 1.9.3.
- [Release notes](https://github.com/PyCQA/bandit/releases)
- [Commits](PyCQA/bandit@1.8.6...1.9.3)

---
updated-dependencies:
- dependency-name: bandit
  dependency-version: 1.9.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.6 to 7.5.7.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.5.6...v7.5.7)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [mypy](https://github.com/python/mypy) from 1.19.0 to 1.19.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.19.0...v1.19.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.19.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix positon of events header on HiDpi devices

* lint
Bumps [axios](https://github.com/axios/axios) from 1.13.2 to 1.13.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.2...v1.13.5)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.13.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.3.0 to 12.1.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@11.3.0...12.1.1)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [i18next](https://github.com/i18next/i18next) from 24.2.3 to 25.8.0.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next@v24.2.3...v25.8.0)

---
updated-dependencies:
- dependency-name: i18next
  dependency-version: 25.8.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Implement alternative login picker

* Linter

* Add backlink

* Use arrow icon instead of plain css (for readability)

* Use color constants

* Center select dot

* Use button to pass biome

* Add caption "innlogging for interne"

* Change hint text

* Rephrase samf3 hint

* STYLEEEELIIIINT!!!!!!!! GRRRRRR

* Add boxes for easier mobile use

* biome

* Add samf colors to boxes

* Add darkmode support

* change heading color

* Increase circle size, justify fortsett right

* Change bg color of selected

* Remove transition

* Create breadcrumbs for new-login

* Remove form, add buttons, add arrows

* Biome

* Adjust font weights

* Use anchor tag

* Add nav

* Change underline of visited link, color of hover

* Shorten titles (remove "logg inn")
* feat: add ability to sort by buy in /events

* fix: Biome really wants some space
* Set up fake mdb2 service. Create seed. Create unmanaged MedlemsInfo model

* Rename to mdb_dev

* ruff

* Simplify disallowed models check

* Fix port in github workflow

* ruff

* Update migration
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.5.3 to 0.5.4.
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](andialbrecht/sqlparse@0.5.3...0.5.4)

---
updated-dependencies:
- dependency-name: sqlparse
  dependency-version: 0.5.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add mock sett_lim_utvidet_medlemsinfo function

* Add endpoint for connecting user to mdb

* Update function comment

* Update routes

* Move serializer to own file under serializer package, validate email/member_id
* search field for eventsadminpage and updated storybook for eventquery

* implements search for events

* biome
* Implement bbc-style dropdown

* Use global constants

* Shorten transitions

* Change dark mode contrasts, shorten transitions

* Change text color in dark mode

* Redhat-style border accent

* Change bg color in dark

* Make hover bg color prioritized

* Change light mode bg color
* disable body scroll when modal component is active

* correct body overflow handling when modal is inactive

---------

Co-authored-by: Erik <eahoff@gmail.com>
* Add pagination to ImageAdminPage

* Add utility for making paginated urls

* Add pagination support for images in API

* Add pagination and search functionality to ImageView

* Refactorize ImageAdminPage to use backend pagination and filtering

* biome fix

* fix ruff

* biome fix

* boime pls..

* fix to generate routes duplicate route bug

* use react querry

* boime fix

* Refactor into query keys

---------

Co-authored-by: Erik <eahoff@gmail.com>
* Add pagination and filtering to ImagePicker component

* Add pagination and filtering backend in ImagePicker component

* remove old getImages endpoint

* Move styling in imape picker to sass

---------

Co-authored-by: Erik <eahoff@gmail.com>
* Refactored Navbar to have same menu items as samf3 navbar. Styling not done

* Corrected vulunteer link

* Copied navbar items and css, and removed unused styling for samf 3 navbar

* Renamed css to samf3 naming scheme, and updated navbar item ref to samf 3 navbar items. Also split recruitment from the rest of the navbar links / items.

* Fixed unupdated navbar item ref

* Removed theme switch, samf 3 navbar does not have theme switch

* Removed transparancy check, samf3 navbar does not have transparancy

* Added missing recruitment button

* Added missing export for navbarItems for samf 3 navbar

* Fixed missing translations

* Fixed unsafe use of variables in route links

* Fixed suggested feedback from PR.

* Updated comments

* Merged master into branch

* Fixed biome errors

* Fixed navbar going over front page image.

* Fixed comments from pr

* Biome onclick issue solved, and navbar links are tabbable

* Removed unused hook, and fixed biome feedback

* Add myself to the list of contributors for H25 (#1959)

* Bump tmp from 0.2.3 to 0.2.4 in /frontend (#1916)

Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.3 to 0.2.4.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](raszi/node-tmp@v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lidavic <148764396+Lidavic@users.noreply.github.com>

* Add member button link to ITK Samf member site (#1983)

* Add member button link to ITK Samf member site

New member button in the Navbar that links to the Samfundet member site using a constant defined in samf-three.ts. Also refactors cookie property check for impersonation to use Object.prototype.hasOwnProperty because it's safer and more reliable

* Update frontend/src/Components/Navbar/Navbar.tsx

Co-authored-by: Robin <16273164+robines@users.noreply.github.com>

---------

Co-authored-by: Robin <16273164+robines@users.noreply.github.com>

* Bump django-cors-headers from 4.7.0 to 4.9.0 in /backend (#1974)

Bumps [django-cors-headers](https://github.com/adamchainz/django-cors-headers) from 4.7.0 to 4.9.0.
- [Changelog](https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst)
- [Commits](adamchainz/django-cors-headers@4.7.0...4.9.0)

---
updated-dependencies:
- dependency-name: django-cors-headers
  dependency-version: 4.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump djangorestframework from 3.16.0 to 3.16.1 in /backend (#1973)

Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.16.0 to 3.16.1.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.16.0...3.16.1)

---
updated-dependencies:
- dependency-name: djangorestframework
  dependency-version: 3.16.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump bandit from 1.8.3 to 1.8.6 in /backend (#1990)

Bumps [bandit](https://github.com/PyCQA/bandit) from 1.8.3 to 1.8.6.
- [Release notes](https://github.com/PyCQA/bandit/releases)
- [Commits](PyCQA/bandit@1.8.3...1.8.6)

---
updated-dependencies:
- dependency-name: bandit
  dependency-version: 1.8.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add new font via adobe fonts (#1970)

* Add new font via adobe fonts

* biome

* Update contributors (#1992)

* Bump requests from 2.32.4 to 2.32.5 in /backend (#1988)

Bumps [requests](https://github.com/psf/requests) from 2.32.4 to 2.32.5.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.32.4...v2.32.5)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.32.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump js-yaml from 4.1.0 to 4.1.1 in /frontend (#1995)

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add .sqlite3 files to .gitignore (#1997)

* Remove inactive codeowners, remove lockfile codeowners (#1999)

* Bump django from 5.1.9 to 5.1.14 in /backend (#1996)

Bumps [django](https://github.com/django/django) from 5.1.9 to 5.1.14.
- [Commits](django/django@5.1.9...5.1.14)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 5.1.14
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @tanstack/react-query from 5.69.0 to 5.84.0 in /frontend (#1912)

Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 5.69.0 to 5.84.0.
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.84.0/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-version: 5.84.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eilif Hjermann Lindblad <eilifhl@stud.ntnu.no>

* Bump mypy from 1.15.0 to 1.17.1 in /backend (#1911)

Bumps [mypy](https://github.com/python/mypy) from 1.15.0 to 1.17.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.15.0...v1.17.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.17.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eilif Hjermann Lindblad <eilifhl@stud.ntnu.no>

* Bump axios from 1.8.4 to 1.12.0 in /frontend (#1964)

Bumps [axios](https://github.com/axios/axios) from 1.8.4 to 1.12.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.8.4...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump axios from 1.8.4 to 1.12.2 in /frontend (#1975)

Bumps [axios](https://github.com/axios/axios) from 1.8.4 to 1.12.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.8.4...v1.12.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Disable everything in control panel except for events, images and opening hours (#1967)

* Add ControlPanelFeature type

* Add ControlPanelFeature const and check if feature is enabled

* Add ControlPanelFeatureGate to reroute disabled features to an enabled one

* Remove backend urls unrelated to next release

* Fix after failed checks

* Fix after failed checks

* Fix after failed checks

* Add FeatureEnabled permission class

* Remove tests for disabled features

* Remove unused imports

* Fix ruff format

* Add tests for FeatureEnabled

* Add skip for tests for tests not relevant for release

* Fix ruff

* Fix based on pr comments

* Add decorator function for registering disabling features not for first release

* Add decorator to admin.py

* Fix ruff and biome

* Fix test after updating admin routes

* Fix isControlPanelFeatureEnabled to not be nullable

* Upgrade to Vite 6 (#2001)

* Update from vite v4 to v5

* Upgrade to vite 6

* Set module resolution for browser and node to bundler

* Sass: migrate from JS API to Modern API (#2002)

* Refactor feature gate (#2004)

* Rename: ControlPanelFeature -> SiteFeature

Also move from config to constants folder

* Rename "Gate" alias from router for clarity on what kind of Gate it is

* Redirect to home instead of first admin page

* biome

* Disable Sulten/Lyche frontend pages (#2003)

* Disable Sulten/Lyche frontend pages

* biome

* Fix from merge

* Wrap (and disable some) public pages in SiteFeatureGate (#2005)

* Disable public recruitment pages

* Add site feature check to recruitmentLoader

* biome

* Disable info pages

* don't format site feature gate wrapper with biome

* Wrap gangs, events, and saksdokumenter in SiteFeatureGates

* Add venues as SiteFeature, wrap venues page with gate

* Don't unnecessarily wrap single-route Routes with Outlets

* Wrap and disable membership page

* ignore formatting

* Bump drf-spectacular from 0.28.0 to 0.29.0 in /backend (#2007)

Bumps [drf-spectacular](https://github.com/tfranzel/drf-spectacular) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/tfranzel/drf-spectacular/releases)
- [Changelog](https://github.com/tfranzel/drf-spectacular/blob/master/CHANGELOG.rst)
- [Commits](tfranzel/drf-spectacular@0.28.0...0.29.0)

---
updated-dependencies:
- dependency-name: drf-spectacular
  dependency-version: 0.29.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump debugpy from 1.8.14 to 1.8.17 in /backend (#2011)

Bumps [debugpy](https://github.com/microsoft/debugpy) from 1.8.14 to 1.8.17.
- [Release notes](https://github.com/microsoft/debugpy/releases)
- [Commits](microsoft/debugpy@v1.8.14...v1.8.17)

---
updated-dependencies:
- dependency-name: debugpy
  dependency-version: 1.8.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add SCSS color palette from redesign (#2017)

* Add color palette

* Add basic variables for text colors

* Create NewBadge component (#2018)

* Create NewBadge component

* biome

* Add santa hat to navbar logo during December (#2019)

* Delete unused EventCard component (was replaced by ImageCard) (#2020)

* Increase stylelint selector-max-type to 1 (#2022)

* Create Block composite components (#2021)

* Create Block composite components

* Fix descending specificity

* Decrease intensity of header/footer gradients slightly

* Add storybook file

* Remove storybook file (our new font isnt loading)

* Remove confusing custom ReactNode Children alias (#2023)

* Add missing event categories from samf3, and add translations for all categories (#2024)

* Event: Make capacity optional (#2025)

* Create new EventCard component (#2000)

* Begin creating new event card component

* Set all anchor tags' text-decoration to none

* Use NewBadge. biome

* adjust z-index

* Add box shadow to event badge

* Use placeholder image

* Start badge and CTA logic, display location. Tweak styling

Also:
* Add blue badge theme
* Fix and adjust TimeDisplay event formatting

* Rename NewEventCard to EventCard

* Make Badge inline-flex, add outline-white theme

* Remove a tag color specification in themes

* Fix merge: add back Block example in ComponentPage

* Block: slightly decrease opacity of footer gradient and decrease header

* Block: Improve gradients through easing

* BlockImage: Use background-image instead of img element

* Use Block components in EventCard

* Block: Add white theme

* Add text shadow to bottom text and show event category

* Update location class name

* biome

* Show translated event category

* Simplify fake events creation in ComponentPage

* Set letter-spacing for BlockTitle

* Update component page

* Change "free" badge to green theme

* Round edges more, sharpen on hover

* Nesten utsolgt -> Få billetter igjen

Matches samf3

* Switch out Buy ticket arrow icon

* Create EventCardContainer. Allow more customization of EventCard/Block

* Fix biome & stylelint

* Don't show CTA if event is free

* Fixed Tsc error

* biome fix

* Added theme button to mobile navbar view, added membersbutton to navbar, and updated text for internal login.

* removed unused function

* removed unnecessary const declaration

* removed duplicate const

* Fixed routes_samf_tree const

* Fixed samf-three-routes const

* Reverted translations and reverted to "login" button instead of "intern", fixed breakpionts for navbar desktop to mobile

* Clean up navbar styling comments in SCSS

Removed commented TODOs regarding navbar styling.

* Fix import path for NavbarSamfThree component

* Moved samf three navbar to its own folder

* biome...

* added missing newline

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Sten <117273647+StenOskar@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lidavic <148764396+Lidavic@users.noreply.github.com>
Co-authored-by: Robin <16273164+robines@users.noreply.github.com>
Co-authored-by: Eilif Hjermann Lindblad <eilifhl@stud.ntnu.no>
Co-authored-by: Heidi Herfindal Rasmussen <144371674+hei98@users.noreply.github.com>
dependabot Bot and others added 25 commits April 7, 2026 20:20
Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [requests](https://github.com/psf/requests) from 2.32.5 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.32.5...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 8.2.0 to 8.4.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v8.2.0...v8.4.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-version: 8.4.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2124)

* Create FormSchemaContext, making zod schema available to form components

Use in FormLabel to mark required fields

* biome

* Add link to zod internals docs
* MDB page tweaks

* Adjust page route and password form description
Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 4.11.1 to 4.12.0.
- [Release notes](https://github.com/pytest-dev/pytest-django/releases)
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst)
- [Commits](pytest-dev/pytest-django@v4.11.1...v4.12.0)

---
updated-dependencies:
- dependency-name: pytest-django
  dependency-version: 4.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 25.1.0 to 25.3.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](benoitc/gunicorn@25.1.0...25.3.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-version: 25.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pygments](https://github.com/pygments/pygments) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.19.1...2.20.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-version: 2.20.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [mypy](https://github.com/python/mypy) from 1.19.1 to 1.20.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.19.1...v1.20.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.20.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.16.1 to 3.17.1.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](encode/django-rest-framework@3.16.1...3.17.1)

---
updated-dependencies:
- dependency-name: djangorestframework
  dependency-version: 3.17.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.0/packages/plugin-react-swc)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react-swc"
  dependency-version: 4.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Make NavbarSamfThree look more alike actual samf3 navbar

* Remove user dropdown, and some more tweaks

* Lowercase futura

* Remove unused imports

* Replace chevron icon

* Make whole profile button a link

* Use Samf3 navbar in AdminLayout

* biome
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.4.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.4.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@Madt2 Madt2 requested review from andsamfu and robines as code owners April 14, 2026 19:02
@Madt2
Copy link
Copy Markdown
Contributor Author

Madt2 commented Apr 16, 2026

Gjorde en rebase, så ligger andres commits i historikken her, bare ignorer de :) Se heller på files changed enn commit for commit

@StenOskar
Copy link
Copy Markdown
Contributor

Delete flow blokkerer bare på linkedEvents, men bilder kan også bli referert gjennom andre protected foreign keys som Merch.image. I de tilfelene så blir knappen enabled, requested går gjennom, så raiser Django en ProtectedError istedenfor å slette bildet.

Screenshot 2026-04-23 202005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants