Git Product home page Git Product logo

dashchan-extensions's Introduction

Dashchan Extensions

This repositories contains supported extensions.

Old extensions are placed under their own specific branch. It's planned to move them all into master branch.

Building Guide

  1. Install JDK 8 or higher
  2. Install Android SDK, define ANDROID_HOME environment variable or set sdk.dir in local.properties
  3. Run ./gradlew :extensions:%CHAN_NAME%:assembleRelease

The resulting APK file will appear in extensions/%CHAN_NAME%/build/outputs/apk directory.

Build Signed Binary

You can create keystore.properties in the source code directory with the following properties:

store.file=%PATH_TO_KEYSTORE_FILE%
store.password=%KEYSTORE_PASSWORD%
key.alias=%KEY_ALIAS%
key.password=%KEY_PASSWORD%

License

Extensions are available under the GNU General Public License, version 3 or later.

dashchan-extensions's People

Contributors

mishiranu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dashchan-extensions's Issues

I've written an extension, how can I get it merged?

The extension is here, and it implements the API that's been documented here

I've tested it on my phone and an emulator, and given out the initial release to a few other people to test, and other than a few small things it's good to go. However, github won't let me make a pull request because it's not a fork of this repository.

Can I just give you a diff? Should I fork Dashchan-Extensions/fourchan again and rebase my changes, then make a new pull request?

Thanks in advance

New extension: moechannel (2channel.moe)

Некоторое время назад кто-то из посетителей 2channel.moe написал для него модуль, используя базу от расширения двача. Позже он выложил diff со своими изменениями.
Я форкнул 1a5d9fb и применил дифф в новой ветке moechannel, отредактировав от себя только README.md

Как теперь отправить пулл реквест в этот репозиторий? Гитхаб не даёт мне указать новый бранч, а официальная документация гласит, что для этого мне нужны права на запись в аппстрим.

PS: спасибо, что живой!

Верните brchan.org назад

Lolifox не является brchan.org. Это борда-клон и никакого отношения к настоящей, бразильской борде не имеет. Прошу в daschan for brchan вернуть старый адрес брчана и починить капчу.

Can you please add kohlchan extension?

It's pretty much replacing krautchan right now. I love your app but without kohlchan support it's quite useless for me. It's a quite fast board and I'm pretty sure there will be more people using it.

Проблемы с reCAPTCHA 2.0

Не знаю относится ли это к работе с рекапчей в самом дашчане или проблема модуля(horochan).
При запросе капчи все ок, выбираю изображения, жму ОК и через некоторое время всплывает "Ошибка при загрузке данных" т.е до отправки поста дело не доходит.
Подебажить на устройстве пока не могу, но если поможет оно на ведре 4.1.1
Да и еще. В API хорочана теперь есть значение captchaEnabled: bool которое присутствует в /boards и /threads

The extension is not showing in the app

I've modified the build.gradle of twentyseven extension a little bit to get compiled in nowadays and I got it working, bur for my extension it self, for reason, didn't worked. The extension compiles and install but it didn't show up in the app. The IB uses the sames fork of vichan as twentyseven (brazukachan).

#nulldvachin

I suck at intros..

В общем, если файл загружен на pomf.cat, то src получается вида
//a.pomf.cat/plapla.webm (линк без протокола)
и в итоге аппендится к домену борды.
В массиве файла есть ключ external_upload (1/0), можно по нему проверять, и не аппендить линк или добавлять к нему протокол (e.g. "https:" + //a.pomf.cat/plapla.webm).

Еще в апи пару новых фич добавила
Удаление постов теперь может отдавать json, параметр ajax=1 в запрос

{
   "error" : {
      "1325" : "Неверный пароль для удаления.",
      "1327" : "Неверный пароль для удаления.",
      "1292" : "Неверный пароль для удаления.",
      "766" : "Неверный пароль для удаления."
   },
   "error_code" : 200
}

При успешном удалении вернет
{ "redir" : "/b/thread/num" }
или если был удален тред
{ "redir" : "/b/" }

Еще желательно добавлять параметр parent с номером треда к delete task, если пост из треда удаляется, чтобы правильный редирект был.

Список борд теперь можно забирать по /board/api/getboards

Алсо, теги sup/sub в разметку можно добавить и инпут no_pomf (не грузить файлы на внешний сервер) в форму отправки (если не сложно).

Support for lainchan.jp

Hi, could you please make an extension for lainchan.jp?
I tried compiling myself, but even a fresh pull from git fails with

src/com/mishiranu/dashchan/chan/lainchan/LainchanBoardsParser.java:39: error: TemplateParser() is not public in TemplateParser; cannot be accessed from outside package
        private static final TemplateParser<LainchanBoardsParser> PARSER = new TemplateParser<LainchanBoardsParser>()
                                                                           ^
src/com/mishiranu/dashchan/chan/lainchan/LainchanBoardsParser.java:40: error: method equals in class Object cannot be applied to given types;
                        .equals("div", "class", "boardlist").open((i, holder, t, a) -> !(holder.boardListParsing = true))
                        ^
  required: Object
  found: String,String,String
  reason: actual and formal argument lists differ in length
src/com/mishiranu/dashchan/chan/lainchan/LainchanBoardsParser.java:42: error: illegal start of type
                if (holder.boardListParsing) {
                   ^
8 errors
:compileReleaseJavaWithJavac FAILED
:compileRetrolambdaRelease

FAILURE: Build failed with an exception.

DashChan Endchan

For the endchan.xyz images are not displaying please update and fix thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.