diff --git a/client/css/help.styl b/client/css/help.styl index a2532acf..dfd3bcd5 100644 --- a/client/css/help.styl +++ b/client/css/help.styl @@ -15,3 +15,10 @@ font-size: 1.6em &:first-child margin-top: 0 + nav + text-align: center + ul + margin: 0 auto + text-align: left + nav.secondary + font-size: 0.95em diff --git a/client/html/help-search-general.hbs b/client/html/help-search-general.hbs new file mode 100644 index 00000000..27ee963a --- /dev/null +++ b/client/html/help-search-general.hbs @@ -0,0 +1,87 @@ +
Search queries are built of tokens that are separated by spaces. Each token +can be of following form:
+ +Syntax | +Token type | +Description | +
---|---|---|
<value> |
+ anonymous tokens | +basic filters | +
<key>:<value> |
+ named tokens | +advanced filters | +
order:<style> |
+ order tokens | +sort results | +
special:<value> |
+ special tokens | +filters usually tied to the logged in user | +
Most of anonymous and named tokens support ranged and composite values that +take following form:
+ +a,b,c |
+ will show things that satisfy either a ,
+ b or c . |
+
1.. |
+ will show things that are equal to or greater than 1. | +
..4 |
+ will show things that are equal to at most 4. | +
1..4 |
+ will show things that are equal to 1, 2, 3 or 4. | +
Date/time values can be of following form:
+ +today
yesterday
<year>
<year>-<month>
<year>-<month>-<day>
Some fields, such as user names, can take wildcards (*
).
All tokens can be negated by prepending them with -
.
Order token values can be appended with ,asc
or
+,desc
to control the sort direction, which can be also controlled
+by negating the whole token.
Searching for posts with following query:
+ +sea -fav-count:8.. type:swf uploader:Pirate
+
+will show flash files tagged as sea, that were liked by seven people at +most, uploaded by user Pirate.
+ diff --git a/client/html/help-search-posts.hbs b/client/html/help-search-posts.hbs new file mode 100644 index 00000000..1c17aa48 --- /dev/null +++ b/client/html/help-search-posts.hbs @@ -0,0 +1,172 @@ +Anonymous tokens
+ +Filter posts tagged with given <value>
.
Named tokens
+ +id |
+ having specific post ID | +
score |
+ having given score | +
uploader |
+ uploaded by given user | +
comment |
+ commented by given user | +
fav |
+ favorited by given user | +
fav-count |
+ favorited by given number of users | +
comment-count |
+ having given number of comments | +
tag-count |
+ having given number of tags | +
note-count |
+ having given number of annotations | +
feature-count |
+ having been featured given number of times | +
date |
+ posted at given date | +
file-size |
+ having given file size (in bytes) | +
image-width |
+ having given image width (where applicable) | +
image-height |
+ having given image height (where applicable) | +
image-area |
+ having given number of pixels (image width * image height) | +
type |
+ given type of posts (<value> can be either image , flash /swf , youtube /yt , video or animation ) |
+
Order tokens
+ +random |
+ as random as it can get | +
id |
+ highest to lowest post ID | +
score |
+ highest scored | +
fav-count |
+ loved by most | +
comment-count |
+ most commented first | +
tag-count |
+ with most tags | +
note-count |
+ with most annotations | +
file-size |
+ largest files first | +
image-width |
+ widest images first | +
image-height |
+ tallest images first | +
image-area |
+ largest images first | +
creation-date |
+ newest to oldest (pretty much same as id ) |
+
edit-date |
+ like creation-date , only looks at last edit time |
+
fav-date |
+ recently added to favorites by anyone | +
comment-date |
+ recently commented by anyone | +
feature-date |
+ recently featured | +
feature-count |
+ most often featured | +
Special tokens
+ +liked |
+ posts liked by currently logged in user | +
disliked |
+ posts disliked by currently logged in user | +
fav |
+ posts added to favorites by currently logged in user | +
tumbleweed |
+ posts with score of 0, without comments and without favorites | +
Anonymous tokens
+ +Same as name
token.
Named tokens
+ +name |
+ having given name (accepts wildcards) | +
category |
+ having given category | +
creation-date |
+ created at given date | +
creation-time |
+ alias of creation-date |
+
last-edit-date |
+ edited at given date | +
last-edit-time |
+ alias of last-edit-date |
+
edit-date |
+ alias of last-edit-date |
+
edit-time |
+ alias of last-edit-date |
+
usages |
+ used in given number of posts | +
usage-count |
+ alias of usages |
+
post-count |
+ alias of usages |
+
suggestion-count |
+ with given number of suggestions | +
implication-count |
+ with given number of implications | +
Order tokens
+ +random |
+ as random as it can get | +
name |
+ A to Z | +
category |
+ category (A to Z) | +
creation-date |
+ recently created first | +
creation-time |
+ alias of creation-date |
+
last-edit-date |
+ recently edited first | +
last-edit-time |
+ alias of creation-time |
+
edit-date |
+ alias of creation-time |
+
edit-time |
+ alias of creation-time |
+
usages |
+ used in most posts first | +
usage-count |
+ alias of usages |
+
post-count |
+ alias of usages |
+
suggestion-count |
+ with most suggestions first | +
implication-count |
+ with most implications first | +
Special tokens
+ +None.
diff --git a/client/html/help-search-users.hbs b/client/html/help-search-users.hbs new file mode 100644 index 00000000..31cbc123 --- /dev/null +++ b/client/html/help-search-users.hbs @@ -0,0 +1,81 @@ +Anonymous tokens
+ +Same as name
token.
Named tokens
+ +name |
+ having given name (doesn't accept wildcards yet) | +
creation-date |
+ registered at given date | +
creation-time |
+ alias of creation-date |
+
last-login-date
+ | whose most recent login date matches given date | +
last-login-time
+ | alias of last-login-date
+ |
login-date
+ | alias of last-login-date
+ |
login-time |
+ alias of last-login-date
+ |
Order tokens
+ +random |
+ as random as it can get | +
name |
+ A to Z | +
creation-date |
+ newest to oldest | +
creation-time |
+ alias of creation-date |
+
last-login-date |
+ recently active first | +
last-login-time |
+ alias of last-login-date |
+
login-date |
+ alias of last-login-date |
+
login-time |
+ alias of last-login-date |
+
Special tokens
+ +None.
diff --git a/client/html/help-search.hbs b/client/html/help-search.hbs index ddbe5c17..8771e6b2 100644 --- a/client/html/help-search.hbs +++ b/client/html/help-search.hbs @@ -1,479 +1,10 @@ -Search queries are built of tokens that are separated by spaces. Each token -can be of following form:
- -Syntax | -Token type | -Description | -
---|---|---|
<value> |
- anonymous tokens | -basic filters | -
<key>:<value> |
- named tokens | -advanced filters | -
order:<style> |
- order tokens | -sort results | -
special:<value> |
- special tokens | -filters usually tied to the logged in user | -
Most of anonymous and named tokens support ranged and composite values that -take following form:
- -a,b,c |
- will show things that satisfy either a ,
- b or c . |
-
1.. |
- will show things that are equal to or greater than 1. | -
..4 |
- will show things that are equal to at most 4. | -
1..4 |
- will show things that are equal to 1, 2, 3 or 4. | -
Date/time values can be of following form:
- -today
yesterday
<year>
<year>-<month>
<year>-<month>-<day>
Some fields, such as user names, can take wildcards (*
).
All tokens can be negated by prepending them with -
.
Order token values can be appended with ,asc
or
-,desc
to control the sort direction, which can be also controlled
-by negating the whole token.
Searching for posts with following query:
- -sea -fav-count:8.. type:swf uploader:Pirate
-
-will show flash files tagged as sea, that were liked by seven people at -most, uploaded by user Pirate.
- -Anonymous tokens
- -Filter posts tagged with given <value>
.
Named tokens
- -id |
- having specific post ID | -
score |
- having given score | -
uploader |
- uploaded by given user | -
comment |
- commented by given user | -
fav |
- favorited by given user | -
fav-count |
- favorited by given number of users | -
comment-count |
- having given number of comments | -
tag-count |
- having given number of tags | -
note-count |
- having given number of annotations | -
feature-count |
- having been featured given number of times | -
date |
- posted at given date | -
file-size |
- having given file size (in bytes) | -
image-width |
- having given image width (where applicable) | -
image-height |
- having given image height (where applicable) | -
image-area |
- having given number of pixels (image width * image height) | -
type |
- given type of posts (<value> can be either image , flash /swf , youtube /yt , video or animation ) |
-
Order tokens
- -random |
- as random as it can get | -
id |
- highest to lowest post ID | -
score |
- highest scored | -
fav-count |
- loved by most | -
comment-count |
- most commented first | -
tag-count |
- with most tags | -
note-count |
- with most annotations | -
file-size |
- largest files first | -
image-width |
- widest images first | -
image-height |
- tallest images first | -
image-area |
- largest images first | -
creation-date |
- newest to oldest (pretty much same as id ) |
-
edit-date |
- like creation-date , only looks at last edit time |
-
fav-date |
- recently added to favorites by anyone | -
comment-date |
- recently commented by anyone | -
feature-date |
- recently featured | -
feature-count |
- most often featured | -
Special tokens
- -liked |
- posts liked by currently logged in user | -
disliked |
- posts disliked by currently logged in user | -
fav |
- posts added to favorites by currently logged in user | -
tumbleweed |
- posts with score of 0, without comments and without favorites | -
Anonymous tokens
- -Same as name
token.
Named tokens
- -name |
- having given name (doesn't accept wildcards yet) | -
creation-date |
- registered at given date | -
creation-time |
- alias of creation-date |
-
last-login-date
- | whose most recent login date matches given date | -
last-login-time
- | alias of last-login-date
- |
login-date
- | alias of last-login-date
- |
login-time |
- alias of last-login-date
- |
Order tokens
- -random |
- as random as it can get | -
name |
- A to Z | -
creation-date |
- newest to oldest | -
creation-time |
- alias of creation-date |
-
last-login-date |
- recently active first | -
last-login-time |
- alias of last-login-date |
-
login-date |
- alias of last-login-date |
-
login-time |
- alias of last-login-date |
-
Special tokens
- -None.
- -Anonymous tokens
- -Same as name
token.
Named tokens
- -name |
- having given name (accepts wildcards) | -
category |
- having given category | -
creation-date |
- created at given date | -
creation-time |
- alias of creation-date |
-
last-edit-date |
- edited at given date | -
last-edit-time |
- alias of last-edit-date |
-
edit-date |
- alias of last-edit-date |
-
edit-time |
- alias of last-edit-date |
-
usages |
- used in given number of posts | -
usage-count |
- alias of usages |
-
post-count |
- alias of usages |
-
suggestion-count |
- with given number of suggestions | -
implication-count |
- with given number of implications | -
Order tokens
- -random |
- as random as it can get | -
name |
- A to Z | -
category |
- category (A to Z) | -
creation-date |
- recently created first | -
creation-time |
- alias of creation-date |
-
last-edit-date |
- recently edited first | -
last-edit-time |
- alias of creation-time |
-
edit-date |
- alias of creation-time |
-
edit-time |
- alias of creation-time |
-
usages |
- used in most posts first | -
usage-count |
- alias of usages |
-
post-count |
- alias of usages |
-
suggestion-count |
- with most suggestions first | -
implication-count |
- with most implications first | -
Special tokens
- -None.
+ diff --git a/client/html/help.hbs b/client/html/help.hbs index 2656f18e..c187a293 100644 --- a/client/html/help.hbs +++ b/client/html/help.hbs @@ -1,5 +1,5 @@