Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
50f6c8a
feat: save theme preference to local storage and apply theme on load
kake21 Apr 15, 2026
f612602
feat: update navbar items to include theme
kake21 Apr 15, 2026
34023eb
feat: svg versions of logos
kake21 Apr 15, 2026
a704774
feat: main landmark
kake21 Apr 16, 2026
460a49c
chore: remove old image system
JohanHjelsethStorstad Mar 24, 2026
2af8894
refactor: make image service into a subservice with implementations
JohanHjelsethStorstad Mar 24, 2026
4621dca
refactor: make the store into a factory that implements two functions
JohanHjelsethStorstad Apr 4, 2026
cf27133
chore: make image system actually delete files when a image is deleted
JohanHjelsethStorstad Apr 4, 2026
0b3cb24
chore: set up system for generating standard images from config
JohanHjelsethStorstad Apr 13, 2026
cb1acfb
fix: mount the dobbelomegamanifest volume
JohanHjelsethStorstad Apr 13, 2026
c15a275
chore: add config for dev_profile_images
JohanHjelsethStorstad Apr 13, 2026
9fd792e
chore: add config for all images in standard store
JohanHjelsethStorstad Apr 13, 2026
aa7a731
feat: read and regenerate standard images
JohanHjelsethStorstad Apr 13, 2026
35f3820
refactor: on StandardStoreFile make a method to easily convert to ima…
JohanHjelsethStorstad Apr 14, 2026
3a08498
refacotor: use the imageUploadData to seed dynamic images for cms
JohanHjelsethStorstad Apr 14, 2026
c02ece3
chore: remove som special cms images (work in progress)
JohanHjelsethStorstad Apr 16, 2026
ea12ed3
feat: more svgs
kake21 Apr 16, 2026
1130d3e
refactor: update background color for menu items to improve light mode
kake21 Apr 16, 2026
f90b7c4
accessibility: add descriptive aria-labels to Link components across …
kake21 Apr 21, 2026
4d74d26
Merge branch 'main' into feat/themesAgain
kake21 Apr 21, 2026
5e27670
Update src/app/_components/UI/ThemeEnabler.tsx
kake21 Apr 21, 2026
d2af6a2
Update src/app/admin/lockers/page.tsx
kake21 Apr 21, 2026
beb8805
Update src/app/users/[username]/(user-admin)/theme/theme.ts
kake21 Apr 21, 2026
46e5bab
feat: introduce page titles and improve layout structure across compo…
kake21 May 28, 2026
1d4d2af
refactor: standardize transition timing and enhance layout styles acr…
kake21 May 29, 2026
7f606a2
refactor: update to ohma color variables and grid layout for consiste…
kake21 May 29, 2026
bebd846
chore: add semantics to tell which images are available after seeding…
JohanHjelsethStorstad Jun 9, 2026
40544a2
chore: upsering
JohanHjelsethStorstad Jul 14, 2026
3af5e2e
chore: remove timeout comment by variable name
JohanHjelsethStorstad Jul 15, 2026
0c27ff7
refactor: omegaOrder service to use serviceOperations
JohanHjelsethStorstad Jul 17, 2026
f965c92
chore: accept NOT FOUND errors as non existance in upsert function
JohanHjelsethStorstad Jul 17, 2026
b69b726
chore: defineSeedOperation using context
JohanHjelsethStorstad Jul 17, 2026
0a2cdd7
refactor: seed of article categories and orders
JohanHjelsethStorstad Jul 17, 2026
8958a3d
chore: add types to extract Data, Params, ImplementationParams from s…
JohanHjelsethStorstad Jul 17, 2026
6c81eb6
docs: simplify doc strings for seedArticleCategories
JohanHjelsethStorstad Jul 18, 2026
66ee094
refactor: flairs to implement its own special image collection
JohanHjelsethStorstad Jul 18, 2026
edd7ce9
refactor: seed images to use defineSeedOperation
JohanHjelsethStorstad Jul 18, 2026
f769f18
fix: deleting images that do not exist
JohanHjelsethStorstad Jul 18, 2026
97f0820
refactor: seeding of news articles
JohanHjelsethStorstad Jul 19, 2026
74eadd2
chore: move out ArticleCategory and NewsArticle scemas from cms to be…
JohanHjelsethStorstad Jul 19, 2026
78b7dfc
chore: migrate seedDevImages to defineSeedOperation
JohanHjelsethStorstad Jul 19, 2026
f4c9860
refactor: seedDevNews
JohanHjelsethStorstad Jul 19, 2026
545cfd7
refactor: seedSpecialCms
JohanHjelsethStorstad Jul 19, 2026
dbf5dae
refactor: update committee service to implement its own special colle…
JohanHjelsethStorstad Jul 19, 2026
dc809b5
refactor: ombul to implement OMBUL COVERS special collection
JohanHjelsethStorstad Jul 19, 2026
8478746
chore: extra sanity check for ownership of images destroyed even thou…
JohanHjelsethStorstad Jul 19, 2026
35a5c66
feat: paragraphs for ombul
JohanHjelsethStorstad Jul 19, 2026
c420549
chore: enforce allowedExt in store.createFile is narrower than that o…
JohanHjelsethStorstad Jul 19, 2026
f116f23
fix: array buffer type in upload image
JohanHjelsethStorstad Jul 19, 2026
3674f69
refactor: user service to implement special PROFILE_IMAGES collection
JohanHjelsethStorstad Jul 20, 2026
9c7276b
chore: set up main landing page for image collections list
JohanHjelsethStorstad Jul 20, 2026
8850f60
chore: tie Cursor and details types to schemas
JohanHjelsethStorstad Jul 20, 2026
b09e0ab
chore: set up new route structure for images pages
JohanHjelsethStorstad Jul 20, 2026
d10e768
chore: use StandardImage for the removed CmsImage parts
JohanHjelsethStorstad Jul 20, 2026
6cbc3f9
fix: use new standard image implementation in fallback of CmsImage co…
JohanHjelsethStorstad Jul 20, 2026
88ae394
chore: rename dynamic image actions to make clear they are for dynami…
JohanHjelsethStorstad Jul 21, 2026
5695738
chore: assemble all panel operation in a new 'service' assebling all …
JohanHjelsethStorstad Jul 21, 2026
cefa465
feat: ClientData provider for easier client getting of data
JohanHjelsethStorstad Jul 22, 2026
1883b0b
chore: merge CmsImageClient and Cmsimage into one
JohanHjelsethStorstad Jul 22, 2026
677c535
chore: add TODO comment
JohanHjelsethStorstad Jul 23, 2026
a9b569f
chore: set up ImageCollectionList to use special collections
JohanHjelsethStorstad Jul 23, 2026
8e829eb
chore: show special collections in CollectionList page
JohanHjelsethStorstad Jul 23, 2026
cca7d66
chore: show special collections in CmsImageEditor
JohanHjelsethStorstad Jul 23, 2026
211e860
fix: prismaWhereFilter not applied to a level in readCollectionPage
JohanHjelsethStorstad Jul 23, 2026
fe2ffb0
chore: validate that a user administrates the collection of the image…
JohanHjelsethStorstad Jul 23, 2026
4702d9c
chore: add note to user that exposing an image through a cmsImage mig…
JohanHjelsethStorstad Jul 23, 2026
d7360fa
chore: set up for refactoring ImageList
JohanHjelsethStorstad Jul 23, 2026
c3539be
refactor: CollectionCard does not enforce being a link - new Collecti…
JohanHjelsethStorstad Jul 23, 2026
7304c0e
chore: remove the details from image pager. Should be bound seperatly
JohanHjelsethStorstad Jul 23, 2026
21585fc
refactor: ImageList -> ImageDisplay managing displaying of images for…
JohanHjelsethStorstad Jul 23, 2026
b9fbfa8
fix: old refs do refactored systems
JohanHjelsethStorstad Jul 23, 2026
db840c0
fix: seedDevUsers to use standard store
JohanHjelsethStorstad Jul 23, 2026
dadce7a
fix: career and education pages use current standard image action
JohanHjelsethStorstad Jul 24, 2026
5355dfa
fix: event registration reads default profile image through current s…
JohanHjelsethStorstad Jul 24, 2026
1fbffb0
fix: seedDevJobAds looks up the FAIR image by standardImage
JohanHjelsethStorstad Jul 24, 2026
6355d1d
chore: .bind -> configureAction in eduaction
JohanHjelsethStorstad Jul 24, 2026
de02747
chore: StandardImageServer rename and consistent use
JohanHjelsethStorstad Jul 24, 2026
e4b6b82
chore: make migrations use new image system
JohanHjelsethStorstad Jul 24, 2026
1ef3667
fix: circular dependencies fixed by exporting implementation of speci…
JohanHjelsethStorstad Jul 24, 2026
40d5ed4
fix: standard images race condition on seeding
JohanHjelsethStorstad Jul 24, 2026
e73e23b
chore: remove 'special' fields from data in operations. The implement…
JohanHjelsethStorstad Jul 24, 2026
8447f16
chore: do not log expected not founds in seeder
JohanHjelsethStorstad Jul 24, 2026
b395f42
fix: two long name in autogenerated special articles
JohanHjelsethStorstad Jul 24, 2026
610b6df
chore: seperate function for regeneration of special cms
JohanHjelsethStorstad Jul 24, 2026
f6218fa
chore: Big speedup in image uploader
JohanHjelsethStorstad Jul 26, 2026
4bdf8ca
fix: turbopack issue with importing directory of standardFiles
JohanHjelsethStorstad Jul 26, 2026
626e450
chore: wrong standard images used on frontpage
JohanHjelsethStorstad Jul 26, 2026
9275ae9
chore: first draft of visibility admin
JohanHjelsethStorstad Jul 27, 2026
e42bcf6
chore: wrong standard images on not-found error and loader
JohanHjelsethStorstad Jul 27, 2026
8b6e387
chore: feed visibility from server to collectionAdmin
JohanHjelsethStorstad Jul 27, 2026
3c16ac9
fix: run all authorizers needed for collectionAdmin not just trus one
JohanHjelsethStorstad Jul 27, 2026
9fd7854
fix: collection cards collapse in cms image editor
JohanHjelsethStorstad Jul 27, 2026
59f157d
fix: invisible buttons on edit article
JohanHjelsethStorstad Jul 27, 2026
574c806
chore: make ImageUploader just a form to increase modularity
JohanHjelsethStorstad Jul 27, 2026
6c0b95b
feat: enforce that admin visibility is a sub visibility of regular level
JohanHjelsethStorstad Jul 27, 2026
b85ae33
chore: reuse the util to get group orders
JohanHjelsethStorstad Jul 27, 2026
787db73
chore: make description of of visibility a component
JohanHjelsethStorstad Jul 27, 2026
253de22
chore: tests for dynamic images and visibility
JohanHjelsethStorstad Jul 27, 2026
ccdff0f
style: auto fix lining
JohanHjelsethStorstad Jul 27, 2026
8a72d8c
chore: fix seeder for ci in test
JohanHjelsethStorstad Jul 27, 2026
445e699
fix: bump timeouts for seeding in test
JohanHjelsethStorstad Jul 27, 2026
0d5b8b4
refactor: schools service
JohanHjelsethStorstad Jul 22, 2026
1fe754e
chore: remove old deprecated stuff from the small courses service
JohanHjelsethStorstad Jul 22, 2026
7226047
refactor: omegaId service
JohanHjelsethStorstad Jul 22, 2026
09a975c
Merge branch 'refactor/omegaId-service' into feat/image-svgs-and-asyn…
JohanHjelsethStorstad Jul 27, 2026
8b55692
refactor: rename base16 color tokens to semantic names, fix eslint er…
kake21 Jul 28, 2026
e082707
refactor: turn $gap into a runtime CSS custom property
kake21 Jul 28, 2026
d8bcc26
refactor: change --rounding from 16px to 1rem
kake21 Jul 28, 2026
783e363
style: interpolate SCSS variables inside calc()
kake21 Jul 28, 2026
f9421f2
style: redesign admin sidebar as nested cards, tune colors
kake21 Jul 28, 2026
d0ee792
style: cap page width at a 16:9 slice of viewport height
kake21 Jul 28, 2026
cc8ad9b
refactor: update background gradient
kake21 Jul 28, 2026
75ec3a4
fix: make loading.tsx respect the page layout
kake21 Jul 28, 2026
7e2d5fa
style: redesign CommitteeCard as a proper card
kake21 Jul 28, 2026
9d79c3a
style: redesign HeaderItemPopUp button and layout
kake21 Jul 28, 2026
26ba3a6
refactor: refine PopUp component styling and improve consistency
kake21 Jul 28, 2026
929669b
feat: implement visibility in news service
JohanHjelsethStorstad Jul 28, 2026
71142f3
style: switch buttons and tables to gap-based sizing with card rounding
kake21 Jul 28, 2026
9b865d3
feat: replace flair rank buttons with animated drag-to-reorder
kake21 Jul 28, 2026
00edd5a
chore: show visibility admin on frontend
JohanHjelsethStorstad Jul 29, 2026
c982061
fix: sypescript infer chain too deep
JohanHjelsethStorstad Jul 29, 2026
ed414ae
style: bring TextInput, DateInput, Checkbox and Textarea to the new s…
kake21 Jul 29, 2026
dbf3fd1
fix: reclaim dead subPageNavBar row in mobile layout grid
kake21 Jul 29, 2026
73bc06c
chore: remove unused dependencies from package-lock.json
kake21 Jul 29, 2026
203054c
style: color user cards and profile page borders by flair, fix sub-na…
kake21 Jul 29, 2026
e065f87
refactor: remove unused neumorphism mixin
kake21 Jul 29, 2026
168a578
refactor: consolidate color tokens onto the theme system
kake21 Jul 29, 2026
97d60f9
feat: add component test page, popup-style confirmations, fix seconda…
kake21 Jul 29, 2026
59d94c3
style: flatten ohma.card, redesign /admin/dots, add raised-background…
kake21 Jul 29, 2026
427c4ec
feat: add custom Dropdown/SearchableDropdown components, sortable/sta…
kake21 Jul 29, 2026
9e4c8a9
style: zone jobads like events, fix omegaquote bubble tail
kake21 Aug 3, 2026
dc2e86e
fix: edit-mode icon visibility/positioning, frontpage preview link, m…
kake21 Aug 3, 2026
6160f0a
fix: avoid NavTooltip hydration mismatch by deferring Radix wrapper t…
kake21 Aug 3, 2026
5eaa15b
fix: hide DesktopSideBar admin panel entirely when there's nothing to…
kake21 Aug 3, 2026
13a3ada
feat: add Omega-ID/Konto buttons to profile page, standardize on Button
kake21 Aug 3, 2026
36993e7
fix: floating sub-nav on user-admin pages, let each subpage own its c…
kake21 Aug 5, 2026
7651e5b
style: give each theme its own row with a live app-chrome preview
kake21 Aug 5, 2026
d146a45
fix: resolve eslint errors (set-state-in-effect, max-len)
kake21 Aug 5, 2026
0aa33aa
Merge branch 'main' into feat/islands
kake21 Aug 5, 2026
8206ea6
fix: make footer wrap flexibly instead of squeezing into fixed grid c…
kake21 Aug 5, 2026
253593e
style: customize scrollbar with invisible track and visible thumb
kake21 Aug 5, 2026
4caa4c5
Merge branch 'feat/news-auth' into feat/islands
kake21 Aug 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,7 @@ src/prisma/migrations

