1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-06-17 09:04:55 +02:00

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) # v0.1.3 (2016-07-04)
- Added titles on top toolbar (by @scoute-dich) - Added titles on top toolbar (by @scoute-dich)
- Made bottom toolbar automatically disappear - Made bottom toolbar automatically disappear
- Added option to share images to external app - Added option to share images to external app
- Added option to enable proxy (by @vanitasvitae) - 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) - Added new settings section (by @vanitasvitae)
- Fixed buggy snackbars - Fixed buggy snackbars
- Removed swipe-to-refresh functionality in some places - 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: Consists mostly of code from:
- Diaspora-Native-Webapp (by @martinchodev ) - Diaspora-Native-Webapp (by @martinchodev )
- scoutedich additions (by @scoute-dich) - scoutedich additions (by @scoute-dich)
- sangre additions (by @gsantner) - gsantner additions (by @gsantner)
### v1.3 (scoutedich) ### v1.3 (scoutedich)
*big thanks to sangre* *big thanks to gsantner*
- gitignore - gitignore
- Link to profile - Link to profile
- Move menu actions - 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. 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. **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) - 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) - See [Screenshots](https://github.com/Diaspora-for-Android/diaspora-android/blob/master/SCREENSHOTS.md)
## Contributions ## Contributions
We are always open for any kind of contribution. (PR's, bug reports, feature requests, translations, ..) 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. Note that the main project members are mostly busy with their job/university/school and may not react or start coding immediately.
### License ### 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. 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 ## Maintainers
- sangre (@gsantner) (<https://sangre.gitlab.io>) - gsantner ([GitHub](https://github.com/gsantner), [Web](https://gsantner.github.io))
- vanitasvitae (<https://github.com/vanitasvitae>) - 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; package com.github.dfa.diaspora_android;
import android.app.Application; 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.data.PodUserProfile;
import com.github.dfa.diaspora_android.util.AvatarImageLoader; import com.github.dfa.diaspora_android.util.AvatarImageLoader;
/**
* Created by gregor on 24.03.16.
*/
public class App extends Application { public class App extends Application {
public static final String TAG = "DIASPORA_"; public static final String TAG = "DIASPORA_";

View file

@ -16,7 +16,6 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package com.github.dfa.diaspora_android.activity; package com.github.dfa.diaspora_android.activity;
import android.Manifest; import android.Manifest;
@ -1060,4 +1059,4 @@ public class MainActivity extends AppCompatActivity
mgr.set(AlarmManager.RTC, System.currentTimeMillis() + 100, pendingIntent); mgr.set(AlarmManager.RTC, System.currentTimeMillis() + 100, pendingIntent);
System.exit(0); System.exit(0);
} }
} }

View file

@ -16,7 +16,6 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package com.github.dfa.diaspora_android.activity; package com.github.dfa.diaspora_android.activity;
import android.app.AlertDialog; import android.app.AlertDialog;
@ -246,5 +245,3 @@ public class PodSelectionActivity extends AppCompatActivity {
return super.onOptionsItemSelected(item); 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; package com.github.dfa.diaspora_android.activity;
import android.app.AlertDialog; import android.app.AlertDialog;
@ -108,4 +126,4 @@ public class SettingsActivity extends PreferenceActivity implements SharedPrefer
} }
return super.onPreferenceTreeClick(screen, preference); 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; package com.github.dfa.diaspora_android.data;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
@ -5,7 +23,7 @@ import android.content.Context;
import android.content.SharedPreferences; 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 { public class AppSettings {
private final SharedPreferences prefApp; 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; package com.github.dfa.diaspora_android.data;
import com.github.dfa.diaspora_android.App; import com.github.dfa.diaspora_android.App;
@ -7,9 +25,6 @@ import org.json.JSONObject;
import java.util.Locale; import java.util.Locale;
/**
* Created by gregor on 05.06.16.
*/
public class PodAspect { public class PodAspect {
public long id; public long id;
public String name; 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; package com.github.dfa.diaspora_android.data;
import android.os.Handler; import android.os.Handler;
@ -11,7 +29,7 @@ import org.json.JSONException;
import org.json.JSONObject; 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 { public class PodUserProfile {
private static final int MINIMUM_WEBUSERPROFILE_LOAD_TIMEDIFF = 5000; 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; 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 { public interface WebUserProfileChangedListener {
void onUserProfileNameChanged(String name); void onUserProfileNameChanged(String name);
@ -11,4 +29,4 @@ public interface WebUserProfileChangedListener {
void onNotificationCountChanged(int notificationCount); void onNotificationCountChanged(int notificationCount);
void onUnreadMessageCountChanged(int unreadMessageCount); void onUnreadMessageCountChanged(int unreadMessageCount);
} }

View file

@ -16,7 +16,6 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package com.github.dfa.diaspora_android.task; package com.github.dfa.diaspora_android.task;
import android.app.Service; import android.app.Service;
@ -138,4 +137,4 @@ public class GetPodsService extends Service {
throw new UnsupportedOperationException("Not yet implemented"); 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; package com.github.dfa.diaspora_android.task;
import android.graphics.Bitmap; 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 * 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> { public class ImageDownloadTask extends AsyncTask<String, Void, Bitmap> {
ImageView imageView; ImageView imageView;
@ -78,4 +96,4 @@ public class ImageDownloadTask extends AsyncTask<String, Void, Bitmap> {
imageView.setImageBitmap(result); 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; package com.github.dfa.diaspora_android.task;
import android.content.Context; import android.content.Context;
@ -20,7 +38,6 @@ import info.guardianproject.netcipher.NetCipher;
/** /**
* AsyncTask to fetch a users profile * AsyncTask to fetch a users profile
* Created by Gregor Santner (sangre) on 30.03.16.
*/ */
public class ProfileFetchTask extends AsyncTask<Void, Void, Void> { public class ProfileFetchTask extends AsyncTask<Void, Void, Void> {
// Code for getting the profile async without any UI/WebView // Code for getting the profile async without any UI/WebView
@ -86,4 +103,4 @@ public class ProfileFetchTask extends AsyncTask<Void, Void, Void> {
return null; 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; package com.github.dfa.diaspora_android.ui;
import android.Manifest; import android.Manifest;
@ -173,4 +191,4 @@ public class ContextMenuWebView extends NestedWebView {
public void setParentActivity(Activity activity) { public void setParentActivity(Activity activity) {
this.parentActivity = 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; package com.github.dfa.diaspora_android.ui;
import android.content.Intent; import android.content.Intent;
@ -10,9 +28,6 @@ import android.webkit.WebViewClient;
import com.github.dfa.diaspora_android.App; import com.github.dfa.diaspora_android.App;
/**
* Created by Gregor Santner (sangre) on 04.06.16.
*/
public class CustomWebViewClient extends WebViewClient { public class CustomWebViewClient extends WebViewClient {
private App app; private App app;
private SwipeRefreshLayout swipeRefreshLayout; 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.
/** Diaspora for Android is free software: you can redistribute it and/or modify
* Created by juergen on 29.02.16. Part of Diaspora for Android. 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.content.Context;
import android.support.design.widget.CoordinatorLayout; 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; package com.github.dfa.diaspora_android.util;
import android.content.Context; import android.content.Context;
@ -9,9 +28,6 @@ import com.github.dfa.diaspora_android.task.ImageDownloadTask;
import java.io.File; import java.io.File;
/**
* Created by Gregor Santner (sangre) on 24.03.16.
*/
public class AvatarImageLoader { public class AvatarImageLoader {
private File avatarFile; private File avatarFile;

View file

@ -16,10 +16,9 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package com.github.dfa.diaspora_android.util; package com.github.dfa.diaspora_android.util;
import android.app.Activity; import android.app.Activity;
import android.content.Context; import android.content.Context;
import android.content.Intent; import android.content.Intent;
@ -112,7 +111,7 @@ public class Helpers {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append("<html><body style='margin-top: 25px; margin-left:auto;margin-right:auto; font-size: 400%;'>"); sb.append("<html><body style='margin-top: 25px; margin-left:auto;margin-right:auto; font-size: 400%;'>");
// Content // Content
for (PodAspect aspect : profile.getAspects()) { for (PodAspect aspect : profile.getAspects()) {
sb.append("<span style='margin-left: 30px; '></span>&raquo; &nbsp;"); sb.append("<span style='margin-left: 30px; '></span>&raquo; &nbsp;");

View file

@ -123,7 +123,7 @@
(c) = © ; (r) = ® ; x^2 = x²"</string> (c) = © ; (r) = ® ; x^2 = x²"</string>
<string name="license_text">&lt;b>Maintainer:&lt;/b>&lt;br> <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> &#8226; vanitasvitae https://github.com/vanitasvitae&lt;br> &lt;br>
This program is free software: you can redistribute it and/or modify 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> <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> &#8226; vanitasvitae https://github.com/vanitasvitae&lt;br> &lt;br>
This program is free software: you can redistribute it and/or modify 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_title" translatable="false">Copyright © 20152016</string>
<string name="license_text">&lt;b>Maintainers:&lt;/b>&lt;br> <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> &#8226; vanitasvitae https://github.com/vanitasvitae&lt;br> &lt;br>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify