Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
048f4320
Commit
048f4320
authored
10 months ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Log bulletin file view success/failure more accurately
Also updated log output format, avoid redundancy
parent
b0b0dce8
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!455
Update branch with changes from master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exec/bullseye.js
+8
-4
8 additions, 4 deletions
exec/bullseye.js
with
8 additions
and
4 deletions
exec/bullseye.js
+
8
−
4
View file @
048f4320
...
...
@@ -63,13 +63,17 @@ while(bbs.online && !js.terminated) {
console
.
clear
(
7
);
var
fname
=
truncsp
(
bull
[
b
-
1
]);
var
ext
=
file_getext
(
fname
);
var
success
=
false
;
if
(
ext
==
"
.*
"
)
bbs
.
menu
(
fname
.
slice
(
0
,
-
2
));
success
=
bbs
.
menu
(
fname
.
slice
(
0
,
-
2
));
else
if
(
fname
.
search
(
/
\.
htm/
)
!=-
1
)
load
(
new
Object
,
"
typehtml.js
"
,
"
-color
"
,
fname
);
success
=
load
(
new
Object
,
"
typehtml.js
"
,
"
-color
"
,
fname
);
else
load
(
new
Object
,
"
typeasc.js
"
,
fname
,
"
BullsEye Bulletin #
"
+
b
);
log
(
"
Node
"
+
bbs
.
node_num
+
"
"
+
user
.
alias
+
"
viewed bulletin #
"
+
i
+
"
:
"
+
fname
);
success
=
load
(
new
Object
,
"
typeasc.js
"
,
fname
,
"
BullsEye Bulletin #
"
+
b
);
if
(
success
)
log
(
"
viewed bulletin #
"
+
b
+
"
:
"
+
fname
);
else
log
(
LOG_WARNING
,
"
Failed to view bulletin #
"
+
b
+
"
(
"
+
fname
+
"
is missing?)
"
);
console
.
aborted
=
false
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment