Commit Graph

4221 Commits

Author SHA1 Message Date
Andrew Brown
41b4869017 Load jquery and other page requirements syncronously 2016-11-06 00:11:44 +01:00
Andrew Brown
b4c9e55113 Merge pull request #156 from indentlabs/optimize-javascript-loading
Optimize javascript load times
2016-11-05 23:17:30 +01:00
Andrew Brown
ba196fdc89 Merge branch 'master' into optimize-javascript-loading 2016-11-05 23:16:04 +01:00
Andrew Brown
d5ab5dc14b Stop trying to drop tables that don't exist - fixes #166 2016-11-05 23:09:35 +01:00
Andrew Brown
fdb2b408e7 Merge pull request #162 from mpigsley/unsavable-custom-content-fix
#159 Allow Custom Attributes to be Saved
2016-11-05 22:36:50 +01:00
Andrew Brown
fd5e6e4873 Merge branch 'master' into unsavable-custom-content-fix 2016-11-05 22:33:14 +01:00
Mitchel Pigsley
0e0a1dc7f5 Fix duplicate keys in tests 2016-11-03 18:37:51 -05:00
Mitchel Pigsley
46c3cdbb23 Add back missing religious locationships 2016-11-03 18:31:02 -05:00
Mitchel Pigsley
aff0f9646c Update some tests 2016-11-03 18:29:15 -05:00
Mitchel Pigsley
5254db5cf1 Add custom attribute values to the extended and collective pages 2016-11-03 16:55:59 -05:00
Robert Richter
7dcf798f8a
Optimize javascript load times
Our application JS is bloated with minified libraries, while our actual
application Javascript barely amounts to more than two hundred lines.
I propose removing these libraries from our sass file, and instead
load them as separate resources in `<link>` and `<script>` tags.

This has several advantages:

 - By using common CDNs, users are likely to have many of these libraries
   cached already.
 - Even if the files aren't cached, the CDN is likely to deliver them
   faster.
 - We can use the HTML5 'async' attribute to load these libraries
   asynchronously, so users aren't held up while they download.
 - Our fully compiled application JS is much, much smaller, which
   reduces the load on our host.

Also, on the topic of load times, I realized that in #152 that one of the
images was a PNG, not a JPG. I had tried optimizing the image, but I didn't
realize that it wasn't a JPG like the others. Here, I converted it to a JPG,
and it is significantly smaller, and it is visually unchanged.

I'm having some difficulty testing on my local machine, so I would appreciate
some additional manual testing before merging this.
2016-11-02 23:41:00 -05:00
Andrew Brown
29e374f3be Show character aliases in form 2016-11-02 21:54:58 +01:00
Andrew Brown
9451c60d6f Add group memberships and locations 2016-11-02 21:35:41 +01:00
Andrew Brown
c2ea56d5e0 Allow editing races on characters 2016-11-02 19:10:53 +01:00
Andrew Brown
3005eb44af Merge pull request #152 from indentlabs/optimize-images
Shrink images to the size they are actually used
2016-11-02 14:56:14 +01:00
Andrew Brown
ac28ebffda Quick-add ux improvements 2016-11-02 14:50:40 +01:00
Andrew Brown
fbc68af450 Quick-add content into the current universe scope if it exists 2016-11-02 14:35:13 +01:00
Andrew Brown
07c372eb01 Fix CSV exports 2016-11-02 14:10:16 +01:00
Andrew Brown
2f68c5eccd Fix json and xml data exports 2016-11-02 14:01:57 +01:00
Andrew Brown
efd4181972 Fix text data export 2016-11-02 14:00:18 +01:00
Andrew Brown
9e3b12bc6b Add new content types to user content count 2016-11-02 13:49:38 +01:00
Andrew Brown
9e8cb7013f Merge pull request #153 from indentlabs/add-user-plan-type
Add plan type on user model
2016-11-02 10:58:40 +01:00
Andrew Brown
f4eb1ed4b5 Add plan type on user model 2016-11-02 10:52:40 +01:00
Robert Richter
c92304cc7f
Shrink images to the size they are actually used
Also adjust pixel dimensions very slightly so that all
images are the exact same dimensions. We're talkin'
one- or two-pixel changes, but the misalignment is
noticeable if you look closely.

