Commit graph

4447 commits

Author SHA1 Message Date
caryoscelus
b674737f99
Restructure main, split Actions.py, minor clean-up 2024-04-04 13:08:21 +00:00
caryoscelus
bbe577310c
New config/data path management (WIP) 2024-04-04 12:37:47 +00:00
caryoscelus
33436f7eb6
Remove outdated compatibility code 2024-03-31 16:21:52 +00:00
caryoscelus
41ebf510cb
Merge branch 'master' into git-and-newdir 2024-03-31 16:07:41 +00: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
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
d66dafc111
WIP 2023-12-27 13:58: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
caryoscelus
497ad0f4b1 Merge branch 'master' into disable_plugins_in_data 2023-11-14 23:19:52 +00:00
caryoscelus
14e8130acb Rewrite cross-site and cross-host requests detection
Make sure browsers send referrers so we can track cross-site
requests (could be used to identify which sites user hosts)

This breaks /raw because there are no referrers there

fixes #227
fixes #223
fixes #224
2023-11-14 23:11:51 +00:00
caryoscelus
1ba9f2bb56
Merge pull request #234 from caryoscelus/fix-start-dir
Fix start dir
2023-11-08 14:51:06 +00:00
caryoscelus
d62d5495ff
Merge pull request #238 from caryoscelus/fix_get_posted_hang
Fix UiServer.getPosted hanging in some circumstances
2023-11-01 22:47:16 +00:00
caryoscelus
c92b8bc56c Fix UiServer.getPosted hanging in some circumstances
fixes #198

while it's not exactly clear what causes the difference in behaviour,
but under certain conditions UiServer.getPosted used to hang trying
to readline() POST request (e.g. from UiPassword login). using
read(CONTENT_LENGTH) seems to fix the issue
2023-11-01 22:12:14 +00:00
caryoscelus
7fdff749ff
Merge pull request #235 from caryoscelus/no-muted-propagation
Remove and don't update muted users' content
2023-10-30 23:02:54 +00:00
caryoscelus
19056b408a Update gevent to 23.9.0
https://security.snyk.io/vuln/SNYK-PYTHON-GEVENT-5906371
2023-09-21 15:28:05 +00:00
caryoscelus
c9dbc49375 Delete muted content 2023-09-16 12:27:00 +00:00