Miguel Freitas
d6da998635
guess media type by filename extension when mimetype is missing
9 years ago
Miguel Freitas
8a39eba6b6
initial webtorrent support to display embeded media (disabled by default)
9 years ago
Simon Grim
ec37c824f9
fetch shortened URI on click
9 years ago
Simon Grim
572242e0c1
fix for retry to decode shortened URI if we got null response
9 years ago
Simon Grim
c93474d3d5
retry to decode shortened URI if we got null response
9 years ago
Miguel Freitas
dccc5695e0
support decodeShortURI returning an array [url,mimetype] instead of just url string
9 years ago
Miguel Freitas
1da57627f3
create a new stopChars variant excludind valid base64 chars used in shortened urls
9 years ago
Simon Grim
6401864cd4
delete mistype
9 years ago
Simon Grim
6ff3252148
add rel="noreferrer" to external links
9 years ago
Simon Grim
1d480f2009
add fetched URIs' text cropping (23 chars + '…') for better readability
9 years ago
Simon Grim
3d92f85410
add auto focus on textarea when we open DMs
9 years ago
Simon Grim
d63918dac6
add confirmation to ~shorten URL~ in DMs to tmobile
9 years ago
Simon Grim
4f38edc466
add confirmation to ~shorten URL~ in DMs
9 years ago
Simon Grim
e11a1c35ce
add appending of twists' elements to twister.html.detached immediately after creation
9 years ago
Miguel Freitas
3023b90c8a
display longer posts (>140 characters)
9 years ago
Simon Grim
8819187d2d
fix filterLang() to cut out '/me' directive before processing
9 years ago
Simon Grim
c0b034791b
update franc.js to 1.1.3, see f91558406b
9 years ago
Simon Grim
d2cd9cdea0
fix filterLang() to cut out 'twist:…=' links before processing
9 years ago
Simon Grim
a9c8f71ab0
fix wrong checks of twist data userpost.msg property that leads to applying of language filtering by userpost.rt.msg
9 years ago
Simon Grim
ac98d8175a
replace warning on enter-URL-to-shorten with note
9 years ago
Simon Grim
121dc72e6f
fix checks of post.userpost.rt.msg and restyling of properties in willBeHidden()
9 years ago
Simon Grim
6eec8088cf
fix checks for twist .msg fields corectness in search results handling
9 years ago
Simon Grim
2a37be1a73
add more strict checks for twist .msg fields corectness
9 years ago
Simon Grim
e5a8c44d11
tune profile modals openning
9 years ago
Simon Grim
9fcadc9634
add missed check for userpost.rt.msg emptiness in postToElem()
9 years ago
Simon Grim
a26ff53c76
add check for input string emptiness in filterLang()
9 years ago
Simon Grim
cfd51f163e
fix checks for twist .msg fields emptiness when it's need to decide whether twist should be displayed or not
9 years ago
Simon Grim
5c5f262ca0
add brief explanation to warning in paste-URL-to-shorten prompt
9 years ago
Simon Grim
1f686b36cb
fix handling of clicks on .mini-follower-link
9 years ago
Simon Grim
054348756d
add handling of clicks on .mini-follower-link
9 years ago
Simon Grim
e4bc01ecd3
rename openConversationClick() to handleClickOpenConversation()
9 years ago
Simon Grim
c7f3c9780b
fix routeOnClick() to open already active routes in new tab
9 years ago
Simon Grim
b7a8240bbc
tune profile modals openning
9 years ago
Simon Grim
07260049cc
add flag to getElem() to search in templates too
9 years ago
Simon Grim
0d902c1ea6
rewrite appendPostToContainer() and rename to appendPostToElem()
9 years ago
Simon Grim
6cdc6cc511
tune 'shorten URL', add related localization
9 years ago
Simon Grim
085108cc58
add 'shorten URL' link to .post-area-new textareas and fix misc
9 years ago
Simon Grim
2cfaae8568
fix misspelling of 'shorten' verb
9 years ago
Simon Grim
aad737f10d
fix RPC console warnings
9 years ago
Simon Grim
ee7f84d2b6
add and fix checks for daemon version and input data for short URI related functions
9 years ago
Simon Grim
2c26754228
add dummy URI shortener with link in .userMenu-config-dropdown
9 years ago
Simon Grim
21ee46a466
add appending of twists' elements to twister.html.detached immediately after creation
...
to be able to select them via getElem() in situation where they are not selected because not appended yet to body
e.g. it fixes case when fetched short URIs can't be applied on twists which are created in newConversationModal()
9 years ago
Simon Grim
08856095b0
fix applyShortenedURI() to handle detached elements too
9 years ago
Simon Grim
7542eddf5b
fix console warning for decodeShortURI()
9 years ago
Simon Grim
c5d178779d
rewrite of twister_io.js: indentation, vars renaming, styling, console messages, misc
9 years ago
Miguel Freitas
f0d80e25c0
reuse the same mechanism that limits parallel dhtgets also for decodeshorturl
9 years ago
Simon Grim
7d0ee60aba
add caching of shortened URIs after fetching
9 years ago
Simon Grim
3e43fdb594
add fetching of shortened URIs
...
see a00dfcf247
and also cb020faba8
for daemon version
9 years ago
Simon Grim
68fe2b0174
add workaround to be able to play sound notifications on Firefox
9 years ago
Simon Grim
9ac1daabf1
add volume parameter to playSound()
9 years ago