Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Iroh (dynamic analysis tool) #34

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
28c97f9
added anonymous checkbox (frontend)
ericlin2 Sep 21, 2024
7046d33
add composer changes
ericlin2 Sep 22, 2024
8207552
showing composer changes now
ericlin2 Sep 22, 2024
741e505
actually showing composer changes now
ericlin2 Sep 22, 2024
efdde03
removed some css
ericlin2 Sep 22, 2024
70a529f
add anonymous field in creation and data fetch (backend)
Driftedboat Sep 23, 2024
bf0fcb8
Merge pull request #22 from CMU-313/anonymous-feature
ericlin2 Sep 24, 2024
aef0de0
veronica p1 edits to public/src/client/header/unread.js
VeronicaPim Sep 25, 2024
6135e58
Merge pull request #24 from CMU-313/crystal-dev
Driftedboat Sep 25, 2024
1ba80bc
Merge pull request #26 from CMU-313/anonymous-feature
Driftedboat Sep 25, 2024
e211c77
added anonymous to composer data flow
ericlin2 Oct 4, 2024
cbd78c8
fixed linting errors in src/posts
ericlin2 Oct 4, 2024
16f8c96
fixed linting issues #2
ericlin2 Oct 4, 2024
64d52e5
test lint issue
ericlin2 Oct 4, 2024
53140ae
revert test; linting issuse not fixed
ericlin2 Oct 4, 2024
c60a3ac
Merge branch 'f24' of github.com:CMU-313/nodebb-f24-bluesleep into an…
ericlin2 Oct 4, 2024
989c51c
fix lint
ericlin2 Oct 4, 2024
64d8a7d
reverted changes that are failing test package
ericlin2 Oct 9, 2024
a49b35d
link backend and front
Driftedboat Oct 9, 2024
e1fd539
fix conflicts
Driftedboat Oct 9, 2024
fa64bd6
install Iroh and configure
Driftedboat Oct 23, 2024
3686c65
add iroh in loader.js and change congifure
Driftedboat Oct 24, 2024
510c8b7
fix syntax with ESLint
Driftedboat Oct 24, 2024
5706a11
local setup for modules
Driftedboat Oct 24, 2024
35206c8
Add iroh module to dependencies
Driftedboat Oct 24, 2024
75e9e9e
Sync package-lock.json
Driftedboat Oct 24, 2024
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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
dist/
yarn.lock
npm-debug.log
node_modules/
!node_modules/
node_modules/**
!node_modules/nodebb-plugin-composer-default/
!node_modules/nodebb-plugin-composer-default/**
sftp-config.json
config.json
jsconfig.json
Expand Down
1 change: 1 addition & 0 deletions install/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"scripts": {
"start": "node loader.js",
"lint": "eslint --cache ./nodebb .",
"analyze:iroh": "iroh analyze --config ./iroh.config.js",
"test": "nyc --reporter=html --reporter=text-summary mocha",
"coverage": "nyc report --reporter=text-lcov > ./coverage/lcov.info",
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
Expand Down
16 changes: 16 additions & 0 deletions iroh.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
console.log("Starting Iroh Analysis...");

Check failure on line 1 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Use the global form of 'use strict'

Check failure on line 1 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Strings must use singlequote

module.exports = {
entry: 'app.js',

Check failure on line 4 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
output: './iroh-output',

Check failure on line 5 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
analyze: {

Check failure on line 6 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
calls: true,

Check failure on line 7 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 2 tabs but found 6 spaces
variables: true,

Check failure on line 8 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 2 tabs but found 6 spaces
ifStatements: true,

Check failure on line 9 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 2 tabs but found 6 spaces
},

Check failure on line 10 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
include: ['./src/**/*.js'],

Check failure on line 11 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
exclude: ['./node_modules'],
verbose: true
};

console.log("Iroh Configuration Loaded");
3 changes: 3 additions & 0 deletions node_modules/nodebb-plugin-composer-default/.eslintrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions node_modules/nodebb-plugin-composer-default/.gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 86 additions & 0 deletions node_modules/nodebb-plugin-composer-default/.jshintrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/nodebb-plugin-composer-default/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions node_modules/nodebb-plugin-composer-default/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions node_modules/nodebb-plugin-composer-default/controllers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading