Email blocklisting #718

Merged
epsilon-phase merged 9 commits from email-blocklisting into master 2020-01-12 18:41:36 +00:00
17 changed files with 341 additions and 6 deletions

1
Cargo.lock generated
View file

@ -2221,6 +2221,7 @@ dependencies = [
"diesel 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "diesel 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel-derive-newtype 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "diesel-derive-newtype 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"diesel_migrations 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "diesel_migrations 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"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.1 (registry+https://github.com/rust-lang/crates.io-index)", "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -0,0 +1,3 @@
-- This file should undo anything in `up.sql`
drop table email_blocklist;

View file

@ -0,0 +1,6 @@
elegaanz commented 2020-01-11 15:26:26 +00:00 (Migrated from github.com)
Review

Maybe make this column unique, to avoid duplicated blocks?

Maybe make this column unique, to avoid duplicated blocks?
elegaanz commented 2020-01-11 15:27:19 +00:00 (Migrated from github.com)
Review

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.
epsilon-phase commented 2020-01-11 21:24:43 +00:00 (Migrated from github.com)
Review

Might as well follow the conventions :)

Might as well follow the conventions :)
elegaanz commented 2020-01-11 15:26:26 +00:00 (Migrated from github.com)
Review

Maybe make this column unique, to avoid duplicated blocks?

Maybe make this column unique, to avoid duplicated blocks?
elegaanz commented 2020-01-11 15:27:19 +00:00 (Migrated from github.com)
Review

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.
epsilon-phase commented 2020-01-11 21:24:43 +00:00 (Migrated from github.com)
Review

Might as well follow the conventions :)

Might as well follow the conventions :)
-- Your SQL goes here
elegaanz commented 2020-01-11 15:26:26 +00:00 (Migrated from github.com)
Review

Maybe make this column unique, to avoid duplicated blocks?

Maybe make this column unique, to avoid duplicated blocks?
elegaanz commented 2020-01-11 15:27:19 +00:00 (Migrated from github.com)
Review

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.
epsilon-phase commented 2020-01-11 21:24:43 +00:00 (Migrated from github.com)
Review

Might as well follow the conventions :)

Might as well follow the conventions :)
CREATE TABLE email_blocklist(id SERIAL PRIMARY KEY,
elegaanz commented 2020-01-11 15:26:26 +00:00 (Migrated from github.com)
Review

Maybe make this column unique, to avoid duplicated blocks?

Maybe make this column unique, to avoid duplicated blocks?
elegaanz commented 2020-01-11 15:27:19 +00:00 (Migrated from github.com)
Review

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.
epsilon-phase commented 2020-01-11 21:24:43 +00:00 (Migrated from github.com)
Review

Might as well follow the conventions :)

Might as well follow the conventions :)
email_address TEXT UNIQUE,
elegaanz commented 2020-01-11 15:26:26 +00:00 (Migrated from github.com)
Review

Maybe make this column unique, to avoid duplicated blocks?

Maybe make this column unique, to avoid duplicated blocks?
elegaanz commented 2020-01-11 15:27:19 +00:00 (Migrated from github.com)
Review

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.
epsilon-phase commented 2020-01-11 21:24:43 +00:00 (Migrated from github.com)
Review

Might as well follow the conventions :)

Might as well follow the conventions :)
note TEXT,
elegaanz commented 2020-01-11 15:26:26 +00:00 (Migrated from github.com)
Review

Maybe make this column unique, to avoid duplicated blocks?

Maybe make this column unique, to avoid duplicated blocks?
elegaanz commented 2020-01-11 15:27:19 +00:00 (Migrated from github.com)
Review

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.
epsilon-phase commented 2020-01-11 21:24:43 +00:00 (Migrated from github.com)
Review

Might as well follow the conventions :)

Might as well follow the conventions :)
notify_user BOOLEAN DEFAULT FALSE,
elegaanz commented 2020-01-11 15:26:26 +00:00 (Migrated from github.com)
Review

Maybe make this column unique, to avoid duplicated blocks?

