Chris Eidhof
0465835da8
Added a PDF info agent
2014-11-15 17:15:07 -05:00
Andrew Cantino
2ea63f7acb
Merge pull request #612 from cantino/commander_agent_can_configure
...
Commander agent can configure
2014-11-07 15:05:28 -06:00
Akinori MUSHA
96162482a3
Upgrade slack-notifier to 1.0.0; use webhook URLs instead of tokens.
...
Slack's service integration instructions now only show Webhook URL, so
this should be reasonable for new users.
For compatibility, allow an existing pair of `team_name` and
`auth_token` to still work.
2014-11-06 08:55:59 +09:00
Akinori MUSHA
57abf7d6ac
Fix markdown markups. Text styles do not work in ...
.
2014-11-05 16:05:05 +09:00
Akinori MUSHA
a1ccd58f17
Enable AgentLog to handle a message with invalid byte sequences.
...
Use `String#scrub` which is new in Ruby 2.1 and add the `string-scrub`
gem for older rubies.
Addresses #286 and #613 .
2014-11-04 21:46:02 +09:00
Andrew Cantino
225d73aca3
Merge branch 'master' into openshift2
...
Conflicts:
bin/setup_heroku
2014-11-02 14:31:36 -08:00
Andrew Cantino
f6a9957cad
log configuration changes
2014-11-02 14:14:32 -08:00
Andrew Cantino
5bbb13a406
Allow CommanderAgents to configure targets.
2014-11-02 13:33:10 -08:00
Dominik Sander
423fefe268
Merge pull request #499 from dsander/form-configurable
...
Configure agents via HTML forms rather then JSON
2014-11-02 20:29:50 +01:00
Dominik Sander
990a68c9b2
Merge pull request #609 from dsander/fix-worker-status
...
Fixes WorkerStatusController for postgresql
2014-11-02 20:27:04 +01:00
Dominik Sander
7bd4c7b39e
Fixes WorkerStattusController for postgresql
...
postgres needs every column used in a group by query to be aggregated
2014-11-02 20:07:38 +01:00
Dominik Sander
96a67a6e4d
Added format to the HipchatAgent default options
2014-11-02 19:47:53 +01:00
Andrew Cantino
3501d0b805
clarify TwitterConcern gem_dependency_check
2014-11-01 20:39:56 -07:00
Dominik Sander
d41439e3be
Allow manual input for boolean and array form-configurable types
2014-11-02 01:23:42 +01:00
Dominik Sander
53edbfda48
FormCompletable: Show error message if the completable ajax call failed
2014-11-02 01:23:42 +01:00
Dominik Sander
4eabcca235
Added spec for the FormConfigurableAgentPresenter
2014-11-02 01:23:42 +01:00
Dominik Sander
c1f336d04e
FormConfigurable improvements
...
Made the BasecampAgent form configurable
Added specs
Added guard-livereload and guard-rspec
Custom values can be entered for `completable` attributes
2014-11-02 01:23:42 +01:00
Dominik Sander
60956c49b9
Added a concern to configure Agents via HTML forms
...
Validate input forms based on a callback
Offer valid options for parameters
2014-11-02 01:23:42 +01:00
Akinori MUSHA
89a7848c80
Get IMAP#fetch and #uid_fetch to always return an array.
...
I wasn't aware enough that Net::IMAP#fetch_internal may return nil. We
have a dedicated subclass of Net::IMAP, so override the behavior there.
Fixes #602 .
2014-10-31 16:22:59 +09:00
Andrew Cantino
c0df2352a6
Merge pull request #575 from cantino/longer_agent_logs
...
Add a button to view full error logs; allow longer than 2000 characters
2014-10-27 22:43:58 -07:00
Andrew Cantino
85862fdc56
pre-wrap
2014-10-27 21:48:47 -07:00
Akinori MUSHA
002436fcb0
Change deprecated File.exists?
to File.exist?
.
...
Pointed out in #595 .
2014-10-28 10:45:27 +09:00
Andrew Cantino
815c6d6b86
larger model; fix bootstrap error errors
2014-10-27 14:06:42 -07:00
Akinori MUSHA
96b183bf09
RSSAgent: Include url
in addition to urls
in each event.
...
An Atom/RSS entry usually has just one URL, and even if it has many only
the first of those is likely to be of interest.
Emitting an event with `url` also helps downstream agents like
WebsiteAgent that uses the key name to get a URL to crawl.
2014-10-27 21:17:25 +09:00
Akinori MUSHA
3c339d1b56
Use Glyphicon's cloud-upload/download icons.
2014-10-27 18:35:44 +09:00
Akinori MUSHA
f29c3844f9
Use the fa-copy icon for Clone Agent.
2014-10-27 18:34:45 +09:00
Akinori MUSHA
d655cc6cb1
Add a new helper: icon_tag().
2014-10-27 18:33:06 +09:00
Akinori MUSHA
9b5510131a
Merge pull request #583 from knu/highlight_new_events
...
Make event-indicator a link to the events page, with new events highlighted
2014-10-27 12:29:47 +09:00
Chris Eidhof
b3e7a62b2e
Added a note about the iOS apps you can use to POST your GPS location
2014-10-25 16:10:33 +02:00
Akinori MUSHA
30d252f831
Merge pull request #587 from knu/scenario_import_force_utf8
...
Assume an uploaded scenario file (JSON) is encoded in UTF-8.
2014-10-25 18:13:12 +09:00
Akinori MUSHA
1a42cf08fc
Merge branch 'knu/upgrade_devise'
...
Conflicts:
config/initializers/devise.rb
config/locales/devise.en.yml
2014-10-25 13:19:39 +09:00
Akinori MUSHA
5ee20f22da
Assume an uploaded scenario file (JSON) is encoded in UTF-8.
...
When uploading a file, web browsers do not specify a charset in
Content-Type because it is usually unknown and you cannot assume it
matches the form encoding. Here's a fragment of multipart headers
Firefox will send:
```
Content-Disposition: form-data; name="scenario_import[file]"; filename="example.json"
Content-Type: application/json
```
This causes the scenario import to fail with the following error because
of an uploaded blob being treated as ASCII-8BIT:
```
ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8):
18: <% if @scenario_import.step_one? %>
19: <%= render 'step_one', :f => f %>
20: <% elsif @scenario_import.step_two? %>
21: <%= render 'step_two', :f => f %>
22: <% end %>
23: <% end %>
24:
app/views/scenario_imports/new.html.erb:21:in `block in _app_views_scenario_imports_new_html_erb___4262128004129331542_17292895160'
app/views/scenario_imports/new.html.erb:15:in `_app_views_scenario_imports_new_html_erb___4262128004129331542_17292895160'
app/controllers/scenario_imports_controller.rb:17:in `create'
config/initializers/silence_worker_status_logger.rb:5:in `call_with_silence_worker_status'
```
2014-10-23 22:00:48 +09:00
Akinori MUSHA
89cc666212
Define some helper scopes in Delayed::Job for worker status API.
2014-10-21 19:29:43 +09:00
Akinori MUSHA
63f64f1597
Refactor highlighted?
to avoid lambdas.
2014-10-21 18:51:38 +09:00
Akinori MUSHA
9294a2207d
Use Float::INFINITY; We don't support Ruby 1.8.
2014-10-21 18:47:12 +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
Guilherme J. Tramontina
5f9d45b68a
Improve wording and add usage example on the DropboxFileUrlAgent description.
2014-10-18 16:39:33 -03:00
Akinori MUSHA
5462c62585
Move OmniAuth authentication/callback endpoints to OmniauthCallbacksController.
2014-10-17 13:57:25 +09:00
Guilherme J. Tramontina
81bb122c0e
Merge branch 'master' into dropbox-file-url
2014-10-16 03:17:27 -03:00
Andrew Cantino
13bfdc3c03
Merge pull request #572 from PetroFeed/dropbox-watch-agent
...
Dropbox watch agent
2014-10-15 23:12:20 -07:00
Guilherme J. Tramontina
9044e8ba9b
Add dropbox agent to emit urls for the given paths.
2014-10-15 11:47:28 -03:00
Guilherme J. Tramontina
d40319458b
Merge branch 'master' into dropbox-watch-agent
...
Conflicts:
app/assets/stylesheets/application.css.scss.erb
app/helpers/application_helper.rb
2014-10-14 14:00:39 -03:00
Akinori MUSHA
ca05d40498
MqttAgent: Ignore a retained message previously received.
...
This should fix the problem where MqttAgent creates an event from the
same last message every time it runs if it is retained by the server.
2014-10-14 21:07:29 +09:00
Akinori MUSHA
fd991f7eb5
The MQTT::Client#connect automatically calls #disconnect when a block is given.
2014-10-14 19:36:44 +09:00
Akinori MUSHA
7b341cfc62
Properly rescue Timeout::Error.
...
The `rescue` modifier does not take an exception class to rescue.
2014-10-14 19:35:13 +09:00
Akinori MUSHA
cd2b335cc5
Upgrade Devise to 3.4.0.
...
Rebase view files onto the latest template files.
2014-10-14 16:57:47 +09:00
Akinori MUSHA
f09bfd8a5e
Remove "Sign in with {provider}" links.
2014-10-14 14:51:27 +09:00
Guilherme J. Tramontina
04a244661d
Use omniauth-dropbox
instead of requiring an api key per agent; And dropbox-api
instead of rolling our own.
2014-10-13 21:58:44 -03:00
Guilherme J. Tramontina
6caa7473ec
Default options should be strings.
2014-10-13 08:50:25 -03:00
Guilherme J. Tramontina
dfc2f86993
Call interpolated
and options
with strings instead of symbols.
2014-10-13 08:46:58 -03:00