Commit Graph

4823 Commits

Author SHA1 Message Date
dedushka1 154a42d55f
Merge pull request #1 from nonmakina/add-styles-1
Add styles 1
2021-01-17 16:57:55 -05: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
Dedushka eacc5dd3c3
Revert "Remove secrets, require `instance-config.secret.php`"
This reverts commit 46d987efdc.
2021-01-17 16:50:35 -05:00
Dedushka e2e328a50b
Revert "Put secrets in another file."
This reverts commit 47afc2ad8c.
2021-01-17 16:50:11 -05:00
Dedushka d32094f3d4
Add bunker-like CSS them, adresses #145 2021-01-17 16:17:37 -05:00
Dedushka 44ca8b3ac4
Add styles, addresses #38 2021-01-17 16:10:56 -05:00
Dedushka 46d987efdc
Remove secrets, require `instance-config.secret.php` 2021-01-17 15:40:30 -05:00
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.
2021-01-17 15:31:48 -05:00
towards-a-new-leftypol 64099678bc
Merge pull request #167 from towards-a-new-leftypol/myownbranch
Commit local changes made on server
2021-01-17 20:07:23 +00: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
nonmakina 640f901099
Merge pull request #165 from dedushka1/log-ip-privacy
Hide IPs in Moderation Logs
2021-01-17 13:32:07 -06: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
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.
2021-01-17 13:01:22 -05:00
nonmakina 0eb4059a7c
Merge pull request #135 from PietroCarrara/overboard-api
Build overboard json
2021-01-12 22:03:28 -06:00
nonmakina d22814b2da adds news to front page 2021-01-12 14:21:32 -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 eafcce12cf Correctly page the overboard json 2021-01-12 09:55:08 -03:00
Pietro Carrara 24b9b8bafd Only rebuild the catalog for the overboard 2021-01-12 09:16:43 -03:00
towards-a-new-leftypol d43f18813e
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 8e2a6ccb9d Wrap overboard api threads inside a page 2021-01-11 20:48:22 -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
towards-a-new-leftypol 1b0ae8d846
Merge pull request #130 from nonmakina/pathFixes
Path fixes
2021-01-11 10:15:49 +00:00
towards-a-new-leftypol cd09c18e1d
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 42840a3984
Merge pull request #119 from nonmakina/banListFix
Fixes unusuable mod ban list
2021-01-11 10:12:23 +00:00
nonmakina 74c484def5 moves br ontop of unique IP to fix auto-reload error 2021-01-11 02:08:47 -06:00
nonmakina 57c9cba982 stale comment 2021-01-11 02:04:05 -06:00
nonmakina a3e2af403b Adds limit to overboard catalog 2021-01-10 22:18:32 -06:00
nonmakina 5b57d35a4c fixes path for catalog. fixes syntax bugs. 2021-01-10 21:55:20 -06:00
nonmakina 4ee8f9349a Add overboard catalog to the rebuild-all action 2021-01-10 21:28:16 -06:00
nonmakina 1251fa01e7 adds catalog for overboard 2021-01-10 21:18:09 -06:00
nonmakina b936189e9b Deletes dead code 2021-01-10 19:48:23 -06:00
nonmakina 87b0e972ee fixes path for image_deleted 2021-01-10 19:45:31 -06:00
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. 2021-01-10 19:28:58 -06:00
towards-a-new-leftypol 663233f34d
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 837e8d3c6e
Merge pull request #116 from nonmakina/fixReporting
Fixes reporting function
2021-01-10 11:15:24 -05:00
towards-a-new-leftypol 821ccf2b53
Merge pull request #117 from nonmakina/banners
Adds banner support and banners
2021-01-10 11:11:37 -05:00
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
2021-01-10 11:10:25 -05:00
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
2021-01-10 11:09:27 -05:00
towards-a-new-leftypol a6658d92b8
Merge pull request #122 from nonmakina/noDeleteThread
No delete thread
2021-01-10 11:08:25 -05:00
towards-a-new-leftypol f7aa2e163b
Merge pull request #127 from nonmakina/txtThumbFix
Explicitly sets txt_file_thumbnail to false
2021-01-10 11:05:31 -05:00
nonmakina b463aaead9 Explicitly sets txt_file_thumbnail to false 2021-01-09 20:05:01 -06:00
nonmakina 4169441828 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 02b4b96ffb Whitespace and removed error. 2021-01-09 19:26:59 -06:00