This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[link(name = "logger")] | |
extern { | |
fn CrystalLog(text: *const u8); | |
} | |
fn log(text: &'static str) { | |
unsafe{ CrystalLog(text.as_bytes().as_ptr()) }; | |
} | |
fn main() { |
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|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=XMPP (Jabber) Server | |
After=network.target | |
[Service] | |
User=prosody | |
ProtectSystem=full | |
ProtectHome=true | |
Type=notify | |
ExecStart=/usr/bin/prosody |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# List of spam accounts | |
spam_accounts = %w(spamacc@podA spamacc@podB spamacc@mypod) | |
# Delete comments even if spammer isn't a local user or spam isn't on a | |
# local users account. | |
# And delete posts of users in spam_accounts that aren't local. | |
always_delete = true |
NewerOlder