diff --git a/LICENSE b/LICENSE index 0ad25db4b..d0fc01cb1 100644 --- a/LICENSE +++ b/LICENSE @@ -5,6 +5,13 @@ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + Trademarks + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it +as required to describe our software, run your own server, for educational +purposes, but not for offering commercial goods, products, or services +without prior written permission. In other words, please ask. + Preamble The GNU Affero General Public License is a free, copyleft license for @@ -617,45 +624,3 @@ Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If your software can interact with users remotely through a computer -network, you should also make sure that it provides a way for users to -get its source. For example, if your program is a web application, its -interface could display a "Source" link that leads users to an archive -of the code. There are many ways you could offer source, and different -solutions will be better for different programs; see section 13 for the -specific requirements. - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU AGPL, see -. diff --git a/README.md b/README.md index f78723da1..44f464b45 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -PhotoPrism: Browse your life in pictures +PhotoPrism: Browse Your Life in Pictures ======================================== [![License: AGPL](https://img.shields.io/badge/license-AGPL-blue.svg)][license] @@ -109,16 +109,17 @@ Let us know if we mistakenly label an idea as [unfunded](https://github.com/phot Thank you very much! <3 -## Disclaimer ## +## Trademarks ## -We'd like to remind everyone that we are not full-time marketing specialists but developers who work a lot and -enjoy a bit of sarcasm from time to time. Please let us know when there is an issue with our "nuance and tone", -and we'll find a solution. +PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required to describe +our software, run your own server, for educational purposes, but not for offering commercial +goods, products, or services without prior written permission. In other words, please ask. -PhotoPrism™ is a registered trademark of Michael Mayer. -You may use it as required to describe our software, run your own server, for educational purposes, -but not for offering commercial goods, products, or services without prior written permission. -In other words, please ask. +## Don't Panic ## + +We'd like to remind everyone that we are not full-time marketing specialists but developers +who work a lot and enjoy a bit of sarcasm from time to time. Please let us know when there is +an issue with our "nuance and tone", and we'll find a solution. [wiki:classification]: https://github.com/photoprism/photoprism/wiki/Image-Classification [wiki:xmp]: https://github.com/photoprism/photoprism/wiki/XMP diff --git a/cmd/photoprism/doc.go b/cmd/photoprism/doc.go deleted file mode 100644 index 867ccfa5c..000000000 --- a/cmd/photoprism/doc.go +++ /dev/null @@ -1,22 +0,0 @@ -/* - -Copyright (C) 2018 - 2020 Michael Mayer - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. - - You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . - -File bugs or feature requests at: -https://github.com/photoprism/photoprism/issues - -*/ -package main diff --git a/cmd/photoprism/photoprism.go b/cmd/photoprism/photoprism.go index 8c123f64c..e6be600d0 100644 --- a/cmd/photoprism/photoprism.go +++ b/cmd/photoprism/photoprism.go @@ -1,3 +1,32 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ package main import ( @@ -15,7 +44,7 @@ var log = event.Log func main() { app := cli.NewApp() app.Name = "PhotoPrism" - app.Usage = "Browse your life in pictures" + app.Usage = "Browse Your Life in Pictures" app.Version = version app.Copyright = "(c) 2018-2020 Michael Mayer " app.EnableBashCompletion = true diff --git a/frontend/karma.conf.js b/frontend/karma.conf.js index a089b9670..e6d0b57cd 100644 --- a/frontend/karma.conf.js +++ b/frontend/karma.conf.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + const path = require("path"); const findChrome = require("chrome-finder"); diff --git a/frontend/src/app.js b/frontend/src/app.js index 68ecf8515..b51e149e3 100644 --- a/frontend/src/app.js +++ b/frontend/src/app.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import "core-js/stable"; import "regenerator-runtime/runtime"; import Api from "common/api"; diff --git a/frontend/src/common/api.js b/frontend/src/common/api.js index 76b081f2d..5b9a7f501 100644 --- a/frontend/src/common/api.js +++ b/frontend/src/common/api.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Axios from "axios"; import Notify from "common/notify"; diff --git a/frontend/src/common/clipboard.js b/frontend/src/common/clipboard.js index bc8bc76f7..5054b3e53 100644 --- a/frontend/src/common/clipboard.js +++ b/frontend/src/common/clipboard.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import RestModel from "model/rest"; class Clipboard { diff --git a/frontend/src/common/config.js b/frontend/src/common/config.js index cd22f7d2e..ab4c41513 100644 --- a/frontend/src/common/config.js +++ b/frontend/src/common/config.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Event from "pubsub-js"; import themes from "../resources/themes.json"; import translations from "../resources/translations.json"; diff --git a/frontend/src/common/form.js b/frontend/src/common/form.js index 952a49d53..dedb55b80 100644 --- a/frontend/src/common/form.js +++ b/frontend/src/common/form.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + export const FormPropertyType = Object.freeze({ String: "string", Number: "number", diff --git a/frontend/src/common/log.js b/frontend/src/common/log.js index 86cb8c9da..adfb3d4ce 100644 --- a/frontend/src/common/log.js +++ b/frontend/src/common/log.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Event from "pubsub-js"; class Log { diff --git a/frontend/src/common/notify.js b/frontend/src/common/notify.js index ae21beab6..8fc0ac8ef 100644 --- a/frontend/src/common/notify.js +++ b/frontend/src/common/notify.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Event from "pubsub-js"; const Notify = { diff --git a/frontend/src/common/session.js b/frontend/src/common/session.js index 55a603b18..46359b60d 100644 --- a/frontend/src/common/session.js +++ b/frontend/src/common/session.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Api from "./api"; import Event from "pubsub-js"; import User from "../model/user"; diff --git a/frontend/src/common/util.js b/frontend/src/common/util.js index 9e7c2981a..0fcf0febc 100644 --- a/frontend/src/common/util.js +++ b/frontend/src/common/util.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + const Nanosecond = 1; const Microsecond = 1000 * Nanosecond; const Millisecond = 1000 * Microsecond; diff --git a/frontend/src/common/viewer.js b/frontend/src/common/viewer.js index c3ccda7ae..3a7c3cc90 100644 --- a/frontend/src/common/viewer.js +++ b/frontend/src/common/viewer.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import PhotoSwipe from "photoswipe"; import PhotoSwipeUI_Default from "photoswipe/dist/photoswipe-ui-default.js"; import Event from "pubsub-js"; diff --git a/frontend/src/common/websocket.js b/frontend/src/common/websocket.js index a4b2543d8..06e0eee5d 100644 --- a/frontend/src/common/websocket.js +++ b/frontend/src/common/websocket.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Sockette from "sockette"; import Event from "pubsub-js"; diff --git a/frontend/src/component/components.js b/frontend/src/component/components.js index 5d46e0c82..9cbec1311 100644 --- a/frontend/src/component/components.js +++ b/frontend/src/component/components.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import PNotify from "./p-notify.vue"; import PNavigation from "./p-navigation.vue"; import PLoadingBar from "./p-loading-bar.vue"; diff --git a/frontend/src/css/app.css b/frontend/src/css/app.css index 9d0257662..063a87c62 100644 --- a/frontend/src/css/app.css +++ b/frontend/src/css/app.css @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + @import url("../../node_modules/material-design-icons-iconfont/dist/material-design-icons.css"); @import url("../../node_modules/vuetify/dist/vuetify.min.css"); @import url("../../node_modules/mapbox-gl/dist/mapbox-gl.css"); diff --git a/frontend/src/dialog/dialogs.js b/frontend/src/dialog/dialogs.js index 03fafd479..74049ab64 100644 --- a/frontend/src/dialog/dialogs.js +++ b/frontend/src/dialog/dialogs.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import PAccountAddDialog from "./account/add.vue"; import PAccountRemoveDialog from "./account/remove.vue"; import PAccountEditDialog from "./account/edit.vue"; diff --git a/frontend/src/model/account.js b/frontend/src/model/account.js index e9ccea066..2cdae920d 100644 --- a/frontend/src/model/account.js +++ b/frontend/src/model/account.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import RestModel from "model/rest"; import Api from "../common/api"; diff --git a/frontend/src/model/album.js b/frontend/src/model/album.js index fd7963871..063946451 100644 --- a/frontend/src/model/album.js +++ b/frontend/src/model/album.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import RestModel from "model/rest"; import Api from "common/api"; import {DateTime} from "luxon"; diff --git a/frontend/src/model/file.js b/frontend/src/model/file.js index adb3b1c8c..9ac4c0ce7 100644 --- a/frontend/src/model/file.js +++ b/frontend/src/model/file.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import RestModel from "model/rest"; import Api from "common/api"; import {DateTime} from "luxon"; diff --git a/frontend/src/model/folder.js b/frontend/src/model/folder.js index b0639dfd9..2b8a442b1 100644 --- a/frontend/src/model/folder.js +++ b/frontend/src/model/folder.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import RestModel from "model/rest"; import Api from "common/api"; import {DateTime} from "luxon"; diff --git a/frontend/src/model/label.js b/frontend/src/model/label.js index b4a44c417..6de7eee40 100644 --- a/frontend/src/model/label.js +++ b/frontend/src/model/label.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import RestModel from "model/rest"; import Api from "common/api"; import {DateTime} from "luxon"; diff --git a/frontend/src/model/link.js b/frontend/src/model/link.js index 0d3539cec..a78ec5821 100644 --- a/frontend/src/model/link.js +++ b/frontend/src/model/link.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Model from "./model"; import Api from "../common/api"; import {DateTime} from "luxon"; diff --git a/frontend/src/model/model.js b/frontend/src/model/model.js index 9ec56bb50..6b210a49e 100644 --- a/frontend/src/model/model.js +++ b/frontend/src/model/model.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + export class Model { constructor(values) { this.__originalValues = {}; diff --git a/frontend/src/model/photo.js b/frontend/src/model/photo.js index 0902f9a8a..afa693651 100644 --- a/frontend/src/model/photo.js +++ b/frontend/src/model/photo.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import RestModel from "model/rest"; import Api from "common/api"; import {DateTime} from "luxon"; diff --git a/frontend/src/model/rest.js b/frontend/src/model/rest.js index 602d34c82..1b6752e61 100644 --- a/frontend/src/model/rest.js +++ b/frontend/src/model/rest.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Api from "common/api"; import Form from "common/form"; import Model from "./model"; diff --git a/frontend/src/model/settings.js b/frontend/src/model/settings.js index 3954935d9..5eda09786 100644 --- a/frontend/src/model/settings.js +++ b/frontend/src/model/settings.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Api from "common/api"; import Model from "./model"; diff --git a/frontend/src/model/thumb.js b/frontend/src/model/thumb.js index 2967d3be1..2626f5536 100644 --- a/frontend/src/model/thumb.js +++ b/frontend/src/model/thumb.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Model from "./model"; import Api from "../common/api"; import {config} from "../session"; diff --git a/frontend/src/model/user.js b/frontend/src/model/user.js index eb64fbcbe..8b726de21 100644 --- a/frontend/src/model/user.js +++ b/frontend/src/model/user.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import RestModel from "model/rest"; import Form from "common/form"; import Api from "common/api"; diff --git a/frontend/src/routes.js b/frontend/src/routes.js index a0b401028..493147247 100644 --- a/frontend/src/routes.js +++ b/frontend/src/routes.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import Photos from "pages/photos.vue"; import Albums from "pages/albums.vue"; import AlbumPhotos from "pages/album/photos.vue"; diff --git a/frontend/src/share.js b/frontend/src/share.js index b813f2201..b45afe180 100644 --- a/frontend/src/share.js +++ b/frontend/src/share.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import "core-js/stable"; import "regenerator-runtime/runtime"; import Api from "common/api"; diff --git a/frontend/src/share/components.js b/frontend/src/share/components.js index 37583e1cc..7cd9e1714 100644 --- a/frontend/src/share/components.js +++ b/frontend/src/share/components.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + import PNotify from "component/p-notify.vue"; import PNavigation from "./p-navigation.vue"; import PLoadingBar from "component/p-loading-bar.vue"; diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index b3033f610..00f5bf61a 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -1,3 +1,33 @@ +/* + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ + const path = require("path"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); diff --git a/internal/api/api.go b/internal/api/api.go index dc0235df8..be6830c27 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -1,9 +1,33 @@ /* -This package contains the PhotoPrism REST api. + +Package api contains PhotoPrism REST API handlers. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package api diff --git a/internal/classify/classify.go b/internal/classify/classify.go index 5aa7b5e5a..908467742 100644 --- a/internal/classify/classify.go +++ b/internal/classify/classify.go @@ -1,9 +1,33 @@ /* -Package classify encapsulates image classification functionnality using TensorFlow + +Package classify encapsulates image classification using TensorFlow. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package classify diff --git a/internal/config/doc.go b/internal/config/doc.go index b1ebd9fb9..ba6508eb7 100644 --- a/internal/config/doc.go +++ b/internal/config/doc.go @@ -1,8 +1,32 @@ /* + Package config contains CLI config related config functionality. -Additional information can be found in our Developer Guide: +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package config diff --git a/internal/config/flags.go b/internal/config/flags.go index 3c24a7e83..08400bc4e 100644 --- a/internal/config/flags.go +++ b/internal/config/flags.go @@ -68,7 +68,7 @@ var GlobalFlags = []cli.Flag{ cli.StringFlag{ Name: "site-caption", Usage: "short caption / tagline", - Value: "Browse your life", + Value: "Browse Your Life", EnvVar: "PHOTOPRISM_SITE_CAPTION", }, cli.StringFlag{ diff --git a/internal/form/form.go b/internal/form/form.go index 2f766dd95..416b6d3e0 100644 --- a/internal/form/form.go +++ b/internal/form/form.go @@ -1,9 +1,33 @@ /* + Package form contains tagged structs for input value validation. -Additional information can be found in our Developer Guide: +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package form diff --git a/internal/maps/maps.go b/internal/maps/maps.go index 86520aa7b..2895c2c13 100644 --- a/internal/maps/maps.go +++ b/internal/maps/maps.go @@ -1,9 +1,33 @@ /* -This package encapsulates the geo location APIs. + +Package maps encapsulates external geolocation APIs. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package maps diff --git a/internal/maps/osm/osm.go b/internal/maps/osm/osm.go index fe086f244..e8936abf6 100644 --- a/internal/maps/osm/osm.go +++ b/internal/maps/osm/osm.go @@ -1,9 +1,33 @@ /* -This package encapsulates the OpenStreetMap API. + +Package osm encapsulates the OpenStreetMap API. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package osm diff --git a/internal/maps/places/places.go b/internal/maps/places/places.go index 86b1250ee..7428241ff 100644 --- a/internal/maps/places/places.go +++ b/internal/maps/places/places.go @@ -1,9 +1,33 @@ /* -This package encapsulates the PhotoPrism Places API. + +Package places encapsulates the PhotoPrism Places geolocation API. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package places diff --git a/internal/meta/meta.go b/internal/meta/meta.go index 4fc510a91..4f8b8a887 100644 --- a/internal/meta/meta.go +++ b/internal/meta/meta.go @@ -1,9 +1,33 @@ /* -This package encapsulates image metadata decoding and conversion to/from XMP and Exif. + +Package meta encapsulates image metadata decoding and conversion to/from XMP and Exif. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package meta diff --git a/internal/nsfw/nsfw.go b/internal/nsfw/nsfw.go index 3dff89327..3669ae44b 100644 --- a/internal/nsfw/nsfw.go +++ b/internal/nsfw/nsfw.go @@ -1,11 +1,34 @@ /* -This package detects images that may not be safe for work. + +Package nsfw uses TensorFlow to detect images that may not be safe for work. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki/Storage */ - package nsfw import ( diff --git a/internal/photoprism/photoprism.go b/internal/photoprism/photoprism.go index 692fcc320..65e7fb045 100644 --- a/internal/photoprism/photoprism.go +++ b/internal/photoprism/photoprism.go @@ -1,9 +1,33 @@ /* -This package contains PhotoPrism core functionality. + +Package photoprism contains PhotoPrism core functionality. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package photoprism diff --git a/internal/query/query.go b/internal/query/query.go index 195951345..ae01d3290 100644 --- a/internal/query/query.go +++ b/internal/query/query.go @@ -1,9 +1,33 @@ /* -This package contains PhotoPrism database queries. + +Package query contains frequently used database queries for use in commands and API. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package query diff --git a/internal/remote/remote.go b/internal/remote/remote.go index 3f348cfa0..6d23d1869 100644 --- a/internal/remote/remote.go +++ b/internal/remote/remote.go @@ -1,12 +1,36 @@ /* -Package remote implements a remote service abstraction. -Additional information can be found in our Developer Guide: - -https://github.com/photoprism/photoprism/wiki +Package remote implements remote service sync and uploads. See also: -- RClone (https://rclone.org/), a popular Go tool for syncing data with remote services + - RClone (https://rclone.org/), a popular Go tool for syncing data with remote services + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + */ package remote diff --git a/internal/remote/webdav/webdav.go b/internal/remote/webdav/webdav.go index f461a95a7..e5d892313 100644 --- a/internal/remote/webdav/webdav.go +++ b/internal/remote/webdav/webdav.go @@ -1,9 +1,33 @@ /* -Package entity implementing sharing with WebDAV servers. + +Package webdav implements sharing with WebDAV servers. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package webdav diff --git a/internal/session/session.go b/internal/session/session.go index a5ae7d2cf..37da64ee5 100644 --- a/internal/session/session.go +++ b/internal/session/session.go @@ -1,9 +1,33 @@ /* -This package encapsulates session storage. + +Package session provides session storage and management. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package session diff --git a/internal/thumb/thumb.go b/internal/thumb/thumb.go index 4fa66bd74..3a6ab8e67 100644 --- a/internal/thumb/thumb.go +++ b/internal/thumb/thumb.go @@ -1,9 +1,33 @@ /* -This package encapsulates JPEG thumbnail generation. + +Package thumb provides JPEG resampling and thumbnail generation. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package thumb diff --git a/internal/video/video.go b/internal/video/video.go index 419c57033..a59367dbf 100644 --- a/internal/video/video.go +++ b/internal/video/video.go @@ -1,9 +1,33 @@ /* -This package contains video related types and functions. + +Package video provides video file related types and functions. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package video diff --git a/pkg/capture/capture.go b/pkg/capture/capture.go index 0df6412b4..e40389c84 100644 --- a/pkg/capture/capture.go +++ b/pkg/capture/capture.go @@ -1,8 +1,32 @@ /* + Package capture provides profiling functions for testing and debugging. -Additional information can be found in our Developer Guide: +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package capture diff --git a/pkg/colors/colors.go b/pkg/colors/colors.go index c7e365687..54b51badd 100644 --- a/pkg/colors/colors.go +++ b/pkg/colors/colors.go @@ -1,9 +1,33 @@ /* + Package colors provides types and functions for color classification. -Additional information can be found in our Developer Guide: +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package colors diff --git a/pkg/fs/fs.go b/pkg/fs/fs.go index 2cc5decf3..3837a175d 100644 --- a/pkg/fs/fs.go +++ b/pkg/fs/fs.go @@ -1,9 +1,33 @@ /* + Package fs provides filesystem related constants and functions. -Additional information can be found in our Developer Guide: +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package fs diff --git a/pkg/pluscode/pluscode.go b/pkg/pluscode/pluscode.go index a16c3de0b..e1b21000c 100644 --- a/pkg/pluscode/pluscode.go +++ b/pkg/pluscode/pluscode.go @@ -1,3 +1,34 @@ +/* + +Package pluscode provides an abstraction for Google's Open Location Code package. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + +Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ + +*/ package pluscode import ( diff --git a/pkg/rnd/rnd.go b/pkg/rnd/rnd.go index c7115ce01..4d56d3de7 100644 --- a/pkg/rnd/rnd.go +++ b/pkg/rnd/rnd.go @@ -1,8 +1,32 @@ /* -Package rnd provides random token functions. + +Package rnd provides random token generation and validation. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package rnd diff --git a/pkg/s2/s2.go b/pkg/s2/s2.go index 37203e34c..c86dd514d 100644 --- a/pkg/s2/s2.go +++ b/pkg/s2/s2.go @@ -1,13 +1,34 @@ /* + Package s2 encapsulates Google's S2 library. +See https://s2geometry.io/ + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. + Additional information can be found in our Developer Guide: - -https://github.com/photoprism/photoprism/wiki - -...and in the Google S2 documentation: - -https://s2geometry.io/ +https://docs.photoprism.org/developer-guide/ */ package s2 diff --git a/pkg/txt/txt.go b/pkg/txt/txt.go index f03e9cc48..4951cbafe 100644 --- a/pkg/txt/txt.go +++ b/pkg/txt/txt.go @@ -1,9 +1,33 @@ /* -Package txt provides text / linguistics related functionality. + +Package txt provides text and linguistics related functionality. + +Copyright (c) 2018 - 2020 Michael Mayer + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + PhotoPrism™ is a registered trademark of Michael Mayer. You may use it as required + to describe our software, run your own server, for educational purposes, but not for + offering commercial goods, products, or services without prior written permission. + In other words, please ask. + +Feel free to send an e-mail to hello@photoprism.org if you have questions, +want to support our work, or just want to say hello. Additional information can be found in our Developer Guide: +https://docs.photoprism.org/developer-guide/ -https://github.com/photoprism/photoprism/wiki */ package txt