Skip to content

APIs#186

Merged
PSNAppz merged 37 commits intodevfrom
database_frontend
Sep 8, 2020
Merged

APIs#186
PSNAppz merged 37 commits intodevfrom
database_frontend

Conversation

@PSNAppz
Copy link
Member

@PSNAppz PSNAppz commented Sep 8, 2020

  • Added APIs
  • Frontend UI in Angular
  • Major code restructuring

defaultTimeoutInterval: 30000,
print: function() {}
},
onPrepare() {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'concise methods' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts

const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'destructuring binding' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

#jsonvalues = [node.json_data, node.links]
return node.links


Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank line contains whitespace

print("usage: See torBot.py -h for possible arguments.")

print("\n\n")
#jsonvalues = [node.json_data, node.links]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

block comment should start with '# '
trailing whitespace

saveJson("Links", node.links)
else:
print("usage: See torBot.py -h for possible arguments.")

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank line contains whitespace

except (ValueError, HTTPError, ConnectionError) as err:
raise err
LinkIO.display_ip()
print("display_ip()",LinkIO.display_ip())
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing whitespace after ','

try:
node = LinkNode(url)
print("Node",node)
print("Link Node",LinkNode(url))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing whitespace after ','

url = args['url']
try:
node = LinkNode(url)
print("Node",node)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing whitespace after ','

# If url flag is set then check for accompanying flag set. Only one
# additional flag can be set with -u/--url flag
if "url" in args:
print("url",args['url'])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing whitespace after ','

# updateTor()
# exit()
# if not args['quiet']==True:
# header()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation is not a multiple of four (comment)

@PSNAppz PSNAppz merged commit 4744eb7 into dev Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants