coding-blocks / boss Goto Github PK
View Code? Open in Web Editor NEWBOSS Leaderboard and Claims API and website
Home Page: https://boss.codingblocks.com
BOSS Leaderboard and Claims API and website
Home Page: https://boss.codingblocks.com
(working on this)
@championswimmer
While i was trying to resolve an issue, I found that there are no proper Getting Started instructions to begin working on this project.
I had to personally set up the database using PostgreSQL. (There is no mention in the Readme.md of this project like there is in the shortlr project)
I had to hardcode a workaround the required oneauth authorisation because if you attempt to authorise the localhost then callback URL doesn't match
If you are working on issue related to claims, then claims are added wrt the username of the github handle used in oneauth, so basically hardcode that too..
I don't know if there was any other proper method to start on the project. Any suggestions would be helpful for others who want to begin contributing to this project.
We currently just list all the claims. The loggedIn user might be interested in his own claims. There should be an option to filter claims.
Accepted
, Rejected
, Claimed
}create a page called 'stats' that shows
total bounties means sum of bounty points
we are using semantic-ui so read up semantic docs, and make cards for each stat and make a nice UI for the page (not just a boring table ๐ )
This happens after i logged in via github account
@championswimmer Please help
If there are no accepted or rejected PRs, then show a suitable message like "No Records Found!!"
In reference to issue #49 .
Adding the link to join the gitter channel in the homepage (here: https://boss.codingblocks.com/) would be great helpful for those who directly visit the site homepage.
The NEXT button while viewing Accepted and Rejected Claims ( here:https://boss.codingblocks.com/claims/view?status=accepted and https://boss.codingblocks.com/claims/view?status=rejected) , is redirecting to the claimed ones.
does not works in mobile view
in reference to issue #49
link to all open issues for BOSS =
https://github.com/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3ABOSS+org%3Acoding-blocks or
https://github.com/issues?utf8=โ&q=is:open is:issue label:BOSS org:coding-blocks
The script has been named passportStatergies.js
has a typo (strategies, and not statergies), and has been further used inside the file server.js
here: https://github.com/coding-blocks/boss/blob/master/server.js#L8
New issue filed.
@championswimmer Please approve as per issue #49.
Currently, if some error occurs with the api request, the request waits for timeout to occur, that's not good.
So I propose we should return some error to describe the failure.
Claims need to be submitted for only opening issues as well. Since they do not include a PR URL, the application should allow the PR URL field to be left blank.
a) In the case of "/api/claims/add", the server throws an error (shown below)
b) In the case of "/claims/add", the request "freezes up", doesn't add the claim and then cloudflare sends the thing shown below
Proposed solution: Add necessary validation to all the fields and make the PR request field optional.
Apparently, creating too many of these requests on "/claims/add" can be DoS primitive.
spaces might come in the form field by error. ignore spaces on left or right of username on form submission
NOTE: solve it in the backend. not using frontend validation
In reference to #49
currently, the participant name is not redirecting anywhere. Make it redirect to the page where his/her contribution details can be found.
In reference to issue #49
I think even the meta tags are not set. I could work on that. Referencing #49
Keeping this open you can add either
You can make it on frontend as a live filter, or make make the search as a rest query and make the backend send fresh list of claims which fulfill the search param
The github username accepts anything as of now. It should use github api to check if a username exits or not.
issues page showing 404 if the person is not logged in to github already
check for reference how to add a new project - coding-blocks/lab.codingblocks.com#7
for admins only
when editing claims (to change status)
also add feature to change claims amount
@championswimmer Sir /api/claims does not return the required data. It returns an empty array.
migrations are in /db/migrations/<old-version>-to-<new-version>.sql
add a script called migratedb
(use node itself, or shell - whatever you prefer, do not write in python/ruby or anything that is not required to run the rest of the project)
pickup db name user pass etc from secrets.json (example format is secrets-sample.json)
running migratedb --from 0.0.1 --to 0.0.3
should run all migrations like 001-to-002 and 002-to-003
just running migratedb
should open interactive mode. chose which migration to run from a list of migrations.
if there are any DELETE/DROP commands in migrations, confirm with Y/N prompt in shell before executing that line
The above web page seems broken on my browser.
A couple of links in header other than boss site should open in new tab if clicked.
An error is shown when the PR URL is not given and the user tries to submit the claim. If the error has to be shown, then show it dynamically(e.g., Display message like "Field required") i.e., before the user submits the claim.
In reference to issue #49
The usernames (highlighted by yellow colour) here should link to respective Github Profiles.
Filed a new feature (#49) .
@championswimmer Please approve this issue!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.