Commit Graph
430 Commits
Author SHA1 Message Date
Andrew Miner a5a1322959 Clear user credentials when logging out 2015-05-14 17:16:51 -07:00
Andrew Miner 8efad2d6a1 Make the preview step preceed save 2015-05-14 11:36:13 -07:00
Andrew Miner 39b3cd6111 Add instructions to markdown editor 2015-05-14 11:06:29 -07:00
Andrew Miner aff4c18987 Auto-focus textarea when editing markdown 2015-05-14 10:49:18 -07:00
Andrew Miner 3c62c2f803 Fix invalid markup on home page 2015-05-14 10:44:43 -07:00
Andrew Miner e4df854628 Update "What's new?" message for the wiki feature 2015-05-13 21:59:57 -07:00
Andrew Miner ea416921c8 Add "What's New?" message for wiki editing feature 2015-05-13 21:55:28 -07:00
Andrew Miner db31c3bd7e Show waiting gif until mod data is loaded 2015-05-13 17:52:15 -07:00
Andrew Miner 2b0584935c Bug: Ensure state happen at the correct times 2015-05-13 12:47:37 -07:00
Andrew Miner 4abc879600 Update publish scripts 2015-05-13 11:12:48 -07:00
Andrew Miner a545628e04 Bug: Prevent invalid UI states in markdown editor
When rapidly transitioning between various states, the markdown
editor could wind up with a weird mixture of UI elements showing as
some of transitions were dropped because they followed too quickly
on the heels of another transition.

This change fixes the problem by changing how the BaseController's
`hide` and `show` functions work. They now set a "target" state on
the element and, during each step of the animation, check whether
the target has changed. If so, the transition begins to work in
reverse to return to the prior state.
2015-05-13 09:12:44 -07:00
Andrew Miner 7a05862be2 Update API server URL for staging 2015-05-11 15:06:30 -07:00
Andrew Miner e2f8d83c6b Update GitHub client ID for staging 2015-05-11 15:04:31 -07:00
Andrew Miner 64274810d7 Fix programmer error in login flow 2015-05-11 12:08:59 -07:00
Andrew Miner 8c54231d52 Fix routing so both plain and .html routes work 2015-05-11 11:23:16 -07:00
Andrew Miner bab091e9d6 Fix error in new routing expression 2015-05-11 10:55:20 -07:00
Andrew Miner f40f6c8d71 Update routes to recognize index.html URLs 2015-05-11 10:45:56 -07:00
Andrew Miner afcbcb3421 Merge branch 'andrewminer-item-edit' 2015-05-11 09:43:25 -07:00
Andrew Miner 06d2fa7ee7 Add missing requires for feedback classes 2015-05-11 09:38:18 -07:00
Andrew Miner c36deb17b5 Fix FeedbackController not responding to clicks 2015-05-11 09:21:27 -07:00
Andrew Miner 23e98f5d31 Allow new item description files to be created 2015-05-11 09:20:42 -07:00
Andrew Miner 8eb5cef71b Allow submitting changes for item desc. to GitHub 2015-05-08 16:16:17 -07:00
Andrew Miner 8b94f432b0 Update MarkdownSectionController with support for editing
This allows the MarkdownSectionController and ItemPageController to
work together to begin an editing session for an item description.
2015-05-07 11:19:36 -07:00
Andrew Miner 54194d3f0a WIP 2015-05-05 14:01:39 -07:00
Andrew Miner b2320752f8 Tweaks style of markdown tables to auto-resize 2015-05-03 21:16:24 -07:00
Andrew Miner 8334012ea5 Switch to using "marked" as a markdown parser 2015-05-02 17:41:13 -07:00
Andrew Miner 2fc52efe8b Enable MineFactory Reloaded 2015-04-30 17:03:11 -07:00
Andrew Miner 7869c8012d Hide login button until required 2015-04-30 08:53:10 -07:00
Andrew Miner 930b8049a2 Convert site to a single JavaScript archive
* Convert build to use a single JavaScript file on the site (instead
  of downloading each library separately). This also means that all
  global variables (e.g., `$` for JQuery, `_` for Underscore.js) can
  be removed.
* Remove unused scripts and/or move them to a more appropriate repo
* Update the `deploy` script to work with CircleCI's automation
* Update markdown display code to allow images to be located with the
  markdown data files instead of the pre-rendered index pages
