Update license infos of source files

This commit is contained in:
Gregor Santner 2016-07-29 14:00:28 +02:00
parent 61bdbaaea9
commit 08d634c7f1
21 changed files with 251 additions and 45 deletions

View File

@ -1,9 +1,20 @@
# v0.1.4 (in progress)
- by @vanitasvitae, @gsantner, @di72nn
- Update license infos of source files
- Localization lint; Translation; Readme
- Add an option to clear WebView cache
- Don't use startActivityForResult on SettingsActivity
- Disable swipe refresh in some parts of the app
- Add "Followed tags" listing
- Share screenshot fix; Minor Aspects rework
- Update to SDK 24 (Android N)
# v0.1.3 (2016-07-04)
- Added titles on top toolbar (by @scoute-dich)
- Made bottom toolbar automatically disappear
- Added option to share images to external app
- Added option to enable proxy (by @vanitasvitae)
- Added french translation (thanks to SansPseudoFix)
- Added french translation (thanks to @SansPseudoFix)
- Added new settings section (by @vanitasvitae)
- Fixed buggy snackbars
- Removed swipe-to-refresh functionality in some places
@ -37,10 +48,10 @@ First version of the organization *Diaspora for Android*
Consists mostly of code from:
- Diaspora-Native-Webapp (by @martinchodev )
- scoutedich additions (by @scoute-dich)
- sangre additions (by @gsantner)
- gsantner additions (by @gsantner)
### v1.3 (scoutedich)
*big thanks to sangre*
*big thanks to gsantner*
- gitignore
- Link to profile
- Move menu actions

View File

@ -10,13 +10,13 @@
This is an unofficial webview based client for the community-run, distributed social network **[Diaspora](https://joindiaspora.com/)**. It's currently under development and should be used with that in mind. Please submit any bugs you might find.
**Notice:** This is the repo of the latest version of the unoffical Diaspora Android App.
- [Download App](https://github.com/Diaspora-for-Android/diaspora-android/releases)
- Download ([F-Droid](https://f-droid.org/repository/browse/?fdid=com.github.dfa.diaspora_android), [Release Archive](https://github.com/Diaspora-for-Android/diaspora-android/releases))
- Watch [Changelog](https://github.com/Diaspora-for-Android/diaspora-android/blob/master/CHANGELOG.md)
- See [Screenshots](https://github.com/Diaspora-for-Android/diaspora-android/blob/master/SCREENSHOTS.md)
## Contributions
We are always open for any kind of contribution. (PR's, bug reports, feature requests, translations, ..)
If you got any questions feel free to join our XMPP/Jabber conference at <a href="xmpp:diaspora-android@conference.jabberhead.tk"> diaspora-android@conference.jabberhead.tk</a> or [Gitter](https://gitter.im/Diaspora-for-Android/diaspora-android).
If you got any questions feel free to join our XMPP/Jabber conference at **diaspora-android@conference.jabberhead.tk** or [Gitter](https://gitter.im/Diaspora-for-Android/diaspora-android).
Note that the main project members are mostly busy with their job/university/school and may not react or start coding immediately.
### License
@ -36,5 +36,5 @@ The minimum version supported is Ice Cream Sandwich, Android v4.0.3 / API 15
It requires access to the Internet and to external storage to be able to upload photos when creating a new post and for taking screenshots.
## Maintainers
- sangre (@gsantner) (<https://sangre.gitlab.io>)
- vanitasvitae (<https://github.com/vanitasvitae>)
- gsantner ([GitHub](https://github.com/gsantner), [Web](https://gsantner.github.io))
- vanitasvitae ([GitHub](https://github.com/vanitasvitae))

View File

@ -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_";

View File

@ -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);
}
}
}

View File

@ -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);
}
}

View File

@ -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);
}
}
}

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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);
}
}

View File

@ -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");
}
}
}

View File

@ -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);
}
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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>&raquo; &nbsp;");

View File

@ -123,7 +123,7 @@
(c) = © ; (r) = ® ; x^2 = x²"</string>
<string name="license_text">&lt;b>Maintainer:&lt;/b>&lt;br>
&#8226; sangre https://sangre.gitlab.io&lt;br>
&#8226; gsantner https://gsantner.github.io&lt;br>
&#8226; vanitasvitae https://github.com/vanitasvitae&lt;br> &lt;br>
This program is free software: you can redistribute it and/or modify

View File

@ -118,7 +118,7 @@
<string name="license_text">&lt;b>Mainteneur :&lt;/b>&lt;br>
&#8226; sangre https://sangre.gitlab.io&lt;br>
&#8226; gsantner https://gsantner.github.io&lt;br>
&#8226; vanitasvitae https://github.com/vanitasvitae&lt;br> &lt;br>
This program is free software: you can redistribute it and/or modify

View File

@ -133,7 +133,7 @@
<string name="license_title" translatable="false">Copyright © 20152016</string>
<string name="license_text">&lt;b>Maintainers:&lt;/b>&lt;br>
&#8226; sangre https://sangre.gitlab.io&lt;br>
&#8226; gsantner https://gsantner.github.io&lt;br>
&#8226; vanitasvitae https://github.com/vanitasvitae&lt;br> &lt;br>
This program is free software: you can redistribute it and/or modify