Commit Graph

2087 Commits

Author SHA1 Message Date
towards-a-new-leftypol 24923c6216 add link to edit news entries on mod dashboard 2023-09-24 19:14:33 -04:00
towards-a-new-leftypol 786773a2a8 remove print_err statements in post (not needed) 2023-09-24 14:17:18 -04:00
towards-a-new-leftypol 81831505e2 Fix up config for production 2023-09-21 15:19:03 -04:00
towards-a-new-leftypol 7ed6bb7871 much better messaging from spamnoticer, don't just dump the log 2023-09-21 05:42:42 +00:00
towards-a-new-leftypol d6831782b5 Only send thread_id property if we have a thread
Null values are not allowed
2023-09-08 22:57:42 +00:00
towards-a-new-leftypol 3fa80c6e39 Add permissions checks for spam_noticer ui 2023-09-07 20:22:10 +00:00
towards-a-new-leftypol 598aed5b7e enable ant-bot 2023-09-05 18:47:56 +00:00
towards-a-new-leftypol 490c766a06 Print statements 2023-09-05 14:26:53 -04:00
towards-a-new-leftypol a6cd12ed9f Fixes: ban page spamnoticer logic fix, don't call setcookie with null arg 2023-09-05 14:26:53 -04:00
towards-a-new-leftypol 7c43eca49d PHP8: Fix warnings 2023-09-05 14:26:53 -04:00
towards-a-new-leftypol 39e5960369 Make spamnoticer aware of users deleting their own posts 2023-09-05 14:26:53 -04:00
towards-a-new-leftypol 29b45e7a11 Add delete_token column to post_* tables
- stores the delete_token uuid for telling spamnoticer
  that the post has been deleted
- passes the token to spamnoticer
2023-09-05 14:26:46 -04:00
towards-a-new-leftypol 3ed80a4cd3 Ban&Delete page can now also post to spamnoticer 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol a0fc3956fe Sends POST request to spamnoticer /add_post_to_known_spam 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 824fd148c9 spamnoticer: include marking body as spam when parsing 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol a56f585740 spamnoticer WIP: parse new values being posted to mod_ban_page 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol a45f3f34a3 SpamNoticer: render out post on ban page with extra checkboxes to allow flagging different parts of it for spamnoticer 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 16286aa62b In ban form, display the post so we can select which parts of it to mark as spam (for spamnoticer) 2023-09-05 14:25:10 -04:00
towards-a-new-leftypol 0aa7417c09 formatting: retab functions 2023-09-05 14:25:06 -04:00
towards-a-new-leftypol 1c677e62ed Small fixes to fix rebuilding
- use JSMin from composer (needed an upgrade to work anyway)
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 70847aeff3 formatting: retab some files 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 3d48ccf7e2 More fixes after upgrading to php8 broke everything
- call openBoard inside of catalog build. I have no idea
how it could have been defined before because it depends on a global
variable $board which seems to be only globally defined by openBoard in
functions.php, but that's called later. the fix is to just call
openBoard, that's what tinyboard does.

(somehow the code expected the uri to already be set)
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol d79a8ea78f Twig 3: Use verbatim instead of raw tag in templates
- also ensure we don't pass a null in one of the functions in
  functions.php
