I thought I would document my setup, since it's somewhat non-standard but working quite well for me.
- Install major Ruby versions at their latest patch release
- Allow to switch between them seamlessly
- Use chruby
- Encourage bundler usage
| -- Based on Simple SQL Authentication module for Prosody IM | |
| -- Copyright (C) 2011 Tomasz Sterna <[email protected]> | |
| -- Copyright (C) 2011 Waqas Hussain <[email protected]> | |
| -- | |
| -- 25/05/2014: Modified for Diaspora by Anahuac de Paula Gil - [email protected] | |
| -- 06/08/2014: Cleaned up and fixed SASL auth by Jonne Haß <[email protected]> | |
| -- 22/11/2014: Allow token authentication by Jonne Haß <[email protected]> | |
| local log = require "util.logger".init("auth_diaspora") | |
| local new_sasl = require "util.sasl".new |
| #!/usr/bin/env ruby | |
| # A sneaky wrapper around Rubocop that allows you to run it only against | |
| # the recent changes, as opposed to the whole project. It lets you | |
| # enforce the style guide for new/modified code only, as opposed to | |
| # having to restyle everything or adding cops incrementally. It relies | |
| # on git to figure out which files to check. | |
| # | |
| # Here are some options you can pass in addition to the ones in rubocop: | |
| # |
| <?php | |
| /* | |
| * Afterlogic WebMail VMM password change plugin | |
| * Based upon http://www.afterlogic.com/wiki/Password_change_for_ISPConfig_%28WebMail_Plugins%29 | |
| * VMM: http://vmm.localdomain.org/ | |
| * WebMail lite: http://www.afterlogic.org/webmail-lite | |
| * | |
| * The plugin calls doveadm pw. | |
| * | |
| * You should create a dedicated role and add it to the mailsys role. |
As scheduled, we froze diaspora* minor release |VERSION|. Please check the Changelog for more information on changes included in this release.
If you are running your own pod, please help us test the RC before the minor gets released next Sunday. To get the code, run git pull; git checkout release/|VERSION| on your development pod. Please be aware that this is a release candidate and, although we did careful testing, bugs may occur. Follow the usual update instructions to get your testing system updated.
Next release (|THIS_RELEASE|): |THIS_RELEASE_DATE|
Next minor freeze (|NEXT_FREEZE|): |NEXT_FREEZE_DATE|
| #[link(name = "logger")] | |
| extern { | |
| fn CrystalLog(text: *const u8); | |
| } | |
| fn log(text: &'static str) { | |
| unsafe{ CrystalLog(text.as_bytes().as_ptr()) }; | |
| } | |
| fn main() { |