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
ba60f5dc0e
Add basic ipython-based repl via --repl
2023-11-26 18:09:56 +00:00
caryoscelus
47db0898e2
Rewrite untitialized directory detection
2023-11-17 17:57:25 +00:00
caryoscelus
40ae09dca8
py3.8 compat
2023-07-26 07:56:31 +00:00
caryoscelus
615e155043
Merge pull request #219 from caryoscelus/bootstrap
...
Bootstrap 0net trackers on first launch
2023-07-26 07:06:18 +00:00
caryoscelus
d924e9bb2e
fix error handling (was: unbound local variable)
2023-07-24 10:29:25 +00:00
caryoscelus
2b51e23650
Fix importBundle
...
Avoid using SiteManager as initializing it out of order breaks things
2023-07-24 08:21:31 +00:00
caryoscelus
9444e097a6
New command line action: importBundle; load bootstrap bundle on first run
...
- importBundle imports zip archive of sites
- latest bootstrapping bundle is downloaded if data/ dir is empty; primary
reason for this for now is to avoid constantly updating tracker list in
git tree and use Syncronite instead
2023-07-23 21:25:11 +00:00
caryoscelus
c09b5e16c9
sitePublish --recursive option
2023-07-20 16:29:04 +00:00
caryoscelus
e36f7bb3a5
siteSign accepts absolute paths as well as paths relative to working directory
...
- also store working_dir in config so it's possible to use from other
actions as well
fixes #209
2023-07-02 03:40:11 +00:00
caryoscelus
9a3fd95636
comments
2022-09-19 12:13:12 +00:00
caryoscelus
e4b491996f
Merge pull request #158 from zeronet-conservancy/keep_browser_process_alive
...
keep browser process alive
2022-09-08 14:23:36 +00:00
caryoscelus
09bb67d904
keep browser process alive
2022-09-08 12:08:14 +00:00
caryoscelus
39042c5283
allow only passing port as tor_* parameters
...
fixes #153
2022-09-07 19:31:55 +00:00
caryoscelus
f7b009099a
consolidate & fix open browser behaviour
2022-09-06 16:04:58 +00:00
caryoscelus
9c74871d39
show help if exception is thrown early in startup
2022-07-30 23:10:42 +00:00
caryoscelus
8509a3c644
don't fail when plugin options are provided
...
fix regression introduced in 8913363ca8
fixes #142
2022-07-30 10:16:03 +00:00
caryoscelus
8913363ca8
minor code improvements
...
fixes #138
2022-07-26 19:57:14 +00:00
Tamas Kocsis
48455e3e45
Better cli test output
2020-11-03 02:52:50 +01:00
Tamas Kocsis
6c1abf4004
Don't switch to libev for newer versions of gevent
2020-09-04 17:49:23 +02:00
shortcutme
51f49cd45a
Always use libev if possible
2019-12-17 14:25:04 +01:00
shortcutme
eb63eb7b1d
Log startup errors in log file
2019-12-17 14:24:44 +01:00
shortcutme
39352eb97e
Fix test function listing name
2019-11-19 02:08:03 +01:00
shortcutme
16162955af
New cli test action
2019-11-19 01:47:06 +01:00
shortcutme
a187726ba8
Formatting
2019-11-19 01:40:39 +01:00
shortcutme
1f453b6c13
Rev4253, Hotfix siteCreate CLI
2019-10-30 03:09:28 +01:00
shortcutme
ee8e3c3c9c
Use master_seed for siteCreate CLI by default
2019-10-30 03:07:06 +01:00
shortcutme
1e1e560795
Use master seed to create new site from cli
2019-10-30 02:30:01 +01:00
shortcutme
0b04176f18
Rev4203, Change console encoding to utf8 on Windows
2019-09-03 12:00:25 +02:00
shortcutme
8537939d26
Disable UDP in proxy mode
2019-08-17 20:34:04 +02:00
shortcutme
429043f60c
CLI peerPing command display connection encryption info only once
2019-08-15 03:09:53 +02:00
Lola Dam
753396ac0c
Try and catch block for dbRebuild ( #2047 )
...
* Try and catch block for dbRebuild
* Use self.log.error and not logging
* Use self.log.error and not logging in SiteStorage also
* Check if the rebuild is working
2019-06-23 14:21:50 +02:00
Ivanq
9119d72b9b
Fix calling start.py to reopen browser ( #2029 )
...
* Fix calling start.py to reopen browser
* Move below
2019-05-24 16:36:29 +02:00
cclauss
8962c16670
Declare 'err' because Python 3 has stricter scoping rules
...
I Python 3, __err__ will go out of scope after the __try / except__ block. This change preserves the value after the end of the __try / except__ block.
2019-05-17 12:33:10 +02:00
radfish
f6e3a74567
[setuptools packaging] access modules via imports ( #1969 )
2019-04-15 12:31:33 +02:00
shortcutme
8a38983dfc
Better logging of ws connection for siteCmd CLI action
2019-04-12 15:02:04 +02:00
shortcutme
9f5600b7f7
Rev4057, Log invalid result from websocket
2019-04-11 16:33:36 +02:00
shortcutme
21536b8948
More clear logging when pinging unencrypted connections
2019-04-10 19:59:37 +02:00
shortcutme
17bbeefeca
Fix getWebsocket
2019-04-10 14:57:06 +02:00
shortcutme
9050f1a039
Show crypto cipher on peerPing command
2019-03-27 03:09:28 +01:00
shortcutme
4aee7a6c61
Make openLocked always return BlockingIOError on fail
2019-03-20 01:05:52 +01:00
shortcutme
91c5556f21
Remove old gevent compatibility patches
2019-03-16 02:05:27 +01:00
shortcutme
b0b9a4d33c
Change to Python3 coding style
2019-03-15 21:06:59 +01:00
shortcutme
4e56fe9fc3
Fix sitePublish CLI command if no client is running
2019-02-09 13:56:44 +01:00
shortcutme
1b612f7112
Check master seed length for cryptGetPrivatekey CLI command
2019-01-29 03:03:42 +01:00
shortcutme
c77e403f27
Logging init refactor, log rotate support
2018-11-08 01:32:31 +01:00
redfish
e6f0a86c5a
main: logging: do not override the warn level
...
This fixes the very annoying problem where the log messages with
level WARNING are not printed, while log messages with lower
level INFO are printed. This is very confusing behavior and should
be avoided. This was due to this override. If there is too much
logging output in debug mode, then let's deescalate the level
of the frequently-printed log messages down to DEBUG level.
2018-08-02 23:40:44 +00:00
shortcutme
656f48b354
Support open_browser disable even if it's started with start.py
2018-07-10 03:37:38 +02:00
shortcutme
5aab10fab2
Support client restart without updating
2018-07-10 03:28:02 +02:00
shortcutme
ec05e6864a
Rev3502, Start fileserver to new greenlet to fix siteDownload and siteAnnounce CLI action
2018-07-02 15:42:16 +02:00