From c135cbb1e43baf9db4f8fa0725be5dde40e5124c Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Fri, 1 Aug 2014 13:22:32 -0700 Subject: [PATCH 01/13] Add ASF license to index page --- ocw-ui/frontend-new/app/index.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ocw-ui/frontend-new/app/index.html b/ocw-ui/frontend-new/app/index.html index 3867c6fa..01a6e89f 100644 --- a/ocw-ui/frontend-new/app/index.html +++ b/ocw-ui/frontend-new/app/index.html @@ -1,3 +1,22 @@ + + From e07fa7bc9adccab469e7c59d8a3b4edf7bcb551f Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Fri, 1 Aug 2014 13:22:46 -0700 Subject: [PATCH 02/13] Add ASF license to 404 page --- ocw-ui/frontend-new/app/404.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ocw-ui/frontend-new/app/404.html b/ocw-ui/frontend-new/app/404.html index ec98e3c2..b5309752 100644 --- a/ocw-ui/frontend-new/app/404.html +++ b/ocw-ui/frontend-new/app/404.html @@ -1,3 +1,21 @@ + From 5643577bb41ef4f4a9099ed6c655621c34ca6bb6 Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Fri, 1 Aug 2014 13:24:00 -0700 Subject: [PATCH 03/13] Add ASF license to app.js --- ocw-ui/frontend-new/app/scripts/app.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ocw-ui/frontend-new/app/scripts/app.js b/ocw-ui/frontend-new/app/scripts/app.js index 7b84ab3f..8dca2dcd 100644 --- a/ocw-ui/frontend-new/app/scripts/app.js +++ b/ocw-ui/frontend-new/app/scripts/app.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** From f13a0b5c8e83be90168bb8a5ad5df29bd5d8d4d1 Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Fri, 1 Aug 2014 13:25:45 -0700 Subject: [PATCH 04/13] Update ASF license headers in controllers --- .../app/scripts/controllers/about.js | 19 +++++++++++++++++++ .../app/scripts/controllers/datasetdisplay.js | 19 +++++++++++++++++++ .../app/scripts/controllers/datasetselect.js | 19 +++++++++++++++++++ .../app/scripts/controllers/main.js | 19 +++++++++++++++++++ .../scripts/controllers/observationselect.js | 19 +++++++++++++++++++ .../scripts/controllers/parameterselect.js | 19 +++++++++++++++++++ .../app/scripts/controllers/rcmedselection.js | 19 +++++++++++++++++++ .../app/scripts/controllers/result.js | 19 +++++++++++++++++++ .../app/scripts/controllers/resultdetail.js | 19 +++++++++++++++++++ .../app/scripts/controllers/settings.js | 19 +++++++++++++++++++ .../app/scripts/controllers/timeline.js | 19 +++++++++++++++++++ .../app/scripts/controllers/worldmap.js | 19 +++++++++++++++++++ 12 files changed, 228 insertions(+) diff --git a/ocw-ui/frontend-new/app/scripts/controllers/about.js b/ocw-ui/frontend-new/app/scripts/controllers/about.js index e786f76c..19711204 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/about.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/about.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/datasetdisplay.js b/ocw-ui/frontend-new/app/scripts/controllers/datasetdisplay.js index 58628284..f7d2a776 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/datasetdisplay.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/datasetdisplay.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/datasetselect.js b/ocw-ui/frontend-new/app/scripts/controllers/datasetselect.js index b59cc5af..b6b52efe 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/datasetselect.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/datasetselect.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/main.js b/ocw-ui/frontend-new/app/scripts/controllers/main.js index 81282c1c..16008c01 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/main.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/main.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/observationselect.js b/ocw-ui/frontend-new/app/scripts/controllers/observationselect.js index c0850582..696c8b16 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/observationselect.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/observationselect.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/parameterselect.js b/ocw-ui/frontend-new/app/scripts/controllers/parameterselect.js index c1f648e7..cad97e08 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/parameterselect.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/parameterselect.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/rcmedselection.js b/ocw-ui/frontend-new/app/scripts/controllers/rcmedselection.js index 454fdf73..a3b38017 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/rcmedselection.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/rcmedselection.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/result.js b/ocw-ui/frontend-new/app/scripts/controllers/result.js index 0e21f57b..39b94b96 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/result.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/result.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/resultdetail.js b/ocw-ui/frontend-new/app/scripts/controllers/resultdetail.js index e7b25631..952516c7 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/resultdetail.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/resultdetail.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/settings.js b/ocw-ui/frontend-new/app/scripts/controllers/settings.js index abdbf22f..ca62fd88 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/settings.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/settings.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/timeline.js b/ocw-ui/frontend-new/app/scripts/controllers/timeline.js index 99bb3635..2546eded 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/timeline.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/timeline.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/controllers/worldmap.js b/ocw-ui/frontend-new/app/scripts/controllers/worldmap.js index 8665710b..0d28d6cd 100644 --- a/ocw-ui/frontend-new/app/scripts/controllers/worldmap.js +++ b/ocw-ui/frontend-new/app/scripts/controllers/worldmap.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** From f66d39c51e17a9528d47899831806f17e5f1a120 Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Fri, 1 Aug 2014 13:26:27 -0700 Subject: [PATCH 05/13] Add ASF license headers to directives --- .../app/scripts/directives/bootstrapmodal.js | 19 +++++++++++++++++++ .../scripts/directives/bootstrapmodalopen.js | 19 +++++++++++++++++++ .../app/scripts/directives/leafletmap.js | 19 +++++++++++++++++++ .../app/scripts/directives/onblur.js | 19 +++++++++++++++++++ .../directives/predictivefilebrowserinput.js | 19 +++++++++++++++++++ .../app/scripts/directives/previewmap.js | 19 +++++++++++++++++++ .../app/scripts/directives/timeline.js | 19 +++++++++++++++++++ 7 files changed, 133 insertions(+) diff --git a/ocw-ui/frontend-new/app/scripts/directives/bootstrapmodal.js b/ocw-ui/frontend-new/app/scripts/directives/bootstrapmodal.js index d8fc0cab..26d0a46d 100644 --- a/ocw-ui/frontend-new/app/scripts/directives/bootstrapmodal.js +++ b/ocw-ui/frontend-new/app/scripts/directives/bootstrapmodal.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/directives/bootstrapmodalopen.js b/ocw-ui/frontend-new/app/scripts/directives/bootstrapmodalopen.js index e573f69f..dca40059 100644 --- a/ocw-ui/frontend-new/app/scripts/directives/bootstrapmodalopen.js +++ b/ocw-ui/frontend-new/app/scripts/directives/bootstrapmodalopen.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/directives/leafletmap.js b/ocw-ui/frontend-new/app/scripts/directives/leafletmap.js index f49d7498..9b0a6ebe 100644 --- a/ocw-ui/frontend-new/app/scripts/directives/leafletmap.js +++ b/ocw-ui/frontend-new/app/scripts/directives/leafletmap.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/directives/onblur.js b/ocw-ui/frontend-new/app/scripts/directives/onblur.js index f2dcc50a..313dbe0d 100644 --- a/ocw-ui/frontend-new/app/scripts/directives/onblur.js +++ b/ocw-ui/frontend-new/app/scripts/directives/onblur.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/directives/predictivefilebrowserinput.js b/ocw-ui/frontend-new/app/scripts/directives/predictivefilebrowserinput.js index 5fddcae9..7142c15f 100644 --- a/ocw-ui/frontend-new/app/scripts/directives/predictivefilebrowserinput.js +++ b/ocw-ui/frontend-new/app/scripts/directives/predictivefilebrowserinput.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/directives/previewmap.js b/ocw-ui/frontend-new/app/scripts/directives/previewmap.js index 371bea9f..78aae8c2 100644 --- a/ocw-ui/frontend-new/app/scripts/directives/previewmap.js +++ b/ocw-ui/frontend-new/app/scripts/directives/previewmap.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/directives/timeline.js b/ocw-ui/frontend-new/app/scripts/directives/timeline.js index 2ba5d5e2..760a8190 100644 --- a/ocw-ui/frontend-new/app/scripts/directives/timeline.js +++ b/ocw-ui/frontend-new/app/scripts/directives/timeline.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** From 83fe63477a071087b113bfa30bff9e31e4a8f270 Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Fri, 1 Aug 2014 13:27:01 -0700 Subject: [PATCH 06/13] Add ASF license header to isodatetomiddleendian filter --- .../scripts/filters/isodatetomiddleendian.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ocw-ui/frontend-new/app/scripts/filters/isodatetomiddleendian.js b/ocw-ui/frontend-new/app/scripts/filters/isodatetomiddleendian.js index fce091cd..7fcd2a9e 100644 --- a/ocw-ui/frontend-new/app/scripts/filters/isodatetomiddleendian.js +++ b/ocw-ui/frontend-new/app/scripts/filters/isodatetomiddleendian.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** From 4c7519455a600a15716d4d46a8c433972b2d0bff Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Fri, 1 Aug 2014 13:27:30 -0700 Subject: [PATCH 07/13] Ad ASF license headers to services --- .../scripts/services/evaluationsettings.js | 19 +++++++++++++++++++ .../scripts/services/regionselectparams.js | 19 +++++++++++++++++++ .../services/selecteddatasetinformation.js | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/ocw-ui/frontend-new/app/scripts/services/evaluationsettings.js b/ocw-ui/frontend-new/app/scripts/services/evaluationsettings.js index f2faf525..b53842cc 100644 --- a/ocw-ui/frontend-new/app/scripts/services/evaluationsettings.js +++ b/ocw-ui/frontend-new/app/scripts/services/evaluationsettings.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/services/regionselectparams.js b/ocw-ui/frontend-new/app/scripts/services/regionselectparams.js index 1ac404ad..cb3f4f8f 100644 --- a/ocw-ui/frontend-new/app/scripts/services/regionselectparams.js +++ b/ocw-ui/frontend-new/app/scripts/services/regionselectparams.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** diff --git a/ocw-ui/frontend-new/app/scripts/services/selecteddatasetinformation.js b/ocw-ui/frontend-new/app/scripts/services/selecteddatasetinformation.js index 9034c960..613cfb8a 100644 --- a/ocw-ui/frontend-new/app/scripts/services/selecteddatasetinformation.js +++ b/ocw-ui/frontend-new/app/scripts/services/selecteddatasetinformation.js @@ -1,3 +1,22 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http: *www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + 'use strict'; /** From 08a85c32a97108adefdc8d35858eba785d082577 Mon Sep 17 00:00:00 2001 From: Michael Joyce Date: Fri, 1 Aug 2014 13:28:58 -0700 Subject: [PATCH 08/13] Add/Update ASF license headers in views --- ocw-ui/frontend-new/app/views/main.html | 19 +++++++++++ .../frontend-new/app/views/modelselect.html | 32 +++++++++---------- ocw-ui/frontend-new/app/views/results.html | 19 +++++++++++ .../frontend-new/app/views/resultsdetail.html | 19 +++++++++++ .../frontend-new/app/views/resultslist.html | 19 +++++++++++ .../app/views/selectobservation.html | 32 +++++++++---------- .../frontend-new/app/views/selectrcmed.html | 32 +++++++++---------- 7 files changed, 124 insertions(+), 48 deletions(-) diff --git a/ocw-ui/frontend-new/app/views/main.html b/ocw-ui/frontend-new/app/views/main.html index cc07a3ba..2f428e5f 100644 --- a/ocw-ui/frontend-new/app/views/main.html +++ b/ocw-ui/frontend-new/app/views/main.html @@ -1,3 +1,22 @@ + +