Commit Graph

109 Commits (0ad41be0f314a9ee16cd167620e0636859349cc8)

Author SHA1 Message Date
Yamagishi Kazutoshi 1e665a0bf4 Add space to toot paragraph in landing page ()
Eugen Rochko ed4c754fff Add background to media modal ()
Eugen Rochko 1e0c7a0afc Add loading indicator animation ()
Eugen Rochko 3a3b556065 Improve noscript message and style ()
Sorin Davidoi ff26b72333 fix(getting_started): Scroll on mobile ()
Eugen Rochko 0e0f18ce7c New logo ()
* Add new logo

* Remove unused images
Ondřej Hruška db73ac92d7 Changed landing page cloud animation to be more relaxed and smoother ()
Eugen Rochko 311871eefc Turn clouds on landing page into SVGs, use SCSS variables to color them ()
Sorin Davidoi 3817704806 feat(compose): Change media query for compact mode to max-height: 400px ()
Yamagishi Kazutoshi f2390e2803 Dynamicaly change avatar and header bg from account setting ()
Eugen Rochko 7bf7ed6123 Fix - Show avatar/header on edit profile page ()
Sorin Davidoi c1bc5e14eb feat(compose): More space on mobile devices ()
* feat(compose): More space on mobile devices

* feat(compose): Hide navigation when typing on mobile devices

* fix(compose): Make animation faster

* fix(navigation_bar): Remove hardcoded title

* fix(compose): Prevent accidental bluring

* fix(compose): Increase max-height to 600px
Sorin Davidoi f24b81e27f feat(css): Remove border radius from WebKit's scrollbars ()
abcang 4d42a38954 Improve admin page ()
* Improve admin page

* Fix test

* Add spec

* Improve select style
Lynx Kotoura d1c3e35d3f Fix style settings for images in media modal ()
* Shrink too wide single image modal

Fix too wide react-swipeable-view-container

Fix 0067f80 shrinking all react-swipeable-view-container

Change to apply max-width of react-swipeable-view-container only under media-modal.

Fix b30b03b just a typo

* Centering contents in image-loader

Centering small img, canvas, and video in image-loader.
Sorin Davidoi 72bd73f605 Small style fixes ()
* fix(components/media_modal): Center horizontally in Firefox

* fix(components/status_list): Do not remove load more button
Eugen Rochko e2685ccc81 Fix , fix - Store emojis as unicode ()
- Use unicode when selecting emoji through picker
- Convert shortcodes to unicode when storing text input server-side
- Do not convert shortcodes in JS anymore
Sorin Davidoi a9067167bb Improve swiping ()
* feat(components/columns_area): Toggle animation settings

* fix(components/media_modal): Center non-visible views

* fix(components/media_modal): Check for null

* refactor(columns_area): Better logic
Sorin Davidoi a9a0c854e1 fix(components/media_modal): Style issues ()
Sorin Davidoi 0c7c188c45 Web Push Notifications ()
* feat: Register push subscription

* feat: Notify when mentioned

* feat: Boost, favourite, reply, follow, follow request

* feat: Notification interaction

* feat: Handle change of public key

* feat: Unsubscribe if things go wrong

* feat: Do not send normal notifications if push is enabled

* feat: Focus client if open

* refactor: Move push logic to WebPushSubscription

* feat: Better title and body

* feat: Localize messages

* chore: Fix lint errors

* feat: Settings

* refactor: Lazy load

* fix: Check if push settings exist

* feat: Device-based preferences

* refactor: Simplify logic

* refactor: Pull request feedback

* refactor: Pull request feedback

* refactor: Create /api/web/push_subscriptions endpoint

* feat: Spec PushSubscriptionController

* refactor: WebPushSubscription => Web::PushSubscription

* feat: Spec Web::PushSubscription

* feat: Display first media attachment

* feat: Support direction

* fix: Stuff broken while rebasing

* refactor: Integration with session activations

* refactor: Cleanup

* refactor: Simplify implementation

* feat: Set VAPID keys via environment

* chore: Comments

* fix: Crash when no alerts

* fix: Set VAPID keys in testing environment

* fix: Follow link

* feat: Notification actions

* fix: Delete previous subscription

* chore: Temporary logs

* refactor: Move migration to a later date

* fix: Fetch the correct session activation and misc bugs

* refactor: Move migration to a later date

* fix: Remove follow request (no notifications)

* feat: Send administrator contact to push service

* feat: Set time-to-live

* fix: Do not show sensitive images

* fix: Reducer crash in error handling

* feat: Add badge

* chore: Fix lint error

* fix: Checkbox label overlap

* fix: Check for payload support

* fix: Rename action "type" (crash in latest Chrome)

