Thibaut Girka
7baf15675f
Add local setting to disable swipe-to-change-columns
5 years ago
Thibaut Girka
e77ceb1b29
[Glitch] Update dependencies for Node.js (2018-12-31)
Port compatibility changes from 8f5fdab5bf
to glitch-soc
5 years ago
Thibaut Girka
056a8a8ee4
Allow disabling media confirmation from the confirmation dialog itself
6 years ago
Thibaut Girka
490d8fff0b
Remove dead code
6 years ago
Thibaut Girka
c03cbb9471
[Glitch] Save onlyMedia prop when pinning column
Port 5ea643b279
to glitch-soc
6 years ago
Thibaut Girka
1a9e78b9bc
[Glitch] Add exact attribute to WrappedRoute for community timeline
Port 46061dc041
to glitch-soc
6 years ago
Thibaut Girka
1fb4bf87f7
[Glitch] Add media timeline
Port 7403e5d306
to glitch-soc
6 years ago
Thibaut Girka
36d27e2891
Sandbox toot embeds in the embed modal
It should not be necessary thanks to our Content Security Policy, but best
be sure in case a server's CSP is incorrect. Also, avoids a CSP warning about
loading remote scripts.
6 years ago
Thibaut Girka
39c8a71df8
Do not crash the whole UI when loading an invalid column
6 years ago
Thibaut Girka
bf92e7aaa6
[Glitch] Implement adding a user to a list from their profile
Port bb5558de62
to glitch-soc
6 years ago
Thibaut Girka
bb1103d974
Really fix HotKeys
6 years ago
Thibaut Girka
d0b1369a85
Fix app-wide hotkeys randomly failing to work
6 years ago
Thibaut Girka
a3677a828d
[Glitch] Change documentation URL
Port 28401962ca
to glitch-soc
6 years ago
Thibaut Girka
fa18859b20
[Glitch] Adjust beforeUnload conditions
Port 05f90e3695
to glitch-soc
6 years ago
Thibaut Girka
1cb3af21c5
Autofocus comment textarea in report modal
6 years ago
Thibaut Girka
59de2868c1
Fix media description in various media modals
6 years ago
Thibaut Girka
65f625cf23
[Glitch] Hide floating action button on thread views
Port f66a786029
to glitch-soc
6 years ago
Thibaut Girka
324ce93368
Add preferences for notification badges
6 years ago
Thibaut Girka
b28cbb8b25
Add unread notifications badge to the mobile navbar
6 years ago
Thibaut Girka
0f155af32a
Add notification badge to favicon
6 years ago
Thibaut Girka
d315f1dc02
Count unread notifications when window loses focus
6 years ago
Thibaut Girka
8e862ecf8d
[Glitch] Add aria-label to floatingActionButton
Port 7c12c7b124
to glitch-soc
6 years ago
Thibaut Girka
4a686ddf8a
[Glitch] On the mobile UI, move the search column to the right
Port 20bb90ced6
to glitch-soc
6 years ago
Thibaut Girka
37a00d4c1d
[Glitch] Add search item to tab bar for mobile devices
Port c9cbb8de70
to glitch-soc
6 years ago
Thibaut Girka
76a3f373e3
[Glitch] Use withRouter for TabsBar
Port 61e6275781
to glitch-soc
6 years ago
Thibaut Girka
5f035a2a1a
[Glitch] Move "compose" on mobile to floating action button
Port e72db6d9dd
to glitch-soc
6 years ago
Thibaut Girka
70c308c4aa
[Glitch] When search enabled, display hint in search popout
Port 7901f9f63e
to glitch-soc
6 years ago
Thibaut Girka
360fbf1bd4
Add pinned accounts editor
6 years ago
Thibaut Girka
c789181626
[Glitch] Add hotkey for follow requests
Port 25f6f41052
to glitch-soc
6 years ago
Thibaut Girka
0c091475df
Make non-link ColumnLinks behave as links
6 years ago
Thibaut Girka
534439e73b
Add focal points support in the composer
6 years ago
Thibaut Girka
175c2155a9
[Glitch] Compensate for scrollbar disappearing when media modal
Port 60df87f6f0
to glitch-soc
6 years ago
Thibaut Girka
d2b3eebe00
[Glitch] Show media modal on public timeline
Port e0b1e17bd0
to glitch-soc
6 years ago
Thibaut Girka
82ab5aacb2
Prevent scrolling main frame when navigating in image gallery with arrow keys
6 years ago
Thibaut Girka
02326a4322
[Glitch] Use LoadingBar instead of blur to indicate that an image is loading
Port 955d5d36e8
to the glitch-soc flavour
6 years ago
Thibaut Girka
b1ed2b1d03
Fix focusing search bar with hotkeys
6 years ago
Thibaut Girka
c600bcfe1d
Fix focusing composer textarea on “new toot” hotkey
6 years ago
Thibaut Girka
037228cf03
Fix routing issues, especially keyboards shortcuts changing location
6 years ago
Thibaut Girka
0bb1720495
Add client-side custom filter support to glitch-soc
Port cdb101340a
to glitch-soc,
but without dropping support for regexp filters yet.
6 years ago
Thibaut Girka
f0161702d8
[Glitch] Submit report using meta key
Port 64d7a63f18
to glitch-soc
6 years ago
Thibaut Girka
cc396f085d
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.
6 years ago
Thibaut Girka
f86d280fd6
Use props.router instead of context.router, as we are using withRouter
6 years ago
Thibaut Girka
fbc25bdd2d
[Glitch] Do not crash in getStatusIds when there is a gap in the timeline
Port b1938d7853
to glitch-soc
6 years ago
Thibaut Girka
4eba8c50c3
[Glitch] Allow clients to fetch notifications made while they were offline
Port cbf97c03bb
to glitch-soc
6 years ago
Thibaut Girka
0ad3eedd4c
[Glitch] Allow clients to fetch statuses made while they were offline
Port 9a1a55ce52
to glitch-soc
6 years ago
Thibaut Girka
8b98afa781
[Glitch] Replace onScrollToBottom with onLoadMore
Port b0664a5e6c
to glitch-soc
6 years ago
Thibaut Girka
07baa1ddb5
[Glitch] Open video modal on public UI
Port d9b2f84c92
to glitch-soc
6 years ago
Thibaut Girka
dfa60cb0a8
Fix modals testing for props.noEsc ( fixes #482 )
6 years ago
Thibaut Girka
769a48495c
Fix root modal's keyup handling ( Fixes #478 )
6 years ago
Thibaut Girka
7972464e71
[Glitch] Also display replies in report modal
Port c88e12fca6
to glitch-soc
6 years ago