Commit graph

4187 commits

Author SHA1 Message Date
Vadim Ushakov
e8358ee8f2 More fixes on the way to reliable site updates. 2020-10-31 03:59:54 +07:00
Vadim Ushakov
d1b9cc8261 Redesign the Internet outage detection. Improvements in FileServer threads. 2020-10-30 23:28:16 +07:00
Vadim Ushakov
829fd46781 Redesign the site updating strategy in Site.py, SiteAnnouncer.py, FileServer.py 2020-10-30 14:36:08 +07:00
Vadim Ushakov
adf40dbb6b Refactor SiteAnnouncer.announce 2020-10-29 12:57:16 +07:00
Jabba
4f6833c488
Complete list of binary extensions (#2661) 2020-10-29 03:24:35 +01:00
Tamas Kocsis
e2b1cf3938 Revert "Travis CI: Run a current version of pytest (#2648)"
This reverts commit 147dd4bc35.
2020-10-29 02:49:04 +01:00
Tamas Kocsis
6fcfe5b394 Rev4540, More proper bigfile filtering for OptionalFileList 2020-10-29 02:44:07 +01:00
Tamas Kocsis
12013d64c8 Rev4539, Add more extensions to UiFileManager binary files 2020-10-29 01:38:49 +01:00
Vadim Ushakov
8fd88c50f9 Redesign cleanupSites() and all the related stuff and rename it to periodic maintenance. 2020-10-28 23:38:17 +07:00
Vadim Ushakov
511a90a5c5 Redesign Site.needConnections() 2020-10-28 20:31:48 +07:00
Vadim Ushakov
3ca323f8b0 FileServer: move loadTrackersFile() to a separate thread 2020-10-28 17:56:11 +07:00
Vadim Ushakov
112c778c28 Peer.py: allow overriding the log level
Not a best solution, but with minimal code changes.
2020-10-28 14:53:56 +07:00
Vadim Ushakov
f1d91989d5 SiteAnnouncer: make use of a separate logger instance, not the Site's logger 2020-10-28 14:51:17 +07:00
Vadim Ushakov
b6ae96db5a Implement overriding log levels for separate modules 2020-10-28 14:48:30 +07:00
Vadim Ushakov
3d68a25e13 TrackerShare: refactor 2020-10-27 17:01:40 +07:00
Vadim Ushakov
d4239d16f9 TrackerShare: send my trackers in response to actionGetTrackers even if they don't seem working; add private field for hiding trackers 2020-10-27 12:08:54 +07:00
Jabba
54fb2fde7c
Adding OGG MIME (#2657)
* Adding OGG MIME

Fixing: https://github.com/HelloZeroNet/ZeroNet/issues/2656

* Adding ova and ogv extensions
2020-10-26 15:59:42 +01:00
Christian Clauss
147dd4bc35
Travis CI: Run a current version of pytest (#2648)
Pytest 4 --> 6
2020-10-26 15:47:15 +01:00
Christian Clauss
32c9d5fa70
GitHub Actions upgrade to actions/checkout@v2 (#2650)
* GitHub Actions upgrade to actions/checkout@v2

* Update tests.yml
2020-10-26 15:41:46 +01:00
Vadim Ushakov
b0005026b4 TrackerShare: rename the shared key to trackers key in the json file
and delete the unused `type` parameter
2020-10-26 19:52:35 +07:00
Vadim Ushakov
1f34f477ef TrackerShare: add plugin_info.json 2020-10-26 13:33:25 +07:00
Vadim Ushakov
e33a54bc65 Merge branch 'py3' into plugins 2020-10-26 00:35:00 +07:00
Ivanq
dd08b89c81 Make tests pass on Python 3.5 2020-10-13 20:36:39 +03:00
Ivanq
6770b450b3 Handle src/gevent/... paths 2020-10-13 19:50:08 +03:00
Ivanq
9b2772b171 Use more unique yet short paths for logging 2020-10-13 19:12:46 +03:00
shortcutme
29dac8a188
Rev4538 2020-10-12 13:12:44 +02:00
Ivanq
352da6bf62
Allow sites to request several CORS permissions at once (#2631)
* Allow sites to request several CORS permissions at once

* Fix typo

* Don't wait for CORS site download
2020-10-12 13:00:40 +02:00
Tamas Kocsis
288050e5b4 Rev4537, Add warning on invalid file save in UiFileManager 2020-10-06 17:10:58 +02:00
Tamas Kocsis
785d2351eb Rev4536, Fix Cors permission request for connecting site 2020-10-05 19:02:22 +02:00
Tamas Kocsis
9d1bed11af Rev4533 2020-10-01 17:18:43 +02:00
Tamas Kocsis
b2342e64bd Fix file manager listing height calculation for many files 2020-10-01 17:18:33 +02:00
Tamas Kocsis
dcbfb8afe0 Fix browse files link for not installed domain plugins 2020-10-01 17:17:51 +02:00
Jabba
4b8dfc5114
Update requirements.txt (#2617)
* Update requirements.txt

See: https://github.com/HelloZeroNet/ZeroNet/pull/2616#issuecomment-697341526
2020-09-24 18:24:24 +02:00
Tamas Kocsis
c0baf8b68d Version 0.7.2, Rev4528 2020-09-21 18:28:12 +02:00
Tamas Kocsis
73dc69605b Merge sidebar js, css 2020-09-21 18:26:55 +02:00
Tamas Kocsis
52ed8c18ca Add browse files link to sidebar 2020-09-21 18:26:44 +02:00
Tamas Kocsis
19bc0358b5 Merge UiFileManager js, css 2020-09-21 18:25:53 +02:00
Tamas Kocsis
392350ff79 Codemirror file editor for UiFileManager plugin 2020-09-21 18:25:38 +02:00
Tamas Kocsis
f0b0f57643 UiFileManager plugin 2020-09-21 18:23:28 +02:00
Tamas Kocsis
85790f8866 Check sites on ip change 2020-09-21 18:20:49 +02:00
Tamas Kocsis
ce5b4c3eda Don't non-existent files as bad 2020-09-18 18:45:42 +02:00
Tamas Kocsis
fde3b51129 Formatting 2020-09-18 18:44:42 +02:00
Tamas Kocsis
550d02d473 Retry site update if it was failed last time 2020-09-18 18:44:28 +02:00
Tamas Kocsis
4da89580c1 Don't mark content.json as bad file if update failed 2020-09-18 18:43:54 +02:00
Tamas Kocsis
bf092b83ab Workaround for stuck iframe url in Firefox when using back button 2020-09-18 18:43:25 +02:00
Tamas Kocsis
0309b81695 SiteListModifiedFiles: Give error instead of exception if content file does not exists 2020-09-18 18:42:03 +02:00
Tamas Kocsis
e74fdc4036 Redirect homepage with / at the end 2020-09-09 18:29:53 +02:00
Tamas Kocsis
b9c65d75ef Move error log handler to config object to be able to catch plugin load errors 2020-09-09 18:29:24 +02:00
Tamas Kocsis
49f8e0bc3a Allow link to console tabs 2020-09-09 18:21:09 +02:00
Tamas Kocsis
c4f8c0177e Add mode to tracker announce logging 2020-09-08 19:36:54 +02:00