Brandon Sturgeon
6d3da1ec9c
Update http.lua
2024-07-18 09:45:01 -07:00
Redox
8f54596ae5
Add *.googleusercontent.com ( #54 )
2024-07-17 09:14:25 -07:00
Pierce
565ce77652
dont log allows for html
2024-05-23 15:45:19 -04:00
Brandon Sturgeon
bbb3232020
Add Support Badge
2024-02-20 23:39:39 -08:00
Pierce
472dd31648
update file.Exists checks
2024-01-28 01:03:36 -05:00
Redox
89c471034e
Add steamuserimages ( #53 )
2024-01-25 17:44:56 -05:00
Pierce Lally
33b31a0742
fix config loading with directorys ( #52 )
2023-11-09 22:10:21 -05:00
Pierce
fad5576e8f
hotfix sendClientConfig
2023-11-09 09:10:16 -05:00
Pierce
b0288d73ae
add another filetype to the whitelist
2023-11-05 21:50:03 -05:00
Pierce Lally
3a2b30e4e0
fix error when server has no client config ( #51 )
2023-11-05 20:00:00 -05:00
Pierce Lally
abf9c40af5
Networked config ( #50 )
...
* create config file functions to load networked configs
* fix http stack
* split config into client server and shared, allow receiving config
networked from the server
* formatting
* Update README
* fix typo
* update title
* add known issues
* whitespace changes
* update toc
* Update README
* update README
2023-11-05 14:54:36 -05:00
Pierce Lally
44806c6b33
check for media player entity before wrapping media player panel ( #49 )
...
* check for media player entity before wrapping media player panel
* remove unused param
2023-10-24 19:52:49 -04:00
Pierce Lally
a57a7515dc
return value from _HTTP call ( #47 )
2023-10-24 14:03:49 -04:00
Pierce Lally
265ce54eea
add www.youtube.com ( #44 )
2023-10-01 13:44:34 -04:00
Pierce Lally
83b3811266
Http error code handling for PlayURL ( #45 )
...
* give bass errors for 401, 403, and 404 status codes
* remove debug print
* remove default code value
2023-10-01 13:44:25 -04:00
Pierce Lally
18b9e2f35f
add id3 filetype ( #42 )
...
* add id3 filetype
* remove unused properties from file types
2023-09-16 13:37:25 -04:00
Pierce Lally
fdcf19a1a3
remove parsed address cache ( #43 )
2023-09-16 13:29:24 -04:00
Pierce
ceda1ebc83
dont log html urls if 0 urls present in data
2023-09-13 17:23:52 -04:00
Pierce
fdbdfa96db
logging update
2023-09-12 18:58:10 -04:00
Pierce Lally
855cfc13c0
overwrite http.lua and call http wraps before loading ( #38 )
...
* add better log messages for multi url checks
* update log function to use table.Add
* overwrite http.lua and call http wraps before loading
* remove useless elseif
* use ProtectedCall for loading wraps
* use ProtectedCall for loading html wraps
* include reason in logs, dont allow any urls in file data
* remove unused function
* fix typo
2023-09-12 18:17:42 -04:00
Pierce Lally
5bc16c0745
add better log messages for multi url checks ( #36 )
...
* add better log messages for multi url checks
* update log function to use table.Add
2023-09-12 18:07:04 -04:00
Pierce Lally
0ce03d6a14
add webaudio hooks ( #40 )
...
* add webaudio hooks
* fix unused local linter error
2023-09-11 23:12:53 -04:00
Pierce Lally
be7f5b520b
use url encoding instead base64 ( #37 )
2023-09-01 15:54:17 -04:00
Pierce Lally
74f9be20b2
only respective configs if starfall or mediaplayer is on the server ( #35 )
...
* only respective configs if starfall or mediaplayer is on the server
* check for addon existence by entity file
2023-08-27 18:31:18 -04:00
Pierce Lally
609f7ea083
Replace html urls ( #33 )
...
* replace urls in html and javascript with safe urls
* remove file
* remove temporary wrap functions
* remove most starfall domains
* apply CFCHTTP.RedirectURL to OpenURL wrap
* use concat and not string.format
2023-08-23 18:15:44 -04:00
Pierce Lally
05c24b719f
Revert setting wrapHTMLPanels = true by default
2023-08-21 21:37:34 -04:00
Pierce Lally
fef959f369
update default whitelist config adding starfall and media player ( #31 )
2023-08-17 21:55:07 -04:00
Redox
d2f18c5d6b
Add discord media ( #28 )
2023-08-17 11:13:26 -04:00
Pierce
4733bf1de8
hotfix save button for config
2023-08-14 22:16:29 -04:00
Pierce Lally
13e6c8ef80
Handle IDN domains and add tests ( #27 )
...
* add tests and move files to shared
* use CFCHTTP.ParseURL in getAddress
* change url in tests
* add tests to github actions
* rename test file and update function calls to moved functions
* minor config loader refactor
* whitespace changes
* rename file -> configFile
* add invalid date test cases for address parsing functions
2023-08-12 17:50:24 -04:00
Pierce Lally
bc46b35654
Patch methods used to bypass whitelist ( #24 )
...
* add code to handle pls files
* add PlayURL file data inspecting before playing
* add filetypes.lua
* fix bugs with file url fetching
* naming changes
* allow non recognized filetypes
* update config
* change function names
* dont redefine locals
* hot fix html wrapping
* wrap RunJavascript and apply html url checks
* Remove debug print
* dont log javascript when no urls are found
---------
Co-authored-by: Brandon Sturgeon <brandon@brandonsturgeon.com>
2023-08-11 17:26:05 -04:00
Redox
4a446a857f
Add steam CDN and developer URLS ( #25 )
...
* Add steam cdn urls
* Linter style
* Add steam dev community
2023-08-11 17:05:30 -04:00
plally
5efe54bb64
Use custom error code for PlayURL errors ( #22 )
...
* use custom error code
* rename error
* add second error code
* rename errors
2023-07-12 18:46:01 -04:00
Pierce
26111a8845
update allowed addresses
2023-07-05 18:46:05 -04:00
plally
d5e216c33b
Update default_config.lua
2023-04-26 16:11:19 -04:00
plally
9f6fc16dea
Update default_config.lua
2023-04-26 16:10:55 -04:00
plally
168b21dc6b
Merge pull request #17 from sr229/main
...
Add in latest whitelisted remotes from StarfallEx
2022-09-11 18:06:22 -04:00
Ayane
7e88a6dd26
Add pattern property for the new whitelist entries
...
Co-authored-by: plally <pierce@vulpes.dev>
2022-09-10 16:11:50 +08:00
Ayane
88c97b878d
Add in latest whitelisted remotes from StarfallEx
2022-09-07 22:15:33 +08:00
Redox
f96cc1c991
Add workflow and fix style ( #16 )
...
* Add workflow
* Style, remove shadow bindings
* Style, shadow bindings
* Style
* Style
2022-09-07 03:06:34 +02:00
plally
b01f62a8fc
Merge pull request #15 from CFC-Servers/fix-invalid-verison
...
fix invalid version
2022-09-06 20:34:10 -04:00
Pierce
03c543b7eb
fix invalid version
2022-09-06 20:27:57 -04:00
plally
633e9eb731
Update README.md
2022-09-01 19:53:39 -04:00
plally
1619870037
Update README.md
2022-09-01 19:47:08 -04:00
Pierce
b554ae4c9b
hotfix addresses -> config.addresses
2022-08-21 22:10:28 -04:00
Pierce
0f68eb7108
update config editor to only save specific config fields
2022-08-21 18:51:07 -04:00
plally
c55d4cd48e
Delete cfc.lua
2022-08-21 18:08:26 -04:00
plally
b391ffb8cd
Merge pull request #11 from CFC-Servers/feature/html-panels
...
Feature/html panels
2022-08-21 17:57:59 -04:00
Pierce
d91edde8ac
merge other config values
2022-08-21 17:07:08 -04:00
Pierce
23e8989ee7
check config for wrapHTMLPanels
2022-08-21 17:04:22 -04:00