Andrew Miner
b942e29829
Fix two bugs
...
* Make sure no elements of the markdown section are displayed when
they shouldn't be by taking advantage of the jQuery animation
queue
* Don't crash when the user cancels selecting a file
2015-06-11 15:13:55 -07:00
Andrew Miner
c130a6d264
Fix Bug: Avoid crash when setting model on MD page
...
When the model is set on the MarkdownSectionController before it has
been rendered, it crashes attempting to set the value into the
textarea (which doesn't exist yet).
2015-06-11 13:15:43 -07:00
Andrew Miner
f5cc4fe98a
Only fetch images in edit mode
2015-06-11 13:06:12 -07:00
Andrew Miner
1ed4a92700
Fix bug: Only save files when they have changed
2015-06-11 11:46:19 -07:00
Andrew Miner
f30fdc0c4b
Upload files one at a time & fix encoding problems
2015-06-11 11:07:25 -07:00
Andrew Miner
7571815018
Restrict uploaded image size
2015-06-10 16:51:41 -07:00
Andrew Miner
9d0ce8547a
Upload new/changed images to GitHub when saving MD
2015-06-09 15:41:04 -07:00
Andrew Miner
4e39b9bb0c
Add error message and disabling of preview button
2015-06-08 12:27:36 -07:00
Andrew Miner
3535c19db0
Show loading state when checking for MD images
2015-06-08 10:45:35 -07:00
Andrew Miner
622f80d153
Use uploaded images in markdown preview
2015-06-08 09:01:53 -07:00
Andrew Miner
6e82194ad8
Add the ability to read a local file as base64
2015-06-07 17:48:08 -07:00
Andrew Miner
2227e81b8b
Update image list to fetch images from GitHub
2015-06-07 14:13:30 -07:00
Andrew Miner
dd760018df
Add UI/models to allow uploading images
2015-06-05 22:47:40 -07:00
Andrew Miner
bdec1643f8
Add meta description tags
2015-05-30 18:22:17 -07:00
Andrew Miner
775da32510
Always show the description section on item page
2015-05-29 18:01:15 -07:00
Andrew Miner
0b07bdb482
Update crafting page checks to fade in
...
Update the crafting page so that the check mark for each step only
appears when hovering over that step, and so that the check also has
some descriptive text helping the user understand what it does.
2015-05-29 12:49:13 -07:00
Andrew Miner
3f50072da1
Allow easy use of the offline CG client
2015-05-27 16:57:22 -04:00
Andrew Miner
06eea0aa48
Add support for conditional recipes
2015-05-20 18:07:39 -07:00
Andrew Miner
c41d531d57
Sort recipes by those with the least missing tools
2015-05-20 16:27:03 -07:00
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