Commit Graph

64 Commits

Author SHA1 Message Date
Thibaut Girka
a681980307 Submit timeline markers closer to the moment they change 2020-09-17 15:22:56 +02:00
ThibG
00cd919750 [Glitch] Add hotkey for toggling content warning composer field
Port 6b6a9d0ea3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-09 11:14:20 +02:00
ThibG
9bd30b8dd5 [Glitch] Fix timeline markers not working on Chrome
Port 5aff2a6957 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-29 20:02:30 +02:00
Thibaut Girka
e135b293fa Fetch last read notification id to update unread notification count on load 2020-02-01 19:53:01 +01:00
ThibG
776352d329 [Glitch] Add hotkey for opening media files
Port a690b3e470 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-30 17:52:12 +01:00
Thibaut Girka
93b8aec7b7 Link move target account 2019-11-27 17:37:01 +01:00
Thibaut Girka
93cb162d4a Show acct of target account 2019-11-27 17:37:01 +01:00
Thibaut Girka
014c2cad21 Add moved account warning 2019-11-27 17:37:01 +01:00
Hinaloe
f940c5a1fb [Glitch] dont crash with null-ref
Port 8568018935 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06 14:50:27 +01:00
Eugen Rochko
9e2e623ebe [Glitch] Change single-column mode to scroll the whole page
Port aa22b38fdb to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-05 22:53:20 +02:00
Jeong Arm
cd2fce0318 [Glitch] Fix drag and drop link to composebox
Port 3abe003f59 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:35:17 +02:00
Eugen Rochko
840c36f320 [Glitch] Fix web UI allowing uploads past status limit via drag & drop
Port bdeff5ae15 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
Eugen Rochko
3665d554c5 [Glitch] Add timeline read markers API
Port e445a8af64 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-13 20:28:22 +02:00
Eugen Rochko
7fe2120dd5 [Glitch] Add profile directory to web UI
Port cb447b28c4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-31 18:23:23 +02:00
ThibG
6ee2501991 [Glitch] Change window resize handler to switch to/from mobile layout as soon as needed
Port bd4099d976 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Thibaut Girka
79725f659d Fix crashes from favico.js crashing the entire web app 2019-08-29 12:03:05 +02:00
Thibaut Girka
956c1cf82a Refactor the Columns Area code to be closer to upstream 2019-08-29 12:02:20 +02:00
Thibaut Girka
6ad870a410 Change search components classes and styling to match upstream 2019-06-28 11:13:41 +02:00
Thibaut Girka
127ead34c4 Restore navigation bar position glitch-soc setting 2019-06-13 22:15:31 +02:00
Thibaut Girka
b191861e15 Use forceSingleColumn only in automatic layout mode 2019-06-13 22:15:31 +02:00
Takeshi Umeda
1329308bc7 [Glitch] Improvement variable height in single column layout
Port d93b82af87 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
d99a661f08 [Glitch] Add responsive panels to the single-column layout
Port 1e5532e693 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
610b4b44c4 [Glitch] Add single-column mode
Port 9ddeb30f90 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka
b4d4138cf9 [Glitch] Add keyboard shortcut to hide/show media
Port a472190729 and 988342a56c to glitch-soc
2019-05-27 19:43:15 +02:00
Thibaut Girka
ac54292d69 Add high color privacy icons
Fixes #1015
2019-05-01 16:38:01 +02:00
Thibaut Girka
67fb9a8679 Add keyboard shortcut to collapse/uncollapse toots 2019-04-28 20:23:04 +02:00
Thibaut Girka
f3acf8f414 Add hotkey for bookmarking a toot 2019-04-28 20:23:04 +02:00
Thibaut Girka
eed2c9dd44 Rename flavours/glitch/features/drawer to flavours/glitch/features/compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
8d57c0e70e When selecting a toot via keyboard, ensure it is scrolled into view 2019-04-17 10:07:33 +02:00
Thibaut Girka
7ed2aeb6e9 [Glitch] Allow multiple files upload through web UI, including drag & drop
Port 750c67660d to glitch-soc
2019-02-10 21:44:14 +01:00
tmm576
9b5810b3e9 Allow event defaults on index for text data transfer (#9840) 2019-01-20 11:53:22 +01:00
Thibaut Girka
5684cd090c [Glitch] make draggingOver state off correctly
Port d6433b3931 to glitch-soc
2019-01-16 14:50:17 +01:00
Thibaut Girka
e77ceb1b29 [Glitch] Update dependencies for Node.js (2018-12-31)
Port compatibility changes from 8f5fdab5bf to glitch-soc
2019-01-02 16:07:33 +01:00
Thibaut Girka
490d8fff0b Remove dead code 2018-12-18 21:39:35 +01:00
Thibaut Girka
1a9e78b9bc [Glitch] Add exact attribute to WrappedRoute for community timeline
Port 46061dc041 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
1fb4bf87f7 [Glitch] Add media timeline
Port 7403e5d306 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
bb1103d974 Really fix HotKeys 2018-10-10 17:40:06 +02:00
Thibaut Girka
d0b1369a85 Fix app-wide hotkeys randomly failing to work 2018-10-09 12:10:51 +02:00
Thibaut Girka
fa18859b20 [Glitch] Adjust beforeUnload conditions
Port 05f90e3695 to glitch-soc
2018-09-28 17:09:25 +02:00
Thibaut Girka
324ce93368 Add preferences for notification badges 2018-09-07 20:37:17 +02:00
Thibaut Girka
0f155af32a Add notification badge to favicon 2018-09-07 20:37:17 +02:00
Thibaut Girka
d315f1dc02 Count unread notifications when window loses focus 2018-09-07 20:37:17 +02:00
Thibaut Girka
37a00d4c1d [Glitch] Add search item to tab bar for mobile devices
Port c9cbb8de70 to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
c789181626 [Glitch] Add hotkey for follow requests
Port 25f6f41052 to glitch-soc
2018-08-20 21:25:02 +02:00
Thibaut Girka
b1ed2b1d03 Fix focusing search bar with hotkeys 2018-07-24 21:15:21 +02:00
Thibaut Girka
c600bcfe1d Fix focusing composer textarea on “new toot” hotkey 2018-07-24 21:15:21 +02:00
Thibaut Girka
037228cf03 Fix routing issues, especially keyboards shortcuts changing location 2018-07-24 21:14:50 +02:00
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.
2018-07-10 14:06:04 +02:00
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.
2018-05-31 14:39:02 +02:00
Thibaut Girka
f86d280fd6 Use props.router instead of context.router, as we are using withRouter 2018-05-31 14:39:02 +02:00