Maybe make this column unique, to avoid duplicated blocks?
elegaanz commented 2020-01-11 15:27:19 +00:00 (Migrated from github.com)
Review

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.
epsilon-phase commented 2020-01-11 21:24:43 +00:00 (Migrated from github.com)
Review

Might as well follow the conventions :)

Might as well follow the conventions :)
notification_text TEXT);
elegaanz commented 2020-01-11 15:26:26 +00:00 (Migrated from github.com)
Review

Maybe make this column unique, to avoid duplicated blocks?

Maybe make this column unique, to avoid duplicated blocks?
elegaanz commented 2020-01-11 15:27:19 +00:00 (Migrated from github.com)
Review

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.

Little detail, so if you don't feel like doing it, don't change, but: keywords in SQL usually are in all caps.
epsilon-phase commented 2020-01-11 21:24:43 +00:00 (Migrated from github.com)
Review

Might as well follow the conventions :)

Might as well follow the conventions :)

View file

@ -0,0 +1,3 @@
-- This file should undo anything in `up.sql`
drop table email_blocklist;

View file

@ -0,0 +1,6 @@
-- Your SQL goes here
CREATE TABLE email_blocklist(id INTEGER PRIMARY KEY,
email_address TEXT UNIQUE,
note TEXT,
notify_user BOOLEAN DEFAULT FALSE,
notification_text TEXT);

View file

@ -28,6 +28,7 @@ webfinger = "0.4.1"
whatlang = "0.7.1" whatlang = "0.7.1"
shrinkwraprs = "0.2.1" shrinkwraprs = "0.2.1"
diesel-derive-newtype = "0.1.2" diesel-derive-newtype = "0.1.2"
glob = "0.3.0"
[dependencies.chrono] [dependencies.chrono]
features = ["serde"] features = ["serde"]

View file

