Commit Graph

3838 Commits

Author SHA1 Message Date
Eugen Rochko 9b247c3d88 Bump to 1.5.0rc3 2017-07-31 15:28:36 +02:00
Eugen Rochko c7cc806251 Simplify web UI character counter logic () 2017-07-31 15:19:48 +02:00
unarist 82b4cf4acb Fix button overflow on confirmation modal for mobile () 2017-07-31 15:19:30 +02:00
Yamagishi Kazutoshi 3e7a541e09 Change RuboCop rules to loose () 2017-07-31 15:19:13 +02:00
m4sk1n 93aafa8549 i18n: Update Polish translation () 2017-07-31 19:40:25 +09:00
Yamagishi Kazutoshi bb85043f46 Disable sensitive button when with content warnings () 2017-07-31 05:06:56 +02:00
Eugen Rochko e1fcad34a9 Fix length validator counting things that look like URIs like URLs ()
URI.extract is too strong, not limited to URLs, matched real text.
Same issue was present in language detector.
2017-07-31 05:06:20 +02:00
unarist 155ba8fd3a Make salutation of email localizable () 2017-07-31 00:18:44 +02:00
Sorin Davidoi e44f03bc71 Improve accessibility (part 7) ()
* fix(media_modal): Keyboard navigation

* fix(column_back_button): Use native button

* fix(media_gallery): Keyboard navigation

* fix(status_content): Make CW content focusable
2017-07-31 00:18:15 +02:00
Yamagishi Kazutoshi 970297a138 Change to sensitive when adding content warning from web UI () 2017-07-30 16:27:57 +02:00
Yamagishi Kazutoshi 29abc9438c Remove outline from focused toot ()
* Remove outline from focused toot

* change style
2017-07-30 16:27:51 +02:00
Yamagishi Kazutoshi f91284d230 Do not create empty a element when there is no e-mail ()
Empty a element is created when there is no business e-mail input.
2017-07-30 16:24:18 +02:00
unarist feadf7553d Update Japanese translations () 2017-07-30 14:14:41 +02:00
Lynx Kotoura ea33cdc30b Set contact address in about/more as mailto link ()
* Set contact address as mailto link

To be able to copy long email address

* Set style for mailto link
2017-07-30 12:56:04 +02:00
masarakki 579e85f606 add-libpq-dev () 2017-07-30 01:05:27 +02:00
Damien Erambert ea144ba302 Use a fainted text color for <hr> elements in the landing page ()
* Use a fainted text color for <hr> elements in the landing page

* remove trailing whitespace
2017-07-29 21:20:52 +02:00
Sorin Davidoi 4f04981dde feat(tabs_bar): Avoid optimization for non-touch devices ()
* fix(tabs_bar): Check if transition is necessary

* feat(tabs_bar): Only apply optimization for touch devices
2017-07-29 21:20:34 +02:00
Jeroen 990cea471e Dutch: Small fix () 2017-07-29 18:46:40 +02:00
Jeroen 0913351dcf Dutch: only one (new) string () 2017-07-29 23:54:27 +09:00
Lynx Kotoura 57a794d8eb Fix autocomplete option in haml files ()
* Fix autocomplete in two_factor.html.haml

* Fix autocomplete in registrations edit.html.haml

* Fix autocomplete in passwords edit.html.haml

* Fix autocomplete in _registration.html.haml

* Fix autocomplete in new.html.haml

* Fix autocomplete in show.html.haml

* Add autocomplete option to sessions new.html.haml

* Add autocomplete option to 2FA new.html.haml

* Add autocomplete option to 2FA show.html.haml
2017-07-29 14:20:31 +02:00
unarist a5e0cf2450 fix(status): Don't add tabIndex to wrapped status () 2017-07-29 14:20:05 +02:00
みたらしだんご a46ba4a8f5 fix tabs_bar.js () 2017-07-29 14:19:49 +02:00
Sorin Davidoi c71874b84c Improve accessibility (part 6) ()
* fix(status_action_bar): Use aria-pressed for reblog and favourite button

* fix(column_back_button): Keyboard accessible

* fix(status_content): Make focusable and accessible

* fix(dropdown_menu): Use aria-expanded instead of aria-pressed

* fix(emoji_picker_dropdown): Use aria-expanded instead of aria-hidden

* feat(icon_button): Add aria-expanded

* fix(privacy_dropdown): Use aria-expanded instead of aria-hidden
2017-07-29 01:58:53 +02:00
Eugen Rochko 53b2b1b238 Count all URLs in text as 23 characters flat, do not count domain part of usernames ()
* Count all URLs in text as 23 characters flat, do not count domain part of usernames

* Add new status text counting logic to web UI
2017-07-29 00:06:29 +02:00
Sorin Davidoi 634b71ed1d Accessability fixes ()
* fix(modal_root): Read type from props, not from component

