tykayn
1ec8714c2c
format status and sanitize
2020-12-31 18:19:25 +01:00
tykayn
016b39ae75
add preview and style
2020-12-31 17:50:58 +01:00
tykayn
e4df081141
add markdown converter
2020-12-31 16:48:13 +01:00
tykayn
01f4fc4c43
777 chars
2020-12-30 19:55:08 +01:00
tykayn
c1ce0d49c8
Merge branch 'master' of https://github.com/tootsuite/mastodon 24 dec 2020
2020-12-24 16:38:36 +01:00
Eugen Rochko
1f564051b6
Change RTL detection to rely on unicode-bidi paragraph by paragraph ( #14573 )
2020-12-15 12:56:43 +01:00
Mélanie Chauvel
68775b6039
Fix character count not ignoring hidden CW field ( #15236 )
2020-11-30 12:09:34 +01:00
tykayn
8d6362e3e5
merge with master, add todo for statuses
2020-11-26 13:27:40 +01:00
dependabot[bot]
e16b0fb15a
Bump detect-passive-events from 1.0.5 to 2.0.1 ( #15003 )
...
* 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
Baptiste Lemoine
9e1acd23aa
so much answers feature wow
2020-11-01 12:29:58 +01:00
Baptiste Lemoine
6497665819
icons for dropdown
2020-11-01 12:10:34 +01:00
Baptiste Lemoine
2d77a5e767
merge master
2020-11-01 09:55:09 +01:00
Mélanie Chauvel
c5704e75ae
Make “Mark media as sensitive” properly translatable ( #15051 )
2020-10-27 03:05:50 +01:00
ThibG
4c45b43cb8
Change how CDN_HOST is passed down to make assets build reproducible ( #14381 )
...
* 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
Baptiste Lemoine
aff743695a
Merge branch 'master' of https://github.com/tootsuite/mastodon
...
# Conflicts:
# app/javascript/mastodon/components/status_action_bar.js
# app/javascript/mastodon/features/account/components/header.js
# config/webpack/production.js
# db/schema.rb
# yarn.lock
2020-09-21 14:36:15 +02:00
ThibG
c7cfd4e67a
Fix scrolling issues when closing some dropdown menus ( #14606 )
2020-08-21 14:14:28 +02:00
ThibG
bd3420b139
Fix crash when failing to load emoji picker ( #14525 )
...
Fixes #14523
2020-08-08 17:57:56 +02:00
abcang
4a4d08f3a0
Fix eslint error ( #14521 )
2020-08-07 10:40:33 +02:00
ThibG
a637344e37
Fallback to previous, more approximative hashtag RE on older browsers ( #14513 )
...
Fixes #14511
2020-08-05 22:39:14 +02:00
Baptiste Lemoine
79f60e91c3
Merge branch 'master' of https://github.com/tootsuite/mastodon
2020-08-03 11:37:47 +02:00
kedama
cd94854e7d
Fix the hashtag judgment of the compose form to be the same as the server side ( #14484 )
2020-08-02 11:19:43 +02:00
Baptiste Lemoine
c3f46d6b28
Merge branch 'master' of https://framagit.org/tykayn/mastodon into merged-master
2020-07-17 20:49:44 +02:00
Mélanie Chauvel
e49bd93211
Improve wording of the “Add media” button tooltip ( #13954 )
...
- Remove (incomplete) list of supported formats
- List types of media (image, video, audio)
- Tell that several images could be uploaded using plural
2020-06-26 00:14:29 +02:00
Takeshi Umeda
434a6d0b15
Fix modifier key to keep the EmojiPicker on macOS ( #14096 )
2020-06-20 13:30:40 +02:00
Brian C. Lindner
64154c5161
Allow Ctrl-click to keep EmojiPicker window open ( #13896 )
2020-05-31 20:34:34 +02:00
ThibG
af6d356279
Fix first poll option not being focused when adding a poll ( #13740 )
...
Fixes #13698
2020-05-12 15:29:44 +02:00
ThibG
77ec0875ea
Fix page incorrectly scrolling when bringing up dropdown menus ( #13574 )
...
Fixes #13573
For some reason (I suspect this may be related to focusing the item before it
got drown by the browser), Firefox scrolls to top when bringing up dropdown
menus with pre-selected items.
This commit uses the “preventScroll” option as, due to the placement behavior,
the menu should be visible anyway and not trigger scrolling.
2020-04-28 13:19:39 +02:00
ThibG
80182eda62
Fix and refactor keyboard navigation in dropdown menus ( #13528 )
...
Fixes #13527
- Fixes caught keyboard events being needlessly propagated
- Let up/down arrows wrap around like the tab key does
- Refactor common code
2020-04-21 15:13:26 +02:00
Baptiste Lemoine
e50cb7160a
🐛 add icons in dropdown menu, fix style for this dropdown
...
Merge remote-tracking branch 'origin'
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
# Conflicts:
# .ruby-version
# app/javascript/mastodon/components/status.js
# app/javascript/mastodon/features/direct_timeline/components/conversation.js
# app/javascript/mastodon/features/getting_started/components/announcements.js
# app/javascript/mastodon/locales/fr.json
# config/locales/kab.yml
# config/locales/ta.yml
# yarn.lock
2020-04-09 17:33:58 +02:00
Sasha Sorokin
37b3985bfa
Improve polls: option lengths & redesign ( #13257 )
...
This commit redesign the polls and increases characters limit for the
options from 25 to 50 characters, giving pollsters more freedom.
Summarizing, the redesign is making the polls more adaptive for upcoming
changes to the options characters limit: the bar, or a "chart", is now
displayed separately from the option itself; vote check mark is moved
next to the option text, making the percentages take less space. Option
lengths are taken into account and text is wrapped to multiple lines
if necessary to avoid overflow.
2020-04-02 17:10:55 +02:00
mayaeh
44292a6952
Add link to bookmarks in web UI dropdown ( #13273 )
2020-03-21 03:14:28 +01:00
Baptiste Lemoine
158c51edc1
accept merge from upstream
2020-03-08 17:32:42 +01:00
Bèr Kessels
fd76955f39
Code style improvements in JavaScript ( #13159 )
...
* JS-linter: fix trailing comma's
* Configure eslinter to ignore this onchange error.
2020-03-08 16:02:36 +01:00
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>
2020-03-08 15:59:55 +01:00
Baptiste Lemoine
bf965b4d3e
hop
2020-02-27 13:48:21 +01:00
Baptiste Lemoine
198d0cf677
🐛 fix action bar
...
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-02-12 10:10:58 +01:00
Baptiste Lemoine
c246d20d80
fix mess footer
2020-02-01 17:29:30 +01:00
Eugen Rochko
f52c988e12
Add announcements ( #12662 )
...
* Add announcements
Fix #11006
* Add reactions to announcements
* Add admin UI for announcements
* Add unit tests
* Fix issues
- Add `with_dismissed` param to announcements API
- Fix end date not being formatted when time range is given
- Fix announcement delete causing reactions to send streaming updates
- Fix announcements container growing too wide and mascot too small
- Fix `all_day` being settable when no time range is given
- Change text "Update" to "Announcement"
* Fix scheduler unpublishing announcements before they are due
* Fix filter params not being passed to announcements filter
2020-01-23 22:00:13 +01:00
Baptiste Lemoine
879a6ef656
⚡ factorize maxTootCharsLimit to only have one setting in the compose form
2019-12-23 12:10:55 +01:00
Baptiste Lemoine
15a9f2633f
stuff for messaging box
2019-12-21 15:16:13 +01:00
Baptiste Lemoine
efe3acd0c5
todo on messaging
2019-12-18 16:16:08 +01:00
Acid Chicken (硫酸鶏)
09a72add0e
Fix tooltip messages of multiple poll switcher are reversed ( #12616 )
2019-12-16 23:55:02 +01:00
Baptiste Lemoine
7e30a3a575
⚡ demo structure for message stream
2019-12-15 22:48:15 +01:00
Baptiste Lemoine
f38213fc9d
⚡ pseudo code for messaging box
2019-12-13 17:19:37 +01:00
Baptiste Lemoine
f76462ade2
Merge remote-tracking branch 'tk/master' into messaging
2019-12-13 16:33:46 +01:00
Eugen Rochko
77e7b33dea
Revert "Fix an eslint warning ( #12426 )" ( #12596 )
...
This reverts commit 054ef83fc5
.
2019-12-10 19:39:02 +01:00
Baptiste Lemoine
ab8e381e3c
Merge remote-tracking branch 'gh/master'
2019-12-10 12:05:30 +01:00
ThibG
c05ed8a625
Fix poll options not being selectable via keyboard ( #12538 )
...
* Fix poll options not being selectable via keyboard
Fixes #12384
* Improve styling of poll option checkboxes/radio buttons
* Use more appropriate ARIA roles for poll options
* Allow switching between single and multiple choice from keyboard
* Coding style
* Avoid using .bind()
2019-12-03 19:53:16 +01:00
Baptiste Lemoine
11418ca8a9
⚡ merge with gh master
2019-12-02 16:35:37 +01:00
Dimitri Merejkowsky
054ef83fc5
Fix an eslint warning ( #12426 )
2019-11-22 15:57:22 +01:00