Commit graph

1982 commits

Author SHA1 Message Date
shortcutme
5b50a113d1
Rev3735, certList admin command 2018-11-30 15:56:20 +01:00
shortcutme
fe52cc7797
Rev3734 2018-11-29 14:33:45 +01:00
shortcutme
a863c743c4
Rev3729 2018-11-27 11:30:41 +01:00
shortcutme
62d3b6a3f2
Remove not used variables in getStartDir 2018-11-27 11:30:22 +01:00
shortcutme
e435274329
Convert win-style path to unix-style path for log and data dir 2018-11-27 11:29:55 +01:00
shortcutme
55380298f1
Rev3728 2018-11-26 00:21:22 +01:00
shortcutme
55e2a2fd5d
Source code reloader only once in every 5 seconds 2018-11-26 00:13:21 +01:00
shortcutme
eecc257822
Make unknown site request a bad action everywhere 2018-11-26 00:12:54 +01:00
shortcutme
36f2998c91
Test if js works in raw and normal mode 2018-11-26 00:12:12 +01:00
shortcutme
131926cad8
Make current url getting compatible with chromedriver 2018-11-26 00:11:58 +01:00
shortcutme
d588327c1c
Change wget to getUrl 2018-11-26 00:11:25 +01:00
shortcutme
68c7f502b4
Use chromedriver instead of phantomjs for testing 2018-11-26 00:10:43 +01:00
shortcutme
06fa669f8c
Test escaping in translation underline helper 2018-11-26 00:09:46 +01:00
shortcutme
d3885eefda
Automatically escape all variables in translation underline func helper 2018-11-26 00:09:24 +01:00
shortcutme
74e551cf1a
Escape error messages 2018-11-26 00:08:41 +01:00
shortcutme
a1333d8d6b
Detailed log certSelect error messages 2018-11-26 00:08:22 +01:00
shortcutme
3dfb40b57e
Use redirect after cloning the site 2018-11-26 00:07:23 +01:00
shortcutme
316cd7710f
Use injectScript in certSelect 2018-11-26 00:07:08 +01:00
shortcutme
cbefc5b81e
Merge wrapper js 2018-11-26 00:05:17 +01:00
shortcutme
233e161327
New injectScript and redirect command for UiServer 2018-11-26 00:05:04 +01:00
shortcutme
7cbbc33319
Expose script nonce for wrapper js obj 2018-11-26 00:04:06 +01:00
shortcutme
61cc0a1864
Add nonce attribute to all scripts in wrapper 2018-11-26 00:03:21 +01:00
shortcutme
99f01475a0
Disallow unknown script by using csp header for wrapper 2018-11-26 00:02:35 +01:00
shortcutme
481e029600
Rev3707 2018-11-21 19:28:43 +01:00
shortcutme
5ff22467a6
Sanitize error message 2018-11-21 19:28:30 +01:00
shortcutme
224a354480
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet 2018-11-21 03:37:10 +01:00
shortcutme
18cdf5d89d
Rev3704 2018-11-21 03:37:05 +01:00
shortcutme
293afa6059
Replace dead trackers 2018-11-21 03:36:55 +01:00
shortcutme
06fbcde815
Fix setLocalStorage call before websocket connection 2018-11-21 03:32:12 +01:00
shortcutme
4195a72621
Only create default json table if it's not defined in dbschema 2018-11-21 03:31:12 +01:00
mymage
5f5d4d7987
Update it.json
Some fixes
2018-11-12 20:46:42 +01:00
shortcutme
090d1e900e
Rev3703 2018-11-08 01:37:01 +01:00
shortcutme
d0f9d4de02
Fix invalid user auth address matching 2018-11-08 01:36:12 +01:00
shortcutme
6bc1ac1156
Support pattern based cert signers 2018-11-08 01:35:15 +01:00
shortcutme
c77e403f27
Logging init refactor, log rotate support 2018-11-08 01:32:31 +01:00
shortcutme
5178a288ca
Fix error message testing 2018-11-08 01:31:23 +01:00
shortcutme
7c6702057d
Test invalid cert user id 2018-11-08 01:30:56 +01:00
shortcutme
c1aad3882c
Test signers pattern 2018-11-08 01:30:32 +01:00
shortcutme
8cf30893f2
Don't close idle db connection during rebuild 2018-11-08 01:20:33 +01:00
shortcutme
da9af181dd
Support accepted_pattern for certSelect API call 2018-11-08 01:16:08 +01:00
shortcutme
92e3c028bb
Make cert domains case sensitive 2018-11-08 01:12:27 +01:00
shortcutme
cf7d194dbf
Remove missing optional files from content.json on cloning 2018-11-07 22:48:35 +01:00
shortcutme
d9f851f0c1
Rev3688 2018-10-30 04:50:24 +01:00
shortcutme
9590dce8a4
Return ok for site clone, Fix typo in comment 2018-10-30 04:49:42 +01:00
shortcutme
5af77449fa
Move html variable replacement for new function, add site_modified variable, don't send length header for html files 2018-10-30 04:49:11 +01:00
shortcutme
2c39ab01ea
ZeroNet logo for fixbutton 2018-10-30 04:47:19 +01:00
shortcutme
035d70cf57
Spawn site announce to new async line 2018-10-30 04:44:43 +01:00
shortcutme
8c76e258d7
Give 10 second timeout for reannounce 2018-10-30 04:43:58 +01:00
shortcutme
f05c7ffbfa
Fix parsing invalid files for db 2018-10-30 04:43:21 +01:00
shortcutme
a49fcb0176
Fix verification for files without sign 2018-10-30 04:41:45 +01:00
shortcutme
87503b875a
Set timeout for connection 2018-10-30 04:41:11 +01:00
shortcutme
d89d770e73
Log less precise time for connection cleanup 2018-10-30 04:41:02 +01:00
shortcutme
083d64d151
Add site to connection log 2018-10-30 04:40:34 +01:00
shortcutme
538de08c07
Rev3673, Fix sidebar input fields on mobile 2018-10-24 13:59:10 +02:00
shortcutme
f540645d80
Rev3672, Fix Config page fileserver port changing 2018-10-24 13:31:42 +02:00
ZeroNet
0ed1499d02
Merge pull request #1730 from krixano/patch-2
Import Debug in Db/Db.py
2018-10-20 15:38:26 +02:00
shortcutme
5158a710dc
Rev3671, Fix theme with multiuser plugin 2018-10-20 13:34:49 +02:00
Christian Seibold
413b6cc43c
Import Debug in Db/Db.py 2018-10-20 01:58:35 -05:00
shortcutme
82a10f2558
Version 0.6.4, Rev3670 2018-10-20 02:36:29 +02:00
shortcutme
b97acb3174
Dark theme for loading screen 2018-10-20 02:36:08 +02:00
shortcutme
451976c3c8
Support themeclass variable in html files 2018-10-20 02:35:48 +02:00
shortcutme
8e6494c451
Remove unused code, junk lines 2018-10-20 02:34:26 +02:00
shortcutme
3579f9e0c4
Support global user settings 2018-10-20 02:28:58 +02:00
shortcutme
39d442a05d
Fix getConnectablePeers for low peer sites 2018-10-20 02:26:29 +02:00
shortcutme
0045206735
Merge UI js 2018-10-20 02:22:38 +02:00
shortcutme
7f46767411
Fix undefined in title 2018-10-20 02:22:29 +02:00
shortcutme
5414691f1f
Remove unnnecessary debug 2018-10-20 02:22:20 +02:00
shortcutme
13731fb094
Rename jquery easings file 2018-10-20 02:21:54 +02:00
rllola
93d6129732 Make it compaticle with pyinstaller for browser build 2018-10-16 07:12:57 +02:00
ZeroNet
776e214789
Merge pull request #1690 from ZeroNetPlus/jquery
[Ready to be merged] Updated jQuery
2018-10-15 17:29:08 +02:00
shortcutme
d8f6621c7d
Rev3660 2018-10-15 13:19:41 +02:00
shortcutme
aca2b4423e
Fix zh-tw lang detection 2018-10-15 13:19:33 +02:00
shortcutme
204e3f8e3e
Change unreliable tracker 2018-10-15 13:19:16 +02:00
shortcutme
171e5d3766
Fix typo on optional file deletion 2018-10-15 13:15:11 +02:00
shortcutme
46535cc7a8
File deletion based on type 2018-10-15 13:14:43 +02:00
shortcutme
c12454a8e9
Don't delete pinned file if it removed by owner 2018-10-15 13:09:43 +02:00
shortcutme
1fc364fa07
Remove unused lines from dbCursor 2018-10-15 13:01:44 +02:00
shortcutme
f275ba36a1
Skip table creation on error 2018-10-15 13:01:17 +02:00
shortcutme
1aa741a25b
Always change db cursor settings 2018-10-15 13:01:04 +02:00
shortcutme
6b2f619096
Fix updateHashfield optional file detection 2018-10-15 12:59:28 +02:00
shortcutme
f74ddc1010
Don't delete connecting sites at startup 2018-10-15 12:59:04 +02:00
shortcutme
6a240919bf
Test archived before 2018-10-15 12:58:39 +02:00
shortcutme
2518867d50
Allow to also list connecting site with siteList API command 2018-10-15 12:58:14 +02:00
shortcutme
046b95d5b1
Rev3620 2018-10-08 15:35:32 +02:00
shortcutme
12dab27729
Skip tracker status with no value yet 2018-10-08 15:34:40 +02:00
Christian Seibold
2d437975a8
Add allow presentation to iframe
Allows zites to use the Presentation API
2018-10-07 20:01:30 -05:00
Daniell Mesquita
a9502a11d6 Update jQuery easing
Signed-off-by: Daniell Mesquita <daniellplasmmer@gmail.com>
2018-10-07 15:03:11 -03:00
Daniell Mesquita
6aa502b1a5 Updated jQuery
Signed-off-by: Daniell Mesquita <daniellplasmmer@gmail.com>
2018-10-07 15:00:02 -03:00
shortcutme
befed2200e
Rev3619 2018-10-05 15:09:35 +02:00
shortcutme
402e6e7433
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet 2018-10-04 15:44:27 +02:00
shortcutme
6592906d0d
Rev3618 2018-10-04 15:44:07 +02:00
shortcutme
c70e3bb3dd
Add comment to detection of Android float issue 2018-10-04 15:43:12 +02:00
shortcutme
b089355b5a
Fix detaction of pt-br system language 2018-10-04 15:42:45 +02:00
shortcutme
00cf1badfc
Fix error on invalid cli action 2018-10-04 15:42:11 +02:00
shortcutme
07159ea5df
Remove invalid characters from language setting 2018-10-04 15:41:28 +02:00
ZeroNet
d1387e50e2
Merge pull request #1643 from DaniellMesquita/patch-3
Update pt-br.json
2018-10-02 18:33:17 +02:00
shortcutme
4e4dc30a91
Rev3616 2018-09-30 21:57:14 +02:00
shortcutme
e46cb2f240
Fix content type indentification 2018-09-30 21:55:48 +02:00
shortcutme
9fee86df59
Always return lower cased content type 2018-09-30 21:54:50 +02:00
Daniell Mesquita
60091a2b5e
Update pt-br.json 2018-09-22 16:08:07 -03:00
shortcutme
15c09a0f03
Rev3612 2018-09-21 20:40:38 +02:00
tangdou1
807d461289
Fix bootstrapper is blocked by itself
Make the bootstrapper server can add its own ip and port in its own bootstrapper.db as a peer.
2018-09-21 14:05:27 +08:00
shortcutme
e033b72942
Rev3611 2018-09-21 02:19:01 +02:00
shortcutme
98b476de71
Load current users before creating a new one 2018-09-21 02:18:29 +02:00
shortcutme
2a1849d027
Rev3609, Don't validate valid pattern in UiConfig if the field is hidden 2018-09-17 17:48:15 +02:00
shortcutme
d04b759913
Allow more time inaccuracy for noparallel test 2018-09-17 15:40:44 +02:00
shortcutme
2772e705ae
Rev3608 2018-09-17 15:34:03 +02:00
shortcutme
53a40fa914
Stop worker if the file is not required anymore 2018-09-17 15:32:32 +02:00
shortcutme
86d1d4898a
Remove task on file write error 2018-09-17 15:31:10 +02:00
shortcutme
e4af2d5e86
Pick up task that is taken by idle peer 2018-09-17 15:30:48 +02:00
shortcutme
d124e2ed15
Support deletion of of all user submitted content that is older than specified date 2018-09-17 15:30:02 +02:00
shortcutme
00c9c14efb
Support listmodified before and after argument 2018-09-17 15:28:53 +02:00
shortcutme
6fc66b7b13
Move file forgot to separate function 2018-09-17 15:27:29 +02:00
shortcutme
9658c2d553
Stop downloadcontent pool if reached 95% of site limit 2018-09-17 15:27:11 +02:00
shortcutme
577761a6bb
Add cache to default settings 2018-09-17 15:25:17 +02:00
shortcutme
6c610c509f
Rename RemoveGoodFileTasks to RemoveSolvedFileTasks and add result argument 2018-09-17 15:24:44 +02:00
shortcutme
54efe5a351
Rev3597 2018-09-13 03:12:29 +02:00
shortcutme
8594fa8199
Don't try to load english translation files 2018-09-13 03:12:02 +02:00
shortcutme
84ab076fe8
Rev3594 2018-09-07 11:34:11 +02:00
shortcutme
57f3cee390
Fix fileGet return when file is not existent 2018-09-07 11:33:57 +02:00
shortcutme
714aea2e27
RequestFullscreen API does not requires confirmation anymore as you can call it directly 2018-09-07 11:33:40 +02:00
shortcutme
52081f4a2a
Make Accept a problematic string as it brokes jquery script loading 2018-09-07 11:32:44 +02:00
shortcutme
b88b422e2f
Rev3591 2018-09-06 00:57:21 +02:00
shortcutme
d3499e71ef
FileGet use return function instead of calling response 2018-09-06 00:56:36 +02:00
shortcutme
c7d94548be
Support returning empty list as reponse 2018-09-06 00:55:54 +02:00
shortcutme
317bd2fcec
Rev3588 2018-09-05 14:34:00 +02:00
shortcutme
b06ba06f40
Add timecorrection to server info 2018-09-05 14:33:31 +02:00
shortcutme
dc52a8a08b
Use shared file_server object when generating server info for websocket 2018-09-05 14:33:21 +02:00
shortcutme
5f1e7ffd0c
Correct sent time with timecorrection value 2018-09-05 14:32:43 +02:00
shortcutme
21a80650b0
Cache timecorrection value 2018-09-05 14:32:23 +02:00
shortcutme
3b7ec3d913
Lowercased Timecorrection function 2018-09-05 14:32:01 +02:00
shortcutme
8692ea1a74
Rev3585 2018-09-04 15:44:23 +02:00
shortcutme
a5c25ce438
Dont add removed trackers to announcer stats 2018-09-04 15:43:52 +02:00
shortcutme
12d494bf38
Limit peer reputation increase from tracker 2018-09-04 15:43:20 +02:00
shortcutme
a97f5a8488
Rev3582 2018-09-02 02:34:47 +02:00
shortcutme
a4224555d2
Increase gzipped json file size limit 2018-09-02 02:33:44 +02:00
shortcutme
4fe33268ac
Don't allow parallel rebuild 2018-09-02 02:24:07 +02:00
shortcutme
b84abea670
Order more peers for connected peers simply by reputation 2018-09-02 02:23:46 +02:00
shortcutme
a5fcc7d65f
Sort recent peers by reputation 2018-09-02 02:23:19 +02:00
shortcutme
313d9a4ef9
Need less peer sites with less peers 2018-09-02 02:23:06 +02:00
shortcutme
658aace8f1
Increase peer reputation when found by tracker 2018-09-02 02:22:35 +02:00
shortcutme
49562d43c3
Change peer reputation on connection success and error 2018-09-02 02:22:21 +02:00
shortcutme
4241b62760
Log peer reputation on connect 2018-09-02 02:21:48 +02:00
shortcutme
47fcee4df8
Limit peer reputation 2018-09-02 02:21:38 +02:00
shortcutme
3869cb9bf3
Show incoming and outgoing connection separatley in stats page 2018-09-02 02:19:51 +02:00
shortcutme
1ce87ecfa8
Rev3576 2018-08-29 19:58:33 +02:00
shortcutme
6edabeeecc
Log hashfield query time 2018-08-29 19:55:50 +02:00
shortcutme
b96559b76f
Reduce connection requirements on startup 2018-08-29 19:55:04 +02:00
shortcutme
3a9ded9315
On startup don't run more than 5 checkSite at the same time 2018-08-29 19:54:31 +02:00
shortcutme
ee97eb6d27
Calculate media time correction from connections 2018-08-29 19:53:44 +02:00
shortcutme
16f7dafcdf
Only record offline internet if there was message received before 2018-08-29 19:53:24 +02:00
shortcutme
1cce926ef8
Record handshake time for connections 2018-08-29 19:52:55 +02:00
shortcutme
b45bbff97c
Rev3571 2018-08-27 11:51:07 +02:00
shortcutme
23284e1f35
Reduce the reannounce to unreliable trackers not just single announces 2018-08-27 11:50:53 +02:00
shortcutme
030ad0a8de
Rev3568 2018-08-26 22:58:56 +02:00
shortcutme
71d05a6fc2
Global stats to reduce tracker request for unreliable trackers 2018-08-26 22:58:27 +02:00
shortcutme
867cf478b1
Log tracker request mode on error 2018-08-26 22:57:34 +02:00
shortcutme
b43a05b662
Don't increase request tracker number before actually sending it 2018-08-26 22:57:09 +02:00
shortcutme
92db3878cf
Don't include skipped trackers to report 2018-08-26 22:56:46 +02:00
shortcutme
b6d11d6be3
Fix request number counting with zero trackers 2018-08-26 22:56:20 +02:00
shortcutme
669572b0e6
Fix udp tracker lib error reporting 2018-08-26 22:55:31 +02:00
shortcutme
5887f90202
Wait handshake done before sending other request to connections 2018-08-26 22:54:45 +02:00
shortcutme
0b38d73cc5
AnnounceZero return None on skipped announce due batching 2018-08-26 22:52:21 +02:00
shortcutme
ecbf230293
Fix site update on non existent sites 2018-08-26 22:44:55 +02:00
shortcutme
839b63e389
Tracker stat skip data with no status information 2018-08-26 22:44:31 +02:00
shortcutme
73078531aa
Rev3565 2018-08-26 02:58:05 +02:00
shortcutme
c5c3f7a667
Don't reannounce site if just added 2018-08-26 02:57:02 +02:00
shortcutme
8738817eab
Fix tor logging on message fail 2018-08-26 02:56:41 +02:00
shortcutme
33877c73bb
Test tracker address validity 2018-08-26 02:56:24 +02:00
shortcutme
0e3698fa2f
Announce to next tracker on fail 2018-08-26 02:55:08 +02:00
shortcutme
65f48800b9
Allow tracker list to be extended by plugins 2018-08-26 02:53:39 +02:00
shortcutme
7738e6a381
Fix tracker annonce sleeping formatting 2018-08-26 02:53:15 +02:00
shortcutme
ca3b01f898
Allow tracker connection to loopback to same client 2018-08-26 02:52:42 +02:00
shortcutme
e05c432d14
Store if it's tracker connection on connect 2018-08-26 02:52:23 +02:00
shortcutme
efd1efad4d
Rev3550 2018-08-16 16:23:04 +02:00
shortcutme
b2ea4c758d
Handle error on file listing API calls 2018-08-16 16:22:17 +02:00
shortcutme
879eb6295d
BigFile lock seek and read until previous request finished, fix seek relative to bigfile end 2018-08-16 16:20:11 +02:00
shortcutme
f5ab2f63c0
Rev3546 2018-08-13 02:45:02 +02:00
shortcutme
c89170a22d
Allow first local ip find method to fail 2018-08-13 02:44:50 +02:00
redfish
9bd10d5102 TorManager: correct the Tor error log message
On Linux, there is no self-bundled Tor, so the message was not correct
because it was stating that self-bundled Tor was being started.
2018-08-02 23:47:24 +00:00
redfish
4c62840cef TorManager: escalate log error for Tor auth
This errorr is fatal for Tor usage (on Linux). Let's make escalate
it. Also see the previous commit, without which, this error doesn't
even get printed at all.
2018-08-02 23:42:50 +00: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
f33350a4ef
Rev3542, Trackers file path always relative to executable 2018-07-21 04:25:40 +02:00
shortcutme
a357b021ba
Rev3540 2018-07-19 20:44:25 +02:00
shortcutme
f7099b2bc7
Load trackers file on startup 2018-07-19 20:43:46 +02:00
shortcutme
8d3b1d10d2
Fix typo 2018-07-19 20:43:33 +02:00
shortcutme
f143000f4a
Fix parsing udp trackers with request path 2018-07-19 20:43:14 +02:00
shortcutme
7954caf957
Force reannounce not yet download site on refresh 2018-07-19 20:42:53 +02:00
shortcutme
6e1f4fada9
Rev3537, Allow to add peers to site with get request 2018-07-17 02:09:14 +02:00
shortcutme
113e7e0d3d
Rev3535 2018-07-16 01:56:37 +02:00
shortcutme
ea619ce99a
Fix tor disabling for tests 2018-07-16 01:56:19 +02:00
shortcutme
d772280147
Global announcer statistics admin API call 2018-07-16 01:48:27 +02:00
shortcutme
7475fa69fa
Support custom proxy for tracker connections 2018-07-16 01:47:49 +02:00
shortcutme
ec8b53263c
Store last announce error time 2018-07-16 01:36:23 +02:00
shortcutme
0f567385a8
Only check size on file request for smaller files 2018-07-16 01:35:35 +02:00
shortcutme
b1575a979e
Rev3524, Fix saving for single line config values 2018-07-10 04:00:16 +02:00
shortcutme
d677eb1698
Rev3523 2018-07-10 03:46:05 +02:00
shortcutme
71ad1d9906
Properly handle saving on multiline config settings 2018-07-10 03:45:57 +02:00
shortcutme
731b79fc6c
Store copy of variables of list config items to be able to read the original value 2018-07-10 03:45:33 +02:00
shortcutme
e001448adb
Add config link to loading screen 2018-07-10 03:43:57 +02:00