* feat: Action to expand notification

* fix: Lint errors

* fix: Unescape notification body

* fix: Do not allow boosting if the status is hidden

* feat: Add VAPID keys to the production sample environment

* fix: Strip HTML tags from status

* refactor: Better error messages

* refactor: Handle browser not implementing the VAPID protocol (Samsung Internet)

* fix: Error when target_status is nil

* fix: Handle lack of image

* fix: Delete reference to invalid subscriptions

* feat: Better error handling

* fix: Unescape HTML characters after tags are striped

* refactor: Simpify code

* fix: Modify to work with 

* Sort strings alphabetically

* i18n: Updated Polish translation

it annoys me that it's not fully localized :P

* refactor: Use current_session in PushSubscriptionController

* fix: Rebase mistake

* fix: Set cacheName to mastodon

* refactor: Pull request feedback

* refactor: Remove logging statements

* chore(yarn): Fix conflicts with master

* chore(yarn): Copy latest from master

* chore(yarn): Readd offline-plugin

* refactor: Use save! and update!

* refactor: Send notifications async

* fix: Allow retry when push fails

* fix: Save track for failed pushes

* fix: Minify sw.js

* fix: Remove account_id from fabricator
unarist c29c20ab3c Add background color for spoiler input, like toot textarea ()
Eugen Rochko 056b5ed72f Improve UI of admin site settings ()
Eugen Rochko e19eefe219 Redesign the landing page, mount public timeline on it ()
* Redesign the landing page, mount public timeline on it

* Adjust the standalone mounted component to the lacking of router

* Adjust auth layout pages to new design

* Fix tests

* Standalone public timeline polling every 5 seconds

* Remove now obsolete translations

* Add responsive design for new landing page

* Address reviews

* Add floating clouds behind frontpage form

* Use access token from public page when available

* Fix mentions and hashtags links, cursor on status content in standalone mode

* Add footer link to source code

* Fix errors on pages that don't embed the component, use classnames

* Fix tests

* Change anonymous autoPlayGif default to false

* When gif autoplay is disabled, hover to play

* Add option to hide the timeline preview

* Slightly improve alt layout

* Add elephant friend to new frontpage

* Display "back to mastodon" in place of "login" when logged in on frontpage

* Change polling time to 3s
Yamagishi Kazutoshi 31366334cb Drawer tab according to column ()
* Add notifications link to drawer

* Remove local and public timeline tab in drawer

* Add home
STJrInuyasha 7a889a8e12 Remote following success page ()
* Added a success page to remote following
Includes follow-through links to web (the old redirect target) and back to the remote user's profile

* Use Account.new in spec instead of a fake with only id
(fixes spec)

* Fabricate(:account) over Account.new

* Remove self from the success text
(and all HTML with it)
Sorin Davidoi 4122a837fa fix(components/media_modal): Aspect ratio ()
* fix(components/media_modal): Aspect ratio

* fix: Remove useless style
Sorin Davidoi fc4c74660b Swipeable views ()
* feat: Replace react-swipeable with react-swipeable-views

* fix: iOS 9
Yamagishi Kazutoshi 76318f8830 Don't use preview when image size is unknown ()
Sorin Davidoi 348d6f5e75 Lazy load components ()
* feat: Lazy-load routes

* feat: Lazy-load modals

* feat: Lazy-load columns

* refactor: Simplify Bundle API

* feat: Optimize bundles

* feat: Prevent flashing the waiting state

* feat: Preload commonly used bundles

* feat: Lazy load Compose reducers

* feat: Lazy load Notifications reducer

* refactor: Move all dynamic imports into one file

* fix: Minor bugs

* fix: Manually hydrate the lazy-loaded reducers

* refactor: Move all dynamic imports to async-components

* fix: Loading modal style

* refactor: Avoid converting the raw state for each lazy hydration

* refactor: Remove unused component

* refactor: Maintain modal name

* fix: Add as=script to preload link

* chore: Fix lint error

* fix(components/bundle): Check if timestamp is set when computing elapsed

* fix: Load compose reducers for the onboarding modal
Damien Erambert 18d3fa953b Add a setting allowing the use of system's default font in Web UI ()
* add a system_font_ui setting on the server

* Plug the system_font_ui on the front-end

* add EN/FR locales for the new setting

* put Roboto after all other fonts

* remove trailing whitespace so CodeClimate is happy

* fix user_spec.rb

* correctly write user_spect this time

* slightly better way of adding the classes

* add comments to the system-font stack for clarification

* use .system-font for the class instead

* don't use multiple lines for comments

* remove trailing whitespace

* use the classnames module for consistency

