Commit Graph

752 Commits

Author SHA1 Message Date
Andrew Brown
1ec58d3b7b Model for subscriptions #migration 2017-01-20 21:48:05 +00:00
Andrew Brown
0434242a94 BillingPlan model #migration 2017-01-20 21:45:39 +00:00
Andrew Brown
a5e484bc1d Couple o' todos 2017-01-20 17:19:28 +00:00
Andrew Brown
ccd79e4b43 Mock up billing/payments UI 2017-01-14 02:20:31 +01:00
Andrew Brown
8ae77f4b67 Implement authority for user permissions 2017-01-14 00:06:33 +01:00
Andrew Brown
990a306b48 Link back to content index pages on content#show by clicking on content type icon 2016-12-26 18:03:53 +01:00
Steven Wallace
a57459a14e Make content links open in a new tab 2016-11-26 12:43:05 -06:00
Andrew Brown
e8afa326b3 Handle camel case properly when redirecting to multi-word controller paths 2016-11-06 18:25:24 +01:00
Andrew Brown
38244ac022 Don't catch require_ownership exceptions so we can see error in prod logs 2016-11-06 18:15:35 +01:00
Andrew Brown
3b84989321 Show modals again, function method changed apparently 2016-11-06 16:48:42 +01:00
Andrew Brown
48cf0a2ea5 Scope content linking dropdowns to universe when scoped 2016-11-06 15:48:23 +01:00
Andrew Brown
01cf89af04 Clear template description when quick-adding content 2016-11-06 15:29:27 +01:00
Andrew Brown
28fde85db6 Fix hidden tabs on content#show 2016-11-06 15:18:48 +01:00
Andrew Brown
a49ddb2717 Show markdown list formatting in content fields -- fixes #154 2016-11-06 01:47:47 +01:00
Andrew Brown
0af6ab2048 update landing page -- fixes #157 2016-11-06 01:24:50 +01:00
Andrew Brown
b2837d4759 Fix quick-add not passing through name value 2016-11-06 01:11:22 +01:00
Andrew Brown
41b4869017 Load jquery and other page requirements syncronously 2016-11-06 00:11:44 +01:00
Andrew Brown
ba196fdc89 Merge branch 'master' into optimize-javascript-loading 2016-11-05 23:16:04 +01: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
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
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
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
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
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
46b2d3f2ee Update tab icons for all content types 2016-10-27 00:51:37 +02:00