Commit Graph

899 Commits

Author SHA1 Message Date
e310803f95 Create flag preview 2023-01-14 05:50:40 -01:00
towards-a-new-leftypol
eb0a8ac991 catalog page - rewrite youtube url to be local 2023-01-14 05:50:40 -01:00
Barbara Pitt
22246a2961 Fix sticky posts to top of catalog 2023-01-14 05:50:40 -01:00
Benjamin Southall
d63a54cf7f Add apple touch icon support and configuration option 2023-01-14 05:50:40 -01:00
Benjamin Southall
66793eee6d Add missing merge moderation template 2023-01-14 05:50:40 -01:00
PupperWoff
fda9ae12c0 FileSelector isn't working on iOS so prevented it from loading on those devices 2023-01-14 05:50:40 -01:00
PupperWoff
37b37f0e04 BugFix: Removed markup that was shown in title of thread. 2023-01-14 05:50:40 -01:00
PupperWoff
060ae1e547 Added option for mods to send threads directly to archive (removing them from catalog) 2023-01-14 05:50:40 -01:00
PupperWoff
81bdcfdf6d Added multiple file select dialog for post form
Completely revamped, code by Discomrade
Moved filepaths processing loops into a function for easier maintainance
2023-01-14 05:50:40 -01:00
PupperWoff
2b05fd12f4 Added Feature - Statistics 2023-01-14 05:50:40 -01:00
PupperWoff
fca78a3a04 BugFix - Small BugFix to Archive and Voting (adding line of text) 2023-01-14 05:50:40 -01:00
PupperWoff
dd0847b751 Added Archive Feature - Added feature allowing Users to vote for threads they want Featured in the Archive 2023-01-14 05:50:40 -01:00
Arvo Huru
008273f707 Small BugFix - Small fix to Shadow Delete 2023-01-14 05:50:40 -01:00
Arvo Huru
ce750b8a20 Added Function - Mod can shadow delete if they are unsure 2023-01-14 05:50:40 -01:00
Equus
7a5b2aef35 Add a link to the board index on the catalog page 2023-01-14 05:50:40 -01:00
animepony
177c87d465 More accurate string for recent shadow deleted posts 2023-01-14 05:50:40 -01:00
PupperWoff
7ffa8a00f9 Added Feature - Seperate Archive Mods can put posts in - only mods can see this archive 2023-01-14 05:50:40 -01:00
PupperWoff
45b00c76b5 Update to Shadow Delete - Option to view deleted threads, and view recent shadow deleted posts and threads (threads are listed first - posts in these threads are not shown in recent list - to see these posts you need to view whole shadow deleted thread) 2023-01-14 05:50:39 -01:00
PupperWoff
c353e1284d Added Feature - Shadow Delete of Posts and Threads (can be restored if deleted by mod) - Still need a way to see and restore deleted threads 2023-01-14 05:50:39 -01:00
PupperWoff
e712b12ad9 Added Feature - Warn and Delete [W&D] function 2023-01-14 05:50:39 -01:00
PupperWoff
8544714057 Update and BugFix - Added Links to Archive and Featured Archive and Reload to Thread Pages and Catalog - Added Announcements to Catalog - And Small Bugfix to Announcements where link to [Show all] was wrong 2023-01-14 05:50:36 -01:00
PupperWoff
0ba32d3b1a Added Feature - Added Archive Feature - Archive and Featured Archive 2023-01-14 01:26:46 -01:00
animepony
fc098ce24e Catalog title update 2023-01-13 20:55:31 -01:00
Benjamin Southall
060bbf3040 Add missing post_control template and configuration values for thread merge functionality 2023-01-13 20:55:31 -01:00
PupperWoff
4017822218 Added Feature - Announcements - Create announcements that is displayed on "top" of the site (last n entries) and in a full list in seperate page
Re-written to not require JavaScript or cookies to view or edit.

Co-Authored-By: Discomrade <nice@try.fbi>
2023-01-13 20:55:31 -01:00
PupperWoff
b62260d5e4 Added Feature - Premade Ban Reasons (might need some visual tinkering) 2023-01-13 20:55:31 -01:00
Tobias Umbach
27cfdac8db Autofocus username field on mod login page 2023-01-13 20:55:31 -01:00
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
H0K4
767e8f5d6a
Prevents double submit when moving a thread.
I probably moved 1000 of threads and if you double click on the submit button it duplicates the moved thread.
2017-11-05 18:03:20 +01:00
Thalis
0b84fc26d6 fixed deleted.png image not found on the front end 2017-07-28 21:40:06 +02:00
czaks
b7875be471 search form in index: fix order 2017-07-26 23:37:05 -04:00
Daniel Saunders
7a43a3ea34 Updated reCAPTCHA v2 to use api.js method 2017-07-24 03:40:56 -04:00
Marcin Łabanowski
39715e3595 Merge pull request #224 from ghost/patch-2
Implementing Czaks captcha
2017-07-23 17:57:59 +02:00
Marcin Łabanowski
59bcf88872 Merge pull request #146 from szalwia/master
Fix thumbnail scaling in recent theme
2017-07-23 17:55:40 +02:00
Thalis
4efaf50c90 Board search content implementation
you can search boards with this mod.
2017-07-23 17:49:01 +02:00
antedeguemon
4f85b7c570 Fixed XSS in post edit page and modsearch 2017-05-21 17:08:43 -03:00
Horija
5dbfc0ab24 Update post_form.html 2017-04-24 11:44:39 +02:00
Horija
175b54b7f0 Fixed go to bottom link 2017-04-21 03:09:48 +02:00
int15h
b3071152dc new exif provider 2016-12-24 10:39:30 -02:00
Montrosos
1f4de533f0 Included header.html for better boardlist
Simply included the header.html so that the compact boardlist works with it and it's responsive now.
2016-12-12 13:52:42 +01:00
czaks
fed9065cf1 skip non-image files in recent themes; fixes vichan-devel/vichan#185 2016-06-19 02:23:24 +02:00
fatchan
4f3cc7f316 Whoops 2016-06-09 11:22:57 +02:00
fatchan
f27c26907d Remove hardcoded 8chan links in catalog RSS 2016-06-09 11:22:47 +02:00
fatchan
cdd963e79e fix flag spacing 2016-06-09 11:18:34 +02:00
czaks
36d762514c Merge branch 'master' of github.com:vichan-devel/Tinyboard 2016-06-09 04:51:17 +02:00
czaks
94c91db097 fix news deletion; thanks MrFreeman 2016-06-09 04:51:05 +02:00
fatchan
d285a79667 Move the 'Go back and rebuild again' to the top of the rebuilt page so you dont have to scroll 2016-05-31 23:28:55 +10:00
czaks
b6f0317bde advanced build (1/2): a small refactor of index generating procedure; generation strategies 2016-05-08 10:54:30 +02:00
czaks
3f405b3484 what if IP address contained bad characters? (highly local) 2016-05-06 16:53:28 +02:00
czaks
3571670b98 fix catalog link someone? 2016-05-06 16:51:34 +02:00
czaks
a5bd39dc4a mod dashboard html: link to page editor 2016-05-06 16:49:35 +02:00