Commit Graph

2070 Commits

Author SHA1 Message Date
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
nonmakina 4a1e3a3d13 Adds the proposed ffmpeg.php changes 2021-01-27 20:09:18 -06:00
nonmakina 9c4158fea5 Adds missing text and fixes js errors 2021-01-26 00:52:23 -06:00
nonmakina 87a8fd3a36 Adds support for embed button for youtube. Eliminates preview image fetched from youtube that was causing a leak 2021-01-26 00:44:23 -06:00
towards-a-new-leftypol 5afcd089ed Clean up instance-config.php
- remove commented code
- revert overwritten flood values back
2021-01-24 13:49:56 -05:00
towards-a-new-leftypol 246c77d369 retab inc/filters.php 2021-01-24 13:48:32 -05:00
towards-a-new-leftypol 193eb0694e Merge remote-tracking branch 'lpdev_local/thread_creation_time' into op_creation_time 2021-01-24 02:47:42 -05:00
towards-a-new-leftypol 0ff6cb7db3 print statements 2021-01-24 07:47:21 +00:00
towards-a-new-leftypol 3ce48b7b64 Merge remote-tracking branch 'lpdev_local/thread_creation_time' into op_creation_time 2021-01-24 02:29:49 -05:00
towards-a-new-leftypol 7937a702e3 Do noip stuff before other stuff (idk) 2021-01-24 07:29:12 +00:00
towards-a-new-leftypol 55abd06c2d 30 seconds betweeen each new post 2021-01-24 01:56:01 -05:00
towards-a-new-leftypol 629d03bd7b OP creation rate-limiting
- minimum time between OP is 30 seconds
2021-01-24 06:49:01 +00:00
towards-a-new-leftypol aec46521ff commented out filters modification for flood_time 2021-01-24 03:29:18 +00:00
nonmakina b6c95348ec
Merge pull request #195 from dedushka1/revert-mod-edit-post-page
Revert bad change that commented this out on mod post edit page
2021-01-19 17:01:34 -06:00
nonmakina c7a2ac3f38
Merge pull request #190 from dedushka1/theme-deletion-bug
Fix minor bug that disallows deletion of themes
2021-01-19 16:59:50 -06:00
Dedushka 714a92af44
Revert bad change that commented this out on mod post edit page 2021-01-19 14:53:10 -05:00
dedushka1 8dda13f206
Merge pull request #178 from nonmakina/bumplockIndicator
Implements fixes and changes to be able to view the bumplock status of a thread
2021-01-19 14:51:08 -05:00
Dedushka f74d2a2fdc
Fix minor bug that disallows deletion of themes 2021-01-18 22:32:20 -05:00
dedushka1 a4607fa6e6
Merge pull request #183 from nonmakina/optionsFix1
Moves options to the top of the JS imports.
2021-01-18 21:39:55 -05:00
dedushka1 26f443539b
Merge pull request #179 from nonmakina/cytubeOnBoardList
Cytube on board list
2021-01-18 21:34:38 -05:00
dedushka1 a8d59c339f
Merge pull request #181 from nonmakina/allowCompressedFiles
Adds gz and bz2 to allowed upload extensions
2021-01-18 21:32:05 -05:00
dedushka1 7cb750cd2a
Merge pull request #177 from nonmakina/postViewLimit2
Increases number of posts that are visible in the IP post history view
2021-01-18 21:05:39 -05:00
dedushka1 acd63b3fe5
Merge pull request #186 from nonmakina/noFuture
Removes Tomorrow stylesheet
2021-01-18 20:59:40 -05:00
nonmakina d9c763a8a9 Optimizes board rebuilds on deletion by IP 2021-01-18 18:44:30 -06:00
nonmakina 43ffcbc4bc Removes Tomorrow stylesheet 2021-01-18 05:01:41 -06:00
nonmakina dc5f982bca Moves options to the top of the JS imports. 2021-01-18 03:13:09 -06:00
nonmakina c87cd9ab82 Removes rebuild after each deleted post when deleting by ip. 2021-01-18 01:30:20 -06:00
nonmakina 8c8c2dca47 Adds gz and bz2 to allowed upload extensions 2021-01-17 22:57:46 -06:00
nonmakina 463db8a359 Fixes path 2021-01-17 22:00:01 -06:00
nonmakina 9def32deff Adds cytube to top bar 2021-01-17 21:57:34 -06:00
nonmakina 906ed844d3 Implements fixes and changes to be able to view the bumplock status of a thread 2021-01-17 21:31:06 -06:00
towards-a-new-leftypol 11d59a9181
Merge pull request #176 from xComatoast/modLogs
Fixed: Mod  Log Permissions
2021-01-17 21:44:50 -05:00
nonmakina 462a98e9ba Increases number of posts that are visible in the IP post history view 2021-01-17 20:42:23 -06:00
Comatoast f7ed46cb23 Fixed: Mod Log Permissions 2021-01-17 18:30:42 -08:00
Dedushka c79b3b1fb4 Add bunker-like CSS them, adresses #145 2021-01-17 15:53:08 -06:00
Dedushka d7f0e8a7f1 Add styles, addresses #38 2021-01-17 15:53:08 -06:00
towards-a-new-leftypol 5fc8df495d Revert "Enable memcached in the config"
This reverts commit 824c9cb535.
2021-01-17 15:01:33 -05:00
towards-a-new-leftypol 3ae47a4b0b instance config flood settings 2021-01-17 14:38:09 -05:00
towards-a-new-leftypol 824c9cb535 Enable memcached in the config 2021-01-17 14:37:43 -05:00
Dedushka 6d43a7f62b
Protect IPs in public moderation logs.
As reported, IPv6 addresses were not properly hidden in the public
facing moderation logs. This commit filters both IPv4 and IPv6
addresses.

We broke out into a separate function so that it can be tested with
the test suite.

A rudimentary test has been added to test the newly added
protect_ip($entry) function.
2021-01-17 13:03:17 -05:00
nonmakina 0eb4059a7c
Merge pull request #135 from PietroCarrara/overboard-api
Build overboard json
2021-01-12 22:03:28 -06:00
Pietro Carrara bdd37d3322 Add board data on all catalogs, rename overboard 'replies' and 'images' fields to keep consistency 2021-01-12 15:46:01 -03:00
Pietro Carrara 7004f2b437 Build overboard json 2021-01-11 20:23:59 -03:00
Pietro Carrara e7cc1649c8 Add unique_ips field to the API 2021-01-11 15:46:57 -03:00
nonmakina 13bebb70d0
Merge pull request #112 from nonmakina/overboardFixes
Overboard fixes
2021-01-11 10:54:02 -06:00
nonmakina de83b874ff fixes 2021-01-11 10:42:51 -06:00
nonmakina 39d069a1ba CR. Refactors duplicate code. Fixes boardlist link error. 2021-01-11 10:36:29 -06:00