Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Context Sensitive Group
freedombone
Commits
3cc906d3
Commit
3cc906d3
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Domain or user
parent
157fe179
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-controlpanel
+10
-10
10 additions, 10 deletions
src/freedombone-controlpanel
with
10 additions
and
10 deletions
src/freedombone-controlpanel
+
10
−
10
View file @
3cc906d3
...
...
@@ -1857,7 +1857,7 @@ function menu_email {
function
domain_blocking_add
{
data
=
$(
tempfile 2>/dev/null
)
trap
"rm -f
$data
"
0 1 2 5 15
dialog
--title
$"Block a domain
name
"
\
dialog
--title
$"Block a domain
or user
"
\
--backtitle
$"Freedombone Control Panel"
\
--inputbox
$"Enter the domain name or GNU Social/postActiv nick@domain that you wish to block"
8 60
""
2>
$data
sel
=
$?
...
...
@@ -1883,7 +1883,7 @@ function domain_blocking_add {
function
domain_blocking_remove
{
data
=
$(
tempfile 2>/dev/null
)
trap
"rm -f
$data
"
0 1 2 5 15
dialog
--title
$"Unblock a domain
name
"
\
dialog
--title
$"Unblock a domain
or user
"
\
--backtitle
$"Freedombone Control Panel"
\
--inputbox
$"Enter the domain name or GNU Social/postActiv nick@domain that you wish to unblock"
8 60
""
2>
$data
sel
=
$?
...
...
@@ -1910,13 +1910,13 @@ function domain_blocking_show {
if
[
-f
$FIREWALL_DOMAINS
]
;
then
clear
echo
''
echo
$'The following domains have been blocked:'
echo
$'The following domains
or users
have been blocked:'
echo
''
cat
$FIREWALL_DOMAINS
|
sort
any_key
else
dialog
--title
$"Show blocked domains"
\
--msgbox
$"No domains are currently blocked"
6 40
dialog
--title
$"Show blocked domains
or users
"
\
--msgbox
$"No domains
or users
are currently blocked"
6 40
fi
}
...
...
@@ -1926,11 +1926,11 @@ function domain_blocking {
data
=
$(
tempfile 2>/dev/null
)
trap
"rm -f
$data
"
0 1 2 5 15
dialog
--backtitle
$"Freedombone Control Panel"
\
--title
$"Domain Blocking"
\
--title
$"Domain
or User
Blocking"
\
--radiolist
$"Choose an operation:"
12 60 4
\
1
$"Block a domain"
off
\
2
$"Unblock a domain"
off
\
3
$"Show blocked domains"
off
\
1
$"Block a domain
or user
"
off
\
2
$"Unblock a domain
or user
"
off
\
3
$"Show blocked domains
and users
"
off
\
4
$"Back to main menu"
on 2>
$data
sel
=
$?
case
$sel
in
...
...
@@ -2092,7 +2092,7 @@ function menu_top_level {
9
$"Ping enable/disable"
off
\
10
$"Manage Users"
off
\
11
$"Email Menu"
off
\
12
$"Domain
b
locking"
off
\
12
$"Domain
or User B
locking"
off
\
13
$"Security Settings"
off
\
14
$"Set the main repository (repo mirrors)"
off
\
15
$"Change the name of this system"
off
\
...
...
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