Commit graph

262 commits

Author SHA1 Message Date
Pleclown
3a59ffde8d
Adding 12 hours option for polls ()
* Adding 12 hours option for polls

Adding 12 hours option for polls

* Adding 12 hours option for polls

Missing > on a line
2022-12-15 16:20:34 +01:00
Alex Stine
903e5a3f45
Fix hidden label causing accessibility issue for search inputs ()
* Try unhiding search label.

* Use aria-label. Remove label as empty labels are useless.

* Remove addition of package-lock.json.
2022-12-15 16:20:21 +01:00
trwnh
07229089a6
Change in-app links to keep you in-app ()
* Change in-app links to keep you in-app

* refactor Permalink into Link

* rewrite link hrefs in status content

* please linter

* please linter again
2022-11-13 21:10:20 +01:00
Claire
31005aad12
Add the ability to edit media attachment metadata for any unattached media () 2022-11-11 21:22:17 +01:00
Claire
5e796dc6f8
Remove “No description added” media warning in edit mode ()
Editing media metadata is not currently possible in edit mode, the button would
open the modal but saving the changes would error out.
2022-11-11 09:20:24 +01:00
Claire
608343c135
Fix opening the language picker scrolling the single-column view to the top ()
Fixes 
2022-11-08 03:52:52 +01:00
Sunny Ripert
c95d9aab56
Fix JavaScript console error on upload editing status () 2022-11-05 13:43:47 +01:00
Claire
9616f5bb22
Fix compose form submission reloading web interface ()
* Fix compose form submission reloading web interface

Fix regression introduced by 

* Fix various compose form buttons being handled like submit buttons

* Fix coding style issue

* Fix missing onClick prop check
2022-11-05 13:43:37 +01:00
Sunny Ripert
0165449e3a
A11y: Explicit <form> element around compose area () 2022-11-04 17:08:08 +01:00
Eugen Rochko
30ef110224
Fix upload progress not communicating processing phase in web UI () 2022-10-29 20:05:53 +02:00
Eugen Rochko
55af04b253
Fix logged out search and changed logged-in search placeholder () 2022-10-29 13:32:49 +02:00
Eugen Rochko
0ca29eaa3f
Change layout of posts in web UI () 2022-10-25 19:02:21 +02:00
Eugen Rochko
5452af2188
Fix redirecting to /publish when compose form is visible in web UI () 2022-10-23 23:37:58 +02:00
Eugen Rochko
839f893168
Change public accounts pages to mount the web UI ()
* Change public accounts pages to mount the web UI

* Fix handling of remote usernames in routes

- When logged in, serve web app
- When logged out, redirect to permalink
- Fix `app-body` class not being set sometimes due to name conflict

* Fix missing `multiColumn` prop

* Fix failing test

* Use `discoverable` attribute to control indexing directives

* Fix `<ColumnLoading />` not using `multiColumn`

* Add `noindex` to accounts in REST API

* Change noindex directive to not be rendered by default before a route is mounted

* Add loading indicator for detailed status in web UI

* Fix missing indicator appearing while account is loading in web UI
2022-10-20 14:35:29 +02:00
Claire
2b00ccdbd5
Fix button to dismiss suggestions not showing up in search results ()
Fix a typo. The scope of this fix is pretty minor as that view only ever
shows up in one corner case, now.
2022-10-09 12:28:59 +02:00
Eugen Rochko
e2b561e3a5
Fix logged-out web UI on smaller screens () 2022-10-04 20:13:23 +02:00
Claire
50487db122
Add ability to filter individual posts ()
* Add database table for status-specific filters

* Add REST endpoints, entities and attributes

* Show status filters in /filters interface

* Perform server-side filtering for individual posts filters

* Fix filtering on context mismatch

* Refactor `toServerSideType` by moving it to its own module

* Move loupe and delete icons to their own module

* Add ability to filter individual posts from WebUI

* Replace keyword list by warnings (expired, context mismatch)

* Refactor server-side filtering code

* Add tests
2022-08-25 04:27:47 +02:00
Eugen Rochko
628c177ebe
Change label of publish button to be "Publish" again () 2022-06-01 05:03:12 +02:00
Eugen Rochko
0cdb077570
Add language dropdown to compose in web UI () 2022-05-16 11:18:35 +02:00
Claire
e2d1d3b428
Change “Only people I mention” to “Mentioned people only” () 2022-05-03 12:30:40 +02:00
Eugen Rochko
be0bc9acbf
Change "Direct" status visibility to "Only people I mention" in web UI ()
- Change name of conversations column in web UI
- Change hotkey for opening conversations column from `g d` to `g c` in web UI
- Remove shortcuts for creating direct-visibility statuses from web UI
2022-04-29 00:24:31 +02:00
Eugen Rochko
4e9855e09a
Add hint about missing media attachment description in web UI () 2022-03-22 09:48:12 +01:00
Claire
2cd31b3177
Fix reply button on media modal not giving focus to compose form ()
* Avoid compose form and modal management fighting for focus

* Fix reply button on media modal footer not giving focus to compose form
2022-02-25 00:51:01 +01:00
Claire
aa86cf9557
Fix opening the emoji picker scrolling the single-column view to the top ()
Fixes 
2022-02-16 21:44:47 +01:00
Claire
38845592c4
Fix controls for unchangeable properties on status edit not being disabled ()
Fixes 
2022-02-12 19:00:33 +01:00
Eugen Rochko
63002cde03
Add editing for published statuses ()
* Add editing for published statuses