2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 6b129556ef Autoformat Tinyboard.php 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 4cfbec0504 Fix Tinyboard Twig extension date filter 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 823115ef9d autoformat error.php 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 613fde283b PHP8: error.php working better... 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 1228b2f99d PHP 8: Get login page to work (using twig 3) 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 4082c94bf3 super minor spacing fix 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol c3d2ea8f67 PHP 8: Fix loading Twig 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 1116c8ecd0 autoformat template.php 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 5afef217e6 PHP 8: Use twig from composer 2023-09-05 14:24:06 -04:00
towards-a-new-leftypol 5ed5c6edc8 Use lifo/ip library from composer
- this library needed an update anyway as the first step in making
this work on php8
2023-09-05 14:22:17 -04:00
towards-a-new-leftypol ee803af521 commit permissions change on files from 755 to 644 2023-09-05 14:22:17 -04:00
towards-a-new-leftypol 5478cf5738 POST out to spamnoticer 2023-09-05 14:22:12 -04:00
towards-a-new-leftypol 495a2d7af0 set flood values to negatives so they for sure are ignored 2023-09-05 14:21:33 -04:00
towards-a-new-leftypol 534c5ca9d8 remove boards we don't actually have 2023-09-05 14:20:43 -04:00
towards-a-new-leftypol 4d1f48a621 fix some formatting in instance-config 2023-08-30 14:15:27 -04:00
towards-a-new-leftypol ec45843c60 Remove link to pleroma from board message 2023-08-14 18:49:22 -04:00
towards-a-new-leftypol ee26c83cf0 Get the board back to previous state 2023-08-12 23:20:18 -04:00
xxComatoastxx a2867c1d63 Fixed missing colon in character class line: 2001/2048 2023-01-04 02:45:54 -08:00
towards-a-new-leftypol d50e2b692e Add WRK board 2022-07-04 17:37:13 -04:00
towards-a-new-leftypol aaa60c529a Change theme to bunker_like and fix up some of the css 2022-04-30 17:47:11 -04:00
towards-a-new-leftypol 46c0784148 Add R9K to board list in instance_config.php 2022-04-03 21:09:57 -04:00
towards-a-new-leftypol 0f27edf346 remove anime and games from board list 2022-01-23 02:56:10 -05:00
towards-a-new-leftypol 12d1f3378e remove GET/ref links from categories theme settings 2021-11-04 04:13:19 -04:00
towards-a-new-leftypol e22e79ca6b remove GET ref links 2021-09-26 02:09:50 -04:00
towards-a-new-leftypol bc5c6b21a1 fix link to /ent/ 2021-09-12 17:08:59 -04:00
towards-a-new-leftypol 8a749371d1 add boards to top bar 2021-09-10 16:52:21 -04:00
towards-a-new-leftypol 5737427432 theme change to yotsuba 2021-09-05 18:20:06 +00:00
towards-a-new-leftypol 05ca600e8e Clean up instance-config.php
- since we're minifying the javascript, the catalog theme cannot inject
catalog.js and the required jquery stuff into additional_javascript, so
just always include it (then the catalog page can just load the already
cached main.js file)
- remove redundant definitions made by ui
- remove thing-noticer specific filter (poorly written code block)
2021-08-26 17:12:17 -04:00
towards-a-new-leftypol 87c2dd99b4 Update boards list 2021-08-24 12:58:54 -04:00
towards-a-new-leftypol 726decb27c
Merge pull request #321 from towards-a-new-leftypol/select_style3
Put style chooser into the options menu
2021-08-21 18:57:43 -04:00
towards-a-new-leftypol 71aca6040b Change thumb_ext to 'png' 2021-08-21 18:47:29 -04:00
towards-a-new-leftypol d4374a95e8 change cytube link 2021-08-21 18:47:07 -04:00
discomrade 52c5565625 Fix typos in https://github.com/towards-a-new-leftypol/leftypol_lainchan/pull/336 2021-08-21 18:35:53 -04:00
discomrade e0595f3d68 Fix 387ebe9c0c , extract limit to variable 2021-08-21 18:35:27 -04:00
discomrade 6547fc76c4 Give descriptive name to report too long error 2021-08-21 18:35:18 -04:00
vholmes bb0b7007fd Prevents reports with too many characters 2021-08-21 18:35:08 -04:00
discomrade cb66e0c8c1 Reduce overreach of fbi.gov filter
The initial filter would have ruined words or links containing 'discord', including the non-English words 'discordo' and 'discordar'.
Legitimate use of the exact word 'discord', such as sowing discord, will still trigger the filter.
2021-08-21 18:26:46 -04:00
towards-a-new-leftypol c8a4a29797 Merge remote-tracking branch 'origin/filter-update-22-07-21' into config 2021-08-21 18:26:01 -04:00
discomrade 2c5c6a8533 Show ban appeal count on mod dashboard 2021-08-21 18:23:18 -04:00
discomrade 919209c8f4
Add IPA symbols to wordfilter alias letters 2021-07-22 04:51:43 +00:00
discomrade 193b9a68bb
Update wordfilters
- Add 'IQ' filter
- Add 'Discord' filter
- Add exclamation points as 'i' lookalikes
2021-07-22 01:33:58 +00:00
discomrade 7d2af226ca
Set update-checking to false by default.
This is an obsoleted feature.
2021-07-21 23:08:25 +00:00
towards-a-new-leftypol eb81faadbd Put style chooser into the options menu, remove any style related stuff that gets added to the footer 2021-07-15 12:11:22 +00:00
nonmakina 984b57063d Moves post hover and others to fix loading issue. Minifies and compiles 2021-07-11 14:00:03 +02:00
nonmakina 44d8d2d0d5 Refactor deferred js 2021-07-11 12:46:26 +02:00
nonmakina 648e97e20f
Merge pull request #313 from discomrade/banner-size
Specify fixed banner size for smoother loading
2021-07-11 11:26:07 +02:00
nonmakina fe280cdc12
Merge branch 'config' into defer-javascript 2021-07-11 11:23:03 +02:00
nonmakina 53212e841b
Merge pull request #311 from discomrade/arabic-fix
Fix combining character set, allow limit for combining characters
2021-07-11 11:07:00 +02:00
nonmakina f89b5cdff0
Merge pull request #306 from towards-a-new-leftypol/code-markup-encoding
Prevent double-encoding of HTML entities in [code]
2021-07-11 11:04:23 +02:00
discomrade a9743ab275 Specify banner size 2021-07-10 21:30:02 -02:00
discomrade 3bd090995d Fix combining character set, allow limit for combining characters 2021-07-10 01:37:31 -02:00
discomrade 7f9a1c1cfc Restore download-original.js 2021-07-09 21:38:53 -02:00
discomrade dca55a1643 Allow select defering additional JS 2021-07-09 07:35:09 -02:00
discomrade 217e873e88
Prevent double-encoding of HTML entities in [code] 2021-07-06 12:41:16 +00:00
discomrade a564bfac34
Add chud wordfilter 2021-07-06 00:55:18 +00:00
nonmakina bd58e17368 Revert "Disable download-original.js"
This reverts commit 5311d4d203.
2021-07-05 14:34:43 +02:00
towards-a-new-leftypol e0ff3ea33b
Merge pull request #296 from towards-a-new-leftypol/flag_fixes
Flag fixes
2021-07-04 23:12:12 +00:00
towards-a-new-leftypol 2e6743f7eb Order flags alphabetically 2021-07-04 18:52:00 -04:00
towards-a-new-leftypol cf5465e60f re-add athiesm flag (was missing) and add one new flag 2021-07-04 18:44:03 -04:00
Pietro Carrara ddb7c92bdb Check if file fields are set on the API 2021-07-04 19:42:45 -03:00
Pietro Carrara 4a69c62df3 Load board config while generating json 2021-07-04 19:33:31 -03:00
Pietro Carrara 91bbfccf17 Check fields, use config paths 2021-07-04 15:42:47 -03:00
Pietro Carrara 6d9867f5b4 Use thumb, not thumb_path 2021-07-04 15:05:06 -03:00
Pietro Carrara af967788dc Merge branch 'config' of github.com:towards-a-new-leftypol/leftypol_lainchan into config 2021-07-04 12:11:49 -03:00
Pietro Carrara 2252634892 Modify api image fields 2021-07-04 12:02:21 -03:00
towards-a-new-leftypol a3b13aa12a
Merge pull request #287 from discomrade/homepage-upgrades
Homepage upgrades
2021-07-04 02:42:19 +00:00
discomrade a7e06b0a69 Enable image hover 2021-07-04 00:11:36 +00:00
discomrade 5311d4d203 Disable download-original.js 2021-07-03 23:56:12 +00:00
discomrade 8cbeca99bf Add logo config variable 2021-06-30 04:42:49 -02:00
discomrade 8bfc0940bf Improve variant detection 2021-06-29 06:48:07 +00:00
discomrade fa3a309924 Extend filter charset 2021-06-29 06:48:07 +00:00
discomrade 045ae89764 Improve filter 2021-06-29 06:48:07 +00:00
discomrade b0df386517 Set thumbnail format to WebP 2021-06-29 06:47:52 +00:00
discomrade ceba6648aa Fix thumb_ext being ignored 2021-06-29 06:47:52 +00:00
nonmakina 0c0f117248 Enables exif stripping. 2021-06-29 06:42:32 +00:00
discomrade cebdba506a Add dead.css theme 2021-06-26 07:09:39 +00:00
towards-a-new-leftypol 3602055f0c
Merge branch 'config' into date-format 2021-06-26 06:59:35 +00:00