stable

Clone or download

Read-only

request #7068 Allow Cross Origin Resources Sharing for REST API, fixing test

Change-Id: Ia24b3f9e423e45813014925fc217cb9f29317752

Modified Files

Name
M .gitignore +3 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +19 −28 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/PlanningResource.class.php +2 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectBacklogResource.class.php +0 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectMilestonesResource.class.php +0 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ProjectPlanningsResource.class.php +0 −3 Go to diff View file
M plugins/agiledashboard/include/constants.php +0 −11 Go to diff View file
M plugins/cardwall/include/REST/v1/CardsResource.class.php +1 −3 Go to diff View file
M plugins/cardwall/include/REST/v1/MilestonesCardwallResource.class.php +1 −2 Go to diff View file
M plugins/cardwall/include/cardwallPlugin.class.php +0 −7 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactFilesResource.class.php +1 −3 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactTemporaryFilesResource.class.php +1 −3 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +6 −16 Go to diff View file
M plugins/tracker/include/REST/v1/MilestonesBurndownResource.class.php +1 −6 Go to diff View file
M plugins/tracker/include/REST/v1/ProjectTrackersResource.class.php +0 −3 Go to diff View file
M plugins/tracker/include/REST/v1/ReportsResource.class.php +2 −7 Go to diff View file
M plugins/tracker/include/REST/v1/TrackersResource.class.php +9 −8 Go to diff View file
M src/common/REST/Header.class.php +1 −1 Go to diff View file
M src/common/REST/TokenAuthentication.class.php +3 −81 Go to diff View file
A src/common/REST/TokenIsAllowed.class.php +116 −0 Go to diff View file
M src/common/Token/REST/v1/TokenResource.class.php +1 −13 Go to diff View file
M src/common/autoload.php +4 −3 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +4 −9 Go to diff View file
M src/common/project/REST/v1/UserGroupResource.class.php +0 −16 Go to diff View file
M src/common/user/REST/v1/UserResource.php +0 −1 Go to diff View file
M src/www/api/.htaccess +2 −2 Go to diff View file
M tests/rest/ArtifactFilesTest.php +3 −12 Go to diff View file
M tests/rest/ArtifactsChangesetsTest.php +0 −4 Go to diff View file
M tests/rest/CardsTest.php +0 −7 Go to diff View file
M tests/rest/MilestonesBurndownTest.php +0 −7 Go to diff View file
M tests/rest/MilestonesCardwallTest.php +0 −7 Go to diff View file
A tests/simpletest/common/REST/TokenAuthenticationTestPHP53.php +44 −0 Go to diff View file