Commit Graph

2116 Commits

Author SHA1 Message Date
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
discomrade 23d8059ba1 Use thread subject for page title 2021-06-26 06:57:06 +00:00
discomrade 44d7ad548a Enable post_date format dependency in local-time.js 2021-06-26 04:47:13 -02:00
towards-a-new-leftypol 6735125ffa Revert "Revert "Add SFW overboard theme""
This reverts commit 9acdacbb35.
2021-06-26 02:54:35 +00:00
discomrade 787dfedf3b Change post_time format string 2021-06-23 21:49:25 +00:00
discomrade ef43765ee5 Change post_time format string 2021-06-23 03:53:51 -02:00
towards-a-new-leftypol 9acdacbb35 Revert "Add SFW overboard theme" 2021-06-20 17:06:40 +00:00
nonmakina 0c4460a8a4
Merge pull request #266 from discomrade/sfwoverboard
Add SFW overboard theme
2021-06-20 14:00:15 +02:00
nonmakina 79443af12a
Merge pull request #267 from discomrade/banners-may
Updated flags and new banners
2021-06-20 14:00:02 +02:00
nonmakina 703b3ee04f
Merge pull request #268 from discomrade/flag-preview
Flag preview image
2021-06-20 13:59:50 +02:00
towards-a-new-leftypol 862b7f55d3 Lower flood limits
- 20 seconds for any OP
- 5 seconds between posts with the same ip
2021-06-15 23:42:38 -04:00
discomrade 3434ed0fee Add new overboards to header bar 2021-06-11 20:16:06 -02:00
discomrade c54a15e6d6 Create flag preview 2021-05-31 17:30:44 -02:00
discomrade 770221abdb Correct spelling of 'atheism' 2021-05-31 11:14:07 -02:00
discomrade 20a990fcbf Add Eristocracy flag 2021-05-31 11:13:16 -02:00
discomrade b346dcfbec Add UTF-8 flag on short filters 2021-05-23 05:49:24 -02:00
k bd250c83d3 Add exception to important citation 2021-05-19 22:24:42 -02:00
k 1663eddc38 Allow non-English ASCII to divide match 2021-05-19 22:24:17 -02:00
towards-a-new-leftypol 9130d0d302 add comment to securimage option 2021-05-15 03:06:16 -04:00
towards-a-new-leftypol e3ee8acc93 securimage in webconfig
Make sure securimage option (to enable captcha) can be set in web configuration,
by adding the default (false) to config.php
2021-05-15 03:01:15 -04:00
towards-a-new-leftypol 759c3688e1
Merge pull request #261 from discomrade/may-7-filters
Reduce overreach in word filter
2021-05-13 02:54:26 +00:00
discomrade adeb132aa7 Reduce overreach in word filter 2021-05-12 21:17:41 -02:00
towards-a-new-leftypol 9bf50ae270
Merge pull request #260 from discomrade/may-7-filters
Reduce false positives in word filter
2021-05-12 04:10:57 +00:00
discomrade 461f6440d0 Reduce false positives in word filter 2021-05-11 11:07:15 -02:00
towards-a-new-leftypol e517a1d811
Merge pull request #255 from discomrade/captcha
Add basic captcha
2021-05-09 09:41:29 +00:00
towards-a-new-leftypol 85f9ef8089
Merge pull request #258 from discomrade/patch-5
Allow flags to be over 11px height
2021-05-09 09:32:12 +00:00
towards-a-new-leftypol 6f019e8f10
Merge pull request #259 from discomrade/may-7-filters
Update filters
2021-05-09 09:31:53 +00:00
towards-a-new-leftypol e111ae0a72
Merge pull request #252 from towards-a-new-leftypol/moving_fix2
Fixes moving threads to a different board
2021-05-09 09:31:22 +00:00
towards-a-new-leftypol b64086ff26 Remove duplicate block for captcha to work on dev 2021-05-08 06:28:46 -04:00
discomrade 46806b5348 Upgrade slur filter and comments 2021-05-08 02:58:22 -02:00
discomrade eeeeb01b47 Remove obsoleted filter 2021-05-08 02:58:22 -02:00
discomrade ac9d0a22bc
Allow flags to be over 11px height
Submitted on behalf of Zul.
2021-05-06 00:28:25 +00:00
discomrade 89b2a8af97 Add automatic and manual reloading of captchas 2021-05-05 15:17:34 -02:00
discomrade a1bdba3770 Add basic captcha 2021-05-05 10:29:06 -02:00
towards-a-new-leftypol 1fa3f225ad
Merge pull request #250 from towards-a-new-leftypol/local_changes
Local changes
2021-05-04 22:50:43 +00:00
discomrade 293f43611b
Fix oversight 2021-05-04 22:42:06 +00:00
discomrade 9c2664cacc
Remove range limit for filename 2021-05-04 22:30:05 +00:00
discomrade c50491430d
Increase length range of filename detection 2021-05-04 22:27:15 +00:00
discomrade ebd4b167ff
Add filter for known bot spammer 2021-05-04 22:23:28 +00:00
towards-a-new-leftypol 0ccf86215f Fixes moving threads to a different board
- it seems that it still chokes on posts with missing files
- this seems to fix this and move the threads intact
- i didn't investigate fully what is going on here
2021-05-03 02:21:10 -04:00
towards-a-new-leftypol 455346495b include example of new regex 2021-05-01 21:49:33 -04:00
towards-a-new-leftypol e78a08d3f9 Changes in settings by Zul and Discomrade
- These are local changes via web interface committed
- also new wordfilter suggestions by board, with comrade's explaination
2021-05-01 21:43:59 -04:00
nonmakina b04641e64d Adds ? to filter 2021-04-27 00:05:11 -05:00
nonmakina f3634f0d0b Word filters 2021-04-26 23:52:09 -05:00
towards-a-new-leftypol 6f8927589c add moar flags 2021-04-25 01:28:52 -04:00
nonmakina e21ee7ebaa Enables search 2021-04-14 21:55:10 -05:00
towards-a-new-leftypol 595d8c0514 Revert "allow embeds of audio streams with ogg extension"
This reverts commit 234ed34bda.
2021-04-09 03:25:14 -04:00
towards-a-new-leftypol a9885c4a9b Remove reference to non-existant js file in config.php 2021-04-03 20:20:54 -04:00
towards-a-new-leftypol adea776c84 remove non-existant js file 2021-04-03 19:13:49 -04:00
towards-a-new-leftypol c098c5bf40
Merge branch 'config' into allow_ogg_embed 2021-04-03 19:05:28 -04:00
towards-a-new-leftypol b305779303 Fix embed url 2021-04-02 23:04:03 -04:00
towards-a-new-leftypol 234ed34bda allow embeds of audio streams with ogg extension 2021-04-02 22:06:42 -04:00
towards-a-new-leftypol 548be250b4 display youtube video thumbnail (with local url) in embeds 2021-04-02 20:15:26 -04:00
towards-a-new-leftypol 2f363081df Restore dark red theme to be the default 2021-04-02 14:18:55 -04:00
towards-a-new-leftypol 695d407d69 remove april fools wordfilters 2021-04-02 03:55:53 -04:00
nonmakina 6a91f53f0b Important changes on this date2 2021-03-31 22:15:59 -06:00
nonmakina 50a9f1d93f Important changes on this date2 2021-03-31 22:14:47 -06:00
nonmakina 35cf25e46d Important changes on this date 2021-03-31 22:07:01 -06:00
towards-a-new-leftypol 0c8108fdfe Set default theme to Jungle 2021-03-31 22:32:09 -04:00
nonmakina 2718a37786 Banners from 93227 to 104637 (except duerte) 2021-03-04 14:52:44 -06:00
towards-a-new-leftypol f8b597546b
Merge pull request #218 from nonmakina/webmFix
Adds the proposed ffmpeg.php changes
2021-02-26 19:27:15 -05:00
nonmakina 05f0a0e860
Merge pull request #224 from nonmakina/youtubeEmbed2
Youtube embed
2021-02-23 00:21:54 -06:00
towards-a-new-leftypol 6885c19778 Fix previous commit which overwrote some things 2021-02-20 17:46:03 -05:00
towards-a-new-leftypol 4dff5208fc check in local changes made by zul? 2021-02-20 17:44:16 -05:00
Comatoast 38f666a59f This will allow the use of code tags 2021-02-07 11:50:49 -08:00
towards-a-new-leftypol 43a6a67844 Improve robustness when moving / merging threads
- previously this would choke on threads where the image file is
missing
2021-01-31 01:20:45 +00:00
nonmakina 23d63bdd98 Re-introduces the youtube embed changes.
This reverts commit acc01957bc.
2021-01-29 20:55:23 -06:00
nonmakina acc01957bc
Revert "Replace Youtube embed" 2021-01-29 20:09:27 -06:00
towards-a-new-leftypol a7bf3fee78
Merge pull request #212 from towards-a-new-leftypol/op_creation_time
Op creation time
2021-01-29 20:29:49 -05:00
towards-a-new-leftypol cdf2bd429f Slightly better error message for rate limiting thread creation 2021-01-27 22:54:50 -05:00
towards-a-new-leftypol c03ccd63a1 OP rate limiting should only look at opening posts in the flood table 2021-01-27 22:51:33 -05:00
towards-a-new-leftypol ae9e94396d retab config.php 2021-01-27 22:50:32 -05:00