* deep change to synapse policy - is this ok?
* make synapse policy resilient to nil topic1/topic2/map
* use a transaction to handle authorization vs invalid record in synapse controller
* more synapse controller tests
* inline documentation
* fix policy(Synapse).create?
* reorder authentication to be: token, then oauth, then cookie
* all APIs but tokens are accessible anonymously (so add mappings to the list)
* fix mapping order
* token overrides current user in api
* policy scope has_many relationships
* fix hard coded topics - whoops
* handle policy_scope returning nil in application serializer
* my_tokens endpoint moved to normal index
* remove secured_by from metacodes/users
* ch ch ch changes
* mess with template
* fix securedBy
* convenience open
* gross authentication notes at the top of every endpoint
* better ordering
* move login tutorials into security tab
* oauth tutorial
* getting closer
* remove unneeded Endpoints header
* ok looks OK
* add starred to maps API and endpoint to create/delete
* add token to requests without token param
* add minor version number to api version
* metacode/user use uri in schema
* make code climate happier
* update Gemfile to rails 5 and ruby 2.3.0
* fiddle with javascripts and add sprockets manifest file
* update config directory for rails 5
* fix some errors with controllers/serializers
* fix travis and rspec
* new serializers renamed to serializers
* module Api::V1
* reusable embedding code
* add index/collections/paging. overriding most of snorlax now |:)
* raml api documentation + rspec tests to verify schemas/examples
* add sorting by ?sort and searching by ?q. Add pagination Link headers
* api v1 => v2
* fill out synapse api
* alphabetize map policy
* fix page thing
* fill out maps api
* formParameters => properties, and fiddle with map api
* more raml 1.0 stuff i'm learning about
* deprecate v1 api
* rails 5 uses ApplicationRecord class for app-wide model config
* Update topic spec for api v2
* workaround for user_preference.rb issue
* get ready for token api docs. also TODO is mapping api docs
* spec out mapping api
* map/mapping/synapse spec, plus other bugs
* awesome, token specs/apis are done
* add sanity checks to the api tests
* more cleanup
* devise fix
* fix starred map error
* enable starring
* users should be able to star others maps
* proper star icon
* starred maps display as starred without refreshing
* oops
* make phrasing clearer
there were 2 issues. one is synapses with leading/trailing whitespace. I've run a script on production to strip existing leading/trailing whitespace from synapse descs.
The second issue was that this code wasn't actually modifying the @synapses array, and collectedDesc wasn't doing anything. So this new line will be more effective.
* update rails to 4.2.5.1
* fix brakeman gem warning
* make brakeman happier and add it to travis
* install brakeman gem for static security analysis
* fix brakeman call in travis
* enable shared private and public maps
* change the list
* yeehaw add collaborators
* I believe this fixes the error connor brought up
* when topic or synapse is no longer on a map, don't defer
* needs to be before?
* just do it in the controller
* make recommendation they sign in and retry
* better email
* config for mailer previews
* improve wording
* shouldn't have included that
* switch to green
* don't execute if there's no map
* wasn't including the right people in some circumstances
* Finish breaking out JS files (#551)
* metamaps.Realtime refactor
* Metamaps.Util
* Metamaps.Visualize
* Metamaps.SynapseCard
* Metamaps.TopicCard
* Metamaps.Create.js
* Remove erb extension from Metamaps.Map.js
* Metmaps.Account and Metamaps.GlobalUI remove extension
* Metamaps.JIT no more erb extension
* move Backbone.init; standard-format on Metamaps.js.erb
* factor out canvas support check function
* some llittle template bugs
* remove featured from signed in explore maps bar
* don't let it overflow off the page