Thibaut Girka
919bd0842d
Slightly more aggressive video preloading
...
- Preload video metadata if the video is loaded in detailed view, as it is
likely to get played, and metadata is useful for seeking in the video.
- Preload video data if it's fullscreen as it is extremely likely to get
played right after being put in fullscreen (although those are two steps).
- Preload video data if the user has clicked the position slider, as the video
will play as soon as the mouse button is released, and video metadata is
needed to properly seek into the video.
2018-08-14 21:56:23 +02:00
Thibaut Girka
99b2e034c2
Fix bug when clicking on video position slider before starting the video
2018-08-14 21:56:23 +02:00
Thibaut Girka
2f73a9358e
Prevent default event handling when clicking on the video position slider
...
This prevents accidental text selection and avoids opening the toot containing
the video in the dynamic column when clicking on the position slider.
2018-08-14 21:56:23 +02:00
Thibaut Girka
ac67589755
Don't prevent opening links in tabs with keyboard modifiers
...
Ctrl+click usually allows opening a link in a new tab. This
was prevented for hashtag or user links in toots.
2018-08-11 15:29:08 +02:00
Thibaut Girka
ca4fa96a99
Implement public profile endorsements in glitch-soc
...
Port WebUI changes from 6e3cb11f3c
to glitch-soc
2018-08-10 16:25:46 +02:00
Thibaut Girka
35ee061e42
Merge upstream SCSS changes for /about, /about/more and /terms
...
Port various commits to glitch-soc, mainly commits
9e8366d4cb
and
0dcd212735
.
2018-08-10 16:22:49 +02:00
Thibaut Girka
1e18374e53
Merge upstream styling for public profile endorsements
...
Port the SCSS part of 6e3cb11f3c
to glitch-soc
2018-08-10 16:22:49 +02:00
Thibaut Girka
2107ea78c3
Good bye, CW rainbows
...
Accessibility issues largely outweigh the joke and consistency with upstream.
2018-08-07 18:49:49 +02:00
Thibaut Girka
d99f8674ab
Fix styling of toot prepended text on public profiles
...
Fixes how “Pinned toot”, “… boosted” etc. are styled on public profiles.
2018-08-02 12:43:00 +02:00
Thibaut Girka
8d2f582bf7
Fix toot styling on public pages
...
The public pages now use CSS from the WebUI to style toots, but the glitch-soc
UI is widely different. Hack around that for now by hardcoding upstream-like
values.
2018-08-01 00:18:42 +02:00
Thibaut Girka
d87eac4663
Reintroduce glitch-soc avatar styling in public pages
2018-08-01 00:18:42 +02:00
Thibaut Girka
89b05c7d68
[Glitch] Do not hide hashtag timeline in mobile view, make it full-window
...
Port d39e0ad4d5
to glitch-soc
2018-08-01 00:18:42 +02:00
Thibaut Girka
658fc6bc1e
[Glitch] Compensate for scrollbar disappearing when media modal
...
Port a78672ae50
to glitch-soc
2018-08-01 00:18:42 +02:00
Thibaut Girka
28cdf3da09
[Glitch] Show media modal on public timeline
...
Port c1427f90f6
to glitch-soc
2018-08-01 00:18:42 +02:00
Thibaut Girka
8c4fc00ece
[Glitch] Add missing formatting to the text in hero widget
...
Port bdb76122bc
to glitch-soc
2018-08-01 00:18:42 +02:00
Thibaut Girka
ca256cca22
Port profile redesign to glitch-soc
...
Port 13df3889f0
to glitch-soc
2018-08-01 00:18:42 +02:00
Thibaut Girka
4277328e9c
Drop glitch-style account bio fields
...
Upstream's implementation has been merged a while ago and is the preferred
way to set fields, as it is the only one compatible with upstream and is
more user-friendly.
This commit deletes the legacy glitch-soc FrontMatter functionality in order
to clean up the code and make it easier to maintain.
2018-07-31 16:26:36 +02:00
Thibaut Girka
f5b880a429
[Glitch] Resize images by area instead of fixed dimensions
...
Port WebUI part of 91aadec929
to glitch-soc
2018-07-30 19:30:38 +02:00
Thibaut Girka
f37bf7c0a3
Don't reset scroll position when opening a modal
2018-07-30 14:32:02 +02:00
Thibaut Girka
4e8532cc1a
Allow modals to be closed by pressing “back”
2018-07-30 14:32:02 +02:00
Thibaut Girka
32d4005516
Treat the App Setting link as a proper link ( fixes #375 )
2018-07-30 14:31:45 +02:00
Thibaut Girka
8a9882ee34
[Glitch] Improve WebUI account action bar
...
Mostly a port of 2ccef52a4f
to glitch-soc
2018-07-30 14:24:35 +02:00
Thibaut Girka
a3d318ec76
[Glitch] Fix accounts' display name/bio not being set from initial state
...
Port 6e72faaa78
to glitch-soc
2018-07-30 14:24:24 +02:00
Thibaut Girka
9a1015327b
Use same margin for navbar and column for consistency
2018-07-28 23:26:18 +02:00
Thibaut Girka
78071de615
Hide navigation bar text so it can fit on small screens
2018-07-28 23:26:18 +02:00
Thibaut Girka
429c05537e
Fix glitch-soc columns padding on mobile ( fixes #561 )
2018-07-28 23:26:18 +02:00
Thibaut Girka
9507ab6493
Preserve hashtags in threaded mode ( fixes #584 )
2018-07-28 23:25:57 +02:00
Thibaut Girka
40fe9256ea
Move CW field just above main textarea
2018-07-28 23:25:42 +02:00
Thibaut Girka
0ef509c27a
Get rid of Collapsable, use CSS instead
...
Change inspired by a6ddd1aba2
2018-07-28 23:25:42 +02:00
Thibaut Girka
5eeb95fac7
Refactor reply indicator and show compact list of attachments
2018-07-28 23:24:15 +02:00
Thibaut Girka
22618172b4
Show reply indicator for empty toots, not undefined toots ( fixes #610 )
...
Fix a regression introduced by 14061b76dc
2018-07-28 23:24:15 +02:00
Thibaut Girka
d0853d1f3a
[Glitch] Add documentation for “p” hotkey
...
Port ed50c2393a0f12f88f1102f8cf8beca3bf711158 to glitch-soc
2018-07-26 22:19:01 +02:00
Thibaut Girka
56f5323194
Add hotkey variants to keyboard shortcuts description
...
Port 89c6d2bd6bc014ca6487c8f2569f8252fb3ef5dc to glitch-soc
2018-07-26 22:19:01 +02:00
Thibaut Girka
12eb48c85c
Prevent scrolling main frame when navigating in image gallery with arrow keys
2018-07-26 08:42:25 +02:00
Thibaut Girka
ddaf5eeb3b
[Glitch] Use LoadingBar instead of blur to indicate that an image is loading
...
Port 792362b806
to the glitch-soc flavour
2018-07-24 21:20:18 +02:00
Thibaut Girka
443b660cd6
Use the same description string as upstream for the “x” hotkey
2018-07-24 21:15:21 +02:00
Thibaut Girka
a2c595d0d0
Fix focusing search bar with hotkeys
2018-07-24 21:15:21 +02:00
Thibaut Girka
5de267d6ff
Fix focusing composer textarea on “new toot” hotkey
2018-07-24 21:15:21 +02:00
Thibaut Girka
b908e9b23a
Fix routing issues, especially keyboards shortcuts changing location
2018-07-24 21:14:50 +02:00
Thibaut Girka
faa14e76da
Display custom emoji in account notes in WebUI ( fixes #595 )
2018-07-21 21:44:49 +02:00
Thibaut Girka
25a68179f5
Add CSS for the newly-introduced dashboard ( fixes #592 )
2018-07-18 23:08:27 +02:00
Thibaut Girka
57b3874b47
[Glitch] Ensure container of React components has full width
...
Port 8058ec5a13
to glitch-soc
2018-07-18 22:38:55 +02:00
Thibaut Girka
95a752365a
Disable threaded mode when canceling a reply ( fixes #583 )
2018-07-18 16:42:00 +02:00
Thibaut Girka
a69426ba4e
Do not cause an error if domain_lists.blocks.next is undefined ( fixes #572 )
...
Port 3aaa8f1a95
to glitch-soc
2018-07-17 21:54:54 +02:00
Thibaut Girka
7cc4e6b2b2
Process statuses on COMPOSE_SUBMIT_SUCCESS ( fixes #579 )
2018-07-17 21:54:36 +02:00
Thibaut Girka
27be4fa311
Avoid loading rails-ujs twice on vanilla flavour
2018-07-16 16:42:52 +02:00
Thibaut Girka
4a23251f3c
Add an option restricting secondary toot privacy to that of the toot being replied to
2018-07-12 19:15:44 +02:00
Thibaut Girka
694b9c5b54
Move privacyPreference to utils
2018-07-12 15:31:42 +02:00
Thibaut Girka
78811a547c
[Glitch] Refactor privacyPrefence() to use priority list
...
Port 2b44b7a9f6
to glitch-soc
2018-07-12 15:31:42 +02:00
Thibaut Girka
1a3e119ef7
Use options rather than a boolean
...
This prepares for a third option that would restrict privacy to
privacyPreference(replyPrivacy, sideArmBasePrivacy)
2018-07-12 11:22:34 +02:00
Thibaut Girka
b169f2df3b
Do not store duplicate reply_privacy
2018-07-12 11:22:34 +02:00
Ash Levy
2d4c33a89c
add option to enable auto visibility on secondary toot button
2018-07-12 11:22:34 +02:00
Thibaut Girka
052f5324fc
[Glitch] Make whole-word filter regex consistent between Ruby and JS
...
Port front-end part of a94f6c800d
to glitch-soc
2018-07-11 22:06:34 +02:00
Thibaut Girka
78fcb67c12
[Glitch] Add follow button to detailed status, add gradient to mask bio cut-off ( fixes #566 )
...
Port 5294f3a1d2
to glitch-soc
2018-07-11 22:05:15 +02:00
Thibaut Girka
14061b76dc
Display reply indicator even when replying to contentless toot ( fixes #564 )
2018-07-10 22:53:04 +02:00
Thibaut Girka
b7b718df0d
make sure reblogged's filter is set correctly
2018-07-10 14:06:04 +02:00
Thibaut Girka
aec11a568e
[Glitch] Add option to not consider word boundaries when processing keyword filtering
...
Port 4c70bb6d6d
to glitch-soc
2018-07-10 14:06:04 +02:00
Thibaut Girka
1966652cba
[Glitch] In keyword filter, account for reblogs, HTML and whole-words
...
Port 6084257fda
to glitch-soc
2018-07-10 14:06:04 +02:00
Thibaut Girka
f94afcb935
[Glitch] Fix filters not affecting notifications in web UI
...
Port 93bdaa0526
to glitch-soc
2018-07-10 14:06:04 +02:00
Thibaut Girka
4850a2348c
Add client-side custom filter support to glitch-soc
...
Port d878e3e945
to glitch-soc,
but without dropping support for regexp filters yet.
2018-07-10 14:06:04 +02:00
Thibaut Girka
a68e7db2fb
[Glitch] Fix Chrome issue with sizes="0px"
2018-07-10 10:53:36 +02:00
Ash Levy
58c19ac07c
add keybind in composer textarea for secondary submit
2018-07-10 10:53:22 +02:00
Thibaut Girka
7f143d1a92
Increase padding of toots
2018-06-24 14:46:02 +02:00
Thibaut Girka
8e4fbf9846
Fix margins of toot text
2018-06-24 14:46:02 +02:00
Thibaut Girka
7833326959
[Glitch] Submit report using meta key
...
Port 10a8ac8b80
to glitch-soc
2018-06-21 22:28:50 +02:00
Thibaut Girka
d325dd899c
Fix clicking on collapsed toots with a background ( fixes #547 )
2018-06-21 22:17:19 +02:00
Thibaut Girka
c60f97f116
[Glitch] Preserve newlines in delete & redraft and desktop notifications
...
Port 5d419119de
to glitch-soc
2018-06-16 15:09:28 +02:00
Thibaut Girka
d8c35a6b85
[Glitch] Add redraft function
...
Port 16173535d9
to glitch-soc
2018-06-16 15:09:28 +02:00
Thibaut Girka
31091836e9
[Glitch] Add vendor prefix for background-clip
...
Port 963b82f5e5
to glitch-soc
2018-06-15 22:14:48 +02:00
David Yip
c3202b66f2
Port bf508b9f74
to glitch emoji picker.
...
Fixes #541 .
2018-06-15 22:10:50 +02:00
David Yip
4cc75efb7b
Port emojimart 2.6.1 changes to glitch flavour
...
See also the following commits:
- ae0b751a30
- 2e4a1d3109
2018-06-12 17:43:50 -05:00
Thibaut Girka
5af047df32
Delete references to removed constants ( fixes #537 )
2018-06-09 18:14:23 +02:00
David Yip
4b7ceed3f0
Merge pull request #509 from ThibG/glitch-soc/fixes/router-history-navigation
...
Use history.state to decide whether we should goBack() or go to / (fixes #247 )
2018-06-06 23:56:48 -05:00
David Yip
1a0491b3cf
Merge pull request #519 from ThibG/glitch-soc/fixes/status-node-null
...
Prevent a rare crash when a status' root node is undefined
2018-06-02 16:19:06 -05:00
David Yip
c10df6cf00
Merge pull request #501 from ThibG/glitch-soc/features/red-bookmarks
...
Make active bookmarks red (fixes #493 )
2018-06-01 00:36:48 -05:00
Spencer Alves
559ce5c098
Adjust spacing between status icons
2018-05-31 21:55:44 -07:00
Spencer Alves
c86cd2041d
Merge branch 'glitch' into thread-icon
2018-05-31 21:33:16 -07:00
Thibaut Girka
93e6984be8
Make active bookmarks red ( fixes #493 )
2018-05-31 14:39:48 +02:00
Thibaut Girka
37dc96b71b
Use history.state to decide whether we should goBack() or go to / ( fixes #247 )
...
So far, glitch-soc used history.length to decide whether to call `goBack()` or
go to / in order to not leave the webUI. This made clicking the “Back” button
go to the “Getting started” column instead of going back in the browser's
history when such an action would leave the web UI, but also when:
- The WebUI is refreshed (F5)
- A tab is restored
- The history length reaches its maximum (e.g., 50 in Firefox)
This commit fixes these shortcomings by checking `window.history.state`.
Indeed, we only want to go back in the browser's history when the current
location has been reached from within the WebUI, which only happens via
`pushState` as far as I know. Since browser store the serialized state in
the browser history, this also survives page reload and session restoration.
2018-05-31 14:39:02 +02:00
Thibaut Girka
fa980f2c95
Use props.router instead of context.router, as we are using withRouter
2018-05-31 14:39:02 +02:00
Thibaut Girka
0174ca8679
Prevent a rare crash when a status' root node is undefined
2018-05-31 14:38:29 +02:00
Thibaut Girka
663c9dcf36
Fix direct timeline
2018-05-31 14:37:13 +02:00
Thibaut Girka
06a6f1759e
[Glitch] Fix low-contrasted cancel button of reply indicator
...
Port 63f6da9a9d
to glitch-soc
2018-05-29 21:25:47 +02:00
Thibaut Girka
febaae28f4
[Glitch] Improve load gap styling in web UI
...
Port 93a1afb66c
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
14961cc8ee
[Glitch] Use randomized setTimeout when fallback-polling and re-add since_id
...
Port 4b5cde3f2d
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
44e534c1a5
[Glitch] Do not crash in getStatusIds when there is a gap in the timeline
...
Port 8ccc863ae8
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
d73c0e14b0
[Glitch] Fix gap insertion for timeline disconnection
...
Port 575c5753e4
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
d7aac92316
[Glitch] Fix ID duplication in timelines
...
Port 33a8c3ab6c
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
27cf820859
[Glitch] Fix comparing id
...
Port 9dff61a5ba
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
54c32199af
[Glitch] Fix LoadMore on account media gallery
...
Port 2111defbbf
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
f4a929a74a
[Glitch] Add missing null handling in notification reducer
...
Port 9487e8a4c0
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
7096611df6
[Glitch] Allow clients to fetch notifications made while they were offline
...
Port 9eaa47845c
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
7a953db0b6
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 34cb1a5461
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
6a0f32b359
Fix error when unmuting a domain without listing muted domains first
2018-05-29 16:26:39 +02:00
Thibaut Girka
5ad747727f
[Glitch] Replace onScrollToBottom with onLoadMore
...
Port 01d10b0bd8
to glitch-soc
2018-05-27 20:40:58 +02:00
Thibaut Girka
c7e5a0af57
Do not needlessly refresh pinned toots
...
Port missing part of b29feb5c67
to glitch-soc
2018-05-27 20:40:58 +02:00
Thibaut Girka
4f2bf28a86
[Glitch] Change icon for domain blocks
...
Port 3774cbce91
to glitch-soc
2018-05-27 20:40:58 +02:00
Thibaut Girka
89f4e0298c
[Glitch] Add option to show only local toots in timeline preview
...
Port missing changes from 6528c0c101
to glitch-soc
2018-05-27 20:39:25 +02:00
Thibaut Girka
b2a316bc16
[Glitch] Use streaming API for standalone timelines on /about and /tag pages
...
Port 895e3c2e6c
to glitch-soc
2018-05-27 20:39:25 +02:00
Thibaut Girka
2a78acb354
Change direct message warning to match upstream
2018-05-27 15:46:00 +02:00
Thibaut Girka
185bc62a15
Implement client-size image resizing from upstream
2018-05-27 11:02:54 +02:00
Thibaut Girka
dc67caa371
Port upstream's result section headers ( fixes #366 )
2018-05-27 11:02:44 +02:00
Thibaut Girka
f9a8240394
Fix caret position after inserting suggestions ( fixes #281 )
2018-05-26 12:17:03 +02:00
Thibaut Girka
2e017e752f
Remove unneeded code now that attachment URL isn't appended to toots
2018-05-26 12:17:03 +02:00
Thibaut Girka
2b26e7ed5f
[Glitch] Use .star-icon instead of hardcoding color in detailed statuses
...
Port 6d50785928
to glitch-soc
2018-05-25 11:16:11 +02:00
ThibG
e2697a3657
Merge pull request #505 from ThibG/glitch-soc/features/fetch-relationships-on-search
...
[Glitch] Fetch relationships for search results in UI
2018-05-23 18:54:51 +02:00
Thibaut Girka
bdfce657fb
Change notification cleaning checkbox color ( fixes #511 )
2018-05-23 18:29:15 +02:00
Thibaut Girka
cdb1d08119
[Glitch] Fetch relationships for search results in UI
...
Port webui changes from 750f3e64c9
to glitch-soc
2018-05-22 13:05:40 +02:00
Thibaut Girka
3315877afe
Fix width only being set for standalone media
2018-05-21 18:25:41 +02:00
Thibaut Girka
df3fa2cb78
[Glitch] Use real container width in MediaGallery srcSet
...
Port 765a8dad9a
to glitch-soc
2018-05-21 17:55:07 +02:00
Thibaut Girka
4e5afb1c41
[Glitch] Do not override the default push notification settings
...
Port 6bee19117f
to glitch-soc
2018-05-21 17:52:26 +02:00
Thibaut Girka
cabd24ffc4
Recover glitch-soc specific styles that were removed by accident
2018-05-21 15:56:47 +02:00
Thibaut Girka
8a42e4c450
In footer, replace text "Mastodon" with logo
...
Port SCSS changes from 95385ebe3e
to glitch-soc
2018-05-20 11:29:06 +02:00
Thibaut Girka
99fccdb4e4
Add preference to hide following/followers lists
...
Port SCSS from aeceb63275
2018-05-20 11:28:58 +02:00
Thibaut Girka
6452d871ca
[Glitch] Improvements to toots display in admin view
...
Port SCSS changes from 4072475241
(I'm sorry for the animated rainbows)
2018-05-20 11:28:58 +02:00
Thibaut Girka
72c5d3dd80
Prevent click on video from opening detailed toot
2018-05-18 17:49:51 +02:00
Thibaut Girka
b6133837ad
Widen clickable area of toots
2018-05-18 17:33:58 +02:00
David Yip
d6aa91f87d
Merge pull request #487 from ThibG/glitch-soc/cleanup
...
Remove service worker code that has never been used
2018-05-18 08:37:31 -05:00
David Yip
7deaadb048
Merge pull request #488 from ThibG/glitch-soc/features/accounts-custom-emoji
...
[Glitch] Enable custom emojis in profiles
2018-05-18 07:55:00 -05:00
Thibaut Girka
4c835854d6
[Glitch] Open video modal on public UI
...
Port efc482361b
to glitch-soc
2018-05-17 18:37:00 +02:00
Thibaut Girka
1ea94fdaee
[Glitch] Combine similar components into one on public UI
...
Port fa7cdbeb67
to glitch-soc
2018-05-17 18:37:00 +02:00
Thibaut Girka
ef620dfadd
[Glitch] Show card modal on public pages
...
Port d006271514
to glitch-soc
2018-05-17 18:37:00 +02:00
Thibaut Girka
f4a64b8091
[Glitch] Enable custom emojis in profiles
...
Port 4055ce490c
to glitch-soc
2018-05-17 15:57:16 +02:00
Thibaut Girka
717e7d8872
Remove service worker code that has never been used
2018-05-17 15:39:37 +02:00
ThibG
d3117e444d
Merge pull request #405 from ThibG/glitch-soc/features/dm-from-menu
...
[Glitch] Feature: Direct message from menu
2018-05-16 20:17:08 +02:00
ThibG
ec8a7b4164
Merge pull request #485 from ThibG/glitch-soc/fixes/light-theme-textarea-color
...
Fix mastodon-light background color of the composer textarea when posting
2018-05-16 20:16:59 +02:00
Thibaut Girka
04eeaa0fa4
[Glitch] Reword the direct message warning
...
Port 53c2164e9c
to glitch-soc
2018-05-16 19:45:30 +02:00
Thibaut Girka
c77a4d8c51
[Glitch] Feature: Direct message from Statuses
...
Port 7a06bd7085
to glitch-soc
2018-05-16 19:45:30 +02:00
Thibaut Girka
a8d5a4a74e
[Glitch] Fix issues with sending direct messages from user profile
...
Port 4be5383b91
to glitch-soc
2018-05-16 19:45:30 +02:00
Thibaut Girka
c5d2dcb562
[Glitch] Feature: Direct message from menu
...
Port df62fc20bf
to glitch-soc
2018-05-16 19:45:30 +02:00
Thibaut Girka
8567ffd27d
Fix mastodon-light background color of the composer textarea when posting
2018-05-16 19:37:44 +02:00
Thibaut Girka
f7b9911f71
Fix modals testing for props.noEsc ( fixes #482 )
2018-05-15 10:39:12 +02:00
Thibaut Girka
873f33d9ff
Change local settings SCSS to be more consistent with modals
2018-05-14 21:39:04 +02:00
beatrix
b221cc1707
Merge pull request #469 from ThibG/glitch-soc/features/glitch-light-theme
...
Port Sylvhem's mastodon-light to glitch flavour
2018-05-13 18:57:58 -04:00
ThibG
53c6402bd6
Merge pull request #479 from ThibG/glitch-soc/fixes/modal-root-keyup
...
Fix root modal's keyup handling (Fixes #478 )
2018-05-11 23:04:12 +02:00
Thibaut Girka
336d5fecdb
Fix root modal's keyup handling ( Fixes #478 )
2018-05-11 22:42:32 +02:00
ThibG
692681241f
Merge pull request #475 from ThibG/fixes/update-scss
...
Update SCSS from upstream
2018-05-11 16:51:14 +02:00
Thibaut Girka
eafdb65af9
[Glitch] Fix contact info styling on landing page
2018-05-11 16:05:47 +02:00
Thibaut Girka
951dee676d
Update SCSS for tables
2018-05-11 14:48:19 +02:00
Thibaut Girka
fe36fabef1
Update SCSS for statuses public view
2018-05-11 14:43:26 +02:00
Thibaut Girka
944bac0b41
[Glitch] Adjust RTL styles for landing page
...
Port aef3f2775e
to glitch-soc
2018-05-11 14:34:23 +02:00
Thibaut Girka
5c96717144
Update forms SCSS from upstream
2018-05-11 14:31:18 +02:00
Thibaut Girka
86c477df23
Update SCSS to match “Show card modal on public pages”
2018-05-11 14:20:46 +02:00
Thibaut Girka
d0641e77ac
Update SCSS for about/landing page
2018-05-11 14:18:52 +02:00
Thibaut Girka
2a85b97eb6
Update admin page SCSS from upstream
2018-05-11 14:13:59 +02:00
Thibaut Girka
3c7d7ec228
[Glitch] Use plaintext value for field value tooltips in web UI
...
Port 8b63d39427
to glitch-soc
This doesn't change anything for glitch-style fields, but those will go
away eventually
2018-05-10 14:11:23 +02:00
Thibaut Girka
0033dbd115
Add bot badge to account headers in the WebUI
2018-05-10 00:05:08 +02:00
Thibaut Girka
2e2758c25e
Adapt account fields rendering code in the WebUI to match upstream
2018-05-10 00:03:34 +02:00
Thibaut Girka
b8f8a3ea58
Update glitch-soc style to match new bio fields markup
2018-05-10 00:03:34 +02:00
Spencer Alves
31d760f56d
Add an extra icon to indicate that a status is part of a conversation
2018-05-07 22:10:34 -07:00
Thibaut Girka
dc597005b3
Port Sylvhem's mastodon-light to glitch flavour
2018-05-07 17:00:02 +02:00
beatrix
e774936358
Merge pull request #468 from ThibG/glitch-soc/features/reports-improvements
...
Various improvements to the reports modal
2018-05-07 09:45:13 -04:00
Thibaut Girka
3333cce41e
Hide media in report modal regardless of whether they are marked sensitive
...
The rationale behind this is that if the user wants to report violent media,
they might not want to see it repeatedly. The “sensitive” property is still
kept, displaying different messages for hidden media depending on whether
they are marked as sensitive.
2018-05-07 15:00:55 +02:00
Thibaut Girka
49181d497f
[Glitch] Allow report modal to be up to 80% of viewport height
...
Port bddb330a8a08b7459c299fb56ae8770c3ac69af5 to glitch-soc
2018-05-07 14:59:22 +02:00
Thibaut Girka
d5e0e665df
[Glitch] Also display replies in report modal
...
Port c88e12fca622c46a361a5c751a529e77aa5bf2ba to glitch-soc
2018-05-07 14:55:16 +02:00
Thibaut Girka
557db7ae6d
Fix color of disabled boost buttons ( fixes #466 )
2018-05-07 13:37:29 +02:00
David Yip
d01cb2c8e3
Merge pull request #465 from ThibG/glitch-soc/rollback-scroll-changes
...
Glitch soc/rollback scroll changes
2018-05-06 17:39:07 -05:00
Thibaut Girka
04a8aef9d2
Revert "[Glitch] Prevent timeline from moving when cursor is hovering over it"
...
This reverts commit 1c75c7901f
.
2018-05-06 21:50:33 +02:00
Thibaut Girka
82421dc2e2
Revert "[Glitch] Do not re-position scroll when loading more (inserting items from below)"
...
This reverts commit ca62d8bcc6
.
2018-05-06 21:50:26 +02:00
Thibaut Girka
1bc1d8e676
Fix glitch high-contrast skin text colors
...
Port from e0c3d950d1
2018-05-06 21:00:35 +02:00
beatrix
f5f840cdb3
Merge pull request #462 from ThibG/glitch-soc/features/dropdowns-accessibility
...
Improve accessibility of toot dropdown menu
2018-05-06 12:12:20 -04:00
beatrix
923e79ea00
Merge pull request #461 from ThibG/glitch-soc/fixes/emoji-picker-placement
...
[Glitch] Place emoji picker top if it is closer to the bottom of the viewport
2018-05-06 11:33:09 -04:00
beatrix
1cd9812d52
Merge pull request #460 from ThibG/glitch-soc/features/do-not-scroll-when-mouse-over
...
Prevent timeline from moving when cursor is hovering over it
2018-05-06 11:32:56 -04:00
beatrix
c21fe3e7a0
Merge pull request #459 from ThibG/glitch-soc/features/text-color-variables
...
Add text color variables + minor SCSS fixes + high contrast skin
2018-05-06 11:32:42 -04:00
beatrix
3f7348c436
Merge pull request #449 from ThibG/glitch-soc/features/upstream-account-items
...
Support upstream bio items / custom account fields
2018-05-06 11:32:05 -04:00
Thibaut Girka
2b5821b86b
Fix color of status icons in glitch-soc high contrast skin
2018-05-06 11:31:05 +02:00
Thibaut Girka
8abac3dcb8
minor fix
2018-05-05 22:38:15 +02:00
Thibaut Girka
345d5aeba1
[Glitch] Add high-contrast theme
2018-05-05 22:33:02 +02:00
Thibaut Girka
18c7b739eb
Move attachment-lists out of lists.scss
2018-05-05 22:33:02 +02:00
Thibaut Girka
995eea1836
[Glitch] Fix text color in "show more" link inside boost confirmation modal
...
Port b5d0bf338c
to glitch-soc
2018-05-05 22:33:02 +02:00
Thibaut Girka
0bf81fde9b
Fix link colors in report modal
2018-05-05 22:33:02 +02:00
Thibaut Girka
c58ee84022
[Glitch] Add color variables of texts for better accesibility
...
Port e5ad96390e
and related to glitch-soc
2018-05-05 22:33:02 +02:00
Thibaut Girka
a565aa6530
[Glitch] Update SCSS of admin and setting pages
...
Port the SCSS changes from 18d4e03e6b
to glitch-soc
2018-05-05 17:58:01 +02:00
Thibaut Girka
6c4ea9c000
[Glitch] Improve styling of closed registrations message
...
Port SCSS changes from f67fe3ebe8
to glitch-soc
2018-05-05 17:43:09 +02:00
Thibaut Girka
ca62d8bcc6
[Glitch] Do not re-position scroll when loading more (inserting items from below)
...
Port 554653a423
to glitch-soc
2018-05-05 17:18:55 +02:00
Thibaut Girka
1c75c7901f
[Glitch] Prevent timeline from moving when cursor is hovering over it
...
Port 9188537f5f
to glitch-soc
2018-05-05 17:18:25 +02:00
Thibaut Girka
eea6b78afc
Improve accessibility of toot dropdown menu
...
* Prevent Enter keypresses from triggering dropdown display toggle twice
* Give focus to first/selected item of dropdown menus
* Implement keyboard navigation in generic dropdown menus
Partial port from ef7d64c801
to glitch-soc
2018-05-05 17:11:48 +02:00
Thibaut Girka
02876fd33c
[Glitch] Place emoji picker top if it is closer to the bottom of the viewport
...
Port a661a25845
to glitch-soc
2018-05-05 16:58:20 +02:00
Thibaut Girka
41fe73f35c
[Glitch] Improve relative timestamps in web UI
...
Port 07e5dcb65f
to glitch-soc flavour
2018-05-02 13:45:40 +02:00
Thibaut Girka
2df57af401
Implement tootsuite-style account fields
...
glitch-soc-style still in backup, both sharing the same SCSS style
2018-04-29 18:48:45 +02:00
Thibaut Girka
fd7f212f15
Fix style of account fields form
2018-04-29 18:48:44 +02:00
beatrix
5bd8261c19
Merge pull request #448 from m4sk1n/glitch-pl
...
🌍 : 🇵🇱 ⬆️
2018-04-27 10:31:08 -04:00
Marcin Mikołajczak
55f3a1a989
🌍 : 🇵🇱 ⬆️
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-04-27 14:15:38 +02:00
Thibaut Girka
2ed804d4ca
Use new getDerivedStateFromProps instead of deprecated componentWillReceiveProps
...
As we are already using the new getSnapshotBeforeUpdate lifecycle method,
we apparently cannot use the deprecated ones at all in this component.
2018-04-27 01:24:55 +02:00
Thibaut Girka
8be1573a6e
Tentative fix for #446
2018-04-27 00:59:36 +02:00
beatrix
cd9c602a0e
Merge pull request #401 from ThibG/glitch-soc/features/unfold-thread
...
Port the “unfold thread” feature from Mastodon's UI to glitch-soc flavour
2018-04-26 11:34:14 -04:00
beatrix
53c49a3f76
Merge pull request #438 from ThibG/glitch-soc/fixes/j-k-hotkeys-pinned
...
[Glitch] Fix the hot key (j, k) does not function correctly when ther…
2018-04-26 11:33:48 -04:00
beatrix
644916e33c
Merge pull request #439 from ThibG/glitch-soc/fixes/emoji-shortcode-inline
...
[Glitch] Do not set emoji as inline-block
2018-04-26 11:33:36 -04:00
beatrix
f2c6ed24d3
Merge pull request #440 from ThibG/glitch-soc/fixes/video-fullscreen
...
[Glitch] Fix fullscreen video player
2018-04-26 11:33:24 -04:00
Una Thompson
c3efd20a9c
Fix fade being colored wrongly for DMs and upon focus
2018-04-24 11:34:17 -04:00
Thibaut Girka
3e703fe757
Fix actions modal on mobile ( fixes #441 )
2018-04-23 23:18:36 +02:00
Thibaut Girka
fdb7cf8a56
[Glitch] Fix fullscreen video player
...
Port 53b1d88873
to glitch-soc
2018-04-23 20:38:08 +02:00
Thibaut Girka
bc3be9ac5b
[Glitch] Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline.
...
Port 23106844a1
to glitch-soc
2018-04-22 23:11:16 +02:00
Thibaut Girka
7315d4f3e7
[Glitch] Do not set emoji as inline-block
...
Port 597948fb13
to glitch-soc
2018-04-22 22:10:53 +02:00
Thibaut Girka
deb6517638
[Glitch] Do not overwrite some status attributes in reducer
...
Backport 59b769ff06
2018-04-22 19:19:01 +02:00
Thibaut Girka
4e4a5fc1ad
Add show more/less toggle for entire threads in web UI
...
Inspired from b9b01bf14a
but using component
properties instead of redux store for hidden/revealed state.
2018-04-22 19:19:01 +02:00
Thibaut Girka
5ab80ffadd
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
2018-04-22 19:18:15 +02:00
Thibaut Girka
270d5e9b72
[Glitch] Fix style of legacy column headers
...
Backports 6661ae14b0
2018-04-22 19:17:10 +02:00
Thibaut Girka
a51aa91caf
[Glitch] Fix button hiding when header title is too long
...
Port 95da1b3351
to glitch-soc
2018-04-22 19:17:10 +02:00
Thibaut Girka
8c190e6235
[Glitch] Fix column headers accessibility
...
Port c6d5ea8695
to glitch-soc.
SCSS fix inspired by 4cf5144099
.
2018-04-22 19:17:10 +02:00
beatrix
64f74da493
Merge pull request #432 from ThibG/glitch-soc/features/reblog-private
...
Glitchsoc-specific changes to allow boosting own private toots
2018-04-22 12:32:58 -04:00
beatrix
4f6a459984
Merge pull request #421 from ThibG/glitch-soc/features/custom-emoji-api
...
[Glitch] retrieve custom emoji list via API instead of before page load
2018-04-22 12:10:48 -04:00
beatrix
69710cf17b
Merge pull request #427 from ThibG/glitch-soc/fixes/scroll-behavior
...
Improve ScrollableList behavior
2018-04-22 12:09:52 -04:00
beatrix
d53630b9ed
Merge pull request #434 from ThibG/glitch-soc/fixes/public-inline-video
...
Fix video player on toot public views
2018-04-22 12:09:11 -04:00
beatrix
2273eb43e7
Merge pull request #433 from ThibG/glitch-soc/fixes/status-filtering
...
Status filtering fixes from upstream
2018-04-22 12:08:12 -04:00
beatrix
1b58c44557
Merge pull request #435 from ThibG/glitch-soc/features/public-modals
...
[Glitch] Show media modal on public pages
2018-04-22 12:07:29 -04:00
Una Thompson
880db71121
Add fade and margin to collapsed statuses
2018-04-22 11:34:19 -04:00
Thibaut Girka
e4b0a92c0f
Fix video player on toot public views
2018-04-20 16:08:46 +02:00
Thibaut Girka
d6693f3ae3
[Glitch] Show media modal on public pages
...
Port 47d2277ef1
to glitch-soc
2018-04-20 15:58:36 +02:00
Thibaut Girka
f15ee5fdb9
[Glitch] Fix status filtering in contexts reducer
...
Port 899cca061b
to glitch-soc
2018-04-19 16:43:02 +02:00
Thibaut Girka
f7ec78e220
[Glitch] Do not filter the status collection after muting and blocking
...
Port ce0d30feb7
to glitch-soc
2018-04-19 16:42:27 +02:00
Thibaut Girka
74bfb1e579
Fix auto-collapsed toots making the TL jump ( fixes #417 )
2018-04-19 11:30:42 +02:00
Thibaut Girka
f63da992fc
Clean up dead code
2018-04-19 11:30:42 +02:00
Thibaut Girka
fe20ada59a
Use React's new lifecycles for scrollable lists
2018-04-19 11:29:37 +02:00
Thibaut Girka
f83dc9507f
Glitchsoc-specific changes to allow boosting own private toots
2018-04-19 11:24:29 +02:00
Thibaut Girka
9b72f23fdd
Only compute height dynamically for standalone media
...
This prevents changing the status' height and triggering jumps in the TL
2018-04-19 11:16:18 +02:00
Thibaut Girka
46b36c44ce
[Glitch] Make detailed status' media gallery standalone
2018-04-19 11:16:18 +02:00
Thibaut Girka
e0bffe8856
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 865c7e7178
* 62d18a3f9b
* 15ec9431be
* c1d44284ca
2018-04-19 11:16:18 +02:00
Thibaut Girka
c4209e12f6
Use javascript to set MediaGallery height automatically
2018-04-19 11:16:18 +02:00
Thibaut Girka
b283f463c9
Revert some glitch-specific refactoring
...
In order to keep my sanity when porting changes between glitch-soc and upstream.
2018-04-19 11:16:18 +02:00
Thibaut Girka
5cd64fd6c6
[Glitch] retrieve custom emoji list via API instead of before page load
...
Port f3db0d6ecc
to glitch-soc
2018-04-19 11:12:52 +02:00
ThibG
ccb708e614
Merge pull request #430 from ThibG/glitch-soc/features/bookmarks
...
Fix the bookmark column pinning fix…
2018-04-17 11:46:31 +02:00
Thibaut Girka
42e4225e03
Fix the bookmark column pinning fix…
2018-04-17 11:24:07 +02:00
ThibG
83e2740b44
Merge pull request #429 from ThibG/glitch-soc/features/bookmarks
...
Fix pinning the bookmarks column (fixes #428 )
2018-04-16 23:24:51 +02:00
Thibaut Girka
2b30d057b6
Fix pinning the bookmarks column ( fixes #428 )
2018-04-16 22:52:45 +02:00
David Yip
e502d066ef
Merge pull request #424 from ThibG/glitch-soc/features/video-player-improvements
...
Backport a few MediaGallery/Video changes from upstream (fixes #423 )
2018-04-16 14:41:36 -05:00
Thibaut Girka
aac3d4b481
Fix extended video player (gifv) modal size
...
It was currently full-size
2018-04-14 21:47:56 +02:00
Thibaut Girka
9a3fd77c72
[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UI
...
Port the video-player part of 8c85fd26bb
to
glitch-soc. MediaGallery part ignored since it has diverged quite a bit.
This fixes #423
2018-04-14 17:35:45 +02:00
Thibaut Girka
6153d6a6dc
[Glitch] Fix media button type
...
Port 6cb5d71e5f
to glitch-soc
2018-04-14 12:30:55 +02:00
Thibaut Girka
4b1909612a
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 219b28e172
to glitch-soc
2018-04-14 12:27:14 +02:00
imncls
fe3a9f5ea4
Add missing Japanese translation
2018-04-14 07:53:56 +09:00
David Yip
605016368d
Merge pull request #419 from ThibG/glitch-soc/features/bookmarks
...
Bookmarks
2018-04-13 16:38:15 -05:00
David Yip
f42e335e19
Merge pull request #418 from ThibG/glitch-soc/fixes/composer-dropdowns
...
Place composer dropdown menus top if they are closer to the bottom of the viewport
2018-04-12 03:28:22 -05:00
David Yip
ef678ae350
Merge pull request #416 from ThibG/glitch-soc/features/media-modal
...
Port various media modal improvements to glitch-soc
2018-04-12 00:20:19 -05:00
Thibaut Girka
8b3d03067b
Add glitch-soc front-end support for bookmarks
...
Unlike boosts and like, there is no confirmation dialog as misclicking
can be recovered without another user seeing it.
2018-04-11 21:05:34 +02:00
Thibaut Girka
9b6e579c76
Update glitch-soc style to match changes to reports UI
...
Port style changes from 5a166a19a7
2018-04-11 19:15:42 +02:00
Thibaut Girka
d1bfe4cdad
Place composer dropdown menus top if they are closer to the bottom of the viewport
2018-04-10 20:52:31 +02:00
Thibaut Girka
d8dea31e0c
[Glitch] Fix video player height
...
Port 5eea3f9877
to glitch-soc
2018-04-09 01:08:51 +02:00
Thibaut Girka
c2b7080a6e
[Glitch] Refactor scss
...
Port 480131a376
to glitch-soc
2018-04-09 01:08:50 +02:00
Thibaut Girka
27ad9247a3
Fix video modal
2018-04-09 00:11:10 +02:00
Thibaut Girka
9a5a49f17c
[Glitch] Avoid using JS to set height in MediaModal
...
Port 010c71f19c
to glitch-soc
2018-04-08 23:18:24 +02:00
Thibaut Girka
89f5ae00a5
[Glitch] Improved media modal
...
Port d6e88e29e2
to glitch-soc
2018-04-08 23:15:25 +02:00
Thibaut Girka
a5a305feb5
[Glitch] Allow to open a modal for embedded photo
...
Port 16a49799cf
to glitch-soc
2018-04-08 23:06:33 +02:00
Thibaut Girka
2a4785a250
Fix video playback in glitch-soc detailed statuses
2018-04-08 12:22:12 +02:00
beatrix
f5dfd3fae5
Merge pull request #412 from ThibG/glitch-soc/cleanup
...
Remove duplicate message entries (minor code cleanup)
2018-04-04 11:36:54 -04:00
Thibaut Girka
e57ed1cb27
Update accounts SCSS for public pages
2018-04-04 15:40:59 +02:00
Thibaut Girka
7518a4b9d7
Remove duplicate message entries
2018-04-04 12:19:00 +02:00
Thibaut Girka
e1e4a53496
[Glitch] Fix: Prevent submission using same logic as submit button disabling.
...
Port 7d791f494b
to glitch-soc
2018-04-02 20:04:18 +02:00
beatrix
766a008931
Merge pull request #380 from ThibG/glitch-soc/features/domain-block-ui
...
Port #6628 to glitch-soc flavour
2018-03-30 14:50:02 -04:00
Thibaut Girka
769c536db4
[Glitch] Remove pointer events on the entire UI when a dropdown menu is open
...
Port 95fce1bca0
to glitch-soc
2018-03-30 12:45:23 +02:00