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
nonmakina
0eb4059a7c
Merge pull request #135 from PietroCarrara/overboard-api
...
Build overboard json
2021-01-12 22:03:28 -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
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
42840a3984
Merge pull request #119 from nonmakina/banListFix
...
Fixes unusuable mod ban list
2021-01-11 10:12:23 +00:00
nonmakina
5b57d35a4c
fixes path for catalog. fixes syntax bugs.
2021-01-10 21:55:20 -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
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
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
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
nonmakina
c04c9bcb6a
Removes ability to delete own threads.
2021-01-09 19:24:53 -06:00
nonmakina
d6199aa3ac
Makes board log usable
2021-01-09 18:14:33 -06:00
nonmakina
ab4b6592b5
Adds support to prepend foreign boards on the boardlist. Used to add the overboard.
2021-01-09 17:01:44 -06:00
nonmakina
e5969098f9
Adds banner support and banners
2021-01-09 16:11:28 -06:00
nonmakina
c34844cde8
Turns on thumbnails for pdf and djvu filetypes
2021-01-09 15:08:24 -06:00
towards-a-new-leftypol
5ef52b3c71
Merge pull request #98 from nonmakina/markup1
...
fixes gentoo style. Fixes redtext markup. Adds orange quoting (ie: <). Adds underlining.
2021-01-04 22:19:40 -05:00
nonmakina
0c622642d3
strikethrough
2021-01-04 20:23:32 -06:00
towards-a-new-leftypol
9033f6dc99
Merge pull request #99 from PietroCarrara/api-messages
...
Add warning and ban messages to the API
2021-01-04 21:11:18 -05:00
towards-a-new-leftypol
a3844fc8f3
Merge pull request #101 from nonmakina/spoilers
...
Adds spoilers to api
2021-01-04 21:11:12 -05:00
nonmakina
6aa3161380
Fixes indenting
2021-01-04 17:46:50 -06:00
nonmakina
1e96b12900
Adds spoilers to api
2021-01-04 17:42:57 -06:00
Pietro Carrara
cd2c81b654
Add warning and ban messages to the API
2021-01-04 19:06:29 -03:00
nonmakina
e32e12798e
fixes gentoo style. Fixes redtext markup. Adds orange quoting (ie: <).
2021-01-04 15:59:59 -06:00
towards-a-new-leftypol
722c44189c
Disable antispam for now
...
- some users were having issues posting
- the issues are inconsistent. we should be careful with this feature,
perhaps even log details of what went wrong when the error for this
is shown and analyze those logs.
2021-01-04 01:12:42 -05:00
nonmakina
54c1c7fabe
Revert "Add spoiler information to the API"
2021-01-03 21:40:41 -06:00
towards-a-new-leftypol
ad370baf9e
Merge pull request #92 from towards-a-new-leftypol/fixes
...
Potential fix for an error message that mods get when banning
2021-01-03 22:31:44 -05:00
towards-a-new-leftypol
b6daf007f7
Merge pull request #86 from nonmakina/moreJs
...
adds a bunch of more js modules
2021-01-03 22:10:24 -05:00
towards-a-new-leftypol
c3ec56836c
Fix ban
2021-01-03 21:59:29 -05:00
towards-a-new-leftypol
798c839681
retab pages.php
2021-01-03 21:59:29 -05:00
nonmakina
ed7192a300
Merge pull request #91 from PietroCarrara/api-spoiler
...
Add spoiler information to the API
2021-01-03 20:59:26 -06:00
Pietro Carrara
336130aabc
Add spoiler information to the API
...
Using 1,0 rather than true,false keeps compatibility
with Clover/Kuroba's implementation of vichan's API parser
2021-01-03 20:02:48 -03:00
towards-a-new-leftypol
1fba41b121
allow mp3 uploads
2021-01-03 04:50:06 -05:00
nonmakina
7f6a7f75eb
removed duplicate style-select. Moved webm settings. Removed treeview.
2021-01-02 10:44:34 -06:00
nonmakina
1d0576c400
adds a bunch of more js modules
2021-01-02 10:29:41 -06:00
towards-a-new-leftypol
315edca5a9
Merge pull request #85 from nonmakina/postFilter
...
Post filter
2021-01-02 02:37:31 -05:00
nonmakina
8866e3f20c
Adds dependency: post-menu.
2021-01-02 01:18:21 -06:00
nonmakina
8294f64d7e
Adds post filtering
2021-01-02 01:06:55 -06:00
nonmakina
cd89c7fe89
Adds (You)s
2021-01-02 00:56:43 -06:00
towards-a-new-leftypol
d84717feae
Merge pull request #73 from nonmakina/autoReload
...
Fixes jquery API breaking changes in auto-reload and thread-stats
2020-12-31 07:13:42 -05:00
towards-a-new-leftypol
cc5c2780a5
chmod 644
2020-12-31 05:54:09 -05:00
towards-a-new-leftypol
d8dfe76e03
Merge pull request #69 from PietroCarrara/json-flags
...
Enable flags on the JSON api
2020-12-31 05:40:15 -05:00
Pietro Carrara
59c2e35d70
Enable API flags for user_flag and country_flags
2020-12-31 07:29:10 -03:00
Barbara-Pitt
69f6fb90c6
Merge pull request #71 from nonmakina/moreFlags
...
Adds FARC flag and United Farm Workers flag
2020-12-31 01:29:03 -06:00
nonmakina
fd45298070
Fixes jquery API breaking changes in auto-reload and thread-stats
2020-12-31 01:04:11 -06:00
nonmakina
33705e29a7
Changes default stylesheet from Yotsuba B to Dark Red
2020-12-31 00:07:25 -06:00
nonmakina
2dc4b46c6f
Adds FARC flag and United Farm Workers flag
2020-12-30 23:55:19 -06:00
Pietro Carrara
4a1f42bde8
Enable flags on the JSON api
2020-12-30 20:08:47 -03:00
towards-a-new-leftypol
92bbc50e78
Add foreign boards option to config
...
- this will append links to other websites at the end of the board list
- added getchan.net's /GET/ and /ref/
2020-12-30 03:39:19 -05:00
towards-a-new-leftypol
1c672e6b2a
Add sidebar section with links to GET and ref
2020-12-30 03:15:20 -05:00
towards-a-new-leftypol
242b281bd2
retab inc/display.php
2020-12-30 03:15:03 -05:00
towards-a-new-leftypol
20ab9f0af5
fix flag style
2020-12-29 20:43:23 -05:00
towards-a-new-leftypol
9bd1535e24
Fix flag filenames
2020-12-29 20:32:42 -05:00
towards-a-new-leftypol
ab09d5dfd8
don't print START every time to the debug file (unless print_err is not commented out)
2020-12-29 20:12:43 -05:00
towards-a-new-leftypol
7504e8ae31
fix flag array (remove .png from filename)
2020-12-29 19:59:33 -05:00
towards-a-new-leftypol
bd1a25bc9b
Add flags
2020-12-29 19:55:38 -05:00
nonmakina
37581dae7f
Merge pull request #56 from towards-a-new-leftypol/fixes
...
use mb_convert_encoding instead of iconv in slugify function in functions.php
2020-12-29 16:23:55 -06:00
nonmakina
e7fdc2421b
Adds JS support for multiple file upload ( #61 )
...
Co-authored-by: nonmakina <nonmakina@leftypol.org>
2020-12-29 17:18:21 -05:00
towards-a-new-leftypol
8a2f3a0028
This seems to work better with unicode values
...
- this seems to not break anything (that I know of)
- possibly a fix for issue 23, at least for most common cases (there
are other iconv usages still in the code)
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/23
2020-12-28 20:48:57 -05:00
towards-a-new-leftypol
f76a830a84
Allow MOD to edit rawhtml ( #51 )
...
Co-authored-by: towards-a-new-leftypol <paul_cockshott@protonmail.com>
2020-12-27 18:23:33 -05:00
Barbara-Pitt
379de3ca6e
spoiler fix ( #49 )
...
Add spoiler and deleted image paths to instance_config
2020-12-27 18:06:07 -05:00
towards-a-new-leftypol
3695f6c371
Fix issue 47
...
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/47
2020-12-27 17:50:31 -05:00
towards-a-new-leftypol
52d075a086
Fix issue 45 (mods should be able to move a thread)
...
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/45
2020-12-27 15:43:50 -05:00
towards-a-new-leftypol
4744a68846
Remove enforcing image uniqueness
...
- fixes issue 34:
https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/34
2020-12-27 15:16:39 -05:00
towards-a-new-leftypol
361a5babef
Remove print statements
...
- comment out print_err function behavior (something I was using for
debugging before, but I'm keeping the function for future debugging)
2020-12-27 15:14:34 -05:00
nonmakina
6bca14bc34
Sets the maximum number of attachments per post from 1 (defualt) to 5
2020-12-27 11:21:39 -06:00
Barbara Pitt
2eaf359bcd
issue#35 - lookahead regex bug on quotes and crossboard quotes
2020-12-26 16:23:59 -06:00
Barbara Pitt
40d1d0aaea
issue # 39 - spoiler images not working
2020-12-26 16:04:39 -06:00
Barbara Pitt
123a69e3c9
issue#26 - more themes
2020-12-26 03:47:17 -06:00
towards-a-new-leftypol
4759be6890
Enable different filetypes
2020-12-25 21:04:43 -05:00
towards-a-new-leftypol
969ff35f93
commit local changes renaming gulag to meta in the navbar
2020-12-25 20:38:25 -05:00
towards-a-new-leftypol
7ba9930fcb
Referer match false
2020-12-25 20:37:01 -05:00
towards-a-new-leftypol
192c0cec6e
Commit local change to instance-config.php (no functional changes)
2020-12-25 17:07:47 -05:00
towards-a-new-leftypol
f37be95547
Merge remote-tracking branch 'github/config' into config
2020-12-24 14:51:44 -05:00
Barbara Pitt
2b405fc5c3
issue#5 - adding always noko in config
2020-12-24 13:04:24 -06:00
Barbara Pitt
798b555b65
undoing stylesheet change + moving theme changes to instance config
2020-12-23 18:39:05 -06:00
towards-a-new-leftypol
cf315cf58c
commit local instance-config.php changes
2020-12-23 19:16:53 -05:00
Barbara Pitt
eca1ea3485
activated dark and dark red themes
2020-12-23 13:25:43 -06:00
towards_a_new_leftypol
d34e4f6828
WIP
2020-12-22 01:35:50 -05:00
towards_a_new_leftypol
80dc724738
lots of print statements
2020-12-22 01:35:35 -05:00
towards_a_new_leftypol
1596ab3421
remove ffmpeg_path from cfg
2020-12-22 01:35:06 -05:00
towards_a_new_leftypol
c595bfbabd
print statements and relax rules in config
2020-12-22 01:34:51 -05:00
towards_a_new_leftypol
77f3bf0d16
first commit of config file
2020-12-22 01:34:23 -05:00
towards_a_new_leftypol
5f25ebe1e2
antinous fix one
2020-12-22 01:34:14 -05:00
towards_a_new_leftypol
ffdbaa1806
autoformat ffmpeg.php
2020-12-22 01:34:04 -05:00
towards_a_new_leftypol
3fc760640c
Print statements everywhere
2020-12-22 01:33:07 -05:00
gamer551
3bd53e6cae
anti bump flood ( #173 )
2019-11-15 17:26:58 +04:00
gamer551
1c0551edad
anti bump flood ( #173 )
2019-11-15 17:25:09 +04:00
Benjamin Southall
a666b044a9
Fixes delete board regression thanks, as per 31e27a51c2
2019-08-31 01:51:56 +10:00
Benjamin Southall
391f63e31f
Rebuild themes after stickying or locking post, so that catalog gets rebuilt
2019-08-26 05:38:22 +10:00
Benjamin Southall
e65d0c9fdc
Merge branch 'master' of github.com:lainchan/lainchan
2019-08-17 23:55:30 +10:00
Benjamin Southall
c1b0012920
Fix cross board linking support for board aliases. Note this doesn't have overboard support yet
2019-08-17 23:55:02 +10:00