ThibG
421a3a8f08
Change poll option hover/active styling to be less confusing ( #13313 )
5 years ago
Takeshi Umeda
e1c65c565b
Fix bookmarks also searchable ( #13293 )
5 years ago
Shlee
056f97744a
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
826ccfa973
Add link to bookmarks in web UI dropdown ( #13273 )
5 years ago
Jeong Arm
3b4e54f359
Make bookmarks also searchable ( #13271 )
5 years ago
Daniel Sockwell
577f74ad87
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
977b7ef6d0
Fix reported accounts not being whitelisted when resolving a spamcheck report ( #13289 )
5 years ago
ThibG
c3edb6c02a
Fix WebUI crash in single-column mode on prehistoric browsers ( #13267 )
...
Fixes #13266
5 years ago
ThibG
23b1a9ad55
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
9ced8b6dd5
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
da9d81c4ac
Add titles to warning presets in admin UI ( #13252 )
5 years ago
ThibG
2e3c24d1c8
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
c5731b4dc7
Fix regression in “Edit media” modal in web UI ( #13243 )
5 years ago
ThibG
0701e09c85
Fix videos with unsupported colorspace not being transcoded ( #13242 )
5 years ago
ThibG
ccd8ceac47
Fix MP4 (H264 + AAC) video files being needlessly re-encoded ( #13239 )
5 years ago
mayaeh
4a87cebf48
Change the string "hidden" to "blocked" in WebUI ( #13221 )
...
* Change the string "hidden" to "blocked" in WebUI.
* update
5 years ago
Eugen Rochko
a0c60d09ff
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
0995464585
Change video uploads to enforce certain limits ( #13218 )
...
- Dimensions at most 1920x1200
- Frame rate at most 60
5 years ago
dependabot-preview[bot]
b4bc2817ba
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
cd7c22da32
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
f459919552
Change local media attachments to perform heavy processing asynchronously ( #13210 )
...
Fix #9106
5 years ago
ThibG
852958d725
Fix public posts from silenced accounts not being changed to unlisted visibility ( #13096 )
5 years ago
ThibG
a67fd2fbe1
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)
399fa48f8e
Change the tooltip "Toggle visibility" to "Hide media" in web UI ( #13199 )
5 years ago
guigeekz
eb525ef602
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
b5d7ec71ef
Code style improvements in JavaScript ( #13159 )
...
* JS-linter: fix trailing comma's
* Configure eslinter to ignore this onchange error.
5 years ago
ThibG
cb93be3b88
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)
263bedff9e
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
ef73f37f36
Fix error when searching for URLs that contain the mention syntax ( #13151 )
...
Fixes #13150
5 years ago
ThibG
49f5db61bc
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)
38a26d5314
Fix text area above/right of emoji picker being accidentally clickable in web UI ( #13148 )
5 years ago
Eugen Rochko
a4668d994b
Add specific rate limits for posting and following ( #13172 )
5 years ago
ThibG
1eae25af56
Fix too large announcements not being scrollable in web UI ( #13211 )
5 years ago
koyu
e899e0dc98
Change GIF label to be displayed even when autoplay is enabled in web UI ( #13209 )
5 years ago
Eugen Rochko
9619521459
Remove useless `respond_to` calls ( #13208 )
5 years ago
Eugen Rochko
03d2704430
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
df086209a2
Fix "tootctl media remove-orphans" crashing when encountering invalid media ( #13170 )
...
Fixes #13168
5 years ago
Eugen Rochko
635812f9ea
Add tooltips to audio/video player buttons ( #13203 )
5 years ago
ThibG
69aefeb7ee
Fix announcements with fully-qualified mention to local user crashing WebUI ( #13164 )
5 years ago
Eugen Rochko
e0db9f37f5
Fix leak of arbitrary statuses through unfavourite action in REST API ( #13161 )
5 years ago
ThibG
c004399975
Fix dismissing an announcement twice raising an obscure error ( #13124 )
5 years ago
ThibG
d7da2bba02
Fix misleading error when attempting to re-send a pending follow request ( #13133 )
...
Fixes #13131
5 years ago
ThibG
910383d992
Fix backups failing when files are missing from media attachments ( #13146 )
...
Fixes #13123
5 years ago
ThibG
257354863e
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
13c00dc42c
Fix `/web` redirecting to `/web/web` in web UI ( #13128 )
...
Fixes #13127
5 years ago
ThibG
78c15db0fa
Fix previously OStatus-based accounts not being detected as ActivityPub ( #13129 )
5 years ago
ThibG
729fe5bfd6
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
8e8d9b3727
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
3cdaa34783
Fix old browsers crashing because of missing `finally` polyfill in web UI ( #13115 )
...
Fix #13015
5 years ago
ThibG
e2b6503921
Fix account's bio not being shown if there are no proofs/fields in admin UI ( #13075 )
5 years ago