mirror of https://github.com/kurisufriend/Clover
commit
955b853725
@ -0,0 +1,51 @@ |
|||||||
|
/* |
||||||
|
* Clover - 4chan browser https://github.com/Floens/Clover/
|
||||||
|
* Copyright (C) 2014 Floens |
||||||
|
* |
||||||
|
* This program 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. |
||||||
|
* |
||||||
|
* 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 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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/ |
||||||
|
package org.floens.chan.core.site; |
||||||
|
|
||||||
|
import org.floens.chan.core.settings.OptionsSetting; |
||||||
|
import org.floens.chan.core.settings.Setting; |
||||||
|
|
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
/** |
||||||
|
* Hacky stuff to give the site settings a good UI. |
||||||
|
*/ |
||||||
|
public class SiteSetting { |
||||||
|
public enum Type { |
||||||
|
OPTIONS |
||||||
|
} |
||||||
|
|
||||||
|
public final String name; |
||||||
|
public final Type type; |
||||||
|
public final Setting<?> setting; |
||||||
|
|
||||||
|
public List<String> optionNames; |
||||||
|
|
||||||
|
private SiteSetting(String name, Type type, Setting<?> setting) { |
||||||
|
this.name = name; |
||||||
|
this.type = type; |
||||||
|
this.setting = setting; |
||||||
|
} |
||||||
|
|
||||||
|
public static SiteSetting forOption(OptionsSetting<?> options, String name, |
||||||
|
List<String> optionNames) { |
||||||
|
SiteSetting setting = new SiteSetting(name, Type.OPTIONS, options); |
||||||
|
setting.optionNames = optionNames; |
||||||
|
return setting; |
||||||
|
} |
||||||
|
} |
@ -1,33 +1,31 @@ |
|||||||
# Clover - 4chan browser for Android |
# Clover - imageboard browser for Android |
||||||
|
|
||||||
Clover is a fast Android app for browsing [4chan](https://www.4chan.org/). |
[](https://travis-ci.org/Floens/Clover) |
||||||
Clover adds inline replying, thread watching, notifications, themes, pass support, filters and a whole lot more. Clover is licensed under the GPL and will always be free. |
[](https://crowdin.com/project/clover) |
||||||
|
|
||||||
[Join the Slack!](https://join.slack.com/t/uchan/shared_invite/enQtMjkyOTM3NDczNTcxLTNkMzljNDUyNjkzNjEwOTNkZTljZWQ3ZDNmNWUyMTY2YTAwNzBhNmI3YTg1YmNjMDQxZTgzMTM2YzE2YzRhMGI) |
[Website](http://floens.github.io/Clover/) |
||||||
[IRC](https://webchat.freenode.net/?url=irc:///#Clover) |
[APK releases](https://floens.github.io/Clover/#releases) | [Development APK releases](https://floens.github.io/Clover/#dev) | [F-Droid](https://floens.github.io/Clover/#fdroid) |
||||||
[Clover website](http://floens.github.io/Clover/) |
[Telegram](https://t.me/cloverapp) | [Slack](https://join.slack.com/t/uchan/shared_invite/enQtMjkyOTM3NDczNTcxLTNkMzljNDUyNjkzNjEwOTNkZTljZWQ3ZDNmNWUyMTY2YTAwNzBhNmI3YTg1YmNjMDQxZTgzMTM2YzE2YzRhMGI) | [IRC](https://webchat.freenode.net/?url=irc:///#Clover) |
||||||
[Clover dev builds](https://floens.github.io/Clover/#dev) |
|
||||||
[F-Droid](https://floens.github.io/Clover/#fdroid) |
|
||||||
[APK releases](https://floens.github.io/Clover/#releases) |
|
||||||
[Donate](https://floens.github.io/Clover/#donate) |
[Donate](https://floens.github.io/Clover/#donate) |
||||||
|
|
||||||
|
Clover is a fast Android app for browsing imageboards, such as 4chan and 8chan. It adds inline replying, thread watching, notifications, themes, pass support, filters and a whole lot more. Clover is licensed under the GPL and will always be free. |
||||||
|
|
||||||
## Issues and features |
## Issues and features |
||||||
Issues can be reported at the [Slack](https://join.slack.com/t/uchan/shared_invite/enQtMjkyOTM3NDczNTcxLTNkMzljNDUyNjkzNjEwOTNkZTljZWQ3ZDNmNWUyMTY2YTAwNzBhNmI3YTg1YmNjMDQxZTgzMTM2YzE2YzRhMGI) or here at the [Github Issues page](https://github.com/Floens/Clover/issues). Please search before reporting an issue to avoid duplicates! |
Issues can be reported at one of the contact places noted above or here at the [Issues page](https://github.com/Floens/Clover/issues). Please search before reporting an issue to avoid duplicates! |
||||||
|
|
||||||
Also take a look at the [Trello board](https://trello.com/b/V6gclKvM/clover) to see if your issue or feature has already been considered. |
|
||||||
|
|
||||||
|
|
||||||
## Contributing |
## Contributing |
||||||
Contributing to Clover is appreciated, there's always stuff to do or bugs to fix. I keep the todo list of Clover at the |
For first-time contributors, the issues with the label [good first issue](https://github.com/Floens/Clover/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) are a great place to start. |
||||||
[Clover Trello board](https://trello.com/b/V6gclKvM/clover). |
|
||||||
[Make a new theme](https://github.com/Floens/Clover/wiki/Adding-a-new-theme) |
|
||||||
|
|
||||||
|
|
||||||
## Building Clover |
|
||||||
See the [Clover setup guide](https://github.com/Floens/Clover/wiki/Building-Clover) for a guide on building Clover. |
See the [Clover setup guide](https://github.com/Floens/Clover/wiki/Building-Clover) for a guide on building Clover. |
||||||
|
|
||||||
|
We have a spacial guide for [making new themes](https://github.com/Floens/Clover/wiki/Adding-a-new-theme) |
||||||
|
|
||||||
|
|
||||||
|
## Translations |
||||||
|
We use crowdin for crowdsourcing translations of the English strings to other languages. |
||||||
|
[Help us with translating at crowdin.com here](https://crowdin.com/project/clover) |
||||||
|
|
||||||
|
|
||||||
## License |
## License |
||||||
* Clover is [GPLv3](https://github.com/Floens/Clover/blob/master/COPYING.txt) |
Clover is [GPLv3](https://github.com/Floens/Clover/blob/master/COPYING.txt), [licenses of the used libraries](https://github.com/Floens/Clover/blob/dev/Clover/app/src/main/assets/html/licenses.html). |
||||||
* [Licenses of the used libraries](https://github.com/Floens/Clover/blob/dev/Clover/app/src/main/assets/html/licenses.html). |
|
||||||
|
Loading…
Reference in new issue