Samy KACIMI
5af0ecbcd9
alphebatically order test gem group as required by rubocop
7 years ago
Samy KACIMI
79ef756f64
fix rubocop issues
7 years ago
Samy KACIMI
81c76fe375
add more tests to models
7 years ago
Eugen Rochko
38b504b7a7
Remove sidekiq-merger
7 years ago
Eugen Rochko
82aaedec46
Reduce number of items in feeds, optimize regeneration worker slightly,
make regeneration worker unique, (only schedule/execute once at a time)
7 years ago
Eugen Rochko
ce9df2fa82
Optimize filter methods in FeedManager a bit, use redis pipelining on merge/unmerge feed methods,
do not re-create a dynamic class on each feed push call, make sure redis-rb uses hiredis
7 years ago
Wonderfall
92d35c52d9
update Dockerfile
7 years ago
Eugen Rochko
5b12624847
Add proper error page for request timeouts
7 years ago
Eugen Rochko
7637386228
Upgrade Rails to 5.0.2
7 years ago
Eugen Rochko
ad0d82d3ce
Make account search blazing fast and rank followers/followees higher in the results
7 years ago
Eugen Rochko
3202bdd744
Fix #555 - Use a better URL parser
7 years ago
Eugen Rochko
9c88d1b99e
Speed up capistrano deployments
7 years ago
Eugen Rochko
920ba5fc4e
Fix #61 - Add list of blocked users to the UI; clean up failed push notifications API
Try to fix Travis CI setup
7 years ago
Eugen Rochko
a2a85e8549
Add capistrano to development environment
7 years ago
Eugen Rochko
3f075c7794
API for apps to register for push notifications
7 years ago
Eugen Rochko
ba192f12e3
Added optional two-factor authentication
7 years ago
Eugen Rochko
cc5c1e5feb
Removed accidental n+1 query from notifications, updated some deps,
improved how "show more" link looks
7 years ago
Eugen Rochko
d4d56b8af0
Fix #365 , 1/2 of #408 - replace rails_autolink with URI.regexp, run link_hashtags on simplified_format
7 years ago
Effy Elden
5fef55c11a
Set remote dev environments to use letter_opener_web, add default .env.vagrant variables
7 years ago
Eugen Rochko
f0de621e76
Fix #463 - Fetch and display previews of URLs using OpenGraph tags
7 years ago
Eugen Rochko
f051c2e813
Fix statsd null backend not being initialized properly
7 years ago
Eugen Rochko
306eb6e9c9
Add optional StatsD performance tracking
7 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
7 years ago
Eugen Rochko
7951e7ffd5
Add ruby version to Gemfile, move devDependencies in package.json to dependencies,
fix bug in process feed service
7 years ago
Eugen Rochko
c128fcee16
Update Rails to 5.0.1
8 years ago
Eugen Rochko
76ec907993
Improved admin UI
8 years ago
Eugen Rochko
5973ca3d11
Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
8 years ago
Eugen Rochko
cc70f28f19
Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
can be processed separately
8 years ago
Eugen Rochko
8efa081f21
Remove Neo4J
8 years ago
Eugen Rochko
8e34bed7cc
Mini Profiler not working well, remove it
8 years ago
Eugen Rochko
fc90d38893
Moving some counter queries out of subqueries in the API
8 years ago
Eugen Rochko
4b5b953d42
Upgrade to latest Rails, which apparently improves ActionCable performance
8 years ago
Eugen Rochko
546c4718e7
Localizations for most server-side strings
8 years ago
Eugen Rochko
fdc17bea58
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
09218d4c01
Use full-text search for autosuggestions
8 years ago
Eugen Rochko
448ab18a20
Replace setting custom CORS headers with rack-cors, set it on /oauth/token endpoint
8 years ago
Eugen Rochko
d0d799f911
Replace react-skylight with own solution that centers images better
8 years ago
Eugen Rochko
ea4170785a
Downgrade aws gem as this one was incompatible with Paperclip
8 years ago
Eugen Rochko
3ab193bc3f
Adding optional S3, fail-mastodon
8 years ago
Eugen Rochko
6471a548fe
Add pghero for analyzing postgres performance in production
8 years ago
Eugen Rochko
53fb7b1aa8
Replace in-memory cache store with redis store, should decrease memory
footprint of each running process by 128mb
8 years ago
Eugen Rochko
e21a3fe0cd
Adding sync of follow relationships to Neo4J, accounts/suggestions API
8 years ago
Eugen Rochko
06016453bd
Adding user settings (model and mailer), no form yet
8 years ago
Eugen Rochko
4909bbf415
Add logging for outgoing http requests
8 years ago
Eugen Rochko
57583f3fb8
Improve partial rendering and Haml performance (Haml->Hamlit)
8 years ago
Eugen Rochko
4bec613897
Fix #24 - Thread resolving for remote statuses
This is a big one, so let me enumerate:
Accounts as well as stream entry pages now contain Link headers that
reference the Atom feed and Webfinger URL for the former and Atom entry
for the latter. So you only need to HEAD those resources to get that
information, no need to download and parse HTML <link>s.
ProcessFeedService will now queue ThreadResolveWorker for each remote
status that it cannot find otherwise. Furthermore, entries are now
processed in reverse order (from bottom to top) in case a newer entry
references a chronologically previous one.
ThreadResolveWorker uses FetchRemoteStatusService to obtain a status
and attach the child status it was queued for to it.
FetchRemoteStatusService looks up the URL, first with a HEAD, tests
if it's an Atom feed, in which case it processes it directly. Next
for Link headers to the Atom feed, in which case that is fetched
and processed. Lastly if it's HTML, it is checked for <link>s to the Atom
feed, and if such is found, that is fetched and processed. The account for
the status is derived from author/name attribute in the XML and the hostname
in the URL (domain). FollowRemoteAccountService and ProcessFeedService
are used.
This means that potentially threads are resolved recursively until a dead-end
is encountered, however it is performed asynchronously over background jobs,
so it should be ok.
8 years ago
Eugen Rochko
af375b5bac
Update sidekiq, remove sinatra dependency
8 years ago
Eugen Rochko
ce29624c6d
Fixing image upload limits, allowing webm, merge/unmerge events trigger
timeline reload in UI, other small fixes
8 years ago
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
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