Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
ProjectsStatusManagement
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hasan.bahjat
ProjectsStatusManagement
Commits
944b8ce2
Commit
944b8ce2
authored
Aug 27, 2024
by
hasan khaddour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix attachment issues
parent
7403cb9a
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16 additions
and
11 deletions
+16
-11
appsettings.json
PSManagement.Api/appsettings.json
+2
-2
الدراسة التصميمية0560f4de-e8e3-4de8-a5c2-95f777427933.pdf
...الدراسة التصميمية0560f4de-e8e3-4de8-a5c2-95f777427933.pdf
+0
-0
الدراسة التصميمية726a4b26-cad0-41c1-a1c4-0feac30b2a2e.pdf
...الدراسة التصميمية726a4b26-cad0-41c1-a1c4-0feac30b2a2e.pdf
+0
-0
دراسة الجدوى236740ba-a3d2-4602-89af-59b3442b4309.png
...oads/دراسة الجدوى236740ba-a3d2-4602-89af-59b3442b4309.png
+0
-0
متطلبات الجهة الطارحة477defa0-3937-40f5-88af-a46bbe60f52d.png
...بات الجهة الطارحة477defa0-3937-40f5-88af-a46bbe60f52d.png
+0
-0
CreateNewTypeCommand.cs
...s/UseCases/Commands/CreateNewType/CreateNewTypeCommand.cs
+3
-2
UpdateTypeCommand.cs
...tsTypes/UseCases/Commands/UpdateType/UpdateTypeCommand.cs
+3
-1
CreateNewTypeRequest.cs
...t.Contracts/ProjectsTypes/Request/CreateNewTypeRequest.cs
+3
-2
UpdateTypeRequest.cs
...ment.Contracts/ProjectsTypes/Request/UpdateTypeRequest.cs
+3
-2
ProjectsController.cs
...t.Presentation/Controllers/Projects/ProjectsController.cs
+2
-2
No files found.
PSManagement.Api/appsettings.json
View file @
944b8ce2
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
"AllowedHosts"
:
"*"
,
"AllowedHosts"
:
"*"
,
"JwtSettings"
:
{
"JwtSettings"
:
{
"secret"
:
"super-secret-key"
,
"secret"
:
"super-secret-key"
,
"ExpireMinutes"
:
60
,
"ExpireMinutes"
:
60
00
,
"Issuer"
:
"HIAST-PS-Management-Server"
,
"Issuer"
:
"HIAST-PS-Management-Server"
,
"Audience"
:
"All"
"Audience"
:
"All"
},
},
...
@@ -20,6 +20,6 @@
...
@@ -20,6 +20,6 @@
"SyncIntervalInMinutes"
:
60
"SyncIntervalInMinutes"
:
60
},
},
"FileServiceSettings"
:
{
"FileServiceSettings"
:
{
"AvailableExtension"
:
[
"
png"
,
"
pdf"
]
"AvailableExtension"
:
[
"
.png"
,
".
pdf"
]
}
}
}
}
PSManagement.Api/wwwroot/uploads/الدراسة التصميمية0560f4de-e8e3-4de8-a5c2-95f777427933.pdf
0 → 100644
View file @
944b8ce2
File added
PSManagement.Api/wwwroot/uploads/الدراسة التصميمية726a4b26-cad0-41c1-a1c4-0feac30b2a2e.pdf
0 → 100644
View file @
944b8ce2
File added
PSManagement.Api/wwwroot/uploads/دراسة الجدوى236740ba-a3d2-4602-89af-59b3442b4309.png
0 → 100644
View file @
944b8ce2
144 KB
PSManagement.Api/wwwroot/uploads/متطلبات الجهة الطارحة477defa0-3937-40f5-88af-a46bbe60f52d.png
0 → 100644
View file @
944b8ce2
144 KB
PSManagement.Application/ProjectsTypes/UseCases/Commands/CreateNewType/CreateNewTypeCommand.cs
View file @
944b8ce2
...
@@ -7,8 +7,9 @@ namespace PSManagement.Application.ProjectsTypes.UseCases.Commands.CreateNewType
...
@@ -7,8 +7,9 @@ namespace PSManagement.Application.ProjectsTypes.UseCases.Commands.CreateNewType
public
record
CreateNewTypeCommand
(
public
record
CreateNewTypeCommand
(
string
TypeName
,
string
TypeName
,
string
Description
,
string
Description
,
int
ExpectedEffort
int
ExpectedEffort
,
int
ExpectedNumberOfWorker
)
:
ILoggableCommand
<
Result
<
int
>>;
)
:
ILoggableCommand
<
Result
<
int
>>;
}
}
PSManagement.Application/ProjectsTypes/UseCases/Commands/UpdateType/UpdateTypeCommand.cs
View file @
944b8ce2
...
@@ -7,7 +7,9 @@ namespace PSManagement.Application.ProjectsTypes.UseCases.Commands.CreateNewType
...
@@ -7,7 +7,9 @@ namespace PSManagement.Application.ProjectsTypes.UseCases.Commands.CreateNewType
int
Id
,
int
Id
,
string
TypeName
,
string
TypeName
,
string
Description
,
string
Description
,
int
ExpectedEffort
int
ExpectedEffort
,
int
ExpectedNumberOfWorker
)
:
ILoggableCommand
<
Result
>;
)
:
ILoggableCommand
<
Result
>;
}
}
PSManagement.Contracts/ProjectsTypes/Request/CreateNewTypeRequest.cs
View file @
944b8ce2
...
@@ -9,8 +9,9 @@ namespace PSManagement.Contracts.ProjectsTypes.Request
...
@@ -9,8 +9,9 @@ namespace PSManagement.Contracts.ProjectsTypes.Request
public
record
CreateNewTypeRequest
(
public
record
CreateNewTypeRequest
(
string
TypeName
,
string
TypeName
,
string
Description
,
string
Description
,
int
ExpectedEffort
int
ExpectedEffort
,
int
ExpectedNumberOfWorker
);
);
}
}
PSManagement.Contracts/ProjectsTypes/Request/UpdateTypeRequest.cs
View file @
944b8ce2
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
int
Id
,
int
Id
,
string
TypeName
,
string
TypeName
,
string
Description
,
string
Description
,
int
ExpectedEffort
int
ExpectedEffort
,
int
ExpectedNumberOfWorker
);
);
}
}
PSManagement.Presentation/Controllers/Projects/ProjectsController.cs
View file @
944b8ce2
...
@@ -58,7 +58,7 @@ namespace PSManagement.Presentation.Controllers.Projects
...
@@ -58,7 +58,7 @@ namespace PSManagement.Presentation.Controllers.Projects
return
HandleResult
(
result
);
return
HandleResult
(
result
);
}
}
[
HttpGet
(
"ParticipationChangeHistory"
)]
[
HttpGet
(
"ParticipationChangeHistory
/{id}
"
)]
public
async
Task
<
IActionResult
>
GetPartiipationChangesHistory
(
int
id
)
public
async
Task
<
IActionResult
>
GetPartiipationChangesHistory
(
int
id
)
{
{
var
query
=
new
GetParticipationChangeHistoryQuery
(
id
);
var
query
=
new
GetParticipationChangeHistoryQuery
(
id
);
...
@@ -260,7 +260,7 @@ namespace PSManagement.Presentation.Controllers.Projects
...
@@ -260,7 +260,7 @@ namespace PSManagement.Presentation.Controllers.Projects
return
HandleResult
(
result
);
return
HandleResult
(
result
);
}
}
[
HttpGet
(
"Attachments
/{id}
"
)]
[
HttpGet
(
"Attachments"
)]
public
async
Task
<
IActionResult
>
GetAttachments
([
FromQuery
]
GetProjectAttachmentsRequest
request
)
public
async
Task
<
IActionResult
>
GetAttachments
([
FromQuery
]
GetProjectAttachmentsRequest
request
)
{
{
var
query
=
_mapper
.
Map
<
GetProjectAttachmentsQuery
>(
request
);
var
query
=
_mapper
.
Map
<
GetProjectAttachmentsQuery
>(
request
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment