Commit graph

151 commits

Author SHA1 Message Date
Eugen Rochko
3df957104a Fix dropdowns being disabled for logged out users in web UI () 2023-07-08 20:00:52 +02:00
Eugen Rochko
7abfddd8a5 Change design of dropdowns in web UI () 2023-06-06 21:49:49 +02:00
Jed Fox
2d2750c6a9 Fix spacing of middle dots in the detailed status meta section () 2023-06-02 15:40:23 +02:00
Christian Schmidt
971eafc709 Translate CW, poll options and media descriptions ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-06-01 00:10:21 +02:00
Renaud Chaput
169f141c4c Update inconsistent defaultMessage () 2023-05-24 12:38:50 +02:00
Eugen Rochko
97235baa4f Change share action from being in action bar to being in dropdown in web UI ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-05-24 11:04:43 +02:00
Renaud Chaput
7b5a274836 Enforce import order with ESLint () 2023-05-23 17:15:17 +02:00
Renaud Chaput
abbc6dfcba Use JSX syntax for Fragments () 2023-05-23 11:47:36 +02:00
Renaud Chaput
3b0c3e94e0 Use the new JSX transform () 2023-05-23 10:52:27 +02:00
Nick Schonning
b0dd260a7a Enable ESLint react/no-deprecated () 2023-05-10 09:05:32 +02:00
fusagiko / takayamaki
a150bb4f2e Add type annotation for DisplayName component () 2023-05-09 23:08:54 +02:00
Renaud Chaput
85b3823e66 Enforce stricter rules for Typescript files () 2023-05-09 03:11:56 +02:00
Claire
8c43856691 Change media elements to use aspect-ratio rather than compute height themselves () 2023-05-02 13:58:48 +02:00
Christian Schmidt
4613dfe97b Use CSS to trim long card descriptions () 2023-04-23 22:32:47 +02:00
Eugen Rochko
868d478b1b Change "direct message" nomenclature to "private mention" in web UI () 2023-03-30 15:16:20 +02:00
Yamagishi Kazutoshi
e272fc91e4 Remove legacy decorators syntax () 2023-03-24 03:17:53 +01:00
Christian Schmidt
41655e16ea Add lang attribute to media and poll options () 2023-02-26 20:13:27 +01:00
Christian Schmidt
e56145661c Add lang attribute to preview card () 2023-02-24 20:04:38 +01:00
Renaud Chaput
ae3812d182 Rename JSX files with proper .jsx extension () 2023-02-20 03:20:59 +01:00
Nick Schonning
1c2ca9557f Enable ESLint no-useless-escape () 2023-02-13 15:12:14 +01:00
Nick Schonning
9a5233f107 Upgrade ESlint to v8 () 2023-01-30 01:45:35 +01:00
Claire
c78d61f21a Add dropdown menu item to open admin interface for remote domains ()
* Allow /admin/instances/:domain to handle IDNs

* Add dropdown menu item to open admin interface for remote domains
2023-01-05 14:03:46 +01:00
trwnh
1b9ad6fb4b 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
Eugen Rochko
3ff5a02f65 Add option to open original page in dropdowns of remote content in web UI ()
Change profile picture click to open profile picture in modal in web UI
2022-11-10 08:49:35 +01:00
Claire
43629707c9 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
Eugen Rochko
4b0d58f0ad Fix missing delete and redraft link in web UI () 2022-10-27 19:17:15 +02:00
Eugen Rochko
85fc370638 Change post editing to be enabled in web UI () 2022-10-26 15:23:00 +02:00
Eugen Rochko
3e5588bf70 Add ability to view previous edits of a status in admin UI ()
* Add ability to view previous edits of a status in admin UI

