Dedushka
46d987efdc
Remove secrets, require `instance-config.secret.php`
3 years ago
Dedushka
47afc2ad8c
Put secrets in another file.
This commit makes it easier to make changes to the instance config
without worrying about overwriting secrets and database configuration.
It also mitigates some possibility of leaking secrets.
3 years ago
nonmakina
640f901099
Merge pull request #165 from dedushka1/log-ip-privacy
Hide IPs in Moderation Logs
3 years ago
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.
3 years ago
Dedushka
01dfb1850a
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.
3 years ago
nonmakina
0eb4059a7c
Merge pull request #135 from PietroCarrara/overboard-api
Build overboard json
3 years ago
Pietro Carrara
bdd37d3322
Add board data on all catalogs, rename overboard 'replies' and 'images' fields to keep consistency
3 years ago
Pietro Carrara
eafcce12cf
Correctly page the overboard json
3 years ago
Pietro Carrara
24b9b8bafd
Only rebuild the catalog for the overboard
3 years ago
towards-a-new-leftypol
d43f18813e
Merge pull request #133 from PietroCarrara/api-unique-ips
Add unique_ips field to the API
3 years ago
Pietro Carrara
8e2a6ccb9d
Wrap overboard api threads inside a page
3 years ago
Pietro Carrara
7004f2b437
Build overboard json
3 years ago
Pietro Carrara
e7cc1649c8
Add unique_ips field to the API
3 years ago
nonmakina
13bebb70d0
Merge pull request #112 from nonmakina/overboardFixes
Overboard fixes
3 years ago
nonmakina
de83b874ff
fixes
3 years ago
nonmakina
39d069a1ba
CR. Refactors duplicate code. Fixes boardlist link error.
3 years ago
towards-a-new-leftypol
1b0ae8d846
Merge pull request #130 from nonmakina/pathFixes
Path fixes
3 years ago
towards-a-new-leftypol
cd09c18e1d
Merge pull request #131 from nonmakina/uniqueIpFix
Fixes unique IP auto-reload bug
3 years ago
towards-a-new-leftypol
42840a3984
Merge pull request #119 from nonmakina/banListFix
Fixes unusuable mod ban list
3 years ago
nonmakina
74c484def5
moves br ontop of unique IP to fix auto-reload error
3 years ago
nonmakina
57c9cba982
stale comment
3 years ago
nonmakina
a3e2af403b
Adds limit to overboard catalog
3 years ago
nonmakina
5b57d35a4c
fixes path for catalog. fixes syntax bugs.
3 years ago
nonmakina
4ee8f9349a
Add overboard catalog to the rebuild-all action
3 years ago
nonmakina
1251fa01e7
adds catalog for overboard
3 years ago
nonmakina
b936189e9b
Deletes dead code
3 years ago
nonmakina
87b0e972ee
fixes path for image_deleted
3 years ago
nonmakina
0611bb6ad1
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.
3 years ago
towards-a-new-leftypol
663233f34d
Merge pull request #115 from nonmakina/pdfThumbnail
Turns on thumbnails for pdf and djvu filetypes
3 years ago
towards-a-new-leftypol
837e8d3c6e
Merge pull request #116 from nonmakina/fixReporting
Fixes reporting function
3 years ago
towards-a-new-leftypol
821ccf2b53
Merge pull request #117 from nonmakina/banners
Adds banner support and banners
3 years ago
towards-a-new-leftypol
742875c978
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
3 years ago
towards-a-new-leftypol
529d848719
Merge pull request #126 from nonmakina/originalFilename
Adds js that set an alternative link on media to download them with their original filenames
3 years ago
towards-a-new-leftypol
a6658d92b8
Merge pull request #122 from nonmakina/noDeleteThread
No delete thread
3 years ago
towards-a-new-leftypol
f7aa2e163b
Merge pull request #127 from nonmakina/txtThumbFix
Explicitly sets txt_file_thumbnail to false
3 years ago
nonmakina
b463aaead9
Explicitly sets txt_file_thumbnail to false
3 years ago
nonmakina
4169441828
Adds js that set an alternative link on media to download them with their original names
3 years ago
nonmakina
02b4b96ffb
Whitespace and removed error.
3 years ago
nonmakina
c04c9bcb6a
Removes ability to delete own threads.
3 years ago
nonmakina
56436e321a
Removes mod requirement
3 years ago
nonmakina
d6199aa3ac
Makes board log usable
3 years ago
nonmakina
e55854ebd8
Fixes unusuable mod ban list
3 years ago
nonmakina
ab4b6592b5
Adds support to prepend foreign boards on the boardlist. Used to add the overboard.
3 years ago
nonmakina
554c19c248
Fixes inline-expanding.js to allow clickable pdf thumbnails
3 years ago
nonmakina
1db6d60c47
Removes border from banner
3 years ago
nonmakina
e5969098f9
Adds banner support and banners
3 years ago
nonmakina
554c51aa91
Fixes reporting function
3 years ago
nonmakina
c34844cde8
Turns on thumbnails for pdf and djvu filetypes
3 years ago
nonmakina
a037341613
fix typo produced when copying changes
3 years ago
nonmakina
add7ac393e
makes some fixes to the overboard code
3 years ago