2015-04-29 19:58:53 -07:00
Andrew Miner 2d4f60abc2 Move mod content into a separate module 2015-04-27 13:30:38 -07:00
Andrew Miner 4ca72fe512 Update AdsenseController to show ads to fit space 2015-04-22 16:28:27 -07:00
Andrew Miner 37c9fe7502 Fix several small bugs
* Fix AddThis component not showing up by altering the URL they
  provide to use GET parameters instead of the hash component
* Fix a bug with saving the "have" items on the crafting page
2015-04-20 22:02:01 -07:00
Andrew Miner 9267cb2fa7 Add "What's New?" message about new crafting page 2015-04-20 11:59:18 -07:00
Andrew Miner cc67fce5a2 Add "nothing" placeholder for empty inventories 2015-04-20 11:26:21 -07:00
Andrew Miner 01a137cdc6 Replace use of InventoryTableController
The `InventoryTableController` had been split off from the existing
`InventoryController` some time ago, but was never properly factored
not to share common code. This change elimiates it altogether in
favor of the newly re-vamped `InventoryController` which is now
flexible enough to be used in both places.
2015-04-20 11:10:42 -07:00
Andrew Miner 0c62c97c9e Fix bug in inventory unparsing
When unparsing an inventory which contains an item whose unqualified
slug appears in multiple mods (e.g., "steel_ingot" appears in both
Railcraft and Mekanism), the `unparse` method would choose the wrong
fully-qualified slug to use in the resulting string.
2015-04-20 09:53:42 -07:00
Andrew Miner 5b014c9921 Redesign the crafting page
This introduces the new crafting page design featuring a new vertical
layout and list display of all crafting steps. It also makes it easy
to move items between the have/need sections and even from each step
into your inventory (causing a new crafting plan to be created which
doesn't plan on making that item).

* Convert the `BaseController.hide` and `show` methods to be much
  more robust in the use of CSS transitions (using a timer in case a
  transition doesn't actually fire).
* Change `hide`/`show` to use events for communicating animation
  state instead of callbacks
* Convert several controllers to fire events for communication with
  parent controllers instead of accepting functions.
* Rewrite the `CraftPageController`, `CraftPage` model and related
  Jade/SCSS files to implement the new design.
* Alter the `InventoryController` and `StackController` to allow a
  variety of action buttons, and for the events from those action
  buttons to bubble up to parent controllers
* Add the `StepController` and its related model, template, and style
  sheet as part of the new craft page.
* Tweak the `ItemSelectorController` and related files to allow for
  a variety of styles for the launcher button
2015-04-20 09:17:58 -07:00
Andrew Miner 7288f25d7d Don't change stack quantity when not editable
When displaying an inventory list in read-only mode, it was possible
to reset the quantity to 9999 if the value was higher than that by
clicking the field. This accidentally triggered the validations
applied when editing the field even though editing wasn't possible.
2015-04-13 10:26:24 -07:00
Andrew Miner a32c62011e Add description for the Kikoku 2015-04-13 09:21:38 -07:00
Andrew Miner 285fae672b Add Solar Flux 2015-04-11 14:17:28 -07:00
Andrew Miner 7e71aba606 Add Solar Flux 2015-04-11 14:10:42 -07:00
Andrew Miner 4641a09922 Fix last home page entry 2015-04-11 13:03:14 -07:00
Andrew Miner b2d8c05fe9 Update the home page for Simply Jetpacks 2015-04-11 10:35:23 -07:00
Andrew Miner 21ad85b125 Add Simply Jetpacks 2015-04-11 10:24:25 -07:00
Andrew Miner e72398a8d5 Update "What's New?" section for Modular PowerSuit 2015-04-08 18:07:13 -07:00
Andrew Miner 2fe06eb80c Add Modular PowerSuits 2015-04-08 17:18:02 -07:00
Andrew Miner 5c41428e1a Update "What's New?" to talk about input quantity 2015-04-08 12:10:06 -07:00
Andrew Miner 04a469d911 Fix bug in crafting plan with secondary outputs
Fix a bug in the crafting plan where it would determine the number of
repetitions of the recipe only based upon the primary output even
when the recipe was needed only for a secondary output (e.g., when a
recipe calls for Creosote Oil, which is only produced as a secondary
output).
2015-04-08 11:48:44 -07:00
Andrew Miner 78cc1bf297 Fix minor display issues with input quantities 2015-04-08 11:34:14 -07:00
Andrew Miner 7818bda83f Fix recipe slug to account for input quantity 2015-04-07 21:28:09 -07:00