Commit graph

1820 commits

Author SHA1 Message Date
Dominik Sander
a16fb09fa6 Add capistrano 3 and documentation 2015-08-19 00:13:45 +02:00
Dominik Sander
b35efc2eec Update README with links to new documentation 2015-08-19 00:13:45 +02:00
Dominik Sander
cec02c1bd6 Use runit instead of upstart as init system 2015-08-19 00:13:45 +02:00
Dominik Sander
f815b1bdc7 Moved heroku documentation and restructured directories 2015-08-19 00:13:45 +02:00
Dominik Sander
79300615f9 Add docker documentation 2015-08-19 00:13:45 +02:00
Dominik Sander
82566130b6 Document how to run additional delayed job workers 2015-08-19 00:13:45 +02:00
Dominik Sander
35f9bc419a Add update documentation 2015-08-19 00:13:45 +02:00
Dominik Sander
3133e08e5d Add section about utf8mb4 database encoding 2015-08-19 00:13:45 +02:00
Dominik Sander
0e4c9be723 First version of the manual deployment guide 2015-08-19 00:13:44 +02:00
Andrew Cantino
b88e20d0a8 Merge pull request #971 from N-006/patch-2
Make exclude_replies configurable
2015-08-17 14:57:51 -04:00
Vlad
ff050dd9be Skip exclude_replies validation 2015-08-17 10:54:10 +03:00
Andrew Cantino
65f9d387ca Merge pull request #974 from cantino/minor_improvements
Various small improvements
2015-08-17 03:01:28 -04:00
Andrew Cantino
dc06e3aed0 do not delete running jobs 2015-08-17 00:01:04 -07:00
Andrew Cantino
b0ae65a30c Merge pull request #973 from cantino/remove_spring
Remove spring because it frequently conflicts with foreman
2015-08-17 01:43:56 -04:00
Andrew Cantino
d217b5ff70 Merge pull request #967 from TildeWill/intercept_dev_email
Intercept email in development
2015-08-17 01:42:43 -04:00
Andrew Cantino
671e0105fb Merge pull request #972 from cantino/set_global_email_settings
local email was not configured correctly without this change
2015-08-16 19:41:18 -04:00
Andrew Cantino
50ccc2ad34 remove spring loads too 2015-08-16 16:16:04 -07:00
Andrew Cantino
8713dce4d8 integrate @knu's suggestions 2015-08-16 16:05:22 -07:00
Will Read
5f731d55bf Supress pop up emails
- Emails will only be visible by visiting /letter_opener
- Helps with those who leave Huginn running on their dev machine
2015-08-15 13:56:32 -07:00
Vlad
266a10132b Update twitter_user_agent_spec.rb 2015-08-15 15:21:08 +03:00
Vlad
177009a5bb fix exclude_replies? 2015-08-15 15:11:36 +03:00
Andrew Cantino
ce84f159e0 There is a button to add a new Agent directly in a Scenario; deleting an Agent from its show page no longer 404s; there is a button to destroy all delayed_jobs 2015-08-14 21:51:13 -07:00
Andrew Cantino
ffe9626475 remove spring because it frequently conflicts with foreman 2015-08-14 19:59:20 -07:00
Andrew Cantino
040c4c18ad local email was not configured correctly without this change 2015-08-14 19:50:01 -07:00
Vlad
ca2d2acaec Make exclude_replies configurable 2015-08-14 20:54:38 +03:00
Andrew Cantino
16e9504a88 Merge pull request #966 from TildeWill/skip_invitation_code
Adds the ability to allow public signup without invite code (retry)
2015-08-14 02:07:45 -04:00
Will Read
71b2bfdd19 Intercept email in development by default
- Actually "sends" out email without need to configure an SMTP host locally
- Lets you use all kinds of email addresses, not just real ones
- Prevents you from spamming yourself and others while developing
2015-08-09 15:15:41 +00:00
Will Read
570030c586 Improve language for clarity 2015-08-09 05:28:29 +00:00
Will Read
b87ac1d6d4 Test operates correctly regardless of dev's ENV config 2015-08-09 00:24:44 +00:00
Will Read
f36b39b85c Provide a default value in the case that the ENV variable isn't set 2015-08-08 13:05:40 -07:00
Will Read
5b6d7c7e85 Adds the ability to allow public signup without invite code
- Introduces new ENV variable SKIP_INVITATION_CODE, intentionally
  phrased in the negative so that the absence of the variable
  will not change the behavior of existing deployments.
