Commit graph

64 commits

Author SHA1 Message Date
Dominik Sander
b089919490 Skip validations in the oauth migration
Also enforced the presence of needed attributes of the services table on
the database level
2014-06-14 20:00:31 +02:00
Dominik Sander
db968e6f4f Fixed services migration, disabled agents after deletion of a service 2014-06-14 11:21:40 +02:00
Dominik Sander
4930e1ed59 User#available_services make sure to escape the parameters, added
missing link to the wiki
2014-06-11 21:36:45 +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
Dominik Sander
b072350746 Fixes rename_digest_email_to_email_digest migration for PostgreSQL
PostgreSQL uses double quotes to quote columns and expects strings to be
quoted with single quotes. Single quoted strings work both for MySQL and
PostgreSQL.
2014-06-08 01:29:16 +02:00
Glenn 'devalias' Grant
b2fbf70723 Fix migration to actually do the right thing 2014-06-05 15:26:32 +10:00
Glenn 'devalias' Grant
7209b2ad8c Add db migration 2014-06-03 20:46:06 +10:00
Glenn 'devalias' Grant
bb407f50c1 Solves #354 2014-06-02 20:33:46 +10:00
Andrew Cantino
08b2f6c8f8 Merge pull request #285 from dsander/liquid-templating
Added liquid templating and migrated first agents
2014-05-12 13:38:58 -07:00
Dominik Sander
da8a2e9682 Merge remote-tracking branch 'huginn/master' into liquid-templating 2014-05-06 10:56:43 +02:00
Dominik Sander
56324c87e2 Migrated HumanTask, Trigger and PeakDetectorAgent to Liquid
Made LiquidInterpolatable#interpolate_options recursive
Really interpolate the `message` options attribute of the PeakDetectorAgent
Merged all previous liquid migrations into one new migration
Added support for the `Agent#make_message` format to the liquid migrator
2014-05-06 10:50:20 +02:00
Dominik Sander
da137aaeb8 Made migration irreversable, support '$variable' syntax 2014-05-05 22:00:55 +02:00
Andrew Cantino
dea618cfe8 Merge branch '196-disable-agents' of https://github.com/alias1/huginn into alias1-196-disable-agents 2014-05-03 00:17:36 -07:00
Albert Sun
2ea5ad24c4 add Link, Event classes to migration and use find_each 2014-05-02 10:42:11 -04:00
Albert Sun
52275b60bd actually save the link 2014-05-01 18:19:49 -04:00
Dominik Sander
4a7560c7a5 Migrated TwitterPublishAgent to use liquid 2014-05-01 23:07:24 +02:00
Dominik Sander
39360929df Migrated TranslationAgent to liquid 2014-05-01 22:33:39 +02:00
Albert Sun
15b55ac371 in the AddEventIdAtCreationToLinks migration, handle the case of links that don't yet have any events 2014-05-01 15:32:10 -04:00
Dominik Sander
28931f2126 Migrated DataOutputAgent to use liquid 2014-05-01 21:25:56 +02:00
Dominik Sander
0980458449 Migrated JabberAgent to use liquid, added link to documentation 2014-05-01 20:35:56 +02:00
Dominik Sander
addb4dbdbf Migrated the PushbulletAgent to use LiquidInterpolatable 2014-05-01 17:32:45 +02:00
Dominik Sander
d9bd6a991b Added liquid templating and migrated first agents 2014-05-01 17:32:45 +02:00
Glenn 'devalias' Grant
03ceab8da5 Merge branch 'master' into 196-disable-agents
Conflicts:
	app/views/agents/diagram.html.erb
	app/views/agents/show.html.erb

Manually Edited:
	app/helpers/dot_helper.rb
2014-04-28 19:25:04 +10:00
Glenn 'devalias' Grant
e71886a6f5 Merge commit 'b041a51ad11135ab1bcc9f5392730659861938a2' into 196-disable-agents
Conflicts:
	db/schema.rb
2014-04-23 20:22:38 +10:00
ZirconCode
2fa1243dd4 Rails 4 deprecated find_by fix 2014-04-20 18:51:19 +02:00
Glenn 'devalias' Grant
c73a21aab3 [196-Disable] DB Migration 2014-04-09 20:39:28 +10: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
99644a426d Add XKCD hovertext to default seed and website agent 2014-04-05 17:04:43 -07:00
Andrew Cantino
23d6589c15 fix db/seeds.rb 2014-03-17 13:57:22 -07:00
Andrew Cantino
50f6837464 switch to strings in db seed 2014-03-16 21:58:46 -07:00
Andrew Cantino
626c13ef52 fix spec that fails with daylight savings time 2014-03-10 19:35:51 -07:00
Marcin Szymanski
68437b9e0a Added to_i cast fixing String to number comparison error 2014-03-07 20:27:43 -05:00
Andrew Cantino
882fe52016 Merge pull request #167 from qedi-r/prop_immediately
Make agents propagate events immediately
2014-03-03 20:31:01 -08:00
Jeremi Joslin
c8c46743e3 Change :on_change to string.
If not this the seed does not work
2014-02-20 10:20:00 +08:00
qedi
1294d47bba minor fixes 2014-02-17 10:43:49 -05:00
qedi
31e4d152cc first working version of Agents that propagate immediately 2014-02-16 22:15:49 -05:00
Andrew Cantino
0bff765756 fix default 2014-02-12 23:01:41 -08:00
Andrew Cantino
306843de0a Add event_id_at_creation field to links and use it to prevent propagation of events created before the link was made. 2014-02-12 22:56:33 -08:00
Andrew Cantino
c043a40868 add Ace editor for editing JavaScript in credentials 2014-02-09 23:16:52 -08: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
bf7d3dc859 Merge branch 'user-credentials' of https://github.com/umarsheikh/huginn into umarsheikh-user-credentials
Conflicts:
	db/schema.rb
2014-02-01 10:26:56 -08:00
Andrew Cantino
b16f1053ad Merge pull request #152 from Alex-Ikanow/update_handler_text_size
#141 change delayed_job.handler to mediumtext (16MB) like event.payload
2014-01-31 13:29:30 -08:00
Albert Sun
4e8634036f remove rails_admin_histories table from schema file 2014-01-30 16:18:03 -05:00
Alex Piggott
49b4fd89de #141 change delayed_job.handler to mediumtext (16MB) like event.payload
This isn't a complete fix because if the event.payload is (say) exactly
16MB then the handler will be >16MB and the same problem will occur.

I'll push this in for now though, in practice it means it's much less
likely to occur.
2014-01-30 09:28:17 -05:00
Umar M. Sheikh
241c3b59f7 why is rails_admin_histories showing here? 2014-01-22 19:41:31 +05:00
Umar M. Sheikh
3fafbe02ef user credentials can now be shown, and can be removed, still to add them dynamically 2014-01-21 19:12:49 +05:00
Albert Sun
4e13fcad89 use pagination in the json serialization migration 2014-01-16 18:48:32 -05:00
Andrew Cantino
9c48338347 fix specs 2014-01-01 14:47:59 -08:00
Andrew Cantino
580ce8a083 Merge remote-tracking branch 'origin/master' into add_keep_events_for_to_agents
Conflicts:
	CHANGES.md
	app/models/agent.rb
2014-01-01 13:43:07 -08:00
Andrew Cantino
de83040dee fix migration 2014-01-01 13:16:38 -08:00