* Option for custom response headers for receive_web_request
In DataOutputAgent, WebhookAgent, LiquidOutputAgent, this enables
setting options['response_headers'] as a JSON object with custom
response headers to set on the HTTP response through the
WebRequestsController.
* code copy edits from @cantino
Especially when using Agent gems it happens that an Agent was deleted from the gem or the user removed a gem from the
configuration. Instead of failing with an Internal Server Error the user now is offered to delete all undefined agents.
`type.constantize` is needed to invoke the Rails auto_loader in development since not all Agent classes are loaded when
the application boots.
* Ensure admin attribute can not be set at sign up and the agents user_id is not changeable
* Remove ACCESSIBLE_ATTRIBUTES from the User model
* Remove side effect on agent_params from AgentsController#build_agent
* checking in work for glyph upload
* checking in icon selections
* added more icon options
* work on upload icon
* fix issue
* switched to options for select
* removed wrapper and removed commment
* add migration to support icon
* remove right floating
* rm params session add it to model
* rebuilt the menu
* rm extra div
* converted js to coffee
* quick change in indentation
* using the view helper
* submitting icons and loading into form
* added icon to both scenario export and import
* added icon to spec
* low level caching the icons
* tentative work in making a new coffee class
* renamed js page
* switched to cache in memory and worked on coffee class
* made pathsmatching compatible for all scenarios
* switched to rails root
* fixed all rubocop stylings
* fixed line is too long styling
* rm private method definition
* patch to avoid having no icon
* blank or nil?
* reordering the lines
* tentative work on enable disable all agents within a scenario
* more work with pr
* more work
* better names and save a line of code
* coffeescript to change modal text and hidden disabled value
* redoing coffeescript class to save some code
* initing the function
* updated coffeescript
* change text from specific modal, made names more specific
* updates disabled test and rubocop bug
* improved test and refactored method per rubocop warnings
* switched from 0 to false
* switched from 0 to false and 1 to true
* fixed null bug in postgresql database
* fixed ruby boolean bug
* moved instances into let lazy load and use proper agent fixture
* putting in a different fix
* using existing membership and agent and another version of test
* switch back to 2 not 3 after rm an agent in yml
* made test passed locally
* forgot to remove debuging pp
* small spacing bug
* trying to get rid of newline in file
* typo not agent but scenario
* minor changes to syntax and naming
* rm potential failure and changed update_all statement
* fixing new line issue
* removed unnecessary if else statement from method
Added button to toggle visibility of disabled agents
* Moved index code to separate file
* Added cookie to allow toggling visibility of disabled agents
* Filter disabled agents based on cookie
* Removed js and use correct cookie name
* CR changes
rm req json, not saving file, styled button a bit
skinny controller fat model
minor spacing mistake
build user credentials fixed mass assignment issue
undo mass assignment variables
spec in progress
spec
fixed exception issue
json fixtures
slight change to test
added test to assert credentials created for current user only
added tests to satisfy requirements
refined import method
added status 422
saving two lines of code
one more test
fixed small bug, words changed
minor change in test
styled file upload button
deleted unnecessary spec
switched to modal format
made modal more presentable
minor change to modal
fix indentation issue
ok nested correctly within form tag
quick rewording
changed glyphicon
skip failed jobs locked at and using update all
spec ready as well
rm without protection modify spec
rm unnecessary lines
work on delayed job feature
fixed render json
switched from ok to success
revert render json change for other methods
checking in work
test passed
reverting render and saving a line of code
add back sign in an user
run this on github
altered format.json
rm comment
prevent ajax error head no content
- gives them a place to start from
- leverages existing code to import scenarios
- adds test coverage to seeds to ensure sees can run multiple times against the same db as is the case for Docker
- adds env variable to set if importing is turned on for new user
- adds env variable to point to a custom scenario for new users