Commit graph

4455 commits

Author SHA1 Message Date
caryoscelus
e13e0dd189
Merge pull request #264 from YGGverse/fix-ipv6-validation
- fix non-local --ui-ip usage (--ui-ip-protect option)
- fix ipv6 handling
- fixes #263 (IPv6 validation)
2024-04-07 11:56:02 +00:00
caryoscelus
7772036559
Fix some CORS/redirectering cases 2024-04-05 10:49:34 +00:00
caryoscelus
e3b010175f
--ui-ip-protect option to only apply recent privacy protection where it makes sense (i.e. on localhost) by default
refs #263, #270
2024-04-04 23:42:34 +00:00
caryoscelus
6702f331a3
IPv6/non-localhost IP fix
- Content-Security-Policy: `frame-src *` for main UiRequest and `self` for
  user-content UiRequest
- revert change in getHostWithoutPort to make ipv6 work
2024-03-30 14:31:22 +00:00
yggverse
f4e52fce5a rollback ipv6_testip feature as dependent of config implementation #263 #269 2024-03-28 17:06:57 +02:00
yggverse
b928cfc0d5 add ipv6 support to openBrowser method #263 2024-03-28 16:48:01 +02:00
yggverse
3c24e5d34c fix object name #263 2024-03-28 16:32:30 +02:00
yggverse
8fb98991ef fix optional ipv6_testip check #263 2024-03-28 16:31:44 +02:00
yggverse
4030d3a859 remove ipv6_testip info as dependent #263 2024-03-28 16:28:58 +02:00
yggverse
5858a68d11 add ipv6_testip to server info #263 2024-03-28 16:22:44 +02:00
yggverse
658c685a45 add configurable ipv6_testip #263 2024-03-28 16:16:02 +02:00
yggverse
762c5f2402 remove square brackets from IPv6 host #263 #264 #267 2024-03-28 15:52:19 +02:00
caryoscelus
8c90b2d0a2
Merge pull request #266 from YGGverse/gitignore-enabled-plugins
gitignore enabled plugins that disabled by default #265
2024-03-27 20:58:31 +00:00
yggverse
8a95e9b67d gitignore enabled plugins that disabled by default #265 2024-03-27 21:27:53 +02:00
yggverse
d17f4afdd0 fix IPv6 validation #263 2024-03-27 20:33:52 +02:00
caryoscelus
0960adef3a
Merge pull request #261 from caryoscelus/simplified-cors-2
Simplified cors 2
2024-02-10 15:37:16 +00:00
caryoscelus
ca5d573908
Fix typo 2024-02-09 15:55:21 +00:00
caryoscelus
2520024f56
Allow cross-site embedding without "cors-" prefix
..As long as CORS read permission is granted. This is done for
compatibility with sites that relied on lack of enforcing of cross-site
isolation in previous ZeroNet versions.

fixes #259
2024-02-09 15:55:21 +00:00
caryoscelus
94e9f5ab66
Merge pull request #258 from caryoscelus/fix-plugins-argparse
Fix command-line argument style (use dashes instead of underscores)