@ -0,0 +1,142 @@
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use diesel::{self, ExpressionMethods, QueryDsl, RunQueryDsl, TextExpressionMethods};
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use glob::Pattern;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use schema::email_blocklist;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use {Connection, Error, Result};
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
#[derive(Clone, Queryable, Identifiable)]
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
#[table_name = "email_blocklist"]
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub struct BlocklistedEmail {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub id: i32,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub email_address: String,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub note: String,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub notify_user: bool,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub notification_text: String,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
#[derive(Insertable, FromForm)]
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
#[table_name = "email_blocklist"]
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub struct NewBlocklistedEmail {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub email_address: String,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub note: String,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub notify_user: bool,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub notification_text: String,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
impl BlocklistedEmail {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
insert!(email_blocklist, NewBlocklistedEmail);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
get!(email_blocklist);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
find_by!(email_blocklist, find_by_id, id as i32);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub fn delete_entries(conn: &Connection, ids: Vec<i32>) -> Result<bool> {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use diesel::delete;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
for i in ids {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let be: BlocklistedEmail = BlocklistedEmail::find_by_id(&conn, i)?;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
delete(&be).execute(conn)?;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
Ok(true)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub fn find_for_domain(conn: &Connection, domain: &str) -> Result<Vec<BlocklistedEmail>> {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let effective = format!("%@{}", domain);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
email_blocklist::table
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.filter(email_blocklist::email_address.like(effective))
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.load::<BlocklistedEmail>(conn)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.map_err(Error::from)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub fn matches_blocklist(conn: &Connection, email: &str) -> Result<Option<BlocklistedEmail>> {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let mut result = email_blocklist::table.load::<BlocklistedEmail>(conn)?;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
for i in result.drain(..) {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
if let Ok(x) = Pattern::new(&i.email_address) {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
if x.matches(email) {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
return Ok(Some(i));
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
Ok(None)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub fn page(conn: &Connection, (min, max): (i32, i32)) -> Result<Vec<BlocklistedEmail>> {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
email_blocklist::table
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.offset(min.into())
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.limit((max - min).into())
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.load::<BlocklistedEmail>(conn)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.map_err(Error::from)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub fn count(conn: &Connection) -> Result<i64> {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
email_blocklist::table
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.count()
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.get_result(conn)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.map_err(Error::from)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub fn pattern_errors(pat: &str) -> Option<glob::PatternError> {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let c = Pattern::new(pat);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
c.err()
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub fn new(
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
conn: &Connection,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pattern: &str,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
note: &str,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
show_notification: bool,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
notification_text: &str,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
) -> Result<BlocklistedEmail> {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let c = NewBlocklistedEmail {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
email_address: pattern.to_owned(),
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
note: note.to_owned(),
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
notify_user: show_notification,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
notification_text: notification_text.to_owned(),
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
};
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
BlocklistedEmail::insert(conn, c)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
#[cfg(test)]
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub(crate) mod tests {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use super::*;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use diesel::Connection;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use instance::tests as instance_tests;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use tests::rockets;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
use Connection as Conn;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
pub(crate) fn fill_database(conn: &Conn) -> Vec<BlocklistedEmail> {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
instance_tests::fill_database(conn);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let domainblock =
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
BlocklistedEmail::new(conn, "*@bad-actor.com", "Mean spammers", false, "").unwrap();
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let userblock = BlocklistedEmail::new(
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
conn,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
"spammer@lax-administration.com",
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
"Decent enough domain, but this user is a problem.",
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
true,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
"Stop it please",
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.unwrap();
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
vec![domainblock, userblock]
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
#[test]
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
fn test_match() {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let r = rockets();
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let conn = &*r.conn;
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
conn.test_transaction::<_, (), _>(|| {
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let various = fill_database(conn);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let match1 = "user1@bad-actor.com";
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let match2 = "spammer@lax-administration.com";
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
let no_match = "happy-user@lax-administration.com";
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
assert_eq!(
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
BlocklistedEmail::matches_blocklist(conn, match1)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.unwrap()
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.unwrap()
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.id,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
various[0].id
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
assert_eq!(
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
BlocklistedEmail::matches_blocklist(conn, match2)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.unwrap()
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.unwrap()
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.id,
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
various[1].id
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
assert_eq!(
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
BlocklistedEmail::matches_blocklist(conn, no_match)
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.unwrap()
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
.is_none(),
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
true
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
);
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
Ok(())
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
});
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)
}
elegaanz commented 2020-01-11 15:28:57 +00:00 (Migrated from github.com)
Review
You could use https://doc.rust-lang.org/std/result/enum.Result.html#method.err
elegaanz commented 2020-01-11 15:30:00 +00:00 (Migrated from github.com)
Review

Maybe add a @ so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).

Maybe add a `@` so that in only matches one domain, and not all domains with the same ending (I doubt this case will ever be encountered actually, be just to be sure).
epsilon-phase commented 2020-01-11 21:35:54 +00:00 (Migrated from github.com)
Review

That's much nicer :)

That's much nicer :)

View file

@ -22,6 +22,7 @@ extern crate plume_common;
#[macro_use] #[macro_use]
extern crate plume_macro; extern crate plume_macro;
extern crate reqwest; extern crate reqwest;
#[macro_use]
extern crate rocket; extern crate rocket;
extern crate rocket_i18n; extern crate rocket_i18n;
extern crate scheduled_thread_pool; extern crate scheduled_thread_pool;
@ -32,6 +33,7 @@ extern crate serde_derive;
extern crate serde_json; extern crate serde_json;
#[macro_use] #[macro_use]
extern crate tantivy; extern crate tantivy;
extern crate glob;
extern crate url; extern crate url;
extern crate walkdir; extern crate walkdir;
extern crate webfinger; extern crate webfinger;
@ -53,6 +55,7 @@ pub type Connection = diesel::PgConnection;
/// All the possible errors that can be encoutered in this crate /// All the possible errors that can be encoutered in this crate
#[derive(Debug)] #[derive(Debug)]
pub enum Error { pub enum Error {
Blocklisted(bool, String),
Db(diesel::result::Error), Db(diesel::result::Error),
Inbox(Box<InboxError<Error>>), Inbox(Box<InboxError<Error>>),
InvalidValue, InvalidValue,
@ -351,6 +354,7 @@ mod tests {
pub mod admin; pub mod admin;
pub mod api_tokens; pub mod api_tokens;
pub mod apps; pub mod apps;
pub mod blocklisted_emails;
pub mod blog_authors; pub mod blog_authors;
pub mod blogs; pub mod blogs;
pub mod comment_seers; pub mod comment_seers;

View file

@ -73,6 +73,15 @@ table! {
user_id -> Int4, user_id -> Int4,
} }
} }
table! {
email_blocklist(id){
id -> Int4,
email_address -> VarChar,
note -> Text,
notify_user -> Bool,
notification_text -> Text,
}
}
table! { table! {
follows (id) { follows (id) {

View file

@ -49,7 +49,10 @@ use safe_string::SafeString;
use schema::users; use schema::users;
use search::Searcher; use search::Searcher;
use timeline::Timeline; use timeline::Timeline;
use {ap_url, Connection, Error, PlumeRocket, Result, ITEMS_PER_PAGE}; use {
ap_url, blocklisted_emails::BlocklistedEmail, Connection, Error, PlumeRocket, Result,
ITEMS_PER_PAGE,
};
pub type CustomPerson = CustomObject<ApSignature, Person>; pub type CustomPerson = CustomObject<ApSignature, Person>;
@ -992,6 +995,10 @@ impl NewUser {
) -> Result<User> { ) -> Result<User> {
let (pub_key, priv_key) = gen_keypair(); let (pub_key, priv_key) = gen_keypair();
let instance = Instance::get_local()?; let instance = Instance::get_local()?;
let blocklisted = BlocklistedEmail::matches_blocklist(conn, &email)?;
if let Some(x) = blocklisted {
return Err(Error::Blocklisted(x.notify_user, x.notification_text));
}
let res = User::insert( let res = User::insert(
conn, conn,

View file

@ -198,6 +198,9 @@ Then try to restart Plume
routes::instance::admin_mod, routes::instance::admin_mod,
routes::instance::admin_instances, routes::instance::admin_instances,
routes::instance::admin_users, routes::instance::admin_users,
routes::instance::admin_email_blocklist,
routes::instance::add_email_blocklist,
routes::instance::delete_email_blocklist,
routes::instance::edit_users, routes::instance::edit_users,
routes::instance::toggle_block, routes::instance::toggle_block,
routes::instance::update_settings, routes::instance::update_settings,

View file

@ -1,5 +1,5 @@
use rocket::{ use rocket::{
request::{FormItems, FromForm, LenientForm}, request::{Form, FormItems, FromForm, LenientForm},
response::{status, Flash, Redirect}, response::{status, Flash, Redirect},
}; };
use rocket_contrib::json::Json; use rocket_contrib::json::Json;
@ -13,6 +13,7 @@ use inbox;
use plume_common::activity_pub::{broadcast, inbox::FromId}; use plume_common::activity_pub::{broadcast, inbox::FromId};
use plume_models::{ use plume_models::{
admin::*, admin::*,
blocklisted_emails::*,
comments::Comment, comments::Comment,
db_conn::DbConn, db_conn::DbConn,
headers::Headers, headers::Headers,
@ -174,6 +175,61 @@ pub fn admin_users(
Page::total(User::count_local(&*rockets.conn)? as i32) Page::total(User::count_local(&*rockets.conn)? as i32)
))) )))
} }
pub struct BlocklistEmailDeletion {
ids: Vec<i32>,
}
impl<'f> FromForm<'f> for BlocklistEmailDeletion {
type Error = ();
fn from_form(items: &mut FormItems<'f>, _strict: bool) -> Result<BlocklistEmailDeletion, ()> {
let mut c: BlocklistEmailDeletion = BlocklistEmailDeletion { ids: Vec::new() };
for item in items {
let key = item.key.parse::<i32>();
if let Ok(i) = key {
c.ids.push(i);
}
}
Ok(c)
}
}
#[post("/admin/emails/delete", data = "<form>")]
pub fn delete_email_blocklist(
_mod: Moderator,
form: Form<BlocklistEmailDeletion>,
rockets: PlumeRocket,
) -> Result<Flash<Redirect>, ErrorPage> {
BlocklistedEmail::delete_entries(&*rockets.conn, form.0.ids)?;
Ok(Flash::success(
Redirect::to(uri!(admin_email_blocklist: page = None)),
i18n!(rockets.intl.catalog, "Blocks deleted"),
))
}
#[post("/admin/emails/new", data = "<form>")]
pub fn add_email_blocklist(
elegaanz commented 2020-01-11 15:32:53 +00:00 (Migrated from github.com)
Review

I'm almost sure I did something similar for user management, couldn't the code be shared between the two?

I'm almost sure I did something similar for user management, couldn't the code be shared between the two?
epsilon-phase commented 2020-01-11 20:46:26 +00:00 (Migrated from github.com)
Review

We couldn't see how to do that cleanly, since that's significantly more complicated.

We couldn't see how to do that cleanly, since that's significantly more complicated.
elegaanz commented 2020-01-12 12:25:20 +00:00 (Migrated from github.com)
Review

OK, let's do it this way then, we can always refactor later if needed.

OK, let's do it this way then, we can always refactor later if needed.
_mod: Moderator,
form: LenientForm<NewBlocklistedEmail>,
rockets: PlumeRocket,
) -> Result<Flash<Redirect>, ErrorPage> {
BlocklistedEmail::insert(&*rockets.conn, form.0)?;
Ok(Flash::success(
Redirect::to(uri!(admin_email_blocklist: page = None)),
i18n!(rockets.intl.catalog, "Email Blocked"),
))
}
#[get("/admin/emails?<page>")]
pub fn admin_email_blocklist(
_mod: Moderator,
page: Option<Page>,
rockets: PlumeRocket,
) -> Result<Ructe, ErrorPage> {
let page = page.unwrap_or_default();
Ok(render!(instance::emailblocklist(
&rockets.to_context(),
BlocklistedEmail::page(&*rockets.conn, page.limits())?,
page.0,
Page::total(BlocklistedEmail::count(&*rockets.conn)? as i32)
)))
}
/// A structure to handle forms that are a list of items on which actions are applied. /// A structure to handle forms that are a list of items on which actions are applied.
/// ///
@ -307,11 +363,20 @@ fn ban(
) -> Result<(), ErrorPage> { ) -> Result<(), ErrorPage> {
let u = User::get(&*conn, id)?; let u = User::get(&*conn, id)?;
u.delete(&*conn, searcher)?; u.delete(&*conn, searcher)?;
if Instance::get_local() if Instance::get_local()
.map(|i| u.instance_id == i.id) .map(|i| u.instance_id == i.id)
.unwrap_or(false) .unwrap_or(false)
{ {
BlocklistedEmail::insert(
&conn,
NewBlocklistedEmail {
email_address: u.email.clone().unwrap(),
note: "Banned".to_string(),
notify_user: false,
notification_text: "".to_owned(),
},
)
.unwrap();
let target = User::one_by_instance(&*conn)?; let target = User::one_by_instance(&*conn)?;
let delete_act = u.delete_activity(&*conn)?; let delete_act = u.delete_activity(&*conn)?;
let u_clone = u.clone(); let u_clone = u.clone();

View file

@ -484,8 +484,20 @@ pub fn validate_username(username: &str) -> Result<(), ValidationError> {
} }
} }
fn to_validation(_: Error) -> ValidationErrors { fn to_validation(x: Error) -> ValidationErrors {
let mut errors = ValidationErrors::new(); let mut errors = ValidationErrors::new();
if let Error::Blocklisted(show, msg) = x {
if show {
errors.add(
"email",
ValidationError {
code: Cow::from("blocklisted"),
message: Some(Cow::from(msg)),
params: HashMap::new(),
},
);
}
}
errors.add( errors.add(
"", "",
ValidationError { ValidationError {
@ -529,8 +541,7 @@ pub fn create(
"", "",
form.email.to_string(), form.email.to_string(),
User::hash_pass(&form.password).map_err(to_validation)?, User::hash_pass(&form.password).map_err(to_validation)?,
) ).map_err(to_validation)?;
.map_err(to_validation)?;
Ok(Flash::success( Ok(Flash::success(
Redirect::to(uri!(super::session::new: m = _)), Redirect::to(uri!(super::session::new: m = _)),
i18n!( i18n!(

View file

@ -14,6 +14,7 @@
(&uri!(instance::admin).to_string(), i18n!(ctx.1, "Configuration"), true), (&uri!(instance::admin).to_string(), i18n!(ctx.1, "Configuration"), true),
(&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), false), (&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), false),
(&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), false), (&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), false),
(&uri!(instance::admin_email_blocklist: page=_).to_string(), i18n!(ctx.1, "Email blocklist"), false)
elegaanz commented 2020-01-11 15:34:05 +00:00 (Migrated from github.com)
Review

This link is absent from the "Instances" page.

This link is absent from the "Instances" page.
]) ])
<form method="post" action="@uri!(instance::update_settings)"> <form method="post" action="@uri!(instance::update_settings)">

View file

@ -0,0 +1,71 @@
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@use templates::base;
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@use plume_models::blocklisted_emails::BlocklistedEmail;
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@use template_utils::*;
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@use routes::*;
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@(ctx:BaseContext, emails: Vec<BlocklistedEmail>, page:i32, n_pages:i32)
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@:base(ctx, i18n!(ctx.1, "Blocklisted Emails"), {}, {}, {
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<h1>@i18n!(ctx.1,"Blocklisted Emails")</h1>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@tabs(&[
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
elegaanz commented 2020-01-11 15:21:53 +00:00 (Migrated from github.com)
Review

There should probably be a <h1> here, like on other administration pages.

There should probably be a `<h1>` here, like on other administration pages.
(&uri!(instance::admin).to_string(), i18n!(ctx.1, "Configuration"), false),
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
(&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), false),
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
(&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), false),
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
(&uri!(instance::admin_email_blocklist:page=_).to_string(), i18n!(ctx.1, "Email blocklist"), true),
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
])
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<form method="post" action="@uri!(instance::add_email_blocklist)">
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@(Input::new("email_address", i18n!(ctx.1, "Email address"))
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
.details(i18n!(ctx.1, "The email address you wish to block. In order to block domains, you can use globbing syntax, for example '*@example.com' blocks all addresses from example.com"))
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
.set_prop("minlength", 1)
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
.html(ctx.1))
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@(Input::new("note", i18n!(ctx.1, "Note")).optional().html(ctx.1))
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<label for="notify_user">@i18n!(ctx.1, "Notify the user?")
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<input id="notify_user" type="checkbox" name="notify_user">
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<small>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@i18n!(ctx.1, "Optional, shows a message to the user when they attempt to create an account with that address")
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</small>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</label>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@(Input::new("notification_text", i18n!(ctx.1, "Blocklisting notification"))
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
.optional()
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
.details(i18n!(ctx.1, "The message to be shown when the user attempts to create an account with this email address")).html(ctx.1))
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<input type="submit" value='@i18n!(ctx.1, "Add blocklisted address")'>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</form>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<form method="post" action="@uri!(instance::delete_email_blocklist)">
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<header>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@if emails.is_empty() {
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<input type="submit" class="destructive" value='@i18n!(ctx.1, "Delete selected emails")'>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
} else {
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<p class="center" >@i18n!(ctx.1, "There are no blocked emails on your instance")</p>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
}
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</header>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<div class="list">
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@for email in emails {
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<div class="card flex compact">
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<input type="checkbox" name="@email.id">
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<p class="grow">
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<strong>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@i18n!(ctx.1, "Email address:")
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</strong> @email.email_address
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</p>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<p class="grow">
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<strong>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@i18n!(ctx.1, "Blocklisted for:")
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</strong> @email.note
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</p>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<p class="grow">
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@if email.notify_user {
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
<strong>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@i18n!(ctx.1, "Will notify them on account creation with this message:")
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</strong>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@email.notification_text
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
} else {
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@i18n!(ctx.1, "The user will be silently prevented from making an account")
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
}
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</p>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</div>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
}
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</div>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
</form>
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
@paginate(ctx.1, page, n_pages)
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense
})
igalic commented 2020-01-08 07:52:01 +00:00 (Migrated from github.com)
Review

I'm a bit confused as to why there are no spaces after , s in function calls, starting here

I'm a bit confused as to why there are no spaces after `, `s in function calls, starting here
epsilon-phase commented 2020-01-08 19:28:38 +00:00 (Migrated from github.com)
Review

Oh, that's because rustfmt can't touch the templates :)

Fixed.

Oh, that's because rustfmt can't touch the templates :) Fixed.
elegaanz commented 2020-01-11 15:24:02 +00:00 (Migrated from github.com)
Review

This button should probably be red (class="destructive" IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.

This button should probably be red (`class="destructive"` IIRC), and explicitly say that it deletes all blocklisted emails if it is what it does.
elegaanz commented 2020-01-11 15:25:49 +00:00 (Migrated from github.com)
Review

This <input> should be before the label IMO, as it is usually done with checkboxes.

This `<input>` should be before the label IMO, as it is usually done with checkboxes.
epsilon-phase commented 2020-01-11 20:42:09 +00:00 (Migrated from github.com)
Review

It deletes only the ones selected.

But yeah, that's a good idea

It deletes only the ones selected. But yeah, that's a good idea
elegaanz commented 2020-01-12 12:35:00 +00:00 (Migrated from github.com)
Review

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (<p class="center"> is made for that).

Actually, this button should probably be hidden if there is currently no blocked addresses, and a placeholder message should be shown (`<p class="center">` is made for that).
elegaanz commented 2020-01-12 12:36:08 +00:00 (Migrated from github.com)
Review

Moving it inside of the <label> tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.

Moving it inside of the `<label>` tag would be better, otherwise they are not on the same line, and it is hard to understand they are linked.
elegaanz commented 2020-01-12 12:37:01 +00:00 (Migrated from github.com)
Review

There is a i missing in i18n here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).

There is a `i` missing in `i18n` here, it doesn't show correctly (it shouldn't even compile, but for some reason, it does).
epsilon-phase commented 2020-01-12 18:12:43 +00:00 (Migrated from github.com)
Review

What an odd mystery

What an odd mystery
epsilon-phase commented 2020-01-12 18:14:05 +00:00 (Migrated from github.com)
Review

That makes sense

That makes sense

View file

@ -12,6 +12,7 @@
(&uri!(instance::admin).to_string(), i18n!(ctx.1, "Configuration"), false), (&uri!(instance::admin).to_string(), i18n!(ctx.1, "Configuration"), false),
(&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), true), (&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), true),
(&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), false), (&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), false),
(&uri!(instance::admin_email_blocklist:page=_).to_string(), i18n!(ctx.1, "Email blocklist"), false),
]) ])
<div class="list"> <div class="list">

View file

@ -12,6 +12,7 @@
(&uri!(instance::admin).to_string(), i18n!(ctx.1, "Configuration"), false), (&uri!(instance::admin).to_string(), i18n!(ctx.1, "Configuration"), false),
(&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), false), (&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), false),
(&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), true), (&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), true),
(&uri!(instance::admin_email_blocklist: page=_).to_string(), i18n!(ctx.1, "Email blocklist"), false)
]) ])
<form method="post" action="@uri!(instance::edit_users)"> <form method="post" action="@uri!(instance::edit_users)">