Commit graph

565 commits

Author SHA1 Message Date
rllola d65c945689 Remove permission api call; prompt notification to confirm removing permission; fix checking if permission is already granted; 2019-10-02 14:05:58 +02:00
shortcutme 93e6ec4933
Fix display site add prompt 2019-09-19 16:32:30 +02:00
shortcutme 1793407748
Png and svg version of the logo 2019-09-15 22:12:03 +02:00
shortcutme 6f0d4a50d1
Add apple touch icon support for Safari 2019-09-15 22:11:51 +02:00
krzotr 55c7585334
Set custom priority in FileNeed and FileGet command
When you use `FileNeed` or `FileGet` command the default priority is set to `6`.
You cannot change that value because is hardcoded.

Now you can set priority of downloading files manually:

```
this.cmd("fileNeed", {
    "inner_path": inner_path + "|all",
    "priority": 10
})
```
2019-09-08 11:51:46 +02:00
Ivanq 5da4537d7c
Fix gevent.Timeout being not caught 2019-09-02 19:34:29 +00:00
shortcutme f999f167b1
Offer access with ip address on invalid host error 2019-09-02 02:10:52 +02:00
shortcutme 9ac96cdd50
Don't leak allowed origins in error message 2019-09-02 02:09:53 +02:00
shortcutme 376fd0d439
Use flags instead of permission list 2019-08-26 03:09:48 +02:00
shortcutme c414e6caa2
Support action async call flag 2019-08-26 03:08:57 +02:00
shortcutme ed7a3b2356
Get action permissions from flag db 2019-08-26 03:02:30 +02:00
shortcutme 248fc5f015
Use re.sub to replace template variables 2019-08-23 03:39:50 +02:00
shortcutme e16611f15a
Allow websocket connection originates from earlier accepted hostnames 2019-08-23 03:39:16 +02:00
Ivanq 24b3651d2e Allow blob: protocol (#2166)
* Allow blob: protocol

* Fix quotes
2019-08-20 12:42:01 +02:00
Ivanq 61ba9848e5 Add --merge_media config option 2019-08-20 08:16:35 +00:00
shortcutme 155d8d4dfd
Rev4188, Allow only white listed values for open_browser 2019-08-19 13:42:49 +02:00
shortcutme b871849df4
Add origin validation to websocket connections 2019-08-18 03:03:02 +02:00
shortcutme 92358bafc0
Wider max notification width to allow blacklist button in same line 2019-08-15 03:06:13 +02:00
shortcutme 39f318fbd5
Add plugin version information to server_info 2019-08-03 01:34:21 +02:00
shortcutme f40c3e6b81
Add notification messages max-width 2019-08-02 20:11:00 +02:00
shortcutme 26678a65f8
Limit notifications max with 2019-08-02 16:15:45 +02:00
Filip Š 5b91aef4ec
Add response to some commands 2019-08-01 19:16:10 +02:00
Filip Š 87b4500467 Fix infinite reloading when system theme changes 2019-07-05 18:43:54 +02:00
Ivanq 33b478199a
Guess content type correctly
Fix e.g. vue.min.js being reported as text/plain instead of text/javascript.
2019-07-04 12:09:07 +03:00
Ivanq 743f92d15e Allow some paths to contain .. but not ../ 2019-07-01 18:17:42 +03:00
shortcutme 40b84755de
Add some fixed content_type 2019-07-01 16:28:37 +02:00
shortcutme 1b307166ee
Formatting 2019-07-01 16:27:40 +02:00
shortcutme 7a483e7912
Add short address to site_info 2019-07-01 16:27:34 +02:00
shortcutme 841230fe80
Call onClosed function if websocket is disconneced 2019-07-01 16:27:20 +02:00
shortcutme 900ae4e1ea
Remove notification about port open status on startup 2019-07-01 16:26:57 +02:00
shortcutme 72b6d6c676
Make wrapper compatible with sidebar console function 2019-07-01 16:26:37 +02:00
shortcutme 62401b24ec
Add r string literal for regexps 2019-07-01 16:24:23 +02:00
Ivanq d278a30d19 Allow sites to lock pointer (#2059)
Add `allow-pointer-lock` to iframe sandbox
2019-06-30 16:39:17 +02:00
shortcutme bb7af2e8ed
Fix closing progress notification at 100% 2019-06-04 16:18:02 +02:00
shortcutme a2d29a4531
Only display sign error if there is no stored privatekey 2019-05-29 16:03:10 +02:00
shortcutme 589869c5ed
Move progress display to separate function 2019-05-29 16:02:34 +02:00
Lola Dam 7262fbfb4e Added optional redirect value for siteClone (#2032)
* Added optional redirect value; see #1891

* Return address of the newly cloned site
2019-05-28 18:05:52 +02:00
Lola Dam 9c0e8ee833 Better error message if private key not stored when assigning (#2033)
* Return a more instructive message in case the privatekey is not found when attempting to sign

* Fix typo
2019-05-28 18:04:49 +02:00
ZeroNet 25d6eea906
Merge pull request #2026 from imachug/js-modules
ECMAScript modules
2019-05-20 17:06:17 +02:00
ZeroNet 4e819ac035
Merge pull request #2025 from imachug/fileneed-timeout
Handle fileNeed timeout
2019-05-20 17:05:23 +02:00
Ivanq ed85981409 Fix JS modules 2019-05-19 15:45:34 +03:00
Ivanq 5d920ff7df Handle gevent.Timeout error 2019-05-19 15:42:11 +03:00
shortcutme 20371895c9
Rev4090, Remove fs paths from error responses 2019-05-02 18:02:56 +02:00
ZeroNet c2ab102c0e
Merge pull request #1999 from filips123/py3
Support for detection of system's theme
2019-04-29 16:35:55 +02:00
Ivanq 4f09a5111b Build wrapper all.js to support web notifications 2019-04-27 18:19:16 +03:00
Filip Š baf820bcdb Support for detection of system's theme 2019-04-26 18:23:25 +02:00
Ivanq 6e58e8d50f Don't require WebNotifications permission 2019-04-26 12:55:33 +03:00
Ivanq 9ddb984004 Rename Push notifications to Web notifications 2019-04-19 22:19:25 +03:00
Ivanq e618c0e9ef Add closePushNotification 2019-04-19 22:19:25 +03:00
Ivanq b55d2b53df Support Notification API 2019-04-19 22:19:25 +03:00