Matt Jankowski
a0dd90a397
Return force_ssl to the controller ( #2380 )
7 years ago
Evan Minto
66fd8e7821
ActivityPub: Add basic, read-only support for Outboxes, Notes, and 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.
7 years ago
Matt Jankowski
ee82d8a876
Move force_ssl check to production config ( #2165 )
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.
7 years ago
Takayoshi Nishida
5e33ad29d4
Fix #2195 - Set locale to error pages ( #2255 )
* Fix #2195 - Set locale to error pages
* Fix #2195 - Cut duplicate process into one method
7 years ago
Eugen
5d710b1139
Make file attachment on MediaAttachment optional ( #1865 )
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
7 years ago
Marcin Cieślak
1c8477eab2
Give SINGLE_USER a chance to register ( #1820 )
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
7 years ago
Eugen Rochko
4b621188ad
Fix #1165 - before_action was called before protect_from_forgery
7 years ago
Eugen Rochko
e3a3422a65
Allow setting of default language through config
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
7 years ago
Eugen Rochko
b510a56c0c
Only call regeneration worker after first login after a 14 day break
7 years ago
Eugen Rochko
2d07cb5771
Catching rack timeout from rails doesn't work
7 years ago
Eugen Rochko
5b12624847
Add proper error page for request timeouts
7 years ago
Eugen Rochko
08b96f1b9f
Fix wrong HTTP status codes on error pages
7 years ago
Eugen Rochko
e22a56183a
Improve error page layouting. 500 page has to stay static because it's
used from nginx when Rails fails.
7 years ago
Effy Elden
ed41f9f0b1
Add nice error page for CSRF errors/cookie issue, and fix error page handling altogether
7 years ago
Eugen Rochko
3282448878
Fix #86 - resolve layout breaking on zoom-out on accounts grid
7 years ago
Eugen Rochko
f406e01fcf
Add filters for suspended accounts
8 years ago
Eugen Rochko
816284d739
Fix #248 - Reload all accounts when fetching from cache
8 years ago
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
8 years ago
Eugen Rochko
a21bcac9e1
Further abstract caching for includes
8 years ago
Eugen Rochko
356d3874eb
Normalize localizations, add stub for admin/accounts
8 years ago
Eugen Rochko
ff21ff1489
Make User#current_sign_in_at actually track when user was last active,
by updating it at least every 24h if the user visits the site
8 years ago
Eugen Rochko
7e90772c92
Unify collection caching code
8 years ago
Eugen Rochko
27fc49d745
Add simple admin overview of PuSH subscriptions
8 years ago
Eugen Rochko
8e34bed7cc
Mini Profiler not working well, remove it
8 years ago
Eugen Rochko
4bdb6a0eaf
Rename "publish" to "toot" in english locale, fix lightbox showing old image
before loading new one, cache notifications API, fix missing follow button
on public profiles
8 years ago
Eugen Rochko
5c78547198
More query optimizations
8 years ago
Eugen Rochko
fc90d38893
Moving some counter queries out of subqueries in the API
8 years ago
Eugen Rochko
fb48cc3b74
Desktop notifications
8 years ago
Eugen Rochko
2c766bd4b4
Add user locale setting
8 years ago
Eugen Rochko
fdc17bea58
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
b60430fe8f
Fix sign-in redirecting "back" to a missing image because missing static files hit the raise_not_found method
8 years ago
Eugen Rochko
fe77921e47
Catching more exceptions that slipped through, removing AR logging from
production as it's very verbose and not very useful
8 years ago
Eugen Rochko
9d59d7b463
Adding a block model and filter mentions from blocked users ( fix #60 )
8 years ago
Eugen Rochko
fc198a8b4c
Adding e-mail confirmations
8 years ago
Eugen Rochko
a0f85774c4
Redirect after sign in to previous page (unless it's a sign in/up/etc page)
8 years ago
Eugen Rochko
927333f4f8
Improve code style
8 years ago
Eugen Rochko
509c18eb13
Fix local follows, 404 in logs
8 years ago
Eugen Rochko
bc0692d75b
Removing mini-profiler that doesn't work, formatting timelines a bit better
8 years ago
Eugen Rochko
49520d6e62
Adding React.js, Redux, revamping dashboard
8 years ago
Eugen Rochko
8985f8e66c
Fixing more configuration issues with ActionCable
8 years ago
Eugen Rochko
8459acd123
Fix for force SSL issue with websockets
8 years ago
Eugen Rochko
6426819b6f
Fix tests
8 years ago
Eugen Rochko
6deb9f966e
Live timelines using ActionCable
8 years ago
Eugen Rochko
e24bfbde1a
Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections
in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding
admin status to users
8 years ago
Eugen Rochko
9c4856bdb1
Initial commit
8 years ago