2015-08-08 12:33:45 -07:00
Akinori MUSHA
9e8f9bf7f9 Revert "Make a spring group which user must opt in to"
This reverts commit 0d0468bc6f.
2015-08-03 22:58:27 +09:00
Akinori MUSHA
76be124012 Revert "Replace the platform :ruby18 hack with install_if"
This reverts commit 06827f99a0.
2015-08-03 22:58:18 +09:00
Akinori MUSHA
06827f99a0 Replace the platform :ruby18 hack with install_if
This is a new feature in Bundler 1.10.
2015-08-03 22:49:12 +09:00
Akinori MUSHA
0d0468bc6f Make a spring group which user must opt in to
Running `bundle install --deployment` will not bundle spring any more;
run `bundle install --deployment --with spring` to opt in to using
spring.
2015-08-03 22:36:39 +09:00
Akinori MUSHA
d14027c77d Merge pull request #950 from cantino/web_content_charset
Implement charset handling in WebRequestConcern
2015-08-03 22:27:43 +09:00
Akinori MUSHA
67ff37a9f8 Merge pull request #939 from cantino/dry_run_with_event
Add support for sending an event in a "Dry Run"
2015-08-03 21:29:28 +09:00
Akinori MUSHA
47d19476cd Remember the payload last sent and reuse it as default next time 2015-08-03 21:24:59 +09:00
Andrew Cantino
3888648a00 Merge pull request #943 from cantino/rss_agent_logs_exact_feed_on_error
RSSAgent should record which feed errored and keep going on the other ones
2015-08-01 17:39:47 -04:00
Andrew Cantino
9ed9a20adb fix Gemfile.lock 2015-08-01 13:15:46 -07:00
Andrew Cantino
fe1e806368 Merge branch 'master' into rss_agent_logs_exact_feed_on_error 2015-08-01 12:13:12 -07:00
Akinori MUSHA
6f667a4973 Implement charset handling in WebRequestConcern
- The `force_encoding` and `unzip` options in WebsiteAgent are moved to
  WebRequestConcern so other users of the concern such as RssAgent can
  benefit from them.

- WebRequestConcern detects a charset specified in the Content-Type
  header to decode the content properly, and if it is missing the
  content is assumed to be encoded in UTF-8 unless it has a binary MIME
  type.  Not all Faraday adopters handle character encodings, and
  Faraday passes through what is returned from the backend, so we need
  to do this on our own. (cf. lostisland/faraday#139)

- WebRequestConcern now converts text contents to UTF-8, so agents can
  handle non-UTF-8 data without having to deal with encodings
  themselves.  Previously, WebsiteAgent in "json"/"text" modes and
  RssAgent would suffer from encoding errors when dealing with non-UTF-8
  contents.  WebsiteAgent in "html"/"xml" modes did not have this
  problem because Nokogiri would always return results in UTF-8
  independent of the input encoding.

This should fix #608.
2015-08-01 20:26:29 +09:00
Akinori MUSHA
77ec02271f Merge branch 'ruby2.0' 2015-08-01 16:57:26 +09:00
Akinori MUSHA
010a3c093e OpenStruct responds to []/[]= in Ruby 2.0+ 2015-08-01 16:55:04 +09:00
Akinori MUSHA
51e8414257 Retire lib/prepend.rb
We do not support Ruby 1.9 any more.
2015-08-01 16:55:04 +09:00
Akinori MUSHA
cd962f767e Require Ruby 2.0.0 or higher
Closes #944
2015-08-01 16:55:04 +09:00
Akinori MUSHA
4c82e3a547 Merge pull request #945 from cantino/rss_agent-events_order
Enhance RssAgent with the `events_order` option
2015-07-31 13:40:03 +09:00
Akinori MUSHA
1d33417cee Enhance RssAgent with the events_order option
This should fix #907.
2015-07-31 13:38:37 +09:00
Dominik Sander
4619e53da4 Merge pull request #947 from dsander/fix-agent-show-exception
Do not try to display service_label when service has been deleted
2015-07-31 01:09:13 +02:00
Dominik Sander
8252e727a2 Do not try to display service_label when service has been deleted
Fixes an exception in AgentController#show when the service of an oauthable
agent has been deleted.
2015-07-30 23:11:14 +02:00