Commit Graph

98 Commits

Author SHA1 Message Date
Andrew Brown
8ae77f4b67 Implement authority for user permissions 2017-01-14 00:06:33 +01: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
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
6d3c36a888 Render notebook fields with markdown on content#show pages 2016-10-12 00:28:04 +02:00
Robert Richter
5b63f4b4a1
Merge branch 'master' into use-puma 2016-10-03 17:28:09 -05:00
Robert Richter
0f84be78d7
Add Puma and config some threading 2016-10-03 17:27:28 -05:00
Donovan Hernandez
44ee57edfb Add scout_apm gem 2016-10-03 17:14:11 -05:00
Robert Richter
ab30d6b2e9
Alphabetize gems 2016-10-02 20:30:42 -05:00
Robert Richter
16eaf40109
Clean up gemfile groups and unused gems 2016-10-02 20:26:50 -05:00
Robert Richter
47166e1e72
Use rspec-prof 2016-10-02 14:18:05 -05:00
Robert Richter
f4d49a43ae
Update to ruby 2.3.1 2016-10-02 14:03:27 -05:00
Robert Richter
db0a6e721b
Ruby and bundle update 2016-10-02 12:47:20 -05:00
Robert Richter
56b744a858
Add coverage report 2016-10-01 18:46:08 -05:00
Robert Richter
40481975f4
Merge branch 'master' into feature/migrate-tests 2016-10-01 14:38:51 -05:00
Robert Richter
e99ea9e596
Properly add and configure shoulda 2016-10-01 11:27:34 -05:00
Robert Richter
58d2f8cc3c
Use shoulda matchers 2016-10-01 11:15:09 -05:00
Andrew Brown
07b5b99b5e Merge branch 'master' into issue-18-serendipitous-i18n 2016-09-30 03:44:30 +02:00
Robert Richter
794c38d656
Serendipitous PR was merged, use master 2016-09-29 20:42:09 -05:00
Robert Richter
4ee0d5f008
Merge master 2016-09-29 20:06:41 -05:00
Robert Richter
240ce516b3
Install rspec 2016-09-29 18:54:42 -05:00
Andrew Brown
50a4626c66 Report new author signups to slackgit status! 2016-09-30 00:32:07 +02:00
Andrew Brown
061f0aef37 Add admin stat pages for users, characters, locations, items, and universes 2016-09-28 23:39:32 +02:00
Robert Richter
98bd3c0356
Use Concern version of Serendipitous 2016-09-24 18:40:29 -05:00
Robert Richter
aa83c3a723
Remove sitemap stuff, for now 2016-09-19 22:00:07 -05:00
Robert Richter
3b11cea630
Remove practmatic_context gem
Use some simple hand-written JSON-LD for now
2016-09-06 18:37:15 -05:00
Robert Richter
ccc2aeef24
Add JSON LD blocks to User pages 2016-09-06 10:23:05 -05:00
Robert Richter
1e5658c771
Add sitemap gem 2016-09-06 09:20:55 -05:00
Robert Richter
528f0379ef
Start work on SEO info in header 2016-09-04 23:57:30 -05:00
Robert Richter
af7af4a3e2
Rubocop auto-correct 2016-08-26 14:56:52 -05:00
Andrew Brown
1d9576d442 Enable 12factor for heroku logging 2016-08-06 02:10:23 -05:00
Andrew Brown
5e64920cbb Fix content link dropdowns (git statusgit status) 2016-08-04 19:43:33 -05:00
Andrew Brown
b7771f4a27 Merge branch 'master' of https://github.com/indentlabs/Indent 2016-07-31 02:00:39 -05:00
Andrew Brown
28cd4c4739 add proof of concept editor 2016-07-31 00:20:28 -05:00
Robert Richter
95229ab26c
Add Cucumber 2016-07-11 20:46:35 -05:00
Robert Richter
c9c9516a7c
Remove Ruby version from Gemfile
It's already defined in `.ruby-version`
2016-07-11 18:25:43 -05:00
Robert Richter
61278f8c12 Get User-based integration tests running 2016-07-08 22:26:36 -05:00
Robert Richter
534c9519e1 Start getting build closer to passing
Also updated URLs to point to new org repo.
2016-07-05 17:47:47 -05:00
Andrew Brown
4300bf492a Edit siblingships/relations from #_form 2016-05-02 19:37:37 -05:00
Andrew Brown
80e0a7228f Relation autocomplete plumbing 2016-04-30 13:06:22 -05:00
Andrew Brown
c611022f1d Recognize associations on content#edit 2016-04-30 12:21:32 -05:00
Andrew Brown
6cfd0e06af Show serendipitous card base 2016-04-25 22:04:00 -05:00
Andrew Brown
00d32c8161 bring back gems for heroku 2016-04-07 01:22:09 -05:00
Andrew Brown
6273345e5a to heroku we go 2016-04-07 00:56:33 -05:00
Andrew Brown
4f7456c11d remove ruby gemfile spec for heroku? 2016-04-06 23:33:13 -05:00
Andrew Brown
0a44ce1a67 new navbar 2016-04-06 16:51:52 -05:00
Andrew Brown
c5564968fd Add devise 2016-04-04 22:58:47 -05:00
Andrew Brown
7c8b215c06 upgrade ruby, rails 2016-04-04 22:46:01 -05:00
Andrew Brown
b05c15bbbd more rapid dev gems 2015-09-01 22:08:11 -05:00
Andrew Brown
fee8cfa7e0 Hit ownership with a dose of metaprogramming 2015-08-27 23:46:59 -05:00
Andrew Brown
86df7b05b0 Enable guard & rubocop 2015-08-27 22:03:39 -05:00