Commit Graph

1981 Commits

Author SHA1 Message Date
73c189bdea Important changes on this date 2021-03-31 22:07:01 -06:00
towards-a-new-leftypol
314eb340e4 Set default theme to Jungle 2021-03-31 22:32:09 -04:00
8f25717239 Banners from 93227 to 104637 (except duerte) 2021-03-04 14:52:44 -06:00
towards-a-new-leftypol
e0bc0e106d Merge pull request #218 from nonmakina/webmFix
Adds the proposed ffmpeg.php changes
2021-02-26 19:27:15 -05:00
nonmakina
a00962c6d8 Merge pull request #224 from nonmakina/youtubeEmbed2
Youtube embed
2021-02-23 00:21:54 -06:00
towards-a-new-leftypol
e9d03ef243 Fix previous commit which overwrote some things 2021-02-20 17:46:03 -05:00
towards-a-new-leftypol
91b6a1e854 check in local changes made by zul? 2021-02-20 17:44:16 -05:00
Comatoast
a7324dae9c This will allow the use of code tags 2021-02-07 11:50:49 -08:00
towards-a-new-leftypol
02119c5c58 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
f544dde952 Re-introduces the youtube embed changes.
This reverts commit ec9d144c67.
2021-01-29 20:55:23 -06:00
nonmakina
ec9d144c67 Revert "Replace Youtube embed" 2021-01-29 20:09:27 -06:00
towards-a-new-leftypol
4fd6506069 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
c5b62f18e9 Slightly better error message for rate limiting thread creation 2021-01-27 22:54:50 -05:00
towards-a-new-leftypol
66b6682952 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
f71bc3337b retab config.php 2021-01-27 22:50:32 -05:00
9ee06c9e6d Adds the proposed ffmpeg.php changes 2021-01-27 20:09:18 -06:00
816094ce96 Adds missing text and fixes js errors 2021-01-26 00:52:23 -06:00
1afb5a5f31 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
e188887731 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
f00faf0b62 retab inc/filters.php 2021-01-24 13:48:32 -05:00
towards-a-new-leftypol
325d442f2a 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
fc08073309 print statements 2021-01-24 07:47:21 +00:00
towards-a-new-leftypol
a2619087cf 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
53cb7ac5f0 Do noip stuff before other stuff (idk) 2021-01-24 07:29:12 +00:00
towards-a-new-leftypol
60070f9e0c 30 seconds betweeen each new post 2021-01-24 01:56:01 -05:00
towards-a-new-leftypol
65d82ff3f0 OP creation rate-limiting
- minimum time between OP is 30 seconds
2021-01-24 06:49:01 +00:00
towards-a-new-leftypol
4d4f87c40d commented out filters modification for flood_time 2021-01-24 03:29:18 +00:00
nonmakina
4c7fbead86 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
cb26f537f3 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
801d5d1459 Revert bad change that commented this out on mod post edit page 2021-01-19 14:53:10 -05:00
dedushka1
6d67ca34f0 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
5ebfb22a5e Fix minor bug that disallows deletion of themes 2021-01-18 22:32:20 -05:00
dedushka1
a6c4f5a1ec 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
b26c2a0256 Merge pull request #179 from nonmakina/cytubeOnBoardList
Cytube on board list
2021-01-18 21:34:38 -05:00
dedushka1
9f309c7362 Merge pull request #181 from nonmakina/allowCompressedFiles
Adds gz and bz2 to allowed upload extensions
2021-01-18 21:32:05 -05:00
dedushka1
f914297501 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
aee880aae8 Merge pull request #186 from nonmakina/noFuture
Removes Tomorrow stylesheet
2021-01-18 20:59:40 -05:00
d1d0dd2f76 Optimizes board rebuilds on deletion by IP 2021-01-18 18:44:30 -06:00
54a0c74aaf Removes Tomorrow stylesheet 2021-01-18 05:01:41 -06:00
1998822e9c Moves options to the top of the JS imports. 2021-01-18 03:13:09 -06:00
40012ef81c Removes rebuild after each deleted post when deleting by ip. 2021-01-18 01:30:20 -06:00
4bf8ba7731 Adds gz and bz2 to allowed upload extensions 2021-01-17 22:57:46 -06:00
b4bbe54510 Fixes path 2021-01-17 22:00:01 -06:00
4ac284d744 Adds cytube to top bar 2021-01-17 21:57:34 -06:00
1acb060694 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
48650d8ddd Merge pull request #176 from xComatoast/modLogs
Fixed: Mod  Log Permissions
2021-01-17 21:44:50 -05:00
909c5f0a25 Increases number of posts that are visible in the IP post history view 2021-01-17 20:42:23 -06:00
Comatoast
28c68d7369 Fixed: Mod Log Permissions 2021-01-17 18:30:42 -08:00
Dedushka
68080f90bf Add bunker-like CSS them, adresses #145 2021-01-17 15:53:08 -06:00
Dedushka
91efbfd418 Add styles, addresses #38 2021-01-17 15:53:08 -06:00
towards-a-new-leftypol
6acff64f17 Revert "Enable memcached in the config"
This reverts commit b66ef17262.
2021-01-17 15:01:33 -05:00
towards-a-new-leftypol
0a404925ea instance config flood settings 2021-01-17 14:38:09 -05:00
towards-a-new-leftypol
b66ef17262 Enable memcached in the config 2021-01-17 14:37:43 -05:00
Dedushka
a037d8b5e0 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
64a53e16e6 Merge pull request #135 from PietroCarrara/overboard-api
Build overboard json
2021-01-12 22:03:28 -06:00
Pietro Carrara
3a5081e73d 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
2ca72c6a7c Build overboard json 2021-01-11 20:23:59 -03:00
Pietro Carrara
20135fd1db Add unique_ips field to the API 2021-01-11 15:46:57 -03:00
nonmakina
0bdbe0f927 Merge pull request #112 from nonmakina/overboardFixes
Overboard fixes
2021-01-11 10:54:02 -06:00
06542ec421 fixes 2021-01-11 10:42:51 -06:00
d8120b3b18 CR. Refactors duplicate code. Fixes boardlist link error. 2021-01-11 10:36:29 -06:00
towards-a-new-leftypol
bde8b2980c Merge pull request #130 from nonmakina/pathFixes
Path fixes
2021-01-11 10:15:49 +00:00
towards-a-new-leftypol
ca5fde5f83 Merge pull request #119 from nonmakina/banListFix
Fixes unusuable mod ban list
2021-01-11 10:12:23 +00:00
5eea6c4ac7 fixes path for catalog. fixes syntax bugs. 2021-01-10 21:55:20 -06:00
93d0784a5e Sets the correct default path in the config.php, and removes the re-write in instance-config. The path set in config was incorrect, so there is no benefit in keeping it incorrect and overwriting in instance config. And now that it's correct, it's no benefit to have a duplicate setting. 2021-01-10 19:28:58 -06:00
towards-a-new-leftypol
d5a9127c83 Merge pull request #115 from nonmakina/pdfThumbnail
Turns on thumbnails for pdf and djvu filetypes
2021-01-10 11:19:17 -05:00
towards-a-new-leftypol
fdd91c0fd7 Merge pull request #117 from nonmakina/banners
Adds banner support and banners
2021-01-10 11:11:37 -05:00
towards-a-new-leftypol
6d1406b2f0 Merge pull request #126 from nonmakina/originalFilename
Adds js that set an alternative link on media to download them with their original filenames
2021-01-10 11:09:27 -05:00
towards-a-new-leftypol
84f6e25adf Merge pull request #122 from nonmakina/noDeleteThread
No delete thread
2021-01-10 11:08:25 -05:00
ed9d6eb30d Explicitly sets txt_file_thumbnail to false 2021-01-09 20:05:01 -06:00
55020d2c7f Adds js that set an alternative link on media to download them with their original names 2021-01-09 19:46:41 -06:00
fd0aa9c70d Whitespace and removed error. 2021-01-09 19:26:59 -06:00
3f1ef0e0fe Removes ability to delete own threads. 2021-01-09 19:24:53 -06:00
118eed2eb4 Makes board log usable 2021-01-09 18:14:33 -06:00
a2636ce0d6 Adds support to prepend foreign boards on the boardlist. Used to add the overboard. 2021-01-09 17:01:44 -06:00
e48982cf41 Adds banner support and banners 2021-01-09 16:11:28 -06:00
3f57632d44 Turns on thumbnails for pdf and djvu filetypes 2021-01-09 15:08:24 -06:00
towards-a-new-leftypol
f9a6b584e1 Merge pull request #98 from nonmakina/markup1
fixes gentoo style. Fixes redtext markup. Adds orange quoting (ie: <). Adds underlining.
2021-01-04 22:19:40 -05:00
b27a838c2a strikethrough 2021-01-04 20:23:32 -06:00
towards-a-new-leftypol
7ab8a576e0 Merge pull request #99 from PietroCarrara/api-messages
Add warning and ban messages to the API
2021-01-04 21:11:18 -05:00
towards-a-new-leftypol
96b457af11 Merge pull request #101 from nonmakina/spoilers
Adds spoilers to api
2021-01-04 21:11:12 -05:00
182ad6fea8 Fixes indenting 2021-01-04 17:46:50 -06:00
e132e1d663 Adds spoilers to api 2021-01-04 17:42:57 -06:00
Pietro Carrara
d0ca66fa49 Add warning and ban messages to the API 2021-01-04 19:06:29 -03:00
2a37ad3b5d fixes gentoo style. Fixes redtext markup. Adds orange quoting (ie: <). 2021-01-04 15:59:59 -06:00
towards-a-new-leftypol
a1f5986c21 Disable antispam for now
- some users were having issues posting
- the issues are inconsistent. we should be careful with this feature,
    perhaps even log details of what went wrong when the error for this
    is shown and analyze those logs.
