Commit graph

1231 commits

Author SHA1 Message Date
Andrew Cantino
b67c431f45 reload twitter agents every 5 minutes instead of every 10 2014-10-11 01:25:39 -07:00
Andrew Cantino
c550336f3d correct dependency check on GoogleCalendarPublishAgent 2014-10-03 22:33:40 -07:00
Andrew Cantino
358af4b7a2 Merge pull request #552 from cantino/ignore_duplicate_keywords
remove duplicate filter keywords
2014-10-03 20:22:27 -07:00
Andrew Cantino
991e1466c6 fix spec when user agent is different 2014-10-03 20:21:56 -07:00
Andrew Cantino
fb40403c9c clarify why twitter wont run 2014-10-03 19:11:21 -07:00
Akinori MUSHA
74777c0608 Merge pull request #560 from knu/rspec3
Migrate to Rspec3.
2014-10-03 16:37:49 +09:00
Akinori MUSHA
b232003a9c Follow the deprecation warnings after upgrading RSpec to 3. 2014-10-03 16:19:04 +09:00
Akinori MUSHA
bb4a71ec75 Upgrade RSpec to 3.0.0. 2014-10-03 16:18:42 +09:00
Akinori MUSHA
5031cbbbac Migrate to RSpec's new expect syntax using Transpec.
We set `config.infer_spec_type_from_file_location!`, so the command I
ran is `transpec --no-explicit-spec-type`.
2014-10-03 16:16:15 +09:00
Andrew Cantino
8d6090faf9 Merge pull request #549 from deanputney/master
TumblrPublishAgent
2014-10-01 13:40:05 -07:00
Dean Putney
d99ae7470f Removing omniauth.rb 2014-10-01 13:18:28 -07:00
Dean Putney
7e7bdc6eca Fixing messed up merge with upstream master, repairing broken Tumblr auth from messed up merge 2014-10-01 13:11:55 -07:00
Dean Putney
f92e848fa4 Merge branch 'master' of github.com:mustardhamsters/huginn 2014-10-01 09:52:59 -07:00
Akinori MUSHA
41eb277475 Create database in utf8 even if DATABASE_ENCODING is utf8mb4.
This is because we specify the `utf8mb4` charset in some of the columns
and expect others to be defaulted to `utf8`.

I'd like to make this a feature of `ar_mysql_column_charset`.  If you
want to set a table charset, you can always pass a keyword option
`options: "default charset=utf8mb4"` to `create_table`.

Complements #414.
2014-10-01 21:32:23 +09:00
Dean Putney
1f560ad31b Merge to latest 2014-09-30 14:17:33 -07:00
Akinori MUSHA
7fc9fbb2d6 Merge pull request #558 from knu/refactor-omniauth
Refactor OmniAuth integration.
2014-09-30 18:41:32 +09:00
Akinori MUSHA
31b25986bc Add specs for other ApplicationHelper methods while I'm here. 2014-09-30 18:16:29 +09:00
Akinori MUSHA
fd97a151f9 Add specs for icon_for_service. 2014-09-30 18:16:28 +09:00
Akinori MUSHA
f24b7dc910 Merge pull request #557 from knu/heroku-reset-repo
Set up the work tree for user in bin/setup_heroku.
2014-09-30 14:48:58 +09:00
Akinori MUSHA
dc8e8a0eeb Look up the OAuth values on Devise instead of ENV. 2014-09-30 14:42:36 +09:00
Akinori MUSHA
f0086f0466 Load spec/env.test on application boot. 2014-09-30 14:25:12 +09:00
Akinori MUSHA
2f1ff3192c Remove the constraints on services callback, since there is a spec against it. 2014-09-30 09:06:46 +09:00
Dean Putney
59280c04fb gem_dependency_check is an existing function that shouldn't be overwritten, but called 2014-09-29 15:11:01 -07:00
Dean Putney
74ba09746b Merge branch 'master' of github.com:cantino/huginn 2014-09-29 13:57:44 -07:00
Akinori MUSHA
87ad26301b Refactor OmniAuth integration.
- Make use of Devise's OmniAuth integration.
- Merge config/initializers/omniauth.rb into config/initializers/devise.rb.
- Define button labels in config/locales/devise.en.yml.
- Fix devise's routes so we can use user_omniauth_authorize_path().
2014-09-29 23:29:11 +09:00
Akinori MUSHA
0aca3a074d Check the presence of service in twitter_oauth_token & twitter_oauth_token_secret. 2014-09-29 23:14:31 +09:00
Akinori MUSHA
f85b82a043 Do not fail when service is nil. 2014-09-29 22:31:23 +09:00
Akinori MUSHA
c42489b637 Set origin and rebase on the master if it has not been done.
Fixes #521.
2014-09-29 17:20:18 +09:00
Dean Putney
5489f80cb6 Adds validation for Tumblr class definition 2014-09-29 00:41:27 -07:00
Dean Putney
05563022c7 Removes validation for non-service authentication 2014-09-29 00:41:10 -07:00
Akinori MUSHA
4ea8752b91 Do not capture stderr when reading heroku config. 2014-09-29 16:39:20 +09:00
Dean Putney
6073fb2a92 Merge branch 'master' of github.com:cantino/huginn 2014-09-28 18:25:57 -07:00
Dean Putney
282c676eac Adding fake keys for tumblr testing 2014-09-28 18:25:46 -07:00
Andrew Cantino
6661589743 Merge pull request #553 from amoeba/add_specs_for_agent_destroy
Add two specs for Agent#destroy to cover redirects
2014-09-27 21:43:20 -07:00
Bryce Mecum
c4c2cedd92 Add two specs for Agent#destroy to cover redirects 2014-09-27 19:13:21 -08:00
Dean Putney
765151093d Adding spec, removing auth_check 2014-09-27 19:25:34 -07:00
Andrew Cantino
1f6ff7da37 avoid quotes in .env example 2014-09-27 10:10:46 -07:00
Andrew Cantino
492888ffd6 remove duplicate filter keywords 2014-09-27 10:07:52 -07:00
Dean Putney
267ca18a03 Adding oauth check for upgrades for Tumblr 2014-09-26 22:47:57 -07:00
Dean Putney
c6519dcf7e Updated Gemfile.lock 2014-09-26 22:45:19 -07:00
Dean Putney
5a6555b39c Correcting services authentication button 2014-09-26 22:37:56 -07:00
Dean Putney
9634d42f2d Indent description block 2014-09-26 22:37:29 -07:00
Dean Putney
d85ca73857 Merging to latest 2014-09-26 22:32:31 -07:00
Akinori MUSHA
072bcd366f Update ffi to 1.9.5. Seems 1.9.4 has been yanked. 2014-09-26 20:58:43 +09:00
Dean Putney
b263b1c9f6 Creating TumblrPublishAgent 2014-09-25 19:09:21 -07:00
Andrew Cantino
1a512dafae Merge pull request #536 from cantino/twitter_is_optional_too
twitter agents can be disabled too
2014-09-25 14:51:46 -07:00
Andrew Cantino
df6fcdce11 update to newest json editor 2014-09-24 21:10:35 -07:00
Andrew Cantino
d70df24ece Merge pull request #545 from mozz100/master
Improve docs for ForecastIO in WeatherAgent
2014-09-24 20:49:03 -07:00
Akinori MUSHA
c7ec399a44 Merge pull request #541 from knu/download_credentials
Enable download of user credentials.
2014-09-25 10:57:21 +09:00
Akinori MUSHA
7ca5d7db80 Merge remote-tracking branch 'knu/font-awesome' 2014-09-25 10:54:57 +09:00