fixes #257
2024-01-17 21:27:18 +00:00
caryoscelus
f3c57cdc32
Fix command-line argument style (use dashes instead of underscores) 2024-01-17 21:18:15 +00:00
caryoscelus
031dd1946f
Merge pull request #256 from caryoscelus/git
Fetch version info from git or Build file
2023-12-28 20:22:22 +00:00
caryoscelus
25bfc0341c
Use integer rev in UiWebSocket for dashboard compatibility 2023-12-27 14:24:03 +00:00
caryoscelus
15dddc27c6
Get rid of using old-style revision everywhere 2023-12-27 13:17:59 +00:00
caryoscelus
1a8c6aaa93
Fetch version info from git or Build file 2023-12-27 11:27:15 +00:00
caryoscelus
dbe283e593
Fix import 2023-12-26 19:06:09 +00:00
caryoscelus
6d7c5a4a52
Merge pull request #253 from caryoscelus/py39-compat
Fix py3.9 compatibility
2023-12-23 14:29:58 +00:00
caryoscelus
b208595597
Merge pull request #251 from caryoscelus/options-dash
Use dashes in command line options instead of underscore
2023-12-22 17:21:46 +00:00
caryoscelus
2ce87828b0
Fix py3.9 compatibility
refs #252
2023-12-22 17:20:11 +00:00
caryoscelus
0c31000593
Use dashes in command line options instead of underscore
- using underscore is deprecated but still works
- also don't override commandline --open-browser option
2023-12-21 10:18:57 +00:00
caryoscelus
90456768a7
Update CHANGELOG 2023-12-20 12:32:13 +00:00
caryoscelus
f37ab4ee5d
Continuing previous commit: --ui_site_port 2023-12-07 09:56:01 +00:00
caryoscelus
a4cc2eeb9f
Separate http server for site content WIP
This resolves issue introduced by 14e8130acb
by having wrapper and iframe exist in different origins

Note that this does introduce minor UX issue: copying links now shows them
with a different port
2023-12-07 07:38:14 +00:00
caryoscelus
75ecd895e7
Merge pull request #245 from caryoscelus/ipython-repl
Add basic ipython-based repl via --repl
2023-12-01 15:58:37 +00:00
caryoscelus
c20023eabd
Merge pull request #246 from caryoscelus/no-vagrant
Remove Vagrantfile as outdated and unused
2023-12-01 15:58:29 +00:00
caryoscelus
28a3c4d95c
Merge pull request #244 from Contribution-Tracking/shell
Refactor shell scripts
2023-11-30 14:40:28 +00:00
caryoscelus
db382f0075 Remove Vagrantfile as outdated and unused
If anyone needs it at any point, it's probably easier to write a new one
and if consulting with a historic version is required, it's still available
in history

fixes #180
2023-11-26 23:54:57 +00:00
caryoscelus
ba60f5dc0e Add basic ipython-based repl via --repl 2023-11-26 18:09:56 +00:00
Tanvir
b89cd79d6a
Refactor termux.sh 2023-11-24 01:18:03 +06:00
Tanvir
ae3c4350b5
Refactor start-venv.sh 2023-11-24 01:14:38 +06:00
caryoscelus
28440346b1
Merge pull request #243 from caryoscelus/docker-update
Docker update & minor improvements
2023-11-23 19:02:28 +00:00
caryoscelus
61f0b839ca REAMDE apt dependencies 2023-11-19 22:29:03 +00:00
caryoscelus
9754a3819c
Merge pull request #241 from caryoscelus/always-nonce
Always nonce
2023-11-19 22:27:28 +00:00
caryoscelus
1945f5a0b7 Fix docker compose setup exposing ports to outside world by default 2023-11-19 17:26:50 +00:00
caryoscelus
92eb6c8ca1 Update/rewrite docker files 2023-11-17 23:39:17 +00:00
caryoscelus
47db0898e2 Rewrite untitialized directory detection 2023-11-17 17:57:25 +00:00
caryoscelus
23321bd300 Fix SyntaxWarning: invalid escape sequence 2023-11-17 17:56:28 +00:00
caryoscelus
93ed7418ab Merge branch 'master' into always-nonce 2023-11-16 14:20:30 +00:00
caryoscelus
fc408ef985 Modern browsers all support nonce now so drop checking UA 2023-11-16 14:04:33 +00:00
caryoscelus
38f53edc2b
Merge pull request #239 from caryoscelus/fix-referrer
Rewrite cross-site and cross-host requests detection
2023-11-16 14:01:09 +00:00
caryoscelus
2adb5511ce
Merge pull request #212 from zeronet-conservancy/disable_plugins_in_data
disable plugins in data dir
2023-11-14 23:20:58 +00:00