dev_blog

Current Site version: v1.2.0

The dev_blog is sort of a change log, but that's too rigid a definition. It's more a collection of notes about new features and major changes in some of the versions.

1.2.0
(latest blog)

Framework Upgrades

This update is a huge upgrade of the core framework, language and libraries which KerbalX is built on. This may not mean much to the casual observer, but it’s the web development equivilent of an engine upgrade. Very little has changed on the surface but the whole codebase has had a bit of a polish and some of the underlying processes have changed to fit with the upgraded framework. Functionality and use of the site should be mostly unchanged, but with an update of this size there are bound to be a few glitches, so if you spot any please let me know!

The site’s launguage has been upgraded to Ruby 2.4.1 and we’re now using Rails 4.2.9. Exciting huh! ok, well probably not, but it should improve the sites performance and stability. Upgrading these core components also required upgrading all the libraries that KerbalX uses, again probablly not exciting for you, but it should all mean a better overall performance.

So what has changed?

The main change that you may notice is in the process for uploading craft. When a very large craft is uploaded it can take a while to process it and that could slow the site down for everyone else. Now when you upload a craft which is over 2mb the upload process is handled by background workers which takes the strain of the main web server. For craft under 2mb the upload process is the same. But all craft now handle processing thier thumbnails and sending out notifications to followers via the background workers which should make things faster.

In the past when you changed a craft’s thumbnail it wasn’t always apparent that the change had happened. Now when you change a thumbnail is should flush the CDN cache for that craft’s images and you should see the updated thumbnail appear right away.

The process for reading the craft file should now deal with craft that use special characters in their names, so letters like ö should appear correcly in the craft’s name and will be replaced with non-accented (url safe) chars in the craft’s url (rather than just being removed).

There is a now an update craft button on craft edit pages which you can use to update an existing craft. You could always update craft, but the interface to do it wasn’t very clear before.

And a lot of minor bug fixes and little tweaks to the interface.

Want to suggest something?

The KSP forum is the best place for that:

KSP Forum Thread
Found a bug?

Let me know on github;

KerbalX - Bug Tracker
Upload craft directly from KSP with the KerbalX Mod!
(and tag craft for download from any device and have them delivered into your game)

Previous dev blogs

1.1.10

A mostly behind the scenes updates

This is quite a big update in terms of code changes, but you might not even notice it!

