docbrown/config
Alex f7430ccd16
[deploy] Add path_redirects table and internal view (#8161)
* Create migrations

* Create PageRedirect model

* Refactor migration and add timestamps

* Add routes for internal/page_redirects

* Add index controller action and view

* Change background color of version in /internal

* Add page_redirect factory and index specs

* Fix specs

* Use ransack for search

* Alphabetize internal sidenav

* Rename spec

* Add edit view with destroy button

* Refactor page_redirect form partial

* Update error messages and fix redirect

* Small fixes and hookup new and create

* Specs FTW

* Fix migration, overridden --> source

* Add PageRedirect model specs

- Validate presence of status

* Update routes

* Code climate fixes

* Add old_slug_url and new_slug_url helper methods

* Prevent updating old_slug, refactor _form

* Add URLs to index view for slugs

* Better spec wording

* Change version to badges and add to edit view

* Update destroy response

* slug --> path 🙈

* Add PageRedirects to seed file

* Fix seed file

* ACTUALLY fix the seed file

* slug --> path in PageRedirect factory

* Remove bug fix from seeds file

* Move menu items to controller constant

* Update source type validation in model spec

* Rename page_redirect --> path_redirect

* Add AuditLog for admin create, destroy, and update

* Remove redundant index

* Cleanup old name of page_redirect

* Remove old model

* Update AuditLog to :internal

* Titleize search placeholder task in internal

* Add comment to explain MENU_ITEMS constant

* Add warning text on edit page about many updates

* Remove default and allow null on source

* Fix comment

* Add path_redirect validations and model specs

- Validate old_path != new_path
- Validate new_path isn't an existing redirect
2020-06-05 10:28:33 -04:00
..
elasticsearch/mappings [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
environments Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
fastly/snippets [deploy] Revert "Update safe params for Array params (#7914)" (#8018) 2020-05-21 12:39:55 -04:00
initializers [deploy] Streamline Tag parsing for both editors (#8175) 2020-06-05 08:46:24 -04:00
locales [deploy] Create write_articles oauth scope (#7834) 2020-05-14 09:55:53 -04:00
webpack [deploy] Update webpacker configuration (#8004) 2020-05-25 12:03:18 -04:00
application.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
blazer.yml lower Blazer timeout to be closer to app STATEMENT_TIMEOUT (#6597) [deploy] 2020-03-11 16:08:15 -04:00
boot.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
cable.yml Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
database.yml Make DATABASE_URL_TEST optional (#7604) 2020-04-30 11:19:16 +02:00
environment.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
field_test.yml [deploy] Add alternate comment-oriented feed algos (#8042) 2020-05-26 13:23:03 -04:00
puma.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
routes.rb [deploy] Add path_redirects table and internal view (#8161) 2020-06-05 10:28:33 -04:00
sample_application.yml [deploy] Remove ALL Algolia Code (#7577) 2020-04-29 10:11:57 -05:00
secrets.yml Initial commit 2018-02-28 16:11:08 -05:00
sidekiq.yml setup sidekiq queues for different priority jobs (#5300) [deploy] 2019-12-30 10:16:52 -06:00
sitemap.rb Remove ENV["USE_NEW_AWS"] and use Orig ENV variables for New Creds (#5771) [deploy] 2020-01-27 15:46:57 -05:00
spring.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
storage.yml Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
webpacker.yml [deploy] Update webpacker configuration (#8004) 2020-05-25 12:03:18 -04:00