* Change moderator access to posts to be controlled by a separate policy
2022-10-26 13:42:29 +02:00
Eugen Rochko
7cbab3e7fd Change layout of posts in web UI () 2022-10-25 19:02:21 +02:00
Eugen Rochko
9b05f5b2bb Add interaction modal to logged-out web UI () 2022-10-07 10:14:31 +02:00
Eugen Rochko
a593188ded Add user content translations with configurable backends () 2022-09-23 23:00:12 +02:00
Rens Groothuijsen
aced8820dd Add warning for sensitive audio posts () 2022-08-13 15:39:05 +02:00
Eugen Rochko
e164d6a687 Add customizable user roles ()
* Add customizable user roles

* Various fixes and improvements

* Add migration for old settings and fix tootctl role management
2022-07-05 02:41:40 +02:00
Stefano Pigozzi
02987b1191 Replace leftover envelope icons with at icons () 2022-05-06 00:41:56 +02:00
Eugen Rochko
07737bb6d1 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
CommanderRoot
07f1888854 Replace deprecated String.prototype.substr() ()
* Replace deprecated String.prototype.substr()

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

* Change String.prototype.substring() to String.prototype.slice()

.substring() and .slice() work very similary but .slice() is a bit faster and stricter

* Add ESLint rule to forbid usage of .substr and .substring

.substr() is deprecated and .substring() is very similar to .slice() so better to use .slice() at all times

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-04 12:19:45 -04:00
Eugen Rochko
64a94a889b Chore: Disable menu items for editing statuses in web UI ()
Feature must be unlocked in a separate release for max. compatibility
2022-02-10 15:28:53 +01:00
Eugen Rochko
cb76142d9e 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
Eugen Rochko
948da1a958 Add edit history to web UI ()
* Add edit history to web UI

* Change history reducer to store items per status

* Fix missing loading prop
2022-02-09 01:17:07 +01:00
Eugen Rochko
06b698a723 Add support for editing for published statuses ()
* Add support for editing for published statuses

* Fix references to stripped-out code

* Various fixes and improvements

* Further fixes and improvements

* Fix updates being potentially sent to unauthorized recipients

* Various fixes and improvements

* Fix wrong words in test

* Fix notifying accounts that were tagged but were not in the audience

* Fix mistake
2022-01-19 22:37:27 +01:00
Eugen Rochko
2fb76550a9 Add notifications for statuses deleted by moderators () 2022-01-17 09:41:33 +01:00
Claire
5aade2baac Add support for private pinned posts ()
* Add support for private pinned toots

* Allow local user to pin private toots

* Change wording to avoid "direct message"
2022-01-17 00:49:55 +01:00
Eugen Rochko
ce84967ee4 Change routing paths to use usernames in web UI () 2021-09-26 05:46:13 +02:00
Mélanie Chauvel
e48633f3cf Slightly reorder three dots menu on toots to make it more intuitive ()
* Slightly reorder three dots menu on toots to make it more intuitive

- Make “Pin to profile” always appear at the same place
- Add separator to group “Bookmark” and “Pin to profile”
- Fix separator being the first item in some cases

* Fix missing semicolon and keep status_action_bar.js and action_bar.js in sync
2021-02-11 01:05:04 +01:00
Eugen Rochko
7e7f69dfed Fix unnecessary re-rendering of various components when typing in web UI () 2020-12-07 19:36:36 +01:00
Eugen Rochko
de8c539b7b Fix not being able to open audio modal in web UI ()
Fix 

Also adds the new action bar and blurhash-based background
color to audio and video modals
2020-12-07 04:29:37 +01:00
Eugen Rochko
bcb3a91c0c Fix hardcoded frame rate for frame by frame video navigation in web UI () 2020-11-21 23:19:04 +01:00
Eugen Rochko
fc497420e9 Add pop-out player for audio/video in web UI ()
Fix 
2020-09-28 13:29:43 +02:00
Tdxdxoz
c950a85d9e Fix: also use custom private boost icon for detailed status ()
* use custom private boost icon for detail status

* only use className
2020-08-24 14:13:44 +02:00
proxy
a455c84892 reword "boost to original audience" as per () 2020-08-23 00:08:31 +02:00