Valentin Lorentz
5da8581563
Custom Paperclip path. ( #778 )
...
* Custom Paperclip path.
* Document PAPERCLIP_ROOT.
* Add PAPERCLIP_ROOT_URL (and rename PAPERCLIP_ROOT to PAPERCLIP_ROOT_PATH).
8 years ago
Yusuke Abe
f3ae46a512
Add filename extension to paperclip ( #1718 )
8 years ago
Matt Jankowski
d1ebb63c54
Quick best practice cleanup of views/helpers ( #1546 )
...
* Remove trailing whitespace
* Use query methods instead of explicit .blank? checks
8 years ago
Yann GUERN
dc7ea0225a
Avoid user enumeration with devise paranoid mode ( #1527 )
8 years ago
Matt Jankowski
fcec9fcd99
Pagination improvements ( #1445 )
...
* Replace will_paginate with kaminari
* Use #page instead of #paginate in controllers
* Replace will_paginate.page_gap with pagination.truncate in i18n
* Customize kaminari views to match prior styles
* Set kaminari options to match prior behavior
* Replace will_paginate with paginate in views
8 years ago
Matt Jankowski
b4950a59bb
Version bumps for ruby and misc gems ( #1159 )
...
* Update rspec-rails to version 3.5.2
* Update addressable to version 2.5.1
* Update autoprefixer-rails to version 6.7.7.1
* Update bullet to version 5.5.1
* Update domain_name to version 0.5.20170404
* Update letter_opener_web to version 1.3.1
* Upate redis-rails to version 5.0.2
* Update active_record_query_trace to version 1.5.4
* Update capistrano-rails to version 1.2.3
* Update dotenv-rails to version 2.2.0
* Update pg to version 0.20.0
* Update tilt to version 2.0.7
* Update warden to version 1.2.7
* Update tins to version 1.13.2
* Update terminal-table to version 1.7.3
* Update oj to version 2.18.5
* Update simplecov to version 0.14.1
* Update uglifier to version 3.1.13
* Update hashdiff to version 0.3.2
* Update webmock to version 2.3.2
* Update devise to version 4.2.1
* Use ruby version 2.4.1
* Update sass to version 3.4.23
* Update puma to version 3.8.2
* Update will_paginate to version 3.1.5
* Update font-awesome-rails to version 4.7.0.1
* Update fuubar to version 2.2.0
* Update pry-rails to version 0.3.6
* Update simple-navigation to version 4.0.5
* Update rubocop to version 0.48.1
* Update doorkeeper to version 4.2.5
* Update faker to version 1.7.3
* Update aws-sdk to version 2.9.5
* Update fabrication to version 2.16.1
* Update hamlit-rails to version 0.2.0
* Update http to version 2.2.1
* Update httplog to version 0.99.2
* Update sidekiq to version 4.2.10
* Update rspec-sidekiq to version 3.0.0
* Update pghero to version 1.6.4
* Update rack-cors to version 0.4.1
* Update i18n-tasks to version 0.9.13
* Update ruby-oembed to version 0.12.0
* Update jquery-rails to version 4.3.1
* Update simple_form to version 3.4.0
* Update react-rails to version 1.11.0
* Update aws-sdk to version 2.9.6
* Update sidekiq-unique-jobs to version 5.0.0
* Update uglifier to version 3.2.0
8 years ago
Eugen Rochko
06e3d9bdd8
Make sure Rabl is using Oj
8 years ago
Pete Keen
f28fcf9080
[ #817 ] Add email whitelist
...
This adds the ability to filter user signup with a whitelist
instead of or in addition to a blacklist.
Fixes #817
8 years ago
Eugen Rochko
00e99e58db
Add proper error page for request timeouts
8 years ago
leopku
11f8faa6ba
🔧 S3 protocol from ENV
...
add support for reading S3 protocol from ENV
also add S3_HOSTNAME in .env.production.sample
8 years ago
Eugen Rochko
a19062b726
Federate header images, fix open-uri http->https redirection error
8 years ago
Eugen Rochko
453d65e6da
Obfuscate filenames better, double rate limits
8 years ago
Eugen Rochko
250beb1971
Revert earlier fix due to new bug reports
8 years ago
Eugen Rochko
65b49d95b7
Make the paperclip filename interpolator smarter about the :original style
...
If an :original gets converted into another format, it would get saved as
original_filename *anyway*, so generating the extension is pointless and
yields bad results for when you change the style definition later. This way,
old gifs will still have correct URLs
8 years ago
Eugen Rochko
03ce24d3bf
Update service timeout setting from 15s to 90s
8 years ago
Eugen
7037774d6e
Merge pull request #603 from evanminto/activitypub-account
...
Expose ActivityStreams 2.0 representation of accounts
8 years ago
Evan Minto
db7affbf5b
Reuse existing controller and route
8 years ago
Eugen Rochko
9bd2b6be86
Make the streaming API also handle websockets (because trying to get the browser EventSource interface to
...
work flawlessly was a nightmare). WARNING: This commit makes the web UI connect to the streaming API instead
of ActionCable like before. This means that if you are upgrading, you should set that up beforehand.
8 years ago
Eugen Rochko
557de8e24c
Update settings to re-use admin layout, one big navigation tree, improve settings forms
8 years ago
Eugen Rochko
0bf8c1b5d8
Do not automatically login after password reset, as it would circumvent two-factor auth (if enabled)
...
Do not require e-mail address changes to be re-confirmed, it's only trouble for no real benefit
8 years ago
Eugen Rochko
9b8670c939
Added optional two-factor authentication
8 years ago
Eugen Rochko
8008b60324
Fix key names in statsd
8 years ago
Eugen Rochko
fd23876e75
Improve StatsD instrumentation
8 years ago
Eugen Rochko
4bd0286045
Fix up timeout, improve contrast on "show more", add responsive style
...
for extremely wide monitors
8 years ago
Eugen
f80c55b591
Fix error
8 years ago
Eugen Rochko
e161d2acdc
Override Rack::Request to use the same trusted proxy settings as Rails
8 years ago
Eugen Rochko
f748a91ec7
Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko
86264a950c
Add optional StatsD performance tracking
8 years ago
Effy Elden
a898072d76
Add Heroku deployment support
8 years ago
Effy Elden
db40fd4641
Change default S3 ACL string used by Paperclip from 'public' (which is invalid) to 'public-read'
8 years ago
Eugen Rochko
f29df16eea
Fix Paperclip timeout setting. Fix bug introduced in #437
8 years ago
Eugen Rochko
438446b397
Add read timeout to paperclip when it's downloading remote images
8 years ago
Eugen Rochko
238233440f
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
7855a9b58b
Don't use rack timeout in any but production environments
8 years ago
Eugen Rochko
9d4f96f440
Removing external hub completely, fix #333 fixing digit-only hashtags,
...
removing web app capability from non-webapp pages
8 years ago
Eugen Rochko
4a167885b2
Fix paperclip config
8 years ago
Eugen Rochko
311f2354cf
Update Paperclip config to allow plugging in Minio instead of AWS
8 years ago
Eugen Rochko
5522606989
Add single user mode
8 years ago
Eugen Rochko
e5e702a976
Adding configurable e-mail blacklist
8 years ago
Eugen Rochko
f6b99b05d3
Do not use expiring links after all
8 years ago
Eugen Rochko
595f592304
Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals
...
for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also
make it private (aka only accessible via expiring links to prevent hotlinking)
8 years ago
Eugen Rochko
e20d57a9e6
Fix cloudfront config
8 years ago
Eugen Rochko
b245dc1575
Add Cloudfront support
8 years ago
Eugen Rochko
67db2cd871
Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
8 years ago
Eugen Rochko
3c1c2b0e06
Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
...
can be processed separately
8 years ago
Eugen Rochko
56b9edd476
Don't rate-limit PuSH endpoints
8 years ago
Eugen Rochko
79075e1303
Fix URLs in inline-rendered XML
8 years ago
Eugen
4d3cd93221
Fix URLs in ApplicationController.renderer
8 years ago
Eugen Rochko
de5764c372
Fix reset date format when rate limited
8 years ago
Eugen Rochko
30f9e9e624
Remove Neo4J
8 years ago
Eugen Rochko
8ab2fcbb2c
Mini Profiler not working well, remove it
8 years ago
Eugen Rochko
30010a6dbd
Moving some counter queries out of subqueries in the API
8 years ago
Eugen Rochko
0e0b4f9e59
i18n for devise mailer too
8 years ago
Eugen Rochko
1b61e404b4
Localizations for most server-side strings
8 years ago
Eugen Rochko
e71b152d89
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
46191e7071
Adding Emoji One
8 years ago
Eugen Rochko
9da30e31c8
Fix region setting for AWS gem
8 years ago
Eugen Rochko
8f0869876b
Improved configuration from ENV, cleaned up timeline filter methods
...
to be more readable, add extra logging to process feed service
8 years ago
Eugen Rochko
89e887b44a
Fix insecure S3 URLs
8 years ago
Eugen Rochko
54b9a42b3a
Fix URL configuration when S3 is enabled
8 years ago
Eugen Rochko
ec43fb73ed
Improve S3 config
8 years ago
Eugen Rochko
eb6ad973d1
Adding optional S3, fail-mastodon
8 years ago
Eugen Rochko
e7035a4d39
Make cookies https-only if LOCAL_HTTPS is true, set X-Frame-Options to DENY,
...
add permissive CORS to API controllers
8 years ago
Eugen Rochko
ff0eca7337
Restrict access to oauth/applications to admins only
8 years ago
Eugen Rochko
6657414266
Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
...
to the API
8 years ago
Eugen Rochko
be98addccc
Improving all forms
8 years ago
Eugen Rochko
02613aef3b
Adding application/jrd+json webfinger resource
8 years ago
Eugen Rochko
5860094354
Adding sync of follow relationships to Neo4J, accounts/suggestions API
8 years ago
Eugen Rochko
10395fd275
Fix #72 - add follow/unfollow button to public profiles
8 years ago
Eugen Rochko
f06f295890
Fix doorkeeper skip_authorization
8 years ago
Eugen Rochko
4909bbf415
Add logging for outgoing http requests
8 years ago
Eugen Rochko
492224b93f
Allow non-https redirect URIs for OAuth apps (AndStatus seems to require this)
8 years ago
Eugen Rochko
7e14eefc81
Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
...
registration API
8 years ago
Eugen Rochko
3b56350121
Fix #6 - Rate limit GET reqs to 300/5min, POST to 100/5min
8 years ago
Eugen Rochko
1022d682dc
Normalized data in Redux, fix for asset URLs when rendered outside request
8 years ago
Eugen Rochko
92afd29650
The frontend will now be an OAuth app, auto-authorized. The frontend will use an access token for API requests
...
Adding better errors for the API controllers, posting a simple status works from the frontend now
8 years ago
Eugen Rochko
44e57f64dd
Improving statuses, adding a composer drawer, which doesn't work yet
8 years ago
Eugen Rochko
bc0692d75b
Removing mini-profiler that doesn't work, formatting timelines a bit better
8 years ago
Eugen Rochko
68c93f8b85
Final fix for ActionCable origin issues
8 years ago
Eugen Rochko
8985f8e66c
Fixing more configuration issues with ActionCable
8 years ago
Eugen Rochko
5a8c149f6b
Fix ActionCable origin checking
8 years ago
Eugen Rochko
6426819b6f
Fix tests
8 years ago
Eugen Rochko
6deb9f966e
Live timelines using ActionCable
8 years ago
Eugen Rochko
10ba09f546
Upgrade to Rails 5.0.0.1
8 years ago
Eugen Rochko
85b00d19b8
Moving Salmon notifications to background processing, fixing mini-profiler
...
behaviour with Turbolinks enabled, optimizing Rabl for production
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
36f3da3cde
Adjust down the number of Sidekiq threads to 5 (default of 25 is way too high)
9 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
9 years ago
Eugen Rochko
42dcb0d4cb
Adding Sidekiq for background processing (firstly just of mailers)
9 years ago
Eugen Rochko
b640f35621
Writing out more tests, fixed some bugs
9 years ago
Eugen Rochko
e2b846f630
Adding letter opener for development and Rack::Attack for future rate limiting implementations
9 years ago
Eugen Rochko
9cb690c706
Access tokens no longer expire, case-insensitive local username validation, as well as case-insensitive Webfinger look-up
9 years ago
Eugen Rochko
2c374cd97c
Adding e-mail configuration
9 years ago
Eugen Rochko
6fec8afc3f
Bind oauth applications to users
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
447cfef62d
Improving feed queries, switching API to doorkeeper authentication
9 years ago
Eugen Rochko
b919f39b31
Customizing doorkeeper views for authorizing app
9 years ago
Eugen Rochko
6c4c84b161
Distrubute statuses as a fan-out-on-write system, with optional precomputing
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
7e93da3f8d
Removing grape and adding devise
9 years ago
Eugen Rochko
23d08c6749
Changing the use of config constants to the Rails configuration object
9 years ago
Eugen Rochko
ee73d35eea
Incoming Salmon requests can be turned into follows and unfollows
9 years ago
Eugen Rochko
1dad72bf13
Fixes and general progress
9 years ago
Eugen Rochko
709c6685a9
Made some progress
9 years ago
Eugen Rochko
9c4856bdb1
Initial commit
9 years ago