Commit Graph

4494 Commits

Author SHA1 Message Date
dedushka1
acd63b3fe5
Merge pull request #186 from nonmakina/noFuture
Removes Tomorrow stylesheet
2021-01-18 20:59:40 -05:00
nonmakina
563091ba00
Merge pull request #182 from nonmakina/modMassDelete
Enables mod mass deletion
2021-01-18 19:16:10 -06:00
d9c763a8a9 Optimizes board rebuilds on deletion by IP 2021-01-18 18:44:30 -06:00
nonmakina
056e9bf492
Merge pull request #188 from dedushka1/config
Allow posting from catalog.
2021-01-18 17:56:48 -06:00
towards-a-new-leftypol
95ffdb89cd
Merge pull request #180 from xComatoast/WarrantCanary
Adds a warrant canary to the repo.
2021-01-18 17:49:42 -05:00
Dedushka
aa21f4cc6d
Allow posting from catalog.
Addresses #134.

The catalog template has been modified to use the board array, which
is expected by the post form template. Because the overboard is a
"virtual board", we created a "fake" overboard array to supply
necessary information to the modified template.

Javascript was also added to hide form on first visit.
2021-01-18 17:30:21 -05:00
43ffcbc4bc Removes Tomorrow stylesheet 2021-01-18 05:01:41 -06:00
c838a10bce Adds checks for mod permissions to delete posts in board 2021-01-18 01:40:04 -06:00
8c842362bb If mod, bypass password on delete 2021-01-18 01:35:18 -06:00
c87cd9ab82 Removes rebuild after each deleted post when deleting by ip. 2021-01-18 01:30:20 -06:00
Comatoast
7d2b5c3e21 Adds a warrant canary to the repo. 2021-01-17 20:38:18 -08:00
towards-a-new-leftypol
11d59a9181
Merge pull request #176 from xComatoast/modLogs
Fixed: Mod  Log Permissions
2021-01-17 21:44:50 -05:00
Comatoast
f7ed46cb23 Fixed: Mod Log Permissions 2021-01-17 18:30:42 -08:00
towards-a-new-leftypol
8ba8bbb8aa
Merge pull request #138 from nonmakina/news
adds news to front page
2021-01-17 23:11:37 +00:00
470662f9bf Adds stylesheet to news.html template 2021-01-17 17:08:09 -06:00
fa4630e354 Fixes board list on homepage 2021-01-17 16:57:28 -06:00
9ec85e96c2 fixes breaking changes 2021-01-17 16:48:34 -06:00
5f27a5a050 fixes breaking changes 2021-01-17 16:47:40 -06:00
857597db94 Merge remote-tracking branch 'upstream/config' into news 2021-01-17 16:44:40 -06:00
nonmakina
2388907587
Merge pull request #170 from dedushka1/add-styles
Add styles
2021-01-17 16:04:36 -06:00
Dedushka
aa4d90328e
Add updated demain stylesheets 2021-01-17 17:01:32 -05:00
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
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
de83b874ff fixes 2021-01-11 10:42:51 -06:00
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