Surinna Curtis
7a77f7b3bb
Add sourceRoot/includePaths to loaders
...
Use the settings modal as an example/testcase
7 years ago
Ondřej Hruška
d69fa9e1f4
Merge changes from upstream with the CSS reload fix
7 years ago
abcang
4d42a38954
Improve admin page ( #4121 )
...
* Improve admin page
* Fix test
* Add spec
* Improve select style
7 years ago
Ondřej Hruška
c727eae441
Updated from tootsuite
7 years ago
Lynx Kotoura
d1c3e35d3f
Fix style settings for images in media modal ( #4220 )
...
* 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.
7 years ago
kibigo!
09cfc079b0
Merge upstream ( #81 )
7 years ago
Ondřej Hruška
08d021916d
Fixed issue #72 - bad css in report dialog
7 years ago
Ondřej Hruška
3a526e2369
Fix broken letterboxing in media previews
7 years ago
Sorin Davidoi
72bd73f605
Small style fixes ( #4206 )
...
* fix(components/media_modal): Center horizontally in Firefox
* fix(components/status_list): Do not remove load more button
7 years ago
Eugen Rochko
e2685ccc81
Fix #4149 , fix #1199 - Store emojis as unicode ( #4189 )
...
- Use unicode when selecting emoji through picker
- Convert shortcodes to unicode when storing text input server-side
- Do not convert shortcodes in JS anymore
7 years ago
Ondřej Hruška
75aafc932e
Added buttons and menu items to dismiss individual notifications ( #76 )
...
* Added DELETE verb for notifications
* Added notification dismiss button to status dropdown
* Added reveal-on-hover notif dismiss button, added FollowNotification component
7 years ago
Sorin Davidoi
a9067167bb
Improve swiping ( #4188 )
...
* 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
7 years ago
Sorin Davidoi
a9a0c854e1
fix(components/media_modal): Style issues ( #4187 )
7 years ago
Sorin Davidoi
0c7c188c45
Web Push Notifications ( #3243 )
...
* 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 #4091
* 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
7 years ago
unarist
c29c20ab3c
Add background color for spoiler input, like toot textarea ( #4181 )
7 years ago
kibigo!
79d898ae0a
Merge upstream!! #64 <3 <3
7 years ago
Eugen Rochko
056b5ed72f
Improve UI of admin site settings ( #4163 )
7 years ago
Ondřej Hruška
08d19778d5
Fix extra clickable spaces for narrow screen
7 years ago
Eugen Rochko
e19eefe219
Redesign the landing page, mount public timeline on it ( #4122 )
...
* 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
7 years ago
Yamagishi Kazutoshi
31366334cb
Drawer tab according to column ( #4135 )
...
* Add notifications link to drawer
* Remove local and public timeline tab in drawer
* Add home
7 years ago
STJrInuyasha
7a889a8e12
Remote following success page ( #4129 )
...
* 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)
7 years ago
Ondřej Hruška
9f7a5aac1e
Toot context menu is now centered
7 years ago
Ondřej Hruška
945c5812d3
Added extra clickable area in status gutter
7 years ago
Sorin Davidoi
4122a837fa
fix(components/media_modal): Aspect ratio ( #4128 )
...
* fix(components/media_modal): Aspect ratio
* fix: Remove useless style
7 years ago
Sorin Davidoi
fc4c74660b
Swipeable views ( #4105 )
...
* feat: Replace react-swipeable with react-swipeable-views
* fix: iOS 9
7 years ago
Ondřej Hruška
8e2b1f79e4
Small indent fix in components.scss
7 years ago
Ondřej Hruška
2fb78fefc6
Fix fullwidth media CSS bugs with NSFW video, and bad spoiler margin on static pages ( #60 )
...
* Fix fullwidth style not applied to NSFW video correctly
* Fix botched video .media-spoiler margin on static pages
7 years ago
Yamagishi Kazutoshi
76318f8830
Don't use preview when image size is unknown ( #4113 )
7 years ago
Ondřej Hruška
dc2b8bdecd
Added a toggle for full-width media previews
7 years ago
Ondřej Hruška
e3c2183c12
New design for visibility icons
7 years ago
kibigo!
86f8df7903
Fixed avis on static pages
7 years ago
Sorin Davidoi
348d6f5e75
Lazy load components ( #3879 )
...
* 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
7 years ago
Ondřej Hruška
d41cec90cf
Added toot visibility icons and removed Boost btn changing icon
7 years ago
Damien Erambert
18d3fa953b
Add a setting allowing the use of system's default font in Web UI ( #4033 )
...
* 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
7 years ago
abcang
f76e71825d
Improve Activity stream spoiler ( #4088 )
7 years ago
Mantas
34c8a46d7d
Remove ugly blue highlight on Android browsers ( #4031 )
7 years ago
Shin Kojima
e7c0d87d98
Fix embedded SVG fill attribute ( #4086 )
...
* 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
7 years ago
kibigo!
0c7ee5c792
Fixed non-status notification styling
7 years ago
kibigo!
bba75c15f1
Statuses redux!
...
- Better unified reblogs, statuses, and notifications
- Polished up collapsed toots greatly
- Apologies to bea if this makes everything more difficult
7 years ago
Ondřej Hruška
4cbbea5881
Improved CSS for drawer to restore original looks (full height)
7 years ago
Ondřej Hruška
167c392efd
Fix drawer clipping dropdowns
7 years ago
Surinna Curtis
6b77424660
some adjustments to open/active for advanced options dropdown
7 years ago
Surinna Curtis
301c185878
highlight … button if any options enabled
7 years ago
Surinna Curtis
cb7f54891f
Revert "change active/hover display on advanced options"
...
This reverts commit ade773cb0a8c0c4b862074f7ee8e607023bc8bbe.
7 years ago
Surinna Curtis
f6ce1a9592
toggles for advanced options
7 years ago
Surinna Curtis
aee64b996c
change active/hover display on advanced options
7 years ago
Surinna Curtis
b73ee36949
Reduce advanced options dropdown width
7 years ago
Surinna Curtis
85d5249479
The beginnings of an advanced options dropdown
7 years ago
Surinna Curtis
ff9f2088f7
Move layout override into app settings modal
...
Squashed commit of the following:
commit 3842f879865818a3299f8283f8ed1b43c5566500
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 19:57:39 2017 -0500
Fix some style issues
commit 08628a0234392ecac90e869a1272f429de0b6db2
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 19:35:22 2017 -0500
Improved styling and layout of select app settings
commit 1787a7c20f2bf7101c6d6830450564178314a737
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 17:13:53 2017 -0500
remove the layout selector ui from the drawer
commit 7d93b180b1e615e2c36210ad6f119fe80a2778d8
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 17:01:51 2017 -0500
Add layout setting to app settings modal
7 years ago
Eugen Rochko
bf50e3e5ae
Fix height issue in report modal
7 years ago
adbelle
15227c713d
Remove color lightening for search results section
...
This will cause it to match the shading of the container behind it.
7 years ago
adbelle
30736f4886
Add opaque background to search results section
7 years ago
Yamagishi Kazutoshi
0e09048537
Fix broken style in media gallery (regression from #3963 ) ( #4014 )
7 years ago
kibigo!
46f83bb28b
Styling fixes to media spoilers
7 years ago
kibigo!
ec2daae71c
Media display improvements
...
- built in fullwidth styling
- letterbox settings toggle
- media no longer counts towards height when making toot-collapsing
measurements
7 years ago
Naoki Kosaka
049cea30b0
Fix media-gallery, overflow is hidden. ( #4008 )
7 years ago
kibigo!
cc4cba8afd
Improvements to image icon appearance on SHOW MORE
7 years ago
kibigo!
99889ea57d
Tiny Status improvements
...
- Media toots are no longer auto-collapsed if the media is behind a CW
- Display names no longer appear clickable when a toot is collapsed
- Fixed #36 by adding reduplicating the media icon inside the SHOW
MORE/LESS
7 years ago
kibigo!
0b371da971
Fixed improper centering of columns-area
7 years ago
kibigo!
595c6de32c
Added App Setttings Modal
7 years ago
kibigo!
7b1d233f4f
Linear gradient no longer extends under metadata on account pages
7 years ago
kibigo!
03f9648377
Improvements to static metadata styling, especially for mobile
7 years ago
kibigo!
6107e95404
Backend YAML Processing + Profile Metadata on Static Pages
7 years ago
kibigo!
ab4632a41e
Allow line-breaks in bio metadata
7 years ago
beatrix-bitrot
ddafde942c
Merge remote-tracking branch 'upstream/master'
7 years ago
Eugen Rochko
12e7c81dd8
Turn report screen into a modal ( #3965 )
7 years ago
kibigo!
e6300de142
Profile metadata improvements
7 years ago
Sorin Davidoi
be92babd00
Responsive images in media gallery ( #3963 )
...
* feat(components/media_gallery): Responsive images
* fix(components/media_gallery): Link to image URL
7 years ago
Yamagishi Kazutoshi
8f2c91568c
Maintain aspect ratio for preview image ( #3966 )
7 years ago
kibigo!
56ca33a6d3
Time needs to be just a little wider to accomodate minutes
7 years ago
kibigo!
aeff898137
We want wrapping here, sorry 😥
7 years ago
kibigo!
38a1299975
Stick images inside of CWs
7 years ago
kibigo!
96e1f75679
Fixes to overflows wrt drawer/column
8 years ago
kibigo!
3a99552f0c
Fixed bad drawer custom.css
8 years ago
kibigo!
22cc5c0dec
Improvements to action bar positioning
8 years ago
Surinna Curtis
efa425206c
Move status action bar left
...
This also resolves the issues where sometimes the timestamps wrap and also sits unpleasantly close to the … button.
8 years ago
kibigo!
6a50e73089
Auto-uncollapse when expanding CW
8 years ago
kibigo!
b1f9892e63
[custom.scss] More media height fixes
8 years ago
kibigo!
d6e3918d92
Disables CW [Show More/Less] links in collapsed toots
8 years ago
Eugen Rochko
5e8d037e27
Fix #3910 - Require OTP authentication to disable 2FA ( #3935 )
...
* Fix #3910 - 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
8 years ago
kibigo!
6909bbdc9e
[custom.scss] max-height of media now a fixed value
8 years ago
kibigo!
ddc6b85912
Color adjustment to media icons
8 years ago
kibigo!
4bc237fcfe
Adds media icons to toots
8 years ago
kibigo!
efacfec3ed
Media previews for collapsed toots
8 years ago
Eugen Rochko
f7301bd5b9
Add overview of active sessions ( #3929 )
...
* Add overview of active sessions
* Better display of browser/platform name
* Improve how browser information is stored and displayed for sessions overview
* Fix test
8 years ago
kibigo!
af178d0ba6
Removed no-longer-necessary custom style
8 years ago
kibigo!
b8a5052d53
Better style handling at small sizes
8 years ago
kibigo!
7427680e75
Allowed little media rules
8 years ago
kibigo!
ca0d30c04b
OKAY THIS WORKS THIS WORKS
8 years ago
kibigo!
4c37f629bc
Don't change layout of static pages
8 years ago
unarist
1fc096ec75
Fix elephant in onboarding modal being very small sized on small devices ( #3932 )
8 years ago
unarist
21c2bc119c
Clean column collapsible ( #3931 )
...
* Remove unused column_collapsable.js
* Remove old styles
* Extract `> div` style to independent class
8 years ago
Surinna Curtis
a70468aa56
Support overriding media queries for deciding between single-column/multi-column layouts with a class
8 years ago
Matthew Walsh
f1a60d4b81
Unified avatar styling
...
Avatars now have consistent styling across all pages; border radius can be adjusted with a SASS variable ($ui-avatar-border-size)
8 years ago
kibigo!
2513d92c54
Un-hide dropdown menu ;P
8 years ago
kibigo!
40ecbfd4a9
Very minor styling improvements to toot-collapsing
8 years ago
kibigo!
93c52301ad
Collapsable toots [1/??] ☕ ️
8 years ago
kibigo!
0d3ec19e89
✨ Profile Metadata HACK 😈
8 years ago
Go Shoemake
62a75891ab
Fixes drawer so stuff doesn't overflow
8 years ago
Charlotte Fields
b27842dc70
cybre cleanup
8 years ago