Update 09/25/2014

Started by shmax, September 25, 2014, 08:27:21 PM

previous topic - next topic
Go Down

shmax

September 25, 2014, 08:27:21 PM Last Edit: September 25, 2014, 08:29:25 PM by shmax
With luck, this will be the biggest update (3 months in the making) you never noticed. The code I'm releasing today mostly affects stuff that happens entirely behind-the-scenes, but there are a few interesting new features. I'll just list the works:

Stuff you probably don't care about:

  • Converted more of the site to an API-driven model, with new APIs for adding and updating products, parts and others

  • Rewrote the form/input library to be easier to work with and configuration-driven

  • Removed all business logic from the form widgets and page controllers (and moved it to the APIs and models)

  • Removed a lot of form inputs that can now be implemented through input configuration (stores, factions, package type, and many others)

  • Wrote API method for uploading photos (and killed the old photos API)

  • Converted part and details pages to API-driven templates



Stuff you'll notice if you visit the site regularly:

  • Reorganized modify product form such that all the required fields are at the top (this wasn't possible under the old system)

  • When you submit changes to parts or products, you will now immediately see your changes on the following page. The changes are still quarantined for review, and only you will be able to see your changes until they get reviewed.



Stuff you'll notice if you're sharp:

  • The "Latest submissions" portlet on the parts browsing pages now sorts properly

  • In the email confirmations we send for submissions, the "Add #1" items are now numbered correctly



Stuff even I didn't notice for years:

  • Release info wasn't appearing when making selections with the product picker

  • Fixed double slash in price chart urls

  • Fixed issue with PHP-to-javascript template converter

  • Fixed breadcrumb paths on "In use by" mini-templates on photo pages (mod-only thing)

  • Fixed OR'ing of tag searching

  • tag urls now use the tag name itself, and not the tag id

  • Fixed initialization of the country drop-down in the release widget when clicking "Add it yourself!" with a country selected



And on, and on. Thousands of little changes. I'll spare you the full details, but leave you with the usual warning: chances are near perfect that I broke lots of stuff. I can easily switch back to the old code if something really awful becomes apparent, but be sure to report even the minor stuff you notice right away so I can get on it. Thanks, guys.

Go Up