mirror of
https://github.com/gsantner/dandelion
synced 2025-09-09 18:29:47 +02:00
Update license infos of source files
This commit is contained in:
parent
61bdbaaea9
commit
08d634c7f1
21 changed files with 251 additions and 45 deletions
|
@ -1,3 +1,22 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.github.dfa.diaspora_android;
|
||||
|
||||
import android.app.Application;
|
||||
|
@ -12,9 +31,6 @@ import com.github.dfa.diaspora_android.data.AppSettings;
|
|||
import com.github.dfa.diaspora_android.data.PodUserProfile;
|
||||
import com.github.dfa.diaspora_android.util.AvatarImageLoader;
|
||||
|
||||
/**
|
||||
* Created by gregor on 24.03.16.
|
||||
*/
|
||||
public class App extends Application {
|
||||
public static final String TAG = "DIASPORA_";
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.github.dfa.diaspora_android.activity;
|
||||
|
||||
import android.Manifest;
|
||||
|
@ -1060,4 +1059,4 @@ public class MainActivity extends AppCompatActivity
|
|||
mgr.set(AlarmManager.RTC, System.currentTimeMillis() + 100, pendingIntent);
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.github.dfa.diaspora_android.activity;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
|
@ -246,5 +245,3 @@ public class PodSelectionActivity extends AppCompatActivity {
|
|||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.activity;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
|
@ -108,4 +126,4 @@ public class SettingsActivity extends PreferenceActivity implements SharedPrefer
|
|||
}
|
||||
return super.onPreferenceTreeClick(screen, preference);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.data;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
|
@ -5,7 +23,7 @@ import android.content.Context;
|
|||
import android.content.SharedPreferences;
|
||||
|
||||
/**
|
||||
* Created by sangre on 20.03.16. Part of Diaspora for Android.
|
||||
* Created by gsantner (https://gsantner.github.io/) on 20.03.16. Part of Diaspora for Android.
|
||||
*/
|
||||
public class AppSettings {
|
||||
private final SharedPreferences prefApp;
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.data;
|
||||
|
||||
import com.github.dfa.diaspora_android.App;
|
||||
|
@ -7,9 +25,6 @@ import org.json.JSONObject;
|
|||
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* Created by gregor on 05.06.16.
|
||||
*/
|
||||
public class PodAspect {
|
||||
public long id;
|
||||
public String name;
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.data;
|
||||
|
||||
import android.os.Handler;
|
||||
|
@ -11,7 +29,7 @@ import org.json.JSONException;
|
|||
import org.json.JSONObject;
|
||||
|
||||
/**
|
||||
* Created by sangre on 24.03.16. Part of Diaspora for Android.
|
||||
* Created by gsantner (https://gsantner.github.io/) on 24.03.16. Part of Diaspora for Android.
|
||||
*/
|
||||
public class PodUserProfile {
|
||||
private static final int MINIMUM_WEBUSERPROFILE_LOAD_TIMEDIFF = 5000;
|
||||
|
|
|
@ -1,7 +1,25 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.listener;
|
||||
|
||||
/**
|
||||
* Created by Gregor Santner (sangre) on 26.03.16.
|
||||
* Created by gsantner (https://gsantner.github.io/) on 26.03.16.
|
||||
*/
|
||||
public interface WebUserProfileChangedListener {
|
||||
void onUserProfileNameChanged(String name);
|
||||
|
@ -11,4 +29,4 @@ public interface WebUserProfileChangedListener {
|
|||
void onNotificationCountChanged(int notificationCount);
|
||||
|
||||
void onUnreadMessageCountChanged(int unreadMessageCount);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.github.dfa.diaspora_android.task;
|
||||
|
||||
import android.app.Service;
|
||||
|
@ -138,4 +137,4 @@ public class GetPodsService extends Service {
|
|||
throw new UnsupportedOperationException("Not yet implemented");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.task;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
|
@ -19,7 +37,7 @@ import info.guardianproject.netcipher.NetCipher;
|
|||
|
||||
/**
|
||||
* Task that can be used to download images from URLs and store them in storage
|
||||
* Created by Gregor Santner (sangre) on 24.03.16.
|
||||
* Created by gsantner (https://gsantner.github.io/) on 24.03.16.
|
||||
*/
|
||||
public class ImageDownloadTask extends AsyncTask<String, Void, Bitmap> {
|
||||
ImageView imageView;
|
||||
|
@ -78,4 +96,4 @@ public class ImageDownloadTask extends AsyncTask<String, Void, Bitmap> {
|
|||
imageView.setImageBitmap(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.task;
|
||||
|
||||
import android.content.Context;
|
||||
|
@ -20,7 +38,6 @@ import info.guardianproject.netcipher.NetCipher;
|
|||
|
||||
/**
|
||||
* AsyncTask to fetch a users profile
|
||||
* Created by Gregor Santner (sangre) on 30.03.16.
|
||||
*/
|
||||
public class ProfileFetchTask extends AsyncTask<Void, Void, Void> {
|
||||
// Code for getting the profile async without any UI/WebView
|
||||
|
@ -86,4 +103,4 @@ public class ProfileFetchTask extends AsyncTask<Void, Void, Void> {
|
|||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.ui;
|
||||
|
||||
import android.Manifest;
|
||||
|
@ -173,4 +191,4 @@ public class ContextMenuWebView extends NestedWebView {
|
|||
public void setParentActivity(Activity activity) {
|
||||
this.parentActivity = activity;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.ui;
|
||||
|
||||
import android.content.Intent;
|
||||
|
@ -10,9 +28,6 @@ import android.webkit.WebViewClient;
|
|||
|
||||
import com.github.dfa.diaspora_android.App;
|
||||
|
||||
/**
|
||||
* Created by Gregor Santner (sangre) on 04.06.16.
|
||||
*/
|
||||
public class CustomWebViewClient extends WebViewClient {
|
||||
private App app;
|
||||
private SwipeRefreshLayout swipeRefreshLayout;
|
||||
|
|
|
@ -1,8 +1,22 @@
|
|||
package com.github.dfa.diaspora_android.ui;
|
||||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
/**
|
||||
* Created by juergen on 29.02.16. Part of Diaspora for Android.
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.github.dfa.diaspora_android.ui;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.design.widget.CoordinatorLayout;
|
||||
|
|
|
@ -1,3 +1,22 @@
|
|||
/*
|
||||
This file is part of the Diaspora for Android.
|
||||
|
||||
Diaspora for Android 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.
|
||||
|
||||
Diaspora for Android 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 the Diaspora for Android.
|
||||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.github.dfa.diaspora_android.util;
|
||||
|
||||
import android.content.Context;
|
||||
|
@ -9,9 +28,6 @@ import com.github.dfa.diaspora_android.task.ImageDownloadTask;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* Created by Gregor Santner (sangre) on 24.03.16.
|
||||
*/
|
||||
public class AvatarImageLoader {
|
||||
private File avatarFile;
|
||||
|
||||
|
|
|
@ -16,10 +16,9 @@
|
|||
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
package com.github.dfa.diaspora_android.util;
|
||||
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
@ -112,7 +111,7 @@ public class Helpers {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.append("<html><body style='margin-top: 25px; margin-left:auto;margin-right:auto; font-size: 400%;'>");
|
||||
|
||||
|
||||
// Content
|
||||
for (PodAspect aspect : profile.getAspects()) {
|
||||
sb.append("<span style='margin-left: 30px; '></span>» ");
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
(c) = © ; (r) = ® ; x^2 = x²"</string>
|
||||
<string name="license_text"><b>Maintainer:</b><br>
|
||||
|
||||
• sangre https://sangre.gitlab.io<br>
|
||||
• gsantner https://gsantner.github.io<br>
|
||||
• vanitasvitae https://github.com/vanitasvitae<br> <br>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
|
||||
<string name="license_text"><b>Mainteneur :</b><br>
|
||||
|
||||
• sangre https://sangre.gitlab.io<br>
|
||||
• gsantner https://gsantner.github.io<br>
|
||||
• vanitasvitae https://github.com/vanitasvitae<br> <br>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
<string name="license_title" translatable="false">Copyright © 2015–2016</string>
|
||||
<string name="license_text"><b>Maintainers:</b><br>
|
||||
|
||||
• sangre https://sangre.gitlab.io<br>
|
||||
• gsantner https://gsantner.github.io<br>
|
||||
• vanitasvitae https://github.com/vanitasvitae<br> <br>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue