Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
4021331
add initial layout and settings components with basic structure
Nov 5, 2025
51ba3b0
update package paths to use 'current' edition and add Test component
Nov 6, 2025
978d96c
refactor: rename and restructure layout and modal components
Nov 6, 2025
75fe99d
feat: add new layout and modal components with initial structure
Nov 7, 2025
0b42981
chore: add schema.graphql to .gitignore
Nov 7, 2025
82c2428
feat: add GraphQL mutations and queries for user authentication and v…
Nov 7, 2025
62a45a6
feat: add Relay environment setup with GraphQL fetch function and upd…
Nov 7, 2025
6b69f89
feat: implement Apollo Client setup and GraphQL mutations for user au…
Nov 7, 2025
5858482
feat: enhance UserService with GraphQL login mutation and additional …
Nov 8, 2025
65cec3c
feat: integrate ContextStoreProvider and enhance AuthLayout with user…
Nov 9, 2025
b427f87
feat: implement authentication middleware in Apollo Client for user s…
Nov 9, 2025
7d1670f
feat: update @code0-tech/pictor to version 0.0.0-mvp.6 and add sass d…
Nov 9, 2025
76a7995
feat: replace EmailVerificationPage with UserEmailVerificationPage co…
Nov 9, 2025
78b3b3a
feat: replace LoginPage with UserLoginPage component
Nov 9, 2025
6810971
feat: add UserResetPasswordPage component
Nov 9, 2025
5f9dd0e
feat: replace PasswordResetPage with UserForgotPasswordPage component
Nov 9, 2025
c3f0ff7
feat: replace RegistrationPage with UserRegistrationPage component
Nov 9, 2025
01015db
feat: format tsconfig.json for improved readability
Nov 9, 2025
728164e
feat: rename User fragment to UserBasic for clarity
Nov 9, 2025
d960243
feat: update import paths in User fragment for correct referencing
Nov 9, 2025
0f81564
feat: update import path and fragment name in login mutation for cons…
Nov 9, 2025
13cdd11
feat: add User query to fetch current user and list of users
Nov 9, 2025
0dab627
feat: update User fragment reference to UserBasic in registration mut…
Nov 9, 2025
4ce2773
feat: implement user query to fetch current user and list of users in…
Nov 9, 2025
0aeae4d
feat: add UserEmailVerificationPage component for email verification
Nov 9, 2025
b73ab42
feat: add UserForgotPasswordPage component for password recovery
Nov 9, 2025
96cc6e3
feat: add UserForgotPasswordPage component for password recovery
Nov 9, 2025
bf92a86
feat: add UserRegistrationPage component for user sign-up
Nov 9, 2025
0c517e7
feat: add UserResetPasswordPage component for password reset function…
Nov 9, 2025
ccb23e8
feat: add global styles for body background and overflow
Nov 9, 2025
dd1b5fb
feat: add images
Nov 9, 2025
1a43252
feat: update global styles and layout with background image and link …
Nov 9, 2025
9505194
feat: fix background image URL in layout component
Nov 9, 2025
4fddc55
feat: refactor layout and user pages to remove unnecessary container …
Nov 9, 2025
c5cd7ba
feat: add default export component
Nov 9, 2025
78f6546
feat: update global styles for improved layout and box-sizing
Nov 9, 2025
bff5437
feat: remove graphql.ts
Nov 9, 2025
45af274
feat: simplify endCursor handling in graphql-client
Nov 9, 2025
85422d1
feat: refactor layout component structure for improved readability
Nov 9, 2025
a5f532a
feat: enhance ApplicationLayout to include a bar prop and improve con…
Nov 9, 2025
2297509
feat: update RootLayout to improve authorization header format and op…
Nov 9, 2025
a412bf9
feat: enable React strict mode in Next.js configuration
Nov 9, 2025
c307614
feat: update @code0-tech/pictor dependency to version 0.0.0-mvp.7
Nov 9, 2025
bf5a94a
feat: add user dashboard page with search and user menu components
Nov 9, 2025
eef5ac7
feat: update ApplicationPage to display organizations with sorting an…
Nov 9, 2025
8f7fe60
feat: remove Test.tsx
Nov 9, 2025
6ac08a6
feat: update User query to include identity and session parameters, a…
Nov 9, 2025
0c12cd3
feat: add spacing for userService initialization in UserLoginPage com…
Nov 9, 2025
a511f7f
feat: wrap layout in DFullScreen component for improved responsiveness
Nov 9, 2025
6409a28
feat: remove DFullScreen wrapper from layout for simplified structure
Nov 9, 2025
f80e1c0
feat: remove DFullScreen wrapper from layout for simplified structure
Nov 9, 2025
c0d7dbf
feat: update @code0-tech/pictor dependency to version 0.0.0-mvp.8
Nov 9, 2025
f18e897
feat: optimize layout components with React.memo for performance impr…
Nov 9, 2025
97ab5f4
feat: add babel-plugin-react-compiler for improved React support
Nov 10, 2025
62b0753
feat: refactor Page component to remove unnecessary memoization
Nov 10, 2025
9401721
feat: enable reactCompiler in Next.js configuration for improved Reac…
Nov 10, 2025
60fea82
feat: remove unnecessary memoization from Page component
Nov 10, 2025
649a6f5
feat: update @code0-tech/pictor dependency to version 0.0.0-mvp.9
Nov 10, 2025
a834eea
feat: implement ApplicationTabView component and update layout to inc…
Nov 10, 2025
d94b5a0
feat: enhance ApplicationTabView layout with Container and update Pag…
Nov 10, 2025
46191b3
feat: add general and restrictions tabs to Page component with versio…
Nov 10, 2025
70239e5
feat: adjust Container padding in layout for improved spacing
Nov 10, 2025
66ded7e
feat: enhance ApplicationTabView with admin links and badges for user…
Nov 10, 2025
c40a663
feat: wrap main content in Container for improved layout structure
Nov 10, 2025
26a2028
feat: simplify layout structure by removing unnecessary Container wra…
Nov 10, 2025
f2b3970
feat: refactor Page component layout for improved readability and str…
Nov 10, 2025
b600bb6
feat: add projects tab with icon and badge to ApplicationTabView
Nov 11, 2025
b0df227
feat: enhance Page component layout with Card sections for better org…
Nov 11, 2025
92cfef7
feat: update Page component to display Personal projects and add sort…
Nov 11, 2025
9a28e7c
feat: update @code0-tech/pictor dependency to version 0.0.0-mvp.11
Nov 11, 2025
ff0a386
feat: replace user session retrieval with useUserSession hook in Appl…
Nov 11, 2025
be70478
feat: refactor user session handling to use useUserSession hook in Pa…
Nov 11, 2025
d76abba
feat: implement user session check in ApplicationLayout to redirect u…
Nov 11, 2025
7ee4e82
feat: simplify token retrieval in auth middleware using setContext
Nov 11, 2025
2d1e8ef
feat: remove redundant user session storage in User.service.ts
Nov 11, 2025
328ba4d
feat: enhance user login page with email validation and session handling
Nov 11, 2025
1039509
feat: refresh router after setting user session in UserLoginPage
Nov 11, 2025
ecb02a5
feat: update path mapping in tsconfig.json to remove leading dot
Nov 11, 2025
75e8dcd
feat: update ApplicationLayout props to use React.ReactNode for bette…
Nov 11, 2025
e42f100
feat: update path references in edition.mjs and tsconfig.json for con…
Nov 11, 2025
2fad8dd
feat: implement user logout functionality and add user deletion by ID…
Nov 11, 2025
8c16c92
feat: add user logout functionality with session cleanup and redirect…
Nov 11, 2025
7ec33f1
feat: add Content Security Policy and X-Frame-Options headers to next…
Nov 11, 2025
a45260a
feat: implement user registration functionality with form validation …
Nov 11, 2025
a29d83f
feat: enhance error handling in user mutations by adding errorCode field
Nov 11, 2025
135ffb3
feat: add password reset and password reset request mutations with er…
Nov 11, 2025
a76ce7f
feat: implement email verification and password reset functionalities…
Nov 11, 2025
cefa807
feat: enhance password reset flow with email validation and improved …
Nov 11, 2025
aa9ee2d
feat: rename variables in password reset mutation for clarity and con…
Nov 11, 2025
b1f598f
feat: improve error handling in email verification and password reset…
Nov 11, 2025
60e0e16
feat: add error handling for GraphQL requests and redirect on unautho…
Nov 12, 2025
4654406
feat: update @code0-tech/pictor to version 0.0.0-mvp.12 and add sonne…
Nov 13, 2025
9ef3477
feat: enhance error handling in Apollo Client with toast notification…
Nov 13, 2025
5fb729f
feat: adjust Toaster position and clean up error handling in layout c…
Nov 13, 2025
b0b00bb
feat: add password reset success alerts and enhance email validation …
Nov 14, 2025
6e0539a
feat: enhance error handling in Apollo Client and improve layout comp…
Nov 14, 2025
2c5b688
feat: update @code0-tech/pictor to version 0.0.0-mvp.13
Nov 14, 2025
861327b
feat: update @code0-tech/pictor to version 0.0.0-mvp.14
Nov 14, 2025
4e43356
feat: simplify toast error message title by using error code descript…
Nov 14, 2025
5d4e4d9
feat: remove lint stage from CI configuration
Nov 14, 2025
d2f182b
feat: wrap ApolloProvider in Suspense for improved loading handling
Nov 14, 2025
5103b72
feat: add fallback loading message to Suspense wrapper in layout
Nov 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ next-env.d.ts

