[DRE-commits] [schleuder] 44/52: New upstream version 3.0.1
Georg Faerber
georg-alioth-guest at moszumanska.debian.org
Mon Feb 6 11:21:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
georg-alioth-guest pushed a commit to branch master
in repository schleuder.
commit cc333b1f58bc5de3f29d35281b43582cc9c54356
Author: Georg Faerber <georg at riseup.net>
Date: Thu Jan 26 12:29:33 2017 +0100
New upstream version 3.0.1
---
CHANGELOG.md | 10 ++++++++++
CODE_OF_CONDUCT.md | 2 +-
Gemfile.lock | 2 +-
README.md | 13 +++++++------
bin/schleuder-api-daemon | 6 ++----
lib/schleuder/version.rb | 2 +-
man/schleuder-api-daemon.8 | 3 +++
man/schleuder-api-daemon.8.ron | 4 ++--
8 files changed, 27 insertions(+), 15 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d3107e4..40a7194 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
The format of this file is based on [Keep a Changelog](http://keepachangelog.com/).
+## [3.0.1] / 2017-01-26
+
+### Fixed
+
+* Fixed setting admin- and delivery-flags on subscription. Requests from schleuder-cli were interpreted wrongly, which led to new lists having no admins.
+* A short description for the man-page of schleuder-api-daemon to satisfy the lintian.
+* Listing openssl as dependency in README. If the openssl header-files are not present when eventmachine compiles its native code, schleuder-api-daemon cannot use TLS.
+* Removed reference to Github from Code of Conduct.
+
+
## [3.0.0] / 2017-01-26
### Changed
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index ae4911b..92954d1 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -14,7 +14,7 @@ Individuals asked to stop any harassing behavior are expected to comply immediat
Maintainers, including the development team, are also subject to the anti-harassment policy.
-If anyone engages in abusive, harassing, or otherwise unacceptable behavior, including maintainers, we may take appropriate action, up to and including warning the offender, deletion of comments, removal from the project’s codebase and communication systems, and escalation to Github support.
+If anyone engages in abusive, harassing, or otherwise unacceptable behavior, including maintainers, we may take appropriate action, up to and including warning the offender, deletion of comments, removal from the project’s codebase and communication systems.
If you are being harassed, notice that someone else is being harassed, or have any other concerns, please [contact the development team](mailto:schleuder at nadir.org) immediately.
diff --git a/Gemfile.lock b/Gemfile.lock
index 0efdbb4..7de45c4 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- schleuder (3.0.0)
+ schleuder (3.0.1)
activerecord (~> 4.1)
mail-gpg (~> 0.3.0)
rake (~> 10)
diff --git a/README.md b/README.md
index 878ff89..b528b18 100644
--- a/README.md
+++ b/README.md
@@ -14,10 +14,11 @@ Requirements
* gnupg >=2.0
* gpgme
* sqlite3
+* openssl
-On Debian-based systems, install these via
+On systems that base on Debian 8 ("Jessie"), install these via
- apt-get install ruby2.1-dev gnupg2 libgpgme11-dev libsqlite3-dev
+ apt-get install ruby2.1-dev gnupg2 libgpgme11-dev libsqlite3-dev libssl-dev
We **recommend** to also run a random number generator like [haveged](http://www.issihosts.com/haveged/). This ensures Schleuder won't be blocked by lacking entropy, which otherwise might happen especially during key generation.
@@ -42,15 +43,15 @@ Additionally these **rubygems** are required (will be installed automatically un
Installing Schleuder
------------
-1. Download [the gem](https://0xacab.org/schleuder/schleuder/raw/master/gems/schleuder-3.0.0.gem) and [the OpenPGP-signature](https://0xacab.org/schleuder/schleuder/raw/master/gems/schleuder-3.0.0.gem.sig) and verify:
+1. Download [the gem](https://0xacab.org/schleuder/schleuder/raw/master/gems/schleuder-3.0.1.gem) and [the OpenPGP-signature](https://0xacab.org/schleuder/schleuder/raw/master/gems/schleuder-3.0.1.gem.sig) and verify:
```
gpg --recv-key 0xB3D190D5235C74E1907EACFE898F2C91E2E6E1F3
- gpg --verify schleuder-3.0.0.gem.sig
+ gpg --verify schleuder-3.0.1.gem.sig
```
2. If all went well install the gem:
```
- gem install schleuder-3.0.0.gem
+ gem install schleuder-3.0.1.gem
```
3. Set up schleuder:
@@ -130,4 +131,4 @@ GNU GPL 3.0. Please see [LICENSE.txt](LICENSE.txt).
Alternative Download
--------------------
-Alternatively to the gem-files you can download the latest release as [a tarball](https://0xacab.org/schleuder/schleuder/raw/master/gems/schleuder-3.0.0.tar.gz) and [its OpenPGP-signature](https://0xacab.org/schleuder/schleuder/raw/master/gems/schleuder-3.0.0.tar.gz.sig).
+Alternatively to the gem-files you can download the latest release as [a tarball](https://0xacab.org/schleuder/schleuder/raw/master/gems/schleuder-3.0.1.tar.gz) and [its OpenPGP-signature](https://0xacab.org/schleuder/schleuder/raw/master/gems/schleuder-3.0.1.tar.gz.sig).
diff --git a/bin/schleuder-api-daemon b/bin/schleuder-api-daemon
index 497ceb2..3019a49 100755
--- a/bin/schleuder-api-daemon
+++ b/bin/schleuder-api-daemon
@@ -244,13 +244,11 @@ class SchleuderApiDaemon < Sinatra::Base
post '.json' do
begin
list = list(requested_list_id)
- adminflag = [true, 1, '1'].include?(parsed_body['admin'])
- deliveryflag = [true, 1, '1'].include?(parsed_body['delivery_enabled'])
sub = list.subscribe(
parsed_body['email'],
parsed_body['fingerprint'],
- adminflag,
- deliveryflag
+ parsed_body['admin'],
+ parsed_body['delivery_enabled']
)
logger.debug "subcription: #{sub.inspect}"
if sub.valid?
diff --git a/lib/schleuder/version.rb b/lib/schleuder/version.rb
index 7efefc1..318c12d 100644
--- a/lib/schleuder/version.rb
+++ b/lib/schleuder/version.rb
@@ -1,3 +1,3 @@
module Schleuder
- VERSION = '3.0.0'
+ VERSION = '3.0.1'
end
diff --git a/man/schleuder-api-daemon.8 b/man/schleuder-api-daemon.8
index 91cd4c5..8a2607b 100644
--- a/man/schleuder-api-daemon.8
+++ b/man/schleuder-api-daemon.8
@@ -3,6 +3,9 @@
.
.TH "SCHLEUDER\-API\-DAEMON" "8" "January 2017" "" ""
.
+.SH "NAME"
+\fBschleuder\-api\-daemon\fR \- provides the API of schleuder(8)
+.
.SH "SYNOPSIS"
\fBschleuder\-api\-daemon\fR
.
diff --git a/man/schleuder-api-daemon.8.ron b/man/schleuder-api-daemon.8.ron
index f674c8f..f4bb905 100644
--- a/man/schleuder-api-daemon.8.ron
+++ b/man/schleuder-api-daemon.8.ron
@@ -1,5 +1,5 @@
-schleuder-api-daemon(8)
-=======================
+schleuder-api-daemon(8) -- provides the API of schleuder(8)
+===========================================================
## SYNOPSIS
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/schleuder.git
More information about the Pkg-ruby-extras-commits
mailing list