Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More stuff that would be useful in boards.json #37

Open
6 of 11 tasks
ccd0 opened this issue Feb 3, 2016 · 7 comments
Open
6 of 11 tasks

More stuff that would be useful in boards.json #37

ccd0 opened this issue Feb 3, 2016 · 7 comments

Comments

@ccd0
Copy link

ccd0 commented Feb 3, 2016

Some additional details that could be useful to have in boards.json:

  • maximum and minimum image dimensions
  • maximum webm duration
  • whether audio is allowed
  • supported filetypes (PDF on /tg/, /po/, and /gd/; SWF on /f/)
  • number of replies shown in the index (3 for /b/ and /vg/, 1 for /t/, 5 for others)
  • whether the board is forced anon (like /b/ and /soc/)
  • whether threads require a subject (like /vg/)
  • whether the robot is enabled (like /r9k/)
  • whether images are disallowed in replies (like /news/)
  • other special features (dice on /tg/, oekaki on /i/, fortune on /s4s/)
  • special remarks from beneath the post form
@floens
Copy link

floens commented Mar 7, 2016

floens/ChanTracking@1bf60b5 stuff

@ccd0
Copy link
Author

ccd0 commented Mar 7, 2016

Thanks for the additions, devs.
I assume maximum image dimensions weren't added because it's 10000x10000 (2048x2048 for webms) everywhere?

@desuwa
Copy link
Contributor

desuwa commented Mar 7, 2016

image dimensions

Yes.

We'll add some more data later (special board features, forced anon, subject requirements).

@ccd0
Copy link
Author

ccd0 commented Mar 22, 2016

floens/ChanTracking@c676a92

Thanks. The forced anon one in particular will be useful because it allows generating a reply form correctly (no name field that will get ignored confusing users) without having to examine the reply form on the page.

@zenhitei
Copy link

My suggestion is to add board category and NSFW flag into boards.json.
ex.) /a/ have 'Japanese Culture' category and NSFW: false.

@desuwa
Copy link
Contributor

desuwa commented Oct 27, 2017

The worksafe flag is already there: ws_board, 1 for SFW boards, 0 for NSFW boards.

@zenhitei
Copy link

@desuwa Thank you, I didn't notice the ws_board flag and another ticket for adding categories on boards.json (#33).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants