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
uses
System
.
SysUtils
,
System
.
Classes
,
Web
,
WEBLib
.
Graphics
,
WEBLib
.
Controls
,
WEBLib
.
Forms
,
WEBLib
.
Dialogs
,
Vcl
.
Controls
,
Vcl
.
StdCtrls
,
WEBLib
.
StdCtrls
,
WEBLib
.
JSON
,
JS
,
XData
.
Web
.
Connection
,
WEBLib
.
ExtCtrls
,
App
.
Types
,
ConnectionModule
,
XData
.
Web
.
Client
,
Vcl
.
Imaging
.
pngimage
;
XData
.
Web
.
Client
,
WEBLib
.
ExtCtrls
,
Vcl
.
Imaging
.
pngimage
,
JS
,
XData
.
Web
.
Connection
,
App
.
Types
,
ConnectionModule
;
type
TFViewLogin
=
class
(
TWebForm
)
...
...
@@ -55,7 +56,8 @@ procedure TFViewLogin.btnLoginClick(Sender: TObject);
begin
ShowNotification
(
'Login Error: '
+
AMsg
);
end
;
var
hashPW
:
string
;
begin
AuthService
.
Login
(
edtUsername
.
Text
,
edtPassword
.
Text
,
...
...
kgOrdersClient/View.Main.html
View file @
0a10d405
...
...
@@ -120,7 +120,7 @@
<div
class=
"modal-dialog"
>
<div
class=
"modal-content shadow-lg"
>
<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>
</div>
<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
Title = 'Proof Due'
end
item
ElementClassName = 'tbl-min-120'
DataField = 'proofDone'
Title = 'Proof Done'
TitleElementClassName = 'tbl-min-120'
end
item
DataField = 'artDue'
Title = 'Art Due'
end
item
ElementClassName = 'tbl-min-120'
DataField = 'artDone'
Title = 'Art Done'
TitleElementClassName = 'tbl-min-120'
end
item
DataField = 'plateDue'
Title = 'Plate Due'
end
item
ElementClassName = 'tbl-min-120'
DataField = 'plateDone'
Title = 'Plate Done'
TitleElementClassName = 'tbl-min-120'
end
item
DataField = 'mountDue'
Title = 'Mount Due'
end
item
ElementClassName = 'tbl-min-120'
DataField = 'mountDone'
Title = 'Mount Done'
TitleElementClassName = 'tbl-min-120'
end
item
DataField = 'shipDue'
Title = 'Ship Due'
end
item
ElementClassName = 'tbl-min-120'
DataField = 'shipDone'
Title = 'Ship Done'
TitleElementClassName = 'tbl-min-120'
end
item
DataField = 'price'
...
...
@@ -360,6 +370,7 @@ object FViewOrders: TFViewOrders
FieldName = 'proofDue'
end
object xdwdsOrdersproofDone: TStringField
DisplayWidth = 40
FieldName = 'proofDone'
end
object xdwdsOrdersartDue: TStringField
...
...
kgOrdersClient/View.User.Add.pas
View file @
0a10d405
...
...
@@ -165,7 +165,7 @@ begin
ShowToast
(
FMessage
);
edtUsername
.
Text
:=
Username
;
edtFullName
.
Text
:=
FullName
;
if
Mode
=
'E
dit
'
then
if
Mode
=
'E
DIT
'
then
begin
edtPassword
.
Text
:=
'hidden'
;
end
;
...
...
kgOrdersClient/css/app.css
View file @
0a10d405
...
...
@@ -7,6 +7,10 @@
background-color
:
#fff
;
}
.tbl-min-120
{
min-width
:
120px
;
}
input
[
type
=
"text"
]
{
min-width
:
50px
;
max-width
:
100%
;
...
...
kgOrdersServer/Source/Auth.ServiceImpl.pas
View file @
0a10d405
...
...
@@ -181,7 +181,7 @@ begin
begin
name
:=
authDB
.
uq
.
FieldByName
(
'NAME'
).
AsString
;
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
Logger
.
Log
(
1
,
Format
(
'AuthDB.SetLoginAuditEntry: "%s"'
,
[
user
])
);
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 @@
MemoLogLevel
=
4
FileLogLevel
=
4
webClientVersion
=
0.9.11
LogFileNum
=
17
1
LogFileNum
=
17
5
[Database]
--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