Commit Graph

14 Commits

Author SHA1 Message Date
Buck Doyle
5d325351a5 Fix query parameters structures
I’d think the codemod would handle this if it’s a requirement
but apparently not, is it a bug?
2020-06-15 09:52:31 -05:00
Buck Doyle
24eadd269c Add massaged results of class codemod
Manual interventions:
• decorators on the same line for service and controller
  injections and most computed property macros
• preserving import order when possible, both per-line
  and intra-line
• moving new imports to the bottom
• removal of classic decorator for trivial cases
• conversion of init to constructor when appropriate
2020-06-10 16:18:42 -05:00
Buck Doyle
11d80ae489 Add Ember ESLint plugin (#8134)
This is extracted from #8094, where I have run into some snags. Since
these ESLint fixes aren’t actually connected to the Ember 3.16 update
but involve changes to many files, we might as well address them
separately. Where possible I fixed the problems but in cases where
a fix seemed too involved, I added per-line or -file exceptions.
2020-06-09 16:03:28 -05:00
Michael Lange
f6232f1817 ES5 getters codemod 2019-04-10 14:54:36 -07:00
Michael Lange
9e584e6486 Specialized No Leader error page 2018-08-20 14:11:50 -07:00
Michael Lange
a5da73da31 Repeat the new namespace pattern for region 2018-08-09 18:22:38 -07:00
Michael Lange
dc1a031460 Add three-way region property (query param, service, localStorage) 2018-08-09 18:22:37 -07:00
Michael Lange
2e19c2d877 Use the new ember modules imports
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
fbdf3ed3cb Don't warn intentional errors in tests
It's too noisy
2018-01-17 09:02:04 -08:00
Michael Lange
ee7faa5561 Warn errors in prod 2017-12-06 10:33:03 -08:00
Michael Lange
1cfa5f5ecc Handle 403s gracefully
- When a list 403s, treat it as if it were empty
- When a single resource 403s, redirect to an application error page
  that has a backdoor link to the tokens page
2017-10-12 17:40:49 -07:00
Michael Lange
9f6daaa91b Specialized error for 403s that links to the ACLs page 2017-10-12 17:24:32 -07:00
Michael Lange
13975ebc0b Throw errors that cause a redirect to make debugging easier 2017-10-11 13:45:03 -07:00
Michael Lange
5379ca241a Handle errors in the application route
This is the only way to preserve the URL in all cases.
2017-10-05 14:39:06 -07:00