CalDescent
d166f625d0
Rework of preview mode.
...
All /arbitrary endpoints responsible for publishing data now support an optional "preview" query string parameter. If true, these endpoints will return a URL path to open the preview, rather than returning transaction bytes.
2023-03-03 14:20:45 +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
d51f9368ef
Fixed bug in HTML parser
2023-03-03 12:39:44 +00:00
CalDescent
b17035c864
Escape QDN vars and prefix with underscores.
2023-03-03 11:57:07 +00:00
CalDescent
fa14568cb9
Fixed issue causing "totalChunkCount" to exclude the metadata file in some cases.
...
ArbitraryDataFile now has a fileCount() method which returns the total number of files associated with that piece of data - i.e. chunks, metadata, and the complete file in cases where it isn't chunked.
2023-03-03 10:42:43 +00:00
CalDescent
64cd21b0dd
Merge branch 'master' into q-apps
2023-02-28 22:03:19 +00:00
CalDescent
cc98abeffb
Reduced log spam
2023-02-26 12:51:52 +00:00
CalDescent
c1ffe557e1
Fixed wording in marshaller exceptions.
2023-02-24 13:42:59 +00:00
CalDescent
c310a7c5e8
Added "X-API-VERSION" header support in POST /transactions/process.
...
Default is version "1". If version "2" is specified, the API will return the full transaction JSON on success, rather than just "true".
Example usage:
curl -X POST "http://localhost:12391/transactions/process " -H "X-API-VERSION: 2" -d "signedTransactionBytesHere"
2023-02-24 13:41:52 +00:00
CalDescent
148ca0af05
Fixed long term bug with UPDATE_NAME transactions, causing name data to be incorrectly deleted if newName == name.
2023-02-22 09:16:52 +00:00
CalDescent
d30eb6141a
Default minPeerVersion set to 3.8.7
2023-02-20 18:10:21 +00:00
CalDescent
b2d31a7e02
Rebuild the name's history before processing a CancelSellNameTransaction.
2023-02-19 22:26:22 +00:00
CalDescent
edacce1bac
Improved logging when creating bootstraps, and catch/log all exceptions.
2023-02-19 17:43:13 +00:00
CalDescent
074cba2266
Added QCHAT_AUDIO and QCHAT_VOICE services (limited to 10MB each)
2023-02-19 17:33:17 +00:00
CalDescent
7f23ef64a2
Updated /arbitrary/metadata/* response when not found.
2023-02-17 17:37:30 +00:00
CalDescent
5b7e9666dc
Send URL updates to the UI when pages are loaded.
2023-02-17 15:40:06 +00:00
QuickMythril
eb6d84c04d
Add new ElectrumX servers
2023-02-12 00:10:13 -05:00
AlphaX-Projects
227d93a31e
Merge branch 'Qortal:master' into master
2023-02-11 13:39:26 +01:00
CalDescent
830bae3dc1
Merge branch 'at-states-fix'
...
# Conflicts:
# src/main/java/org/qortal/controller/repository/AtStatesPruner.java
# src/main/java/org/qortal/controller/repository/AtStatesTrimmer.java
2023-02-10 17:45:22 +00:00
AlphaX-Projects
11654ba9c6
Add Chat Data
2023-02-10 11:05:54 +01:00
AlphaX-Projects
ea356d1026
add signatures to websockt
2023-02-10 10:27:28 +01:00
CalDescent
6fca30ce75
Added GET /admin/summary/alltime endpoint, to view a summary of chain activity since genesis.
2023-02-07 19:56:54 +00:00
CalDescent
e903e59f7f
Merge pull request #107 from QuickMythril/unused-address
...
Add unused foreign address to API calls
2023-02-06 18:43:22 +00:00
CalDescent
bef170df7e
Updated PirateChain lightwallet servers.
2023-02-06 18:42:37 +00:00
AlphaX-Projects
6f867031e2
Add electrum servers and fix java reflect error
2023-02-05 12:53:49 +01:00
QuickMythril
30c9f63cb1
Add unused foreign address to API calls
...
POST /crosschain/{COIN}/unusedaddress
2023-02-04 21:03:55 -05:00
QuickMythril
1f410a503e
Updated ElectrumX servers
2023-02-04 18:30:31 -05:00
QuickMythril
21f5d9a3d0
Add foreign chain height to API calls
...
GET /crosschain/{COIN}/height
2023-01-31 17:23:25 -05:00
CalDescent
3077810ea8
Fixed bugs causing websites to report as "Not published" when listed in the UI.
2023-01-29 18:05:04 +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
1be3ae267e
Reduce log spam.
2023-01-29 11:45:09 +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
ca09dd264f
Merge branch 'master' into q-apps
2023-01-28 20:14:35 +00:00
CalDescent
eea98d0bc7
Fixed bugs.
2023-01-28 18:37:04 +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
04f248bcdd
Upgraded gateway to support service and identifier.
...
The URL used to access the gateway is now interpreted, and the most appropriate resource is served. This means it can be used in different ways to retrieve any type of content from QDN. For example:
/QortalDemo
/QortalDemo/minting-leveling/index.html
/WEBSITE/QortalDemo
/WEBSITE/QortalDemo/minting-leveling/index.html
/APP/QortalDemo
/THUMBNAIL/QortalDemo/qortal_avatar
/QCHAT_IMAGE/birtydasterd/qchat_BfBeCz
/ARBITRARY_DATA/PirateChainWallet/LiteWalletJNI/coinparams.json
2023-01-28 17:56:24 +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
e1e52b3165
RenderResource moved to restricted resources, as /render/* endpoints shouldn't ever need to be served over the gateway.
2023-01-28 15:52:46 +00:00
CalDescent
c5c826453b
Removed unnecessary join when finding MESSAGE transactions, which caused secret to be unavailable when querying pruned blocks.
2023-01-28 15:41:48 +00:00