about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-01-02 12:47:48 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-01-02 12:49:31 -0800
commit762b77f68b57d28acb891364b57a7593759ac759 (patch)
treeb21785ecfb4fec3c901f3716a2845feb15e9faa0 /src
parent68594501829fec9c49602cf2a4348781666ea5d2 (diff)
downloadteliva-762b77f68b57d28acb891364b57a7593759ac759.tar.gz
sandbox: tweaks to warning copy
Diffstat (limited to 'src')
-rw-r--r--src/teliva.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/teliva.c b/src/teliva.c
index 7cb7058..5c4bb84 100644
--- a/src/teliva.c
+++ b/src/teliva.c
@@ -1041,7 +1041,8 @@ static void permissions_menu() {
 static void render_permissions_screen(lua_State* L) {
   clear();
   attrset(A_BOLD);
-  mvaddstr(1, 0, "Permissions");
+  mvaddstr(1, 20, "😈 When can apps perform...? 😈");
+//?   mvaddstr(1, 30, "😈 ⛧  When can apps perform...? ⛧ 😈");  // most fonts don't have pentagrams
   attrset(A_NORMAL);
   int file_colors = file_operations_allowed ? COLOR_PAIR_WARN : COLOR_PAIR_SAFE;
   int net_colors = net_operations_allowed ? COLOR_PAIR_WARN : COLOR_PAIR_SAFE;
@@ -1054,10 +1055,10 @@ static void render_permissions_screen(lua_State* L) {
   attron(A_REVERSE);
   switch (file_colors) {
     case COLOR_PAIR_SAFE:
-      mvaddstr(3, 30, " forbidden (safe)              ");
+      mvaddstr(3, 30, " never                         ");
       break;
     case COLOR_PAIR_WARN:
-      mvaddstr(3, 30, " allowed (more risky)          ");
+      mvaddstr(3, 30, " always                        ");
       break;
     case COLOR_PAIR_RISK:
       mvaddstr(3, 30, "                               ");
@@ -1073,10 +1074,10 @@ static void render_permissions_screen(lua_State* L) {
   attron(A_REVERSE);
   switch (net_colors) {
     case COLOR_PAIR_SAFE:
-      mvaddstr(5, 30, " forbidden (safe)              ");
+      mvaddstr(5, 30, " never                         ");
       break;
     case COLOR_PAIR_WARN:
-      mvaddstr(5, 30, " allowed (more risky)          ");
+      mvaddstr(5, 30, " always                        ");
       break;
     case COLOR_PAIR_RISK:
       mvaddstr(5, 30, "                               ");
@@ -1089,8 +1090,8 @@ static void render_permissions_screen(lua_State* L) {
 
   if (file_operations_allowed && net_operations_allowed) {
     attron(COLOR_PAIR(COLOR_PAIR_RISK));
-    mvaddstr(8, 5, "When both file and network operations are permitted, Teliva can't tell if this app does something sketchy.");
-    mvaddstr(9, 5, "You're relying either on your understanding of its code, or your trust of its author(s).");
+    mvaddstr(8, 5, "⚠️  Teliva can't protect you if this app does something sketchy. Consider choosing stronger conditions. ⚠️");
+//?     mvaddstr(8, 5, "🦮 ⚖ 🙈 Teliva can't tell how much it's protecting you. Consider simplifying the conditions.");
     attroff(COLOR_PAIR(COLOR_PAIR_RISK));
   }
   permissions_menu();
01 16:38:41 +0100 draw a list of bookmarks when pressing ` or '' href='/akspecs/ranger/commit/TODO?h=v1.1.0&id=08f21ae5ad8d92d3f1819a95db3e5bdce603f4da'>08f21ae5 ^
4b826595 ^
757e1f55 ^
277ecc9e ^
9983328c ^
33cb688a ^
a1274aba ^
b42eb058 ^
b13518af ^
316ff5a9 ^
fc486c60 ^
b4934e42 ^
2c1d2db0 ^
291ca616 ^
50845f37 ^
039c03ef ^
af6658b3 ^
efe2d7a3 ^
f0df3fa5 ^
a986e2bd ^

3fe38754 ^

6a8d5d23 ^
aad61455 ^
7a268c8b ^

efdc7b16 ^
1f62d7db ^
4be8b401 ^



d955e3f0 ^
75013dc7 ^
67bb838c ^
a808a661 ^
bba8d293 ^
2a64495f ^
5e449699 ^
fc486c60 ^
c5450bd1 ^
7b04e507 ^
87db0130 ^
dd4a4145 ^
8f2f1767 ^
db1721dd ^
aea5cf92 ^
b624bd94 ^
69d1220f ^
bd8ef764 ^
9207e83c ^
6f43de0a ^




fca1fc4f ^
f70ee6b2 ^
0db4c9b2 ^
b2d63ef5 ^
291ca616 ^
d994d0d6 ^
01c89bb5 ^
66c5bb93 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86