ayadn 1.8.2 → 2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/CHANGELOG.md +73 -52
- data/README.md +17 -3
- data/ayadn.gemspec +3 -4
- data/doc/01-index.md +6 -5
- data/doc/02-install.md +23 -1
- data/doc/03-first-steps.md +22 -28
- data/doc/04-options.md +1 -1
- data/doc/05-streams.md +29 -9
- data/doc/06-post.md +13 -5
- data/doc/07-actions.md +63 -1
- data/doc/08-listings.md +112 -4
- data/doc/09-accounts.md +17 -3
- data/doc/10-nicerank.md +5 -5
- data/doc/11-blacklist.md +8 -14
- data/doc/12-alias.md +1 -13
- data/doc/14-set.md +8 -110
- data/doc/15-nowplaying.md +16 -4
- data/doc/18-contact.md +14 -13
- data/doc/19-examples.md +2 -0
- data/lib/ayadn/action.rb +322 -183
- data/lib/ayadn/alias.rb +17 -45
- data/lib/ayadn/annotations.rb +1 -1
- data/lib/ayadn/api.rb +7 -8
- data/lib/ayadn/app.rb +99 -12
- data/lib/ayadn/authorize.rb +92 -57
- data/lib/ayadn/blacklist.rb +52 -62
- data/lib/ayadn/check.rb +81 -74
- data/lib/ayadn/cnx.rb +77 -26
- data/lib/ayadn/databases.rb +890 -105
- data/lib/ayadn/debug.rb +30 -89
- data/lib/ayadn/descriptions.rb +876 -329
- data/lib/ayadn/endpoints.rb +2 -2
- data/lib/ayadn/errors.rb +9 -9
- data/lib/ayadn/extend.rb +8 -1
- data/lib/ayadn/fileops.rb +10 -8
- data/lib/ayadn/mark.rb +79 -56
- data/lib/ayadn/migration.rb +427 -0
- data/lib/ayadn/nicerank.rb +74 -72
- data/lib/ayadn/nowplaying.rb +123 -60
- data/lib/ayadn/nowwatching.rb +26 -10
- data/lib/ayadn/pinboard.rb +12 -7
- data/lib/ayadn/post.rb +40 -37
- data/lib/ayadn/profile.rb +5 -2
- data/lib/ayadn/scroll.rb +20 -5
- data/lib/ayadn/search.rb +30 -22
- data/lib/ayadn/set.rb +146 -50
- data/lib/ayadn/settings.rb +66 -67
- data/lib/ayadn/status.rb +459 -234
- data/lib/ayadn/stream.rb +80 -46
- data/lib/ayadn/switch.rb +51 -47
- data/lib/ayadn/tvshow.rb +47 -15
- data/lib/ayadn/version.rb +1 -1
- data/lib/ayadn/view.rb +119 -60
- data/lib/ayadn/workers.rb +144 -92
- data/lib/ayadn.rb +7 -8
- data/spec/mock/ayadn/accounts.sqlite +0 -0
- data/spec/mock/ayadn.sqlite +0 -0
- data/spec/unit/annotations_spec.rb +12 -13
- data/spec/unit/api_spec.rb +3 -4
- data/spec/unit/blacklistworkers_spec.rb +18 -23
- data/spec/unit/databases_spec.rb +51 -36
- data/spec/unit/endpoints_spec.rb +5 -2
- data/spec/unit/extend_spec.rb +24 -0
- data/spec/unit/nicerank_spec.rb +13 -13
- data/spec/unit/post_spec.rb +47 -36
- data/spec/unit/set_spec.rb +67 -96
- data/spec/unit/view_spec.rb +12 -6
- data/spec/unit/workers_spec.rb +38 -12
- data/tags +1285 -0
- metadata +29 -39
- data/spec/mock/aliases.db +0 -0
- data/spec/mock/blacklist.db +0 -0
- data/spec/mock/bookmarks.db +0 -0
- data/spec/mock/channels.db +0 -0
- data/spec/mock/index.db +0 -0
- data/spec/mock/nicerank.db +0 -0
- data/spec/mock/pagination.db +0 -0
- data/spec/mock/users.db +0 -0
- data/spec/unit/status_spec.rb +0 -9
data/doc/05-streams.md
CHANGED
@@ -8,7 +8,6 @@ This is also called the 'Unified stream': it regroups the posts of people you fo
|
|
8
8
|
|
9
9
|
`ayadn -tl`
|
10
10
|
|
11
|
-
|
12
11
|
## AVAILABLE OPTIONS
|
13
12
|
|
14
13
|
### SCROLL
|
@@ -17,11 +16,11 @@ Scroll your timeline with:
|
|
17
16
|
|
18
17
|
`ayadn timeline --scroll`
|
19
18
|
|
20
|
-
`ayadn -tl -s`
|
19
|
+
`ayadn -tl -s`
|
21
20
|
|
22
21
|
#### SCROLL REFRESH
|
23
22
|
|
24
|
-
*Read this if you want to launch several scroll streams at once*
|
23
|
+
*Read this only if you want to launch several scroll streams at once*
|
25
24
|
|
26
25
|
Ayadn pulls the stream every 3 seconds by default. It means you can launch up to 3 scroll streams at a time _per account_ if you want.
|
27
26
|
|
@@ -63,7 +62,11 @@ Example:
|
|
63
62
|
|
64
63
|
`ayadn -R 33`
|
65
64
|
|
66
|
-
if 33 is the number of the indexed post you want to reply to.
|
65
|
+
if 33 is the number of the indexed post you want to reply to.
|
66
|
+
|
67
|
+
Note: since Ayadn 2.0, posts index resolution is activated by default for posts ids from 1 to 200. Add option `--force` to ignore index and retrieve the actual old post if needed.
|
68
|
+
|
69
|
+
This absolute range from 1 to 200 for indexed posts exists because indexed posts aren't available in scroll views, so an index will never be greater than 200 (which is the ADN number of posts per request limit).
|
67
70
|
|
68
71
|
### NEW
|
69
72
|
|
@@ -117,13 +120,30 @@ Differences will occur due to ADN policy:
|
|
117
120
|
|
118
121
|
Removes the line-breaks when possible, and forces the view to be "compact".
|
119
122
|
|
120
|
-
|
123
|
+
Option is `-k` (or `--compact`):
|
124
|
+
|
125
|
+
`ayadn global --scroll --compact`
|
126
|
+
|
127
|
+
`ayadn timeline --index --count=200 --compact`
|
128
|
+
|
129
|
+
`ayadn userposts me --name --compact`
|
130
|
+
|
131
|
+
or
|
132
|
+
|
133
|
+
`ayadn -gl -s -k`
|
134
|
+
|
135
|
+
`ayadn -tl -i -c200 -k`
|
136
|
+
|
137
|
+
`ayadn -up me -n -k`
|
138
|
+
|
139
|
+
*Works with all compatible views, streams and lists.*
|
140
|
+
|
141
|
+
Set it permanently with:
|
121
142
|
|
122
143
|
`ayadn set timeline compact true`
|
123
144
|
|
124
145
|
You may want to change colors to create visual marks between posts if you choose the compact view, i.e. putting the all header in the same color (post id, username, name, etc).
|
125
146
|
|
126
|
-
|
127
147
|
# GLOBAL
|
128
148
|
|
129
149
|
Display the 'Global stream'.
|
@@ -227,9 +247,9 @@ You can pass an option to avoid this for the time of the command:
|
|
227
247
|
|
228
248
|
Or you can set it off permanently:
|
229
249
|
|
230
|
-
`ayadn set marker
|
250
|
+
`ayadn set marker messages false`
|
231
251
|
|
232
|
-
Since version 1.7.7, Ayadn shows the full oembed links in messages if any. As these links can be quite long and complex, you can remove them from the view if you want with `ayadn set
|
252
|
+
Since version 1.7.7, Ayadn shows the full oembed links in messages if any. As these links can be quite long and complex, you can remove them from the view if you want with `ayadn set channels links false`.
|
233
253
|
|
234
254
|
# UNREAD MESSAGES
|
235
255
|
|
@@ -247,7 +267,7 @@ You can pass an option to avoid this for the time of the command:
|
|
247
267
|
|
248
268
|
Or you can set it off permanently:
|
249
269
|
|
250
|
-
`ayadn set marker
|
270
|
+
`ayadn set marker messages false`
|
251
271
|
|
252
272
|
# WHATSTARRED
|
253
273
|
|
data/doc/06-post.md
CHANGED
@@ -14,7 +14,7 @@ You have to put your text between single quotes if you're using punctuation:
|
|
14
14
|
|
15
15
|
*But remember you can't use any quote character inside the quotes...*
|
16
16
|
|
17
|
-
**So you should rather use
|
17
|
+
**So you should rather use the _write_ method for posting.**
|
18
18
|
|
19
19
|
# WRITE
|
20
20
|
|
@@ -40,8 +40,6 @@ Just type a @username at the beginning of your post if you want to mention a spe
|
|
40
40
|
|
41
41
|
Auto post every line of input.
|
42
42
|
|
43
|
-
The is the funniest way to post to ADN! :)
|
44
|
-
|
45
43
|
`ayadn auto`
|
46
44
|
|
47
45
|
In this mode, each line you type (each time you hit ENTER!) is automatically posted to ADN.
|
@@ -52,6 +50,8 @@ Hit CTRL+C to exit this mode at any moment.
|
|
52
50
|
|
53
51
|
# REPLY
|
54
52
|
|
53
|
+
## CLASSIC
|
54
|
+
|
55
55
|
Reply to a specific post.
|
56
56
|
|
57
57
|
- You can reply by specifying the post id:
|
@@ -64,10 +64,16 @@ Ayadn will then show you the *write* prompt.
|
|
64
64
|
|
65
65
|
If you reply to a post containing multiple mentions, your text will be inserted between the leading mention and the other ones.
|
66
66
|
|
67
|
+
## INDEXED
|
68
|
+
|
67
69
|
- You can also reply to the *index* of the post instead of its *id* _if you used the '--index' or '-i' option_ when previously viewing a stream:
|
68
70
|
|
69
71
|
`ayadn -R 3`
|
70
72
|
|
73
|
+
Note: since Ayadn 2.0, posts index resolution is activated by default for posts ids from 1 to 200. Add option `--force` to ignore index and retrieve the actual old post if needed.
|
74
|
+
|
75
|
+
## REDIRECT
|
76
|
+
|
71
77
|
If you reply to a reposted post, Ayadn will reply to the original post, complying with the ADN guidelines.
|
72
78
|
|
73
79
|
However, if needed, you can reply to the reposted post with the `--noredirect` option:
|
@@ -76,6 +82,8 @@ However, if needed, you can reply to the reposted post with the `--noredirect` o
|
|
76
82
|
|
77
83
|
`ayadn -R -n 23344556`
|
78
84
|
|
85
|
+
*Note: these two last concepts, "indexed" and "redirect" are also activated by default for all posts commands (repost, star, delete, etc).*
|
86
|
+
|
79
87
|
|
80
88
|
# PM (PRIVATE MESSAGE)
|
81
89
|
|
@@ -93,7 +101,7 @@ You can pass an option to avoid this for the time of the command:
|
|
93
101
|
|
94
102
|
Or even invert this behaviour permanently with `set`:
|
95
103
|
|
96
|
-
`ayadn set marker
|
104
|
+
`ayadn set marker messages false`
|
97
105
|
|
98
106
|
# SEND
|
99
107
|
|
@@ -113,7 +121,7 @@ You can pass an option to avoid this for the time of the command:
|
|
113
121
|
|
114
122
|
Or even invert this behaviour permanently with `set`:
|
115
123
|
|
116
|
-
`ayadn set marker
|
124
|
+
`ayadn set marker messages false`
|
117
125
|
|
118
126
|
If you've already created an [alias](#alias) for the channel, you can post to it with:
|
119
127
|
|
data/doc/07-actions.md
CHANGED
@@ -6,6 +6,24 @@ Delete a post.
|
|
6
6
|
|
7
7
|
`ayadn -D 23365251`
|
8
8
|
|
9
|
+
Accepts several post ids:
|
10
|
+
|
11
|
+
`ayadn -D 23365251 23365252 23365253`
|
12
|
+
|
13
|
+
*Also works with indexed posts (as do all posts commands like repost, star, etc since version 2.0).*
|
14
|
+
|
15
|
+
Example:
|
16
|
+
|
17
|
+
`ayadn -up -i me`
|
18
|
+
|
19
|
+
then
|
20
|
+
|
21
|
+
`ayadn -D 03 12 42`
|
22
|
+
|
23
|
+
Since Ayadn 2.0, posts index resolution is activated by default for posts ids from 1 to 200. Add option `--force` to ignore index and retrieve the actual old post if needed.
|
24
|
+
|
25
|
+
*Note: this "indexed" concept is also active by default for all posts commands (repost, star, reply, etc).*
|
26
|
+
|
9
27
|
# DELETE_M
|
10
28
|
|
11
29
|
Delete a private message.
|
@@ -18,6 +36,10 @@ You have to specify channel id (or alias) then message number.
|
|
18
36
|
|
19
37
|
`ayadn -DM my_alias 3365251`
|
20
38
|
|
39
|
+
Accepts several message ids:
|
40
|
+
|
41
|
+
`ayadn -DM my_alias 23365251 23365252 23365253`
|
42
|
+
|
21
43
|
# REPOST
|
22
44
|
|
23
45
|
Repost a post.
|
@@ -26,6 +48,10 @@ Repost a post.
|
|
26
48
|
|
27
49
|
`ayadn -O 23365251`
|
28
50
|
|
51
|
+
Accepts several post ids:
|
52
|
+
|
53
|
+
`ayadn -O 23365251 23365252 23365253`
|
54
|
+
|
29
55
|
# UNREPOST
|
30
56
|
|
31
57
|
Unrepost a post.
|
@@ -34,6 +60,10 @@ Unrepost a post.
|
|
34
60
|
|
35
61
|
`ayadn -UR 23365251`
|
36
62
|
|
63
|
+
Accepts several post ids:
|
64
|
+
|
65
|
+
`ayadn -UR 23365251 23365252 23365253`
|
66
|
+
|
37
67
|
# STAR
|
38
68
|
|
39
69
|
Star a post.
|
@@ -42,6 +72,10 @@ Star a post.
|
|
42
72
|
|
43
73
|
`ayadn -ST 23365251`
|
44
74
|
|
75
|
+
Accepts several post ids:
|
76
|
+
|
77
|
+
`ayadn -ST 23365251 23365252 23365253`
|
78
|
+
|
45
79
|
# UNSTAR
|
46
80
|
|
47
81
|
Unstar a post.
|
@@ -50,6 +84,10 @@ Unstar a post.
|
|
50
84
|
|
51
85
|
`ayadn -US 23365251`
|
52
86
|
|
87
|
+
Accepts several post ids:
|
88
|
+
|
89
|
+
`ayadn -US 23365251 23365252 23365253`
|
90
|
+
|
53
91
|
# FOLLOW
|
54
92
|
|
55
93
|
Follow a user.
|
@@ -58,6 +96,10 @@ Follow a user.
|
|
58
96
|
|
59
97
|
`ayadn -FO @ericd`
|
60
98
|
|
99
|
+
Accepts several users:
|
100
|
+
|
101
|
+
`ayadn -FO @ericd @ayadn @adnapi`
|
102
|
+
|
61
103
|
# UNFOLLOW
|
62
104
|
|
63
105
|
Unfollow a user.
|
@@ -66,6 +108,10 @@ Unfollow a user.
|
|
66
108
|
|
67
109
|
`ayadn -UF @ericd`
|
68
110
|
|
111
|
+
Accepts several users:
|
112
|
+
|
113
|
+
`ayadn -UF @ericd @ayadn @adnapi`
|
114
|
+
|
69
115
|
# MUTE
|
70
116
|
|
71
117
|
Mute a user.
|
@@ -74,6 +120,10 @@ Mute a user.
|
|
74
120
|
|
75
121
|
`ayadn -MU @spammer`
|
76
122
|
|
123
|
+
Accepts several users:
|
124
|
+
|
125
|
+
`ayadn -MU @spammer @thickhead`
|
126
|
+
|
77
127
|
# UNMUTE
|
78
128
|
|
79
129
|
Unmute a user.
|
@@ -82,6 +132,10 @@ Unmute a user.
|
|
82
132
|
|
83
133
|
`ayadn -UM @spammer`
|
84
134
|
|
135
|
+
Accepts several users:
|
136
|
+
|
137
|
+
`ayadn -UM @spammer @thickhead`
|
138
|
+
|
85
139
|
# BLOCK
|
86
140
|
|
87
141
|
Block a user (same as mute but also prevents the blocked user to follow you).
|
@@ -90,6 +144,10 @@ Block a user (same as mute but also prevents the blocked user to follow you).
|
|
90
144
|
|
91
145
|
`ayadn -BL @spammer`
|
92
146
|
|
147
|
+
Accepts several users:
|
148
|
+
|
149
|
+
`ayadn -BL @spammer @thickhead`
|
150
|
+
|
93
151
|
# UNBLOCK
|
94
152
|
|
95
153
|
Unblock a user.
|
@@ -98,9 +156,13 @@ Unblock a user.
|
|
98
156
|
|
99
157
|
`ayadn -UB @spammer`
|
100
158
|
|
159
|
+
Accepts several users:
|
160
|
+
|
161
|
+
`ayadn -UB @spammer @thickhead`
|
162
|
+
|
101
163
|
# DOWNLOAD
|
102
164
|
|
103
|
-
Download a file from your App.net storage (any file posted with
|
165
|
+
Download a file from your App.net storage (any file posted with any ADN client).
|
104
166
|
|
105
167
|
`ayadn download 23344556`
|
106
168
|
|
data/doc/08-listings.md
CHANGED
@@ -10,6 +10,32 @@ You can see your own list by using *me* instead of *@username*:
|
|
10
10
|
|
11
11
|
`ayadn -fwr me`
|
12
12
|
|
13
|
+
Sort the list by username:
|
14
|
+
|
15
|
+
`ayadn -fwr -u me`
|
16
|
+
|
17
|
+
Sort the list by name:
|
18
|
+
|
19
|
+
`ayadn -fwr -n me`
|
20
|
+
|
21
|
+
Sort the list by posts/day:
|
22
|
+
|
23
|
+
`ayadn -fwr -d me`
|
24
|
+
|
25
|
+
Sort the list by total posts:
|
26
|
+
|
27
|
+
`ayadn -fwr -p me`
|
28
|
+
|
29
|
+
Reverse the list order:
|
30
|
+
|
31
|
+
`ayadn -fwr -r me`
|
32
|
+
|
33
|
+
`ayadn -fwr -u -r me`
|
34
|
+
|
35
|
+
Force compact view (works with all compatible listing views):
|
36
|
+
|
37
|
+
`ayadn -fwr -k me`
|
38
|
+
|
13
39
|
# FOLLOWINGS
|
14
40
|
|
15
41
|
List the users a user is following.
|
@@ -22,6 +48,28 @@ You can see your own list by using *me* instead of *@username*:
|
|
22
48
|
|
23
49
|
`ayadn -fwg me`
|
24
50
|
|
51
|
+
Sort the list by username:
|
52
|
+
|
53
|
+
`ayadn -fwg -u me`
|
54
|
+
|
55
|
+
Sort the list by name:
|
56
|
+
|
57
|
+
`ayadn -fwg -n me`
|
58
|
+
|
59
|
+
Sort the list by posts/day:
|
60
|
+
|
61
|
+
`ayadn -fwg -d me`
|
62
|
+
|
63
|
+
Sort the list by total posts:
|
64
|
+
|
65
|
+
`ayadn -fwg -p me`
|
66
|
+
|
67
|
+
Reverse the list order:
|
68
|
+
|
69
|
+
`ayadn -fwg -r me`
|
70
|
+
|
71
|
+
`ayadn -fwg -u -r me`
|
72
|
+
|
25
73
|
# CHANNELS
|
26
74
|
|
27
75
|
List all your active App.net channels.
|
@@ -36,11 +84,21 @@ Retrieve a unique channel, or specific channel(s), with option `--id`:
|
|
36
84
|
|
37
85
|
`ayadn -ch --id 55123 34678 988776`
|
38
86
|
|
39
|
-
|
87
|
+
Retrieve only your broadcast channel(s):
|
88
|
+
|
89
|
+
`ayadn -ch --broadcasts`
|
90
|
+
|
91
|
+
Retrieve only your private messages channel(s):
|
92
|
+
|
93
|
+
`ayadn -ch --messages`
|
40
94
|
|
41
|
-
|
95
|
+
Retrieve only your patter room channel(s):
|
42
96
|
|
43
|
-
`ayadn -ch
|
97
|
+
`ayadn -ch --patter`
|
98
|
+
|
99
|
+
Retrieve all channel(s) except broadcasts, messages or patter:
|
100
|
+
|
101
|
+
`ayadn -ch --other`
|
44
102
|
|
45
103
|
# INTERACTIONS
|
46
104
|
|
@@ -66,6 +124,28 @@ List the users you muted.
|
|
66
124
|
|
67
125
|
`ayadn -mtd`
|
68
126
|
|
127
|
+
Sort the list by username:
|
128
|
+
|
129
|
+
`ayadn -mtd -u`
|
130
|
+
|
131
|
+
Sort the list by name:
|
132
|
+
|
133
|
+
`ayadn -mtd -n`
|
134
|
+
|
135
|
+
Sort the list by posts/day:
|
136
|
+
|
137
|
+
`ayadn -mtd -d`
|
138
|
+
|
139
|
+
Sort the list by total posts:
|
140
|
+
|
141
|
+
`ayadn -mtd -p`
|
142
|
+
|
143
|
+
Reverse the list order:
|
144
|
+
|
145
|
+
`ayadn -mtd -r`
|
146
|
+
|
147
|
+
`ayadn -mtd -u -r`
|
148
|
+
|
69
149
|
# BLOCKED
|
70
150
|
|
71
151
|
List the users you blocked.
|
@@ -74,6 +154,28 @@ List the users you blocked.
|
|
74
154
|
|
75
155
|
`ayadn -bkd`
|
76
156
|
|
157
|
+
Sort the list by username:
|
158
|
+
|
159
|
+
`ayadn -bkd -u`
|
160
|
+
|
161
|
+
Sort the list by name:
|
162
|
+
|
163
|
+
`ayadn -bkd -n`
|
164
|
+
|
165
|
+
Sort the list by posts/day:
|
166
|
+
|
167
|
+
`ayadn -bkd -d`
|
168
|
+
|
169
|
+
Sort the list by total posts:
|
170
|
+
|
171
|
+
`ayadn -bkd -p`
|
172
|
+
|
173
|
+
Reverse the list order:
|
174
|
+
|
175
|
+
`ayadn -bkd -r`
|
176
|
+
|
177
|
+
`ayadn -bkd -u -r`
|
178
|
+
|
77
179
|
# SETTINGS
|
78
180
|
|
79
181
|
List current Ayadn settings.
|
@@ -100,7 +202,7 @@ List them all:
|
|
100
202
|
|
101
203
|
### LIST
|
102
204
|
|
103
|
-
You can reverse the default
|
205
|
+
You can permanently reverse the ADN default list order with a `set` command:
|
104
206
|
|
105
207
|
`ayadn set formats list reverse false`
|
106
208
|
|
@@ -113,3 +215,9 @@ You can change the width of the lists table if the default size doesn't fit well
|
|
113
215
|
`ayadn set formats table width 80`
|
114
216
|
|
115
217
|
(min: 60, max: 90, default: 75)
|
218
|
+
|
219
|
+
And also enable/disable the tables borders:
|
220
|
+
|
221
|
+
`ayadn set formats table borders false`
|
222
|
+
|
223
|
+
(default: true)
|
data/doc/09-accounts.md
CHANGED
@@ -4,6 +4,8 @@ Authorize Ayadn for a specific user account.
|
|
4
4
|
|
5
5
|
`ayadn authorize`
|
6
6
|
|
7
|
+
or
|
8
|
+
|
7
9
|
`ayadn -auth`
|
8
10
|
|
9
11
|
Ayadn will give you a link leading to the official App.net registration page.
|
@@ -12,22 +14,34 @@ After your successful login, you will be redirected to the Ayadn authorization p
|
|
12
14
|
|
13
15
|
Copy the code (token) you will find there and paste it into Ayadn: a new user will be created and automatically logged in.
|
14
16
|
|
17
|
+
*Note: authorizing an already authorized user updates the old content with the new content: token, name, etc.*
|
18
|
+
|
15
19
|
# SWITCH
|
16
20
|
|
17
21
|
Switch between your authorized accounts.
|
18
22
|
|
19
23
|
`ayadn switch @ericd`
|
20
24
|
|
21
|
-
`ayadn switch
|
25
|
+
`ayadn switch ericd`
|
22
26
|
|
23
27
|
Alternative syntax:
|
24
28
|
|
25
29
|
`ayadn -@ ericd`
|
26
30
|
|
27
|
-
`ayadn -@ mysecretaccount`
|
28
|
-
|
29
31
|
List your authorized accounts:
|
30
32
|
|
31
33
|
`ayadn switch -l`
|
32
34
|
|
33
35
|
`ayadn -@ -l`
|
36
|
+
|
37
|
+
# UNAUTHORIZE
|
38
|
+
|
39
|
+
Unauthorize an Ayadn user account.
|
40
|
+
|
41
|
+
`ayadn unauthorize @ericd`
|
42
|
+
|
43
|
+
`ayadn -UA ericd`
|
44
|
+
|
45
|
+
You can specify the `--delete` (`-D`) option to force delete the account folders:
|
46
|
+
|
47
|
+
`ayadn -UA -D @ericd`
|
data/doc/10-nicerank.md
CHANGED
@@ -26,19 +26,19 @@ An idea of the scale:
|
|
26
26
|
|
27
27
|
- A regular user will always be > 2
|
28
28
|
|
29
|
-
-
|
30
|
-
|
31
|
-
- Very 'social' users can be > 4
|
29
|
+
- Very active and 'social' users will be > 3
|
32
30
|
|
33
31
|
*Again, this is not a popularity ratio: far from it. It only serves as a filter for bots and spam.*
|
34
32
|
|
33
|
+
In addition to this manual rank filter, NiceRank and Ayadn have other automatic filtering based upon the information publicly available about the users.
|
34
|
+
|
35
35
|
## Threshold
|
36
36
|
|
37
37
|
Set the NiceRank threshold.
|
38
38
|
|
39
39
|
You can use an integer or a float (only one decimal).
|
40
40
|
|
41
|
-
Any user with a NiceRank smaller than this value will be ignored.
|
41
|
+
Any user with a NiceRank smaller than this value will be ignored in the Global stream.
|
42
42
|
|
43
43
|
`ayadn set nicerank threshold 2.5`
|
44
44
|
|
@@ -52,4 +52,4 @@ NiceRank is enabled by default on new Ayadn installations, but can be disabled i
|
|
52
52
|
|
53
53
|
`ayadn set nicerank filter false`
|
54
54
|
|
55
|
-
`
|
55
|
+
*Note: the other field, `unranked`, can be activated to ignore the users who haven't been analysed by NiceRank yet. It's more an experimental feature, and it's actually recommended to always let it to false.*
|
data/doc/11-blacklist.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# BLACKLIST
|
2
2
|
|
3
|
-
The blacklist is a list of users, clients and hashtags that you don't want to
|
3
|
+
The blacklist is a list of users, clients and hashtags that you don't want to be displayed anywhere in Ayadn.
|
4
4
|
|
5
|
-
Available subcommands: add, remove,
|
5
|
+
Available subcommands: add, remove, list.
|
6
6
|
|
7
|
-
This is different from the 'mute a user' feature of the App.net API: blacklist works locally and is specific to each account.
|
7
|
+
This is different from the 'mute a user' feature of the App.net API: blacklist works locally and is specific to each Ayadn account.
|
8
8
|
|
9
9
|
Blacklist a client (example: IFTTT) and posts that are posted with this client won't appear in the streams.
|
10
10
|
|
@@ -12,9 +12,11 @@ This is a way of creating "bot-free" streams: the more bots you add to this list
|
|
12
12
|
|
13
13
|
Blacklist a hashtag and you will free yourself from this annoying trend you can't stand.
|
14
14
|
|
15
|
-
Blacklist a user and
|
15
|
+
Blacklist a user and, well, never see this user again.
|
16
16
|
|
17
|
-
|
17
|
+
Blacklist a mention and you won't even see posts by other users mentioning the user you blacklisted!
|
18
|
+
|
19
|
+
*Since Ayadn 2.0, adding and removing to/from the blacklist takes immediately effect and is shared with other Ayadn instances launched by the same user.*
|
18
20
|
|
19
21
|
## ADD
|
20
22
|
|
@@ -70,15 +72,7 @@ List all items in your blacklist.
|
|
70
72
|
|
71
73
|
`ayadn blacklist list`
|
72
74
|
|
73
|
-
`ayadn -K list`
|
74
|
-
|
75
|
-
## IMPORT
|
76
|
-
|
77
|
-
Import a blacklist database in the current account.
|
78
|
-
|
79
|
-
`ayadn blacklist import '/Users/blah/backups/blacklist.db'`
|
80
|
-
|
81
|
-
`ayadn -K import '/Users/blah/backups/blacklist.db'`
|
75
|
+
`ayadn -K list`
|
82
76
|
|
83
77
|
## MULTIPLE TARGETS
|
84
78
|
|
data/doc/12-alias.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# ALIAS
|
2
2
|
|
3
|
-
Aliases are names you give to channels
|
3
|
+
Aliases are names you give to channels to access them more easily in Ayadn.
|
4
4
|
|
5
5
|
Available subcommands: create, delete, list, import.
|
6
6
|
|
@@ -14,10 +14,6 @@ you can create an alias:
|
|
14
14
|
|
15
15
|
`ayadn alias create 46216 pasteapp`
|
16
16
|
|
17
|
-
or
|
18
|
-
|
19
|
-
`ayadn -A create 46216 pasteapp`
|
20
|
-
|
21
17
|
Then you can access this channel with
|
22
18
|
|
23
19
|
`ayadn -ms pasteapp`
|
@@ -47,11 +43,3 @@ List all your channel aliases.
|
|
47
43
|
`ayadn alias list`
|
48
44
|
|
49
45
|
`ayadn -A list`
|
50
|
-
|
51
|
-
## IMPORT
|
52
|
-
|
53
|
-
Import a previously backed-up list of aliases.
|
54
|
-
|
55
|
-
`ayadn alias import '/Users/blah/backups/aliases.db'`
|
56
|
-
|
57
|
-
`ayadn -A import '/Users/blah/backups/aliases.db'`
|