Eugen Rochko
e8ad0a8006
[Glitch] Fix hashtag links always being lowercase
...
Port 5e35aa8280
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
3ea7a334d8
Fix up try/catch block in invalid URL handling
5 years ago
Thibaut Girka
cbd75fe128
Remove href attribute of invalid links instead of crashing
5 years ago
Thibaut Girka
ff0ceb28b3
Remove link rewriting option as it is easily bypassable
5 years ago
Thibaut Girka
76b80a1511
Perform case-insensitive comparison for international domain names
...
Note: this uses `toLowerCase()` instead of doing proper case folding
5 years ago
Thibaut Girka
43b137e1f9
Perform case-insensitive comparison of non-International domain names
5 years ago
Thibaut Girka
c01de0f721
Ensure link rewriting setting changes are immediately applied
5 years ago
Thibaut Girka
6600da0f7b
Handle Mastodon-generated links for targets starting with “www.” properly
5 years ago
Thibaut Girka
df866a464d
Add options to highlight misleading links in statuses
...
Fixes #1162
5 years ago
ThibG
7f147acea6
[Glitch] Change contrast of status links that are not mentions nor hashtags
...
Port 10e78ecf57
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
91da921dbb
Fix links in status media having their title rewritten
5 years ago
Thibaut Girka
48c68eafb7
Handle animated emoji on mouse hover in CWs and poll options
5 years ago
ThibG
c1231a846a
[Glitch] Play animated custom emoji on hover
...
Port 7de8c51873
to glitch-soc
5 years ago
Thibaut Girka
ef249a2718
Rename status__text to status__content__text for consistency with upstream
6 years ago
Thibaut Girka
659f972bed
Do not switch to italic for status media buttons
6 years ago
Thibaut Girka
14bad3f472
Do not handle clicks in detailed status content
6 years ago
Eugen Rochko
614bd3f8d4
[Glitch] Add `lang` attribute to statuses in web UI
...
Port JS changes from e6cfa7ab89
to glitch-soc
6 years ago
Thibaut Girka
e80fabfd84
Fix toots opening in dynamic column when trying to interact with them
...
This fixes inline preview cards and polls, preventing them from opening
the toot in detailed view when clicking on an interactive element.
6 years ago
Thibaut Girka
1a70fca168
Fix CW unfolding not triggering re-layout in public hashtag page
6 years ago
Thibaut Girka
9d6788b30b
Prevent click on video from opening detailed toot
7 years ago
Thibaut Girka
2154bd1b5a
Widen clickable area of toots
7 years ago
Thibaut Girka
64d8d0464d
Add show more/less toggle for entire threads in web UI
...
Inspired from b6003afcdb
but using component
properties instead of redux store for hidden/revealed state.
7 years ago
Thibaut Girka
2888f74c12
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
7 years ago
Thibaut Girka
53eab4470d
Render toots with empty contents
...
This is necessary to display toots with media but otherwise no contents,
as glitch-soc displays the media as a child of StatusContent, unlike
Mastodon.
7 years ago
Thibaut Girka
841ef606a9
Remove text requirement when media attached from statuses ( fixes #381 )
...
Ports cfa9b6e13a
to glitchsoc
7 years ago
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
7 years ago
kibigo!
45c44989c8
Forking glitch theme
7 years ago
Ondřej Hruška
cf24ce7e03
remove wrong emojify usage in old glitch components
7 years ago
Ondřej Hruška
74e4fc8f8a
fix custom emoji not shown in statuses
7 years ago
kibigo!
fae8dce738
Fixed #133 (only parse links in status text)
7 years ago
kibigo!
bc4202d00b
Ported updates from #64
7 years ago
kibigo!
297921fce5
Moved glitch files to their own location ;)
7 years ago
Eugen Rochko
e19eefe219
Redesign the landing page, mount public timeline on it ( #4122 )
...
* Redesign the landing page, mount public timeline on it
* Adjust the standalone mounted component to the lacking of router
* Adjust auth layout pages to new design
* Fix tests
* Standalone public timeline polling every 5 seconds
* Remove now obsolete translations
* Add responsive design for new landing page
* Address reviews
* Add floating clouds behind frontpage form
* Use access token from public page when available
* Fix mentions and hashtags links, cursor on status content in standalone mode
* Add footer link to source code
* Fix errors on pages that don't embed the component, use classnames
* Fix tests
* Change anonymous autoPlayGif default to false
* When gif autoplay is disabled, hover to play
* Add option to hide the timeline preview
* Slightly improve alt layout
* Add elephant friend to new frontpage
* Display "back to mastodon" in place of "login" when logged in on frontpage
* Change polling time to 3s
7 years ago
Nolan Lawson
63b77f2320
Avoid using getBoundingClientRect to calculate height ( #4001 )
7 years ago
STJrInuyasha
6bf6d35637
Parse links in status content on update as well as mount ( #4042 )
...
* Update links in status content on update as well as mount
Fixes occasional bugs with mentions and hashtags not being set to open in a new column like they should, and instead opening in a new page
* use classList instead of raw className
7 years ago
kibigo!
bba75c15f1
Statuses redux!
...
- Better unified reblogs, statuses, and notifications
- Polished up collapsed toots greatly
- Apologies to bea if this makes everything more difficult
7 years ago
kibigo!
b525caf40a
Fixing an aspect of #32 which had previously escaped my attention
8 years ago
kibigo!
cc4cba8afd
Improvements to image icon appearance on SHOW MORE
8 years ago
kibigo!
99889ea57d
Tiny Status improvements
...
- Media toots are no longer auto-collapsed if the media is behind a CW
- Display names no longer appear clickable when a toot is collapsed
- Fixed #36 by adding reduplicating the media icon inside the SHOW
MORE/LESS
8 years ago
kibigo!
19690d3e33
Fixes #32 bug with revealing sensitive media
8 years ago
kibigo!
5df7bc3a8b
Disable links on collapsed toots
8 years ago
kibigo!
38a1299975
Stick images inside of CWs
8 years ago
Daniel Hunsaker
c0979381a4
Fix a typo and give CW'd statuses the right cursor ( #3918 )
8 years ago
Yamagishi Kazutoshi
c1a8e3d1eb
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
8 years ago
Yamagishi Kazutoshi
eff9416469
Remove unused variables ( #3906 )
8 years ago
Sorin Davidoi
8f03fdce7f
Upgrade React Router ( #3677 )
...
* chore(yarn): Remove react-router
* chore(yarn): Remove react-router-scroll
* chore(yarn): Remove history
* chore(yarn): Add react-router-dom
* chore: Remove usages of react-router-scroll
* refactor: Upgrade to react-router-web
* refactor: Use fork of react-router-scroll
This reverts commit 2ddea9a6c8d39fc64b7d0b587f3fbda7a45a7fa2.
* fix: Issues mentions in the PR feedback
8 years ago
unarist
bf8c2c4348
Clicking on the CW text should expand the status ( #3855 )
8 years ago
unarist
aa58cca040
Set cursor:pointer only when necessary ( #3857 )
8 years ago
Sorin Davidoi
0f52e42c2d
fix(status): Content jump due to height changes ( #3734 )
8 years ago
Eugen Rochko
8015fd7600
Improve RTL detection ( #3682 )
...
- Use plaintext
- Strip out URLs
- Strip out mentions
- Strip out hashtags
- Strip out whitespace from "overall" count
- Consistent between JS and Ruby
8 years ago