Commit Graph

4952 Commits

Author SHA1 Message Date
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
f40beb7640 Fix filecount 2021-01-18 04:59:13 -06:00
e936312db5 Fix offset 2021-01-18 04:49:46 -06:00
771a1e1629 Add offset 2021-01-18 04:35:34 -06:00
f9bf65ecb7 Add offset 2021-01-18 04:31:02 -06:00
26f8c332ef Fetch one, instead of all 2021-01-18 04:26:18 -06:00
6448c3fe83 Adds function to count posts and images of a thread 2021-01-18 04:11:47 -06:00
dc5f982bca Moves options to the top of the JS imports. 2021-01-18 03:13:09 -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
8c8c2dca47 Adds gz and bz2 to allowed upload extensions 2021-01-17 22:57:46 -06:00
Comatoast
7d2b5c3e21 Adds a warrant canary to the repo. 2021-01-17 20:38:18 -08:00
463db8a359 Fixes path 2021-01-17 22:00:01 -06:00
9def32deff Adds cytube to top bar 2021-01-17 21:57:34 -06:00
f79bceb752 Incorrect variable fix 2021-01-17 21:37:47 -06:00
906ed844d3 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
11d59a9181
Merge pull request #176 from xComatoast/modLogs
Fixed: Mod  Log Permissions
2021-01-17 21:44:50 -05:00
462a98e9ba Increases number of posts that are visible in the IP post history view 2021-01-17 20:42:23 -06: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