filnor / rankoverflow Goto Github PK
View Code? Open in Web Editor NEWCalculate all types of reputation rank at once
Home Page: https://rankoverflow.philnet.ch/
License: MIT License
Calculate all types of reputation rank at once
Home Page: https://rankoverflow.philnet.ch/
License: MIT License
Whenever I come to https://rankoverflow.philnet.ch/scoreboard , now its only showing the top 3(before was showing top 10) and then the "show all" button doesn't do anything, not even throwing any console error
As reported here.
Cross-issue of SOBotics/CheckYerFlags#55.
Reported by dippas in SOBotics. After putting in an user profile URL and clicking on the button to calculate, the loader never dissappears.
As requested in chat, users should be linked by their profile id.
Generating the scoreboard on the server-side would enhance the site workflow in serveral ways:
fkey
from the site's JS codeGetting CORS error whenever I enter the site:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css. (Reason: CORS request did not succeed).
Currently, user that have unicode symbols in their name are stored and displayed wrongly.
As suggested in this comment, there should be a way users can start the process without the need to copy their user profile link every time, which can be achieved using the authentication functionality provided by the Stack Exchange API.
In order that we don't need to request write access or something like that from the users, we don't specify the scope
parameter, as the following is stated in the authentication docs:
With an empty scope, authentication will only allow an application to identify a user via the /me method.
The /me method gives us all the information we need (the user id).
After the initial development of this project using PHP (to get the website's markup) and then parsing everything together using JavaScript and jQuery, I wasn't really happy with it because it's very hard to maintain in a state like that and easily leads to a broken page (see issue #2 for an example).
Due to that fact, I decided to rewrite everything in Python. That way, it would be much easier to parse the needed content using PyQuery and because that code would run server-side, no JS from the SE sites (which led and very likely would lead again to problems/bugs) would be executed.
I can't really give an ETA at this time, but you can subscribe to this issue and I'll add a comment once I started working on it.
The SO chatbot CheckYerFlags automatically checks the amount of helpful flags for a users in the SOBotics chat room.
A new subpage should rank the users according to their amount of total helpful flags.
For more information, see this cross-repo issue
Probably just a small counting mistake.
As requested on Stack Apps, a possibility to choose a specific SE site should be added.
This is not a hard thing to implement, since the change isn't so big. But there are two questions that we need to answer:
If a beta site gets taken down or a new one starts, that would need a manual change, as the site switcher needs a change (we can't read the numeric site id from the API)
For that start, I think it would be OK to only provide sites that have the largest userbase. Please suggest other sites you would like to be added from start.
With the SE authentication (#4), this would be rather easy since items
array that the API returns just would be empty. If the user specifies a link or an id to a profile, we can't check that directly.
In another project, I also needed to check the user id. This can be reused here.
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.