Commit Graph

47 Commits (361818e931eff47db937ffa18d89575e2a9dd5be)

Author SHA1 Message Date
Eugen Rochko 22de24b8ca
Fix missing protocol in dns-prefetch, improve code style ()
Regression from 
Eugen Rochko da7705b274
Add dns-prefetch if using different host for assets or uploads ()
Eugen Rochko 3d7f68c273
Revert Font Awesome 5 upgrade ()
* Revert "Fix some icon names changed by the Font Awesome 5. ()"

This reverts commit 3f9ec3de82.

* Revert "Migrate to font-awesome 5.0. ()"

This reverts commit 8bae14591b.

* Revert "Fix some icons names, unavailable in fontawesome5 (free license). ()"

This reverts commit b9c727a945.

* Revert "Update the icon name changed by the Font Awesome 5. ()"

This reverts commit 17af4d27da.

* Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome ()"

This reverts commit 4b794e134d.
Naoki Kosaka 8bae14591b Migrate to font-awesome 5.0. ()
ThibG c39183cc62 Refactor active_nav_class for use with multiple paths ()
Eugen Rochko 6c9be61f57
Fix regression from ()
Missing no-reduce-motion/reduce-motion body class
Eugen Rochko 22e46ebad8
Add theme identifier to body classes for easier custom CSS styling ()
Add forgotten custom CSS admin setting strings
Eugen Rochko 1f6ed4f86a
Add more granular OAuth scopes ()
* Add more granular OAuth scopes

* Add human-readable descriptions of the new scopes

* Ensure new scopes look good on the app UI

* Add tests

* Group scopes in screen and color-code dangerous ones

* Fix wrong extra scope
Eugen Rochko a9c440637c
Improve report layout ()
* Use table for statuses in report

* Display reported account and reporter in the same table

* Split accounts and general report info into two tables again

* Redesign report statuses table, notes, merge notes and action log

* Remove unused translations

* Fix code style issue

* Fix code style issue

* Fix code style issue
Eugen Rochko 79bc3d5845
Add direction tags to HTML e-mails for RTL languages ()
Yamagishi Kazutoshi b21db9bbde Using double splat operator ()
Eugen Rochko 7bb8b0b2fc
Add moderator role and add pundit policies for admin actions ()
* Add moderator role and add pundit policies for admin actions

* Add rake task for turning user into mod and revoking it again

* Fix handling of unauthorized exception

* Deliver new report e-mails to staff, not just admins

* Add promote/demote to admin UI, hide some actions conditionally

* Fix unused i18n
nullkal b6e2e999bd Show the local couterpart of emoji when it exists in /admin/custom_emojis ()
* Show the local couterpart of emoji when it exists in admin/custom_emojis

* Fix indentation

* Fix error

* Add class table-action-link to Overwrite link

* Make it enable to overwrite emojis

* Make Code Climate happy
Eugen Rochko 8f8e677630 Clean up and improve generated OpenGraph tags ()
- Return all images as og:image
- Return videos as og:image (preview) and og:video
- Return profile:username on profiles
Eugen Rochko ca7ea1aba9 Redesign public profiles ()
* Redesign public profiles

* Responsive design

* Change public profile status filtering defaults and add options

- No longer displays private/direct toots even if you are permitted access
- By default omits replies
- "With replies" option
- "Media only" option

* Redesign account grid cards

* Fix style issues
Yamagishi Kazutoshi 92f1c474f3 Add fa-fw class to user agent icon ()
masarakki ff142eb64d setting-for-account-deletable ()
Matt Jankowski 25e5aa645d Skip asset pipeline for static file in public/ ()
Hiroaki Ninomiya cb50ecdb07 chore(landing_strip): hide signup path unless the instance allows registration. ()
Eugen Rochko f5bf5ebb82 Replace sprockets/browserify with Webpack ()
* Replace browserify with webpack

* Add react-intl-translations-manager

* Do not minify in development, add offline-plugin for ServiceWorker background cache updates

* Adjust tests and dependencies

* Fix production deployments

* Fix tests

* More optimizations

* Improve travis cache for npm stuff

* Re-run travis

* Add back support for custom.scss as before

* Remove offline-plugin and babili

* Fix issue with Immutable.List().unshift(...values) not working as expected

* Make travis load schema instead of running all migrations in sequence

* Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of
React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in
<UI />

* Add react definitions to places that use JSX

* Add Procfile.dev for running rails, webpack and streaming API at the same time
Ashley 1736badf28 Added '(dev)' to the title in development mode ()
* Added different title for dev

* Changed indentation
Lindsey Bieda 25cbb8454c Red favicon for dev ()
* Set a dev specific favicon

* Consistent spacing

* Add trailing slash for consistency

* Update to remove interpolation
Masoud Abkenar bb04a9be52 Persian translation ()
* Persian translation

* adding :fa to make the site use the rtl stylesheet

based on [this comment](https://github.com/tootsuite/mastodon/pull/2405#issuecomment-296721105)

* fix missing quotes

* add 'fa' locale
Eugen e59f5c8e13 Add an RTL stylesheet for Arabic i18n ()
Matt Jankowski 3834e1e69b View spec fix ()
* Add option to disable verify partial doubles

* Add show_landing_strip? helper method

* Use show_landing_strip? helper in accounts and stream entries views

* Fix naming in view specs
Eugen Rochko f763e844e8 Do not use expiring links after all
Eugen Rochko 24e692b0cf Set a specific S3 expiration time so that files can be cached
Eugen Rochko 1d0321fc45 Fix pt translations, improve pre-cache queries, removing will_paginate
from accounts/tags because it's a terribly inefficient way to paginate
large sets of data
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko 3cc47beb6e Refactored generation of unique tags, URIs and object URLs into own classes,
as well as formatting of content
Eugen Rochko 85d89b472d Optimized n+1 queries in accounts Atom and HTML views
Added stack trace for SQL queries in development
Removed badly thought out accounts/lookup API
Eugen Rochko 35dfc0fbcb Fixed more case-sensitivity issues
Eugen Rochko 039e6f951c Fix issue with unresolvable usernames
Eugen Rochko a08e724476 Fix subscriptions:clear task, refactor feeds, refactor streamable activites
and atom feed generation to some extent, as well as the way mentions are
stored
Eugen Rochko c8999a116e Sanitize remote html in atom feeds, API (not just UI), use cached mention
relations on Status#mentions
Eugen Rochko 47d1cb4e21 TIL a return from a block seems to return from the whole method rather than
the block, even though the last line of a block is an implicit return. I am
confused to say the least
Eugen Rochko 071f64d317 Fix , Atom feeds now contain formatted post content
Eugen Rochko 1aa477ac2f Customized more doorkeeper views, only logged in users can create oauth apps
Eugen Rochko 23d08c6749 Changing the use of config constants to the Rails configuration object
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things
Eugen Rochko 47d50b0e39 A lot of fixes from a live test
Eugen Rochko f16b31f077 Adding a bunch of tests
Eugen Rochko 8da8387afe Add shared statuses to the database
Eugen Rochko 79baf2fd99 Process favourites, reblogs and replies from Salmon
Eugen Rochko 1dad72bf13 Fixes and general progress
Eugen Rochko 709c6685a9 Made some progress
Eugen Rochko 9c4856bdb1 Initial commit