Commit graph

4458 commits

Author SHA1 Message Date
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
Dedushka
f030ce8215 Don't ignore files in inc/mod directory.
The original pathspec matches any path with "mod" in it. We modified
it here to only match directories at the top level.
2021-01-17 13:01:22 -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
dc63ff61ee Correctly page the overboard json 2021-01-12 09:55:08 -03:00
Pietro Carrara
0d80e600b5 Only rebuild the catalog for the overboard 2021-01-12 09:16:43 -03:00
towards-a-new-leftypol
eb5dee5283 Merge pull request #133 from PietroCarrara/api-unique-ips
Add unique_ips field to the API
2021-01-11 23:53:41 +00:00
Pietro Carrara
e57b760de8 Wrap overboard api threads inside a page 2021-01-11 20:48:22 -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
nonmakina
06542ec421 fixes 2021-01-11 10:42:51 -06:00
nonmakina
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
ae93e745df Merge pull request #131 from nonmakina/uniqueIpFix
Fixes unique IP auto-reload bug
2021-01-11 10:13:42 +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
nonmakina
8bbd4a014b moves br ontop of unique IP to fix auto-reload error 2021-01-11 02:08:47 -06:00
nonmakina
33ae50b63f stale comment 2021-01-11 02:04:05 -06:00
nonmakina
2d1a712a20 Adds limit to overboard catalog 2021-01-10 22:18:32 -06:00
nonmakina
5eea6c4ac7 fixes path for catalog. fixes syntax bugs. 2021-01-10 21:55:20 -06:00
nonmakina
03dc4db644 Add overboard catalog to the rebuild-all action 2021-01-10 21:28:16 -06:00
nonmakina
73ee83c9c6 adds catalog for overboard 2021-01-10 21:18:09 -06:00
nonmakina
399391116b Deletes dead code 2021-01-10 19:48:23 -06:00
nonmakina
13efc37bdd fixes path for image_deleted 2021-01-10 19:45:31 -06:00
nonmakina
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
c9b67ec5ca Merge pull request #116 from nonmakina/fixReporting
Fixes reporting function
2021-01-10 11:15:24 -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
42916c9356 Merge pull request #120 from nonmakina/uniqueIps
Adds a unique IP counter on the bottom of each thread. It counts the number of unique IPs that has posted so far
2021-01-10 11:10:25 -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
towards-a-new-leftypol
8b8e3bc0ed Merge pull request #127 from nonmakina/txtThumbFix
Explicitly sets txt_file_thumbnail to false
2021-01-10 11:05:31 -05:00
nonmakina
ed9d6eb30d Explicitly sets txt_file_thumbnail to false 2021-01-09 20:05:01 -06:00
nonmakina
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
nonmakina
fd0aa9c70d Whitespace and removed error. 2021-01-09 19:26:59 -06:00
nonmakina
3f1ef0e0fe Removes ability to delete own threads. 2021-01-09 19:24:53 -06:00
nonmakina
46ecd710b5 Removes mod requirement 2021-01-09 18:20:16 -06:00
nonmakina
118eed2eb4 Makes board log usable 2021-01-09 18:14:33 -06:00
nonmakina
8cb33ade7f Fixes unusuable mod ban list 2021-01-09 18:01:58 -06:00
nonmakina
a2636ce0d6 Adds support to prepend foreign boards on the boardlist. Used to add the overboard. 2021-01-09 17:01:44 -06:00
nonmakina
dd37756f24 Fixes inline-expanding.js to allow clickable pdf thumbnails 2021-01-09 16:41:05 -06:00
nonmakina
9378d247b9 Removes border from banner 2021-01-09 16:27:46 -06:00
nonmakina
e48982cf41 Adds banner support and banners 2021-01-09 16:11:28 -06:00
nonmakina
9768dd58df Fixes reporting function 2021-01-09 15:54:30 -06:00
nonmakina
3f57632d44 Turns on thumbnails for pdf and djvu filetypes 2021-01-09 15:08:24 -06:00
nonmakina
8c6d284989 fix typo produced when copying changes 2021-01-09 01:25:44 -06:00
nonmakina
295eb11117 makes some fixes to the overboard code 2021-01-09 01:22:26 -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
nonmakina
ddc35369c5 removes red quote styling and turns it back to the default green color 2021-01-04 20:33:20 -06:00
nonmakina
b27a838c2a strikethrough 2021-01-04 20:23:32 -06:00