Commit graph

2926 commits

Author SHA1 Message Date
bobbysteel
c7350f2c3c Clarifying no authentication scenario
A bit of a counterintuitive solution as I'd logically expect SMTP_AUTHENTICATION to be set to 'none' vs SMTP_USER_NAME but regardless clarifying for local Postfix configs like mine that don't require auth from localhost.
2017-10-27 11:18:29 +01:00
Dominik Sander
8054945593 Merge pull request #2112 from baip/master
Make Docker image runnable as non-root user
2017-10-22 21:42:50 +02:00
Dominik Sander
6a1509d9d3 Merge pull request #2145 from dsander/fix-spring-guard
Fix running specs with guard and spring
2017-10-16 21:18:18 +02:00
Dominik Sander
36ece6cd3b Fix running specs with guard and spring
Updated spring to allow running the specs with guard and spring again.
2017-10-15 12:13:21 +02:00
Peng Bai
aebca456af chmod g=u .env.example for Docker 2017-10-11 11:29:29 -05:00
Dominik Sander
9bdf27b916 Fix warnings when running the specs using the test image
Setting $HOME to a writable directory fixes:

    `/` is not writable.
    Bundler will use `/tmp/bundler/home/unknown' as your home directory
    temporarily.

Unsetting `no_proxy` removes faraday warnings about `no_proxy` not
being supported.
2017-10-11 11:29:28 -05:00
Dominik Sander
77eda1e874 Remove pid configuration from unicorn config
Fixes restart issue of the single-process image because the pid file was
already written in the previous run. Since we only start one server we
don't need to track it's pid.
2017-10-11 11:29:28 -05:00
Dominik Sander
ed4f9a1f50 Give docker user write permissions to required files/directories 2017-10-11 11:29:28 -05:00
Peng Bai
c6efb548d7 Make Docker image runnable as non-root user
docker/single-process: add DOCKER_CMD environment variable to trigger
                     worker task (e.g., -e DOCKER_CMD='bin/threaded')
bin/docker_wrapper: a wrapper to chmod -R g=u
2017-10-11 11:29:28 -05:00
Akinori MUSHA
509528fd19 Merge pull request #2140 from huginn/ignore_twitter_action_duplicate_error
Do not treat already retweeted/favorited error as failure
2017-10-11 17:40:49 +09:00
Akinori MUSHA
7023058f20 Do not treat already retweeted/favorited error as failure
There's no use to retry when those errors occur, so just log an error
message and let it go.
2017-10-10 20:52:04 +09:00
Dominik Sander
1448f155d8 Merge pull request #2138 from dsander/improve-telegram-agent
Make TelegramAgent FormConfigurable, DryRunable and add logging
2017-10-03 11:26:37 +02:00
Dominik Sander
da72ecd3af Make TelegramAgent FormConfigurable, DryRunable and add logging
Makes the Agent easier to use and to debug. It now verifies the API
token and auto completes the `chat_id`.

Log entries are only created on failure to avoid cluttering the Agent
log.

 #2135
2017-10-03 10:54:45 +02:00
Andrew Cantino
ec16163ecd Fix Run Event Propagation search action (#2124) 2017-09-21 02:07:11 -07:00
Akinori MUSHA
4a96597c19 Merge pull request #2132 from huginn/update_nokogiri_181
Update to nokogiri 1.8.1
2017-09-21 09:14:37 +09:00
Andrew Cantino
116981fbfd Update to nokogiri 1.8.1 2017-09-20 13:58:59 -07:00
Akinori MUSHA
d9f9e582a6 Merge pull request #2129 from huginn/update_rubies
Update rubies: 2017-09
2017-09-20 17:36:58 +09:00
Akinori MUSHA
1f79e06ca3 Update rubies
2.4.2, 2.3.5 and 2.2.8 are out.

Specifying "2.4" and "2.3" still does not work on Travis. 😞
2017-09-20 14:23:13 +09:00
Dominik Sander
f7c5800312 Merge pull request #2123 from Draiken/patch-1
Change urls in default scenario from HTTP to HTTPS
2017-09-19 10:20:47 +02:00
Dominik Sander
8d32c25284 Merge pull request #2127 from dsander/upgrade-jsoneditor
Upgrade jquery.jsoneditor to handle null values
2017-09-19 10:05:30 +02:00
Dominik Sander
ea2a5e3456 Upgrade jquery.jsoneditor to handle null values
Fixes the editor in dry-runs when working with events that include
`null` values.

https://github.com/cantino/jsoneditor/pull/3
2017-09-17 12:10:12 +02:00
Akinori MUSHA
985cc8e376 Merge pull request #2126 from dsander/fix-dry-run-modal
Fix dry-run modal when clicking on icon in 'Dry Run' button
2017-09-16 23:11:09 +09:00
Dominik Sander
dc9d16812b Fix dry-run modal when clicking on icon in 'Dry Run' button
tl;dr: By using `e.currentTarget` instead of `e.target` we ensure to always
pass the `button` element to `Utils.handleDryRunButton`.

`target` refers to the actual element the user clicked on, we then
passed the glyphicon span to `Utils.handleDryRunButton` which requested
`window.location` via ajax because `$(button).data('action-url')` returned
`undefined`.
Evaluating the whole page then triggered
`Error: rails-ujs has already been loaded!`, as a result the user can not
interact with anything that requires `rails-ujs`, `jquery` or bootstrap
javascript.
2017-09-16 13:01:35 +02:00
Dominik Sander
5ee7c35289 Merge pull request #2108 from baip/openshift
OpenShift v3 quickstart
2017-09-16 11:48:52 +02:00
Akinori MUSHA
a893aa7f65 Merge pull request #2015 from wasafiri/patch-1
Update Ruby version in instructions
2017-09-16 18:28:33 +09:00
Akinori MUSHA
4a92862c86 Merge branch 'master' into patch-1 2017-09-16 18:28:22 +09:00
Andrew Cantino
8925ddb8d5 Handle lazy loading of Agents in gems during Agent.receive! (#2125) 2017-09-16 00:47:57 -07:00
Akinori MUSHA
cd2ddcae67 Merge pull request #2122 from huginn/enhance_tweets_view
Enhance the tweets view of TwitterStreamAgent
2017-09-16 05:47:40 +09:00
Luiz Felipe G. Pereira
91105347d6 Fix default scenario links
The http links for XKCD and Apple trailers don't work which gives a bad first impression when the default thing doesn't work :)
Using HTTPS they work fine.
2017-09-15 13:31:31 -03:00
Akinori MUSHA
6987360811 Add a CHANGES entry 2017-09-15 23:46:40 +09:00
Akinori MUSHA
e99b82b1eb Prevent tweet expansion from firing more than once 2017-09-15 23:38:54 +09:00
Akinori MUSHA
5519e6a1a7 Encode screen_name and id_str in URLs 2017-09-15 23:38:54 +09:00
Akinori MUSHA
0b88ce0edc Enhance the tweets view of TwitterStreamAgent
- Use the `extended_tweet.full_text` property instead of `text`
- Show the time and links to the tweet and event for each tweet
- Clicking on the tweet text replaces it with the embedded tweet widget
2017-09-15 23:38:49 +09:00
Akinori MUSHA
04eb81fa26 Add a bunch of recent changes to CHANGES.md 2017-09-14 16:05:29 +09:00
Akinori MUSHA
0541b3a31f Merge pull request #2119 from huginn/liquid_lazy_agent_assocs
Do not instantiate all records when liquidizing a record collection
2017-09-11 11:15:02 +09:00
Peng Bai
15c294cc66 Update to OpenShift v3 quickstart templates 2017-09-09 09:39:37 -05:00
Peng Bai
597a3ef2cb Add logrotate cron job & configuration for OpenShift 2017-09-09 09:28:56 -05:00
Peng Bai
a569d3ffb8 Update OpenShift deploy hook 2017-09-09 09:28:55 -05:00
Peng Bai
76d0a86b98 Revert "Cleanup openshift configuration since it is not supported (#1954)"
This reverts commit 69f062f537.
2017-09-09 09:28:54 -05:00
Akinori MUSHA
3c9a056978 Merge pull request #2118 from huginn/agent_diagnosis
Add `working` and `url` to AgentDrop for diagnostic purposes
2017-09-09 20:09:09 +09:00
Akinori MUSHA
b4817c74b5 Do not instantiate all records when liquidizing a record collection
Saved memory will be small for the average agent, but this will allow
handling a large amount of agents going forward.
2017-09-08 21:04:30 +09:00
Akinori MUSHA
ed9da9f35e Add working and url to AgentDrop for diagnostic purposes 2017-09-08 18:39:37 +09:00
Akinori MUSHA
48afe27bba Merge pull request #2114 from HyShai/itunes-image
add itunes podcast icon
2017-09-07 13:17:33 +09:00
Shaya G
5e1e5a1907 only add itunes icon if ns_itunes 2017-09-06 23:43:34 -04:00
Dominik Sander
8613adde55 Merge pull request #2115 from stritti/patch-1
Add `force_stop` to the manual update instructions
2017-09-06 11:09:48 +02:00
stritti
96513848a2 add force_stop
see: https://github.com/huginn/huginn/issues/1988
2017-09-05 23:38:58 +02:00
HyShai
69f4f22684 add tests 2017-09-05 16:33:46 -04:00
HyShai
23f8efa109 add itunes podcast icon 2017-09-05 13:42:10 -04:00
Akinori MUSHA
347381cf45 Merge pull request #2113 from dsander/fix-flaky-spec
Fix flaky spec
2017-09-05 23:42:50 +09:00
Akinori MUSHA
2b79fee1a7 Merge pull request #2110 from huginn/output_rss_items_with_multiple_categories
Fix DataOutputAgent so that it can output items with multiple categories
2017-09-05 22:54:18 +09:00