CalDescent
0a1ab3d685
Added GET_QDN_RESOURCE_METADATA action.
2023-04-28 10:57:04 +01:00
CalDescent
1ce2dcfb2b
Fixed bug which prevented qortal:// URLs from working properly in most cases.
2023-04-25 08:33:33 +01:00
CalDescent
16dc23ddc7
Added new actions to gateway handler.
2023-04-21 21:45:16 +01:00
CalDescent
111ec3b483
Fixed typo
2023-04-21 20:05:24 +01:00
CalDescent
db4a9ee880
Return "Resource does not exist" error if requesting a non-existent resource via GET_QDN_RESOURCE_URL.
2023-04-21 19:50:01 +01:00
CalDescent
b1ebe1864b
Fixed bug in error handling.
2023-04-21 19:27:24 +01:00
CalDescent
560282dc1d
Added "exactMatchNames" parameter to GET /arbitrary/resources/search
2023-04-21 12:55:59 +01:00
CalDescent
3f00cda847
"nameListFilter" added to LIST_QDN_RESOURCES
and SEARCH_QDN_RESOURCES
Q-Apps actions.
2023-04-15 16:02:25 +01:00
CalDescent
61b7cdd025
Added "followedonly" and "excludeblocked" params to GET /arbitrary/resources
and GET /arbitrary/resources/search
, as well as LIST_QDN_RESOURCES
and SEARCH_QDN_RESOURCES
Q-Apps actions.
2023-04-15 15:24:10 +01:00
CalDescent
ed05560413
Gateway auth alert box replaced with a modal overlay in the lower right hand corner of the screen.
2023-04-15 10:11:33 +01:00
CalDescent
892b667f86
Fixed console errors seen in certain cases.
2023-04-15 09:57:26 +01:00
CalDescent
20893879ca
Allow multiple name parameters to optionally be included in GET /arbitrary/resources/search
...
Also updated SEARCH_QDN_RESOURCES action, to allow multiple names to be optionally specified via the "names" parameter.
2023-04-14 17:17:05 +01:00
CalDescent
e2a2a1f956
Fixed bug with GET_QDN_RESOURCE_URL action.
2023-04-11 19:03:56 +01:00
CalDescent
7f53983d77
Added support for hash routing in URL shown in address bar.
2023-04-09 18:21:19 +01:00
CalDescent
3296779125
Update address bar when navigating within an app.
2023-04-09 17:11:20 +01:00
CalDescent
4835e5732d
Fixed issue which caused UI to lock up when using qortalRequest()
2023-04-02 10:06:02 +01:00
CalDescent
85735fabb2
Block external links.
2023-03-31 13:03:46 +01:00
CalDescent
3109c3bb16
Increased timeouts to 5 mins for various actions that require the user to confirm.
2023-03-29 18:47:03 +01:00
CalDescent
929d0ac897
Added "name" filter to GET /arbitrary/resources
and LIST_QDN_RESOURCES
.
2023-03-24 10:31:35 +00:00
CalDescent
bc026d9d1c
Merge branch 'master' into q-apps
2023-03-22 21:48:18 +00:00
CalDescent
668be633c4
arbitraryOptionalFeeTimestamp set to Friday, 31st March 2023 at 16:00:00
2023-03-22 19:58:51 +00:00
CalDescent
2a7a2d3220
Added gateway-specific Q-Apps handler. For now, just show a warning alert if an app requires authentication / interactive features.
2023-03-19 10:41:37 +00:00
CalDescent
713fd4f0c6
Added GET_QDN_RESOURCE_PROPERTIES
Q-App action.
2023-03-19 08:56:06 +00:00
CalDescent
534a44d0ce
Fixed bugs with URL building.
2023-03-17 22:58:14 +00:00
CalDescent
469c1af0ef
Added new search features to the SEARCH_QDN_RESOURCES action.
...
Existing action renamed to LIST_QDN_RESOURCES, which is an alternative for listing QDN resources without using a search query.
2023-03-17 22:11:34 +00:00
CalDescent
b5ce8d5fb3
Merge branch 'master' into q-apps
...
# Conflicts:
# src/main/java/org/qortal/api/resource/ArbitraryResource.java
2023-03-10 14:03:08 +00:00
CalDescent
3739920ad3
Added support for an optional fee in arbitrary transactions, to give the option for data to be published instantly (i.e. no proof of work / mempow required when fee is sufficient).
...
Takes effect at a future undecided timestamp.
2023-03-06 13:17:48 +00:00
CalDescent
94f14a39e3
Ensure theme is transferred when visiting a linked resource.
2023-03-03 18:16:35 +00:00
CalDescent
b254ca7706
Added support for optional Base64 encoding in FETCH_QDN_RESOURCE.
2023-03-03 15:39:37 +00:00
CalDescent
8e2dd60ea0
Increased default timeout for GET_USER_ACCOUNT from 30 seconds to 1 hour, to give the user more time to grant permissions.
2023-03-03 13:20:17 +00:00
CalDescent
b17035c864
Escape QDN vars and prefix with underscores.
2023-03-03 11:57:07 +00:00
CalDescent
64cd21b0dd
Merge branch 'master' into q-apps
2023-02-28 22:03:19 +00:00
CalDescent
5b7e9666dc
Send URL updates to the UI when pages are loaded.
2023-02-17 15:40:06 +00:00
CalDescent
600f98ddab
Fixed bug in extractComponents()
2023-01-29 13:38:08 +00:00
CalDescent
eb07e6613f
Fixed small bug
2023-01-29 13:23:12 +00:00
CalDescent
4d9cece9fa
Timeouts are specified by action, rather than using 10 second for every request. This allows certain requests to wait for longer before timing out, such as ones that create transactions.
2023-01-29 13:07:26 +00:00
CalDescent
8beffd4dae
Switched to document.querySelectorAll() as otherwise we were only intercepting the first image on the page.
2023-01-29 12:12:47 +00:00
CalDescent
566c6a3f4b
Added support for img src updates from a Q-App.
...
Example:
document.getElementById("logo").src = "qortal://thumbnail/QortalDemo/qortal_avatar";
2023-01-29 12:04:39 +00:00
CalDescent
7af551fbc5
Added "GET_QDN_RESOURCE_URL" Q-Apps action, to allow a website/app to programmatically determine the URL to retrieve any QDN resource it needs to access.
...
Examples:
### Get URL to load a QDN resource
```
let url = await qortalRequest({
action: "GET_QDN_RESOURCE_URL",
service: "THUMBNAIL",
name: "QortalDemo",
identifier: "qortal_avatar"
// path: "filename.jpg" // optional - not needed if resource contains only one file
});
```
### Get URL to load a QDN website
```
let url = await qortalRequest({
action: "GET_QDN_RESOURCE_URL",
service: "WEBSITE",
name: "QortalDemo",
});
```
### Get URL to load a specific file from a QDN website
```
let url = await qortalRequest({
action: "GET_QDN_RESOURCE_URL",
service: "WEBSITE",
name: "AlphaX",
path: "/assets/img/logo.png"
});
```
2023-01-29 11:44:59 +00:00
CalDescent
6ba6c58843
Added support for qortal:// protocol links when loading images from the DOM.
...
Example: <img src="qortal://THUMBNAIL/QortalDemo/qortal_avatar" />
2023-01-29 11:18:00 +00:00
CalDescent
42f2d015b7
Merge branch 'master' into german
2023-01-28 20:22:02 +00:00
CalDescent
2181ece28d
Merge pull request #89 from lexandr0s/patch-2
...
Update ApiError_ru.properties
2023-01-28 20:21:13 +00:00
CalDescent
03a5d0e5f9
Merge pull request #88 from lexandr0s/patch-1
...
Update SysTray_ru.properties
2023-01-28 20:21:00 +00:00
CalDescent
352f094272
Merge pull request #99 from Nuc1eoN/polish-translation
...
Add polish translation
2023-01-28 20:20:35 +00:00
CalDescent
9c58faa7c2
Added LINK_TO_QDN_RESOURCE support in the gateway.
2023-01-28 18:36:55 +00:00
CalDescent
3cdfa4e276
Increased loading screen refresh interval from 1s to 2s.
2023-01-28 18:03:00 +00:00
CalDescent
380ba5b8c2
Show "File not found" on the loading screen when navigating to a non-existent resource.
2023-01-28 18:01:52 +00:00
CalDescent
37b20aac66
Upgraded rendering to support identifiers, as well as single file resources.
...
This allows any QDN resource (e.g. an IMAGE) to be linked to from a website/app and then rendered on screen. It isn't yet supported in gateway or domain map mode, as these need some more thought.
2023-01-28 16:55:04 +00:00
CalDescent
46e8baac98
Added linking between QDN websites / apps.
...
The simplest way to link to another QDN website is to include a link with the format:
<a href="qortal://WEBSITE/QortalDemo">link text</a>
This can be expanded to link to a specific path, e.g:
<a href="qortal://WEBSITE/QortalDemo/minting-leveling/index.html">link text</a>
Or it can be initiated programatically, via qortalRequest():
let res = await qortalRequest({
action: "LINK_TO_QDN_RESOURCE",
service: "WEBSITE",
name: "QortalDemo",
path: "/minting-leveling/index.html" // Optional
});
Note that qortal:// links don't yet support identifiers, so the above format is not confirmed.
2023-01-28 15:22:03 +00:00
CalDescent
8dffe1e3ac
Another rewrite of Q-App APIs, which removes the /apps/* redirects and instead calls the main APIs directly.
...
- All APIs are now served over the gateway and domain map, with the exception of /admin/*
- AdminResource moved to a "restricted" folder, so that it isn't served over the gateway/domainMap ports.
- This opens the door to websites/apps calling core APIs directly for certain read-only functions, as an alternative to using qortalRequest().
2023-01-22 18:59:46 +00:00