158 Commits (main)

Author SHA1 Message Date
ThibG 15ddabf95a Fix caching headers in ActivityPub endpoints (#11331)
5 years ago
Eugen Rochko 5bf67ca913
Add ActivityPub secure mode (#11269)
5 years ago
Eugen Rochko 63c7fe8e48
Refactor controllers for statuses, accounts, and more (#11249)
5 years ago
Thibaut Girka aaec64a500 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 6836587117
Fix unnecessary SQL query performed on unauthenticated requests (#11179)
5 years ago
Thibaut Girka 34b8346e7f Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
ThibG cac9110533 Cleanup various controllers (#10972)
5 years ago
Thibaut Girka 291012ec0c Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Ben Lubar c3d1594576 Reduce server load caused by anonymous viewing. (#9059)
6 years ago
Thibaut Girka f8e07ca5cd Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 8069fd636b
Remove intermediary arrays when creating hash maps from results (#9291)
6 years ago
Thibaut Girka b00f60f1d3 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 795f0107d2
Include preview cards in status entity in REST API (#9120)
6 years ago
Thibaut Girka cd99255698 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 2288d50a7b
Add force_login option to OAuth authorize page (#8655)
6 years ago
Thibaut Girka 246c313d45 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 2f34b747b3
Allow mods to disable login, improve message when login disabled (#8329)
6 years ago
Jakub Mendyk 6cb3514d64 Add ability to change an instance default theme from the administration panel (#7092) (#8381)
6 years ago
Thibaut Girka 8b4abaa90d Merge branch 'master' into glitch-soc/master
6 years ago
abcang 9e75aa30cd Unuse ActiveRecord::Base#cache_key (#8185)
6 years ago
Thibaut Girka 659b8a12ec Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko ebf2fef029
Catch ActionController::UnknownFormat and return HTTP 406 (#7621)
6 years ago
Thibaut Girka 45fce0e496 Merge branch 'master' into glitch-soc/merge
7 years ago
ThibG 352bae8c3e Update session activation time (fixes #5605) (#7408)
7 years ago
Jenkins 6611100480 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Emelia Smith 2e59751823 Improve require_admin! and require_staff! filters (#7018)
7 years ago
David Yip 1b8fcd4df5
Merge remote-tracking branch 'origin/master' into merge-upstream
7 years ago
Eugen Rochko 47bdb9b33b
Fix #942: Seamless LDAP login (#6556)
7 years ago
imncls bb6988a7ac
Merge branch 'master' of https://github.com/tootsuite/mastodon
7 years ago
Eugen Rochko d8bc64bb09
Fix #6526: Only store redirect location if not in JSON format (#6528)
7 years ago
David Yip 4c1fd9a19c
Merge remote-tracking branch 'tootsuite/master' into merge-upstream
7 years ago
Alexander 04fef7b888 pam authentication (#5303)
7 years ago
David Yip f7c4d4464b
Merge remote-tracking branch 'personal/merge/tootsuite/master' into gs-master
7 years ago
David Yip 70c99a9f34
Use error pack when rendering error pages. Fixes #305.
7 years ago
Jenkins c2e1bfd9ae Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Yamagishi Kazutoshi 1d92b90be9 Fix force_ssl conditional (#6201)
7 years ago
Yamagishi Kazutoshi da809f9eec Fix unintended cache (#6214)
7 years ago
David Yip 5083311d64
Merge remote-tracking branch 'ykzts/fix-unintended-cache' into gs-master
7 years ago
Yamagishi Kazutoshi 2af307bce4 Fix unintended cache
7 years ago
Jenkins c69a23ae46 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
ThibG 3bee0996c5 Make sure private toots remain private and do not end up in HTTP caches (#6175)
7 years ago
Eugen Rochko c10f4bdb03
Cache JSON of immutable ActivityPub representations (#6171)
7 years ago
David Yip 4cca1d1e7e
Merge remote-tracking branch 'origin/master' into merge-upstream
7 years ago
Eugen Rochko 38fc1b498d
Add more instance stats APIs (#6125)
7 years ago
kibigo! b28cd6769c Javascript intl8n flavour support
7 years ago
kibigo! 717b7d555c Skins shouldn't apply to fallback flavours
7 years ago
kibigo! 061211a1e3 Fix common packs when other pack also there
7 years ago
kibigo! bc4fa6b198 Rename themes -> flavours ? ?
7 years ago
kibigo! 541fe9b110 Skins support
7 years ago
kibigo! bdbbd06dad Finalized theme loading and stuff
7 years ago
kibigo! 585758a373 Themed prefetching
7 years ago
Eugen Rochko 3e90987c8b Fix some rubocop style issues (#5730)
7 years ago
Eugen Rochko 7bb8b0b2fc
Add moderator role and add pundit policies for admin actions (#5635)
7 years ago
Andrew 0401a24558 Add support for multiple themes (#4959)
7 years ago
Eugen Rochko df605f0f8b Add "signed in as" header to some pages (#4523)
7 years ago
Eugen Rochko 00df69bc89 Fix #4058 - Use a long-lived cookie to keep track of user-level sessions (#4091)
7 years ago
Eugen Rochko ed7dc1704d Bind web UI access tokens to sessions (#3940)
7 years ago
Yamagishi Kazutoshi 676ba50601 Show error message to suspended user (#3281)
8 years ago
Yamagishi Kazutoshi 73e4468ff3 Change "Account.any?" to "Account.exists?" (#3217)
8 years ago
Akihiko Odaki aa662cecad single_user_mode? always returns boolean (#3215)
8 years ago
Matt Jankowski 7bffd16024 Error responses cleanup (#2692)
8 years ago
Matt Jankowski fdcf884cf7 Extract user tracking into concern (#2600)
8 years ago
alpaca-tc 9317ec8eb1 Localize with i18n for Devise::FailureApp (#2309)
8 years ago
Matt Jankowski a0dd90a397 Return force_ssl to the controller (#2380)
8 years ago
Evan Minto 66fd8e7821 ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197)
8 years ago
Matt Jankowski ee82d8a876 Move force_ssl check to production config (#2165)
8 years ago
Takayoshi Nishida 5e33ad29d4 Fix #2195 - Set locale to error pages (#2255)
8 years ago
Eugen 5d710b1139 Make file attachment on MediaAttachment optional (#1865)
8 years ago
Marcin Cieślak 1c8477eab2 Give SINGLE_USER a chance to register (#1820)
8 years ago
Eugen Rochko 4b621188ad Fix #1165 - before_action was called before protect_from_forgery
8 years ago
Eugen Rochko e3a3422a65 Allow setting of default language through config
8 years ago
Eugen Rochko b510a56c0c Only call regeneration worker after first login after a 14 day break
8 years ago
Eugen Rochko 2d07cb5771 Catching rack timeout from rails doesn't work
8 years ago
Eugen Rochko 5b12624847 Add proper error page for request timeouts
8 years ago
Eugen Rochko 08b96f1b9f Fix wrong HTTP status codes on error pages
8 years ago
Eugen Rochko e22a56183a Improve error page layouting. 500 page has to stay static because it's
8 years ago
Effy Elden ed41f9f0b1 Add nice error page for CSRF errors/cookie issue, and fix error page handling altogether
8 years ago
Eugen Rochko 3282448878 Fix #86 - resolve layout breaking on zoom-out on accounts grid
8 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
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,
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
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
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