Commit Graph

4723 Commits

Author SHA1 Message Date
dedushka1
bb2739f93c Merge pull request #1 from nonmakina/add-styles-1
Add styles 1
2021-01-17 16:57:55 -05: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
Dedushka
a4094a37f9 Revert "Remove secrets, require instance-config.secret.php"
This reverts commit 565b3807bd.
2021-01-17 16:50:35 -05:00
Dedushka
6208e76816 Revert "Put secrets in another file."
This reverts commit 891329946e.
2021-01-17 16:50:11 -05:00
Dedushka
b56670daa0 Add bunker-like CSS them, adresses #145 2021-01-17 16:17:37 -05:00
Dedushka
d17d35c35d Add styles, addresses #38 2021-01-17 16:10:56 -05:00
Dedushka
565b3807bd Remove secrets, require instance-config.secret.php 2021-01-17 15:40:30 -05:00
Dedushka
891329946e 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
8d120212b7 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
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
nonmakina
662b02a336 Merge pull request #165 from dedushka1/log-ip-privacy
Hide IPs in Moderation Logs
2021-01-17 13:32:07 -06: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
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
a7e2bbbd87 adds news to front page 2021-01-12 14:21:32 -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
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
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
8bbd4a014b moves br ontop of unique IP to fix auto-reload error 2021-01-11 02:08:47 -06:00
33ae50b63f stale comment 2021-01-11 02:04:05 -06:00
2d1a712a20 Adds limit to overboard catalog 2021-01-10 22:18:32 -06:00
5eea6c4ac7 fixes path for catalog. fixes syntax bugs. 2021-01-10 21:55:20 -06:00
03dc4db644 Add overboard catalog to the rebuild-all action 2021-01-10 21:28:16 -06:00
73ee83c9c6 adds catalog for overboard 2021-01-10 21:18:09 -06:00
399391116b Deletes dead code 2021-01-10 19:48:23 -06:00
13efc37bdd fixes path for image_deleted 2021-01-10 19:45:31 -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
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
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