ThibG
0162dc0c9c
Fix React warning about legacy lifecycle calls and sensitive status resetting ( #10872 )
6 years ago
Takeshi Umeda
9c174f4d02
Fix safari post field display issue in single column layout ( #10883 )
6 years ago
Alix Rossi
6f624f449e
i18n: Update Corsican front-end translation ( #10884 )
6 years ago
mayaeh
7403b0ec05
Update Japanese translations. ( #10875 )
...
run yarn manage:translations ja && i18n-tasks add-missing ja
6 years ago
Aditoo17
d0dc7a60ab
I18n: Update Czech translation ( #10874 )
6 years ago
Eugen Rochko
40117d908f
[Glitch] Use `<use />` to render transparent SVG logo instead of inserting it
...
Port SCSS changes from c5234ac2aa
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
b9c5aed987
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko
7d2b4e9277
Refactor footers in web UI into a single component ( #10846 )
6 years ago
abcang
4c9d8f8ef9
Display notifications count on a new single column ( #10859 )
6 years ago
Thibaut Girka
938edb44a1
Fix video player regressions introduced by blurhash merge
6 years ago
Thibaut Girka
c1619a5c24
[Glitch] Add keyboard shortcut to hide/show media
...
Port 7ee189fa60
and 9e238804ea
to glitch-soc
6 years ago
Eugen Rochko
c5234ac2aa
Use `<use />` to render transparent SVG logo instead of inserting it ( #10845 )
6 years ago
Takeshi Umeda
03054b27e1
Fix poll visibility on public pages ( #10817 )
...
* Fix poll visibility on public pages
* Revert "Fix poll visibility on public pages"
This reverts commit 54a9608add6f855bc6337fe3c65eaee7ba13db49.
* Revert "Change poll options to alphabetic letters when status text is hidden"
This reverts commit c53d67326201b2061990b1874a3547c3647f50d2.
6 years ago
Thibaut Girka
d46668d34b
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- app/controllers/settings/preferences_controller.rb
- app/lib/user_settings_decorator.rb
- app/models/user.rb
Conflicts due to the addition of a new preference upstream,
“advanced layout”.
6 years ago
りんすき
c65b14059a
[Glitch] Fix composer route opening when not needed
...
Port 9ff2739fb5
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Neil Moore
139730e3db
Create new click handler for status__expand area in status ( #10837 )
...
This click handler only activates on left-click, resolving #10798 .
This matches behavior in status_content.js, as added in #536
6 years ago
Eugen Rochko
9e238804ea
Fix null error in status component when determining showMedia state ( #10838 )
...
* Fix null error in status component when determining showMedia state
Also update the showMedia value if the status passed to the
component changes
* Refactor media visibility computation into a defaultMediaVisibility function
* Fix default media visibility with reblogs
6 years ago
Hanage999
66081c489f
Fix wrong redirect from getting started to home in advanced Web UI ( #10839 )
...
* update Ruby to 2.5.3
* Link to Getting Started will not redirect to Home in multi-column UI (https://github.com/tootsuite/mastodon/pull/10835 )
6 years ago
Eugen Rochko
6d4af23a69
Improvements to the single column layout ( #10835 )
...
* Improvements to the single column layout
- Add follows and followers link to the right panel
- Increase margins around separators in right panel
- Add follow requests link with counter when account is locked to right panel
* Redirect from getting started to home when navigation panel is visible
6 years ago
ThibG
7ee189fa60
Add a keyboard shortcut to hide/show media ( #10647 )
...
* Move control of media visibility to parent component
* Add keyboard shortcut to toggle media visibility
6 years ago
Mélanie Chauvel (ariasuni)
276c9e6e9e
Avoid cutting bottom of letters of last paragraph of statuses ( #10821 )
6 years ago
Eugen Rochko
a1bceb2cb6
Add responsive panels to the single-column layout ( #10820 )
...
* Add responsive panels to the single-column layout
* Fixes
* Fix not being able to save the preference
* Fix code style issues
* Set max-height on the compose textarea and add a link to relationship manager
6 years ago
Thibaut Girka
57911e10c5
Use Sec-WebSocket-Protocol instead of query string to pass WebSocket token
...
Inspired by https://github.com/kubevirt/kubevirt/issues/1242
6 years ago
Thibaut Girka
e8b45064b8
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- streaming/index.js
6 years ago
ThibG
7b1d582232
Improve streaming server security ( #10818 )
...
* Check OAuth token scopes in the streaming API
* Use Sec-WebSocket-Protocol instead of query string to pass WebSocket token
Inspired by https://github.com/kubevirt/kubevirt/issues/1242
6 years ago
Eugen Rochko
106cfa7553
Various improvements to single column layout ( #10809 )
...
- Add potential side panels to single column layout
- Hide FAB on large screens
6 years ago
nzws
3d860417a5
[Glitch] Fix stacking order of emoji picker
...
Port 1fbe5c2fec
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
d445d5833e
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- app/models/account.rb
- app/views/settings/profiles/show.html.haml
- spec/controllers/api/v1/accounts/credentials_controller_spec.rb
Conflicts were due to an increase in account bio length upstream, which
is already covered in glitch-soc through `MAX_BIO_CHARS`.
6 years ago
Thibaut Girka
9a101b91ae
Make headers font size proportional
6 years ago
Eugen Rochko
f9ca3d62b6
Add `forceSingleColumn` prop to `<UI />` ( #10807 )
...
* Move TabsBar rendering logic from CSS to the ColumnsArea component
* Add forceSingleColumn mode
* Add unread notifications counter to tabs bar
* Add toggle to control `forceSingleColumn`
* Increase paddings in mobile layout responsively at large sizes
6 years ago
nzws
1fbe5c2fec
Fix stacking order of emoji picker ( #10801 )
6 years ago
dxwc
0a1ba7c14b
i18n: Complete frontend Bengali translation ( #10800 )
...
* i18n: Complete frontend Bengali translation
* run yarn manage:translations
6 years ago
Thibaut Girka
a0b7246388
Refactor contentType selection in glitch composer
6 years ago
Thibaut Girka
0bc9d4f6d3
Use glitch-soc's poll component instead of upstream's
6 years ago
Thibaut Girka
e21662d370
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Hinaloe
4de9bd3870
fix `isSubmitting` prop case ( #10785 )
6 years ago
Thibaut Girka
fd5da4033e
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko
3a4761c665
Change poll options to alphabetic letters when status text is hidden ( #10685 )
...
Fix #10569
6 years ago
Thibaut Girka
b83cdc9b02
Export fallback content type and use it as default in WebUI
6 years ago
Thibaut Girka
dfeda8857f
Hide content-type dropdown by default
6 years ago
Haelwenn (lanodan) Monnier
76d58bf63e
Content-Type Dropdown: use the selected option icon for the menu
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
8a49df8ede
Support proper content-type in Delete & Redraft
6 years ago
KokaKiwi
08a981dd25
Add status content type dropdown to compose box.
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
ThibG
38272bbeb1
Merge pull request #1049 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
422dd06806
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Neil Moore
59f6637559
Adds click-able div that expands status ( #10733 ) ( #10766 )
...
The clickable div is positioned under the account avatar and covers
all empty space below it to the end of the status.
6 years ago
Thibaut Girka
d8e9a04354
Fix rich text style in reply indicator
6 years ago
Thibaut Girka
9f0ff9b6ea
Fix rich text styling on public pages
6 years ago
Thibaut Girka
6e625755a6
Fix text color of some formatted elements in notifications
6 years ago
nzws
f79d089b65
Fix some colors in light theme ( #10754 )
...
* Fix typo in light theme
* Fix background color of empty column
6 years ago
ThibG
cfb69164ad
Fix incorrect reference to raw_content (it is raw_text instead) ( #10753 )
6 years ago
ThibG
c8195e2da1
[Glitch] Use raw content if available on Delete & Redraft
...
Port front-end changes from 2a917031c9
to glitch-soc
6 years ago
Thibaut Girka
5262820fae
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Thibaut Girka
46b5085ced
Use a checkbox for the “Mark media as sensitive” composer button
...
Fixes #1039
6 years ago
ThibG
0bb3ba2406
Merge pull request #1043 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
ThibG
2a917031c9
Add toot source to delete result to ease Delete & Redraft ( #10669 )
...
* Return Status with raw text in raw_content when deleting a status
* Use raw content if available on delete & redraft
* Rename raw_content to text; do not serialize formatted content when source is requested
6 years ago
Maciek Baron
e060819020
[Glitch] Improve poll link accessibility
...
Port fc40391743
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
nzws
f625501c05
[Glitch] Fix some colors of high contrast theme
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Aurélien Reeves
22541e98e2
[Glitch] Add confirm modal for unboosting toots
...
Port d225a952a8
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Alix Rossi
062684bcf8
i18n: Update French translations ( #10747 )
...
* Update French JSON
* i18n: Update fr.yml
* i18n: Update simple_form.fr.yml
* Update simple_form.fr.yml
* Update fr.yml
6 years ago
Alix Rossi
1959e4e5ec
i18n: Update Corsican translations ( #10746 )
...
* i18n: Update Corsican translations
* Update co.yml
* Fix a translation in co.yml
6 years ago
ThibG
01ba6c5d83
Change icon and label depending on whether media is marked as sensitive ( #10748 )
...
* Change icon and label depending on whether media is marked as sensitive
* WiP use a checkbox
6 years ago
Thibaut Girka
1bf48b01e3
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- app/controllers/statuses_controller.rb
minor conflict because of glitch-soc's theming system
- app/controllers/stream_entries_controller.rb
minor conflict because of glitch-soc's theming system
6 years ago
Thibaut Girka
e55cf0042f
Fix media description confirmation modal
...
Fixes #1040
6 years ago
Aurélien Reeves
d225a952a8
Add confirm modal for unboosting toots ( #10287 )
...
[#3815 ]
Display the boost modal also when unboosting toots.
6 years ago
ThibG
5cf2f8c646
Add emoji suggestions to CW and poll option fields ( #10555 )
...
* Refactor selectComposeSuggestion so that different paths can be updated
* Add suggestions in CW field
* Add emoji suggestion to poll options
* Attempt to fix CSS
* Hide suggestions by default
They will be enabled if the input has focus
6 years ago
Maciek Baron
fc40391743
Improve poll link accessibility ( #10720 )
...
* Add distinction between hover and active/focus states
* Resolves #10198
6 years ago
Jeong Arm
3288f4a571
Bring back crossed eye icon on gallery ( #10715 )
6 years ago
Thibaut Girka
e9f0c31dc6
Fix tabs bar on mobile
...
Fixes #1037
6 years ago
nzws
6b71076391
Fix some colors of high contrast theme ( #10711 )
...
* Fix "nothing here" text color of high contrast
* Fix counter border color of high contrast
6 years ago
Thibaut Girka
40a480ea34
Fix front-end crash when a video has a blurhash and is hidden behind a CW
6 years ago
spla
13244f7bb3
i18n Update Catalan translation ( #10719 )
...
* Updated Catalan strings
* Update ca.yml
* Update ca.yml
* Update ca.yml
* Update ca.yml
* Update ca.yml
* Update ca.yml
* Update ca.yml
* Update simple_form.ca.yml
* Update simple_form.ca.yml
* Update simple_form.ca.yml
* bundle exec i18n-tasks
* Update ca.json
* Update simple_form.ca.yml
* i18n: Update Catalan translations
* i18n: Update Catalan translations
* i18n: Update Catalan translations
* i18n: Update Catalan translations
* i18n: Update Catalan translations
* i18n: Update Catalan translations
* i18n: Update Catalan translations
* i18n: Update Catalan translations
* i18n: Update Catalan translations
* i18n: Update Catalan translation
* i18n Update Catalan translation
6 years ago
ThibG
139ef769f7
Add description on hover in media gallery ( #10713 )
6 years ago
Thibaut Girka
5052b8c29f
Fix content warning button displaying a link icon when no status card is set
6 years ago
mayaeh
683a5ae765
i18n: Update Japanese translations ( #10706 )
...
* Update Japanese translations.
run yarn manage:translations
This commit includes translations by some users that were done at the transifex.
* Reduce translation text because it becomes two lines.
6 years ago
jeroenpraat
027f35c6a5
1 NL string update ( #10709 )
...
* 1 NL string update
No that weblate isn't used anymore, it would be fine if, or the english strings are update, or there is somewhere an explanation how to generate new strings for a language
* Update nl.json
6 years ago
Kirishima21
1592cab613
fix pinned columns ’s Media-only button
...
Media-only toggles could not be used on pinned columns.
The commit fixes this problem.
6 years ago
Baptiste Gelez
83665f0357
[Glitch] Make sure the instance banner is never cropped
...
Port 05b2a77a6d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
23829e09f5
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Aditoo17
71fd62835e
I18n: Update Czech translation 🇨🇿 ( #10704 )
...
* I18n: Update Czech translation
* Tiny fix
6 years ago
Baptiste Gelez
05b2a77a6d
Make sure the instance banner is never cropped ( #10702 )
6 years ago
Thibaut Girka
850f8195fd
Minor style fixes
6 years ago
Eugen Rochko
5df7b98c2b
[Glitch] Change font weight of sensitive button to 500
...
Port f7879bbe08
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
8050f86d04
[Glitch] Make the "mark media as sensitive" button more obvious in web UI
...
Port cc39785d45
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
167808363d
Add visibility icon back in media gallery
6 years ago
Thibaut Girka
43dc5ad0e5
Add back description on hover
6 years ago
ThibG
d0342a1a63
[Glitch] Fix transition: all
...
Port 9e044c9649
to glitch-soc
6 years ago
ThibG
09d6a2920d
[Glitch] Make the cursor icon consistant across media types in account media gallery
6 years ago
Thibaut Girka
5d6f4ef070
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
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>
6 years ago
Eugen Rochko
6138cad296
[Glitch] Fix alignment of items in the account gallery in web UI and load more per page
...
Port 78f5b96bf6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
3b9ff1fa34
[Glitch] Change account gallery in web UI
...
Port db73f8e585
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
61b5fd518c
Minor CSS fixes
6 years ago
Eugen Rochko
87a7a9a4df
[Glitch] Add blurhash
...
Port front-end changes from a6d2fe7165
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
ThibG
9e044c9649
Fix transition: all ( #10699 )
6 years ago
ThibG
d5357fcbf2
Minor account media gallery fixes ( #10695 )
...
* Make the cursor icon consistant across media types in account media gallery
* Fix the video player modal causing scroll position to reset
6 years ago
ThibG
0f1d2f4d71
Fix glitch SCSS for links in error messages in admin interface
...
Port SCSS changes from 8c716f917f
6 years ago
Thibaut Girka
73bc58c656
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- app/models/media_attachment.rb
6 years ago
Thibaut Girka
d20647fd94
Fix polls icon not showing in CW button in detailed statuses
6 years ago
Eugen Rochko
f7879bbe08
Change font weight of sensitive button to 500 ( #10682 )
6 years ago
ThibG
8c716f917f
Provide a link to existing domain block when trying to block an already-blocked domain ( #10663 )
...
* When trying to block an already-blocked domain, provide a link to the block
* Fix styling for links in flash messages
* Allow blocks to be upgraded but not downgraded
6 years ago
Thibaut Girka
c15b1aa00c
Fix crash in onboarding modal
...
Fixes #1027
6 years ago
Eugen Rochko
4aabc452d0
Add button to view context to media modal ( #10676 )
...
* Add "view context" button to media modal when opened from gallery
* Add "view context" button to video modal
Allow closing the video modal by navigating back in the browser,
just like the media modal
6 years ago
ThibG
d8418c07c9
When selecting a toot via keyboard, ensure it is scrolled into view ( #10593 )
6 years ago
Eugen Rochko
cc39785d45
Make the "mark media as sensitive" button more obvious in web UI ( #10673 )
...
* Make the "mark media as sensitive" button more obvious in web UI
* Use eye-slash icon instead of eye icon to mean "hide"
6 years ago
Eugen Rochko
78f5b96bf6
Fix alignment of items in the account gallery in web UI and load more per page ( #10674 )
6 years ago
Eugen Rochko
db73f8e585
Change account gallery in web UI ( #10667 )
...
- 3 items per row instead of 2
- Use blurhash for previews
- Animate/hover-to-play GIFs and videos
- Open media modal instead of opening status
- Allow opening status instead with ctrl+click and open in new tab
6 years ago
Thibaut Girka
e53b2a9c37
Make hi-color privacy icons opt-in instead of opt-out
6 years ago
Thibaut Girka
f5f0bd6c0a
Add high color privacy icons
...
Fixes #1015
6 years ago
Thibaut Girka
98732502f5
When selecting a toot via keyboard, ensure it is scrolled into view
...
Fixes detailed status column
6 years ago
Thibaut Girka
81c9377c7d
Add support for missing formatting tags
6 years ago
Thibaut Girka
02bd678944
Add keyboard shortcut to collapse/uncollapse toots
6 years ago
Thibaut Girka
7ed89e9178
Add hotkey for bookmarking a toot
6 years ago
partev
f843bdbd73
Update hy.json ( #10644 )
6 years ago
Thibaut Girka
5a8b820767
Fix regression with textarea's caret position when selecting a suggestion
6 years ago
Eugen Rochko
a6d2fe7165
Add blurhash ( #10630 )
...
* Add blurhash
* Use fallback color for spoiler when blurhash missing
* Federate the blurhash and accept it as long as it's at most 5x5
* Display unknown media attachments as blurhash placeholders
* Improve style of embed actions and spoiler button
* Change blurhash resolution from 3x3 to 4x4
* Improve dependency definitions
* Fix code style issues
6 years ago
Thibaut Girka
b40841b488
Hide suggestions by default
...
They will be enabled if the input has focus
6 years ago
Thibaut Girka
e720f1eac2
Attempt to fix CSS
6 years ago
Thibaut Girka
4155a1556a
Add emoji suggestion to poll options
6 years ago
Thibaut Girka
b35b38f4ea
Add suggestions in CW field
6 years ago
Thibaut Girka
0541e4ad21
Refactor selectComposeSuggestion so that different paths can be updated
6 years ago
ThibG
23e87a4742
Fix upload progressbar when image resizing is involved ( #10632 )
6 years ago
Thibaut Girka
642a298ceb
Do not ask to register web intent handler
6 years ago
Thibaut Girka
8942036345
Fix color of muted statuses content not wrapped in a p tag
6 years ago
Thibaut Girka
73f83ef399
Redesign blockquote styling
6 years ago
Thibaut Girka
f5ea016889
Better distinguish titles from text
6 years ago
Thibaut Girka
8003dd8849
Remove extra margin in paragraphs inside blockquotes
6 years ago
Thibaut Girka
a855f38086
Make bold text bolder
6 years ago
Thibaut Girka
ad30895262
Remove margins around `p` tags in lists
6 years ago
Thibaut Girka
ce2da44c2c
Rename status__text to status__content__text for consistency with upstream
6 years ago
Thibaut Girka
facc95f71a
Fix status header display in toot mobile menu
6 years ago
Thibaut Girka
b43cfd3eb3
Fix upload progressbar when image resizing is involved
6 years ago
Thibaut Girka
4a95bfe919
Hide media upload form if no media are attached
6 years ago
Thibaut Girka
07367bc6ec
Fix file upload
6 years ago
Thibaut Girka
86108e7af7
Fix settings modal
6 years ago
Thibaut Girka
9aeb714b7a
Add support for lists in statuses
6 years ago
Thibaut Girka
fea727c61a
Do not switch to italic for status media buttons
6 years ago
Thibaut Girka
22ad8c89b2
Accept richer text from remote statuses
...
Support abbr, del, pre, blockquote, code, strong, b, em, i, and h1…h5
HTML elements in remote statuses, add corresponding CSS.
6 years ago
kedama
4ce6358787
[Glitch] Fix modal items cannot scroll on touch devices
...
Port 92ced1e94b
to glitch-soc
6 years ago
Thibaut Girka
6f85bb754b
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- app/javascript/mastodon/features/compose/components/compose_form.js
Upstream cleaned up a bit, including on lines in which
we replaced the hardcoded 500 character limit with a maxChar
constant. Applied the changes while keeping maxChar instead of 500.
- app/javascript/packs/public.js
Moved upstream's new animated avatar hover handling in
app/javascript/core/public.js
- app/javascript/styles/fonts/montserrat.scss
Upstream fixed local font name, applied those changes.
- app/javascript/styles/fonts/roboto.scss
Upstream fixed local font name, applied those changes.
- lib/mastodon/version.rb
Upstream made repo URL configurable, did the same, but
default to glitch-soc
6 years ago
Thibaut Girka
1b8d2af1f9
Fix ReferenceError in dropdown
6 years ago
Thibaut Girka
25cfabce26
Fix broken reference to handleSubmit
6 years ago
Thibaut Girka
041e27bd2d
Cleanup
6 years ago
Thibaut Girka
2ee26ba420
Move ComposerPublisher to Compose
6 years ago
Thibaut Girka
bf8b0394b7
Add OptionsContainer
6 years ago
Thibaut Girka
ef17da32f9
Move composer Dropdown from features/composer to features/compose
6 years ago
Thibaut Girka
a6bb49adf1
Move ComposerTextareaIcons to TextareaIcons
6 years ago
Thibaut Girka
08faf16d66
ComposerTextarea → AutosuggestTextarea
6 years ago
Thibaut Girka
513547ba57
ComposerUploadForm → UploadForm + UploadFormContainer
6 years ago
Thibaut Girka
f7d1772fc8
Move PollForm from features/composer to features/compose
6 years ago