Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kgOrders
Overview
Overview
Details
Activity
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
Cam Hayes
kgOrders
Commits
0a10d405
Commit
0a10d405
authored
Nov 25, 2025
by
Cam Hayes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished adding the memory leak fix and the column width fix. Updated the loggers as well
parent
d7f1e3db
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
7 deletions
+24
-7
View.Login.pas
kgOrdersClient/View.Login.pas
+5
-3
View.Main.html
kgOrdersClient/View.Main.html
+1
-1
View.Orders.dfm
kgOrdersClient/View.Orders.dfm
+11
-0
View.User.Add.pas
kgOrdersClient/View.User.Add.pas
+1
-1
app.css
kgOrdersClient/css/app.css
+4
-0
Auth.ServiceImpl.pas
kgOrdersServer/Source/Auth.ServiceImpl.pas
+1
-1
Lookup.ServiceImpl.pas
kgOrdersServer/Source/Lookup.ServiceImpl.pas
+0
-0
kgOrdersServer.ini
kgOrdersServer/bin/kgOrdersServer.ini
+1
-1
No files found.
kgOrdersClient/View.Login.pas
View file @
0a10d405
...
@@ -5,8 +5,9 @@ interface
...
@@ -5,8 +5,9 @@ interface
uses
uses
System
.
SysUtils
,
System
.
Classes
,
Web
,
WEBLib
.
Graphics
,
WEBLib
.
Controls
,
WEBLib
.
Forms
,
WEBLib
.
Dialogs
,
System
.
SysUtils
,
System
.
Classes
,
Web
,
WEBLib
.
Graphics
,
WEBLib
.
Controls
,
WEBLib
.
Forms
,
WEBLib
.
Dialogs
,
Vcl
.
Controls
,
Vcl
.
StdCtrls
,
WEBLib
.
StdCtrls
,
WEBLib
.
JSON
,
Vcl
.
Controls
,
Vcl
.
StdCtrls
,
WEBLib
.
StdCtrls
,
WEBLib
.
JSON
,
JS
,
XData
.
Web
.
Connection
,
WEBLib
.
ExtCtrls
,
XData
.
Web
.
Client
,
WEBLib
.
ExtCtrls
,
Vcl
.
Imaging
.
pngimage
,
App
.
Types
,
ConnectionModule
,
XData
.
Web
.
Client
,
Vcl
.
Imaging
.
pngimage
;
JS
,
XData
.
Web
.
Connection
,
App
.
Types
,
ConnectionModule
;
type
type
TFViewLogin
=
class
(
TWebForm
)
TFViewLogin
=
class
(
TWebForm
)
...
@@ -55,7 +56,8 @@ procedure TFViewLogin.btnLoginClick(Sender: TObject);
...
@@ -55,7 +56,8 @@ procedure TFViewLogin.btnLoginClick(Sender: TObject);
begin
begin
ShowNotification
(
'Login Error: '
+
AMsg
);
ShowNotification
(
'Login Error: '
+
AMsg
);
end
;
end
;
var
hashPW
:
string
;
begin
begin
AuthService
.
Login
(
AuthService
.
Login
(
edtUsername
.
Text
,
edtPassword
.
Text
,
edtUsername
.
Text
,
edtPassword
.
Text
,
...
...
kgOrdersClient/View.Main.html
View file @
0a10d405
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
<div
class=
"modal-dialog"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content shadow-lg"
>
<div
class=
"modal-content shadow-lg"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
<h5
class=
"modal-title"
id=
"main_notification_modal"
>
Error
</h5>
<h5
class=
"modal-title"
id=
"main_notification_modal"
>
Info
</h5>
<button
type=
"button"
class=
"btn-close"
data-bs-dismiss=
"modal"
aria-label=
"Close"
></button>
<button
type=
"button"
class=
"btn-close"
data-bs-dismiss=
"modal"
aria-label=
"Close"
></button>
</div>
</div>
<div
class=
"modal-body fs-6 fw-bold"
id=
"main_notification_modal_body"
>
<div
class=
"modal-body fs-6 fw-bold"
id=
"main_notification_modal_body"
>
...
...
kgOrdersClient/View.Orders.dfm
View file @
0a10d405
...
@@ -156,40 +156,50 @@ object FViewOrders: TFViewOrders
...
@@ -156,40 +156,50 @@ object FViewOrders: TFViewOrders
Title = 'Proof Due'
Title = 'Proof Due'
end
end
item
item
ElementClassName = 'tbl-min-120'
DataField = 'proofDone'
DataField = 'proofDone'
Title = 'Proof Done'
Title = 'Proof Done'
TitleElementClassName = 'tbl-min-120'
end
end
item
item
DataField = 'artDue'
DataField = 'artDue'
Title = 'Art Due'
Title = 'Art Due'
end
end
item
item
ElementClassName = 'tbl-min-120'
DataField = 'artDone'
DataField = 'artDone'
Title = 'Art Done'
Title = 'Art Done'
TitleElementClassName = 'tbl-min-120'
end
end
item
item
DataField = 'plateDue'
DataField = 'plateDue'
Title = 'Plate Due'
Title = 'Plate Due'
end
end
item
item
ElementClassName = 'tbl-min-120'
DataField = 'plateDone'
DataField = 'plateDone'
Title = 'Plate Done'
Title = 'Plate Done'
TitleElementClassName = 'tbl-min-120'
end
end
item
item
DataField = 'mountDue'
DataField = 'mountDue'
Title = 'Mount Due'
Title = 'Mount Due'
end
end
item
item
ElementClassName = 'tbl-min-120'
DataField = 'mountDone'
DataField = 'mountDone'
Title = 'Mount Done'
Title = 'Mount Done'
TitleElementClassName = 'tbl-min-120'
end
end
item
item
DataField = 'shipDue'
DataField = 'shipDue'
Title = 'Ship Due'
Title = 'Ship Due'
end
end
item
item
ElementClassName = 'tbl-min-120'
DataField = 'shipDone'
DataField = 'shipDone'
Title = 'Ship Done'
Title = 'Ship Done'
TitleElementClassName = 'tbl-min-120'
end
end
item
item
DataField = 'price'
DataField = 'price'
...
@@ -360,6 +370,7 @@ object FViewOrders: TFViewOrders
...
@@ -360,6 +370,7 @@ object FViewOrders: TFViewOrders
FieldName = 'proofDue'
FieldName = 'proofDue'
end
end
object xdwdsOrdersproofDone: TStringField
object xdwdsOrdersproofDone: TStringField
DisplayWidth = 40
FieldName = 'proofDone'
FieldName = 'proofDone'
end
end
object xdwdsOrdersartDue: TStringField
object xdwdsOrdersartDue: TStringField
...
...
kgOrdersClient/View.User.Add.pas
View file @
0a10d405
...
@@ -165,7 +165,7 @@ begin
...
@@ -165,7 +165,7 @@ begin
ShowToast
(
FMessage
);
ShowToast
(
FMessage
);
edtUsername
.
Text
:=
Username
;
edtUsername
.
Text
:=
Username
;
edtFullName
.
Text
:=
FullName
;
edtFullName
.
Text
:=
FullName
;
if
Mode
=
'E
dit
'
then
if
Mode
=
'E
DIT
'
then
begin
begin
edtPassword
.
Text
:=
'hidden'
;
edtPassword
.
Text
:=
'hidden'
;
end
;
end
;
...
...
kgOrdersClient/css/app.css
View file @
0a10d405
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.tbl-min-120
{
min-width
:
120px
;
}
input
[
type
=
"text"
]
{
input
[
type
=
"text"
]
{
min-width
:
50px
;
min-width
:
50px
;
max-width
:
100%
;
max-width
:
100%
;
...
...
kgOrdersServer/Source/Auth.ServiceImpl.pas
View file @
0a10d405
...
@@ -181,7 +181,7 @@ begin
...
@@ -181,7 +181,7 @@ begin
begin
begin
name
:=
authDB
.
uq
.
FieldByName
(
'NAME'
).
AsString
;
name
:=
authDB
.
uq
.
FieldByName
(
'NAME'
).
AsString
;
checkString
:=
THashSHA2
.
GetHashString
(
name
+
password
,
THashSHA2
.
TSHA2Version
.
SHA512
).
ToUpper
;
checkString
:=
THashSHA2
.
GetHashString
(
name
+
password
,
THashSHA2
.
TSHA2Version
.
SHA512
).
ToUpper
;
if
authDB
.
uq
.
FieldByName
(
'PASSWORD'
).
AsString
=
check
S
tring
then
if
authDB
.
uq
.
FieldByName
(
'PASSWORD'
).
AsString
=
check
s
tring
then
begin
begin
Logger
.
Log
(
1
,
Format
(
'AuthDB.SetLoginAuditEntry: "%s"'
,
[
user
])
);
Logger
.
Log
(
1
,
Format
(
'AuthDB.SetLoginAuditEntry: "%s"'
,
[
user
])
);
Result
:=
3
;
// Succcess
Result
:=
3
;
// Succcess
...
...
kgOrdersServer/Source/Lookup.ServiceImpl.pas
View file @
0a10d405
This diff is collapsed.
Click to expand it.
kgOrdersServer/bin/kgOrdersServer.ini
View file @
0a10d405
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
MemoLogLevel
=
4
MemoLogLevel
=
4
FileLogLevel
=
4
FileLogLevel
=
4
webClientVersion
=
0.9.11
webClientVersion
=
0.9.11
LogFileNum
=
17
1
LogFileNum
=
17
5
[Database]
[Database]
--Server
=
192.168.116.132
--Server
=
192.168.116.132
...
...
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