* fix(status_list): Do not user event.path
2017-07-28 22:55:19 +02:00
Sorin Davidoi 3d378ed0b4 fix(tabs_bar): Allow animation to end before navigating ()
* fix(tabs_bar): Allow animation to end before navigating

* fix(tabs_bar): Do not use event.path
2017-07-28 22:55:13 +02:00
Sorin Davidoi 7e0c00a555 fix(mocha): Run all tests () 2017-07-28 22:53:16 +02:00
Eugen Rochko f0bb2c6d1e Fix web push notifications "boost" icon not being loaded (regression from ) () 2017-07-28 20:26:54 +02:00
Eugen Rochko 13bb1ddc7f Use consistent icons for web push notifications, same as web UI () 2017-07-28 18:13:42 +02:00
Eugen Rochko fdb65dcbee Bump to 1.5.0rc2 2017-07-28 17:22:41 +02:00
Eugen Rochko 4e2f2fab73 Fix guard clause in WebPushNotificationWorker () 2017-07-28 17:21:28 +02:00
Eugen Rochko 6e186b9c77 When PuSH subscribe attempts are exhausted, unsubscribe () 2017-07-28 17:21:14 +02:00
Quent-in ff9d344d4c i18n update of OC version ()
* Correction of misspellings

* Improve the OC version

* Improve of the OC version

* Improvement of OC version
2017-07-29 00:09:38 +09:00
Eugen Rochko b3c44e95a9 Improve actions modal style () 2017-07-28 15:30:53 +02:00
Eugen Rochko 8c0dd33ce4 Fix current session not being displayed in sessions list () 2017-07-28 15:30:06 +02:00
Yamagishi Kazutoshi 12874eafa6 Unify webpackChunkName to lowercase () 2017-07-28 13:34:55 +02:00
Lynx Kotoura afb593b44e Fix protruded infomation board section in about/more page ()
* Fix protruded infomation board section

Set "flexwrap: wrap" for sections. Set upper and lower padding for each section, and adjust clearances around sections accordingly. Settings for viewport threshold 500px is no more needed.

* Fix mistake of reducing information-board padding

In according with this fix, additional padding setting  for maximum 840px width is no more needed.
2017-07-28 13:34:44 +02:00
Sorin Davidoi 296bfa23aa fix(actions-modal): Inconsistent margins () 2017-07-28 13:34:06 +02:00
Sorin Davidoi 534da4f24f Improve accessibility (part 5) ()
* fix(status): Add tabIndex=0

* fix(status_list): Make keyboard navigable
2017-07-28 13:33:40 +02:00
Yamagishi Kazutoshi 62a9da62a6 Fix column header in landing page (regression from ) () 2017-07-28 13:32:41 +02:00
Yamagishi Kazutoshi 58eea59864 Fix broken PropTypes () 2017-07-28 13:32:05 +02:00
m4sk1n c7de92e0df i18n: Update Polish translation ()
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-28 17:53:44 +09:00
Yamagishi Kazutoshi c1633eeb0f Update webpack and related dependencies (without extract-text-webpack-plugin) () 2017-07-28 05:16:12 +02:00
Yamagishi Kazutoshi f93f306053 Remove hash from chunk filename when dev env () 2017-07-28 05:14:01 +02:00
Sorin Davidoi e67fc997dc feat(web_push_notifications): Group notifications () 2017-07-28 05:06:22 +02:00
Sorin Davidoi 3e01a7e677 fix(web_push_notification): Do not hard reload tab ()
* fix(web_push_notification): Do not hard reload tab

* fix(web_push_notification_worker): Guard against null subscription

* refactor: Incorporate pull request feedback
2017-07-28 05:06:01 +02:00
Akihiko Odaki 0f92119ceb Cover Api::V1:FavouritesController more () 2017-07-28 04:37:44 +02:00
Sorin Davidoi b7d47c2aef Improve accessibility (part 4) ()
* fix(dropdown_menu): Keyboard navigation

* fix(icon_button): Add aria-pressed attribute

* fix(privacy_dropdown): Make accessible

* fix(emoji_picker_dropdown): Make accessible

* fix(icon_button): Support tabIndex

* fix(actions_modal): Remove icon from tab order

* fix(dropdown_menu): Add role=group

* fix(setting_toggle): Toggle via space key

* fix(dropdown_menu): Remove redundant handling of Space key

* fix(emoji_picker_dropdown): Remove redundant Space key handling

* fix(privacy_dropdown): Remove redundant Space key handling

* fix(status): Switch to article and add aria-posinset, aria-setsize

* fix(status_list): Use role=feed and pass more ARIA props to Status

* chore(eslint): jsx-a11y/role-supports-aria-props
2017-07-28 04:37:30 +02:00
Eugen Rochko 6270f9ce34 Fix - Share CSRF secret between main app and Sidekiq Web () 2017-07-28 04:36:42 +02:00
Satoshi KOJIMA e54cc15cbd fix : place sw.js to assets/sw.js () 2017-07-28 01:55:52 +02:00