diff --git a/lib/client.js b/lib/client.js index f2a6a9768..bef4b8bc8 100644 --- a/lib/client.js +++ b/lib/client.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; var PushProcessor = require('./pushprocessor'); diff --git a/lib/content-repo.js b/lib/content-repo.js index 3dc863f0e..e39ecaa4e 100644 --- a/lib/content-repo.js +++ b/lib/content-repo.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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. +*/ /** * @module content-repo */ diff --git a/lib/filter.js b/lib/filter.js index 3242e3b36..e533ae937 100644 --- a/lib/filter.js +++ b/lib/filter.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * @module filter diff --git a/lib/http-api.js b/lib/http-api.js index f8a72978b..5bfbe6cf4 100644 --- a/lib/http-api.js +++ b/lib/http-api.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * This is an internal module. See {@link MatrixHttpApi} for the public class. diff --git a/lib/matrix.js b/lib/matrix.js index a68350488..b3b361d20 100644 --- a/lib/matrix.js +++ b/lib/matrix.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** The {@link module:models/event.MatrixEvent|MatrixEvent} class. */ diff --git a/lib/models/event-context.js b/lib/models/event-context.js index 71ec12cb4..c2f298b99 100644 --- a/lib/models/event-context.js +++ b/lib/models/event-context.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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/lib/models/event.js b/lib/models/event.js index e8db3dbf2..5c763a8c5 100644 --- a/lib/models/event.js +++ b/lib/models/event.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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/lib/models/room-member.js b/lib/models/room-member.js index 0c92fb863..ead1708b0 100644 --- a/lib/models/room-member.js +++ b/lib/models/room-member.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * @module models/room-member diff --git a/lib/models/room-state.js b/lib/models/room-state.js index 63ea48adf..bc7216057 100644 --- a/lib/models/room-state.js +++ b/lib/models/room-state.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * @module models/room-state diff --git a/lib/models/room-summary.js b/lib/models/room-summary.js index f792b9842..7329c3e79 100644 --- a/lib/models/room-summary.js +++ b/lib/models/room-summary.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * @module models/room-summary diff --git a/lib/models/room.js b/lib/models/room.js index 7bb9d6a33..7fe3ea5c8 100644 --- a/lib/models/room.js +++ b/lib/models/room.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * @module models/room diff --git a/lib/models/search-result.js b/lib/models/search-result.js index 675e5e2d4..4e5ad143e 100644 --- a/lib/models/search-result.js +++ b/lib/models/search-result.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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/lib/models/user.js b/lib/models/user.js index 85490f8a1..bb797222d 100644 --- a/lib/models/user.js +++ b/lib/models/user.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * @module models/user diff --git a/lib/pushprocessor.js b/lib/pushprocessor.js index e7c71029b..95a90a99b 100644 --- a/lib/pushprocessor.js +++ b/lib/pushprocessor.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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. +*/ /** * @module pushprocessor */ diff --git a/lib/scheduler.js b/lib/scheduler.js index 1f6da08b6..2d46bae23 100644 --- a/lib/scheduler.js +++ b/lib/scheduler.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * This is an internal module which manages queuing, scheduling and retrying diff --git a/lib/store/memory.js b/lib/store/memory.js index ece6fcacf..c4db09121 100644 --- a/lib/store/memory.js +++ b/lib/store/memory.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * This is an internal module. See {@link MatrixInMemoryStore} for the public class. diff --git a/lib/store/session/webstorage.js b/lib/store/session/webstorage.js index b0fbd0ced..d6afedc35 100644 --- a/lib/store/session/webstorage.js +++ b/lib/store/session/webstorage.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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/lib/store/stub.js b/lib/store/stub.js index 0aac43098..e40c3bca0 100644 --- a/lib/store/stub.js +++ b/lib/store/stub.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * This is an internal module. diff --git a/lib/store/webstorage.js b/lib/store/webstorage.js index c52a85fa5..5cd452033 100644 --- a/lib/store/webstorage.js +++ b/lib/store/webstorage.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * This is an internal module. Implementation details: diff --git a/lib/sync.js b/lib/sync.js index f6a4d6f31..cb43b347f 100644 --- a/lib/sync.js +++ b/lib/sync.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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/lib/utils.js b/lib/utils.js index f58a6533b..397c702f8 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * This is an internal module. diff --git a/lib/webrtc/call.js b/lib/webrtc/call.js index 0cb17f39b..6a00c5f6a 100644 --- a/lib/webrtc/call.js +++ b/lib/webrtc/call.js @@ -1,3 +1,18 @@ +/* +Copyright 2015, 2016 OpenMarket Ltd + +Licensed 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"; /** * This is an internal module. See {@link createNewMatrixCall} for the public API.