forge
Explore
Log in

Don't you dare go Hollow

The name is İzlek, with the dotted İ

Browse files at this commit

69a60fa9a367ee59a50da20706d827d0c92bed8fAhmet Kaan GümüşParent: 019cbd0
  • style
    • the name is İzlek, with the dotted İ
Show full message
🎨 style(brand): the name is İzlek, with the dotted İ

İzlek is a Turkish word and its first letter is `İ`, not `I` — the mail
it sends, the config it writes, the workspace it names itself and every
line of prose about it now spell it the way it is said. The Turkish
strings gain the letter the language requires: `İzlek'i kur`, not
`Izlek'i kur`.

The wordmark and the tab title are deliberately not in here: they are a
drawing, not a spelling, and they change with the mark.
crates/izlek-core/Cargo.tomlmodified+1 -1
@@ -4,7 +4,7 @@ version.workspace = true
4 edition.workspace = true4 edition.workspace = true
5 license.workspace = true5 license.workspace = true
6 repository.workspace = true6 repository.workspace = true
7-description = "Domain model and storage for Izlek"7+description = "Domain model and storage for İzlek"
8 8
9 [features]9 [features]
10 # The domain vocabulary (roles, record shapes) compiles anywhere, including the10 # The domain vocabulary (roles, record shapes) compiles anywhere, including the
crates/izlek-core/src/accounts.rsmodified+2 -2
@@ -222,9 +222,9 @@ impl Accounts {
222 self.store222 self.store
223 .create_signin_link(&user.id, &token.hash(), expires_at)223 .create_signin_link(&user.id, &token.hash(), expires_at)
224 .await?;224 .await?;
225- let subject = "Your Izlek sign-in link";225+ let subject = "Your İzlek sign-in link";
226 let body = format!(226 let body = format!(
227- "{actor} added you to Izlek.\n\n{base}/join/{token}\n\nThe link works once and expires in 7 days.\n",227+ "{actor} added you to İzlek.\n\n{base}/join/{token}\n\nThe link works once and expires in 7 days.\n",
228 actor = actor.display_name,228 actor = actor.display_name,
229 base = self.base().await?,229 base = self.base().await?,
230 token = token.expose(),230 token = token.expose(),
crates/izlek-core/src/config.rsmodified+5 -5
@@ -1,9 +1,9 @@
1-//! Everything Izlek reads from `config/izlek.toml`, in one place.1+//! Everything İzlek reads from `config/izlek.toml`, in one place.
2 //!2 //!
3 //! Nothing here has a silent default once the file exists. A key that is3 //! Nothing here has a silent default once the file exists. A key that is
4 //! missing, empty or unusable stops the boot and says which key and which4 //! missing, empty or unusable stops the boot and says which key and which
5 //! file, because the alternative is worse than not starting: a wrong5 //! file, because the alternative is worse than not starting: a wrong
6-//! `database` does not mean "no data", it means a second Izlek quietly6+//! `database` does not mean "no data", it means a second İzlek quietly
7 //! writing a different file while everyone believes they are looking at the7 //! writing a different file while everyone believes they are looking at the
8 //! same board — and Turso is single-writer, so the two are not even8 //! same board — and Turso is single-writer, so the two are not even
9 //! reconcilable afterwards.9 //! reconcilable afterwards.
@@ -48,7 +48,7 @@ const FILE_NAME: &str = "config/izlek.toml";
48 const DEVELOPMENT_DEFAULTS: &str = r#"# Where the one database file lives. One process holds it.48 const DEVELOPMENT_DEFAULTS: &str = r#"# Where the one database file lives. One process holds it.
49 database = "izlek.db"49 database = "izlek.db"
50 # The address the server listens on. Environment variables are ignored —50 # The address the server listens on. Environment variables are ignored —
51-# this is the only thing that decides where Izlek binds. It is also the51+# this is the only thing that decides where İzlek binds. It is also the
52 # address mail links fall back to, until an admin sets one in Settings.52 # address mail links fall back to, until an admin sets one in Settings.
53 listen = "127.0.0.1:7654"53 listen = "127.0.0.1:7654"
54 "#;54 "#;
@@ -70,7 +70,7 @@ const OPTIONAL_KEYS: &[(&str, &str)] = &[(
70 "listen",70 "listen",
71 concat!(71 concat!(
72 "# The address the server listens on. Environment variables are ignored —\n",72 "# The address the server listens on. Environment variables are ignored —\n",
73- "# this is the only thing that decides where Izlek binds. It is also the\n",73+ "# this is the only thing that decides where İzlek binds. It is also the\n",
74 "# address mail links fall back to, until an admin sets one in Settings.\n",74 "# address mail links fall back to, until an admin sets one in Settings.\n",
75 "listen = \"127.0.0.1:7654\"\n"75 "listen = \"127.0.0.1:7654\"\n"
76 ),76 ),
@@ -211,7 +211,7 @@ impl Config {
211 /// A bind that names no interface — `0.0.0.0`, `::` — answers everywhere211 /// A bind that names no interface — `0.0.0.0`, `::` — answers everywhere
212 /// and is reachable at none of it by name, so the loopback stands in: a212 /// and is reachable at none of it by name, so the loopback stands in: a
213 /// link somebody on the box can click beats a link nobody can. Whoever213 /// link somebody on the box can click beats a link nobody can. Whoever
214- /// puts Izlek behind a proxy sets the real address in Settings, which is214+ /// puts İzlek behind a proxy sets the real address in Settings, which is
215 /// the only thing this defers to.215 /// the only thing this defers to.
216 pub fn listen_url(&self) -> String {216 pub fn listen_url(&self) -> String {
217 let ip = self.listen.ip();217 let ip = self.listen.ip();
crates/izlek-core/src/lib.rsmodified+1 -1
@@ -1,4 +1,4 @@
1-//! Domain model and storage for Izlek.1+//! Domain model and storage for İzlek.
2 //!2 //!
3 //! The vocabulary — roles and record shapes — compiles everywhere, so the UI3 //! The vocabulary — roles and record shapes — compiles everywhere, so the UI
4 //! and the server speak the same types. The `server` feature adds the halves4 //! and the server speak the same types. The `server` feature adds the halves
crates/izlek-core/src/mail.rsmodified+3 -3
@@ -9,7 +9,7 @@
9 //!9 //!
10 //! Nobody is ever mailed about their own action. A rule's audience is resolved10 //! Nobody is ever mailed about their own action. A rule's audience is resolved
11 //! and the person who did the thing is taken off it, on every audience, always:11 //! and the person who did the thing is taken off it, on every audience, always:
12-//! three people on one board do not need Izlek telling each of them what they12+//! three people on one board do not need İzlek telling each of them what they
13 //! themselves just did. A rule whose audience is only the actor sends nothing13 //! themselves just did. A rule whose audience is only the actor sends nothing
14 //! and owes nothing — that is not a failure and does not appear as one.14 //! and owes nothing — that is not a failure and does not appear as one.
15 //!15 //!
@@ -158,8 +158,8 @@ impl Engine {
158 pub async fn send_test(&self, to: &str) -> std::result::Result<Duration, MailError> {158 pub async fn send_test(&self, to: &str) -> std::result::Result<Duration, MailError> {
159 let mail = Outgoing {159 let mail = Outgoing {
160 to: to.to_string(),160 to: to.to_string(),
161- subject: "Izlek test mail".to_string(),161+ subject: "İzlek test mail".to_string(),
162- body: "Somebody pressed the test button in Izlek's settings, and this \162+ body: "Somebody pressed the test button in İzlek's settings, and this \
163 is what came out. Nothing else was sent, and nobody else was \163 is what came out. Nothing else was sent, and nobody else was \
164 written to.\n"164 written to.\n"
165 .to_string(),165 .to_string(),
crates/izlek-core/src/store/mod.rsmodified+1 -1
@@ -812,7 +812,7 @@ pub trait Store: BoardReads + DetailReads + 'static {
812 ) -> Result<CommentWritten>;812 ) -> Result<CommentWritten>;
813 813
814 /// Hangs a file off a task. The bytes go into the database file with the814 /// Hangs a file off a task. The bytes go into the database file with the
815- /// row: there is no second place for a Izlek deployment to keep, and no815+ /// row: there is no second place for an İzlek deployment to keep, and no
816 /// path for an uploaded name to become.816 /// path for an uploaded name to become.
817 ///817 ///
818 /// Nothing here decides whether the file was allowed — its size, its type818 /// Nothing here decides whether the file was allowed — its size, its type
crates/izlek-core/src/store/turso_store.rsmodified+2 -2
@@ -3894,7 +3894,7 @@ mod probe {
3894 use crate::store::Store as _;3894 use crate::store::Store as _;
3895 3895
3896 let (ws, _admin) = store3896 let (ws, _admin) = store
3897- .claim_workspace("Izlek", "ada@izlek.sh", "Ada", "hash")3897+ .claim_workspace("İzlek", "ada@izlek.sh", "Ada", "hash")
3898 .await3898 .await
3899 .unwrap();3899 .unwrap();
3900 store3900 store
@@ -3905,7 +3905,7 @@ mod probe {
3905 port: 587,3905 port: 587,
3906 username: "izlek".into(),3906 username: "izlek".into(),
3907 password: Some("hunter2-and-then-some".into()),3907 password: Some("hunter2-and-then-some".into()),
3908- from_name: "Izlek".into(),3908+ from_name: "İzlek".into(),
3909 from_address: "izlek@izlek.sh".into(),3909 from_address: "izlek@izlek.sh".into(),
3910 },3910 },
3911 )3911 )
crates/izlek-core/tests/store.rsmodified+21 -21
@@ -55,7 +55,7 @@ async fn workspace_with_admin() -> (Scratch, String, String) {
55 let (ws, admin) = scratch55 let (ws, admin) = scratch
56 .store56 .store
57 .claim_workspace(57 .claim_workspace(
58- "Izlek",58+ "İzlek",
59 "ada@izlek.sh",59 "ada@izlek.sh",
60 "Ada",60 "Ada",
61 &hash_password("tide-tables-1892").unwrap(),61 &hash_password("tide-tables-1892").unwrap(),
@@ -70,7 +70,7 @@ async fn workspace_with_admin() -> (Scratch, String, String) {
70 async fn claim(store: &TursoStore) -> (String, String) {70 async fn claim(store: &TursoStore) -> (String, String) {
71 let (ws, admin) = store71 let (ws, admin) = store
72 .claim_workspace(72 .claim_workspace(
73- "Izlek",73+ "İzlek",
74 "ada@izlek.sh",74 "ada@izlek.sh",
75 "Ada",75 "Ada",
76 &hash_password("tide-tables-1892").unwrap(),76 &hash_password("tide-tables-1892").unwrap(),
@@ -109,7 +109,7 @@ async fn migrations_apply_once_and_survive_reopen() {
109 // must not lose what the first open wrote.109 // must not lose what the first open wrote.
110 let second = TursoStore::open(&path).await.unwrap();110 let second = TursoStore::open(&path).await.unwrap();
111 assert_eq!(second.schema_version().await.unwrap(), 1);111 assert_eq!(second.schema_version().await.unwrap(), 1);
112- assert_eq!(second.workspace().await.unwrap().unwrap().name, "Izlek");112+ assert_eq!(second.workspace().await.unwrap().unwrap().name, "İzlek");
113 drop(second);113 drop(second);
114 let _ = std::fs::remove_dir_all(&dir);114 let _ = std::fs::remove_dir_all(&dir);
115 }115 }
@@ -600,7 +600,7 @@ async fn a_second_claim_loses_and_changes_nothing() {
600 // The loser must not have joined as anything at all.600 // The loser must not have joined as anything at all.
601 assert_eq!(601 assert_eq!(
602 scratch.store.workspace().await.unwrap().unwrap().name,602 scratch.store.workspace().await.unwrap().unwrap().name,
603- "Izlek"603+ "İzlek"
604 );604 );
605 assert_eq!(scratch.store.count_users("").await.unwrap(), 0);605 assert_eq!(scratch.store.count_users("").await.unwrap(), 0);
606 let ws_id = scratch.store.workspace().await.unwrap().unwrap().id;606 let ws_id = scratch.store.workspace().await.unwrap().unwrap().id;
@@ -630,7 +630,7 @@ async fn concurrent_claims_produce_exactly_one_admin() {
630 claims.push(tokio::spawn(async move {630 claims.push(tokio::spawn(async move {
631 store631 store
632 .claim_workspace(632 .claim_workspace(
633- "Izlek",633+ "İzlek",
634 &format!("claimant{i}@izlek.sh"),634 &format!("claimant{i}@izlek.sh"),
635 &format!("Claimant {i}"),635 &format!("Claimant {i}"),
636 &hash,636 &hash,
@@ -710,7 +710,7 @@ async fn workspace_defaults_match_the_settings_screen() {
710 let (ws, _) = scratch710 let (ws, _) = scratch
711 .store711 .store
712 .claim_workspace(712 .claim_workspace(
713- "Izlek",713+ "İzlek",
714 "ada@izlek.sh",714 "ada@izlek.sh",
715 "Ada",715 "Ada",
716 &hash_password("tide-tables-1892").unwrap(),716 &hash_password("tide-tables-1892").unwrap(),
@@ -744,7 +744,7 @@ async fn the_workspace_record_carries_the_sender_but_never_its_password() {
744 port: 587,744 port: 587,
745 username: "izlek".into(),745 username: "izlek".into(),
746 password: Some("a-very-secret-string".into()),746 password: Some("a-very-secret-string".into()),
747- from_name: "Izlek".into(),747+ from_name: "İzlek".into(),
748 from_address: "izlek@izlek.sh".into(),748 from_address: "izlek@izlek.sh".into(),
749 },749 },
750 )750 )
@@ -755,7 +755,7 @@ async fn the_workspace_record_carries_the_sender_but_never_its_password() {
755 assert_eq!(ws.smtp_host.as_deref(), Some("smtp.fastmail.com"));755 assert_eq!(ws.smtp_host.as_deref(), Some("smtp.fastmail.com"));
756 assert_eq!(ws.smtp_port, Some(587));756 assert_eq!(ws.smtp_port, Some(587));
757 assert_eq!(ws.smtp_username.as_deref(), Some("izlek"));757 assert_eq!(ws.smtp_username.as_deref(), Some("izlek"));
758- assert_eq!(ws.smtp_from_name.as_deref(), Some("Izlek"));758+ assert_eq!(ws.smtp_from_name.as_deref(), Some("İzlek"));
759 assert_eq!(ws.smtp_from_address.as_deref(), Some("izlek@izlek.sh"));759 assert_eq!(ws.smtp_from_address.as_deref(), Some("izlek@izlek.sh"));
760 assert!(ws.smtp_password_set, "the screen must be able to say 'set'");760 assert!(ws.smtp_password_set, "the screen must be able to say 'set'");
761 761
@@ -777,7 +777,7 @@ async fn a_save_with_no_password_typed_keeps_the_stored_one() {
777 port: 587,777 port: 587,
778 username: "izlek".into(),778 username: "izlek".into(),
779 password: Some("keep-me".into()),779 password: Some("keep-me".into()),
780- from_name: "Izlek".into(),780+ from_name: "İzlek".into(),
781 from_address: "izlek@izlek.sh".into(),781 from_address: "izlek@izlek.sh".into(),
782 };782 };
783 scratch.store.set_sender(&ws_id, sender.clone()).await.unwrap();783 scratch.store.set_sender(&ws_id, sender.clone()).await.unwrap();
@@ -805,7 +805,7 @@ async fn a_typed_password_replaces_the_stored_one() {
805 port: 587,805 port: 587,
806 username: "izlek".into(),806 username: "izlek".into(),
807 password: Some("the-old-one".into()),807 password: Some("the-old-one".into()),
808- from_name: "Izlek".into(),808+ from_name: "İzlek".into(),
809 from_address: "izlek@izlek.sh".into(),809 from_address: "izlek@izlek.sh".into(),
810 };810 };
811 scratch.store.set_sender(&ws_id, sender.clone()).await.unwrap();811 scratch.store.set_sender(&ws_id, sender.clone()).await.unwrap();
@@ -833,7 +833,7 @@ async fn the_stored_password_is_not_the_plaintext_on_disk() {
833 port: 587,833 port: 587,
834 username: "izlek".into(),834 username: "izlek".into(),
835 password: Some("a-very-secret-string".into()),835 password: Some("a-very-secret-string".into()),
836- from_name: "Izlek".into(),836+ from_name: "İzlek".into(),
837 from_address: "izlek@izlek.sh".into(),837 from_address: "izlek@izlek.sh".into(),
838 },838 },
839 )839 )
@@ -876,7 +876,7 @@ async fn a_password_that_will_not_decrypt_reads_back_as_none() {
876 port: 587,876 port: 587,
877 username: "izlek".into(),877 username: "izlek".into(),
878 password: Some("a-very-secret-string".into()),878 password: Some("a-very-secret-string".into()),
879- from_name: "Izlek".into(),879+ from_name: "İzlek".into(),
880 from_address: "izlek@izlek.sh".into(),880 from_address: "izlek@izlek.sh".into(),
881 },881 },
882 )882 )
@@ -910,7 +910,7 @@ async fn a_password_that_will_not_decrypt_reads_back_as_none() {
910 port: 587,910 port: 587,
911 username: "izlek".into(),911 username: "izlek".into(),
912 password: Some("a-fresh-password".into()),912 password: Some("a-fresh-password".into()),
913- from_name: "Izlek".into(),913+ from_name: "İzlek".into(),
914 from_address: "izlek@izlek.sh".into(),914 from_address: "izlek@izlek.sh".into(),
915 },915 },
916 )916 )
@@ -1282,7 +1282,7 @@ async fn the_store_is_usable_behind_a_trait_object() {
1282 let scratch = Scratch::open().await;1282 let scratch = Scratch::open().await;
1283 let store: &dyn Store = &scratch.store;1283 let store: &dyn Store = &scratch.store;
1284 store1284 store
1285- .claim_workspace("Izlek", "ada@izlek.sh", "Ada", "$argon2id$fake")1285+ .claim_workspace("İzlek", "ada@izlek.sh", "Ada", "$argon2id$fake")
1286 .await1286 .await
1287 .unwrap();1287 .unwrap();
1288 assert!(store.workspace().await.unwrap().is_some());1288 assert!(store.workspace().await.unwrap().is_some());
@@ -1541,7 +1541,7 @@ async fn accounts() -> (Scratch, Accounts) {
1541 async fn claimed() -> (Scratch, Accounts, User) {1541 async fn claimed() -> (Scratch, Accounts, User) {
1542 let (scratch, accounts) = accounts().await;1542 let (scratch, accounts) = accounts().await;
1543 let (_, signed_in) = accounts1543 let (_, signed_in) = accounts
1544- .claim_workspace("Izlek", "ada@izlek.sh", "Ada", "tide-tables-1892")1544+ .claim_workspace("İzlek", "ada@izlek.sh", "Ada", "tide-tables-1892")
1545 .await1545 .await
1546 .unwrap();1546 .unwrap();
1547 (scratch, accounts, signed_in.user)1547 (scratch, accounts, signed_in.user)
@@ -1551,10 +1551,10 @@ async fn claimed() -> (Scratch, Accounts, User) {
1551 async fn claiming_makes_an_admin_and_signs_them_in() {1551 async fn claiming_makes_an_admin_and_signs_them_in() {
1552 let (_scratch, accounts) = accounts().await;1552 let (_scratch, accounts) = accounts().await;
1553 let (workspace, signed_in) = accounts1553 let (workspace, signed_in) = accounts
1554- .claim_workspace("Izlek", "ada@izlek.sh", "Ada", "tide-tables-1892")1554+ .claim_workspace("İzlek", "ada@izlek.sh", "Ada", "tide-tables-1892")
1555 .await1555 .await
1556 .unwrap();1556 .unwrap();
1557- assert_eq!(workspace.name, "Izlek");1557+ assert_eq!(workspace.name, "İzlek");
1558 assert_eq!(signed_in.user.role, Role::Admin);1558 assert_eq!(signed_in.user.role, Role::Admin);
1559 1559
1560 // The cookie value works and is not what is stored.1560 // The cookie value works and is not what is stored.
@@ -1577,7 +1577,7 @@ async fn claiming_makes_an_admin_and_signs_them_in() {
1577 async fn the_claim_screen_enforces_its_own_password_rules() {1577 async fn the_claim_screen_enforces_its_own_password_rules() {
1578 let (_scratch, accounts) = accounts().await;1578 let (_scratch, accounts) = accounts().await;
1579 let too_short = accounts1579 let too_short = accounts
1580- .claim_workspace("Izlek", "ada@izlek.sh", "Ada", "short")1580+ .claim_workspace("İzlek", "ada@izlek.sh", "Ada", "short")
1581 .await;1581 .await;
1582 assert!(matches!(1582 assert!(matches!(
1583 too_short,1583 too_short,
@@ -4523,7 +4523,7 @@ async fn nobody_is_mailed_about_what_they_did_themselves() {
4523 let engine = Engine::new(store.clone(), mailer.clone(), "https://izlek.sh");4523 let engine = Engine::new(store.clone(), mailer.clone(), "https://izlek.sh");
4524 4524
4525 // Emre is the only assignee and Emre moved the card. Telling him what he4525 // Emre is the only assignee and Emre moved the card. Telling him what he
4526- // just did is how a person learns to filter Izlek's mail away.4526+ // just did is how a person learns to filter İzlek's mail away.
4527 let transition = moved_to(&store, &workspace, &task, "Backlog", "Done", &mate).await;4527 let transition = moved_to(&store, &workspace, &task, "Backlog", "Done", &mate).await;
4528 let report = engine.on_transition(&transition).await.unwrap();4528 let report = engine.on_transition(&transition).await.unwrap();
4529 assert_eq!(report, Default::default());4529 assert_eq!(report, Default::default());
@@ -5049,7 +5049,7 @@ async fn an_invite_mail_is_owed_without_a_rule() {
5049 let now = OffsetDateTime::now_utc();5049 let now = OffsetDateTime::now_utc();
5050 5050
5051 let invite = store5051 let invite = store
5052- .queue_invite("newcomer@izlek.sh", "Join Izlek", "Come aboard.", now)5052+ .queue_invite("newcomer@izlek.sh", "Join İzlek", "Come aboard.", now)
5053 .await5053 .await
5054 .unwrap();5054 .unwrap();
5055 assert_eq!(invite.rule_id, None);5055 assert_eq!(invite.rule_id, None);
@@ -5069,7 +5069,7 @@ async fn an_invite_mail_with_no_sender_is_held_not_failed() {
5069 let (dir, store, _workspace, _admin) = shared().await;5069 let (dir, store, _workspace, _admin) = shared().await;
5070 let now = OffsetDateTime::now_utc();5070 let now = OffsetDateTime::now_utc();
5071 store5071 store
5072- .queue_invite("newcomer@izlek.sh", "Join Izlek", "Come aboard.", now)5072+ .queue_invite("newcomer@izlek.sh", "Join İzlek", "Come aboard.", now)
5073 .await5073 .await
5074 .unwrap();5074 .unwrap();
5075 5075
crates/izlek-web/Cargo.tomlmodified+1 -1
@@ -4,7 +4,7 @@ version.workspace = true
4 edition.workspace = true4 edition.workspace = true
5 license.workspace = true5 license.workspace = true
6 repository.workspace = true6 repository.workspace = true
7-description = "Izlek web app: topcoat UI, routes and the server"7+description = "İzlek web app: topcoat UI, routes and the server"
8 8
9 [dependencies]9 [dependencies]
10 topcoat = { version = "0.6.2", default-features = false, features = [10 topcoat = { version = "0.6.2", default-features = false, features = [
crates/izlek-web/src/auth.rsmodified+1 -1
@@ -25,7 +25,7 @@ use crate::settings::encode_q;
25 25
26 /// The workspace has exactly one name and no screen that sets it, so it is a26 /// The workspace has exactly one name and no screen that sets it, so it is a
27 /// constant rather than a field nobody was shown.27 /// constant rather than a field nobody was shown.
28-pub const WORKSPACE_NAME: &str = "Izlek";28+pub const WORKSPACE_NAME: &str = "İzlek";
29 29
30 /// The name and address an invitation was made out to.30 /// The name and address an invitation was made out to.
31 #[derive(Clone, Debug, Serialize)]31 #[derive(Clone, Debug, Serialize)]
crates/izlek-web/src/detail.rsmodified+1 -1
@@ -1938,7 +1938,7 @@ pub async fn task_modal(cx: &Cx, task_id: &str, confirm_delete: bool, tab: Tab)
1938 for entry in &detail.activity {1938 for entry in &detail.activity {
1939 <div class="activity-line">1939 <div class="activity-line">
1940 <span class="activity-stamp">(entry.moment_in(zone))</span>1940 <span class="activity-stamp">(entry.moment_in(zone))</span>
1941- <strong class="activity-who">(entry.actor.as_ref().map(|person| person.display_name.clone()).unwrap_or_else(|| "Izlek".to_string()))</strong>1941+ <strong class="activity-who">(entry.actor.as_ref().map(|person| person.display_name.clone()).unwrap_or_else(|| "İzlek".to_string()))</strong>
1942 <span class="activity-what">(entry.sentence())</span>1942 <span class="activity-what">(entry.sentence())</span>
1943 </div>1943 </div>
1944 }1944 }
crates/izlek-web/src/files.rsmodified+2 -2
@@ -154,7 +154,7 @@ fn contains(haystack: &[u8], needle: &[u8]) -> bool {
154 /// true for a mime type a browser renders on its own ([`renders_inline`]) and154 /// true for a mime type a browser renders on its own ([`renders_inline`]) and
155 /// the caller did not ask for a forced download (`?dl=1`) — an uploaded HTML155 /// the caller did not ask for a forced download (`?dl=1`) — an uploaded HTML
156 /// or SVG file stays `attachment` either way, so it is offered to save rather156 /// or SVG file stays `attachment` either way, so it is offered to save rather
157-/// than run on Izlek's origin. The ASCII fallback keeps only characters no157+/// than run on İzlek's origin. The ASCII fallback keeps only characters no
158 /// quoting scheme could turn into a delimiter or a control character;158 /// quoting scheme could turn into a delimiter or a control character;
159 /// `filename*` carries the real name, percent-encoded, for browsers that read159 /// `filename*` carries the real name, percent-encoded, for browsers that read
160 /// it.160 /// it.
@@ -207,7 +207,7 @@ pub(crate) enum ViewerKind {
207 Video,207 Video,
208 Audio,208 Audio,
209 Pdf,209 Pdf,
210- /// A spreadsheet Izlek reads itself and lays out as a table — no browser210+ /// A spreadsheet İzlek reads itself and lays out as a table — no browser
211 /// renders one, so this is the only viewer whose bytes are parsed here211 /// renders one, so this is the only viewer whose bytes are parsed here
212 /// rather than handed to an element.212 /// rather than handed to an element.
213 Sheet,213 Sheet,
crates/izlek-web/src/i18n.rsmodified+4 -4
@@ -612,16 +612,16 @@ pub fn t(lang: Lang, key: Key) -> &'static str {
612 612
613 (LinkExpiredTitle, En) => "This link no longer works",613 (LinkExpiredTitle, En) => "This link no longer works",
614 (LinkExpiredTitle, Tr) => "Bu bağlantı artık çalışmıyor",614 (LinkExpiredTitle, Tr) => "Bu bağlantı artık çalışmıyor",
615- (SetupTitle, En) => "Set up Izlek",615+ (SetupTitle, En) => "Set up İzlek",
616- (SetupTitle, Tr) => "Izlek'i kur",616+ (SetupTitle, Tr) => "İzlek'i kur",
617 (SetupSub, En) => "First account becomes the admin.",617 (SetupSub, En) => "First account becomes the admin.",
618 (SetupSub, Tr) => "İlk hesap yönetici olur.",618 (SetupSub, Tr) => "İlk hesap yönetici olur.",
619 (YourNameLabel, En) => "YOUR NAME",619 (YourNameLabel, En) => "YOUR NAME",
620 (YourNameLabel, Tr) => "ADIN",620 (YourNameLabel, Tr) => "ADIN",
621 (CreateWorkspace, En) => "Create workspace",621 (CreateWorkspace, En) => "Create workspace",
622 (CreateWorkspace, Tr) => "Çalışma alanı oluştur",622 (CreateWorkspace, Tr) => "Çalışma alanı oluştur",
623- (SignInTitle, En) => "Sign in to Izlek",623+ (SignInTitle, En) => "Sign in to İzlek",
624- (SignInTitle, Tr) => "Izlek'e giriş yap",624+ (SignInTitle, Tr) => "İzlek'e giriş yap",
625 (SignInSub, En) => {625 (SignInSub, En) => {
626 "Accounts are made by the admin. If you were invited, use the link you were sent — it is where you choose your password."626 "Accounts are made by the admin. If you were invited, use the link you were sent — it is where you choose your password."
627 }627 }
crates/izlek-web/src/main.rsmodified+1 -1
@@ -16,7 +16,7 @@ async fn main() {
16 // config/izlek.toml is read here, before anything is opened, and written with16 // config/izlek.toml is read here, before anything is opened, and written with
17 // development defaults if it is not there yet. A broken key stops the17 // development defaults if it is not there yet. A broken key stops the
18 // boot with its name in the message: the failure this prevents is not an18 // boot with its name in the message: the failure this prevents is not an
19- // empty database, it is a second Izlek writing a different file while19+ // empty database, it is a second İzlek writing a different file while
20 // everyone believes they share a board.20 // everyone believes they share a board.
21 let config = match izlek_core::Config::load() {21 let config = match izlek_core::Config::load() {
22 Ok(config) => config,22 Ok(config) => config,
crates/izlek-web/src/server.rsmodified+6 -6
@@ -158,7 +158,7 @@ pub fn mail(cx: &Cx) -> Mail {
158 .unwrap_or_else(Mail::silent)158 .unwrap_or_else(Mail::silent)
159 }159 }
160 160
161-/// The application cookie jar, with the attributes every Izlek cookie wants.161+/// The application cookie jar, with the attributes every İzlek cookie wants.
162 fn app_cookies(cx: &Cx) -> impl Cookies {162 fn app_cookies(cx: &Cx) -> impl Cookies {
163 cookies(cx)163 cookies(cx)
164 .default_secure(true)164 .default_secure(true)
@@ -182,7 +182,7 @@ pub fn presented_cookie(cx: &Cx, name: &str) -> Option<String> {
182 }182 }
183 183
184 /// A stable-enough label for the client, for rate limiting. A proxy header is184 /// A stable-enough label for the client, for rate limiting. A proxy header is
185-/// only trusted because Izlek is meant to sit behind one; the address bucket is185+/// only trusted because İzlek is meant to sit behind one; the address bucket is
186 /// the limit that actually protects the Argon2 work either way.186 /// the limit that actually protects the Argon2 work either way.
187 ///187 ///
188 /// topcoat 0.6.2 exposes no peer address; x-forwarded-for or nothing.188 /// topcoat 0.6.2 exposes no peer address; x-forwarded-for or nothing.
@@ -634,7 +634,7 @@ pub fn refusal_of(cx: &Cx, call: &str) -> Option<Refusal> {
634 /// function handler answers with a redirect back to the page it came from, and634 /// function handler answers with a redirect back to the page it came from, and
635 /// the value — the whole refusal — sits in a body nobody will ever look at.635 /// the value — the whole refusal — sits in a body nobody will ever look at.
636 /// The click then looks like nothing happening, which is the worst answer636 /// The click then looks like nothing happening, which is the worst answer
637-/// Izlek can give.637+/// İzlek can give.
638 ///638 ///
639 /// So the refusal is copied onto the `Location`, as `?refusal=<code>&on=<call>`,639 /// So the refusal is copied onto the `Location`, as `?refusal=<code>&on=<call>`,
640 /// and the page renders it from the query. This is one place rather than640 /// and the page renders it from the query. This is one place rather than
@@ -712,7 +712,7 @@ fn carrying(location: &str, code: &str, called: &str) -> Option<String> {
712 }712 }
713 // The Location we are rewriting came from the form post's Referer, and on a713 // The Location we are rewriting came from the form post's Referer, and on a
714 // cross-origin post the Referer is whatever the other site is. Sending the714 // cross-origin post the Referer is whatever the other site is. Sending the
715- // browser back there would make Izlek an open redirect, so the address is715+ // browser back there would make İzlek an open redirect, so the address is
716 // rebuilt from its path and query alone and anything that is not a plain716 // rebuilt from its path and query alone and anything that is not a plain
717 // absolute path is answered with the board.717 // absolute path is answered with the board.
718 let here = same_origin(location);718 let here = same_origin(location);
@@ -785,7 +785,7 @@ mod refusal_redirect_tests {
785 }785 }
786 786
787 // The Referer of a cross-origin post is the other site's address, and it787 // The Referer of a cross-origin post is the other site's address, and it
788- // reaches this function as the Location. Izlek answers on its own ground or788+ // reaches this function as the Location. İzlek answers on its own ground or
789 // not at all.789 // not at all.
790 #[test]790 #[test]
791 fn another_site_cannot_be_redirected_to() {791 fn another_site_cannot_be_redirected_to() {
@@ -804,7 +804,7 @@ mod refusal_redirect_tests {
804 }804 }
805 // An address with a path keeps the path — it is read as a path on this805 // An address with a path keeps the path — it is read as a path on this
806 // site, which is the point: whatever the Referer claimed, the browser806 // site, which is the point: whatever the Referer claimed, the browser
807- // is sent somewhere on Izlek.807+ // is sent somewhere on İzlek.
808 let carried = carrying(808 let carried = carrying(
809 "http://elsewhere.example/steal?task=DZ-01",809 "http://elsewhere.example/steal?task=DZ-01",
810 "cycle",810 "cycle",
crates/izlek-web/src/settings.rsmodified+3 -3
@@ -460,7 +460,7 @@ async fn save_sender(
460 /// went so the answer survives a reload.460 /// went so the answer survives a reload.
461 ///461 ///
462 /// It goes to their own address and nowhere else. A test that could be462 /// It goes to their own address and nowhere else. A test that could be
463-/// pointed at an address somebody typed would be a way to make Izlek mail a463+/// pointed at an address somebody typed would be a way to make İzlek mail a
464 /// stranger on demand, which is a thing worth not building.464 /// stranger on demand, which is a thing worth not building.
465 #[route(POST "/api/send_test_mail")]465 #[route(POST "/api/send_test_mail")]
466 async fn send_test_mail(cx: &Cx) -> Result<(StatusCode, HeaderMap, Vec<u8>)> {466 async fn send_test_mail(cx: &Cx) -> Result<(StatusCode, HeaderMap, Vec<u8>)> {
@@ -924,7 +924,7 @@ async fn sender_now(cx: &Cx, zone: time::UtcOffset) -> Result<Sender> {
924 924
925 /// Whether a typed address is an origin a link can be built on: an http or925 /// Whether a typed address is an origin a link can be built on: an http or
926 /// https scheme, a host after it, and no whitespace anywhere. A path is926 /// https scheme, a host after it, and no whitespace anywhere. A path is
927-/// allowed — Izlek behind `example.com/izlek` is a real deployment — but a927+/// allowed — İzlek behind `example.com/izlek` is a real deployment — but a
928 /// bare host or a mail address is not.928 /// bare host or a mail address is not.
929 fn is_origin(value: &str) -> bool {929 fn is_origin(value: &str) -> bool {
930 let Some(rest) = value930 let Some(rest) = value
@@ -1258,7 +1258,7 @@ async fn settings_page(cx: &Cx) -> Result {
1258 type="text"1258 type="text"
1259 name="from_name"1259 name="from_name"
1260 value=(sender.from_name.clone())1260 value=(sender.from_name.clone())
1261- placeholder="Izlek"1261+ placeholder="İzlek"
1262 >1262 >
1263 </label>1263 </label>
1264 <label class="field">1264 <label class="field">
crates/izlek-web/tests/http.rsmodified+8 -8
@@ -450,7 +450,7 @@ async fn sender_saved(app: &App, admin: &str) -> bool {
450 ("port", "465"),450 ("port", "465"),
451 ("username", "izlek"),451 ("username", "izlek"),
452 ("password", SENDER_PASSWORD),452 ("password", SENDER_PASSWORD),
453- ("from_name", "Izlek"),453+ ("from_name", "İzlek"),
454 ("from_address", "izlek@izlek.sh"),454 ("from_address", "izlek@izlek.sh"),
455 ],455 ],
456 )456 )
@@ -2378,7 +2378,7 @@ async fn only_an_admin_may_write_the_sender() {
2378 ("port", "587"),2378 ("port", "587"),
2379 ("username", "emre"),2379 ("username", "emre"),
2380 ("password", "let-me-in"),2380 ("password", "let-me-in"),
2381- ("from_name", "Izlek"),2381+ ("from_name", "İzlek"),
2382 ("from_address", "emre@izlek.sh"),2382 ("from_address", "emre@izlek.sh"),
2383 ],2383 ],
2384 )2384 )
@@ -2415,7 +2415,7 @@ async fn a_signed_out_browser_may_not_write_the_sender() {
2415 ("port", "587"),2415 ("port", "587"),
2416 ("username", "nobody"),2416 ("username", "nobody"),
2417 ("password", "let-me-in"),2417 ("password", "let-me-in"),
2418- ("from_name", "Izlek"),2418+ ("from_name", "İzlek"),
2419 ("from_address", "nobody@izlek.sh"),2419 ("from_address", "nobody@izlek.sh"),
2420 ],2420 ],
2421 )2421 )
@@ -2449,7 +2449,7 @@ async fn an_edit_with_no_password_typed_keeps_the_stored_one() {
2449 ("port", "587"),2449 ("port", "587"),
2450 ("username", "izlek"),2450 ("username", "izlek"),
2451 ("password", ""),2451 ("password", ""),
2452- ("from_name", "Izlek"),2452+ ("from_name", "İzlek"),
2453 ("from_address", "izlek@izlek.sh"),2453 ("from_address", "izlek@izlek.sh"),
2454 ],2454 ],
2455 )2455 )
@@ -2486,7 +2486,7 @@ async fn a_first_sender_with_no_password_is_refused_and_says_why() {
2486 ("port", "587"),2486 ("port", "587"),
2487 ("username", "izlek"),2487 ("username", "izlek"),
2488 ("password", ""),2488 ("password", ""),
2489- ("from_name", "Izlek"),2489+ ("from_name", "İzlek"),
2490 ("from_address", "izlek@izlek.sh"),2490 ("from_address", "izlek@izlek.sh"),
2491 ],2491 ],
2492 )2492 )
@@ -2545,7 +2545,7 @@ async fn a_sender_field_that_cannot_work_is_refused_by_name() {
2545 ("port", "587"),2545 ("port", "587"),
2546 ("username", "izlek"),2546 ("username", "izlek"),
2547 ("password", SENDER_PASSWORD),2547 ("password", SENDER_PASSWORD),
2548- ("from_name", "Izlek"),2548+ ("from_name", "İzlek"),
2549 ("from_address", "izlek@izlek.sh"),2549 ("from_address", "izlek@izlek.sh"),
2550 ];2550 ];
2551 for (key, value) in *overrides {2551 for (key, value) in *overrides {
@@ -6328,7 +6328,7 @@ async fn a_member_who_may_only_read_still_gets_the_tab_strip() {
6328 );6328 );
6329 }6329 }
6330 6330
6331-/// A spreadsheet has no browser element behind it: Izlek reads the workbook6331+/// A spreadsheet has no browser element behind it: İzlek reads the workbook
6332 /// itself and lays the sheet out as a table, tab strip and all. The upload is6332 /// itself and lays the sheet out as a table, tab strip and all. The upload is
6333 /// a real xlsx, so this covers the sniffer, the reader and the view together.6333 /// a real xlsx, so this covers the sniffer, the reader and the view together.
6334 #[tokio::test]6334 #[tokio::test]
@@ -6497,7 +6497,7 @@ async fn an_admin_sets_the_address_mail_links_point_at() {
6497 ("port", "465"),6497 ("port", "465"),
6498 ("username", "izlek"),6498 ("username", "izlek"),
6499 ("password", SENDER_PASSWORD),6499 ("password", SENDER_PASSWORD),
6500- ("from_name", "Izlek"),6500+ ("from_name", "İzlek"),
6501 ("from_address", "izlek@izlek.sh"),6501 ("from_address", "izlek@izlek.sh"),
6502 ("public_url", public_url),6502 ("public_url", public_url),
6503 ],6503 ],