Finally, the pixel density of the images are adjusted
as well. The change is not noticeable, but results in
much smaller file sizes.

These changes result in a visual improvement. Not only
does it fix the aforementioned aspect ratio mismatches,
it improves the quality of the scaled-down images.
I guess the browser did a poor job scaling the images
down, because more detail is visible in the scaled-down
versions.
2016-11-01 20:34:40 -05:00
Andrew Brown
5c75658778 drop languages table on the ol' roku 2016-11-01 23:06:42 +01:00
Andrew Brown
3482464e0b Drop magics table 2016-11-01 23:03:38 +01:00
Andrew Brown
f473d627ba Merge pull request #133 from indentlabs/content-expansion
Content expansion release
2016-11-01 22:34:46 +01:00
Andrew Brown
8d06ea0e77 Revert "Add release notice"
This reverts commit 1ae5519a00.
2016-11-01 22:27:27 +01:00
Andrew Brown
5f7539e4d5 Merge branch 'master' into content-expansion 2016-11-01 22:27:22 +01:00
Andrew Brown
544da91a78 Expose spoken languages on Character form 2016-11-01 22:14:20 +01:00
Andrew Brown
382a786571 Merge pull request #149 from indentlabs/downtime-notice
Add release notice
2016-11-01 22:10:07 +01:00
Andrew Brown
1ae5519a00 Add release notice 2016-11-01 22:02:07 +01:00
Andrew Brown
a896c3c5ae Migrate content types to the new attribute system 2016-11-01 21:51:57 +01:00
Andrew Brown
d107512438 Merge branch 'custom-attributes' into content-expansion
Conflicts:
	app/models/content_types/character.rb
	app/models/user.rb
	app/views/content/_form.html.erb
	app/views/content/form/_text_input.html.erb
	app/views/content/index.html.erb
	app/views/content/list/_list.html.erb
	app/views/content/show.html.erb
	app/views/items/edit.html.erb
	app/views/items/new.html.erb
	app/views/locations/edit.html.erb
	app/views/locations/new.html.erb
	app/views/universes/edit.html.erb
	app/views/universes/new.html.erb
	config/locales/en.yml
	config/routes.rb
	db/schema.rb
2016-11-01 21:02:12 +01:00
Andrew Brown
698a92068f Merge branch 'markdown' into content-expansion
Conflicts:
	app/assets/stylesheets/forms.css
	app/assets/stylesheets/landing.scss
	app/views/content/show.html.erb
2016-11-01 12:22:22 +01:00
Andrew Brown
f052073373 PR feedback 2016-11-01 12:13:15 +01:00
Matthew Werner
eb243b3281 remove unnecessary associations 2016-10-31 16:59:18 -07:00
Matthew Werner
72c66a60cb Attribute Field Dropdowns 2016-10-31 16:32:41 -07:00
Andrew Brown
2f1cf8a9bf Mobile UI polish 2016-10-31 23:40:08 +01:00
Andrew Brown
52585c1602 Reorder landing page content type cards 2016-10-31 21:47:51 +01:00
Andrew Brown
311a0d7ec9 Add signin/up links to mobile navbar 2016-10-31 21:38:53 +01:00
Andrew Brown
8fe3e186c6 Add updated pricing plans to landing page 2016-10-31 21:35:42 +01:00
Andrew Brown
c89baed9f8 Update landing page with new content types 2016-10-31 20:12:54 +01:00
Andrew Brown
08846a0607 Add quick-add form to all content types to create name-only from index page 2016-10-30 21:01:54 +01:00
Andrew Brown
430fc222e1 Content type page descriptions 2016-10-30 15:34:41 +01:00
Andrew Brown
0394ecbe63 mock up branching timeline look 2016-10-30 14:06:10 +01:00
Andrew Brown
4fbbbce411 Fix privacy fields on new content types 2016-10-30 02:33:59 +02:00
Andrew Brown
cc701a0eff Restyle profiles to show all content types 2016-10-30 02:33:50 +02:00
Andrew Brown
2005d71d18 Update card headers for magics/languages/religions 2016-10-30 00:35:44 +02:00
Andrew Brown
204005b55f Add serendipitous prompts for new content types 2016-10-27 12:45:08 +02:00