From b494868f831869a409f2b4bdf52ca29ac0b6b5c2 Mon Sep 17 00:00:00 2001 From: jannis Date: Sun, 8 Dec 2019 13:05:01 +0100 Subject: [PATCH] Update copyright --- .../tadris/fitness/osm/GpsTraceLatLong.java | 19 ++++++++++++++ .../fitness/osm/OAuthAuthentication.java | 19 ++++++++++++++ .../tadris/fitness/osm/OAuthUrlProvider.java | 19 ++++++++++++++ .../tadris/fitness/osm/OsmTraceUploader.java | 25 ++++++++++++++----- .../de/tadris/fitness/util/DialogUtils.java | 19 ++++++++++++++ .../java/de/tadris/fitness/util/gpx/Gpx.java | 19 ++++++++++++++ .../de/tadris/fitness/util/gpx/Metadata.java | 19 ++++++++++++++ .../de/tadris/fitness/util/gpx/Track.java | 19 ++++++++++++++ .../tadris/fitness/util/gpx/TrackPoint.java | 19 ++++++++++++++ .../fitness/util/gpx/TrackPointExtension.java | 19 ++++++++++++++ .../tadris/fitness/util/gpx/TrackSegment.java | 19 ++++++++++++++ .../de/tadris/fitness/util/unit/Imperial.java | 19 ++++++++++++++ .../fitness/util/unit/ImperialWithMeters.java | 19 ++++++++++++++ .../de/tadris/fitness/util/unit/Metric.java | 19 ++++++++++++++ .../fitness/util/unit/MetricPhysical.java | 19 ++++++++++++++ .../de/tadris/fitness/util/unit/Unit.java | 19 ++++++++++++++ .../main/res/drawable-anydpi/ic_add_white.xml | 19 ++++++++++++++ .../res/drawable-anydpi/ic_gps_no_fix.xml | 19 ++++++++++++++ app/src/main/res/layout/dialog_progress.xml | 19 ++++++++++++++ app/src/main/res/layout/dialog_upload_osm.xml | 19 ++++++++++++++ .../main/res/layout/dialog_weight_picker.xml | 19 ++++++++++++++ app/src/main/res/xml/filepaths.xml | 19 ++++++++++++++ .../tadris/fitness/CalorieCalculatorTest.java | 19 ++++++++++++++ settings.gradle | 19 ++++++++++++++ 24 files changed, 456 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/de/tadris/fitness/osm/GpsTraceLatLong.java b/app/src/main/java/de/tadris/fitness/osm/GpsTraceLatLong.java index 2a292ea..a16bff4 100644 --- a/app/src/main/java/de/tadris/fitness/osm/GpsTraceLatLong.java +++ b/app/src/main/java/de/tadris/fitness/osm/GpsTraceLatLong.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.osm; import de.tadris.fitness.data.WorkoutSample; diff --git a/app/src/main/java/de/tadris/fitness/osm/OAuthAuthentication.java b/app/src/main/java/de/tadris/fitness/osm/OAuthAuthentication.java index bde83ff..2150ed6 100644 --- a/app/src/main/java/de/tadris/fitness/osm/OAuthAuthentication.java +++ b/app/src/main/java/de/tadris/fitness/osm/OAuthAuthentication.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.osm; import android.app.Activity; diff --git a/app/src/main/java/de/tadris/fitness/osm/OAuthUrlProvider.java b/app/src/main/java/de/tadris/fitness/osm/OAuthUrlProvider.java index c76d1d2..430c280 100644 --- a/app/src/main/java/de/tadris/fitness/osm/OAuthUrlProvider.java +++ b/app/src/main/java/de/tadris/fitness/osm/OAuthUrlProvider.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.osm; import oauth.signpost.OAuthConsumer; diff --git a/app/src/main/java/de/tadris/fitness/osm/OsmTraceUploader.java b/app/src/main/java/de/tadris/fitness/osm/OsmTraceUploader.java index fc02141..e1b8e54 100644 --- a/app/src/main/java/de/tadris/fitness/osm/OsmTraceUploader.java +++ b/app/src/main/java/de/tadris/fitness/osm/OsmTraceUploader.java @@ -1,17 +1,30 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.osm; import android.app.Activity; -import android.content.Intent; -import android.net.Uri; import android.os.Handler; import android.util.Log; import android.widget.Toast; -import androidx.annotation.StringRes; - -import java.lang.reflect.Array; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collections; import java.util.Date; import java.util.List; diff --git a/app/src/main/java/de/tadris/fitness/util/DialogUtils.java b/app/src/main/java/de/tadris/fitness/util/DialogUtils.java index 9aa8d53..1a45b4b 100644 --- a/app/src/main/java/de/tadris/fitness/util/DialogUtils.java +++ b/app/src/main/java/de/tadris/fitness/util/DialogUtils.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util; import android.app.AlertDialog; diff --git a/app/src/main/java/de/tadris/fitness/util/gpx/Gpx.java b/app/src/main/java/de/tadris/fitness/util/gpx/Gpx.java index fb92f46..3c39f2b 100644 --- a/app/src/main/java/de/tadris/fitness/util/gpx/Gpx.java +++ b/app/src/main/java/de/tadris/fitness/util/gpx/Gpx.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.gpx; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; diff --git a/app/src/main/java/de/tadris/fitness/util/gpx/Metadata.java b/app/src/main/java/de/tadris/fitness/util/gpx/Metadata.java index 93e6bac..8087da6 100644 --- a/app/src/main/java/de/tadris/fitness/util/gpx/Metadata.java +++ b/app/src/main/java/de/tadris/fitness/util/gpx/Metadata.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.gpx; public class Metadata { diff --git a/app/src/main/java/de/tadris/fitness/util/gpx/Track.java b/app/src/main/java/de/tadris/fitness/util/gpx/Track.java index 11f130e..ce9d822 100644 --- a/app/src/main/java/de/tadris/fitness/util/gpx/Track.java +++ b/app/src/main/java/de/tadris/fitness/util/gpx/Track.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.gpx; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; diff --git a/app/src/main/java/de/tadris/fitness/util/gpx/TrackPoint.java b/app/src/main/java/de/tadris/fitness/util/gpx/TrackPoint.java index b9d3031..ba8deac 100644 --- a/app/src/main/java/de/tadris/fitness/util/gpx/TrackPoint.java +++ b/app/src/main/java/de/tadris/fitness/util/gpx/TrackPoint.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.gpx; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; diff --git a/app/src/main/java/de/tadris/fitness/util/gpx/TrackPointExtension.java b/app/src/main/java/de/tadris/fitness/util/gpx/TrackPointExtension.java index 17ddca0..88f3046 100644 --- a/app/src/main/java/de/tadris/fitness/util/gpx/TrackPointExtension.java +++ b/app/src/main/java/de/tadris/fitness/util/gpx/TrackPointExtension.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.gpx; public class TrackPointExtension { diff --git a/app/src/main/java/de/tadris/fitness/util/gpx/TrackSegment.java b/app/src/main/java/de/tadris/fitness/util/gpx/TrackSegment.java index 10605c2..324cb24 100644 --- a/app/src/main/java/de/tadris/fitness/util/gpx/TrackSegment.java +++ b/app/src/main/java/de/tadris/fitness/util/gpx/TrackSegment.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.gpx; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; diff --git a/app/src/main/java/de/tadris/fitness/util/unit/Imperial.java b/app/src/main/java/de/tadris/fitness/util/unit/Imperial.java index f4e3c85..a5f8239 100644 --- a/app/src/main/java/de/tadris/fitness/util/unit/Imperial.java +++ b/app/src/main/java/de/tadris/fitness/util/unit/Imperial.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.unit; public class Imperial implements Unit { diff --git a/app/src/main/java/de/tadris/fitness/util/unit/ImperialWithMeters.java b/app/src/main/java/de/tadris/fitness/util/unit/ImperialWithMeters.java index 406e767..c5b82dc 100644 --- a/app/src/main/java/de/tadris/fitness/util/unit/ImperialWithMeters.java +++ b/app/src/main/java/de/tadris/fitness/util/unit/ImperialWithMeters.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.unit; public class ImperialWithMeters extends Imperial { diff --git a/app/src/main/java/de/tadris/fitness/util/unit/Metric.java b/app/src/main/java/de/tadris/fitness/util/unit/Metric.java index 8dba963..37c7a3b 100644 --- a/app/src/main/java/de/tadris/fitness/util/unit/Metric.java +++ b/app/src/main/java/de/tadris/fitness/util/unit/Metric.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.unit; public class Metric implements Unit{ diff --git a/app/src/main/java/de/tadris/fitness/util/unit/MetricPhysical.java b/app/src/main/java/de/tadris/fitness/util/unit/MetricPhysical.java index af979a4..908526f 100644 --- a/app/src/main/java/de/tadris/fitness/util/unit/MetricPhysical.java +++ b/app/src/main/java/de/tadris/fitness/util/unit/MetricPhysical.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.unit; public class MetricPhysical extends Metric{ diff --git a/app/src/main/java/de/tadris/fitness/util/unit/Unit.java b/app/src/main/java/de/tadris/fitness/util/unit/Unit.java index f0817d0..bbfd5a1 100644 --- a/app/src/main/java/de/tadris/fitness/util/unit/Unit.java +++ b/app/src/main/java/de/tadris/fitness/util/unit/Unit.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness.util.unit; public interface Unit { diff --git a/app/src/main/res/drawable-anydpi/ic_add_white.xml b/app/src/main/res/drawable-anydpi/ic_add_white.xml index 89208a9..fbd7bd1 100644 --- a/app/src/main/res/drawable-anydpi/ic_add_white.xml +++ b/app/src/main/res/drawable-anydpi/ic_add_white.xml @@ -1,3 +1,22 @@ + + + ~ + ~ This file is part of FitoTrack + ~ + ~ FitoTrack is free software: you can redistribute it and/or modify + ~ it under the terms of the GNU General Public License as published by + ~ the Free Software Foundation, either version 3 of the License, or + ~ (at your option) any later version. + ~ + ~ FitoTrack 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 General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License + ~ along with this program. If not, see . + --> + + + + + + + diff --git a/app/src/main/res/xml/filepaths.xml b/app/src/main/res/xml/filepaths.xml index b31e1c3..31ab022 100644 --- a/app/src/main/res/xml/filepaths.xml +++ b/app/src/main/res/xml/filepaths.xml @@ -1,4 +1,23 @@ + + \ No newline at end of file diff --git a/app/src/test/java/de/tadris/fitness/CalorieCalculatorTest.java b/app/src/test/java/de/tadris/fitness/CalorieCalculatorTest.java index 4c40451..5b91824 100644 --- a/app/src/test/java/de/tadris/fitness/CalorieCalculatorTest.java +++ b/app/src/test/java/de/tadris/fitness/CalorieCalculatorTest.java @@ -1,3 +1,22 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package de.tadris.fitness; import org.junit.Assert; diff --git a/settings.gradle b/settings.gradle index e7b4def..4a6ab16 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,20 @@ +/* + * Copyright (c) 2019 Jannis Scheibe + * + * This file is part of FitoTrack + * + * FitoTrack is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * FitoTrack 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + include ':app'