Commit graph

27 commits

Author SHA1 Message Date
Dominik Sander
ff2615a71f Upgrade rails and configuration to 5.1.1
Use `to_unsafe_h` to convert unpermitted parameters to a Hash
Specify rails version in migrations
2017-05-19 09:24:44 +02:00
Alex Jordan
5eef730904 Add titles to all pages (#1884)
Fixes #1882
2017-01-30 21:07:37 -05:00
Sascha Hagedorn
d627a18f6d Added api_key option to UserLocationAgent (#1613)
* Added `api_key` option to UserLocationAgent

The `api_key` is used on the summary page of the UserLocationAgent
as well as the event detail page to display a location on a Google
Map which requires an API key. Closes #1612

* added link to Google API key documentation
2016-08-04 21:22:59 -04:00
Enfop
d26015c62b Return to Agent Events after Event show (#1555) 2016-06-22 20:43:04 -07:00
Andrew Cantino
2a9ff37c08 Minor whitespace 2016-03-29 21:30:32 -07:00
Andrew Cantino
cc92181745 Merge pull request #1374 from thiagotalma/agent-menu
Menu actions on more screens
2016-03-29 21:25:39 -07:00
Thiago Talma
0556374bcd Indent with 2 spaces 2016-03-28 09:23:39 -03:00
Thiago Talma
5c9b8b7f27 Show Sources column only when sowing all events 2016-03-27 00:03:04 -03:00
Thiago Talma
7bc0c0f173 Mini action menu as view 2016-03-26 23:58:07 -03:00
Thiago Talma
75d6d5baaa Actions menu 2016-03-26 17:13:39 -03:00
mikalauskas
6ca02f3977 some fixes to return links 2015-09-25 09:10:02 -04:00
Andrew Cantino
4f329a86ed more return paths 2015-09-03 07:53:42 -07:00
Akinori MUSHA
d655cc6cb1 Add a new helper: icon_tag(). 2014-10-27 18:33:06 +09:00
Akinori MUSHA
38907aea9b Make event-indicator a link to the events page, with new events highlighted.
Currently it works as a reload button, but it gives you nothing but
dismissing the indicator unless you are on the events page, and in any
case you have no idea which events are newly created.

With this change, clicking the indicator takes you to the events page on
which newly created events are highlighted.
2014-10-21 18:41:33 +09:00
Akinori MUSHA
d22cad0327 Remove the map_marker partial, which is no longer useful. 2014-09-19 15:20:24 +09:00
Akinori MUSHA
951648c94e Refactor the map_marker partial. 2014-09-19 10:48:33 +09:00
Akinori MUSHA
0f2af0ac12 Fix the events#show page when an event contains lat/lng information.
The map_marker partial is moved to `views/shared` to be shared globally.

This addresses #490.
2014-09-16 19:40:17 +09:00
Andrew Cantino
aaa4b7a155 add basic scaffold of scenarios, including the ability to add agents to scenarios, edit scenarios, and view scenarios. next step: import and export 2014-05-14 22:53:32 -07:00
Andrew Cantino
51c94cdb12 Merge branch 'master' into alias1-196-disable-agents
Conflicts:
	app/assets/stylesheets/application.css.scss.erb
	app/views/agents/_form.html.erb
	app/views/agents/index.html.erb
	app/views/agents/show.html.erb
	app/views/events/index.html.erb
2014-05-05 19:57:13 +02:00
Maximilian Clarke
bd1a01eb4d Upgrade to Bootstrap 3.1.1 2014-05-01 10:32:29 +02:00
Glenn 'devalias' Grant
7f04c83936 [196-Disable] Make event index delete button red 2014-04-09 20:39:29 +10:00
Andrew Cantino
229e24ea80 add keep_events_for as an optional field for agents to decide how long to store events 2013-12-22 14:30:02 -08:00
Andrew Cantino
773a612dee Allow Events to be re-emitted for testing. 2013-09-07 13:53:58 -07:00
Andrew Cantino
3eaa9272b1 Prevent some possible XSS attacks where user input makes its way into JSON and contains </script> tags. 2013-09-07 00:34:51 -07:00
Andrew Cantino
8d7dde6fb5 Add a POST endpoint called handle_details_post that Agents' details views can use to send data to the Agent from the UI. Add a new ManualEventAgent that uses the handle_details_post functionality to create simple events on demand for testing / debugging. 2013-09-06 23:46:31 -07:00
Andrew Cantino
86b5b1f203 Use select2 for type selection; switch to showing JSON for event information 2013-08-08 12:30:17 -07:00
Andrew Cantino
620acffa5a initial commit 2013-03-09 22:36:12 -08:00