Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ on:
- 'mig/src/**'
- 'mig/apache/**'
- 'mig/bin/**'
- 'mig/java-bin/**'
branches:
- experimental
- next
Expand All @@ -53,7 +52,6 @@ on:
- 'mig/src/**'
- 'mig/apache/**'
- 'mig/bin/**'
- 'mig/java-bin/**'
branches:
- experimental
- next
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/python-c-ext-sanity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ on:
- 'mig/assets/**'
- 'mig/apache/**'
- 'mig/bin/**'
- 'mig/java-bin/**'
- 'mig/src/lustreclient/**'
- '**/*.py'
- '**/*.js'
Expand Down Expand Up @@ -61,7 +60,6 @@ on:
- 'mig/assets/**'
- 'mig/apache/**'
- 'mig/bin/**'
- 'mig/java-bin/**'
- 'mig/src/lustreclient/**'
- '**/*.py'
- '**/*.js'
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/python-sanity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ on:
- 'mig/assets/**'
- 'mig/apache/**'
- 'mig/bin/**'
- 'mig/java-bin/**'
- 'mig/src/**'
branches:
- experimental
Expand All @@ -54,7 +53,6 @@ on:
- 'mig/assets/**'
- 'mig/apache/**'
- 'mig/bin/**'
- 'mig/java-bin/**'
- 'mig/src/**'
branches:
- experimental
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/python-stylecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ on:
- 'mig/src/**'
- 'mig/apache/**'
- 'mig/bin/**'
- 'mig/java-bin/**'
branches:
- experimental
- next
Expand All @@ -53,7 +52,6 @@ on:
- 'mig/src/**'
- 'mig/apache/**'
- 'mig/bin/**'
- 'mig/java-bin/**'
branches:
- experimental
- next
Expand Down
7 changes: 1 addition & 6 deletions mig/assets/css/V3/ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -1171,12 +1171,7 @@ background: url(/images/icons/java.png) left center no-repeat;
background-size: 18px 18px;
background-position: left center;
}
.sandboxlink {
background: url('/images/icons/hourglass_go.png') no-repeat;
padding-left: 18px;
background-size: 18px 18px;
background-position: left center;
}

.createarchivelink, .doishowdetails {
background-image: url('/images/icons/book_add.png');
background-repeat: no-repeat;
Expand Down
36 changes: 0 additions & 36 deletions mig/cgi-bin/sssadmin.py

This file was deleted.

38 changes: 0 additions & 38 deletions mig/cgi-bin/ssscreateimg.py

This file was deleted.

36 changes: 0 additions & 36 deletions mig/cgi-bin/sssfaq.py

This file was deleted.

36 changes: 0 additions & 36 deletions mig/cgi-bin/ssslogin.py

This file was deleted.

36 changes: 0 additions & 36 deletions mig/cgi-bin/sssmonitor.py

This file was deleted.

6 changes: 0 additions & 6 deletions mig/cgi-sid/README.sandbox

This file was deleted.

35 changes: 0 additions & 35 deletions mig/cgi-sid/isjobactive.py

This file was deleted.

2 changes: 0 additions & 2 deletions mig/cgi-sid/requestinteractivejob.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Check warning on line 23 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (81 > 80 characters)

Check warning on line 23 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (81 > 80 characters)
#
# -- END_HEADER ---
#
Expand Down Expand Up @@ -54,7 +54,6 @@
'cputime': ['10000'],
'nodecount': ['1'],
'localjobname': [''],
'sandboxkey': [''],
'execution_delay': ['0'],
'exe_pgid': ['0'],
'sessionid': [''],
Expand Down Expand Up @@ -114,9 +113,8 @@
cputime = accepted['cputime'][-1]
nodecount = accepted['nodecount'][-1]
localjobname = accepted['localjobname'][-1]
#sandboxkey = accepted['sandboxkey'][-1]
execution_delay = accepted['execution_delay'][-1]
#exe_pgid = accepted['exe_pgid'][-1]

Check warning on line 117 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

block comment should start with '# '

Check warning on line 117 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

block comment should start with '# '
sessionid = accepted['sessionid'][-1]
jobid = accepted['jobid'][-1]
o.out("interactive job request from '%s;%s;%s;%s;%s;%s;%s;%s;%s" % (
Expand Down Expand Up @@ -146,7 +144,7 @@
# out of bounds - rogue resource!?!?

o.out('invalid unique_resource_name! %s' % unique_resource_name)
o.internal('requestinteractivejob called with illegal parameter(s) in what appears to be an illegal directory traversal attempt!: unique_resource_name %s, exe %s, client_id %s'

Check warning on line 147 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (180 > 80 characters)

Check warning on line 147 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (180 > 80 characters)
% (unique_resource_name, exe, client_id))
o.reply_and_exit(o.CLIENT_ERROR)

Expand All @@ -154,34 +152,34 @@
try:
check_source_ip(remote_ip, unique_resource_name)
except ValueError as vae:
o.out("Warning: interactive job request not sent from expected resource address!")

Check warning on line 155 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (86 > 80 characters)

Check warning on line 155 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (86 > 80 characters)
o.internal("invalid interactive job request: %s" % vae)
o.reply_and_exit(o.CLIENT_ERROR)

# TODO: add full session ID check here

if exe == '':
o.out('requestinteractivejob error! exe was not specified in the query string. Looks like a mis-configured resource!'

Check warning on line 162 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (121 > 80 characters)

Check warning on line 162 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (121 > 80 characters)
)
o.reply_and_exit(o.ERROR)

if jobid == '':
o.out('requestinteractivejob error! jobid was not specified in the query string. Looks like a mis-configured resource!'

Check warning on line 167 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (123 > 80 characters)

Check warning on line 167 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (123 > 80 characters)
)
o.reply_and_exit(o.ERROR)

if unique_resource_name == '':
o.out('requestinteractivejob error! unique_resource_name was not specified in the query string. Looks like a mis-configured resource!'

Check warning on line 172 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (138 > 80 characters)

Check warning on line 172 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (138 > 80 characters)
)
o.reply_and_exit(o.ERROR)

if localjobname == '':
o.out('requestinteractivejob error! localjobname was not specified in the query string. Looks like a mis-configured resource!'

Check warning on line 177 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (130 > 80 characters)

Check warning on line 177 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (130 > 80 characters)
)
o.reply_and_exit(o.ERROR)


# TODO: check that the person who submitted the job (where the session ID points) is also the one that submitted the

Check warning on line 182 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (116 > 80 characters)

Check warning on line 182 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (116 > 80 characters)
# received jobid (to avoid a verified user specifies another users job id)

mrslfile = configuration.sessid_to_mrsl_link_home + sessionid + '.mRSL'
Expand All @@ -200,7 +198,7 @@
o.out('requestinteractivejob error! Wrong job_id specified!')
o.reply_and_exit(o.ERROR)

# TODO: check the status of the specified job(id) and verify it has not previously been executed.

Check warning on line 201 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (97 > 80 characters)

Check warning on line 201 in mig/cgi-sid/requestinteractivejob.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

line too long (97 > 80 characters)
# The status must be ? (What about RETRY?)

if mrsldict['STATUS'] == 'FINISHED':
Expand Down
1 change: 0 additions & 1 deletion mig/cgi-sid/sandbox-getresourcescript.py

This file was deleted.

1 change: 0 additions & 1 deletion mig/cgi-sid/sandbox_login.py

This file was deleted.

Loading
Loading