* use `mastodon-font-sans-serif` instead of Roboto directly
abcang f76e71825d Improve Activity stream spoiler ()
Mantas 34c8a46d7d Remove ugly blue highlight on Android browsers ()
Shin Kojima e7c0d87d98 Fix embedded SVG fill attribute ()
* Fix embedded SVG fill attribute

SCSS darken/lighten functions may not return a color value, but a color
name like "white".  See following example:

https://www.sassmeister.com/gist/c41da93b87d536890ddf30a1f42e7816

This patch will normalize $color argument to FFFFFF style.

I also changed the function name from "url-friendly-colour" to
"hex-color", Because...

1. The name "url-friendly" is not meaningful enough to describe what it
   does.

2. It is familier to me using "color" rather than "colour"

    kojima:kojiMac mastodon[master]$ git grep -l colour
    app/javascript/styles/boost.scss
    spec/fixtures/files/attachment.jpg

    kojima:kojiMac mastodon[master]$ git grep -l color
    .rspec
    .scss-lint.yml
    Gemfile.lock
    app/javascript/mastodon/features/status/components/action_bar.js
    app/javascript/styles/about.scss
    app/javascript/styles/accounts.scss
    app/javascript/styles/admin.scss
    app/javascript/styles/basics.scss
    app/javascript/styles/boost.scss
    app/javascript/styles/compact_header.scss
    app/javascript/styles/components.scss
    app/javascript/styles/containers.scss
    app/javascript/styles/footer.scss
    app/javascript/styles/forms.scss
    app/javascript/styles/landing_strip.scss
    app/javascript/styles/reset.scss
    app/javascript/styles/stream_entries.scss
    app/javascript/styles/tables.scss
    app/javascript/styles/variables.scss
    app/views/admin/subscriptions/_subscription.html.haml
    app/views/layouts/application.html.haml
    app/views/layouts/error.html.haml
    app/views/manifests/show.json.rabl
    bin/webpack-dev-server
    config/initializers/httplog.rb
    public/500.html
    public/emoji/1f1e6-1f1e8.svg
    public/emoji/1f1ec-1f1f8.svg
    public/emoji/1f1f3-1f1ee.svg
    public/emoji/1f1fb-1f1ec.svg
    spec/fixtures/requests/idn.txt
    yarn.lock

* Add semicolon
Eugen Rochko bf50e3e5ae Fix height issue in report modal
Yamagishi Kazutoshi 0e09048537 Fix broken style in media gallery (regression from ) ()
Naoki Kosaka 049cea30b0 Fix media-gallery, overflow is hidden. ()
Eugen Rochko 12e7c81dd8 Turn report screen into a modal ()
Sorin Davidoi be92babd00 Responsive images in media gallery ()
* feat(components/media_gallery): Responsive images

* fix(components/media_gallery): Link to image URL
Yamagishi Kazutoshi 8f2c91568c Maintain aspect ratio for preview image ()
Eugen Rochko 5e8d037e27 Fix - Require OTP authentication to disable 2FA ()
* Fix  - Require OTP authentication to disable 2FA. Also, remove ability
to generate new OTP backup codes *after* initial backup codes were handed
out during activation

* Restore recovery code re-generation

* Improve display of some 2FA elements
Eugen Rochko f7301bd5b9 Add overview of active sessions ()
* Add overview of active sessions

* Better display of browser/platform name

* Improve how browser information is stored and displayed for sessions overview

* Fix test
unarist 1fc096ec75 Fix elephant in onboarding modal being very small sized on small devices ()
unarist 21c2bc119c Clean column collapsible ()
* Remove unused column_collapsable.js
* Remove old styles
* Extract `> div`  style to independent class
Sorin Davidoi d8c4781377 fix: Apply :hover, :focus and :active only when multiple columns
Yamagishi Kazutoshi eb832e88f4 Replace TextIconButton for SensitiveButton to IconButton ()
* Replace TextIconButton for SensitiveButton to IconButton

* line-height
unarist aa58cca040 Set cursor:pointer only when necessary ()
Eugen Rochko 4a618908e8 Account deletion ()
* Add form for account deletion

* If avatar or header are gone from source, remove them

* Add option to have SuspendAccountService remove user record, add tests

* Exclude suspended accounts from search
Eugen Rochko 5104bd7988 Fix unclickable onboardin modal regression ()
Eugen Rochko 37dbfa4cd7 Unread indicator was invisible behind column header, adjusted ()
* Unread indicator was invisible behind column header, adjusted

* Unread indicator now a CSS pseudo-element

* Adjust flex
Yamagishi Kazutoshi 72133fbed6 Re-add clear notifications button ()
* Re-add clear notifications button

* remove connect() in column_settings

* one line

* remove unused props