Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Matthias Dittrich
@matthid
possible I restartet several times
And just to let you know, when using 1.0.2 the migration breaks with
rake aborted!
LoadError: Missing helper file helpers/bootstrap_switch_helper.rb
/var/lib/redmine/.gem/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:317:in rescue in depend_on' /var/lib/redmine/.gem/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:312:independ_on'
/var/lib/redmine/.gem/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:225:in require_dependency' /var/lib/redmine/.gem/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/helpers.rb:135:inblock in modules_for_helpers'
/var/lib/redmine/.gem/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/helpers.rb:131:in map!' /var/lib/redmine/.gem/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/helpers.rb:131:inmodules_for_helpers'
/var/lib/redmine/.gem/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/helpers.rb:92:in modules_for_helpers' /var/lib/redmine/.gem/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/helpers.rb:95:inhelper'
/var/lib/redmine/plugins/redmine_git_hosting/lib/redmine_git_hosting/patches/settings_controller_patch.rb:11:in `block in included'
sorry for the formatting, and I don't need a fix as I have already migrated anyway :)
but I gotta go now, so thanks for your help and your incredible work on this plugin and bye ;)
Nicolas
@n-rodriguez
and I don't need a fix
yes you'll need
in redmine_bootstrap_kit
do a git checkout 0.2.2
and restart redmine
;)
see you!
Matthias Dittrich
@matthid
but the migration has to be done only once successfully, right?
Nicolas
@n-rodriguez
yep
but what it says is that a dependency is missing
this dependency is used during redmine execution
Matthias Dittrich
@matthid
ah ok, thanks again
Nicolas
@n-rodriguez
you're welcome
btw t
thanks for pointing me out this site :)
Matthias Dittrich
@matthid
Yeah I really like it, you can make a channel for your plugin (which would be the right place to discuss)
but I need to really go now :D
Nicolas
@n-rodriguez
bye!
Chet Husk
@baronfel
Hi! I'm trying to use this library to connect to google's firebase XMPP server, and I'm struggling a bit about how to get started. I'd like to keeps tumbling around it to learn more, but I noticed that there's some logging in the library and I couldn't see how to enable it. How might this be done?
Matthias Dittrich
@matthid
Yaaf.Logging is a simple abstraction over the .net TraceSource (System.Diagnostics) logging so you can either enable logging as usual via app.config. Or take a look here: https://github.com/matthid/Yaaf.Xmpp.Server/blob/develop/src/source/Yaaf.Xmpp.Server/LoggingHelper.fs
Chet Husk
@baronfel
ah, ok. So since I'm running in FSI I'd need to go add to the app.config for fsharpi. cool, thanks
Matthias Dittrich
@matthid
Or via code, like I do myself (for the same reason to be able to setup FSI)
Chet Husk
@baronfel
even better! console is just what I need. I'm experimenting in fsx to see if I can do what I need with this, so I hadn't made full projects yet
ah, so the intent with Yaaf.XMPP.Server is a readily-clonable server setup?
Matthias Dittrich
@matthid
Basically, in fact that's almost how I deploy my personal instance :)
The idea is that you can "plug together" your server with the plugins you want (some plugins might require others): https://github.com/matthid/Yaaf.Xmpp.Server/blob/develop/src/source/Yaaf.Xmpp.Server/XmppServerConfig.fs#L291
Chet Husk
@baronfel
make sense, just working through how this might all work. My server effectively just needs to be a client of the official google server so that I can retrieve messages from them
Matthias Dittrich
@matthid
Oh, I think I never managed to finish server federation or the server dialback XEP http://xmpp.org/extensions/xep-0220.html
Matthias Dittrich
@matthid
Well, federation shouldn't be a huge deal and should just work after XEP-0220
Chet Husk
@baronfel
AH-HAH
ok, finally figured out my problems
I'm acting as a client and using the XmppClient.Connect(ConnectInfo, ClientSetup) overload
this function uses the normal XMPP ports by default!
and I need to override these ports to connect to Google's servers, so I have to use the overload with AdvancedConnectInfo
Matthias Dittrich
@matthid
ah if you only need the client part it should be a lot simpler :)
Chet Husk
@baronfel
the biggest problem right now is that the port is hardcoded on both the advancedconnectinfo and the connectinfo
so I'm going to PR a change to those structures to make the port settable, with the defaults you already have
Matthias Dittrich
@matthid
https://github.com/matthid/Yaaf.Xmpp.Runtime/blob/5533423b30b041a8b6810b286bec497308c6b9a7/src/source/Yaaf.Xmpp.Runtime/ClientServer/XmppClient.fs I think copying the static Connect method and replacing the resolve call should work as well...
Chet Husk
@baronfel
that could work too, without require changes to data structures
just a Connect(ConnectInfo, int, ClientSetup) call then?
Chet Husk
@baronfel
ah, I begin to see! once we're connected, we're supposed to use the client to request instances of Services, and the services are where the custom logic goes. And in a general sense, a service should request a Stanza Service and then perform work on complete stanzas as they come in the pipeline
the IM service is an excellent example to follow
Matthias Dittrich
@matthid
Yeah that's pretty much the idea. Sorry that the docs are pretty much nonexistent :)
Chet Husk
@baronfel
did you see #2? is there any direction you'd rather me go for the port specification?
Matthias Dittrich
@matthid
yes I did. Thanks for the reminder. Currently I'm a bit busy with other things (server outage) so I'l come back to this in a few weeks as I'm currently restructuring my personal infrastructure ... Feel free to poke me again in case I forget. Your change looks good. I will keep the pr open as a reminder to make a new release...
Chet Husk
@baronfel
sorry to hear that you're underwater :( Good luck getting out from under it!