Version bump

0.1.x was the pre-alpha.

The first Alpha will be 0.2.x
This commit is contained in:
Bat 2018-09-11 19:53:14 +01:00
parent abe90706ff
commit 8fa83dfe25
7 changed files with 15 additions and 15 deletions

14
Cargo.lock generated
View File

@ -1447,7 +1447,7 @@ dependencies = [
[[package]] [[package]]
name = "plume" name = "plume"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"activitypub 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "activitypub 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"atom_syndication 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "atom_syndication 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1460,8 +1460,8 @@ dependencies = [
"guid-create 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "guid-create 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"heck 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "heck 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"multipart 0.15.3 (registry+https://github.com/rust-lang/crates.io-index)", "multipart 0.15.3 (registry+https://github.com/rust-lang/crates.io-index)",
"plume-common 0.1.0", "plume-common 0.2.0",
"plume-models 0.1.0", "plume-models 0.2.0",
"rocket 0.4.0-dev (git+https://github.com/SergioBenitez/Rocket?rev=55459db7732b9a240826a5c120c650f87e3372ce)", "rocket 0.4.0-dev (git+https://github.com/SergioBenitez/Rocket?rev=55459db7732b9a240826a5c120c650f87e3372ce)",
"rocket_codegen 0.4.0-dev (git+https://github.com/SergioBenitez/Rocket?rev=55459db7732b9a240826a5c120c650f87e3372ce)", "rocket_codegen 0.4.0-dev (git+https://github.com/SergioBenitez/Rocket?rev=55459db7732b9a240826a5c120c650f87e3372ce)",
"rocket_contrib 0.4.0-dev (git+https://github.com/SergioBenitez/Rocket?rev=55459db7732b9a240826a5c120c650f87e3372ce)", "rocket_contrib 0.4.0-dev (git+https://github.com/SergioBenitez/Rocket?rev=55459db7732b9a240826a5c120c650f87e3372ce)",
@ -1480,7 +1480,7 @@ dependencies = [
[[package]] [[package]]
name = "plume-common" name = "plume-common"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"activitypub 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "activitypub 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"activitystreams-derive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "activitystreams-derive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1505,7 +1505,7 @@ dependencies = [
[[package]] [[package]]
name = "plume-models" name = "plume-models"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"activitypub 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "activitypub 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"ammonia 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "ammonia 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1513,9 +1513,9 @@ dependencies = [
"chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "diesel 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"heck 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "heck 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"openssl 0.10.11 (registry+https://github.com/rust-lang/crates.io-index)", "openssl 0.10.11 (registry+https://github.com/rust-lang/crates.io-index)",
"plume-common 0.1.0", "plume-common 0.2.0",
"reqwest 0.8.8 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest 0.8.8 (registry+https://github.com/rust-lang/crates.io-index)",
"rocket 0.4.0-dev (git+https://github.com/SergioBenitez/Rocket?rev=55459db7732b9a240826a5c120c650f87e3372ce)", "rocket 0.4.0-dev (git+https://github.com/SergioBenitez/Rocket?rev=55459db7732b9a240826a5c120c650f87e3372ce)",
"serde 1.0.77 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.77 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -1,7 +1,7 @@
[package] [package]
authors = ["Bat' <baptiste@gelez.xyz>"] authors = ["Bat' <baptiste@gelez.xyz>"]
name = "plume" name = "plume"
version = "0.1.0" version = "0.2.0"
[dependencies] [dependencies]
activitypub = "0.1.3" activitypub = "0.1.3"
atom_syndication = "0.6" atom_syndication = "0.6"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "plume-common" name = "plume-common"
version = "0.1.0" version = "0.2.0"
authors = ["Bat' <baptiste@gelez.xyz>"] authors = ["Bat' <baptiste@gelez.xyz>"]
[dependencies] [dependencies]

View File

@ -9,7 +9,7 @@ use std::time::SystemTime;
use activity_pub::ap_accept_header; use activity_pub::ap_accept_header;
use activity_pub::sign::Signer; use activity_pub::sign::Signer;
const USER_AGENT: &'static str = "Plume/0.1.0"; const USER_AGENT: &'static str = "Plume/0.2.0";
header! { header! {
(Signature, "Signature") => [String] (Signature, "Signature") => [String]
@ -30,7 +30,7 @@ pub fn headers() -> Headers {
pub fn signature<S: Signer>(signer: &S, headers: Headers) -> Signature { pub fn signature<S: Signer>(signer: &S, headers: Headers) -> Signature {
let signed_string = headers.iter().map(|h| format!("{}: {}", h.name().to_lowercase(), h.value_string())).collect::<Vec<String>>().join("\n"); let signed_string = headers.iter().map(|h| format!("{}: {}", h.name().to_lowercase(), h.value_string())).collect::<Vec<String>>().join("\n");
let signed_headers = headers.iter().map(|h| h.name().to_string()).collect::<Vec<String>>().join(" ").to_lowercase(); let signed_headers = headers.iter().map(|h| h.name().to_string()).collect::<Vec<String>>().join(" ").to_lowercase();
let data = signer.sign(signed_string); let data = signer.sign(signed_string);
let sign = base64::encode(&data[..]); let sign = base64::encode(&data[..]);

View File

@ -1,6 +1,6 @@
[package] [package]
name = "plume-models" name = "plume-models"
version = "0.1.0" version = "0.2.0"
authors = ["Baptiste Gelez <baptiste@gelez.xyz>"] authors = ["Baptiste Gelez <baptiste@gelez.xyz>"]
[dependencies] [dependencies]

View File

@ -213,7 +213,7 @@ fn nodeinfo(conn: DbConn) -> Json<serde_json::Value> {
"version": "2.0", "version": "2.0",
"software": { "software": {
"name": "Plume", "name": "Plume",
"version": "0.1.0" "version": "0.2.0"
}, },
"protocols": ["activitypub"], "protocols": ["activitypub"],
"services": { "services": {
@ -238,7 +238,7 @@ fn about(user: Option<User>, conn: DbConn) -> Template {
"account": user.map(|u| u.to_json(&*conn)), "account": user.map(|u| u.to_json(&*conn)),
"instance": Instance::get_local(&*conn), "instance": Instance::get_local(&*conn),
"admin": Instance::get_local(&*conn).map(|i| i.main_admin(&*conn).to_json(&*conn)), "admin": Instance::get_local(&*conn).map(|i| i.main_admin(&*conn).to_json(&*conn)),
"version": "0.1.0", "version": "0.2.0",
"n_users": User::count_local(&*conn), "n_users": User::count_local(&*conn),
"n_articles": Post::count_local(&*conn), "n_articles": Post::count_local(&*conn),
"n_instances": Instance::count(&*conn) - 1 "n_instances": Instance::count(&*conn) - 1

View File

@ -58,7 +58,7 @@
{% endblock content %} {% endblock content %}
</main> </main>
<footer> <footer>
<span>Plume 0.1.0</span> <span>Plume 0.2.0</span>
<a href="/about">{{ "About this instance" | _ }}</a> <a href="/about">{{ "About this instance" | _ }}</a>
<a href="https://github.com/Plume-org/Plume">{{ "Source code" | _ }}</a> <a href="https://github.com/Plume-org/Plume">{{ "Source code" | _ }}</a>
<a href="https://riot.im/app/#/room/#plume:disroot.org">{{ "Matrix room" | _ }}</a> <a href="https://riot.im/app/#/room/#plume:disroot.org">{{ "Matrix room" | _ }}</a>