.rest

.vscode
.vscode
.idea

.claude
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ RUN mkdir -p usr/src/app/store/images
COPY public public
COPY next-env.d.t[s] next.config.ts tsconfig.json ./

COPY standard_store standard_store

############################################################
FROM base AS prod

Expand All @@ -52,5 +54,6 @@ CMD ["npm", "run", "test"]
FROM base AS dev

ENV NODE_ENV=development
# src is expected to be binded in dev

CMD ["npm", "run", "dev-seed"]
1 change: 1 addition & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
- ${PROJECT_ROOT:-.}/logs:/usr/src/app/logs
- devstore:/usr/src/app/store
- dotnext:/usr/src/app/.next
- dobbelOmegaManifest:/usr/src/app/dobbelOmegaManifest

db:
extends:
Expand Down
1 change: 1 addition & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ services:
volumes:
- store:/usr/src/app/store
- logs:/usr/src/app/logs
- dobbelOmegaManifest:/usr/src/app/dobbelOmegaManifest
deploy:
replicas: 2
restart: always
Expand Down
1 change: 1 addition & 0 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:
environment:
DOMAIN: omega.ntnu.no
MAIL_DOMAIN: sanctus.omega.ntnu.no
CI: ${CI:-}
volumes:
- ${PROJECT_ROOT:-.}/src:/usr/src/app/src
- ${PROJECT_ROOT:-.}/tests:/usr/src/app/tests
Expand Down
4 changes: 4 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ const config: Config = {
collectCoverage: true,
collectCoverageFrom: ['src/**/*.{ts,tsx}'],
coverageReporters: ['text-summary'],
// Each suite's beforeAll re-seeds all standard images through sharp/avif, which is CPU-heavy.
// Running many suites' seeds concurrently starves CI's limited cores and blows past the 30s
// beforeAll timeout in tests/setup.ts, even though a single seed() run only takes a few seconds.
maxWorkers: process.env.CI ? 2 : undefined,
moduleNameMapper: {
// This is needed becaue jest doesn't handle the this code is inside node_modules
'^@/prisma-dobbel-omega/(.*)$': '<rootDir>/node_modules/.prisma-dobbel-omega/$1',
Expand Down
Loading
Loading