* Fix change of multiple-choice boolean in poll not resetting votes

* Remove the ability to update existing media attachments for now
2022-02-10 00:15:30 +01:00
Claire
3a103cd317
Fix text being incorrectly pre-selected in composer textarea on /share ()
Fixes 
2022-01-20 20:56:21 +01:00
Eugen Rochko
07341e7aa6
Add graphs and retention metrics to admin dashboard () 2021-10-14 20:44:59 +02:00
Mashiro
2e549fa2d5
Fix drawer tab menu routes in advanced web ui () 2021-09-30 05:19:08 +02:00
Eugen Rochko
52e5c07948
Change routing paths to use usernames in web UI () 2021-09-26 05:46:13 +02:00
Takeshi Umeda
b2875b1864
Fix logout link not working in safari () 2021-08-06 12:14:13 +02:00
Claire
a8a7066e97
Add confirmation modal when closing media edit modal with unsaved changes ()
* Add confirmation modal when closing media edit modal with unsaved changes

* Move focal point media state to redux so it does not get erased by confirmation dialog

* Change upload modal behavior to keep it open while saving changes

Instead of closing it immediately and losing changes if they fail to save…

* Make it work with react-intl 2.9
2021-07-25 01:14:43 +02:00
Eugen Rochko
abd7b4636a
Add assets from Twemoji 13.1.0 ()
* Add assets from Twemoji 13.1.0

* Update emoji-mart
2021-06-01 14:35:49 +02:00
Eugen Rochko
0a3fa034fc
Fix "You might be interested in" flashing while searching in web UI () 2021-05-06 02:11:43 +02:00
Takeshi Umeda
baed52c2a7
Fix not to show follow button in global suggestion ()
* Fix not to show follow button in global suggestion

* Fix style
2021-04-16 10:06:42 +02:00
Eugen Rochko
f7117646af
Add cold-start follow recommendations () 2021-04-12 12:37:14 +02:00
Claire
034f37b85a
Fix compose form behavior in mobile view ()
* Fix ComposeForm being mounted twice in mobile view

Fixes 

* Fix compose form focus and pre-selection behavior in mobile view

* Split _updateFocusAndSelection out of componentDidUpdate
2021-03-24 10:19:07 +01:00
Claire
65db262550
Update twitter-text from 1.14 to 3.1.0 and fix toot character counting ()
* Update twitter-text from 1.14 to 3.1.0

* Disable emoji parsing

* Properly depend on twitter-text for url detection

* Fix some URLs being wrongly detected client-side

* Add test for server-side validation of non-autolinkable URLs

* Fix server-side status length counting
2021-03-02 12:02:56 +01:00
Takeshi Umeda
7927959d8f
fix typo () 2021-02-11 06:22:11 +01:00
Claire
07b46cb332
Add dropdown for boost privacy in boost confirmation modal ()
* Various dropdown code quality fixes

* Prepare support for privacy selection in boost modal

* Add dropdown for boost privacy in boost confirmation modal
2021-02-11 00:53:12 +01:00
ThibG
5fcac81302
Add “translate” class to other user strings ()
* Add “translate” class to other user strings

Follow-up to .

Allow Google Translate to work on more user content:
- poll options
- reply indicator (contents of the status being replied to)
- directory account cards
- account note in follow requests list

* Fix incorrect styling of account bio

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2021-01-22 10:09:23 +01:00
Eugen Rochko
1f564051b6
Change RTL detection to rely on unicode-bidi paragraph by paragraph () 2020-12-15 12:56:43 +01:00
Mélanie Chauvel
68775b6039
Fix character count not ignoring hidden CW field () 2020-11-30 12:09:34 +01:00
dependabot[bot]
e16b0fb15a
Bump detect-passive-events from 1.0.5 to 2.0.1 ()
* Bump detect-passive-events from 1.0.5 to 2.0.1

Bumps [detect-passive-events](https://github.com/rafgraph/detect-passive-events) from 1.0.5 to 2.0.1.
- [Release notes](https://github.com/rafgraph/detect-passive-events/releases)
- [Commits](https://github.com/rafgraph/detect-passive-events/compare/v1.0.5...v2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Migrate to detect-passive-events v2

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2020-11-05 02:21:05 +09:00
Mélanie Chauvel
c5704e75ae
Make “Mark media as sensitive” properly translatable () 2020-10-27 03:05:50 +01:00
ThibG
4c45b43cb8
Change how CDN_HOST is passed down to make assets build reproducible ()
* Change how CDN_HOST is passed down to make assets build reproducible

* Change webpacker/webpack configuration to dynamically load publicPath based on meta header

* Fix embedded layout missing the cdn-host meta header
2020-10-13 01:19:35 +02:00
ThibG
c7cfd4e67a
Fix scrolling issues when closing some dropdown menus () 2020-08-21 14:14:28 +02:00
ThibG
bd3420b139
Fix crash when failing to load emoji picker ()
Fixes 
2020-08-08 17:57:56 +02:00
abcang
4a4d08f3a0
Fix eslint error () 2020-08-07 10:40:33 +02:00
ThibG
a637344e37
Fallback to previous, more approximative hashtag RE on older browsers ()
Fixes 
2020-08-05 22:39:14 +02:00