Comments (9)
Made some more fixes for recentMatches--should work again!
As for the storing all data for players, we have not made that change yet. It requires some more planning around how we store the data. So for now, if you want to have data available, you will need to make your profile public temporarily, request a refresh, and then turn it off again.
from core.
Updated to hide last 20 matches, MMR (although this is many years out of date anyway) and rankings as well.
The showing an improved message is tracked in odota/web#3133
from core.
Agree on this one. Came here to ask the same thing.
from core.
I'm on board with this change if someone wants to create a PR, but don't currently have the bandwidth to work on it directly.
I think we have the necessary data to do it already--we can just not load the matches list for players in all the player data endpoints if fh_unavailable (we set this when we try to fetch match history for a player) in the SQL database is true and the cookie doesn't match the user ID.
In the UI if we want to create a message showing that the player is private, that's a bonus
This would also allow us to start storing match data for all users (including anonymous ones) from the GC since it'll be hidden from the profiles of players who toggle the option off
from core.
Erm, sorry, but does it fully work actually? Am I missing something?
Opening my profile both logged in and incognito (https://www.opendota.com/players/112636165) leads to the attached picture below:
While it clearly has a lot of zeros and doesn't show data like "Counts", "Players Played With". etc. - It still shows my match history from before I last enabled Expose Setting and "Averages/Maximums" in those games. And yes, I played quite a bit of dota after "25 days ago" mark. Also MMR and Rankings tabs have some info :D
Also there is no clear message that my profile is supposed to be private, like we discussed stratz/dotabuff examples. Plus, I thought you wanted to make it so we can see our own data if we login despite the setting state.
Do I need to toggle the setting 🤔
from core.
Also put in a fix for the showing matches to logged in users, but haven't tested it directly since my own account is not private
from core.
Doesn't look like it.
from core.
Tried another fix (web client wasn't passing login info)
from core.
thanks a lot, looks good except "Recent Matches", "Averages/Maximums" now don't load if I'm private+signed in. Other tabs look fully functional.
Another thing I'm not sure about it - Matches still shows data only before 25 days ago. However, you mentioned storing data for all users/all matches so I thought it means if my profile is private and I login - I should be able to see my recent games (as in yesterday) despite the setting. That the setting should only control who can see the information.
from core.
Related Issues (20)
- OpenDota web failing because gold_t returns null instead of array HOT 1
- Add a couple decimal points to KDA Query for players in matches. HOT 7
- Update Steam libraries
- Allow backfill of parsed player_caches info after visibility setting change
- Can I see a list of {player_id} item ids in /api/players/{player_id}/matches? HOT 3
- Deprecate /replays and /playersByRank endpoints
- delete region and patch from player_caches
- Require login or API key for requests
- API updates proposal HOT 2
- replay link requests HOT 3
- Port post-parse processors to Java odota/parser HOT 1
- Table public_player_matches is missing
- Method 'GetGameItems' not found in interface 'IEconDOTA2_570' HOT 5
- Incorrect api response HOT 2
- Fix data issues
- Allow YouTube playlist as media source
- Show longest win/lose streaks HOT 1
- How to stop api calling till achieving a 5000$ bill HOT 1
- How to
- How to collect massive replay dem file efficiently?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.