Code::Stats and its plugins are open source software, licensed under the 3-clause BSD licence. You can study the inner workings of the code and suggest improvements. You are also free to fork the code.
2.0.6 – 2018-12-25 – 🐛💥
- Fixed a bug in profile GraphQL queries.
2.0.5 – 2018-12-09 – Cache generation fix
- Generate user caches throughout the day instead of all in one block. This lessens the server load.
- Bump versions: Elixir to 1.7, Phoenix to 1.4, Ecto to 3, Distillery to 2, and many others.
- Added Discord and Matrix links to footer.
2.0.4 – 2018-07-11 – GeoIP fix
- Fix corrupted GeoIP databases, thereby fixing frontpage world map graph.
- Fix Phoenix cache manifest issue.
2.0.3 – 2018-07-07 – Even more fixes
- Fix issues with year XP table and highlight current day.
- Fix link to VSCode extension on plugins page.
- Fix wrong data in languages list due to not resetting data when reinitting.
- Hour of day graph improvements.
2.0.2 – 2018-07-03 – More fixes
- Fixed off-by-one error hiding one language in languages list.
- Don't send geoip coordinates to frontpage for private profiles.
- Fix frontpage heading sizes not to clip on mobile.
2.0.1 – 2018-07-01 – Email fix
- Fixed crash when trying to send password reset for a user with no email.
- Removed unnecessary data from front page channel push.
2.0.0 – 2018-07-01 – Brand spanking new
- Totally new UI written with CSS grid layout.
- New graphs on profile pages and front page written with RE:DOM.
- Major upgrades to code base in order to make it more maintainable and smaller releases easier.
- Distillery releases for great good.
- Data export feature for XP and private data.
- Crashers and other bugs fixed.
- Terms of service acceptance dialog with diffs to old terms of services.
- New GraphQL API for fetching XP data, token auth support coming later.
- Shiny contributors list on this page.
- Added all implemented plugins to plugins page.
- Added mass mailing system for mailing about big future updates.
- Removed Google Analytics in favor of Tilastokeskus.
- Dropped Internet Explorer support.
- And lots more.
1.8.6 – 2017-10-02 – AppSignal filtering
- Filtered out some data that doesn't need to go to AppSignal.
1.8.5 – 2017-10-01 – AppSignal & token expiration
- Added AppSignal integration for metrics and error reports to aid in development.
- Added token expiration to channels so that you need to refresh the page at least once every 3 months.
1.8.4 – 2017-10-01 – Updated to Elixir 1.5, bumped deps
- So I kind of blew up the thing accidentally while restarting it. Now it is fixed.
1.8.3 – 2017-07-16 – Small fixes
- Fixed the "private profile" checkbox not working properly in the preferences page.
- Added support for CORS into the user profile read API.
1.8.2 – 2017-04-09 – Groundwork for future refactoring
- Added the storing of the user's local timestamp and timezone offset when creating pulses. This will be used for better graphs in the future.
- Added note about the VSCode plugin to the plugins page.
1.8.1 – 2017-01-18 – Fixes + Sublime Text 3 support
- Bumped Elixir version to 1.4 and fixed compilation warnings.
- Fix decimals being printed wrong with Elixir 1.4.
- Added information about new Sublime Text 3 plugin.
- Added editor logos to plugin page.
1.8.0 – 2017-01-02 – Language aliases
- Added information about Gitter channel into footer, removed useless contact page.
- Added user profile API for fetching data of public users. Integrate Code::Stats with your website! Check the API documentation for more information.
1.7.2 – 2016-09-12 – Machine API key and caching duration stuff
- Fixed machine API key changing when machine name was changed.
- Added caching duration to user's cache to monitor how long generating caches takes. ⏱
- Fixed duplicate update query when updating user's cache.
1.7.1 – 2016-09-03 – Small fixes to live updates
- Fixed machine ordering on profile page being wrong when live updating.
- Fixed live updates not working on IE and other silly browsers by adding Babel polyfill.
1.7.0 – 2016-08-25 – Live updates ✨
- Added live update functionality to profile page and index page. XP numbers and progress bars update live using Elm. 📊 Index page includes a ticker that shows users gaining XP live (private profiles are shown as "Private user").
- Bumped dependencies. Update of Plug results in a different format for API tokens, but the old ones will still work.
1.6.2 – 2016-08-08 – Small fixes
- Remove redundant ARIA tags from progress bars to show more descriptive textual info for screen readers.
- Fix error message printed in console when trying to access a page that does not allow authentication, while being logged in.
1.6.1 – 2016-08-06 – Fixes to machines and page permissions
- Forbid authenticated users from accessing the login, signup and password reset pages. They will be redirected to their profile instead.
- Fix crash when machine was deleted, caused by the cache not being regenerated. Now the cache is regenerated automatically after delete and crash is avoided even if regeneration is still in progress.
1.6.0 – 2016-08-04 – Password resets and fixes
- Added password reset feature. Password can only be reset if the account has an email address set up.
- Fixed 💥 when forms like the signup form were filled with invalid data.
- Fixed crash when pulses were sent before caches were generated.
- Fixed crash when pulses were sent with the API token in an invalid format.
- Added Twitter link.
- Added Elixir and Phoenix link to footer.
- Fixed discrepancies in the API docs regarding pulse dates.
- An issue with the "last coded at" date in 1.5.0 was hotfixed.
1.5.0 – 2016-07-17 – Second performance update
- Earlier, profile view XPs per language were cached to the database as CachedXP elements. This worked fine for that purpose but caching for other dimensions such as per machine and per date were needed. In this update, CachedXP is removed in favor of a JSON field on the user model, which can be used to add all kinds of different caches. Caching is implemented in this field for languages, machines and dates. This removes the need to hit the database for other uses than to update the cache and to load the last 12 hours' XP data. As a result the profile view's display should be much faster.
- An issue with 1.4.0 and database limits in queries was hotfixed.
1.4.0 – 2016-07-16 – First performance update
- Total XP and most popular languages counters on the front page are now in-memory, stored inside ETS. They are updated on every incoming pulse (for now) and totally refreshed every 15 minutes. This should make the front page much faster.
- Added an index to make "XP in last 12 hours" queries faster both on front page and profile pages.
- Accessibility was improved with regards to dates and progress bars.
- Fixed average XP per day display, which showed XP in scientific format in some cases.
- Added real page titles for better SEO and bookmarking.
- Updated the codebase for Elixir 1.3, Phoenix 1.2 and Ecto 2.0.
- Fixed some JSON errors not being sent correctly in the API.
1.3.7 – 2016-06-08 – Fix username uniqueness
- Fix username uniqueness, due to a problem with SQL migrations a unique index was not created and multiple users could be registered with the same username. 😱
- Change some IDs to bigint because if it's worth doing, it's worth overdoing.
- Remove old unused total XP property from users.
- Clarified git repo licences a bit.
1.3.3–1.3.6 – 2016-06-07 – JetBrains and username path fixes
- Added details of the published IntelliJ/JetBrains plugin.
- Fixed spaces in usernames resulting in unreachable profile pages.
- Disallowed the plus sign in usernames to avoid conflicts with spaces.
1.3.2 – 2016-06-06 – JSON errors
- Enabled JSON errors for easier debugging of 500 Internal server errors.
1.3.1 – 2016-06-05 – Language name fix
- Fixed languages being created with different capitalisations. Now language names are case insensitive.
1.3.0 – 2016-06-04 – Machine stats
- Added machine statistics to profile page.
- Added recalculation of XP once a day to fix XP errors in profile view.
- Added favicons.
- Added more user info to profile view.
1.2.2 – 2016-06-02 – Vincit Oy
- Added note about my company who have sponsored the development of the service.
- Added more information to the plugins page.
1.2.1 – 2016-05-31 – Small fixes
- Fix #1: coded_at time range not documented in API docs
- Fix #2: Endpoint path typo in API docs
- Fix #4: Refactor README
- Fix #5: Add link to example stats to front page
- Fix #6: Add clarification about recent XP
1.2.0 – 2016-05-31 – Scaling back levels
- Scaled back the level algorithm to grant less levels. XP is not affected. The aim is to prevent an inflation of levels. The level algorithm may be modified further later on.
- Combined the source and changes page.
1.1.1 – 2016-05-30 – Clock drift
- Fixed a case where clock drift either on the client or the server caused pulses to not be accepted.
1.1.0 – 2016-05-30 – First public release
Implemented everything. 🎉