Michael Lange
130e951a37
Merge pull request #4600 from hashicorp/f-ui-job-writes
...
UI: Job Writes
2018-08-30 10:41:14 -07:00
Michael Lange
1e4ca096b2
Use the same urlForFindRecord logic for urlForUpdateRecord
2018-08-21 16:38:35 -07:00
Michael Lange
9e584e6486
Specialized No Leader error page
2018-08-20 14:11:50 -07:00
Michael Lange
ae0bf90b79
Only deal with the region param (in the app and in api calls) when necessary
2018-08-09 18:22:39 -07:00
Michael Lange
61bdc3bfe7
Sidestep a transpilation bug.
...
Default params don't make it into arguments which were being splatted
into the call to super.
2018-08-09 18:22:38 -07:00
Michael Lange
200b3c339b
Add the region qp to every api request
2018-08-09 18:22:37 -07:00
Michael Lange
1f08445aec
Repeat the relationship unlinking pattern in the serializer
...
It also culls for findAll requests, so it too needs to be
careful about leaving garbage around.
2018-04-06 18:07:57 -07:00
Michael Lange
b10efef4b8
Unlink record relationships before unloaded them from the store
...
When simply unloading a record, references to the record are
maintained by the internal relationship state of related models.
This causes refetching and duplicate models local to that relationship
state.
2018-04-06 17:50:40 -07:00
Michael Lange
3c2a1f8a4a
Fix existing tests
2018-03-02 16:21:36 -08:00
Michael Lange
8a119d99ce
Remove stale records from the store for findHasMany requests
2018-03-02 16:21:35 -08: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
84832a6548
Stop gracefully handling findAll 403s in the adapter
2017-10-24 16:40:27 -07:00
Michael Lange
631fe68339
Never return null for adapter headers
...
Ember Data checks strictly against undefined:
https://github.com/emberjs/data/blob/master/addon/adapters/rest.js#L1128
2017-10-19 10:10:01 -07: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
45b8cb067e
Gracefully handle the 501 case
...
Enterprise endpoints return a 501 in the open source build. 5xx
errors throw by default, so handle this one since it's expected
for things such as namespaces.
2017-10-11 14:06:46 -07:00
Alex Dadgar
ddc2efa4ac
sync
2017-09-19 10:08:23 -05:00