Commit Graph

52 Commits (835e1d900bcf81c71e4fde019fd948af6353cb0e)

Author SHA1 Message Date
Alex Dik 66973437e2 Replace _$loadingPromise with $self and make it public 9 years ago
Oliver Günther b2c44f8a4b Keep loading Promise in Hal resource 9 years ago
Alex Dik 30e0dc7ecc Fix work package save spec 9 years ago
Alex Dik dcb03325aa Rename hal sub folder to hal-resources 9 years ago
Alex Dik 44cec93e89 Add make 'lazy' function a service 9 years ago
Alex Dik 3daf551e34 Refactor HalResource 9 years ago
Alex Dik 9a903b7259 Refactor embedded array element transformaiton 9 years ago
Alex Dik 35ec3f751c Make the properties of the embedded elements lazy 9 years ago
Alex Dik ad364ce042 Make proxied properties enumerable 9 years ago
Alex Dik 182d4da0c6 Make the embedded properties lazy 9 years ago
Alex Dik cad8061abe Make the links lazy 9 years ago
Alex Dik 80dbbe4577 Make property links lazy 9 years ago
Alex Dik 9ed1a93101 Implement test for the href property 9 years ago
Alex Dik b05f20f9a5 Refactor $embedded 9 years ago
Alex Dik 1077ed5d6d Refactor $links 9 years ago
Alex Dik 2ebf02dd42 Proxy the properties of the object to the source 9 years ago
Alex Dik 516b3c43af Return empty object if the resource's source does not provide _links or _embedded 9 years ago
Alex Dik bd43debd7e Make properties of $links and $embedded non-settable 9 years ago
Alex Dik 1282d77765 Refactor the HalResource a little 9 years ago
Alex Dik bbce930127 Make $source public 9 years ago
Alex Dik 9949636245 Add tests for the _plain property of resources 9 years ago
Alex Dik c42499e015 Remove Restangular methods from HalResource $source 9 years ago
Alex Dik d38a84b63e Remove redundant source property from HalResource 9 years ago
Oliver Günther f3b175116c Fix webpack typing warnings 9 years ago
Oliver Günther 1647a8ecc1 Track by 'null' object which is transformed before saving 9 years ago
Oliver Günther b1a307ef96 Track objects by href and set self link 9 years ago
Oliver Günther e8f1bbe88a Restore default resource check 9 years ago
Oliver Günther 7e732b25ed Use errors from API 9 years ago
Jens Ulferts 452a0cf2c8 consider a resource loaded only after it is loaded 9 years ago
Alex Dik c377d61a25 Remove angular.copy call to enhance performance 9 years ago
Alex Dik 673b3fb3ba Fix WP save method for linked resources 9 years ago
Alex Dik 1df7fe6661 Make arrays of linked resources work 9 years ago
Alex Dik 3e14fbab2c Add $plain property to Restangular results 9 years ago
Alex Dik 24b8c56a2c Rename $halTransformed to $isHal 9 years ago
Alex Dik a209ac48eb Fix select field options 9 years ago
Alex Dik ede7f165bf Provide a name attribute that uses the self link's title 9 years ago
Alex Dik 7d3fa423ba Remove premature doc comments 9 years ago
Alex Dik cdc1d335ce Make linked and embedded resources accessible via properties 9 years ago
Alex Dik c7ad9b340f Make links of the resource callable again 9 years ago
Alex Dik f501b35aaf Stop setting linked resources as properties 9 years ago
Alex Dik e5a158b7dd Refactor property transformation in general 9 years ago
Alex Dik 62614824e1 Refactor property transformation of embedded resources 9 years ago
Alex Dik a5a7f8f0ea Implement HalLink service 9 years ago
Alex Dik a5bc2668ca Transform properties of embedded resources 9 years ago
Alex Dik ddb312f679 Use Array.isArray when transforming an array resource 9 years ago
Jens Ulferts 3ad87f09ce introduce collectionResource 9 years ago
Alex Dik fd710df9c2 Fix work package save method 9 years ago
Alex Dik ddcd193e15 Fix properties for nested embedded resources 9 years ago
Alex Dik 1581187919 Change implementation of HAL resources 9 years ago
Alex Dik 97ccf52839 Move apiV3 config into run block 9 years ago