Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-24 | Show error message to suspended user (#3281) | Yamagishi Kazutoshi | |
2017-05-22 | Change "Account.any?" to "Account.exists?" (#3217) | Yamagishi Kazutoshi | |
2017-05-22 | single_user_mode? always returns boolean (#3215) | Akihiko Odaki | |
This change also adds a specification for the method. | |||
2017-05-01 | Error responses cleanup (#2692) | Matt Jankowski | |
* Use respond_with_error for forbidden errors * Wrap up common error code into single method | |||
2017-04-30 | Extract user tracking into concern (#2600) | Matt Jankowski | |
2017-04-25 | Localize with i18n for Devise::FailureApp (#2309) | alpaca-tc | |
This PR fixes I18n.locale for rake middlewares. Mastodon uses Devise that depends on Warden. Warden::Manager can be found in rake middleware. It is outside of the controller. In the case of authentication failed, warden calls throw(:warden). At the time Warden::Manager delegates request to failure_app to generate response and flash[:alert] after catching it. Unfortunately, I18n.locale is already reset then because I18n.with_locale is enabled only inside the controller. If we used I18n.locale=, Devise::FailureApp could get the current locale. | |||
2017-04-24 | Return force_ssl to the controller (#2380) | Matt Jankowski | |
2017-04-23 | ActivityPub: Add basic, read-only support for Outboxes, Notes, and ↵ | Evan Minto | |
Create/Announce Activities (#2197) * Clean up collapsible components * Expose user Outboxes and AS2 representations of statuses * Save work thus far. * Fix bad merge. * Save my work * Clean up pagination. * First test working. * Add tests. * Add Forbidden error template. * Revert yarn.lock changes. * Fix code style deviations and use localized instead of hardcoded English text. | |||
2017-04-23 | Move force_ssl check to production config (#2165) | Matt Jankowski | |
The force_ssl method from controllers does not add all of the options that the sitewide configuration in a config block does. For example, HSTS enforcement is not added by the controller method, but is added by this style. | |||
2017-04-21 | Fix #2195 - Set locale to error pages (#2255) | Takayoshi Nishida | |
* Fix #2195 - Set locale to error pages * Fix #2195 - Cut duplicate process into one method | |||
2017-04-16 | Make file attachment on MediaAttachment optional (#1865) | Eugen | |
Create MediaAttachment but without actual file download when domain is blocked with reject_media set to true Clean up old media files when creating a new domain block with reject_media set to true Return remote_url in media attachments API if local file is not present Undo domain block action in admin UI Ability to enable reject_media from admin UI | |||
2017-04-15 | Give SINGLE_USER a chance to register (#1820) | Marcin Cieślak | |
An attempt to open a brand new Mastodon instance configured as SINGLE_USER_MODE=true will cause an exception. Enable temporary registration if we have no users in the database Fixes #1817 | |||
2017-04-08 | Fix #1165 - before_action was called before protect_from_forgery | Eugen Rochko | |
2017-04-07 | Allow setting of default language through config | Eugen Rochko | |
Setting of locale in controller extracted to Localized concern, the doorkeeper authorized applications controller moved under custom namespace with inclusion of Localized, which resolves the "it sometimes appears in a different random language" bug | |||
2017-04-04 | Only call regeneration worker after first login after a 14 day break | Eugen Rochko | |
2017-04-02 | Catching rack timeout from rails doesn't work | Eugen Rochko | |
2017-04-02 | Add proper error page for request timeouts | Eugen Rochko | |
2017-03-19 | Fix wrong HTTP status codes on error pages | Eugen Rochko | |
2017-01-21 | Improve error page layouting. 500 page has to stay static because it's | Eugen Rochko | |
used from nginx when Rails fails. | |||
2017-01-15 | Add nice error page for CSRF errors/cookie issue, and fix error page ↵ | Effy Elden | |
handling altogether | |||
2016-12-26 | Fix #86 - resolve layout breaking on zoom-out on accounts grid | Eugen Rochko | |
2016-12-06 | Add filters for suspended accounts | Eugen Rochko | |
2016-12-03 | Fix #248 - Reload all accounts when fetching from cache | Eugen Rochko | |
2016-12-01 | Fix pt translations, improve pre-cache queries, removing will_paginate | Eugen Rochko | |
from accounts/tags because it's a terribly inefficient way to paginate large sets of data | |||
2016-11-30 | Further abstract caching for includes | Eugen Rochko | |
2016-11-30 | Normalize localizations, add stub for admin/accounts | Eugen Rochko | |
2016-11-30 | Make User#current_sign_in_at actually track when user was last active, | Eugen Rochko | |
by updating it at least every 24h if the user visits the site | |||
2016-11-29 | Unify collection caching code | Eugen Rochko | |
2016-11-28 | Add simple admin overview of PuSH subscriptions | Eugen Rochko | |
2016-11-24 | Mini Profiler not working well, remove it | Eugen Rochko | |
2016-11-23 | Rename "publish" to "toot" in english locale, fix lightbox showing old image | Eugen Rochko | |
before loading new one, cache notifications API, fix missing follow button on public profiles | |||
2016-11-22 | More query optimizations | Eugen Rochko | |
2016-11-22 | Moving some counter queries out of subqueries in the API | Eugen Rochko | |
2016-11-21 | Desktop notifications | Eugen Rochko | |
2016-11-16 | Add user locale setting | Eugen Rochko | |
2016-11-15 | Fix rubocop issues, introduce usage of frozen literal to improve performance | Eugen Rochko | |
2016-10-06 | Fix sign-in redirecting "back" to a missing image because missing static ↵ | Eugen Rochko | |
files hit the raise_not_found method | |||
2016-10-05 | Catching more exceptions that slipped through, removing AR logging from | Eugen Rochko | |
production as it's very verbose and not very useful | |||
2016-10-03 | Adding a block model and filter mentions from blocked users (fix #60) | Eugen Rochko | |
2016-10-03 | Adding e-mail confirmations | Eugen Rochko | |
2016-10-02 | Redirect after sign in to previous page (unless it's a sign in/up/etc page) | Eugen Rochko | |
2016-09-29 | Improve code style | Eugen Rochko | |
2016-09-08 | Fix local follows, 404 in logs | Eugen Rochko | |
2016-08-24 | Removing mini-profiler that doesn't work, formatting timelines a bit better | Eugen Rochko | |
2016-08-24 | Adding React.js, Redux, revamping dashboard | Eugen Rochko | |
2016-08-18 | Fixing more configuration issues with ActionCable | Eugen Rochko | |
2016-08-18 | Fix for force SSL issue with websockets | Eugen Rochko | |
2016-08-18 | Fix tests | Eugen Rochko | |
2016-08-18 | Live timelines using ActionCable | Eugen Rochko | |
2016-03-25 | Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections | Eugen Rochko | |
in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding admin status to users |