Commit graph

26 commits

Author SHA1 Message Date
Akinori MUSHA
2f1ff3192c Remove the constraints on services callback, since there is a spec against it. 2014-09-30 09:06:46 +09: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
89754a1cb3 Integrate UserLocationUpdatesController into WebRequestsController. 2014-09-17 10:39:30 +09:00
Akinori MUSHA
f720291b49 UserLocationAgent: Receive events and accept POST via WebRequestsController.
Show the POST URL on the details page while at it.

The old user_location_updates URLs still work.

This addresses #490.
2014-09-16 20:56:08 +09:00
Dominik Sander
830cf1bf3d Simple job management page
Also added a seperate `job-indicator` for every job state
(pending/awaiting retry and failed)
The jobs page is automatically reloading when jobs are
enqueued, retried or failed.
2014-08-30 17:48:29 +02:00
Andrew Cantino
78f6150b26 Merge branch 'omniauth' of https://github.com/dsander/huginn into dsander-omniauth
Conflicts:
	Gemfile.lock
2014-08-06 21:04:35 -07:00
Alex Coomans
15e3f0a33d Break Diagram into it's own controller, nest resources
Conflicts:
	app/views/scenarios/show.html.erb
2014-07-31 16:42:58 -07:00
Dominik Sander
f07db9c97c Merge remote-tracking branch 'huginn/master' into omniauth
Conflicts:
	app/models/agents/basecamp_agent.rb
	app/models/user.rb
	db/schema.rb
	spec/fixtures/agents.yml
2014-06-20 19:07:06 +02:00
Dominik Sander
12c2af26bb Add omniauth to let huginn consume oauth endpoints
Created a service model which stores external account information.
Created a service controller which kicks off the oauth process and lets
the user manage their external accounts.
Oauthable concern connects a agent to a service and adds a drop down to the
agents edit page.
Added a migration which converts the existing twitter agents to use the
new service model.
2014-06-11 21:34:09 +02:00
Andrew Cantino
5c1fbdb997 upload and fetch by url, data object manages import; next step is actual import 2014-06-01 23:57:21 -07:00
Andrew Cantino
b91faf62a0 easier removal of agents from scenarios via the menu 2014-06-01 00:24:35 -07:00
Andrew Cantino
663250227d allow exporting of a set of Agents with their links from a Scenario; Scenario guid is now generated and copied to export, as well as a source link when public 2014-05-31 23:36:33 -07: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
Dominik Sander
b7b3460fd3 Update to rails 4.1 2014-04-18 23:55:15 +02:00
Andrew Cantino
25b62ae1f1 Merge pull request #203 from cantino/data_output_agent
Data output agent
2014-04-13 11:04:18 -07:00
Andrew Cantino
db0fbe4c93 rename WebhooksController to WebRequestsController; refactor and support deprecated methods for now 2014-04-08 09:38:06 -07:00
Andrew Cantino
671e190b35 disable DelayedJobWeb link when it is not enabled 2014-04-05 17:55:48 -07:00
Andrew Cantino
ea8963a8cf add show page for the new agent 2014-04-05 17:40:51 -07:00
Andrew Cantino
794ae69b91 Refactor webhook handling to accept all HTTP verbs 2014-04-05 17:05:42 -07:00
Andrew Cantino
ff758cc679 move user credentials to a primary route, update twitter agents and background job 2014-02-01 14:01:27 -08:00
Andrew Cantino
773a612dee Allow Events to be re-emitted for testing. 2013-09-07 13:53:58 -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
00727fbd4d add Agent Logs; add logging to WebsiteAgent; refactor flash notices and add event notices 2013-08-24 22:46:57 -06:00
Andrew Cantino
c5fb643832 remove rails_admin - let users install it if they want it 2013-06-29 18:44:53 -07:00
Andrew Cantino
d0715756f0 add webhooks controller 2013-05-08 23:24:08 -07:00
Andrew Cantino
620acffa5a initial commit 2013-03-09 22:36:12 -08:00