Midgard
16d0aed403
Use instance name in email notifications instead of "Mastodon" ( #3763 )
...
* Use instance name in "password changed" mail
instead of "Mastodon".
Fixes tootsuite#2620.
* Use instance name in password reset mail
instead of "Mastodon".
2017-06-27 14:22:36 +02:00
Sorin Davidoi
be92babd00
Responsive images in media gallery ( #3963 )
...
* feat(components/media_gallery): Responsive images
* fix(components/media_gallery): Link to image URL
2017-06-27 13:46:37 +02:00
Yamagishi Kazutoshi
8f2c91568c
Maintain aspect ratio for preview image ( #3966 )
2017-06-27 13:43:53 +02:00
Surinna Curtis
a6f5111c79
Eyes with variation-selector-16 now also do local-only
2017-06-26 20:51:11 -05:00
kibigo!
59503a88ae
Disable account linking on collapsed toots too
2017-06-26 15:41:09 -07:00
kibigo!
5df7bc3a8b
Disable links on collapsed toots
2017-06-26 15:22:03 -07:00
Eugen Rochko
42b8220632
Fix #1624 - Send e-mail notifications to admins about new reports ( #3949 )
2017-06-27 00:04:00 +02:00
kibigo!
c806fef865
Notifications collapsed by default
2017-06-26 14:28:43 -07:00
ThibG
a91d968cab
Raise an error if salmon request response is unsatisfactory ( #3960 )
2017-06-26 19:39:58 +02:00
Surinna Curtis
7b53d4bbca
Bio length on client side mostly doesn't count metadata
2017-06-26 09:34:31 -05:00
Surinna Curtis
4f36aad6e8
don't count bio metadata against bio length on server
2017-06-26 09:34:31 -05:00
Alda Marteau-Hardi
f53ed108b0
Translate pin/unpin and fix some inconsistencies in gender neutral strings ( #3952 )
2017-06-26 13:04:36 +02:00
kibigo!
56ca33a6d3
Time needs to be just a little wider to accomodate minutes
2017-06-25 19:38:58 -07:00
kibigo!
aeff898137
We want wrapping here, sorry 😥
2017-06-25 19:26:59 -07:00
kibigo!
b323e00bf3
Merge branch 'master' of https://github.com/glitch-soc/mastodon
2017-06-25 19:19:52 -07:00
kibigo!
a520b118e4
Expand toot by clicking on body [fixed!]
2017-06-25 19:19:45 -07:00
beatrix-bitrot
93fc8aa14c
keyword muting and local only tooting WIP
2017-06-26 02:19:21 +00:00
beatrix-bitrot
c0a665865e
update bio length to 500
2017-06-26 02:18:52 +00:00
kibigo!
38a1299975
Stick images inside of CWs
2017-06-25 19:15:03 -07:00
kibigo!
96e1f75679
Fixes to overflows wrt drawer/column
2017-06-25 18:05:28 -07:00
kibigo!
3a99552f0c
Fixed bad drawer custom.css
2017-06-25 17:55:48 -07:00
kibigo!
22cc5c0dec
Improvements to action bar positioning
2017-06-25 17:35:27 -07:00
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.
2017-06-25 18:24:50 -05:00
kibigo!
e60f27d649
Clicking on a collapsed toot just uncollapses it.
2017-06-25 16:09:32 -07:00
kibigo!
6a50e73089
Auto-uncollapse when expanding CW
2017-06-25 15:52:55 -07:00
kibigo!
b1f9892e63
[custom.scss] More media height fixes
2017-06-25 15:29:23 -07:00
kibigo!
d6e3918d92
Disables CW [Show More/Less] links in collapsed toots
2017-06-25 15:25:19 -07:00
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
2017-06-25 23:51:46 +02:00
Eugen Rochko
ed7dc1704d
Bind web UI access tokens to sessions ( #3940 )
...
* Add overview of active sessions
* Better display of browser/platform name
* Improve how browser information is stored and displayed for sessions overview
* Fix test
* Fix #2347 - Bind web UI access token to session
When you logout, session also destroys the access token, so it's no longer
valid. If access token is destroyed some other way, the session is also
destroyed, requiring a re-login.
Fix #1681 - Add scheduler to remove revoked access tokens and grants
* Fix test
2017-06-25 23:51:32 +02:00
kibigo!
6909bbdc9e
[custom.scss] max-height of media now a fixed value
2017-06-25 14:44:52 -07:00
kibigo!
ddc6b85912
Color adjustment to media icons
2017-06-25 14:25:35 -07:00
kibigo!
4bc237fcfe
Adds media icons to toots
2017-06-25 14:22:11 -07:00
kibigo!
efacfec3ed
Media previews for collapsed toots
2017-06-25 13:57:52 -07:00
kibigo!
8ea779e59a
Patching rebase errors
2017-06-25 12:51:31 -07:00
Sorin Davidoi
4ce1540094
fix(features/compose): Handle external changes to the textarea ( #3632 )
2017-06-25 21:43:27 +02:00
Shel Raphen
7eda83a36a
Glitchsocification
2017-06-25 19:21:51 +00:00
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
2017-06-25 16:54:30 +02:00
PFM
099a3b4eac
Fix "undefined" in className ( #3939 )
2017-06-25 16:02:56 +02:00
kibigo!
af178d0ba6
Removed no-longer-necessary custom style
2017-06-24 21:28:30 -07:00
kibigo!
b8a5052d53
Better style handling at small sizes
2017-06-24 20:36:19 -07:00
kibigo!
7427680e75
Allowed little media rules
2017-06-24 20:14:58 -07:00
kibigo!
ca0d30c04b
OKAY THIS WORKS THIS WORKS
2017-06-24 20:04:46 -07:00
kibigo!
da05cde721
Better settings handling with localSettings (new!)
2017-06-24 19:56:37 -07:00
kibigo!
4c37f629bc
Don't change layout of static pages
2017-06-24 18:30:59 -07:00
kibigo!
ddba5d3b8c
Use Redux store to keep track of layout
2017-06-24 18:30:30 -07:00
unarist
1fc096ec75
Fix elephant in onboarding modal being very small sized on small devices ( #3932 )
2017-06-24 23:18:32 +02:00
unarist
21c2bc119c
Clean column collapsible ( #3931 )
...
* Remove unused column_collapsable.js
* Remove old styles
* Extract `> div` style to independent class
2017-06-24 23:18:11 +02:00
Sorin Davidoi
d23293c762
feat(components/onboarding_modal): Swipe between pages ( #3934 )
2017-06-24 23:17:39 +02:00
Surinna Curtis
ceb545c080
Pass in correct "singleColumn" prop value when auto-columns is not used.
2017-06-24 15:29:46 -05:00
Surinna Curtis
a70468aa56
Support overriding media queries for deciding between single-column/multi-column layouts with a class
2017-06-24 15:29:46 -05:00
Yamagishi Kazutoshi
79dacea962
Fix #3924 (regression from #3906 ) ( #3925 )
2017-06-24 12:24:02 +02:00
beatrix-bitrot
8b23bf7cbd
clean up old avatar class
2017-06-24 03:51:01 +00:00
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)
2017-06-24 03:03:27 +00:00
kibigo!
2513d92c54
Un-hide dropdown menu ;P
2017-06-23 19:39:44 -07:00
kibigo!
414dfb3955
ESLint improvements for Profile Metadata
2017-06-23 18:43:30 -07:00
Gô Shoemake
67adbcc60c
Reblog support for collapsed toots
2017-06-23 18:23:26 -07:00
unarist
4e6b5e7879
Use debounce for dispatch scrollTopNotification and expandNotifications ( #3700 )
2017-06-24 02:43:26 +02:00
beatrix-bitrot
453b9c6e7e
missing punctuation
2017-06-23 22:01:04 +00:00
beatrix
d9b9bb8c5e
glitch the getting started image
2017-06-23 21:50:45 +00:00
kibigo!
40ecbfd4a9
Very minor styling improvements to toot-collapsing
2017-06-23 21:50:45 +00:00
kibigo!
4fe45dda9a
Updates height upon collapsing
2017-06-23 21:50:45 +00:00
kibigo!
4bd7482a7a
Minor collapsing button improvements~
2017-06-23 21:50:45 +00:00
kibigo!
93c52301ad
Collapsable toots [1/??] ☕ ️
2017-06-23 21:50:45 +00:00
kibigo!
0d3ec19e89
✨ Profile Metadata HACK 😈
2017-06-23 21:45:14 +00:00
Go Shoemake
62a75891ab
Fixes drawer so stuff doesn't overflow
2017-06-23 21:45:14 +00:00
Charlotte Fields
b27842dc70
cybre cleanup
2017-06-23 21:45:14 +00:00
Chronister
39b6b37b74
cybrespace to 1.4.2
2017-06-23 21:45:14 +00:00
Chronister
65528fc54e
All cybrespace changes through 5/28
2017-06-23 21:45:14 +00:00
Charlotte Fields
382572c213
adding cybre changes
2017-06-23 21:45:14 +00:00
Daniel Hunsaker
c0979381a4
Fix a typo and give CW'd statuses the right cursor ( #3918 )
2017-06-23 23:13:27 +02:00
Yamagishi Kazutoshi
c1a8e3d1eb
Use Class and Property Decorators ( #3730 )
...
ref https://tc39.github.io/proposal-decorators/
2017-06-23 19:36:54 +02:00
Sorin Davidoi
2211e8d1cd
Revocable sessions ( #3616 )
...
* feat: Revocable sessions
* fix: Tests using sign_in
* feat: Configuration entry for the maximum number of session activations
2017-06-23 18:50:53 +02:00
Eugen Rochko
281f07244b
Merge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon into sorin-davidoi-swipe-gestures
2017-06-23 17:52:39 +02:00
Yamagishi Kazutoshi
eff9416469
Remove unused variables ( #3906 )
2017-06-23 16:05:04 +02:00
Yamagishi Kazutoshi
6fbb3841a6
Add prefix to setting toggle ID ( #3907 )
2017-06-23 13:55:05 +02:00
Sorin Davidoi
d8c4781377
fix: Apply :hover, :focus and :active only when multiple columns
2017-06-23 13:48:46 +02:00
Sorin Davidoi
bc6e958229
feat: Swipeable media
2017-06-23 13:48:46 +02:00
Sorin Davidoi
a6d8d1036a
feat: Swipeable columns
2017-06-23 13:48:46 +02:00
Akihiko Odaki (@fn_aki@pawoo.net)
e27f792c24
Some minor change and spec for Account ( #3813 )
...
* Introduce domains method to Account relation
Account had followers_domains method, which was excessively specific.
Let relation of Account have domains method instead.
* Move follow_mapping in Account to AccountInteractions
* Introduce shared examples for AccountAvatar inclusion
* Cover Account more
2017-06-22 18:34:27 +02:00
Eugen Rochko
0190aac240
Fix regression from #3842 ( #3892 )
...
* Fix regression from #3842
Simplify the query by omitting all direct statuses. Private statuses
are allowed because they are from accounts we are following (so
by definition)
Resolves #3887 (alternative)
* Adjust test
2017-06-22 02:38:50 +02:00
unarist
cc382c5006
Don't attach IntersectionObserver for wrapped statuses ( #3883 )
...
(This patch has been merged as bugfix and reverted, but still valuable as
improvement)
Previously, we've attached IntersectionObserver twice for boosted statuses:
wrapper Status and wrapped Status. but wrapped Status don't need to manage
intersection and visibility by itself, because it's a part of wrapper Status.
2017-06-21 06:47:36 +02:00
Eugen Rochko
946a166791
Revert #3851 ( #3878 )
2017-06-21 01:37:15 +02:00
Eugen Rochko
31cd649041
Revert "Don't attach IntersectionObserver for wrapped statuses" ( #3877 )
...
* Revert "Bump version to 1.4.4"
This reverts commit 1585b0c6cc
.
* Revert "Fix conversations (fixes #3869 ) (#3870 )"
This reverts commit 15b43f555d
.
* Revert "Fix streaming server. Redis connection subscribe for each channel. (#3828 )"
This reverts commit d8ec832806
.
* Revert "Filter direct statuses in Status.as_home_timeline (#3842 )"
This reverts commit bab5a18232
.
* Revert "Fix RemoteFollow behavior (#3868 )"
This reverts commit a20cf3b64e
.
* Revert "Update fabricator for MediaAttachment to attach a file according to type (#3862 )"
This reverts commit 356df7ae6b
.
* Revert "Upgrade React Router (#3677 )"
This reverts commit 8f03fdce7f
.
* Revert "Do not call setState from unmounted component (#3853 )"
This reverts commit 1fc6cb4997
.
* Revert "Replace TextIconButton for SensitiveButton to IconButton (#3759 )"
This reverts commit eb832e88f4
.
* Revert "Fix RTL detection on Ruby side (#3867 )"
This reverts commit b16b69350e
.
* Revert "i18n: Fixed typo in Polish translation (#3864 )"
This reverts commit da6fa029f6
.
* Revert "Don't attach IntersectionObserver for wrapped statuses (#3863 )"
This reverts commit 94ad0706f5
.
2017-06-21 01:33:14 +02:00
ThibG
15b43f555d
Fix conversations ( fixes #3869 ) ( #3870 )
...
* Actually create conversations given explicit URIs
* Try to get the parent toot in before validation, to avoid creating a new conversation
2017-06-20 20:44:32 +02:00
Akihiko Odaki (@fn_aki@pawoo.net)
bab5a18232
Filter direct statuses in Status.as_home_timeline ( #3842 )
...
The classes using Status.as_home_timeline, namely Feed and
PrecomputeFeedService are expected to filter direct statuses as
FanOutWriteService does, but their filtering were incomplete or missing.
This commit solves the problem by filtering direct statuses in
as_home_timeline as the other similar methods such as as_public_timeline
does.
2017-06-20 20:41:23 +02:00
unarist
a20cf3b64e
Fix RemoteFollow behavior ( #3868 )
...
* Invalid acct is an error. not "2 errors".
* Empty input should be different error from invalid acct
2017-06-20 20:40:56 +02:00
Sorin Davidoi
8f03fdce7f
Upgrade React Router ( #3677 )
...
* chore(yarn): Remove react-router
* chore(yarn): Remove react-router-scroll
* chore(yarn): Remove history
* chore(yarn): Add react-router-dom
* chore: Remove usages of react-router-scroll
* refactor: Upgrade to react-router-web
* refactor: Use fork of react-router-scroll
This reverts commit 2ddea9a6c8d39fc64b7d0b587f3fbda7a45a7fa2.
* fix: Issues mentions in the PR feedback
2017-06-20 20:40:03 +02:00
alpaca-tc
1fc6cb4997
Do not call setState from unmounted component ( #3853 )
...
Stop an executing task if the component already unmounted.
2017-06-20 20:37:09 +02:00
Yamagishi Kazutoshi
eb832e88f4
Replace TextIconButton for SensitiveButton to IconButton ( #3759 )
...
* Replace TextIconButton for SensitiveButton to IconButton
* line-height
2017-06-20 19:43:09 +02:00
unarist
b16b69350e
Fix RTL detection on Ruby side ( #3867 )
...
This fixes below bugs:
* pipe characters being counted as RTL character
* only first word being checked
2017-06-20 18:45:09 +02:00
unarist
94ad0706f5
Don't attach IntersectionObserver for wrapped statuses ( #3863 )
...
This fixes a bug that sometimes boosted statuses being hidden on scrolling.
Previously, we've attached IntersectionObserver twice for boosted statuses:
wrapper Status and wrapped Status. This will call intersection handler twice,
so this may results race condition...probably.
2017-06-20 04:12:51 +02:00
unarist
bf8c2c4348
Clicking on the CW text should expand the status ( #3855 )
2017-06-20 01:34:10 +02:00
unarist
aa58cca040
Set cursor:pointer only when necessary ( #3857 )
2017-06-19 18:27:07 +02:00
masarakki
ff142eb64d
setting-for-account-deletable ( #3852 )
2017-06-19 15:12:31 +02:00
Daigo 3 Dango
5bd3715a4c
Link to /about from public page on a single user instance ( #3814 )
...
There was no link for visitors to follow to see the about page.
2017-06-19 11:32:28 +02:00
Gô Shoemake
29a22691d2
Fix character/grapheme count stuff ( #3839 )
...
* Bring Toot button in line with counter
Both should use stringz I guess
* Use grapheme_length for character count
2017-06-19 11:31:14 +02:00
alpaca-tc
cf6fe4f8cb
Unobserve status on unmount ( #3851 )
2017-06-19 11:29:57 +02:00
alpaca-tc
8d2b3ada80
Fixes streaming callbacks of HashtagTimeline ( #3849 )
2017-06-19 10:28:35 +02:00
Eugen Rochko
f3be605286
Rename FollowRemoteAccountService to ResolveRemoteAccountService ( #3847 )
...
Rename Activitypub to ActivityPub
2017-06-19 01:51:04 +02:00
Eugen Rochko
aebebdc5d1
Debounce autosuggestions ( #3836 )
...
* Debounce autosuggestions
* Remove duplicate import
2017-06-19 01:50:56 +02:00