Thibaut Girka
1222e0a381
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
b39f3648a7
Tentative fix for #446
2018-04-27 00:59:36 +02:00
beatrix
f4ed38272b
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
8f12afb599
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
1e9fe95e13
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
33691f4920
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
62bea7a290
Fix fade being colored wrongly for DMs and upon focus
2018-04-24 11:34:17 -04:00
Thibaut Girka
240833c023
Fix actions modal on mobile ( fixes #441 )
2018-04-23 23:18:36 +02:00
Thibaut Girka
51d276fb98
[Glitch] Fix fullscreen video player
...
Port 53b1d8887325160934dec7557e97a43ce2896264 to glitch-soc
2018-04-23 20:38:08 +02:00
Thibaut Girka
003d114332
[Glitch] Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline.
...
Port 23106844a10606dd0e04c8382281d5ff80d4bdd9 to glitch-soc
2018-04-22 23:11:16 +02:00
Thibaut Girka
105ffaef8f
[Glitch] Do not set emoji as inline-block
...
Port 597948fb1316d2e1de76be330db441786c571132 to glitch-soc
2018-04-22 22:10:53 +02:00
Thibaut Girka
b383c0688a
[Glitch] Do not overwrite some status attributes in reducer
...
Backport 386365090c9c9063941e3f7425c2e33c7d5c5b2a
2018-04-22 19:19:01 +02:00
Thibaut Girka
64d8d0464d
Add show more/less toggle for entire threads in web UI
...
Inspired from b6003afcdb1b89eb967a2b211e3b4e26aed9ac9d but using component
properties instead of redux store for hidden/revealed state.
2018-04-22 19:19:01 +02:00
Thibaut Girka
2888f74c12
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
2018-04-22 19:18:15 +02:00
Thibaut Girka
259bc9840b
[Glitch] Fix style of legacy column headers
...
Backports daefbd66a653b11a17be73b7b0a4ca200b466cec
2018-04-22 19:17:10 +02:00
Thibaut Girka
63d671b18f
[Glitch] Fix button hiding when header title is too long
...
Port ffb2b8ef8c3c7cd6f57860240378fac8d5964105 to glitch-soc
2018-04-22 19:17:10 +02:00
Thibaut Girka
abf7c5b850
[Glitch] Fix column headers accessibility
...
Port 08e4c78e78358c2847967e9cc34b4a6497be97e2 to glitch-soc.
SCSS fix inspired by 69f13e7bca90f4855e05a49dd69bba66f843134a.
2018-04-22 19:17:10 +02:00
beatrix
06fc278e4c
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
8f1ec48cbe
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
125e8c7f5a
Merge pull request #427 from ThibG/glitch-soc/fixes/scroll-behavior
...
Improve ScrollableList behavior
2018-04-22 12:09:52 -04:00
beatrix
cd5728b176
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
6fb610f865
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
e88ce27855
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
5f9b85a0cf
Add fade and margin to collapsed statuses
2018-04-22 11:34:19 -04:00
Thibaut Girka
e4dff10934
Fix video player on toot public views
2018-04-20 16:08:46 +02:00
Thibaut Girka
7a68079b3f
[Glitch] Show media modal on public pages
...
Port ff7941e652af1d54d9c991254556e7932a8b183c to glitch-soc
2018-04-20 15:58:36 +02:00
Jenkins
ed17e173d6
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
2018-04-19 22:17:23 +00:00
beatrix
ca2cbe8f0f
Fix webkit scrollbars ( #7191 )
...
* Revert "Make scroll bars wider (#7060 )"
This reverts commit 11715454d033784bf6176b75a954e5c28b5d79e5.
* for real make webkit scrollbar wider
2018-04-19 23:35:47 +02:00
Thibaut Girka
13fa8ec2c7
[Glitch] Fix status filtering in contexts reducer
...
Port 1a37d7e252aa41fd1c66e780e1a2a1426d8f3545 to glitch-soc
2018-04-19 16:43:02 +02:00
Thibaut Girka
f84b4d90cb
[Glitch] Do not filter the status collection after muting and blocking
...
Port fd87e5a53bcaafb886a675c76e9256015e9db897 to glitch-soc
2018-04-19 16:42:27 +02:00
Emelia Smith
b9c35785e2
Reports: Merge contents and comment columns ( #7189 )
2018-04-19 15:39:54 +02:00
Thibaut Girka
694337d9bb
Fix auto-collapsed toots making the TL jump ( fixes #417 )
2018-04-19 11:30:42 +02:00
Thibaut Girka
931a4d1ebf
Clean up dead code
2018-04-19 11:30:42 +02:00
Thibaut Girka
8f8b71a278
Use React's new lifecycles for scrollable lists
2018-04-19 11:29:37 +02:00
Thibaut Girka
3068384dbc
Glitchsoc-specific changes to allow boosting own private toots
2018-04-19 11:24:29 +02:00
Thibaut Girka
779aa707ec
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
52229405ed
[Glitch] Make detailed status' media gallery standalone
2018-04-19 11:16:18 +02:00
Thibaut Girka
dcc1c10937
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 90f12f2e5a41115a9a756f9dd38054736080d4f9
* b170627ceb8838c358aef1fcca9673ce4aa61ab8
* 11697d68942db7b97a4c7384e4fb4148a97b9122
* 56eb5c3f344f0342ac6f26a05748bc21c585a729
2018-04-19 11:16:18 +02:00
Thibaut Girka
f1e25b672a
Use javascript to set MediaGallery height automatically
2018-04-19 11:16:18 +02:00
Thibaut Girka
a95f8271be
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
1822ce89f9
[Glitch] retrieve custom emoji list via API instead of before page load
...
Port b08ab329f4d149fd414e0539574f49062c571a8a to glitch-soc
2018-04-19 11:12:52 +02:00
Jenkins
d55ab8e3e8
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
2018-04-19 01:17:38 +00:00
Eugen Rochko
ba917e15f6
Fix text color in "show more" link inside boost confirmation modal ( #7183 )
2018-04-19 02:36:31 +02:00
David Yip
d2b28ea51d
Merge remote-tracking branch 'glitchsoc/master' into gs-master
2018-04-18 19:31:53 -05:00
David Yip
78c145d3cb
db: make schema.rb version subsume bookmarks migration.
2018-04-18 19:08:35 -05:00
David Yip
16d5217502
Merge remote-tracking branch 'origin/master' into gs-master
...
Conflicts:
app/controllers/home_controller.rb
app/controllers/stream_entries_controller.rb
app/javascript/mastodon/locales/ja.json
app/javascript/mastodon/locales/pl.json
2018-04-18 18:48:12 -05:00
Eugen Rochko
ff87d1bc3e
Rescue SSL errors when processing mentions, remove useless line ( #7184 )
2018-04-19 00:53:31 +02:00
Marcin Mikołajczak
1957209efd
i18n: Update Polish translation ( #7181 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-04-19 00:14:21 +09:00
Lynx Kotoura
74dae9458d
Add color variables of texts for better accesibility ( #7125 )
...
* Add variables for text colors
* Change variables in sass files
* Apply text color variables for recently added colors
* Fix text colors of emoji mart anchors
* Fix text colors of search__input
* Fix text colors of text area of compose-form
* Fix icon colors of privacy dropdown and modal
* Inverted icon colors by classname
* Change variables in boost.scss
* Change action-button-color
* Fix text colors of pre-header
2018-04-18 16:52:15 +02:00
abcang
0ba49eca8b
Fix comparing id ( #7180 )
2018-04-18 16:50:19 +02:00