docbrown/app
Ben Halpern 3a469a99e2
[deploy] Enable admin-configured app_domain (#10206)
* Move app_domain from env var to siteconfig *within app area*

* Fix SiteConfig

* Don't change URL.domain yet

* Not use in fastly cache purge yet

* Session store magoo

* Revert domain issue

* Add SetCookie middleware

* Temporarily remove cookie middleware and release tasks

* Re-enable SetCookieDomain

* Add some more comments, get it ready for testing

* Remove host from url options and temporarily show errors

* Allow forwarded host to be cookie

* Fix typo

* Change invalidAuthenticityToken

* Properly set app domain

* Proper Fastly cache

* Remove config.app_domain

* Remove config.app_domain

* Explicitely set remember_user_token

* More play with cookies

* Fiddle with remember_user_token

* Add remember_user_token changes

* Monkeypatch devise

* Sessions controller

* Include rememberable

* Include rememberable

* Proper cookie monkeypatch

* Proper cookie monkeypatch

* Proper cookie monkeypatch

* Remove extra cookie code

* User sign in tweak

* Close the loop

* Experiment with carrierwave public_url

* Finalize carrierwave monkeypatch

* Remove async controller specs

* Change some tests

* Update domain test

* Remove temporary production.rb change

* modify cookie logic

* Remove unneeded changes

* Remove unneeded changes

* Explicitely pass host

* Fix linting

* Fix social image test

* Add some cookie tests

* Modify article url

* Fix canonical urls

* Fix typo

* Remove sessions controller

* Remove devise monkeypatch

* Add monkeypatch

* Remove elsif

* Update spec/helpers/application_helper_spec.rb

Co-authored-by: Michael Kohl <citizen428@dev.to>

* Adjust remember_cookie_sync

* Remember user token experimentation

* Fiddle with devise

* Properly configure devise

* Fix typo

* Fix formatting issue

* Add comment about middleware

* Fix typo

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

* Remove commented-out code

Co-authored-by: Michael Kohl <citizen428@dev.to>
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-09-11 09:38:34 -04:00
..
assets Organizations profile header redesign (#10258) 2020-09-10 12:42:36 +02:00
black_box [deploy] Adjust score a little bit more (#10034) 2020-08-27 07:21:44 -04:00
controllers [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
dashboards [deploy] Extracts DisplayAds from Administrate into admin (#10153) 2020-09-02 09:28:22 -06:00
decorators [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
errors [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers Include locale in fragment cache key (#10199) 2020-09-09 16:58:04 -04:00
javascript Drop containers styling (#10203) 2020-09-09 09:37:16 +02:00
labor [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
lib [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
liquid_tags Routine rubocop fixes (#10237) 2020-09-08 12:06:47 -04:00
mailers [deploy] Optimization:Select Article Columns for Digest Email, Limit 6, Use User Attributes (#10147) 2020-09-02 11:31:43 -05:00
middlewares [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
models [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
policies [deploy] [Admin Tooling] Allow admins unpublish articles from the Mod Actions Panel (#10038) 2020-09-02 16:08:08 -05:00
queries/admin [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
sanitizers [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
serializers [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
services [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
uploaders [deploy] Bug Fix: Validate GIFs Frames and Add MiniMagick Timeout (#9319) 2020-07-15 09:49:24 -05:00
view_objects [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
views [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
workers [deploy] Optimization:Select Article Columns for Digest Email, Limit 6, Use User Attributes (#10147) 2020-09-02 11:31:43 -05:00