Commit Graph

407 Commits (6ecf81cacf10da3fbd57d149448eaa26d9a6af90)

Author SHA1 Message Date
kibigo! 321fa41930 Merge remote-tracking branch 'cybre/theme_win95' into glitch-theme 8 years ago
kibigo! f51f7b0e06 Font styles are now packagified 8 years ago
Eugen Rochko 58cede4808
Profile redirect notes (#5746)
* Serialize moved accounts into REST and ActivityPub APIs

* Parse federated moved accounts from ActivityPub

* Add note about moved accounts to public profiles

* Add moved account message to web UI

* Fix code style issues
8 years ago
kibigo! e19fc6a9f8 Restore vanilla components 8 years ago
kibigo! 45c44989c8 Forking glitch theme 8 years ago
Jenkins 94c5a11cda Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master 8 years ago
Lynx Kotoura 4a2fc2d444 Increase contrast of Admin badges (#5740)
To comply WCAG 2.0 guidelines on contrast ratio.
8 years ago
David Yip b28b405b97 Merge remote-tracking branch 'origin/master' into gs-master 8 years ago
Eugen Rochko 2151fd3150
Display moderator badge (green), admin badge changed to red (#5728) 8 years ago
Surinna Curtis 35fbdc36f9 Merge tootsuite/master at 3023725936 8 years ago
Surinna Curtis 031a5a8f92 Optional notification muting (#5087)
* Add a hide_notifications column to mutes

* Add muting_notifications? and a notifications argument to mute!

* block notifications in notify_service from hard muted accounts

* Add specs for how mute! interacts with muting_notifications?

* specs testing that hide_notifications in mutes actually hides notifications

* Add support for muting notifications in MuteService

* API support for muting notifications (and specs)

* Less gross passing of notifications flag

* Break out a separate mute modal with a hide-notifications checkbox.

* Convert profile header mute to use mute modal

* Satisfy eslint.

* specs for MuteService notifications params

* add trailing newlines to files for Pork :)

* Put the label for the hide notifications checkbox in a label element.

* Add a /api/v1/mutes/details route that just returns the array of mutes.

* Define a serializer for /api/v1/mutes/details

* Add more specs for the /api/v1/mutes/details endpoint

* Expose whether a mute hides notifications in the api/v1/relationships endpoint

* Show whether muted users' notifications are muted in account lists

* Allow modifying the hide_notifications of a mute with the /api/v1/accounts/:id/mute endpoint

* make the hide/unhide notifications buttons work

* satisfy eslint

* In probably dead code, replace a dispatch of muteAccount that was skipping the modal with launching the mute modal.

* fix a missing import

* add an explanatory comment to AccountInteractions

* Refactor handling of default params for muting to make code cleaner

* minor code style fixes oops

* Fixed a typo that was breaking the account mute API endpoint

* Apply white-space: nowrap to account relationships icons

* Fix code style issues

* Remove superfluous blank line

* Rename /api/v1/mutes/details -> /api/v2/mutes

* Don't serialize "account" in MuteSerializer

Doing so is somewhat unnecessary since it's always the current user's account.

* Fix wrong variable name in api/v2/mutes

* Use Toggle in place of checkbox in the mute modal.

* Make the Toggle in the mute modal look better

* Code style changes in specs and removed an extra space

* Code review suggestions from akihikodaki

Also fixed a syntax error in tests for AccountInteractions.

* Make AddHideNotificationsToMute Concurrent

It's not clear how much this will benefit instances in practice, as the
number of mutes tends to be pretty small, but this should prevent any
blocking migrations nonetheless.

* Fix up migration things

* Remove /api/v2/mutes
8 years ago
Andrew c238444188 Updates and fixes to win95 theme 8 years ago
Lynx Kotoura f9e7336296 Fix focused background color of direct toots (#5642) 8 years ago
nullkal 3f16caaa50 Eliminate space around emoji (#5474)
* Eliminate space around emoji

* More improve emoji style

* Make more compatible with Twemoji

* Make scss-lint happy

* Make not modify normal emoji's behavior

* Decrease status__action-bar's margin-top to 5px

* Make the test be passed

* Revert "Make the test be passed"

This reverts commit 54a8c60e59.

* Revert "Make not modify normal emoji's behavior"

This reverts commit 6a5bdf0c11.
8 years ago
Eugen Rochko 1032f3994f
Add ability to disable login and mark accounts as memorial (#5615)
Fix #5597
8 years ago
MIYAGI Hikaru 8abe9e9058 don't display any descendants of .invisible (#5567)
* don't display any descendants of .invisible

* reduce the scope of selector

* remove some rules for image

* lint
8 years ago
Nolan Lawson 512feab222 Add margin to account for Edge disappearing scrollbar (#5522)
* Add margin to account for Edge disappearing scrollbar

* Fix 16px margin for DMs and horizontal line
8 years ago
Herbert Kagumba 3e9236b343 Separate Follow/Unfollow and back buttons (#5496) 8 years ago
Andrew 2827f852c0 Theme: Windows 95 8 years ago
David Yip dd28b94cf0 Merge remote-tracking branch 'origin/master' into gs-master 8 years ago
りんすき d556be2968 Fix column design broken with very long title (#5493)
* Fix #5314

* fix not beautiful code

* fix broken design with mobile view

* remove no longer needed code
8 years ago
Nolan Lawson 02f7f3619a Remove translateZ(0) on modal overlay (#5478) 8 years ago
David Yip 4f01e6e8d5 Merge remote-tracking branch 'origin/master' into gs-master 8 years ago
Ondřej Hruška d589dd7cd0 Compose buttons bar redesign + generalize dropdown (#194)
* Generalize compose dropdown for re-use

* wip stuffs

* new tootbox look and removed old doodle button files

* use the house icon for ...
8 years ago
Nolan Lawson 8392ddbf87 Remove unnecessary translateZ(0) when doing scale() (#5473) 8 years ago
David Yip 42e8c8eb0e Merge tag 'v2.0.0' into gs-master 8 years ago
YaQ 6e54719474 Make theme directory and Rename application.scss (#5336)
* Rename application.scss

* Move to 'default' directory

* Follow review

Move directory, and Rename "mastodon".

* Revert rename

* undo removal of newline
8 years ago
Nolan Lawson 8b22a63ab0 Fix scrolling of dropdown when offscreen (#5434) 8 years ago
Eugen Rochko 05686cc99d Fix unwanted content warning gap in CSS (#5436)
Fix #5356
8 years ago
Ondřej Hruška 4421f6598f
Fix dual toot button wrong behavior after compose re-design 8 years ago
Ondřej Hruška 3d7de06db4
rem a comment 8 years ago
Ondřej Hruška 26f08f0791
double-decker tootbox 8 years ago
David Yip 6cd5b3bbe5 Merge remote-tracking branch 'origin/master' into gs-master 8 years ago
Matthew Walsh 56094cb4bd 1.6 changed files for unified avatar styling -- updated to restore unity 8 years ago
Lynx Kotoura b3b4b5a2eb Adjust public hashtag pages (#5357) 8 years ago
Ondřej Hruška cdc22d23b9 Doodle improvements 2 (#176)
* Fix some doodle bugs and added Background color functionality

* added protections against accidental doodle erase, screen size changing

* resolve react warning about 'selected' on <option>
8 years ago
Ondřej Hruška 531dadad86 Doodle palette, options, fill tool (#172) 8 years ago
Ondřej Hruška 33e806217f
Initial doodle support 8 years ago
Ondřej Hruška 0bf9261e65
Merge remote-tracking branch 'upstream/master' 8 years ago
Lynx Kotoura 07ea625cb2 Fix styles of error pages (#5335)
Signed-off-by: Lynx Kotoura <admin@sanin.link>

Signed-off-by: Lynx Kotoura <admin@sanin.link>
8 years ago
kibigo! 8d6b9ba494 Merge upstream 2.0ish #165 8 years ago
Eugen Rochko 1c6fc0e4ce Center error layout (#5289) 8 years ago
Ondřej Hruška 92a3181dc6
improve static page metadata look 8 years ago
Eugen Rochko 684001d729 Dynamically calculate card height for embeds instead of padding (#5265)
The padding trick was hard-coded to a 16:9 ratio, but we can use
width and height provided from OEmbed information and width
of the card itself to calculate a new height
8 years ago
Eugen Rochko 292f3cd7e0 Show buffering in video player (#5261) 8 years ago
Eugen Rochko f486ef2666 Redesign public hashtag pages (#5237) 8 years ago
Eugen Rochko d2dee6ea43 Fix custom emoji in emoji picker, persist skin tone (#5258) 8 years ago
kibigo! 6610d57f91 Basic static metadata styling 8 years ago
Lynx Kotoura 5a2c7bd4ce Fix overflowing in web UI (#5246)
* Fix overflowing in web UI

* Revert fixing dropdown menu modal
8 years ago
Eugen Rochko 7db0f8dcb2 Implement hotkeys for web UI (#5164)
* Fix #2102 - Implement hotkeys

Hotkeys on status list:

- r to reply
- m to mention author
- f to favourite
- b to boost
- enter to open status
- p to open author's profile
- up or k to move up in the list
- down or j to move down in the list
- 1-9 to focus a status in one of the columns
- n to focus the compose textarea
- alt+n to start a brand new toot
- backspace to navigate back

* Add navigational hotkeys

The key g followed by:

- s: start
- h: home
- n: notifications
- l: local timeline
- t: federated timeline
- f: favourites
- u: own profile
- p: pinned toots
- b: blocked users
- m: muted users

* Add hotkey for focusing search, make escape un-focus compose/search

* Fix focusing notifications column, fix hotkeys in compose textarea
8 years ago
Lynx Kotoura 32e8a87830 adjust public profile pages 2 (#5223) 8 years ago
PFM 875d943c18 Add pagination in media modal (#4343)
* Add pagination in media modal

* Change array name

* Add an element class

* Avoid nested class

* Pull out the active class

* Use map instead of forEach

* Remove parentheses
8 years ago
Yamagishi Kazutoshi ecacb15cd5 Add placeholder text color to form of media attachments (#5196) 8 years ago
Eugen Rochko 4453c9a9f5 Search popout (#5170) 8 years ago
Nolan Lawson c567c87453 Toggle contain:strict on fullscreen (#5159)
* Toggle contain:strict on fullscreen

* Fix scss lint issue

* fix scss whitespace lint issue
8 years ago
Eugen Rochko cdad7977fc Improve privacy dropdown, remove react-simple-dropdown dependency (#5140)
* Improve privacy dropdown, remove react-simple-dropdown dependency

* Animate privacy warning

* Fix react-router-scroll
8 years ago
Eugen Rochko 0b3f1ec62a Reorganize preferences page (#5161) 8 years ago
Nolan Lawson 6e0659c838 Improve performance of modal and swipe animations (#5135)
* Improve performance of modal and swipe animations

* Fix eslint issues
8 years ago
Eugen Rochko 4ec1771165 Add ability to specify alternative text for media attachments (#5123)
* Fix #117 - Add ability to specify alternative text for media attachments

- POST /api/v1/media accepts `description` straight away
- PUT /api/v1/media/:id to update `description` (only for unattached ones)
- Serialized as `name` of Document object in ActivityPub
- Uploads form adjusted for better performance and description input

* Add tests

* Change undo button blend mode to difference
8 years ago
Ondřej Hruška daad07b1d5
Merge remote-tracking branch 'origin/better-themeing' into merging-upstream 8 years ago
Ondřej Hruška 83bda6c1a8
Merge commit 'b9f59ebcc68e9da0a7158741a1a2ef3564e1321e' into merging-upstream 8 years ago
Ondřej Hruška 9330ea1f4d
Merge commit '4aea3f88a6d30f102a79c2da7fcfac96465ba1a8' into merging-upstream 8 years ago
Ondřej Hruška 8a24ad5828
Revert "Merge pull request #149 from glitch-soc/mojon-suggest"
This reverts commit fa3587645d, reversing
changes made to 15c9c2fd7e.
8 years ago
kibigo! 86e617a839 Better themeing support!! 8 years ago
Eugen Rochko 3b60832214 New error page graphic. Other error page improvements (#5099)
- 500.html generated with admin-set default locale if set
- Error page `<title>` includes Mastodon site title
- 500 title changed to "This page is not
  correct" (ref: <https://www.youtube.com/watch?v=2VCAP_seh1A>)
- 500 content appended with "on our end" to make clear it's
  not user's fault
8 years ago
Eugen Rochko 2c8e3fbbfb Generate 500.html with assets:precompile, remove loading from Google Fonts (#5067) 8 years ago
Eugen Rochko 2f079573ed In detail status view, display attachment uncropped if there's only one (#5054)
* In detail status view, display attachment uncropped if there's only one

* Make media spoiler the size of the media it hides, enable on static
8 years ago
Eugen Rochko dae0af1fd2 Change mobile layout breakpoint from 1024px to 630px (#5063)
630px = Drawer + 1 Column
8 years ago
Eugen Rochko 5b8d0ad71b Dropdown triangles a bit nicer, smoother scrolling on touch (#5062) 8 years ago
Eugen Rochko 233258c61b Fix media gallery CSS (#5064) 8 years ago
Ondřej Hruška 1924a71b5a
Make secondary toot button work nicer with file attachments & revert to the original behavior if it's disabled 8 years ago
Ondřej Hruška 67f8277526 Add secondary toot button (opt-in) (#153)
Add secondary toot button + other toot button enhancements. 
Squashing so it's easy to revert if needed.
8 years ago
Lynx Kotoura 838f255fc2 Fix overflowing tabs in account__action-bar (#5056)
* Fix numbers in accounts columns

* Support edge compact-header
8 years ago
Eugen Rochko 1e02ba111a Add emoji autosuggest (#5053)
* Add emoji autosuggest

Some credit goes to glitch-soc/mastodon#149

* Remove server-side shortcode->unicode conversion

* Insert shortcode when suggestion is custom emoji

* Remove remnant of server-side emojis

* Update style of autosuggestions

* Fix wrong emoji filenames generated in autosuggest item

* Do not lazy load emoji picker, as that no longer works

* Fix custom emoji autosuggest

* Fix multiple "Custom" categories getting added to emoji index, only add once
8 years ago
Eugen Rochko 66126f3021 Add custom emojis to the emoji picker (#5052) 8 years ago
Eugen Rochko 846cd4e838 Switch from EmojiOne to Twemoji, different emoji picker (#5046)
* Switch from EmojiOne to Twemoji, different emoji picker

* Make emoji-mart use a local spritesheet

* Fix emojify test

* yarn manage:translations
8 years ago
Ondřej Hruška 169d83f532 Remove "extra clickable spaces" made obsolete by status re-design 8 years ago
Ondřej Hruška 31dd261375 applied blackle's fix for gallery offset with full-width media 8 years ago
Eugen Rochko 034fab39ab Make dropdowns render into portal, expand animation (#5018)
* Make dropdowns render into portal, expand animation

* Improve actions modal style
8 years ago
kibigo! c2b479efec Long display names now ellipsis properly 8 years ago
kibigo! a94dc21c79 Styling fixes for header redesign 8 years ago
David Yip 9512db920c Merge pull request #148 from glitch-soc/better-header
Improvements to status headers and content
8 years ago
syui 63819c848d fix : mobile style of /about/more (#5034) 8 years ago
beatrix fa3587645d Merge pull request #149 from glitch-soc/mojon-suggest
Emoji and Hashtag autocomplete
8 years ago
kibigo! 9ed51cecd0 Fixed notification appearance 8 years ago
Ondřej Hruška cbf00168f1 add scrollbar to mojon suggestions list when too long 8 years ago
TomoyaShibata 8cb4561145 Remove unnecessary css property (#5025) 8 years ago
kibigo! 769f62d96f Improvements to status headers 8 years ago
kibigo! 003bfd094e Fixed disabled boost SVG (#106) 8 years ago
Eugen Rochko b35406b700 Fix custom emojis with non-1:1 aspect ratio being stretched (#5017) 8 years ago
unarist 4aea3f88a6 Hide sensitive image in default on the public pages (#5009)
Additionally, this restores previous background / text color for media spoiler.
8 years ago
Nolan Lawson 3d640dc8ac Add will-change to improve scrolling perf (#5001) 8 years ago
Lynx Kotoura 4c14ff659b Oauth code in input form and add description message (#4986)
* Oauth code in a input form and add description

* New authcode description
8 years ago
Surinna Curtis b0487488a7 Re-center hidden media text vertical 8 years ago
Lynx Kotoura 1e3b1d7211 Adjust landing pages 2 (#4967)
* Adjust landing pages 2

Fix styles of terms page
Remove action buttons from timeline in about page
Adjust styles of short description
Adjust form inputs
Set autocomplete off for username and email box in registration form. Remove line breakings.

* Revert removing action buttons
8 years ago
Surinna Curtis 7ebd6ed03c Apply white-space: nowrap to account relationships icons 8 years ago
Surinna Curtis 4612f7caea Break out a separate mute modal with a hide-notifications checkbox. 8 years ago
Eugen Rochko 4f0597d579 Give video player fluid max-width (#4935) 8 years ago
Eugen Rochko 2bbf987a0a Redesign video player (#4911)
* Redesign video player

* Use new video player on static public pages too

* Use media gallery component on static public pages too

* Pause video when hiding it

* Full-screen sizing on WebKit

* Add aria labels to video player buttons

* Display link card on public status page

* Fix fullscreen from modal sizing issue

* Remove contain: strict property to fix fullscreen from columns
8 years ago
unarist af10c9fbff Add section for protocol specific information on the admin page (#4910)
This PR adds section for protocol specific information, then always show
both of OStatus and ActivityPub. Specifically, this will help admins to
check PuSH subscription status and unsubscribe manually, even `protocol`
has been changed.

This also includes below changes:

* Add `overflow: hidden` to prevent float leaking
* Add missing fields for ActivityPub
8 years ago