Zotonic
Zotonic
zotonic@conference.zotonic.com
Tuesday, 9 April 2013< ^ >
arjan has set the subject to: Zotonic - the Erlang Content Management Framework
Room Configuration

GMT+2
[08:47:56] Arjan joins the room
[09:03:07] <Arjan> I got a question about the site installation order
[09:03:17] <Arjan> currently the site module is installed first, and then all the skeleton modules
[09:03:39] <Arjan> that causes a problem when the datamodel of a site installs resources like e.g. mailing lists
[09:04:02] <Andreas Stenius> it ought to install the modules in order of dependencies...
[09:04:06] <Arjan> so if nobody objects I'll move the installation of the site module to the end of the module installation
[09:04:21] <Arjan> mmm
[09:04:47] <Andreas Stenius> your proposal is a lot easier, and as far as I can tell, should work fine... :)
[09:04:53] <Arjan> :P
[09:05:01] <Arjan> I'll see if I can solve it with dependencies first
[09:05:13] <Andreas Stenius> that would be cool...
[09:05:27] <Arjan> ah yeah that helps
[09:05:33] <Arjan> just letting my site depend on mailinglist
[09:05:33] <Arjan> :)
[09:05:41] <Andreas Stenius> exactly.
[09:05:43] <Arjan> so, nevermind :)
[09:05:55] <Andreas Stenius> :)
[09:13:05] <Arjan> adding myself to the beam community proposals
[09:23:45] Maas joins the room
[09:52:49] Arjan leaves the room
[10:05:32] Arjan joins the room
[10:05:45] <Arjan> Andreas Stenius: you coming to the hangout?
[10:13:10] <Andreas Stenius> ah, right. It's time... coming :)
[10:14:00] <Andreas Stenius> hmm.. need to install a plugin first!?
[10:38:01] <Maas> hangout? not that I have time as of right now.
[10:38:19] <Andreas Stenius> yes...
[10:46:29] <Arjan> ** Reason for termination ==
** {function_clause,[{string,to_lower,[none]},{z_sites_dispatcher,split_host,1},{z_sites_dispatcher,try_path_binding,8},{z_sites_dispatcher,handle_call,3},{gen_server,handle_msg,5},{proc_lib,init_p_do_apply,3}]}
[10:47:07] <Maas> none?
[10:47:58] <Maas> aha split_host
[10:49:35] <Arjan> {hostname, none},
in zotonic_status config
[10:49:40] <Maas> none should be undefined or?
[10:50:11] <Maas> split_host(Host) ->
case Host of
undefined ->
{"", "80"};
[] ->
{"", "80"};
_ ->
% Split the optional port number from the host name
[H|Rest] = string:tokens(string:to_lower(Host), ":"),
case Rest of
[] -> {H, "80"};
[Port|_] -> {H, Port}
end
end.
[10:51:59] <Maas> maybe that should be cleaned up a litte
[10:52:31] <Andreas Stenius> yep. discussion going on about rearranging the default site, and how it all works..
[10:53:37] <Arjan> I'll make a small patch for now
[10:53:40] <Arjan> marc is reworking it
[10:58:41] <Maas> Btw, just got an email from knut, he added ssl support to elli :-)
[10:58:51] <Arjan> :D
[10:58:56] <Andreas Stenius> ok, cool :)
[11:05:53] <Arjan> https://github.com/beamcommunity/beamcommunity.github.com/wiki/Project:-Zotonic#boot-sequence-optimization
[11:07:04] <Andreas Stenius> +1 :)
[11:09:26] <Maas> Nice.
[12:54:52] <Arjan> http://zotonic.com/docs/0.9/tutorials/zotonic_status.html#getting-the-global-sites-status
[12:54:56] <Arjan> feature galore
[12:55:25] <Andreas Stenius> :)
[12:55:32] <Arjan> now back to business :P
[12:57:35] <Andreas Stenius> ?
http://80.69.73.11/api/zotonic_status/check
[12:57:40] <Andreas Stenius> => 500
[12:57:58] <Andreas Stenius> [{lists,member, ['GET', {error,{error,{badmatch,{error,not_found}}, [{resource_api,allowed_methods,2}, {webmachine_resource,resource_call,3}, {webmachine_resource,do,3}, {webmachine_decision_core,decision,3}, {webmachine_decision_core,handle_request,2}, {webmachine_mochiweb,loop,2}, {mochiweb_http,headers,5}, {proc_lib,init_p_do_apply,3}]}}]}, {webmachine_decision_core,decision,3}, {webmachine_decision_core,handle_request,2}, {webmachine_mochiweb,loop,2}, {mochiweb_http,headers,5}, {proc_lib,init_p_do_apply,3}]
[12:59:02] <Andreas Stenius> hmmm... on zotonic.com, for not found services, I get a nice json response: {"error_code":404,"error_dump":"Resource not found: \"/api/zotonic_statuds/c\""}
[12:59:18] <Andreas Stenius> the same request against the ip (thus, the default site), give a http 500 response...
[13:25:39] arcusfelis joins the room
[13:29:26] <Arjan> um
[13:29:38] <Arjan> that is the wrong URL
[13:29:48] <Andreas Stenius> yeah, I know
[13:29:57] <Arjan> that URL goes to a 0.8 instance
[13:30:05] <Andreas Stenius> it's just that it threw a 500 instead of a proper response
[13:30:09] <Andreas Stenius> oh
[13:30:15] <Arjan> probably fixed in 0.9
[13:30:21] <Arjan> :)
[13:30:26] <Andreas Stenius> :p
[14:10:27] <Maas> This one is for the record: ajax driven page navigation sucks
[14:28:14] Arjan leaves the room
[15:11:39] Arjan joins the room
[15:18:17] Arjan leaves the room
[15:18:28] arcusfelis leaves the room
[15:34:31] Arjan joins the room
[16:18:21] Maas leaves the room
[16:47:36] Maas joins the room
[17:05:12] jeff.5nines joins the room
[17:11:12] arcusfelis joins the room
[17:16:37] jeff.5nines leaves the room
[17:17:45] arcusfelis leaves the room
[17:19:15] Maas leaves the room
[17:19:55] arcusfelis joins the room
[20:03:24] Jarimatti joins the room
[21:19:52] Jarimatti leaves the room
[21:37:06] Jarimatti joins the room
[21:49:34] arcusfelis leaves the room
[21:54:00] Arjan leaves the room
[22:02:40] Arjan joins the room
[22:03:39] Arjan leaves the room
[22:08:32] Jarimatti leaves the room
[22:12:22] Jarimatti joins the room
[22:12:44] Jarimatti leaves the room
[22:22:47] Jarimatti joins the room
[22:32:08] Jarimatti leaves the room
[22:32:46] Jarimatti joins the room
[22:37:14] Jarimatti leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!