Eugen Rochko
2cdbfb39e8
[Glitch] Add profile directory to web UI
...
Port 79922ae20f
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-31 18:23:23 +02:00
ThibG
854a990d3c
[Glitch] Change window resize handler to switch to/from mobile layout as soon as needed
...
Port 15a82d48ea
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Eugen Rochko
024b9a24e0
[Glitch] Add audio player
...
Port f13761d84b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
ThibG
bbc1e15f39
[Glitch] Add special alert for throttled requests
...
Port 6fc1a84958
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
ThibG
47ffc93705
[Glitch] Add confirmation modal when logging out from the web app
...
Port d255ce2f1a
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Thibaut Girka
ee6653adcf
Fix crashes from favico.js crashing the entire web app
2019-08-29 12:03:05 +02:00
Thibaut Girka
ed4dbca6bc
Refactor the Columns Area code to be closer to upstream
2019-08-29 12:02:20 +02:00
ThibG
ec9ae03ad7
[Glitch] Improve focal point modal on mobile
...
Port dc83169865
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
ThibG
e27d8efacf
[Glitch] Allow clicking behind preview
...
Port a886bf3808
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko
6f3f392e8a
[Glitch] Fix edit media modal on small screens, touch events
...
Port 375f2f3864
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko
66af3222be
[Glitch] Fix tesseract.js being part of the common chunk
...
Port fe52fca65c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko
b3f63b601a
[Glitch] Add OCR tool to media editing modal
...
Port 41b188dce6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko
4982885bfa
[Glitch] Add media editing modal
...
Port da208e7d9b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko
f1de5093fb
[Glitch] Add option to disable real-time updates in web UI
...
Port c56e6fd7a1
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-16 16:51:08 +02:00
Thibaut Girka
65b1946489
Minor optimization regarding regexp filtering in timelines
2019-07-01 19:31:21 +02:00
ThibG
284ff65022
[Glitch] Fix swiping columns on mobile sometimes failing
...
Port 9668e42afd
to glitch-soc
2019-06-28 21:38:34 +02:00
Thibaut Girka
ad4ebd172a
Change search components classes and styling to match upstream
2019-06-28 11:13:41 +02:00
Thibaut Girka
aaa0c0bec7
Do not scroll in the compose panel on single-column
2019-06-16 19:13:22 +02:00
ThibG
7773b30b4f
[Glitch] List attachments in boost modal
...
Port 92ec50ad4b
to glitch-soc
2019-06-13 22:28:51 +02:00
ThibG
88c7d217a5
[Glitch] Only show profile directory link when it's enabled
...
Port 1b4dcc3f78
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka
5137951499
Fix notification badge
2019-06-13 22:15:31 +02:00
Thibaut Girka
a757cf567c
Replace link to favourites with link to bookmarks
2019-06-13 22:15:31 +02:00
Thibaut Girka
0a3bbb215c
Fix navigation panel
2019-06-13 22:15:31 +02:00
Thibaut Girka
9e4dd00b1a
Restore navigation bar position glitch-soc setting
2019-06-13 22:15:31 +02:00
Thibaut Girka
428a1603e2
Use forceSingleColumn only in automatic layout mode
2019-06-13 22:15:31 +02:00
Thibaut Girka
425efff741
Add app settings link to single-column mode
2019-06-13 22:15:31 +02:00
Eugen Rochko
769823518c
[Glitch] Add profile directory link to single column navigation panel
...
Port 4331f4948e
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Takeshi Umeda
2a1e7f779b
[Glitch] Improvement variable height in single column layout
...
Port 96ac52dabd
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
552d5f818a
[Glitch] Refactor footers in web UI into a single component
...
Port 7d2b4e9277
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
9cdb0fd8c5
[Glitch] Improvements to the single column layout
...
Port 6d4af23a69
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
04edd3fbdb
[Glitch] Add responsive panels to the single-column layout
...
Port a1bceb2cb6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
9a3e47d27c
[Glitch] Various improvements to single column layout
...
Port 106cfa7553
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
aa9377f77a
[Glitch] Add single-column mode
...
Port f9ca3d62b6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka
6819b3333e
Add option to display a warning before boosting toots lacking media descriptions
2019-06-10 16:24:09 +02:00
Thibaut Girka
c1619a5c24
[Glitch] Add keyboard shortcut to hide/show media
...
Port 7ee189fa60
and 9e238804ea
to glitch-soc
2019-05-27 19:43:15 +02:00
Aurélien Reeves
22541e98e2
[Glitch] Add confirm modal for unboosting toots
...
Port d225a952a8
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-10 18:56:01 +02:00
Eugen Rochko
52c09770fe
[Glitch] Add button to view context to media modal
...
Port 4aabc452d0
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 19:10:24 +02:00
Eugen Rochko
87a7a9a4df
[Glitch] Add blurhash
...
Port front-end changes from a6d2fe7165
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:07:44 +02:00
Thibaut Girka
c15b1aa00c
Fix crash in onboarding modal
...
Fixes #1027
2019-05-03 19:24:54 +02:00
Thibaut Girka
f5f0bd6c0a
Add high color privacy icons
...
Fixes #1015
2019-05-01 16:38:01 +02:00
Thibaut Girka
02bd678944
Add keyboard shortcut to collapse/uncollapse toots
2019-04-28 20:23:04 +02:00
Thibaut Girka
7ed89e9178
Add hotkey for bookmarking a toot
2019-04-28 20:23:04 +02:00
kedama
4ce6358787
[Glitch] Fix modal items cannot scroll on touch devices
...
Port 92ced1e94b
to glitch-soc
2019-04-22 22:57:39 +02:00
Thibaut Girka
5e4588524b
features/composer/index.js → ComposeForm
2019-04-22 20:15:47 +02:00
Thibaut Girka
2f2381a400
DrawerAccount → NavigationBar + NavigationContainer
2019-04-22 20:15:47 +02:00
Thibaut Girka
5264424b71
Move DrawerSearch to Search + SearchContainer
2019-04-22 20:15:47 +02:00
Thibaut Girka
e41c4ad61b
Rename flavours/glitch/features/drawer to flavours/glitch/features/compose
2019-04-22 20:15:47 +02:00
Thibaut Girka
619d55358f
Shift+click on column Back button to return to last pinable column
2019-04-17 18:40:40 +02:00
Thibaut Girka
a4db307b6a
When selecting a toot via keyboard, ensure it is scrolled into view
2019-04-17 10:07:33 +02:00
ThibG
5ca976c776
[Glitch] Add a “Block & Report” button to the block confirmation dialog
...
Port 36a6089a22
to glitch-soc
2019-03-26 17:44:00 +01:00
Thibaut Girka
8ded9a0c02
[Glitch] Internationalize unexpected error message
...
Port e8a1d0b4d4
to glitch-soc,
fixing a crash in the process
2019-02-18 19:49:06 +01:00
Thibaut Girka
d96df46a63
[Glitch] Rename from instance to server.
...
Port f308fb56ab
to glitch-soc
2019-02-10 22:19:26 +01:00
Thibaut Girka
07f0cf8573
[Glitch] Allow multiple files upload through web UI, including drag & drop
...
Port 640966f3fc
to glitch-soc
2019-02-10 21:44:14 +01:00
Thibaut Girka
5946d76d0a
[Glitch] Add missing rejection handling for Promises
...
Port missing parts from d88504ec84
to glitch-soc
2019-02-10 21:44:14 +01:00
Marek Ľach
43b2f021eb
Minor description corrections
2019-02-03 00:30:34 +01:00
Thibaut Girka
8dea30a0c7
[Glitch] Hide floating action button on search and getting started pages
...
Port 180a665f29
to glitch-soc
2019-01-20 11:54:38 +01:00
tmm576
30f3dad8e8
Allow event defaults on index for text data transfer ( #9840 )
2019-01-20 11:53:22 +01:00
Thibaut Girka
8ea1a8e033
[Glitch] make draggingOver state off correctly
...
Port e77cb61481
to glitch-soc
2019-01-16 14:50:17 +01:00
Thibaut Girka
07592234ac
Add local setting to disable swipe-to-change-columns
2019-01-05 21:47:48 +01:00
Thibaut Girka
6956a99a98
[Glitch] Update dependencies for Node.js (2018-12-31)
...
Port compatibility changes from 101a46ac24
to glitch-soc
2019-01-02 16:07:33 +01:00
Thibaut Girka
55e3dae600
Allow disabling media confirmation from the confirmation dialog itself
2018-12-18 21:54:34 +01:00
Thibaut Girka
79b793be2a
Remove dead code
2018-12-18 21:39:35 +01:00
Thibaut Girka
f39c452cab
[Glitch] Save onlyMedia prop when pinning column
...
Port 20c650b644
to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
498ff2b52e
[Glitch] Add exact attribute to WrappedRoute for community timeline
...
Port 4a0207e3ea
to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
0a87d07f97
[Glitch] Add media timeline
...
Port ccc240b59c
to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
e4b9a8da07
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.
2018-12-17 22:22:29 +01:00
Thibaut Girka
c0675a272e
Do not crash the whole UI when loading an invalid column
2018-11-28 22:36:01 +01:00
Thibaut Girka
e48b428ef3
[Glitch] Implement adding a user to a list from their profile
...
Port bb5558de62
to glitch-soc
2018-11-09 14:50:08 +01:00
Thibaut Girka
bf559a477a
Really fix HotKeys
2018-10-10 17:40:06 +02:00
Thibaut Girka
e968dcea13
Fix app-wide hotkeys randomly failing to work
2018-10-09 12:10:51 +02:00
Thibaut Girka
58cbb9ef8f
[Glitch] Change documentation URL
...
Port 7635a136c9
to glitch-soc
2018-10-07 22:56:24 +02:00
Thibaut Girka
c454db6f11
[Glitch] Adjust beforeUnload conditions
...
Port 05f90e3695
to glitch-soc
2018-09-28 17:09:25 +02:00
Thibaut Girka
634a1ddc6a
Autofocus comment textarea in report modal
2018-09-13 17:03:48 +02:00
Thibaut Girka
12abb0f530
Fix media description in various media modals
2018-09-11 18:29:19 +02:00
Thibaut Girka
22de1c6c17
[Glitch] Hide floating action button on thread views
...
Port 692d03239b
to glitch-soc
2018-09-11 16:29:46 +02:00
Thibaut Girka
3dc5051f03
Add preferences for notification badges
2018-09-07 20:37:17 +02:00
Thibaut Girka
9193dde5eb
Add unread notifications badge to the mobile navbar
2018-09-07 20:37:17 +02:00
Thibaut Girka
dc381facbd
Add notification badge to favicon
2018-09-07 20:37:17 +02:00
Thibaut Girka
44b647abe7
Count unread notifications when window loses focus
2018-09-07 20:37:17 +02:00
Thibaut Girka
c11159af5f
[Glitch] Add aria-label to floatingActionButton
...
Port e84ae0d8a2
to glitch-soc
2018-09-03 18:18:39 +02:00
Thibaut Girka
deb14b957a
[Glitch] On the mobile UI, move the search column to the right
...
Port 5f0b9c5d36
to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
fb195f37bb
[Glitch] Add search item to tab bar for mobile devices
...
Port 0e5e60a84b
to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
042b5212cd
[Glitch] Use withRouter for TabsBar
...
Port 2040094568
to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
e88fe59712
[Glitch] Move "compose" on mobile to floating action button
...
Port 1237c34997
to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
000b9f7b03
[Glitch] When search enabled, display hint in search popout
...
Port a91ef56e80
to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
dcb7f34684
Add pinned accounts editor
2018-08-22 16:18:23 +02:00
Thibaut Girka
0e9a426d5a
[Glitch] Add hotkey for follow requests
...
Port 25f6f41052
to glitch-soc
2018-08-20 21:25:02 +02:00
Thibaut Girka
466df752ba
Make non-link ColumnLinks behave as links
2018-08-20 20:08:13 +02:00
Thibaut Girka
02adce1ad8
Add focal points support in the composer
2018-08-18 17:53:20 +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
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
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
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
7833326959
[Glitch] Submit report using meta key
...
Port 10a8ac8b80
to glitch-soc
2018-06-21 22:28:50 +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