Commit Graph

822 Commits

Author SHA1 Message Date
PupperWoff
5419f49259 Added Functionality - Users can now post from catalog page
Fix multi-image.js is a few commits later
2022-03-01 09:50:24 -01:00
Equus
f83196aeca Add thread state indicators in the catalog (stickied, locked, cyclical, bumplocked) 2022-03-01 09:50:24 -01:00
fallenPineapple
7d8432d5f0 Implementing Warning System to Issue Warnings for Posts
Auto-tagging was omitted as warnings are visible anyway.
Co-Authored-By: Discomrade <nice@try.fbi>
2022-03-01 09:50:24 -01:00
fallenPineapple
8b8828ae3b Show ban appeal count
Thank you PupperWof
2022-03-01 09:50:24 -01:00
fallenPineapple
c8821a3dec Add moderation tools for file banning
Thank you PupperWof
2022-03-01 09:50:24 -01:00
fallenPineapple
9c099e2f87 More button fixes 2022-03-01 09:50:24 -01:00
fallenPineapple
990c6abbde More thread nav button changes. 2022-03-01 09:50:08 -01:00
fallenPineapple
3a8c881938 Added/Moved Go to Top, Bottom, and Catalog buttons. 2022-03-01 09:48:01 -01:00
fallenPineapple
2bfc909dda Added Character Counter
Shows the user how many characters are left before hitting the max per
post. Currently does not work in Quick Reply.
2022-03-01 09:48:01 -01:00
Benjamin Southall
b54d414bc4 Implemented mods can't access random from dashboard #88. Please note this doesn't use mod custom_pages functionality provided by vichan (because the that only works if your overboard has name that doesn't look like other boards), and requires ['overboards'] to be set as an array of board uri's which are overboards, with the correct values for type (theme type e.g. ukko, rand or semirand) title, subtitle, thread_limit and exclude in array of for each board uri 2022-03-01 09:48:01 -01:00
Benjamin Southall
f3b833a3de Adding support for multiple file upload using URLs
Previously only one URL was supported.
2022-03-01 09:48:01 -01:00
Benjamin Southall
109b444730 Initial implementation of Thread stats for mods #33, Implemented using Twig without persistent storage, and display at end of thread. 2022-03-01 09:48:01 -01:00
Benjamin Southall
0aba30a888 Force file link from file information to always open in a new tab. 2022-03-01 09:48:01 -01:00
Benjamin Southall
b8b7380da0 Add support for catalog.json and threads.json to ukko theme. 2022-03-01 09:48:01 -01:00
Benjamin Southall
d25d6ee8b8 Add JSON API to Ukko Overboard Theme 2022-03-01 09:48:01 -01:00
Benjamin Southall
8266c29f3f Add catalog support for rand and ukko themes 2022-03-01 09:48:01 -01:00
Michael Walker
29d0510432 Fix invisible not-banned text in some themes 2022-03-01 09:48:01 -01:00
JamesJDillon
5678499e3f Added a better 'not banned' response if a user navigates to banned.php whilst not being banned. 2022-03-01 09:48:01 -01:00
Matěj Grabovský
c2367e7c03 Add catalog for Ukko 2022-03-01 09:48:01 -01:00
Matěj Grabovský
013bf68d26 Add a semirandom theme
This theme displays random threads intermixed with recently bumped ones.
The number of each is configurable.
2022-03-01 09:48:01 -01:00
Michael Walker
7eb9fdca94 Add random theme. Like Ukko, but sorts threads randomly. 2022-03-01 09:48:01 -01:00
rosemash
52321abc7b Fix 404 caused by recent_posts.html loading wrong JS filename 2022-01-22 13:55:08 -05:00
h00j
a3dc72bddb securimage captcha 2021-11-13 01:24:34 +01:00
Fredrick Brennan
f1b43e5fb2 {% (end)?raw %}{% (end)?verbatim %}
```
rg '\{%\s*raw' -l | xargs -I{} sed -i -e 's/{%\(\s*\)raw/{%\1verbatim/g; s/endraw\(\s*\)%}/endverbatim\1%}/g' {}
```

Close vichan-devel/vichan#452.
2021-11-03 22:49:49 -04:00
h00j
064deec26f fix date 2021-03-12 21:55:27 +01:00
h00j
8002455061 important.html relative time 2021-03-12 21:54:31 +01:00
h00j
4ef7feabf2 add telegrams 2021-03-12 21:51:42 +01:00
Mert Kasım İmran
3e5e9bdae5
Update recent_posts.html
Fixes #406
2021-02-20 20:11:35 +03:00
Łiźnier Hełam Łabej
47df9c6485
Merge pull request #399 from vichan-devel/ip-cloaking
ip cloaking
2021-02-13 17:28:30 +01:00
Łiźnier Hełam Łabej
40d1cea043
Merge pull request #391 from panfu28/patch-3
Update index_fs.css
2021-02-13 17:28:05 +01:00
h00j
bce71c1f98 ip cloaking 2021-02-13 14:11:41 +01:00
panfu28
4070e82ae4
Update index_fs.css
More consistency fixes
Is this type of PR allowed? I just see small errors or inconsistencies all over the place and can't help but want to make the code look and read better.
2020-12-11 23:12:08 -03:00
panfu28
f91cbc16f8
Update index.css
Fixed some errors and replaced lines started with 4 spaces for a tab, some lines started with a tab already so why not make it consistent.
2020-12-11 23:02:44 -03:00
Mert Kasım İmran
d6d1082991 Fix for title/subtitle related issue
Subtitle was the page title and title was unused.
2020-12-02 15:56:35 -05:00
papereth
6ccaf19045
Fixed thread.html template (#380)
* Update functions.php

` $_SERVER['REMOTE_ADDR']` was hardcoded in ban lookup instead of `$ip` variable

* Fix information leak in thread.html

Sensitive information can be leaked due to inadequate/absent escaping.

Line 14 is truncating before removing tags, this can cause some tags to be cut and therefore not be removed by the `remove_` functions.
Line 22 is just leaking it all, not removing anything.

* Fixed thread template

`remove_markup` is not available on vichan, arguably it makes things better but it's out of scope for this CHANGE, removing modifiers is enough to stop the info leak
consider adding it again after pulling:
fallenPineapple@a5b3336

also moving truncation before escaping for extra safety
2020-08-15 07:19:47 -07:00
papereth
2275735fdf
Fix information leak in thread.html (#377)
Sensitive information can be leaked due to inadequate/absent escaping, if proxy_save enabled

Line 14 is truncating before removing tags, this can cause some tags to be cut and therefore not be removed by the `remove_` functions.
Line 22 is just leaking it all, not removing anything.
2020-08-10 09:50:02 -07:00
Fredrick Brennan
01538ed33a Close #366
I don't know why this works, but this extra whitespace is required on
PHP 7.4.

If you want to know why I hate PHP updates, this is why.
2020-01-21 09:46:29 +08:00
Daniel Saunders
2600298be8 Theme fixes 2020-01-20 10:37:54 +08:00
Fredrick Brennan
3a41c24e6e Fix PHP 7.3 regression in ?/users
This gets rid of the "Case-insensitive constants are deprecated" error
by passing doing |upper before passing to constant().
2019-05-02 12:19:50 +08:00
Fredrick Brennan
7514f31b36 count➜length in confeditor for PHP7.2 2018-10-12 14:47:38 +08:00
H1K1CH4N
b1842dfe10 removed NPFchan copyright 2018-09-29 04:19:36 +02:00
H1K1CH4N
6f15b56b65 made the image header a little bit better in index theme 2018-09-27 04:58:05 +02:00
H1K1CH4N
44dcbca6c9 improved index theme css 2018-09-27 03:02:21 +02:00
H1K1CH4N
b8f1c219f0 Adds a new theme called "Index"
adds an option to use textarea in theme settings.
Merged most Basic, Recent and Frameset theme functions in one.
you can add a video picture icon and quote in the homepage.
@ctrlcctrlv feel free to add suggestions and fix bladly formed code or let me know and I will try to fix.
i installed it on my demo site: https://hikichan.com/
2018-09-27 00:41:22 +02:00
Fredrick Brennan
aeb4a31194 Close #304 2018-09-18 14:08:06 +08:00
Fredrick Brennan
41cfd500de Fix dashboard Countable on non-countable error
Only affected PHP7.2, was due to a sloppy template. PHP7.2 is much more
strict than previous versions so these kinds of bugs are coming to the
fore.
2018-07-27 19:40:44 +08:00
antedeguemon
b94bf5ec19 Update license and copyright dates 2018-03-01 22:57:53 -03:00
H0K4
e8edadeda9
Update move.html 2017-11-05 18:07:52 +01:00
H0K4
896d9e2f75
Update move_reply.html 2017-11-05 18:07:22 +01:00
H0K4
714cb95194
Update move_reply.html 2017-11-05 18:04:34 +01:00