icon next to them (hovering the mouse over them will display which site they link to).

  • Minor tweaks for the release of KSP 1.3

  • Couple additions to the KerbalX font-pack

  • ' data-truncated_text='

    Minor Updates

    • Slight change/fix to markdown parser for craft pages to enable you to nest an image inside a link, so you can make a clickable image which links to something. Also all links on craft pages that point to other sites will now open in a new tab. External links will also have a icon next to them (hovering the mouse over them will display which site they link to).

    • '>

      1.1.8

      Minor Updates

      • Slight change/fix to markdown parser for craft pages to enable you to nest an image inside a link, so you can make a clickable image which links to something. Also all links on craft pages that point to other sites will now open in a new tab. External links will also have a icon next to them (hovering the mouse over them will display which site they link to).

    1.1.7

    Minor Updates

    • Fixed issue when uploading craft that have certain special characters in the names or parts, modules or resources.

    • Fixed couple minor spelling mistaks

    1.1.6

    Bulk Downloads on Hangars

    You can now download all the craft in a hangar as a zip.

    Note: If you are the first person to download a zip for a hangar since it was last updated then there will be a 10-20 second wait while the zip is created and uploaded to Amazon AWS for storage. All subsequent requests for that zip will happen almost instantly.

    1.1.3

    Minor Fixes and a Minor feature

    • Updated ckan file reader to account for change in ckan’s installed-default file

    • Fixed a conflict in mod filters where a mod with a name that started with sci was triggering science part filters to be switched on

    1.1.2

    Minor Fix

    Fixed issue that was preventing settings being changed on special hangars (downloads & favourites)

    1.1.1

    Minor Updates

    • Thumbnails can now be generated from youtube vids, so if you want your craft page to just have a youtube vid the craft thumbnail will be taken from the default thumbnail of the vid.

    • fixed bug where having a gif as the first image on the page prevented thumbnails from being generated

    1.1.0

    Customize your craft pages before posting

    You can now customize your craft page before it is made visible to everyone else. Previously your craft was made public the instant you uploaded it, before you had the chance to customize the page. Now you can customize your craft’s page once it’s uploaded and then hit publish to make it public when you are ready. There is now a publish craft button at the top (and the bottom) of the craft edit page.

    1.0.8

    Albums and other fixes

    There’s been a problem with imgur albums so we now have a new style of album display that can work with imgur albums and enables you to create custom albums from any set of pictures (from anywhere, they don’t have to be on imgur) and you can set albums to autocscroll.

    1.0.6

    First Release of the KerbalX Mod

    There is now a mod for KerbalX that enables you to upload your craft from in the game! It also can enables you to download craft from any device and have them delivered to your game.

    See the KerbalX Mod page for more info

    1.0.0

    KerbalX is out of beta

    Today (Aug 31st 2016) marks two years since the launch of KerbalX and the end of its beta phase.

    0.18.8

    Optimizations

    This update doesn’t add anything new but I’ve gone over a lot of the older code and made tweaks to make things more efficient. The most significant tweak has been to rewrite around 70% of the logic for processing craft files. This should result in faster times for uploading craft.

    0.18.5

    Detailed Part Data - patch

    After the last update a number of craft were showing incorrect values for their mass and cost. This was because craft with scalled parts were not taking part scalling into account and some parts using scientific notation were being ignored. This should fix that and result in better values for mass and cost on modded craft.

    You can also search for craft by those characteristics and there are a set of new filters which you can access via the “more filters” menu;
    (The button to access the Mod Filters has also moved up to the same place.)

    The filters for part count, crew capacity, mass and cost let you set upper and lower values with a slider or you can click the icon to enter specific values manually. Note: the sliders are exponential so there is a greater range of precision at the lower end.

    You can also toggle each one with the power icon

    Craft will now also know which tech levels they require and there is another filter which lets you find craft which are compatible with your career. The “Required Tech” filter button (at the bottom of the filters menu) will open up a tech tree view where you can switch nodes on an off.
    Open the tech tree, select some nodes and then close the tech tree window and voila; career compatible craft.

    This works best with the stock tech tree; it can also display tech nodes from mods, but those are just shown as a list.


    It isn’t possible to get detailed part data for all mods, so not all craft will have 100% accurate info about their mass, cost and crew capacity. If the craft is pure stock or if it’s mods are listed on CKAN then it will have complete data. A new version of the PartMapper will be available soon which will also help improve the amount of data for parts.

    The extra data about parts also includes ISP data for engines and it is my goal to add in automatic calculation of dV and TWR for craft. But that will happen in a future update.

    This is a large update so there could be teething issues! Do let me know if you find any problems!

    Other stuff and things

    A few little fixes and improvements. The most notable is an improvement to the craft scanning library which has reduced the time it takes to upload and scan craft.

    ' data-truncated_text='

    Detailed Part Data

    This update adds a big change to the knowledge base. KerbalX now gathers more detailed information about individual parts, including their mass, cost, crew capacity and required tech levels. So now your craft will display their total mass, cost and crew capacities.

    You can also search for craft by those characteristics and there are a set of new filters which you can access via the “more filters” menu;
    (The button to access the Mod Filters has also moved up to the same place.)
    '>

    0.18.0

    Detailed Part Data

    This update adds a big change to the knowledge base. KerbalX now gathers more detailed information about individual parts, including their mass, cost, crew capacity and required tech levels. So now your craft will display their total mass, cost and crew capacities.

    You can also search for craft by those characteristics and there are a set of new filters which you can access via the “more filters” menu;
    (The button to access the Mod Filters has also moved up to the same place.)

    0.17.6

    Minor updates

    A couple bug fixes, some performance improvements, a new loading animation and a small addition to ModPacks.

    The number of craft shown per row will adjust according to your browser width and if you’re using full page mode. This will either be 3 or 4 craft per row on regular sized displays, on very wide displays it will show 6 per row and on mobiles it changes to a single column of wide images.

    You can also override the auto adjusting of craft per row if you’d rather have a set number. Click the cog icon on the right above the craft list to open a menu where you can set how many per row. Drag the slider to change how many per row and then click set. Or click auto to go back to letting it auto adjust. (you can also set to display wide images, but that option isn’t remembered after a page reload, yet)

    The craft pages themselves where more of a challenge to make responsive. The customizable layout of those pages is very dependent on being 960px wide, so craft pages don’t scale up and down. On medium width displays the content is centered on the page and on wide displays the content is moved to the right and the comments and additional craft info from the bottom of the page is brought up into a right hand side column. Only on mobiles is the custom layout altered and each element of the page is shown one above the other and scaled to fit the device.

    I suggest when creating your craft pages to see how it looks on different sizes. When in wide mode the content is placed hard against the edge of the screen which looks great for images but is not so good for text, so to counter that text containers will now have their padding option switched on (you can turn this on/off from the menu on containers on the page).

    On the main craft list page the search interface will gradually shift over to the left on narrower displays and once the display is less than 675px wide it reduces to a minimal search. The search filters get replaced with a filters button which will display the search filters as an overlay (this is intended for use on mobiles). Currently the sort options don’t appear in that mode, still working on that.

    The user menu now has context relevant links displayed in it (the same context relevant links that appear in the header bar, but those may get hidden if the screen gets to small for them to fit).

    I may have slightly broken the next/previous links that are shown on craft pages; they don’t get displayed in all situations and sometimes can cause an error - working on that still. On narrow displays or when using full page mode the next previous links are shown near the bottom of the page.

    You may find some pages that have not been made responsive yet (for example the site statistics page), but they won’t be key parts of the site.

    The search system has also has further tweaks, things should be faster!

    This is a big update that’s completely overhauled the interface layout, so you may find things which don’t work as expected. I’ve tried to make it so that if you prefered it how it was then you can still have it, while also enabling a responsive layout. Please let me know on the forum if you find any issues!

    ' data-truncated_text='

    Responsive Interface

    This is a big update to the layout of KerbalX. My aim has been to keep the same look and feel, while gaining a responsive display. The site will now make better use of available screen space, both for larger displays and small.

    '>

    0.17.0

    Responsive Interface

    This is a big update to the layout of KerbalX. My aim has been to keep the same look and feel, while gaining a responsive display. The site will now make better use of available screen space, both for larger displays and small.

    0.16.4

    Couple new Sort options and by Date Filter

    You can now limit the craft shown to just today’s craft, craft from this week, or just from this month.

    0.16.0

    User and Hangar Following

    This update lets you follow other users and get notifications when they upload new craft, or when they update an existing craft. You can also follow hangars and get a notification when a craft is added to the hangar. You also will get notified when someone follows you or one of your hangars. You can adjust which notifications you get in the notifications section of settings.

    0.15.9

    BotBlocker

    Some of you may have noticed some rather high download activity on your craft, it seems some bots have taken an interest in KSP craft!

    To stop this from happening I’ve made a change to how craft are downloaded; craft and ckan file downloads now have to originate from KerbalX.

    0.15.0

    Thumbnail Image hosting

    The last couple of weeks have been the most fraught for me since KerbalX’s first release. After imgur blocked access to KerablX I’ve had a mad scramble to get things fixed. I want to thank everyone for sticking with the site while things have been patchy. With the changes I’ve made Imgur have now said that they will lift the block, but this may take a couple days to take effect.

    0.14.6

    Stats Update

    The original stats page has been updated and is now the dashboard

    The same info is available, but the dashboard also shows a graph of views and downloads for all of your craft over time, and recent activity and comments on your craft.

    0.14.0

    Mostly behind the scene changes with this update, extending the API and working with linuxgurugamer in developing a mod that can publish and update craft to KerbalX from in game.

    3D Printing of craft is now available. KerbalX and eucl3d have teamed up to enable 3D printing of craft on KerbalX. more about 3D printing

    0.13.0

    Edit Interface Update

    The interface that you use to customize your craft’s page was one of the oldest parts of the site and was rather tricky to use. That interface has been re-written and there is now a much more intuative interface that also gives you better control over where you place things. Instead of clicking arrow links to move and resize things you now drag and drop to move and grab and drag edges to resize. It’s also easier to add new things to the page and you can more easily set the font-color (and now also the background color) of elements on the page.

    0.12.0

    Platform Upgrade

    KerbalX has been moved to a more powerful database service (and and updated version of the database). Should sort out some of the problems with site speed that we’ve been having in recent weeks.

    Search By CKAN

    0.11.3

    minor fix in detecting craft that use TweakScale

    0.11.2

    • Craft with the updated FAR are now correcly detected

    • Atmospheric Sensor is now included in stock science parts (and the Nosecone has been taken out)

    0.11.1

    • case insensitive login - The case of your username is now ignored when logging in. You can also log in using the email address you registered with.

    0.11.0

    Imgur Album Support

    You can now display imgur albums with your craft. You can add albums to existing craft pages using [imgur] tags just like we do on the KSP forums i.e: [imgur]srhRE[/imgur]. When uploading a new craft you just need to put the 5 char album id into the add picture section and it will add the required tags for you when the page is created.

    0.10.0

    Knowledge Base Overhaul - CKAN compatibility

    This update brings a major overhaul to the knowledge base and a change to how KerbalX can discover info about mods.

    0.9.0

    Interface Improvements

    In this update I’ve done a lot of subtle improvements and fixes to the interface. If I’ve done things right then you shouldn’t really notice them! Small things like sorting spacing out between craft in the main page, fixing odd border sizes and other things like that.

    Some of the more noticeable changes;

    Site Logo!

    0.8.0

    Hangars

    Hangars allow you to create custom groups of craft. By default you get two hangars; your favourites and downloads hangars. Craft that you download are automatically added to your downloads hangar. You can add craft to you favourites hangar by clicking the star icon in the header bar at the top of a craft’s page.

    0.7.20

    Detecting Science

    KX can now determine what parts are science parts by the modules and events they contain in the craft file, so craft now list which stock and mod science parts they have. Click Details on a crafts page and at the bottom left it will show you what science parts it has. It displays them in a short-hand form to save space, click to see full names and a count of each one. I want to replace the letters with icons, any of you guys good at making icons?

    New Search Filters

    0.7.14

    Since adding pretty urls for craft in 0.7.0 there have been a few issues with some urls not working but I think those are mostly sorted now. Because your username is used in the urls for your craft there are now restrictions on what characters you can have in your username. A couple of you will need to change your usernames slightly, but I’ll mail you about that.

    I’ve made a bit of a change to the login style and have removed the login/signup forms that slid in from the sides. I liked them, but they where causing problems on some browsers.

    0.7.0

    Quite a few things smushed together in this update;

    Pretty Craft Urls - new feature

    This is something I’ve been promising to do for ages, finally got round to it.

    0.6.0

    Mod download links

    You can now suggest download links for mods (open a craft’s mod list and click suggest DL link or edit/rate link. Once a link has been suggested other users can vote it up or down or suggest other links.

    0.5.37

    Speed Improvements

    I’ve not added any new features with this update, but I’ve (hopefully) improved the speed of the site. Particularly on the mod details pages. Loading the craft edit page should also be faster.

    More new features like pretty urls, hangers(favourites) and download links for mods are in the pipe.

    0.5.32

    Updating Existing Craft

    You can now update craft you’ve uploaded. They will be re-scanned and mod lists and craft info will be updated but otherwise the craft’s page will be unchanged.

    You will be asked if you want to update an existing craft or create a new one if:

    0.5.24

    Notifications and Craft Stats

    Notificiations about craft up/down votes and downloads have been changed. You now get one notification that displays recent activity on your craft, rather than a separate notification for each event. You still get notified the instant something happens (if you’re online), but you won’t have to click through lots of notifications after being away for a while.

    0.5.17

    Mod Detection
    • Craft that have TweakScale present but don’t have any scaled parts will no longer be detected as using TS.

    • Craft that use TweakableEverything are now detected, unfortunately there is no way to tell if TweakableEverything is actually applied.

    0.5.15

    Search by KSP version

    You can now filter craft by the version of KSP they were made in.

    0.5.14

    Text Editing

    You can now use more of the BBcode styles that we use on the forum. ie you can now add images in like this [img]http://i.imgur.com/BkQCWgW.jpg[/img] aswell as in the Kerbdown style [img:http://i.imgur.com/BkQCWgW.jpg]

    Click the Markdown help link when editing craft or commenting to see more of the formats available.

    0.5.10

    User Settings

    You can now set the default sort filter under interface settings. You can also change notification settings there too.

    0.5.4

    Introducing the strawberry cheesecake version

    You’ll be pleased to hear of a new feature that allows you to download a strawberry cheese cake if you bash you face against the screen hard enough

    K
    S
    P