Commit Graph

2774 Commits

Author SHA1 Message Date
Michael W Spalti
b695da8487 Encoding removed. 2019-10-16 23:39:47 -07:00
Michael W Spalti
85d179e27f Bugfix for request by handle (removed unnecessary encoding) 2019-10-16 13:18:03 -07:00
Michael W Spalti
2d49f3e765 Added unit test for isCachedOrPending lookup by id (FindByIdRequest). 2019-10-16 13:18:03 -07:00
Michael W Spalti
5e40d7a4c1 Fixed lint errors. 2019-10-16 13:18:03 -07:00
Michael W Spalti
2aaab83427 Added unit tests. 2019-10-16 13:18:03 -07:00
Michael W Spalti
a1d21cd6af Minor change to comment. 2019-10-16 13:18:03 -07:00
Michael W Spalti
5ec9b7c29f Added new unit tests. 2019-10-16 13:18:03 -07:00
Michael W Spalti
efc91a4591 Updated work on routing by id.
Fixed unit tests.

Updated to use pid REST endpoint.

Minor change in data.service and unit test update.

Updated the objectnotfound page with new text and go home button.
2019-10-16 13:18:03 -07:00
lotte
ddbe0c825a fixed test issue 2019-10-16 16:32:22 +02:00
lotte
437dce9b15 Merge branch 'master' into w2p-65195_dynamic-component-refactoring 2019-10-16 15:48:39 +02:00
lotte
ac851f3812 renaming fixes, new tests 2019-10-16 14:48:17 +02:00
lotte
d962e40c58 added TypeDoc 2019-10-16 11:21:25 +02:00
Michael W Spalti
ef4ae44898 Added forceBypassCache property to request model. 2019-10-15 14:42:38 -07:00
Michael W Spalti
4b03f76db2 Setting responseMsToLive to zero for SubmissionRequest. 2019-10-15 14:42:38 -07:00
Art Lowel
040692455e increased responseMsToLive from 0 to 10s, to prevent infinite loops 2019-10-15 14:42:38 -07:00
Art Lowel
70a5e271f4 ensure object cache uses responseMsToLive from request 2019-10-15 14:40:39 -07:00
Michael W Spalti
2475de726f Tentative fix for the mydspace submission requests. 2019-10-15 14:40:39 -07:00
Michael W Spalti
255e17b1a9 Removed a missed forcedBypassCache property. 2019-10-15 14:40:39 -07:00
Michael W Spalti
5c2b7767ed Renamed cache property and replaced conditional with hasValue. 2019-10-15 14:40:39 -07:00
Michael W Spalti
2d9fdef974 Explicitly checking for undefined in dataService (since I think 0 is not truthy for number). 2019-10-15 14:40:11 -07:00
Michael W Spalti
934f5a1bd0 Sets responseMsToLive to zero in some dataService methods and adds ability to reset the responseMsToLive value in subclasses. 2019-10-15 14:38:52 -07:00
Michael W Spalti
fbcffd8097 Fixes unit test and problem in map fuction. 2019-10-15 14:38:00 -07:00
Michael W Spalti
34defdc5cd Setting cache period to zero for all instances where forceBypassCache was previously true. 2019-10-15 14:36:41 -07:00
Michael W Spalti
121e564e12 Refactored to remove forceBypassCache param from requestService and from data service classes. 2019-10-15 14:33:33 -07:00
Michael W Spalti
7bda63bc5a Renamed cache property and replaced conditional with hasValue. 2019-10-15 14:26:50 -07:00
Michael W Spalti
8ae5e415db Explicitly checking for undefined in dataService (since I think 0 is not truthy for number). 2019-10-15 14:26:49 -07:00
Michael W Spalti
2a1c85937c Fixed unit test that was missing from project before rebase. 2019-10-15 14:26:49 -07:00
Michael W Spalti
a50e568899 Sets responseMsToLive to zero in some dataService methods and adds ability to reset the responseMsToLive value in subclasses. 2019-10-15 14:26:49 -07:00
Michael W Spalti
d449bd70a0 Fixes unit test and problem in map fuction. 2019-10-15 14:26:49 -07:00
Michael W Spalti
6e3127c3a6 Setting cache period to zero for all instances where forceBypassCache was previously true. 2019-10-15 14:26:49 -07:00
Michael W Spalti
d2897cec3f Removed final reference to forceBypassCache param. 2019-10-15 14:26:49 -07:00
Michael W Spalti
96f8e905dd Refactored to remove forceBypassCache param from requestService and from data service classes. 2019-10-15 14:26:49 -07:00
L. Henze
150aace38e Page title - only show if there is no parent 2019-10-15 13:47:51 -04:00
L. Henze
b7b8eed6db *ngIf broken into two parts 2019-10-15 12:38:22 -04:00
L. Henze
8f2a942536 Merge branch 'master' into 460-coll-pages 2019-10-15 10:57:35 -04:00
lotte
7ca88021c9 added tests, aot fixes, lint fixes 2019-10-15 15:58:40 +02:00
Kristof De Langhe
f1b4b57cdb 65529: AoT build error fixes 2019-10-15 13:58:03 +02:00
lotte
bafb2f3490 fixed existing tests and added linkType 2019-10-14 16:27:08 +02:00
Kristof De Langhe
61d757493a 65572: Support for bundles on items 2019-10-14 13:39:29 +02:00
Michael W Spalti
a7f48865ea Added forceBypassCache property to request model. 2019-10-10 16:25:00 -07:00
Michael W Spalti
03a91adfab Setting responseMsToLive to zero for SubmissionRequest. 2019-10-10 15:53:52 -07:00
Tim Donohue
896462ff10 Merge pull request #348 from atmire/Item-Collection_Mapper
Item-Collection mapper
2019-10-10 11:38:24 -05:00
lotte
dfe1143184 metadata representation 2019-10-10 16:18:14 +02:00
Kristof De Langhe
f7bd30cf12 62589: Item-Mapper Requests responseMsToLive to 10s 2019-10-10 13:39:59 +02:00
Kristof De Langhe
98cd2aa84c 65529: Revert OrgUnit list changes on publication 2019-10-10 10:12:28 +02:00
Kristof De Langhe
7f50d7b23d 65529: ItemMetadataRepresentation using the virtual metadata value to display names 2019-10-09 17:08:59 +02:00
L. Henze
46b86ec6c7 Desktop view: also using allOptions array, and tidying 2019-10-08 12:52:10 -04:00
L. Henze
c46480c97f from @art-lowel: update onSelectChange to work with ngModel
Because we're working with ngModel, we're no longer getting a generic JS event in the onSelectChange, but simply the id of the selected option. I use that Id to find the option in the allOptions array that matches, and then use the data inside that matching option to navigate to the correct page.
2019-10-08 12:40:57 -04:00
L. Henze
be19a2a961 from @art-lowel: set ngModel for select, and also selected attribute for options
That currentOptionId$ observable is then used in the template to set the ngModel for the select, which, as mentioned above, should have been enough to select the correct option, but as it wasn't I also use it to set the selected attribute on the options
2019-10-08 12:38:01 -04:00
L. Henze
c957031317 from @art-lowel: Observable for currentOptionId
Next in order to know what page we're on, I use the route.url observable angular provides us that contains the current url, pipe that through a filter to ensure it has a value for the map below, which will just get the last part of the current url, so the community or collection id, or the type of the browse page.
2019-10-08 12:32:40 -04:00