# intellij
.idea/

schema.graphql
8 changes: 0 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
stages:
- lint
- build

.node:
image: node:24.8.0
before_script:
- npm ci

lint:
extends:
- .node
stage: lint
script:
- npm run lint

build:
extends:
- .node
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ bun dev

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
You can start editing the page by modifying `app/page.ts`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

Expand Down
1 change: 1 addition & 0 deletions graphql-imports.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.graphql'
6 changes: 6 additions & 0 deletions graphql.config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
schema: schema.graphql
documents: '**/*.graphql'
extensions:
endpoints:
Default GraphQL Endpoint:
url: http://localhost:3001/graphql
52 changes: 51 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,63 @@
import type { NextConfig } from "next";
import type {NextConfig} from "next";
import path from "node:path";

const EDITION = process.env.EDITION ?? "ce";

const cspHeader = `
default-src 'self';
script-src 'self' 'unsafe-eval' 'unsafe-inline';
style-src 'self' 'unsafe-inline';
img-src 'self' blob: data:;
font-src 'self';
object-src 'none';
base-uri 'self';
form-action 'self';
frame-ancestors 'none';
`

const nextConfig: NextConfig = {
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'Content-Security-Policy',
value: cspHeader.replace(/\n/g, ''),
},
{
key: "X-Frame-Options",
value: "DENY"
}
],
},
]
},
env: {
NEXT_PUBLIC_edition: EDITION,
NEXT_PUBLIC_pictorVersion: "11"
},
reactStrictMode: true,
reactCompiler: true,
turbopack: {
resolveAlias: {
"@edition": path.resolve(__dirname, `src/packages/${EDITION}/src`),
"@core": path.resolve(__dirname, "src/packages/core/src"),
},
rules: {
"*.graphql": {
loaders: ["graphql-tag/loader"],
as: "*.js"
},
},
},
rewrites: () => {
return [
{
source: '/graphql',
destination: 'http://localhost:3001/graphql' // Proxy to Backend
}
];
}
};

Expand Down
Loading