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

Visibility option feature within new post #38

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6ff7c0d
Created the IF statement at line 51 to make user anonymous
a-khaldi Sep 15, 2023
912cd68
Created the ELSE statement at line 56 to make user visible if they do…
a-khaldi Sep 15, 2023
a4d7b8e
Added the visibility dropdown in the post.tpl as a test for visual pu…
a-khaldi Sep 15, 2023
26efcac
Removed visibility dropdown from post.tpl because it is in the wrong …
a-khaldi Sep 15, 2023
7a30223
Removed anonymous feature in create.js
a-khaldi Sep 17, 2023
380e2d8
Changed .gitignore and added composer.tpl to be ignored + Added dropd…
a-khaldi Sep 17, 2023
e614d70
Re-added the postVisibility statement in create.js line 52
a-khaldi Sep 17, 2023
c9422c8
some backend support
GulnazSerikbay Sep 28, 2023
57c1eb3
added working backend and frontend for anonymous posting
GulnazSerikbay Sep 29, 2023
7def552
changed configs and frontend in nodebb-plugin-composer
GulnazSerikbay Sep 29, 2023
6c42d1a
comitting changes before pulling
a-khaldi Oct 1, 2023
052c0f8
Merged changes from the branch
a-khaldi Oct 1, 2023
eb224e3
Understanding changes made in create.js to create tests
a-khaldi Oct 1, 2023
bb9a32e
Wrote the first test to check if post visibility successfully changes…
a-khaldi Oct 1, 2023
1c8cf96
Resolved issues with npm run test and on to write test cases
a-khaldi Oct 1, 2023
485f638
Wrote second test case + fixing issues with npm run test
a-khaldi Oct 1, 2023
8706cc9
Ran npm run lint and fixed errors presented
a-khaldi Oct 1, 2023
0a0a91c
Passed npm run lint + issues with npm run test
a-khaldi Oct 1, 2023
f58f00b
made UI exnhancements
GulnazSerikbay Oct 4, 2023
b6af39e
test commit: added branch to git workflow
GulnazSerikbay Oct 4, 2023
933ee0a
added a tooltip UI element for post anonymous checkbox
Oct 4, 2023
1298ab1
small fix to tests
GulnazSerikbay Oct 4, 2023
b7cb11a
Merge branch 'visibility-option-feature' of https://github.com/CMU-17…
GulnazSerikbay Oct 4, 2023
78f6c1e
Update test.yaml to test with redis database
GulnazSerikbay Oct 4, 2023
348e89f
changes to test
GulnazSerikbay Oct 4, 2023
6aed37a
small fixes
GulnazSerikbay Oct 5, 2023
b688112
fixes for the schema
GulnazSerikbay Oct 5, 2023
d2ac125
fixes for the schema2
GulnazSerikbay Oct 5, 2023
e50a129
fixes for the schema3
GulnazSerikbay Oct 5, 2023
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
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- visibility-option-feature
pull_request:
branches:
- main
Expand Down Expand Up @@ -198,4 +199,4 @@ jobs:
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
parallel-finished: true
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
dist/
yarn.lock
npm-debug.log
node_modules/
node_modules/*
!node_modules/nodebb-plugin-composer-default
sftp-config.json
config.json
jsconfig.json
Expand Down
2 changes: 1 addition & 1 deletion install/data/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"widget": "html",
"data" : {
"html": "<footer id=\"footer\" class=\"container footer\">\r\n\t<div>\r\n\t\tPowered by <a target=\"_blank\" href=\"https://nodebb.org\">NodeBB</a> | <a target=\"_blank\" href=\"//github.com/NodeBB/NodeBB/graphs/contributors\">Contributors</a>\r\n\t</div>\r\n</footer>",
"html": "<footer id=\"footer\" class=\"container footer\">\r\n\t<div>\r\n\t\tPowered test by <a target=\"_blank\" href=\"https://nodebb.org\">NodeBB</a> | <a target=\"_blank\" href=\"//github.com/NodeBB/NodeBB/graphs/contributors\">Contributors</a>\r\n\t</div>\r\n</footer>",
"title":"",
"container":""
}
Expand Down
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.

9 changes: 9 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
Loading