mishiranu / dashchan-extensions Goto Github PK
View Code? Open in Web Editor NEWDashchan extensions
License: GNU General Public License v3.0
Dashchan extensions
License: GNU General Public License v3.0
Example of a native board:
https://desuarchive.org/meta/
Ghost posting can be seen in any thread on https://desuarchive.org/a/ at the bottom.
APIs are documented on https://4plebs.tech/foolfuuka/ . Most sites also support the 4plebs "specific" format. This can be tested with a https://boards.4tan.org/_/api/chan/site/ API call.
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
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 (не грузить файлы на внешний сервер) в форму отправки (если не сложно).
Некоторое время назад кто-то из посетителей 2channel.moe написал для него модуль, используя базу от расширения двача. Позже он выложил diff со своими изменениями.
Я форкнул 1a5d9fb и применил дифф в новой ветке moechannel, отредактировав от себя только README.md
Как теперь отправить пулл реквест в этот репозиторий? Гитхаб не даёт мне указать новый бранч, а официальная документация гласит, что для этого мне нужны права на запись в аппстрим.
PS: спасибо, что живой!
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.
I managed to create an extension supporting 27chan.org. It is a direct fork from lainchan's.
I'd humbly like to ask you to create a branch for it, so I can pull request, or even copy the code from my repo, I don't really care about that. And, of course, to release it.
Link to the fork: https://github.com/4lch3-m1st/Dashchan-Extensions/tree/twentyseven
Не знаю относится ли это к работе с рекапчей в самом дашчане или проблема модуля(horochan).
При запросе капчи все ок, выбираю изображения, жму ОК и через некоторое время всплывает "Ошибка при загрузке данных" т.е до отправки поста дело не доходит.
Подебажить на устройстве пока не могу, но если поможет оно на ведре 4.1.1
Да и еще. В API хорочана теперь есть значение captchaEnabled: bool
которое присутствует в /boards и /threads
For the endchan.xyz images are not displaying please update and fix thanks
i can't do it 😭
Lolifox не является brchan.org. Это борда-клон и никакого отношения к настоящей, бразильской борде не имеет. Прошу в daschan for brchan вернуть старый адрес брчана и починить капчу.
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.
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).
Wouldn't really be able to post but being read only is fine too.
would be nice to browse http://fchan.us/ in the app
I can give any advice
what the title says. 8chan doesnt want me to enter captcha
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.