2021-01-04 01:12:42 -05:00
nonmakina
0446ade568 Revert "Add spoiler information to the API" 2021-01-03 21:40:41 -06:00
towards-a-new-leftypol
029a4408d1 Merge pull request #92 from towards-a-new-leftypol/fixes
Potential fix for an error message that mods get when banning
2021-01-03 22:31:44 -05:00
towards-a-new-leftypol
1ffd3c4740 Merge pull request #86 from nonmakina/moreJs
adds a bunch of more js modules
2021-01-03 22:10:24 -05:00
towards-a-new-leftypol
98a69a3188 Fix ban 2021-01-03 21:59:29 -05:00
towards-a-new-leftypol
38f40d3d06 retab pages.php 2021-01-03 21:59:29 -05:00
nonmakina
53dd21f5bf Merge pull request #91 from PietroCarrara/api-spoiler
Add spoiler information to the API
2021-01-03 20:59:26 -06:00
Pietro Carrara
f0d7c24c97 Add spoiler information to the API
Using 1,0 rather than true,false keeps compatibility
with Clover/Kuroba's implementation of vichan's API parser
2021-01-03 20:02:48 -03:00
towards-a-new-leftypol
6011a31e03 allow mp3 uploads 2021-01-03 04:50:06 -05:00
8258ea609d removed duplicate style-select. Moved webm settings. Removed treeview. 2021-01-02 10:44:34 -06:00
5a6bc5f3fb adds a bunch of more js modules 2021-01-02 10:29:41 -06:00
towards-a-new-leftypol
708debe4e4 Merge pull request #85 from nonmakina/postFilter
Post filter
2021-01-02 02:37:31 -05:00
8e77b1d9fd Adds dependency: post-menu. 2021-01-02 01:18:21 -06:00
4f2b47fdd2 Adds post filtering 2021-01-02 01:06:55 -06:00
7785736d53 Adds (You)s 2021-01-02 00:56:43 -06:00
towards-a-new-leftypol
8ab6219db2 Merge pull request #73 from nonmakina/autoReload
Fixes jquery API breaking changes in auto-reload and thread-stats
2020-12-31 07:13:42 -05:00
towards-a-new-leftypol
271e4f1f5d chmod 644 2020-12-31 05:54:09 -05:00
towards-a-new-leftypol
971acea884 Merge pull request #69 from PietroCarrara/json-flags
Enable flags on the JSON api
2020-12-31 05:40:15 -05:00
Pietro Carrara
e4d36ba86a Enable API flags for user_flag and country_flags 2020-12-31 07:29:10 -03:00
Barbara-Pitt
77385bffcd Merge pull request #71 from nonmakina/moreFlags
Adds FARC flag and United Farm Workers flag
2020-12-31 01:29:03 -06:00
c2a2c667d6 Fixes jquery API breaking changes in auto-reload and thread-stats 2020-12-31 01:04:11 -06:00
492f1b6474 Changes default stylesheet from Yotsuba B to Dark Red 2020-12-31 00:07:25 -06:00
54e085fbdc Adds FARC flag and United Farm Workers flag 2020-12-30 23:55:19 -06:00
Pietro Carrara
742390fb41 Enable flags on the JSON api 2020-12-30 20:08:47 -03:00
towards-a-new-leftypol
85e5fa2a04 Add foreign boards option to config
- this will append links to other websites at the end of the board list
- added getchan.net's /GET/ and /ref/
2020-12-30 03:39:19 -05:00
towards-a-new-leftypol
254ca6e2c1 Add sidebar section with links to GET and ref 2020-12-30 03:15:20 -05:00
towards-a-new-leftypol
7f6a152b03 retab inc/display.php 2020-12-30 03:15:03 -05:00
towards-a-new-leftypol
8db5a4f4da fix flag style 2020-12-29 20:43:23 -05:00
towards-a-new-leftypol
c28a59f6d8 Fix flag filenames 2020-12-29 20:32:42 -05:00
towards-a-new-leftypol
eb34ba0d57 don't print START every time to the debug file (unless print_err is not commented out) 2020-12-29 20:12:43 -05:00
towards-a-new-leftypol
04933a3383 fix flag array (remove .png from filename) 2020-12-29 19:59:33 -05:00
towards-a-new-leftypol
70a8b3e516 Add flags 2020-12-29 19:55:38 -05:00
nonmakina
361276b797 Merge pull request #56 from towards-a-new-leftypol/fixes
use mb_convert_encoding instead of iconv in slugify function in functions.php
2020-12-29 16:23:55 -06:00
nonmakina
525d50ff66 Adds JS support for multiple file upload (#61)
Co-authored-by: nonmakina <nonmakina@leftypol.org>
2020-12-29 17:18:21 -05:00
towards-a-new-leftypol
bc1c493620 This seems to work better with unicode values
- this seems to not break anything (that I know of)
- possibly a fix for issue 23, at least for most common cases (there
  are other iconv usages still in the code)
    https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/23
2020-12-28 20:48:57 -05:00
towards-a-new-leftypol
af25f25092 Allow MOD to edit rawhtml (#51)
Co-authored-by: towards-a-new-leftypol <paul_cockshott@protonmail.com>
2020-12-27 18:23:33 -05:00
Barbara-Pitt
9d398254f9 spoiler fix (#49)
Add spoiler and deleted image paths to instance_config
2020-12-27 18:06:07 -05:00
towards-a-new-leftypol
72a8e82e32 Fix issue 47
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/47
2020-12-27 17:50:31 -05:00
towards-a-new-leftypol
cf02e82fc3 Fix issue 45 (mods should be able to move a thread)
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/45
2020-12-27 15:43:50 -05:00
towards-a-new-leftypol
ca56ce0b57 Remove enforcing image uniqueness
- fixes issue 34:
    https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/34
2020-12-27 15:16:39 -05:00
towards-a-new-leftypol
e82012d6d6 Remove print statements
- comment out print_err function behavior (something I was using for
debugging before, but I'm keeping the function for future debugging)
2020-12-27 15:14:34 -05:00
3f79f16c62 Sets the maximum number of attachments per post from 1 (defualt) to 5 2020-12-27 11:21:39 -06:00
Barbara Pitt
9ccfb6f33d issue#35 - lookahead regex bug on quotes and crossboard quotes 2020-12-26 16:23:59 -06:00
Barbara Pitt
a5d933bcc2 issue # 39 - spoiler images not working 2020-12-26 16:04:39 -06:00
Barbara Pitt
3080fdd5b2 issue#26 - more themes 2020-12-26 03:47:17 -06:00
towards-a-new-leftypol
bb7f9a29c9 Enable different filetypes 2020-12-25 21:04:43 -05:00
towards-a-new-leftypol
d09ae6e588 commit local changes renaming gulag to meta in the navbar 2020-12-25 20:38:25 -05:00
towards-a-new-leftypol
0f1d7f3894 Referer match false 2020-12-25 20:37:01 -05:00
towards-a-new-leftypol
64413e8bae Commit local change to instance-config.php (no functional changes) 2020-12-25 17:07:47 -05:00
towards-a-new-leftypol
cebf9f2876 Merge remote-tracking branch 'github/config' into config 2020-12-24 14:51:44 -05:00
Barbara Pitt
735b2fe07b issue#5 - adding always noko in config 2020-12-24 13:04:24 -06:00
Barbara Pitt
a682a756c9 undoing stylesheet change + moving theme changes to instance config 2020-12-23 18:39:05 -06:00
towards-a-new-leftypol
644460e079 commit local instance-config.php changes 2020-12-23 19:16:53 -05:00
Barbara Pitt
9b11495e99 activated dark and dark red themes 2020-12-23 13:25:43 -06:00
towards_a_new_leftypol
f75d42d9c4 WIP 2020-12-22 01:35:50 -05:00
towards_a_new_leftypol
195a3914d1 lots of print statements 2020-12-22 01:35:35 -05:00
towards_a_new_leftypol
f7fcb010ce remove ffmpeg_path from cfg 2020-12-22 01:35:06 -05:00
towards_a_new_leftypol
1760f98a0c print statements and relax rules in config 2020-12-22 01:34:51 -05:00
towards_a_new_leftypol
c9c4273d4b first commit of config file 2020-12-22 01:34:23 -05:00
towards_a_new_leftypol
3a2ff71f60 antinous fix one 2020-12-22 01:34:14 -05:00
towards_a_new_leftypol
e373746cc5 autoformat ffmpeg.php 2020-12-22 01:34:04 -05:00
towards_a_new_leftypol
cd9515397c Print statements everywhere 2020-12-22 01:33:07 -05:00
gamer551
e6e00582f2 anti bump flood (#173) 2019-11-15 17:26:58 +04:00
gamer551
cc8b8bf369 anti bump flood (#173) 2019-11-15 17:25:09 +04:00
Benjamin Southall
c68af19e11 Fixes delete board regression thanks, as per 31e27a51c2 2019-08-31 01:51:56 +10:00