ThibG
beb80adb51
Change poll option hover/active styling to be less confusing ( #13313 )
5 years ago
Takeshi Umeda
5a1fb6efc2
Fix bookmarks also searchable ( #13293 )
5 years ago
Shlee
221eda646b
Migrate Rails ujs as required for Rails 6 Upgrade. ( #13280 )
...
* Update yarn.lock
* Update package.json
* Update public.js
* Update admin.js
* Update log_out.js
* Update common.js
5 years ago
mayaeh
44292a6952
Add link to bookmarks in web UI dropdown ( #13273 )
5 years ago
Jeong Arm
8c42e0b53c
Make bookmarks also searchable ( #13271 )
5 years ago
Daniel Sockwell
8758221e73
Fix frontend crash when deleting announcements ( #13283 )
...
This two-line change fixes a crash in the front end that occurred
under the following circumstances:
* A server had more than one announcement,
* A user was displaying the announcements, and
* An announcement was deleted (or unpublished, which amounts to
the same thing.)
As might be expected, the bug was caused by attempting to access a
notification using an index value outside the bounds of the existing
announcements. Specifically, in two places. First,
`_markAnnouncementAsRead` attempts to modify announcements based on
the current index. This is what caused the front end crash. Second,
when rendering the `Announcements` component, the code paginates the
announcements and displays the current one. This did not cause a
crash, but caused the front end to confusingly display a blank
announcement (in situations that would have caused a crash) with no
way for the user to navigate back to previous announcements.
This commit fixes both issues by adding a check to ensure that the
code never attempts to access an announcement with an index greater
than or equal to the number of announcements present.
5 years ago
ThibG
61f35c1a8a
Fix reported accounts not being whitelisted when resolving a spamcheck report ( #13289 )
5 years ago
ThibG
b998ec7c72
Fix WebUI crash in single-column mode on prehistoric browsers ( #13267 )
...
Fixes #13266
5 years ago
ThibG
cb12a2cdd3
Fix some timeouts when searching URLs by limiting some database queries ( #13253 )
...
Only look up private toots from database if the request failed because of 401,
403 or 404 errors, as those may indicate a private toot, rather than something
that isn't a toot or cannot be processed.
5 years ago
Eugen Rochko
bea0bb39d6
Add option to include resolved DNS records when blacklisting e-mail domains in admin UI ( #13254 )
...
* Add shortcuts to blacklist a user's e-mail domain in admin UI
* Add option to blacklist resolved MX and IP records for e-mail domains
5 years ago
Eugen Rochko
f556f79b77
Add titles to warning presets in admin UI ( #13252 )
5 years ago
ThibG
aeebbe90dc
Fix detailed view of direct messages displaying a 0 boost count ( #13244 )
...
The boost count is already removed from private toots,
do the same with direct messages.
5 years ago
ThibG
90f3a00062
Fix regression in “Edit media” modal in web UI ( #13243 )
5 years ago
ThibG
2c6099125d
Fix videos with unsupported colorspace not being transcoded ( #13242 )
5 years ago
ThibG
abd8394880
Fix MP4 (H264 + AAC) video files being needlessly re-encoded ( #13239 )
5 years ago
mayaeh
310d729745
Change the string "hidden" to "blocked" in WebUI ( #13221 )
...
* Change the string "hidden" to "blocked" in WebUI.
* update
5 years ago
Eugen Rochko
8a2b8e0321
Change video uploads to always be converted to H264/MP4 ( #13220 )
...
Even if the container format is the same (.mp4), the codec could
be different and not playable in web browsers
5 years ago
Eugen Rochko
dc15c81e67
Change video uploads to enforce certain limits ( #13218 )
...
- Dimensions at most 1920x1200
- Frame rate at most 60
5 years ago
dependabot-preview[bot]
7088633ae1
Bump cld3 from 3.2.6 to 3.3.0 ( #13107 )
...
* Bump cld3 from 3.2.6 to 3.3.0
Bumps [cld3](https://github.com/akihikodaki/cld3-ruby ) from 3.2.6 to 3.3.0.
- [Release notes](https://github.com/akihikodaki/cld3-ruby/releases )
- [Commits](https://github.com/akihikodaki/cld3-ruby/compare/v3.2.6...v3.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Fix compatibility with cld3 3.3.0
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
5 years ago
ThibG
b154428e14
Add federation support for the "hide network" preference ( #11673 )
...
* Change ActivityPub follower/following collections to not link first page
* Add support for hiding followers and following of remote users
* Switch to using a single `hide_collections` column
* Address code style remarks
5 years ago
Eugen Rochko
9660aa4543
Change local media attachments to perform heavy processing asynchronously ( #13210 )
...
Fix #9106
5 years ago
ThibG
5284e29e2f
Fix public posts from silenced accounts not being changed to unlisted visibility ( #13096 )
5 years ago
ThibG
aa67036b41
Add support for links to statuses in announcements to be opened in web UI ( #13212 )
...
* Add support for links to public statuses in announcements to be opened in WebUI
* Please CodeClimate
5 years ago
Mélanie Chauvel (ariasuni)
5e4b649655
Change the tooltip "Toggle visibility" to "Hide media" in web UI ( #13199 )
5 years ago
guigeekz
e31ba618d4
Add submit button to the top of preferences pages ( #13068 )
...
* Move submit button to the top of the edit page
* Duplicate save button on long form
* Fix click submit on profile spec
5 years ago
Bèr Kessels
fd76955f39
Code style improvements in JavaScript ( #13159 )
...
* JS-linter: fix trailing comma's
* Configure eslinter to ignore this onchange error.
5 years ago
ThibG
2423d2f677
Add ability to delete files uploaded for settings in admin UI ( #13192 )
...
* Allow deleting site uploads
* Refactor and move links into hints
* Fix i18n tests
* Fix HTML output of site_upload_delete_hint
5 years ago
Mélanie Chauvel (ariasuni)
4063f9f278
Change description of privacy levels to be more intuitive in web UI ( #13197 )
...
* Improve description of privacy levels in compose interface
* Change strings in defaultMessage and source as well as english
Co-authored-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
6185bff4b3
Fix error when searching for URLs that contain the mention syntax ( #13151 )
...
Fixes #13150
5 years ago
ThibG
4a4cd686c1
Add sorting by username, creation and last activity in moderation view ( #13076 )
...
* Add ability to order accounts in moderation view
* Display last status date in “Most recent activity” for remote users
5 years ago
Mélanie Chauvel (ariasuni)
2e18b1a2a2
Fix text area above/right of emoji picker being accidentally clickable in web UI ( #13148 )
5 years ago
Eugen Rochko
339ce1c4e9
Add specific rate limits for posting and following ( #13172 )
5 years ago
ThibG
503eab1c1f
Fix too large announcements not being scrollable in web UI ( #13211 )
5 years ago
koyu
e69a3f54a1
Change GIF label to be displayed even when autoplay is enabled in web UI ( #13209 )
5 years ago
Eugen Rochko
0ae5c6312f
Remove useless `respond_to` calls ( #13208 )
5 years ago
Eugen Rochko
39453de232
Change the string "Hide everything from …" to "Block domain …" in web UI ( #13178 )
...
Blocking a domain is closer to blocking all its users than to a mute
action.
5 years ago
Eugen Rochko
d081a80cff
Fix "tootctl media remove-orphans" crashing when encountering invalid media ( #13170 )
...
Fixes #13168
5 years ago
Eugen Rochko
036ba3f510
Add tooltips to audio/video player buttons ( #13203 )
5 years ago
ThibG
7b63c5469e
Fix announcements with fully-qualified mention to local user crashing WebUI ( #13164 )
5 years ago
Eugen Rochko
0c28a505dd
Fix leak of arbitrary statuses through unfavourite action in REST API ( #13161 )
5 years ago
ThibG
7face973fa
Fix dismissing an announcement twice raising an obscure error ( #13124 )
5 years ago
ThibG
cf4fe6caef
Fix misleading error when attempting to re-send a pending follow request ( #13133 )
...
Fixes #13131
5 years ago
ThibG
d91946ae13
Fix backups failing when files are missing from media attachments ( #13146 )
...
Fixes #13123
5 years ago
ThibG
3704402dcc
Fix duplicate accounts being created when fetching an account for its key only ( #13147 )
...
Fixes #13136
When a user's canonical acct domain is different from its id's domain
(WEB_DOMAIN ≠ LOCAL_DOMAIN), two webfinger queries are required to find the
canonical domain from the URI. However, we skip webfinger queries when
updating only the key of a remote user, which led to the creation of a
duplicate account, using the URI's domain instead of the canonical acct: one.
5 years ago
ThibG
0f07218e53
Fix `/web` redirecting to `/web/web` in web UI ( #13128 )
...
Fixes #13127
5 years ago
ThibG
983ab40086
Fix previously OStatus-based accounts not being detected as ActivityPub ( #13129 )
5 years ago
ThibG
ff3a11d01d
Add source-mapped stacktrace to error message in web UI ( #13082 )
...
* Add source-mapped stack trace to copyable text in error boundary
* Add the error message to the copied report, not only the stack trace
5 years ago
ThibG
d8e9bae482
Fix account JSON/RSS not being cacheable due to wrong mime type comparison ( #13116 )
...
`request.format` is not a symbol but a `Mime::Type`, so the condition actually
never matched, and a session was created even for those requests, preventing
caching.
5 years ago
ThibG
1314bba68a
Fix old browsers crashing because of missing `finally` polyfill in web UI ( #13115 )
...
Fix #13015
5 years ago
ThibG
4dec392ea8
Fix account's bio not being shown if there are no proofs/fields in admin UI ( #13075 )
5 years ago