Commit Graph

4699 Commits

Author SHA1 Message Date
b5ebf71a2b Fix offset 2021-01-18 04:49:46 -06:00
40ae49f82e Add offset 2021-01-18 04:35:34 -06:00
e5947b87c7 Add offset 2021-01-18 04:31:02 -06:00
1337b233e7 Fetch one, instead of all 2021-01-18 04:26:18 -06:00
568b194f21 Adds function to count posts and images of a thread 2021-01-18 04:11:47 -06:00
1998822e9c Moves options to the top of the JS imports. 2021-01-18 03:13:09 -06:00
a3dee77f47 Adds checks for mod permissions to delete posts in board 2021-01-18 01:40:04 -06:00
1bd809b9f0 If mod, bypass password on delete 2021-01-18 01:35:18 -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
Comatoast
068e130a71 Adds a warrant canary to the repo. 2021-01-17 20:38:18 -08: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
2dd5826e2e Incorrect variable fix 2021-01-17 21:37:47 -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
towards-a-new-leftypol
598ca1bb1d Merge pull request #138 from nonmakina/news
adds news to front page
2021-01-17 23:11:37 +00:00
4bc9e91591 Adds stylesheet to news.html template 2021-01-17 17:08:09 -06:00
3a22d6a61d Fixes board list on homepage 2021-01-17 16:57:28 -06:00
4e520ad5a4 fixes breaking changes 2021-01-17 16:48:34 -06:00
4cea6567eb fixes breaking changes 2021-01-17 16:47:40 -06:00
75ac5dccb0 Merge remote-tracking branch 'upstream/config' into news 2021-01-17 16:44:40 -06:00
nonmakina
92d00c2aa9 Merge pull request #170 from dedushka1/add-styles
Add styles
2021-01-17 16:04:36 -06:00
Dedushka
88c5ecc67e Add updated demain stylesheets 2021-01-17 17:01:32 -05:00
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