Commit Graph

245 Commits (57d784f1e454af5500b608b7a3fd1452ecbb9e6a)

Author SHA1 Message Date
Billie Thompson 55fa8e61e2
Move the fonts from Google Fonts to local assets
Currently we have two problems that are resolved by this change.

The first is that we have a dependency on Google Fonts, which means
that should it ever go down, or it have issues we would also have
issues. This will resolve this by moving the dependencies we load from
there to the local server.

The second issue is that Google Fonts is currently returning the
`local()` css font source. This causes a problem where the users browser
fails to fallback to a missing glyph, resulting in many unusual
characters displaying the failure glyph. This will resolve this by
creating a font-family definition that does not use the `local()`
source.

I did not update the error pages with local fonts, they still use the
remote google fonts api, so they're a self contained page that does not
use the asset pipeline.

This resolves tootsuite/mastodon#531 and tootsuite/mastodon#12
8 years ago
Eugen Rochko 7329fbd8a4 Fix up timeout, improve contrast on "show more", add responsive style
for extremely wide monitors
8 years ago
Eugen Rochko cc5c1e5feb Removed accidental n+1 query from notifications, updated some deps,
improved how "show more" link looks
8 years ago
Eugen Rochko 905c829179 Improve infinite scroll on notifications 8 years ago
Eugen Rochko 1c507ff172 Fix #538 - Darken buttons to increase contrast 8 years ago
Eugen Rochko 3a310e8f63 Fix CSS mistake 8 years ago
shel 33e09cc76b Increase color contrast on getting started text
Currently, the getting started text fails WCAG standards for color contrast by a lot. Especially on the part overlapping with the elephant graphic which is nearly unreadable even for users with 20|20 vision. This change doesn't fix the elephant overlap but at least makes the text meet AAA WCAG Small Text color contrast standards, making it easier to read.
8 years ago
blackle ca13ec04a8 fix up spoilers 8 years ago
Eugen Rochko 999cde94a6 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
8 years ago
Eugen f8da0dd490 Merge branch 'master' into master 8 years ago
Misty De Meo adda642c63 Fix `invisible` CSS class 8 years ago
Eugen Rochko 80cefd5b3c Fix #204, fix #515 - URL truncating is now a style so copypasting is not
affected, replaced onClick handler with onMouseUp/Down to detect text
selection not trigger onClick handler then
8 years ago
blackle 4a146a0d18 Make boost animation an SVG that uses SCSS colours 8 years ago
blackle bf0f6eb62d Implement a click-to-view spoiler system 8 years ago
Eugen Rochko ef2b924679 Forgot to commit 8 years ago
Eugen Rochko f855d645b2 Move all hex colors in SASS to variables and all variations to darken/lighten 8 years ago
Eugen Rochko f0de621e76 Fix #463 - Fetch and display previews of URLs using OpenGraph tags 8 years ago
blackle 383114add3 Change boost sprite to look like fa-retweet 8 years ago
Eugen Rochko cc1eccc8bc Fix #466 - when logged in, make "get started" link to the frontpage instead of sign up 8 years ago
Eugen Rochko e9737c2235 Fix tests, add applications to eager loading/cache for statuses, fix
application website validation, don't link to app website if website isn't set,
also comment out animated boost icon from #464 until it's consistent with non-animated version
8 years ago
Eugen Rochko ab165547fd Merge branch 'feature/toot-app-source' of https://github.com/ineffyble/mastodon into ineffyble-feature/toot-app-source 8 years ago
blackle a67ffcbf56 Make boost button arrows spin around 8 years ago
Effy Elden d6bc0e8db4 Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11 8 years ago
Eugen Rochko 7cde08e30b Improve extended about page layout 8 years ago
Eugen Rochko c01dd089ff Adding about/more page with extended information that can be set up by an admin 8 years ago
Eugen Rochko b11fdc3ae3 Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage
8 years ago
Eugen Rochko 312c51b5c8 Home column filters 8 years ago
blackle 05e964688d Expand dropdown leftways on status view 8 years ago
Eugen Rochko 989c3f4002 Add tab bar alternative to desktop UI, upgrade react & react-redux 8 years ago
Eugen Rochko 10e6288444 Revert to Roboto for all 8 years ago
Jessica Stokes 1f3c895ffb
Use system fonts on more platforms
This allows other platforms such as Windows, macOS and iOS to use their system fonts rather than downloading a copy of Roboto. It also makes the app feel a little closer to native on those platforms!
8 years ago
Eugen Rochko 98729d50c8 Make shortcode emojis work, make getting started area scrollable 8 years ago
Jessica Stokes 312736cd1b
Stop Mastodon friend from overlapping text 🐘 8 years ago
Jessica Stokes 3807b0b171
Improve quality of life for 4-inch phones
Removes extra UI margins < 360px, and allows the tab bar to scroll. Also slightly improves horizontal scrolling behaviour on desktop.
8 years ago
Anthony Bellew 1fcb807d91 Reduce height of media query to hide avatar/bio
An additional selector was provided to make the bio only hide on the timeline and not on the user page itself.
8 years ago
Mitchell Hentges 4d300e2507 On file-drag, show a border around textarea 8 years ago
Eugen Rochko 8f47f6a7ec Adding remote follow button 8 years ago
Eugen Rochko 8724094ed0 Support remote follow request providing URL instead of acct 8 years ago
Eugen Rochko d7dc84439c Add ability to use remote follow function on other sites 8 years ago
Eugen Rochko e2c2fefc36 Add illustration to getting started column 8 years ago
Eugen Rochko 3282448878 Fix #86 - resolve layout breaking on zoom-out on accounts grid 8 years ago
Eugen Rochko c3e9ba6a66 Fix #357 - Also make textarea blur close suggestions which make it more accessible on touch devices 8 years ago
Eugen Rochko b891a81008 Follow call on locked account creates follow request instead
Reflect "requested" relationship in API and UI
Reflect inability of private posts to be reblogged in the UI
Disable Webfinger for locked accounts
8 years ago
Eugen Rochko 318e63cb79 Fix #250 - no text adjust 8 years ago
Eugen Rochko e09d3a2c66 Fix #249 - use window.location hack to let people login from sandboxed iOS homescreen 8 years ago
Eugen Rochko 5ae1b39ec9 Adjusting public display of statuses to look similar to logged-in UI,
fix #361 with rich OEmbed display via iframe, fix #237 by hiding sensitive
content behind a spoiler on public pages
8 years ago
Eugen Rochko aed25932b5 Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails 8 years ago
Eugen Rochko b27066e154 Re-implemented autosuggestions component for the compose form
Fix #205, fix #156, fix #124
8 years ago
Eugen Rochko 76ec907993 Improved admin UI 8 years ago
Eugen Rochko 6d1066fe61 Adding some navigation items from #262 to the getting started screen 8 years ago
Eugen Rochko 6a5036ab19 Fix whitespace preservation in status text 8 years ago
Eugen Rochko bf5f8a2449 Fix #341 - Remove react-responsive in favour of simpler resize handler/window width 8 years ago
Eugen Rochko 9d9f796130 Adding more to admin accounts UI 8 years ago
Eugen 18da021529 Merge pull request #235 from TazeTSchnitzel/settings_contrast
Improve contrast for settings pages (fixes #173)
8 years ago
Eugen Rochko 27fc49d745 Add simple admin overview of PuSH subscriptions 8 years ago
Eugen Rochko 898ab66e2e Fix checkbox spacing 8 years ago
nicolas c1aab76da4 Checkboxes label adjustement
When the label of a checkbox is more than one line long, avoid unalignment.
8 years ago
Eugen Rochko 2112a81e86 Adding content sensitivity toggle, spoilers for media 8 years ago
Andrea Faulds 8e936b03d5 Improve contrast for settings pages (fixes #173) 8 years ago
Eugen Rochko 38dd85daab Adding notifications column 8 years ago
Eugen Rochko 51dc725794 Graphic emoji in usernames in the "reblogged" string above status 8 years ago
Eugen Rochko 2c766bd4b4 Add user locale setting 8 years ago
Eugen Rochko a4313224d9 Improve how public status pages look slightly 8 years ago
Eugen Rochko 489bd99803 Support emojis in display name, bio 8 years ago
Eugen Rochko f0bdfadab7 Search component 8 years ago
Eugen Rochko 82fd74d101 Fix modals sizing and add animation to it, fix #140 by only making the text of
status clickable (this also fixes multiple dropdown being openable at the same
time)
8 years ago
Eugen Rochko 86574ea524 Adding Emoji One 8 years ago
Eugen Rochko a39a92bd22 Fix #135 - More prominent focus style for inputs 8 years ago
Eugen Rochko d0d799f911 Replace react-skylight with own solution that centers images better 8 years ago
Eugen Rochko 23fc424b7a Account notes (bios) can now contain links. Character limit upped to 160 8 years ago
Eugen Rochko 6d5ef89356 Reduce code duplication, add touch scrolling behaviour for webkit browsers
on scrollable areas
8 years ago
mhe 87aabeb7af a11y: Improve icon button component regarding semantics and screen reader usage 8 years ago
Eugen Rochko dd03118098 Fix follow icon changing plus to minus, add terms page stub 8 years ago
Eugen Rochko 57304ac375 Catch 404 errors when downloading remote media, add screenshot to landing page 8 years ago
Eugen Rochko c49f6290eb Basic username autocomplete for text area 8 years ago
Eugen Rochko ac4f53a3a2 Improved how user lists look, added follow button to them 8 years ago
Eugen Rochko b746a931a5 Fix OAuth authorization redirect 8 years ago
Eugen Rochko a9e40a3d80 Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
to the API
8 years ago
Eugen Rochko 43df35213e Improving all forms 8 years ago
Eugen Rochko 7a6d95f70c E-mail preferences page 8 years ago
Eugen Rochko f7f3e6e3be Fix styles 8 years ago
Eugen Rochko 45776b55b0 Responsively changing layout to single-column + nav on smaller screens 8 years ago
Eugen Rochko ef9d4f4e06 Use reselect to memoize denormalization in UI state
Also upgrade react-redux to latest version. This is a performance update
8 years ago
Eugen Rochko a4b8069cf5 Styling loading indicator, removing unused routes, adding "getting started" explanation
Also, only update relative time every minute instead of 6 seconds. My bad
8 years ago
Eugen Rochko 296ce2d45a Adjusting new CSS for smaller screens 8 years ago
Eugen Rochko 2af3abd279 Fix #79 - break too long lines and hide overflowing characters in status content 8 years ago
Eugen Rochko 05af66d6b9 Fix #80 - pretty scrollbars for lucky webkit users 8 years ago
Eugen Rochko 3554d638b3 Fix #72 - add follow/unfollow button to public profiles 8 years ago
Eugen Rochko 70e9dd0b5b Blocking will prevent e-mail notifications from blocked user, blocks in UI 8 years ago
Eugen Rochko fc198a8b4c Adding e-mail confirmations 8 years ago
Eugen Rochko b3c7c8700d Fix most pages on small screens 8 years ago
Eugen Rochko 188c6f326b Making public pages responsive, removing reblogs/favs counts from them 8 years ago
Eugen Rochko be86d4e0a3 Preparing feeds for better filtering 8 years ago
Eugen Rochko ef2b50c9ac Deleting statuses from UI 8 years ago
Eugen Rochko e63aebff7a Adding landing page 8 years ago
Eugen Rochko 7e14eefc81 Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
registration API
8 years ago
Eugen Rochko 693383234c Improved style of settings page 8 years ago
Eugen Rochko 15f51dbf8c Better styling for selected status in detailed view 8 years ago
Eugen Rochko 457625591d Styling for paragraphs in statuses 8 years ago
Eugen Rochko 0f4bc56719 Improving production logs, removing n+1 on media attachments in atom,
adding attachments display to static views
8 years ago
Eugen Rochko 499beb4484 UI for uploading media attachments (and cancelling them)
Mostly resolves #8, though attachments are still not displayed in public view
8 years ago
Eugen Rochko eec0dc46a6 PostStatusService can attach media to status, ProcessFeedService likewise 8 years ago
Eugen Rochko ae1fac0062 Add API to upload media attachments 8 years ago
Eugen Rochko d0e2733f63 Fix reblogs of reblogs in UI, add follow form in UI 8 years ago
Eugen Rochko c249ceb10c Reblogs fixed 8 years ago
Eugen Rochko 595c8dda60 Favouriting works, reblogging is a little broken because of <Status> 8 years ago
Eugen Rochko dbae8062f4 Replies in the compose form 8 years ago
Eugen Rochko 1e0e17ba85 Improving styling a little bit 8 years ago
Eugen Rochko a541e937ca More styling for statuses 8 years ago
Eugen Rochko 49520d6e62 Adding React.js, Redux, revamping dashboard 8 years ago
Eugen Rochko 882c94a6bf Cleaning up status partial 9 years ago
Eugen Rochko f2da848a3e Add alternate link to entries Atom 9 years ago
Eugen Rochko 5764d52b04 Fix Sidekiq pooling issues. Remove API docs from homepage, replace with
a basic home timeline
9 years ago
Eugen Rochko 318886287b Fixing some stuff for Turbolinks, adding gzip on top, fixing a n+1 query 9 years ago
Eugen Rochko 8eeec389c1 Add link to github project to footer, move FanOutOnWriteService calls to
DistributionWorker. That isn't the heaviest service, yet, but gotta start
somewhere
9 years ago
Eugen Rochko f14f462eaf Adding Turbolinks, adding status posting form on homepage 9 years ago
Eugen Rochko 02696a063e Change default avatar, redirect to home after sign up 9 years ago
Eugen Rochko 9d55529318 Fix text color in dashboard inputs, sanitize remote status content in UI,
simplify FanOutOnWriteService, add /api/accounts/lookup method
9 years ago
Eugen Rochko bf08d46e58 Improving borders between predecessor/successor statuses 9 years ago
Eugen Rochko b640f35621 Writing out more tests, fixed some bugs 9 years ago
Eugen Rochko 5d72b92271 Improving account grid cards layout for longer usernames and notes 9 years ago
Eugen Rochko 71ae4dd3d2 Adding public following and followers pages, fix #3 9 years ago
Eugen Rochko c349200761 Removing some unused gems, adding pagination to profiles, fix #10 9 years ago
Eugen Rochko 8767a98fbb Adding CSS for form errors, adding missing indices 9 years ago
Eugen Rochko 6fec8afc3f Bind oauth applications to users 9 years ago
Eugen Rochko 25d7c1b6ea Customizing the last of doorkeeper views, adding CSS for dashboard forms 9 years ago
Eugen Rochko 3441361568 Adding simple_form, adding profile settings, header image 9 years ago
Eugen Rochko 1aa477ac2f Customized more doorkeeper views, only logged in users can create oauth apps 9 years ago
Eugen Rochko aab9f57e36 Adding config for puma, dashboard layout, fixing some queries 9 years ago
Eugen Rochko b919f39b31 Customizing doorkeeper views for authorizing app 9 years ago
Eugen Rochko d4b9b289e8 Adding Mastodon logo 9 years ago
Eugen Rochko ab6696e855 Adding doorkeeper, adding a REST API
POST /api/statuses                  Params: status (text contents), in_reply_to_id (optional)
GET  /api/statuses/:id
POST /api/statuses/:id/reblog

GET  /api/accounts/:id
GET  /api/accounts/:id/following
GET  /api/accounts/:id/followers
POST /api/accounts/:id/follow
POST /api/accounts/:id/unfollow

POST /api/follows                  Params: uri (e.g. user@domain)

OAuth authentication is currently disabled, but the API can be used with HTTP Auth.
9 years ago
Eugen Rochko 3824c58853 Adding GNU Public license, adding home timeline, reblog/favourite counters 9 years ago
Eugen Rochko aab330eb2d Adjusting design of public pages, optimizing account page queries 9 years ago
Eugen Rochko ab80ebdeec Adjusting design of profile and entry pages, linkify mentions in statuses 9 years ago
Eugen Rochko 6045b6cb18 Customizing devise views and controllers 9 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 9 years ago
Eugen Rochko 47d50b0e39 A lot of fixes from a live test 9 years ago
Eugen Rochko 2825991e09 Improving status display design, including replies and threads 9 years ago
Eugen Rochko 5ae54f9e36 Adding avatars to profile page and statuses 9 years ago
Eugen Rochko 2c70f0ecaa Adding paperclip for avatars, fixing design of the public pages 9 years ago
Eugen Rochko fa29ef3a41 Improving design 9 years ago
Eugen Rochko 24646d5769 Adding views for the profile and entry pages 9 years ago
Eugen Rochko 709c6685a9 Made some progress 9 years ago
Eugen Rochko 9c4856bdb1 Initial commit 9 years ago