From a2b1ddb0540b1eb361e75271951c4b276a1d83b6 Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Sat, 6 Jun 2015 19:15:01 +0300 Subject: [PATCH] Update license headers --- src/clojure/monger/cache.clj | 38 ++++++++++++++---- src/clojure/monger/collection.clj | 41 +++++++++++++++---- src/clojure/monger/command.clj | 39 ++++++++++++++---- src/clojure/monger/constraints.clj | 33 ++++++++++++++++ src/clojure/monger/conversion.clj | 46 ++++++++++++++-------- src/clojure/monger/core.clj | 38 ++++++++++++++---- src/clojure/monger/credentials.clj | 38 ++++++++++++++---- src/clojure/monger/cursor.clj | 38 ++++++++++++++---- src/clojure/monger/db.clj | 39 ++++++++++++++---- src/clojure/monger/gridfs.clj | 38 ++++++++++++++---- src/clojure/monger/internal/pagination.clj | 38 ++++++++++++++---- src/clojure/monger/joda_time.clj | 38 ++++++++++++++---- src/clojure/monger/js.clj | 38 ++++++++++++++---- src/clojure/monger/json.clj | 38 ++++++++++++++---- src/clojure/monger/operators.clj | 38 ++++++++++++++---- src/clojure/monger/query.clj | 38 ++++++++++++++---- src/clojure/monger/ragtime.clj | 38 ++++++++++++++---- src/clojure/monger/result.clj | 38 ++++++++++++++---- src/clojure/monger/ring/session_store.clj | 38 ++++++++++++++---- src/clojure/monger/util.clj | 38 ++++++++++++++---- 20 files changed, 625 insertions(+), 143 deletions(-) diff --git a/src/clojure/monger/cache.clj b/src/clojure/monger/cache.clj index 5143d73..4156b38 100644 --- a/src/clojure/monger/cache.clj +++ b/src/clojure/monger/cache.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.cache "clojure.core.cache implementation(s) on top of MongoDB. diff --git a/src/clojure/monger/collection.clj b/src/clojure/monger/collection.clj index 6344ecb..3466ad7 100644 --- a/src/clojure/monger/collection.clj +++ b/src/clojure/monger/collection.clj @@ -1,13 +1,40 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. +;; +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team ;; Copyright (c) 2012 Toby Hede ;; Copyright (c) 2012 Baishampayan Ghose ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; Copyright (c) 2012 Toby Hede +;; Copyright (c) 2012 Baishampayan Ghose +;; +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.collection "Provides key functionality for interaction with MongoDB: inserting, querying, updating and deleting documents, performing Aggregation Framework diff --git a/src/clojure/monger/command.clj b/src/clojure/monger/command.clj index cb59133..6f823a9 100644 --- a/src/clojure/monger/command.clj +++ b/src/clojure/monger/command.clj @@ -1,12 +1,37 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. +;; +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team ;; Copyright (c) 2012 Toby Hede ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; Copyright (c) 2012 Toby Hede +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.command "Provides convenience functions for performing most commonly used MongoDB commands. diff --git a/src/clojure/monger/constraints.clj b/src/clojure/monger/constraints.clj index 88d98a2..3eb39c2 100644 --- a/src/clojure/monger/constraints.clj +++ b/src/clojure/monger/constraints.clj @@ -1,3 +1,36 @@ +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. +;; +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- + (ns monger.constraints) diff --git a/src/clojure/monger/conversion.clj b/src/clojure/monger/conversion.clj index 01cb0ee..2185f44 100644 --- a/src/clojure/monger/conversion.clj +++ b/src/clojure/monger/conversion.clj @@ -1,25 +1,37 @@ -;; Original author is Andrew Boekhoff +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- ;; Portions of the code are Copyright (c) 2009 Andrew Boekhoff -;; Copyright (c) 2011-2014 Michael S. Klishin +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team ;; -;; Permission is hereby granted, free of charge, to any person obtaining a copy -;; of this software and associated documentation files (the "Software"), to deal -;; in the Software without restriction, including without limitation the rights -;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -;; copies of the Software, and to permit persons to whom the Software is -;; furnished to do so, subject to the following conditions: +;; 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 ;; -;; The above copyright notice and this permission notice shall be included in -;; all copies or substantial portions of the Software. +;; http://www.apache.org/licenses/LICENSE-2.0 ;; -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -;; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -;; THE SOFTWARE. +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Portions of the code are Copyright (c) 2009 Andrew Boekhoff +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.conversion "Provides functions that convert between MongoDB Java driver classes (DBObject, DBList) and Clojure diff --git a/src/clojure/monger/core.clj b/src/clojure/monger/core.clj index 04649e7..d3e3041 100644 --- a/src/clojure/monger/core.clj +++ b/src/clojure/monger/core.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.core "Thin idiomatic wrapper around MongoDB Java client. monger.core includes diff --git a/src/clojure/monger/credentials.clj b/src/clojure/monger/credentials.clj index aa49424..4b31cfe 100644 --- a/src/clojure/monger/credentials.clj +++ b/src/clojure/monger/credentials.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2015 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.credentials "Helper functions for instantiating various types diff --git a/src/clojure/monger/cursor.clj b/src/clojure/monger/cursor.clj index affe05d..39acb43 100644 --- a/src/clojure/monger/cursor.clj +++ b/src/clojure/monger/cursor.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.cursor "Helper-functions for dbCursor object: diff --git a/src/clojure/monger/db.clj b/src/clojure/monger/db.clj index b6413bf..cdaca66 100644 --- a/src/clojure/monger/db.clj +++ b/src/clojure/monger/db.clj @@ -1,12 +1,37 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. +;; +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team ;; Copyright (c) 2012 Toby Hede ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; Copyright (c) 2012 Toby Hede +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.db "Functions that provide operations on databases" diff --git a/src/clojure/monger/gridfs.clj b/src/clojure/monger/gridfs.clj index c0d15f2..e6107cc 100644 --- a/src/clojure/monger/gridfs.clj +++ b/src/clojure/monger/gridfs.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.gridfs "Provides functions and macros for working with GridFS: storing files in GridFS, streaming files from GridFS, diff --git a/src/clojure/monger/internal/pagination.clj b/src/clojure/monger/internal/pagination.clj index c2b3e55..b5b3259 100644 --- a/src/clojure/monger/internal/pagination.clj +++ b/src/clojure/monger/internal/pagination.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.internal.pagination) diff --git a/src/clojure/monger/joda_time.clj b/src/clojure/monger/joda_time.clj index 863c2a1..940ca3e 100644 --- a/src/clojure/monger/joda_time.clj +++ b/src/clojure/monger/joda_time.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.joda-time "An optional convenience namespaces for applications that heavily use dates and would prefer use JodaTime types diff --git a/src/clojure/monger/js.clj b/src/clojure/monger/js.clj index ca71ab5..51f8da7 100644 --- a/src/clojure/monger/js.clj +++ b/src/clojure/monger/js.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.js "Kept for backwards compatibility. Please use clojurewerkz.support.js from now on." diff --git a/src/clojure/monger/json.clj b/src/clojure/monger/json.clj index ae6cc53..4fb14d8 100644 --- a/src/clojure/monger/json.clj +++ b/src/clojure/monger/json.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.json "Provides clojure.data.json/Write-JSON protocol extension for MongoDB-specific types, such as diff --git a/src/clojure/monger/operators.clj b/src/clojure/monger/operators.clj index 1da2e50..481aa60 100644 --- a/src/clojure/monger/operators.clj +++ b/src/clojure/monger/operators.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.operators "Provides vars that represent various MongoDB operators, for example, $gt or $in or $regex. diff --git a/src/clojure/monger/query.clj b/src/clojure/monger/query.clj index a2ae7ba..a86c21e 100644 --- a/src/clojure/monger/query.clj +++ b/src/clojure/monger/query.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.query "Provides an expressive Query DSL that is very close to that in the Mongo shell (within reason). diff --git a/src/clojure/monger/ragtime.clj b/src/clojure/monger/ragtime.clj index 05d7fd8..71db197 100644 --- a/src/clojure/monger/ragtime.clj +++ b/src/clojure/monger/ragtime.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.ragtime "Ragtime integration" diff --git a/src/clojure/monger/result.clj b/src/clojure/monger/result.clj index 4ab22df..0a5f35e 100644 --- a/src/clojure/monger/result.clj +++ b/src/clojure/monger/result.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.result "Provides functions that determine if a query (or other database operation) diff --git a/src/clojure/monger/ring/session_store.clj b/src/clojure/monger/ring/session_store.clj index 543a138..76ff459 100644 --- a/src/clojure/monger/ring/session_store.clj +++ b/src/clojure/monger/ring/session_store.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns monger.ring.session-store (:require [ring.middleware.session.store :as ringstore] diff --git a/src/clojure/monger/util.clj b/src/clojure/monger/util.clj index b6c4d45..3128ffa 100644 --- a/src/clojure/monger/util.clj +++ b/src/clojure/monger/util.clj @@ -1,11 +1,35 @@ -;; Copyright (c) 2011-2014 Michael S. Klishin +;; This source code is dual-licensed under the Apache License, version +;; 2.0, and the Eclipse Public License, version 1.0. ;; -;; The use and distribution terms for this software are covered by the -;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) -;; which can be found in the file epl-v10.html at the root of this distribution. -;; By using this software in any fashion, you are agreeing to be bound by -;; the terms of this license. -;; You must not remove this notice, or any other, from this software. +;; The APL v2.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team +;; +;; 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. +;; ---------------------------------------------------------------------------------- +;; +;; The EPL v1.0: +;; +;; ---------------------------------------------------------------------------------- +;; Copyright (c) 2011-2015 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team. +;; All rights reserved. +;; +;; This program and the accompanying materials are made available under the terms of +;; the Eclipse Public License Version 1.0, +;; which accompanies this distribution and is available at +;; http://www.eclipse.org/legal/epl-v10.html. +;; ---------------------------------------------------------------------------------- (ns ^{:doc "Provides various utility functions, primarily for working with document ids."} monger.util (:import java.security.SecureRandom